]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Fix __STRICT_ANSI__ -Wundef warnings
[thirdparty/glibc.git] / ChangeLog
CommitLineData
788bba36
WN
12014-03-17 Will Newton <will.newton@linaro.org>
2
afb466fc
WN
3 * argp/argp-fmtstream.h: Check whether
4 __STRICT_ANSI__ is defined with #ifdef rather
5 than #if.
6 * argp/argp.h: Likewise.
7
f7efd7c3
WN
8 * libio/genops.c: Check whether
9 _IO_JUMPS_OFFSET is defined with #ifdef rather
10 than #if.
11 * libio/libioP.h: Likewise.
12 * stdio-common/vfprintf.c: Likewise.
13
53f1bed3
WN
14 * sysdeps/generic/ldsodefs.h: Check whether
15 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
16 than #if.
17
788bba36
WN
18 * nptl/sysdeps/pthread/pthread.h: Check
19 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
20 its value.
21
fcd89ebe
SP
222014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
23
ae42bbc5
SP
24 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
25 setting O_APPEND.
26 * libio/tst-ftell-active-handler.c (do_append_test): Add a
27 test case.
28
ea33158c
SP
29 [BZ #16680]
30 * libio/fileops.c (_IO_file_open): Seek to end of file but
31 don't cache the offset.
32 (get_file_offset): Remove function.
33 (do_ftell): Use cached offset when available.
34 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
35 don't cache the offset.
36 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
37 case.
38 (do_one_test): Call it.
39 (do_ftell_test): Fix up expected old offset for a+ mode.
40 * libio/wfileops.c (do_ftell_wide): Used cached offset when
41 available.
42
b1dbb426
SP
43 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
44 up test status with function return status.
45 (do_write_test): Likewise.
46 (do_append_test): Likewise.
47
fcd89ebe
SP
48 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
49 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
50 Remove.
51
9962a2d3
JM
522014-03-17 Joseph Myers <joseph@codesourcery.com>
53
54 * math/gen-libm-test.pl (parse_args): Handle results specified for
55 each rounding mode separately.
56 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
57 tests and results from lrint_tonearest_test_data,
58 lrint_towardzero_test_data, lrint_downward_test_data and
59 lrint_upward_test_data.
60 (lrint_test): Use ALL_RM_TEST.
61 (lrint_tonearest_test_data): Remove.
62 (lrint_test_tonearest): Likewise.
63 (lrint_towardzero_test_data): Likewise.
64 (lrint_test_towardzero): Likewise.
65 (lrint_downward_test_data): Likewise.
66 (lrint_test_downward): Likewise.
67 (lrint_upward_test_data): Likewise.
68 (lrint_test_upward): Likewise.
69 (llrint_test_data): Merge in per-rounding-mode tests and results
70 from llrint_tonearest_test_data, llrint_towardzero_test_data,
71 llrint_downward_test_data and llrint_upward_test_data.
72 (llrint_test): Use ALL_RM_TEST.
73 (llrint_tonearest_test_data): Remove.
74 (llrint_test_tonearest): Likewise.
75 (llrint_towardzero_test_data): Likewise.
76 (llrint_test_towardzero): Likewise.
77 (llrint_downward_test_data): Likewise.
78 (llrint_test_downward): Likewise.
79 (llrint_upward_test_data): Likewise.
80 (llrint_test_upward): Likewise.
81 (rint_test_data): Merge in per-rounding-mode tests and results
82 from rint_tonearest_test_data, rint_towardzero_test_data,
83 rint_downward_test_data and rint_upward_test_data. Add
84 per-rounding-mode results for tests not in those arrays.
85 (rint_test): Use ALL_RM_TEST.
86 (rint_tonearest_test_data): Remove.
87 (rint_test_tonearest): Likewise.
88 (rint_towardzero_test_data): Likewise.
89 (rint_test_towardzero): Likewise.
90 (rint_downward_test_data): Likewise.
91 (rint_test_downward): Likewise.
92 (rint_upward_test_data): Likewise.
93 (rint_test_upward): Likewise.
94 (main): Don't call removed functions.
95
5006148e
RM
962014-03-14 Roland McGrath <roland@hack.frob.com>
97
98 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
99 "Compiled on ..." crapola. It is anti-useful.
100
d6fe5e58
JM
1012014-03-14 Joseph Myers <joseph@codesourcery.com>
102
103 * scripts/evaluate-test.sh: Handle fourth argument to determine
104 whether test run should stop on failure.
105 * Makeconfig (stop-on-test-failure): New variable.
106 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
107 $(stop-on-test-failure).
108 * Makefile (tests): Give a summary of results from testing and
109 exit with failure status if they include an ERROR or FAIL.
110 (xtests): Likewise.
111 * manual/install.texi (Configuring and compiling): Mention
112 stop-on-test-failure=y.
113 * INSTALL: Regenerated.
114
498a2233
RM
1152014-03-14 Roland McGrath <roland@hack.frob.com>
116
22dbc19d
RM
117 * scripts/versionlist.awk: New file.
118 * Makerules [$(build-shared) = yes]
119 (postclean-generated): Add Versions.def, not Versions.def.v and
120 Versions.def.v.i.
121 ($(common-objpfx)Versions.def.v.i): Target removed.
122 ($(common-objpfx)Versions.def): New target.
123 ($(common-objpfx)Versions.all): Depend on that rather that
124 $(common-objpfx)Versions.def.v.
125 * Versions.def: File removed.
126
498a2233
RM
127 * Makeconfig (+gccwarn): Add -Wundef.
128 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
129 a dl-sysdep.h breaking its contract.
130 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
131 * include/stackinfo.h: New file.
132 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
133 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
134 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
135 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
136 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
137 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
138 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
139 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
140 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
141 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
142 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
143 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
144 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
145 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
146 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
147
c7de5025
AZ
1482014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
149
150 [BZ #16707]
151 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
152 implementation.
153 * math/libm-test.inc (round_test_data): Add more tests.
154
98fb27a3
AZ
1552014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
156
157 [BZ #16706]
158 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
159 implementation.
160 * math/libm-test.inc (nearbyint_test_data): Add more tests.
161
374f7f61
AZ
1622014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
163
164 [BZ #16701]
165 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
166 implementation.
167 * math/libm-test.inc (ceil_test_data): Add more tests.
168
4655c291
AZ
1692014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
170
171 * math/libm-test.inc (trunc_test_data): Add more tests related to
172 BZ#16414.
173
d7329d4b
RM
1742014-03-14 Roland McGrath <roland@hack.frob.com>
175
176 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
177 with #if rather than #ifdef.
178 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
179
aa4de9ce
L
1802014-03-14 H.J. Lu <hongjiu.lu@intel.com>
181
182 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
183 first. Disable AVX-512 GCC support if assembler doesn't support
184 it.
185 * sysdeps/x86_64/configure: Regenerated.
186
2e03fae7
CD
1872014-03-13 Carlos O'Donell <carlos@redhat.com>
188
189 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
190 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
191 (__old_pthread_attr_setstack): Likewise.
192 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
193 [!_STACK_GROWS_DOWN]: Likewise.
194
43ca83ec
MF
1952014-03-13 Mike Frysinger <vapier@gentoo.org>
196
197 * config.make.in (have-bash2): Delete.
198 * configure.ac (libc_cv_have_bash2): Delete.
199 * configure: Regenerate.
200 * elf/Makefile (common-ldd-rewrite): Rename to ...
201 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
202 (sh-ldd-rewrite): Delete.
203 (bash-ldd-rewrite): Delete.
204 (have-bash2): Delete checks.
205 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to ldd-rewrite.
206
c66e48b4
MF
2072014-03-13 Mike Frysinger <vapier@gentoo.org>
208
209 * config.make.in (have-ksh): Delete.
210 (KSH): Delete.
211 * configure.ac (libc_cv_have_ksh): Delete.
212 * configure: Regenerate.
213
b93834ef
MF
2142014-03-13 Mike Frysinger <vapier@gentoo.org>
215
216 * elf/Makefile: Delete $(have-ksh) check.
217 ($(objpfx)sotruss): Change KSH to BASH.
218 * elf/sotruss.ksh: Rename to ...
219 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
220 function style to match POSIX. Drop ksh vim mode setting.
221
f3a4632a
MF
2222014-03-13 Mike Frysinger <vapier@gentoo.org>
223
224 * manual/time.texi (Specifying the Time Zone with TZ): Change
225 Tuesday to Thursday.
226
5896c8bd
MF
2272014-03-13 Mike Frysinger <vapier@gentoo.org>
228
229 * debug/tst-longjmp_chk2.c: Update header comment.
230 (stackoverflow_handler): Add comment. Call assert on pass value.
231
2d63a517
IZ
2322014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
233
234 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
235 (HAVE_AVX512_ASM_SUPPORT): Likewise.
236 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
237 (La_x86_64_vector): Add zmm.
238 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
239 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
240 ($(objpfx)tst-audit10): New target.
241 ($(objpfx)tst-audit10.out): Likewise.
242 (tst-audit10-ENV): New.
243 (AVX512-CFLAGS): Likewise.
244 (CFLAGS-tst-audit10.c): Likewise.
245 (CFLAGS-tst-auditmod10a.c): Likewise.
246 (CFLAGS-tst-auditmod10b.c): Likewise.
247 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
248 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
249 * sysdeps/x86_64/configure: Regenerated.
250 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
251 AVX-512 zmm register support.
252 (_dl_x86_64_save_sse): Likewise.
253 (_dl_x86_64_restore_sse): Likewise.
254 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
255 size vector registers.
256 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
257 (ZMM_SIZE): Likewise.
258 * sysdeps/x86_64/tst-audit10.c: New file.
259 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
260 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
261
44c4e5d5
RM
2622014-03-13 Roland McGrath <roland@hack.frob.com>
263
264 * configure.ac (HAVE_EHDR_START): New check.
265 * configure: Regenerated.
266 * config.h.in (HAVE_EHDR_START): New #undef.
267 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
268 assuming the lowest-addressed segment maps the start of the file.
269
acd6e389
JM
2702014-03-13 Joseph Myers <joseph@codesourcery.com>
271
272 * INSTALL: Regenerated.
273
6f918f36
WN
2742014-03-13 Will Newton <will.newton@linaro.org>
275
276 * manual/setjmp.texi (System V contexts): Improve
277 clarity and grammar of documentation.
278
798212a0
PP
2792014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
280
281 [BZ #16381]
798212a0 282 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 283 (tests-pie): Add tst-pie2.
798212a0
PP
284 * elf/tst-pie2.c: New file.
285 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
286 for ET_EXEC.
287 * elf/rtld.c (map_doit): Load executable as lt_executable.
288 (dl_main): Likewise.
289
abe6d90c
JM
2902014-03-12 Joseph Myers <joseph@codesourcery.com>
291
292 [BZ #16642]
293 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
294 (__ASSUME_PSELECT): Undefine.
295
dd3946c6
AZ
2962014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
297
298 [BZ #16689]
299 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
300 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
301 static build.
302 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
303 selector for static builds.
304
c44496df
SP
3052014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
306
307 [BZ #16695]
308 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
309 key in the buffer.
310
27c7220a
AZ
3112014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
312
313 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build IFUNC
314 selector for static builds.
315
600fa361
JM
3162014-03-11 Joseph Myers <joseph@codesourcery.com>
317
76c96cf7
JM
318 * sysdeps/mips/math_private.h [__mips_hard_float]
319 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
320 libc_feresetround_mips_ctx.
321 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
322 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
323 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
324
600fa361
JM
325 [BZ #16677]
326 * math/s_nextafter.c (__nextafter): Do not return value from
327 overflowing computation.
328 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
329 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
330 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
331 Likewise.
332 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
333 Likewise.
334 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
335 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
336
d7706c32
RM
3372014-03-11 Roland McGrath <roland@hack.frob.com>
338
339 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
340 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
341 Move sfi_sp use from the load-multiple (that no longer sets sp) to
342 the new mov targetting sp.
343
4facea47
AZ
3442014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
345
346 [BZ #16683]
347 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
348 Define it for static builds as well.
349 (NO_BZERO_IMPL): Likewise.
350
e65caf1f
VR
3512014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
352
353 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
354 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
355 multiarch strspn for PPC64.
356 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
357 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
358 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
359 (__libc_ifunc_impl_list): Likewise.
360 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
361 multiarch optimizations
362 * string/strspn.c (strspn): Using macro to redefine symbol name.
363
ba9cc071
AZ
3642014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
365 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
366
367 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
368 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
369 multiarch strncat for PPC64.
370 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
371 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
372 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
373 (__libc_ifunc_impl_list): Likewise.
374 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
375 multiarch optimizations
376
8b4ff974
SP
3772014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
378
379 [BZ #16639]
380 * nscd/nscd.service: Make service type forking.
381
54b46a4b
AZ
3822014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
383
384 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
385 sign in non default rounding modes.
386 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
387
e9996ef7
JM
3882014-03-08 Joseph Myers <joseph@codesourcery.com>
389
390 * math/libm-test.inc (ALL_RM_TEST): New macro.
391 (ceil_test): Use ALL_RM_TEST.
392 (cimag_test): Likewise.
393 (conj_test): Likewise.
394 (copysign_test): Likewise.
395 (cproj_test): Likewise.
396 (creal_test): Likewise.
397 (fabs_test): Likewise.
398 (floor_test): Likewise.
399 (fmax_test): Likewise.
400 (fmin_test): Likewise.
401 (fmod_test): Likewise.
402 (fpclassify_test): Likewise.
403 (frexp_test): Likewise.
404 (ilogb_test): Likewise.
405 (isfinite_test): Likewise.
406 (finite_test): Likewise.
407 (isgreater_test): Likewise.
408 (isgreaterequal_test): Likewise.
409 (isinf_test): Likewise.
410 (isless_test): Likewise.
411 (islessequal_test): Likewise.
412 (islessgreater_test): Likewise.
413 (isnan_test): Likewise.
414 (isnormal_test): Likewise.
415 (issignaling_test): Likewise.
416 (isunordered_test): Likewise.
417 (logb_test): Likewise.
418 (logb_downward_test_data): Remove.
419 (logb_test_downward): Likewise.
420 (lround_test): Use ALL_RM_TEST.
421 (llround_test): Likewise.
422 (modf_test): Likewise.
423 (nexttoward_test): Likewise.
424 (remainder_test): Likewise.
425 (drem_test): Likewise.
426 (remainder_tonearest_test_data): Likewise.
427 (remainder_test_tonearest): Likewise.
428 (drem_test_tonearest): Likewise.
429 (remainder_towardzero_test_data): Likewise.
430 (remainder_test_towardzero): Likewise.
431 (drem_test_towardzero): Likewise.
432 (remainder_downward_test_data): Likewise.
433 (remainder_test_downward): Likewise.
434 (drem_test_downward): Likewise.
435 (remainder_upward_test_data): Likewise.
436 (remainder_test_upward): Likewise.
437 (drem_test_upward): Likewise.
438 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
439 (round_test): Use ALL_RM_TEST.
440 (signbit_test): Likewise.
441 (trunc_test): Likewise.
442 (significand_test): Likewise.
443 (main): Don't call removed functions.
444
bc61d27c
JM
4452014-03-07 Joseph Myers <joseph@codesourcery.com>
446
5c780849
JM
447 [BZ #16674]
448 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
449 || __USE_XOPEN2K8].
450 (ILL_ILLOPN): Likewise.
451 (ILL_ILLADR): Likewise.
452 (ILL_ILLTRP): Likewise.
453 (ILL_PRVOPC): Likewise.
454 (ILL_PRVREG): Likewise.
455 (ILL_COPROC): Likewise.
456 (ILL_BADSTK): Likewise.
457 (FPE_INTDIV): Likewise.
458 (FPE_INTOVF): Likewise.
459 (FPE_FLTDIV): Likewise.
460 (FPE_FLTOVF): Likewise.
461 (FPE_FLTUND): Likewise.
462 (FPE_FLTRES): Likewise.
463 (FPE_FLTINV): Likewise.
464 (FPE_FLTSUB): Likewise.
465 (SEGV_MAPERR): Likewise.
466 (SEGV_ACCERR): Likewise.
467 (BUS_ADRALN): Likewise.
468 (BUS_ADRERR): Likewise.
469 (BUS_OBJERR): Likewise.
470 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
471 (TRAP_TRACE): Likewise.
472 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
473 __USE_XOPEN2K8].
474 (CLD_KILLED): Likewise.
475 (CLD_DUMPED): Likewise.
476 (CLD_TRAPPED): Likewise.
477 (CLD_STOPPED): Likewise.
478 (CLD_CONTINUED): Likewise.
479 (POLL_IN): Likewise.
480 (POLL_OUT): Likewise.
481 (POLL_MSG): Likewise.
482 (POLL_ERR): Likewise.
483 (POLL_PRI): Likewise.
484 (POLL_HUP): Likewise.
485 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
486 Likewise.
487 (ILL_ILLOPN): Likewise.
488 (ILL_ILLADR): Likewise.
489 (ILL_ILLTRP): Likewise.
490 (ILL_PRVOPC): Likewise.
491 (ILL_PRVREG): Likewise.
492 (ILL_COPROC): Likewise.
493 (ILL_BADSTK): Likewise.
494 (FPE_INTDIV): Likewise.
495 (FPE_INTOVF): Likewise.
496 (FPE_FLTDIV): Likewise.
497 (FPE_FLTOVF): Likewise.
498 (FPE_FLTUND): Likewise.
499 (FPE_FLTRES): Likewise.
500 (FPE_FLTINV): Likewise.
501 (FPE_FLTSUB): Likewise.
502 (SEGV_MAPERR): Likewise.
503 (SEGV_ACCERR): Likewise.
504 (BUS_ADRALN): Likewise.
505 (BUS_ADRERR): Likewise.
506 (BUS_OBJERR): Likewise.
507 (BUS_MCEERR_AR): Likewise.
508 (BUS_MCEERR_AO): Likewise.
509 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
510 (TRAP_TRACE): Likewise.
511 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
512 __USE_XOPEN2K8].
513 (CLD_KILLED): Likewise.
514 (CLD_DUMPED): Likewise.
515 (CLD_TRAPPED): Likewise.
516 (CLD_STOPPED): Likewise.
517 (CLD_CONTINUED): Likewise.
518 (POLL_IN): Likewise.
519 (POLL_OUT): Likewise.
520 (POLL_MSG): Likewise.
521 (POLL_ERR): Likewise.
522 (POLL_PRI): Likewise.
523 (POLL_HUP): Likewise.
524 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
525 (ILL_ILLOPN): Likewise.
526 (ILL_ILLADR): Likewise.
527 (ILL_ILLTRP): Likewise.
528 (ILL_PRVOPC): Likewise.
529 (ILL_PRVREG): Likewise.
530 (ILL_COPROC): Likewise.
531 (ILL_BADSTK): Likewise.
532 (FPE_INTDIV): Likewise.
533 (FPE_INTOVF): Likewise.
534 (FPE_FLTDIV): Likewise.
535 (FPE_FLTOVF): Likewise.
536 (FPE_FLTUND): Likewise.
537 (FPE_FLTRES): Likewise.
538 (FPE_FLTINV): Likewise.
539 (FPE_FLTSUB): Likewise.
540 (SEGV_MAPERR): Likewise.
541 (SEGV_ACCERR): Likewise.
542 (BUS_ADRALN): Likewise.
543 (BUS_ADRERR): Likewise.
544 (BUS_OBJERR): Likewise.
545 (BUS_MCEERR_AR): Likewise.
546 (BUS_MCEERR_AO): Likewise.
547 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
548 (TRAP_TRACE): Likewise.
549 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
550 __USE_XOPEN2K8].
551 (CLD_KILLED): Likewise.
552 (CLD_DUMPED): Likewise.
553 (CLD_TRAPPED): Likewise.
554 (CLD_STOPPED): Likewise.
555 (CLD_CONTINUED): Likewise.
556 (POLL_IN): Likewise.
557 (POLL_OUT): Likewise.
558 (POLL_MSG): Likewise.
559 (POLL_ERR): Likewise.
560 (POLL_PRI): Likewise.
561 (POLL_HUP): Likewise.
562 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
563 Likewise.
564 (ILL_ILLOPN): Likewise.
565 (ILL_ILLADR): Likewise.
566 (ILL_ILLTRP): Likewise.
567 (ILL_PRVOPC): Likewise.
568 (ILL_PRVREG): Likewise.
569 (ILL_COPROC): Likewise.
570 (ILL_BADSTK): Likewise.
571 (ILL_BADIADDR): Likewise.
572 (ILL_BREAK): Likewise.
573 (FPE_INTDIV): Likewise.
574 (FPE_INTOVF): Likewise.
575 (FPE_FLTDIV): Likewise.
576 (FPE_FLTOVF): Likewise.
577 (FPE_FLTUND): Likewise.
578 (FPE_FLTRES): Likewise.
579 (FPE_FLTINV): Likewise.
580 (FPE_FLTSUB): Likewise.
581 (FPE_DECOVF): Likewise.
582 (FPE_DECDIV): Likewise.
583 (FPE_DECERR): Likewise.
584 (FPE_INVASC): Likewise.
585 (FPE_INVDEC): Likewise.
586 (SEGV_MAPERR): Likewise.
587 (SEGV_ACCERR): Likewise.
588 (SEGV_PSTKOVF): Likewise.
589 (BUS_ADRALN): Likewise.
590 (BUS_ADRERR): Likewise.
591 (BUS_OBJERR): Likewise.
592 (BUS_MCEERR_AR): Likewise.
593 (BUS_MCEERR_AO): Likewise.
594 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
595 (TRAP_TRACE): Likewise.
596 (TRAP_BRANCH): Likewise.
597 (TRAP_HWBKPT): Likewise.
598 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
599 __USE_XOPEN2K8].
600 (CLD_KILLED): Likewise.
601 (CLD_DUMPED): Likewise.
602 (CLD_TRAPPED): Likewise.
603 (CLD_STOPPED): Likewise.
604 (CLD_CONTINUED): Likewise.
605 (POLL_IN): Likewise.
606 (POLL_OUT): Likewise.
607 (POLL_MSG): Likewise.
608 (POLL_ERR): Likewise.
609 (POLL_PRI): Likewise.
610 (POLL_HUP): Likewise.
611 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
612 (ILL_ILLOPN): Likewise.
613 (ILL_ILLADR): Likewise.
614 (ILL_ILLTRP): Likewise.
615 (ILL_PRVOPC): Likewise.
616 (ILL_PRVREG): Likewise.
617 (ILL_COPROC): Likewise.
618 (ILL_BADSTK): Likewise.
619 (FPE_INTDIV): Likewise.
620 (FPE_INTOVF): Likewise.
621 (FPE_FLTDIV): Likewise.
622 (FPE_FLTOVF): Likewise.
623 (FPE_FLTUND): Likewise.
624 (FPE_FLTRES): Likewise.
625 (FPE_FLTINV): Likewise.
626 (FPE_FLTSUB): Likewise.
627 (SEGV_MAPERR): Likewise.
628 (SEGV_ACCERR): Likewise.
629 (BUS_ADRALN): Likewise.
630 (BUS_ADRERR): Likewise.
631 (BUS_OBJERR): Likewise.
632 (BUS_MCEERR_AR): Likewise.
633 (BUS_MCEERR_AO): Likewise.
634 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
635 (TRAP_TRACE): Likewise.
636 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
637 __USE_XOPEN2K8].
638 (CLD_KILLED): Likewise.
639 (CLD_DUMPED): Likewise.
640 (CLD_TRAPPED): Likewise.
641 (CLD_STOPPED): Likewise.
642 (CLD_CONTINUED): Likewise.
643 (POLL_IN): Likewise.
644 (POLL_OUT): Likewise.
645 (POLL_MSG): Likewise.
646 (POLL_ERR): Likewise.
647 (POLL_PRI): Likewise.
648 (POLL_HUP): Likewise.
649 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
650 (ILL_ILLOPN): Likewise.
651 (ILL_ILLADR): Likewise.
652 (ILL_ILLTRP): Likewise.
653 (ILL_PRVOPC): Likewise.
654 (ILL_PRVREG): Likewise.
655 (ILL_COPROC): Likewise.
656 (ILL_BADSTK): Likewise.
657 (FPE_INTDIV): Likewise.
658 (FPE_INTOVF): Likewise.
659 (FPE_FLTDIV): Likewise.
660 (FPE_FLTOVF): Likewise.
661 (FPE_FLTUND): Likewise.
662 (FPE_FLTRES): Likewise.
663 (FPE_FLTINV): Likewise.
664 (FPE_FLTSUB): Likewise.
665 (SEGV_MAPERR): Likewise.
666 (SEGV_ACCERR): Likewise.
667 (BUS_ADRALN): Likewise.
668 (BUS_ADRERR): Likewise.
669 (BUS_OBJERR): Likewise.
670 (BUS_MCEERR_AR): Likewise.
671 (BUS_MCEERR_AO): Likewise.
672 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
673 (TRAP_TRACE): Likewise.
674 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
675 __USE_XOPEN2K8].
676 (CLD_KILLED): Likewise.
677 (CLD_DUMPED): Likewise.
678 (CLD_TRAPPED): Likewise.
679 (CLD_STOPPED): Likewise.
680 (CLD_CONTINUED): Likewise.
681 (POLL_IN): Likewise.
682 (POLL_OUT): Likewise.
683 (POLL_MSG): Likewise.
684 (POLL_ERR): Likewise.
685 (POLL_PRI): Likewise.
686 (POLL_HUP): Likewise.
687 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
688 (ILL_ILLOPN): Likewise.
689 (ILL_ILLADR): Likewise.
690 (ILL_ILLTRP): Likewise.
691 (ILL_PRVOPC): Likewise.
692 (ILL_PRVREG): Likewise.
693 (ILL_COPROC): Likewise.
694 (ILL_BADSTK): Likewise.
695 (FPE_INTDIV): Likewise.
696 (FPE_INTOVF): Likewise.
697 (FPE_FLTDIV): Likewise.
698 (FPE_FLTOVF): Likewise.
699 (FPE_FLTUND): Likewise.
700 (FPE_FLTRES): Likewise.
701 (FPE_FLTINV): Likewise.
702 (FPE_FLTSUB): Likewise.
703 (SEGV_MAPERR): Likewise.
704 (SEGV_ACCERR): Likewise.
705 (BUS_ADRALN): Likewise.
706 (BUS_ADRERR): Likewise.
707 (BUS_OBJERR): Likewise.
708 (BUS_MCEERR_AR): Likewise.
709 (BUS_MCEERR_AO): Likewise.
710 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
711 (TRAP_TRACE): Likewise.
712 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
713 __USE_XOPEN2K8].
714 (CLD_KILLED): Likewise.
715 (CLD_DUMPED): Likewise.
716 (CLD_TRAPPED): Likewise.
717 (CLD_STOPPED): Likewise.
718 (CLD_CONTINUED): Likewise.
719 (POLL_IN): Likewise.
720 (POLL_OUT): Likewise.
721 (POLL_MSG): Likewise.
722 (POLL_ERR): Likewise.
723 (POLL_PRI): Likewise.
724 (POLL_HUP): Likewise.
725 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
726 (ILL_ILLOPN): Likewise.
727 (ILL_ILLADR): Likewise.
728 (ILL_ILLTRP): Likewise.
729 (ILL_PRVOPC): Likewise.
730 (ILL_PRVREG): Likewise.
731 (ILL_COPROC): Likewise.
732 (ILL_BADSTK): Likewise.
733 (ILL_DBLFLT): Likewise.
734 (ILL_HARDWALL): Likewise.
735 (FPE_INTDIV): Likewise.
736 (FPE_INTOVF): Likewise.
737 (FPE_FLTDIV): Likewise.
738 (FPE_FLTOVF): Likewise.
739 (FPE_FLTUND): Likewise.
740 (FPE_FLTRES): Likewise.
741 (FPE_FLTINV): Likewise.
742 (FPE_FLTSUB): Likewise.
743 (SEGV_MAPERR): Likewise.
744 (SEGV_ACCERR): Likewise.
745 (BUS_ADRALN): Likewise.
746 (BUS_ADRERR): Likewise.
747 (BUS_OBJERR): Likewise.
748 (BUS_MCEERR_AR): Likewise.
749 (BUS_MCEERR_AO): Likewise.
750 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
751 (TRAP_TRACE): Likewise.
752 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
753 __USE_XOPEN2K8].
754 (CLD_KILLED): Likewise.
755 (CLD_DUMPED): Likewise.
756 (CLD_TRAPPED): Likewise.
757 (CLD_STOPPED): Likewise.
758 (CLD_CONTINUED): Likewise.
759 (POLL_IN): Likewise.
760 (POLL_OUT): Likewise.
761 (POLL_MSG): Likewise.
762 (POLL_ERR): Likewise.
763 (POLL_PRI): Likewise.
764 (POLL_HUP): Likewise.
765 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
766 (ILL_ILLOPN): Likewise.
767 (ILL_ILLADR): Likewise.
768 (ILL_ILLTRP): Likewise.
769 (ILL_PRVOPC): Likewise.
770 (ILL_PRVREG): Likewise.
771 (ILL_COPROC): Likewise.
772 (ILL_BADSTK): Likewise.
773 (FPE_INTDIV): Likewise.
774 (FPE_INTOVF): Likewise.
775 (FPE_FLTDIV): Likewise.
776 (FPE_FLTOVF): Likewise.
777 (FPE_FLTUND): Likewise.
778 (FPE_FLTRES): Likewise.
779 (FPE_FLTINV): Likewise.
780 (FPE_FLTSUB): Likewise.
781 (SEGV_MAPERR): Likewise.
782 (SEGV_ACCERR): Likewise.
783 (BUS_ADRALN): Likewise.
784 (BUS_ADRERR): Likewise.
785 (BUS_OBJERR): Likewise.
786 (BUS_MCEERR_AR): Likewise.
787 (BUS_MCEERR_AO): Likewise.
788 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
789 (TRAP_TRACE): Likewise.
790 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
791 __USE_XOPEN2K8].
792 (CLD_KILLED): Likewise.
793 (CLD_DUMPED): Likewise.
794 (CLD_TRAPPED): Likewise.
795 (CLD_STOPPED): Likewise.
796 (CLD_CONTINUED): Likewise.
797 (POLL_IN): Likewise.
798 (POLL_OUT): Likewise.
799 (POLL_MSG): Likewise.
800 (POLL_ERR): Likewise.
801 (POLL_PRI): Likewise.
802 (POLL_HUP): Likewise.
803 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
804 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
805
bc61d27c
JM
806 [BZ #16670]
807 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
808 before #include of <time.h>.
809 [!__USE_XOPEN2K] (__need_timespec): Likewise.
810 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
811 (test-xfail-UNIX98/sched.h/conform): Likewise.
812
302949e2
MS
8132014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
814
815 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
816 error absence of trapping exception support.
817 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
818
a00f522a
JM
8192014-03-07 Joseph Myers <joseph@codesourcery.com>
820
6f99f280
JM
821 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
822 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
823 * timezone/Makefile (testdata): Move definition above include of
824 Rules.
825 (test-zones): New variable.
826 (tests-special): Add zone files.
827 (build-testdata): Use $(evaluate-test).
828
0b20a9e8
JM
829 * elf/Makefile (tests-special): Rename tests to end with .out.
830 ($(objpfx)noload-mem): Likewise.
831 ($(objpfx)tst-leaks1-mem): Likewise.
832 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
833 * iconv/Makefile (xtests-special): Change test-iconvconfig to
834 $(objpfx)test-iconvconfig.out.
835 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
836 set -e inside subshell and redirect output to file.
837 * iconvdata/Makefile (generated): Rename tests to end with .out.
838 Correct type.
839 (tests-special): Rename tests to end with .out.
840 ($(objpfx)mtrace-tst-loading): Likewise.
841 * intl/Makefile (generated): Likewise.
842 (tests-special): Likewise.
843 ($(objpfx)mtrace-tst-gettext): Likewise.
844 * misc/Makefile (generated): Likewise.
845 (tests-special): Likewise.
846 ($(objpfx)tst-error1-mem): Likewise.
847 * nptl/Makefile (tests-special): Likewise.
848 ($(objpfx)tst-stack3-mem): Likewise.
849 (generated): Likewise.
850 * posix/Makefile (generated): Likewise.
851 (tests-special): Likewise.
852 (xtests-special): Likewise.
853 ($(objpfx)tst-fnmatch-mem): Likewise.
854 ($(objpfx)bug-regex2-mem): Likewise.
855 ($(objpfx)bug-regex14-mem): Likewise.
856 ($(objpfx)bug-regex21-mem): Likewise.
857 ($(objpfx)bug-regex31-mem): Likewise.
858 ($(objpfx)tst-vfork3-mem): Likewise.
859 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
860 ($(objpfx)tst-pcre-mem): Likewise.
861 ($(objpfx)tst-boost-mem): Likewise.
862 ($(objpfx)bug-ga2-mem): Likewise.
863 ($(objpfx)bug-glob2-mem): Likewise.
864 * resolv/Makefile (generate): Likewise.
865 (tests-special): Likewise.
866 (xtests-special): Likewise.
867 (generated): Likewise.
868 ($(objpfx)mtrace-tst-leaks): Likewise.
869 ($(objpfx)mtrace-tst-leaks2): Likewise.
870
265d52ab
JM
871 * scripts/merge-test-results.sh: New file.
872 * Makefile (tests-special-notdir): New variable.
873 (tests): Run merge-test-results.sh.
874 (xtests): Likewise.
875 * Rules (tests-special-notdir): New variable.
876 (xtests-special-notdir): Likewise.
877 (tests): Run merge-test-results.sh
878 (xtests): Likewise.
879
54ee292d
JM
880 * Makeconfig (test-xfail-name): New variable.
881 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
882 compute variable name for expected failures.
883 * conform/Makefile (conformtest-headers-data): New variable.
884 (conformtest-standards): Likewise.
885 (conformtest-headers-ISO): Likewise.
886 (conformtest-headers-ISO99): Likewise.
887 (conformtest-headers-ISO11): Likewise.
888 (conformtest-headers-POSIX): Likewise.
889 (conformtest-headers-XPG3): Likewise.
890 (conformtest-headers-XPG4): Likewise.
891 (conformtest-headers-UNIX98): Likewise.
892 (conformtest-headers-XOPEN2K): Likewise.
893 (conformtest-headers-POSIX2008): Likewise.
894 (conformtest-headers-XOPEN2K8): Likewise.
895 (conformtest-header-list-base): Likewise.
896 (conformtest-header-list-tests): Likewise.
897 (conformtest-header-base): Likewise.
898 (conformtest-header-tests): Likewise.
899 (tests-special): Add $(conformtest-header-list-tests). If
900 [$(fast-check) && !$(cross-compiling)], add
901 $(conformtest-header-tests) instead of
902 $(objpfx)run-conformtest.out.
903 (generated): Add $(conformtest-header-list-base). If
904 [$(fast-check) && !$(cross-compiling)], add
905 $(conformtest-header-base). Remove previous setting.
906 ($(conformtest-header-list-tests)): New target.
907 (test-xfail-run-conformtest): Remove variable.
908 ($(objpfx)run-conformtest.out): Remove target.
909 (test-xfail-ISO11/complex.h/conform): New variable.
910 (test-xfail-ISO11/stdalign.h/conform): Likewise.
911 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
912 (test-xfail-XPG3/varargs.h/conform): Likewise.
913 (test-xfail-XPG4/varargs.h/conform): Likewise.
914 (test-xfail-UNIX98/varargs.h/conform): Likewise.
915 (test-xfail-XPG4/ndbm.h/conform): Likewise.
916 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
917 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
918 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
919 (test-xfail-XPG3/fcntl.h/conform): Likewise.
920 (test-xfail-XPG3/ftw.h/conform): Likewise.
921 (test-xfail-XPG3/grp.h/conform): Likewise.
922 (test-xfail-XPG3/langinfo.h/conform): Likewise.
923 (test-xfail-XPG3/limits.h/conform): Likewise.
924 (test-xfail-XPG3/pwd.h/conform): Likewise.
925 (test-xfail-XPG3/search.h/conform): Likewise.
926 (test-xfail-XPG3/signal.h/conform): Likewise.
927 (test-xfail-XPG3/stdio.h/conform): Likewise.
928 (test-xfail-XPG3/stdlib.h/conform): Likewise.
929 (test-xfail-XPG3/string.h/conform): Likewise.
930 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
931 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
932 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
933 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
934 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
935 (test-xfail-XPG3/sys/types.h/conform): Likewise.
936 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
937 (test-xfail-XPG3/termios.h/conform): Likewise.
938 (test-xfail-XPG3/time.h/conform): Likewise.
939 (test-xfail-XPG3/unistd.h/conform): Likewise.
940 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
941 (test-xfail-XPG4/fcntl.h/conform): Likewise.
942 (test-xfail-XPG4/langinfo.h/conform): Likewise.
943 (test-xfail-XPG4/netdb.h/conform): Likewise.
944 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
945 (test-xfail-XPG4/signal.h/conform): Likewise.
946 (test-xfail-XPG4/stdio.h/conform): Likewise.
947 (test-xfail-XPG4/stdlib.h/conform): Likewise.
948 (test-xfail-XPG4/stropts.h/conform): Likewise.
949 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
950 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
951 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
952 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
953 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
954 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
955 (test-xfail-XPG4/sys/time.h/conform): Likewise.
956 (test-xfail-XPG4/sys/types.h/conform): Likewise.
957 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
958 (test-xfail-XPG4/termios.h/conform): Likewise.
959 (test-xfail-XPG4/ucontext.h/conform): Likewise.
960 (test-xfail-XPG4/unistd.h/conform): Likewise.
961 (test-xfail-XPG4/utmpx.h/conform): Likewise.
962 (test-xfail-POSIX/sched.h/conform): Likewise.
963 (test-xfail-POSIX/signal.h/conform): Likewise.
964 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
965 (test-xfail-POSIX/tar.h/conform): Likewise.
966 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
967 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
968 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
969 (test-xfail-UNIX98/netdb.h/conform): Likewise.
970 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
971 (test-xfail-UNIX98/sched.h/conform): Likewise.
972 (test-xfail-UNIX98/signal.h/conform): Likewise.
973 (test-xfail-UNIX98/stdio.h/conform): Likewise.
974 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
975 (test-xfail-UNIX98/stropts.h/conform): Likewise.
976 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
977 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
978 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
979 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
980 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
981 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
982 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
983 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
984 (test-xfail-UNIX98/unistd.h/conform): Likewise.
985 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
986 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
987 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
988 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
989 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
990 (test-xfail-XOPEN2K/math.h/conform): Likewise.
991 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
992 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
993 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
994 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
995 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
996 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
997 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
998 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
999 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
1000 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
1001 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
1002 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
1003 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
1004 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
1005 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
1006 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
1007 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
1008 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
1009 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
1010 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
1011 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
1012 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
1013 (test-xfail-POSIX2008/signal.h/conform): Likewise.
1014 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
1015 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
1016 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
1017 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
1018 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
1019 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
1020 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
1021 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
1022 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
1023 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
1024 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
1025 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
1026 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
1027 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
1028 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
1029 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
1030 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
1031 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
1032 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
1033 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
1034 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
1035 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
1036 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
1037 (conformtest-cc-flags): Likewise.
1038 ($(conformtest-header-tests): New target.
1039 * conform/check-header-lists.sh: New file.
1040 * conform/run-conformtest.sh: Remove.
1041
a00f522a
JM
1042 * conform/conformtest.pl: Allow ' and \ in values given for
1043 constants.
1044 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
1045 inclusion.
1046 [POSIX] (sys/types.h): Likewise.
1047 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
1048 inclusion.
1049 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
1050 inclusion.
1051 * conform/data/signal.h-data (SIGIO): Remove expectation.
1052 [XPG3] (SIGBUS): Do not expect.
1053 [POSIX || XPG3] (SIGPOLL): Likewise.
1054 [POSIX || XPG3] (SIGPROF): Likewise.
1055 [POSIX || XPG3] (SIGSYS): Likewise.
1056 [XPG3] (SIGTRAP): Likewise.
1057 [POSIX || XPG3] (SIGURG): Likewise.
1058 [POSIX || XPG3] (SIGVTALRM): Likewise.
1059 [POSIX || XPG3] (SIGXCPU): Likewise.
1060 [POSIX || XPG3] (SIGXFSZ): Likewise.
1061 [POSIX] (SA_SIGINFO): Expect.
1062 [XPG3] (siginfo_t): Do not expect type or contents.
1063 [POSIX] (si_pid): Do not expect element.
1064 [POSIX] (si_uid): Likewise.
1065 [POSIX] (si_addr): Likewise.
1066 [POSIX] (si_status): Likewise.
1067 [POSIX] (si_band): Likewise.
1068 [XPG4] (si_value): Likewise.
1069 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
1070 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
1071 [POSIX || XPG3] (ILL_ILLADR): Likewise.
1072 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
1073 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
1074 [POSIX || XPG3] (ILL_PRVREG): Likewise.
1075 [POSIX || XPG3] (ILL_COPROC): Likewise.
1076 [POSIX || XPG3] (ILL_BADSTK): Likewise.
1077 [POSIX || XPG3] (FPE_INTDIV): Likewise.
1078 [POSIX || XPG3] (FPE_INTOVF): Likewise.
1079 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
1080 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
1081 [POSIX || XPG3] (FPE_FLTUND): Likewise.
1082 [POSIX || XPG3] (FPE_FLTRES): Likewise.
1083 [POSIX || XPG3] (FPE_FLTINV): Likewise.
1084 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
1085 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
1086 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
1087 [POSIX || XPG3] (BUS_ADRALN): Likewise.
1088 [POSIX || XPG3] (BUS_ADRERR): Likewise.
1089 [POSIX || XPG3] (BUS_OBJERR): Likewise.
1090 [POSIX || XPG3] (CLD_EXITED): Likewise.
1091 [POSIX || XPG3] (CLD_KILLED): Likewise.
1092 [POSIX || XPG3] (CLD_DUMPED): Likewise.
1093 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
1094 [POSIX || XPG3] (CLD_STOPPED): Likewise.
1095 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
1096 [POSIX || XPG3] (POLL_IN): Likewise.
1097 [POSIX || XPG3] (POLL_OUT): Likewise.
1098 [POSIX || XPG3] (POLL_MSG): Likewise.
1099 [POSIX || XPG3] (POLL_ERR): Likewise.
1100 [POSIX || XPG3] (POLL_PRI): Likewise.
1101 [POSIX || XPG3] (POLL_HUP): Likewise.
1102 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
1103 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
1104 (SIG*): Do not allow.
1105 [XPG3] (si_*): Likewise.
1106 [XPG3] (SI_*): Likewise.
1107 [XPG3 || XPG4] (sigev_*): Likewise.
1108 [XPG3 || XPG4] (SIGEV_*): Likewise.
1109 [XPG3 || XPG4] (sival_*): Likewise.
1110 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
1111 [POSIX || XPG3] (BUS_*): Likewise.
1112 [POSIX || XPG3] (CLD_*): Likewise.
1113 [POSIX || XPG3] (FPE_*): Likewise.
1114 [POSIX || XPG3] (ILL_*): Likewise.
1115 [POSIX || XPG3] (POLL_*): Likewise.
1116 [POSIX || XPG3] (SEGV_*): Likewise.
1117 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
1118 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
1119 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
1120 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
1121 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
1122 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
1123 Specify type and value.
1124 (TVERSLEN): Likewise.
1125 (REGTYPE): Likewise.
1126 (AREGTYPE): Likewise.
1127 (LNKTYPE): Likewise.
1128 (SYMTYPE): Likewise.
1129 (CHRTYPE): Likewise.
1130 (BLKTYPE): Likewise.
1131 (DIRTYPE): Likewise.
1132 (FIFOTYPE): Likewise.
1133 (CONTTYPE): Likewise.
1134 (TSUID): Likewise.
1135 (TSGID): Likewise.
1136 (TSVTX): Likewise.
1137 (TUREAD): Likewise.
1138 (TUWRITE): Likewise.
1139 (TUEXEC): Likewise.
1140 (TGREAD): Likewise.
1141 (TGWRITE): Likewise.
1142 (TGEXEC): Likewise.
1143 (TOREAD): Likewise.
1144 (TOWRITE): Likewise.
1145 (TOEXEC): Likewise.
1146 [POSIX] (TSVTX): Expect constant.
1147
aa97dee1
JM
11482014-03-06 Joseph Myers <joseph@codesourcery.com>
1149
f214606a
JM
1150 * Makefile (tests): Change dependencies to ....
1151 (tests-special): ... additions to this variable.
1152 (tests): Depend on $(tests-special).
1153 * Makerules (check-abi-list): New variable.
1154 (check-abi): Depend on $(check-abi-list).
1155 [$(subdir) = elf] (tests-special): Add
1156 $(objpfx)check-abi-libc.out.
1157 [$(build-shared) = yes && subdir] (tests-special): Add
1158 $(check-abi-list).
1159 [$(build-shared) = yes && subdir] (tests): Do not depend on
1160 check-abi.
1161 * Rules (tests): Depend on $(tests-special).
1162 (xtests): Depend on $(xtests-special).
1163 * catgets/Makefile (tests): Change dependencies to ....
1164 (tests-special): ... additions to this variable.
1165 * conform/Makefile (tests): Change dependencies to ....
1166 (tests-special): ... additions to this variable.
1167 * elf/Makefile (tests): Change dependencies to ....
1168 (tests-special): ... additions to this variable.
1169 * grp/Makefile (tests): Change dependencies to ....
1170 (tests-special): ... additions to this variable.
1171 * iconv/Makefile (xtests): Change dependencies to ....
1172 (xtests-special): ... additions to this variable.
1173 * iconvdata/Makefile (tests): Change dependencies to ....
1174 (tests-special): ... additions to this variable.
1175 * intl/Makefile (tests): Change dependencies to ....
1176 (tests-special): ... additions to this variable. Also add
1177 $(objpfx)tst-gettext.out.
1178 * io/Makefile (tests): Change dependencies to ....
1179 (tests-special): ... additions to this variable.
1180 * libio/Makefile (tests): Change dependencies to ....
1181 (tests-special): ... additions to this variable.
1182 * malloc/Makefile (tests): Change dependencies to ....
1183 (tests-special): ... additions to this variable.
1184 * misc/Makefile (tests): Change dependencies to ....
1185 (tests-special): ... additions to this variable.
1186 * nptl/Makefile (tests): Change dependencies to ....
1187 (tests-special): ... additions to this variable.
1188 * nptl_db/Makefile (tests): Change dependencies to ....
1189 (tests-special): ... additions to this variable.
1190 * posix/Makefile (tests): Change dependencies to ....
1191 (tests-special): ... additions to this variable.
1192 (xtests): Change dependencies to ....
1193 (xtests-special): ... additions to this variable.
1194 * resolv/Makefile (tests): Change dependencies to ....
1195 (tests-special): ... additions to this variable.
1196 (xtests): Change dependencies to ....
1197 (xtests-special): ... additions to this variable.
1198 * stdio-common/Makefile (tests): Change dependencies to ....
1199 (tests-special): ... additions to this variable.
1200 (do-tst-unbputc): Remove target.
1201 (do-tst-printf): Likewise.
1202 * stdlib/Makefile (tests): Change dependencies to ....
1203 (tests-special): ... additions to this variable.
1204 * string/Makefile (tests): Change dependencies to ....
1205 (tests-special): ... additions to this variable.
1206 * sysdeps/x86/Makefile (tests): Change dependencies to ....
1207 (tests-special): ... additions to this variable.
1208
81700b53
JM
1209 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
1210 whole file.
1211 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
1212 whole file.
1213 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
1214 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
1215
2ea18461
JM
1216 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
1217 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
1218 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
1219 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
1220 * conform/data/libgen.h-data [XPG3]: Likewise.
1221 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
1222 * conform/data/ndbm.h-data [XPG3]: Likewise.
1223 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
1224 * conform/data/netdb.h-data [XPG3]: Likewise.
1225 * conform/data/netinet/in.h-data [XPG3]: Likewise.
1226 * conform/data/poll.h-data [XPG3]: Likewise.
1227 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
1228 * conform/data/strings.h-data [XPG3]: Likewise.
1229 * conform/data/stropts.h-data [XPG3]: Likewise.
1230 * conform/data/sys/mman.h-data [XPG3]: Likewise.
1231 * conform/data/sys/resource.h-data [XPG3]: Likewise.
1232 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
1233 Likewise.
1234 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
1235 * conform/data/sys/time.h-data [XPG3]: Likewise.
1236 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
1237 * conform/data/sys/uio.h-data [XPG3]: Likewise.
1238 * conform/data/sys/un.h-data [XPG3]: Likewise.
1239 * conform/data/syslog.h-data [XPG3]: Likewise.
1240 * conform/data/ucontext.h-data [XPG3]: Likewise.
1241 * conform/data/utmpx.h-data [XPG3]: Likewise.
1242 * conform/data/varargs.h-data [UNIX98]: Enable file.
1243
355bc986
JM
1244 * manual/Makefile (INSTALL_INFO): Remove variable setting.
1245
215db402
JM
1246 * math/libm-test.inc (struct test_f_f_data): Move expected results
1247 into structure for each rounding mode.
1248 (struct test_ff_f_data): Likewise.
1249 (struct test_ff_f_data_nexttoward): Likewise.
1250 (struct test_fi_f_data): Likewise.
1251 (struct test_fl_f_data): Likewise.
1252 (struct test_if_f_data): Likewise.
1253 (struct test_fff_f_data): Likewise.
1254 (struct test_c_f_data): Likewise.
1255 (struct test_f_f1_data): Likewise.
1256 (struct test_fF_f1_data): Likewise.
1257 (struct test_ffI_f1_data): Likewise.
1258 (struct test_c_c_data): Likewise.
1259 (struct test_cc_c_data): Likewise.
1260 (struct test_f_i_data): Likewise.
1261 (struct test_ff_i_data): Likewise.
1262 (struct test_f_l_data): Likewise.
1263 (struct test_f_L_data): Likewise.
1264 (struct test_fFF_11_data): Likewise.
1265 (RM_): New macro.
1266 (RM_FE_DOWNWARD): Likewise.
1267 (RM_FE_TONEAREST): Likewise.
1268 (RM_FE_TOWARDZERO): Likewise.
1269 (RM_FE_UPWARD): Likewise.
1270 (RUN_TEST_LOOP_f_f): Update references to expected results.
1271 (RUN_TEST_LOOP_2_f): Likewise.
1272 (RUN_TEST_LOOP_fff_f): Likewise.
1273 (RUN_TEST_LOOP_c_f): Likewise.
1274 (RUN_TEST_LOOP_f_f1): Likewise.
1275 (RUN_TEST_LOOP_fF_f1): Likewise.
1276 (RUN_TEST_LOOP_fI_f1): Likewise.
1277 (RUN_TEST_LOOP_ffI_f1): Likewise.
1278 (RUN_TEST_LOOP_c_c): Likewise.
1279 (RUN_TEST_LOOP_cc_c): Likewise.
1280 (RUN_TEST_LOOP_f_i): Likewise.
1281 (RUN_TEST_LOOP_f_i_tg): Likewise.
1282 (RUN_TEST_LOOP_ff_i_tg): Likewise.
1283 (RUN_TEST_LOOP_f_b): Likewise.
1284 (RUN_TEST_LOOP_f_b_tg): Likewise.
1285 (RUN_TEST_LOOP_f_l): Likewise.
1286 (RUN_TEST_LOOP_f_L): Likewise.
1287 (RUN_TEST_LOOP_fFF_11): Likewise.
1288 * math/gen-libm-test.pl (parse_args): Output four copies of
1289 expected results for each test.
1290
67737b8f
JM
1291 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
1292 (__ASSUME_UTIMES): Remove.
1293 * sysdeps/unix/sysv/linux/tile/kernel-features.h
1294 (__ASSUME_UTIMES): Likewise.
1295
aa97dee1
JM
1296 * math/gen-auto-libm-tests.c: Update comment on output format.
1297 (output_for_one_input_case): Generate before-rounding and
1298 after-rounding information as conditions on output flags not
1299 floating-point format.
1300 * math/auto-libm-test-out: Regenerated.
1301 * math/gen-libm-test.pl (cond_value): New function.
1302 (or_cond_value): Use cond_value.
1303 (generate_testfile): Handle conditional exceptions.
1304
e6b6a857
JM
13052014-03-05 Joseph Myers <joseph@codesourcery.com>
1306
2f0a0f44
JM
1307 * math/libm-test.inc (max_valid_error): New variable.
1308 (init_max_error): Take new argument specifying whether function
1309 results are exactly determined. Set max_valid_error and bound
1310 other variables for errors based on this argument.
1311 (set_max_error): Do not record results above max_valid_error.
1312 (check_float_internal): Only accept errors of up to 0.5ulps if
1313 also at most max_valid_error.
1314 (START): Take new argument EXACT and pass it to init_max_error.
1315 (acos_test): Update call to START.
1316 (acos_test_tonearest): Likewise.
1317 (acos_test_towardzero): Likewise.
1318 (acos_test_downward): Likewise.
1319 (acos_test_upward): Likewise.
1320 (acosh_test): Likewise.
1321 (asin_test): Likewise.
1322 (asin_test_tonearest): Likewise.
1323 (asin_test_towardzero): Likewise.
1324 (asin_test_downward): Likewise.
1325 (asin_test_upward): Likewise.
1326 (asinh_test): Likewise.
1327 (atan_test): Likewise.
1328 (atanh_test): Likewise.
1329 (atan2_test): Likewise.
1330 (cabs_test): Likewise.
1331 (cacos_test): Likewise.
1332 (cacosh_test): Likewise.
1333 (carg_test): Likewise.
1334 (casin_test): Likewise.
1335 (casinh_test): Likewise.
1336 (catan_test): Likewise.
1337 (catanh_test): Likewise.
1338 (cbrt_test): Likewise.
1339 (ccos_test): Likewise.
1340 (ccosh_test): Likewise.
1341 (ceil_test): Likewise.
1342 (cexp_test): Likewise.
1343 (cimag_test): Likewise.
1344 (clog_test): Likewise.
1345 (clog10_test): Likewise.
1346 (conj_test): Likewise.
1347 (copysign_test): Likewise.
1348 (cos_test): Likewise.
1349 (cos_test_tonearest): Likewise.
1350 (cos_test_towardzero): Likewise.
1351 (cos_test_downward): Likewise.
1352 (cos_test_upward): Likewise.
1353 (cosh_test): Likewise.
1354 (cosh_test_tonearest): Likewise.
1355 (cosh_test_towardzero): Likewise.
1356 (cosh_test_downward): Likewise.
1357 (cosh_test_upward): Likewise.
1358 (cpow_test): Likewise.
1359 (cproj_test): Likewise.
1360 (creal_test): Likewise.
1361 (csin_test): Likewise.
1362 (csinh_test): Likewise.
1363 (csqrt_test): Likewise.
1364 (ctan_test): Likewise.
1365 (ctan_test_tonearest): Likewise.
1366 (ctan_test_towardzero): Likewise.
1367 (ctan_test_downward): Likewise.
1368 (ctan_test_upward): Likewise.
1369 (ctanh_test): Likewise.
1370 (ctanh_test_tonearest): Likewise.
1371 (ctanh_test_towardzero): Likewise.
1372 (ctanh_test_downward): Likewise.
1373 (ctanh_test_upward): Likewise.
1374 (erf_test): Likewise.
1375 (erfc_test): Likewise.
1376 (exp_test): Likewise.
1377 (exp_test_tonearest): Likewise.
1378 (exp_test_towardzero): Likewise.
1379 (exp_test_downward): Likewise.
1380 (exp_test_upward): Likewise.
1381 (exp10_test): Likewise.
1382 (exp10_test_tonearest): Likewise.
1383 (exp10_test_towardzero): Likewise.
1384 (exp10_test_downward): Likewise.
1385 (exp10_test_upward): Likewise.
1386 (pow10_test): Likewise.
1387 (exp2_test): Likewise.
1388 (expm1_test): Likewise.
1389 (expm1_test_tonearest): Likewise.
1390 (expm1_test_towardzero): Likewise.
1391 (expm1_test_downward): Likewise.
1392 (expm1_test_upward): Likewise.
1393 (fabs_test): Likewise.
1394 (fdim_test): Likewise.
1395 (floor_test): Likewise.
1396 (fma_test): Likewise.
1397 (fma_test_towardzero): Likewise.
1398 (fma_test_downward): Likewise.
1399 (fma_test_upward): Likewise.
1400 (fmax_test): Likewise.
1401 (fmin_test): Likewise.
1402 (fmod_test): Likewise.
1403 (fpclassify_test): Likewise.
1404 (frexp_test): Likewise.
1405 (hypot_test): Likewise.
1406 (ilogb_test): Likewise.
1407 (isfinite_test): Likewise.
1408 (finite_test): Likewise.
1409 (isgreater_test): Likewise.
1410 (isgreaterequal_test): Likewise.
1411 (isinf_test): Likewise.
1412 (isless_test): Likewise.
1413 (islessequal_test): Likewise.
1414 (islessgreater_test): Likewise.
1415 (isnan_test): Likewise.
1416 (isnormal_test): Likewise.
1417 (issignaling_test): Likewise.
1418 (isunordered_test): Likewise.
1419 (j0_test): Likewise.
1420 (j1_test): Likewise.
1421 (jn_test): Likewise.
1422 (ldexp_test): Likewise.
1423 (lgamma_test): Likewise.
1424 (gamma_test): Likewise.
1425 (lrint_test): Likewise.
1426 (lrint_test_tonearest): Likewise.
1427 (lrint_test_towardzero): Likewise.
1428 (lrint_test_downward): Likewise.
1429 (lrint_test_upward): Likewise.
1430 (llrint_test): Likewise.
1431 (llrint_test_tonearest): Likewise.
1432 (llrint_test_towardzero): Likewise.
1433 (llrint_test_downward): Likewise.
1434 (llrint_test_upward): Likewise.
1435 (log_test): Likewise.
1436 (log10_test): Likewise.
1437 (log1p_test): Likewise.
1438 (log2_test): Likewise.
1439 (logb_test): Likewise.
1440 (logb_test_downward): Likewise.
1441 (lround_test): Likewise.
1442 (llround_test): Likewise.
1443 (modf_test): Likewise.
1444 (nearbyint_test): Likewise.
1445 (nextafter_test): Likewise.
1446 (nexttoward_test): Likewise.
1447 (pow_test): Likewise.
1448 (pow_test_tonearest): Likewise.
1449 (pow_test_towardzero): Likewise.
1450 (pow_test_downward): Likewise.
1451 (pow_test_upward): Likewise.
1452 (remainder_test): Likewise.
1453 (drem_test): Likewise.
1454 (remainder_test_tonearest): Likewise.
1455 (drem_test_tonearest): Likewise.
1456 (remainder_test_towardzero): Likewise.
1457 (drem_test_towardzero): Likewise.
1458 (remainder_test_downward): Likewise.
1459 (drem_test_downward): Likewise.
1460 (remainder_test_upward): Likewise.
1461 (drem_test_upward): Likewise.
1462 (remquo_test): Likewise.
1463 (rint_test): Likewise.
1464 (rint_test_tonearest): Likewise.
1465 (rint_test_towardzero): Likewise.
1466 (rint_test_downward): Likewise.
1467 (rint_test_upward): Likewise.
1468 (round_test): Likewise.
1469 (scalb_test): Likewise.
1470 (scalbn_test): Likewise.
1471 (scalbln_test): Likewise.
1472 (signbit_test): Likewise.
1473 (sin_test): Likewise.
1474 (sin_test_tonearest): Likewise.
1475 (sin_test_towardzero): Likewise.
1476 (sin_test_downward): Likewise.
1477 (sin_test_upward): Likewise.
1478 (sincos_test): Likewise.
1479 (sinh_test): Likewise.
1480 (sinh_test_tonearest): Likewise.
1481 (sinh_test_towardzero): Likewise.
1482 (sinh_test_downward): Likewise.
1483 (sinh_test_upward): Likewise.
1484 (sqrt_test): Likewise.
1485 (sqrt_test_tonearest): Likewise.
1486 (sqrt_test_towardzero): Likewise.
1487 (sqrt_test_downward): Likewise.
1488 (sqrt_test_upward): Likewise.
1489 (tan_test): Likewise.
1490 (tan_test_tonearest): Likewise.
1491 (tan_test_towardzero): Likewise.
1492 (tan_test_downward): Likewise.
1493 (tan_test_upward): Likewise.
1494 (tanh_test): Likewise.
1495 (tgamma_test): Likewise.
1496 (trunc_test): Likewise.
1497 (y0_test): Likewise.
1498 (y1_test): Likewise.
1499 (yn_test): Likewise.
1500 (significand_test): Likewise.
1501
e6b6a857
JM
1502 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
1503 individual tests in comment.
1504 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
1505 (prev_max_error): New variable.
1506 (prev_real_max_error): Likewise.
1507 (prev_imag_max_error): Likewise.
1508 (compare_ulp_data): Don't refer to test names in comment.
1509 (find_test_ulps): Remove function.
1510 (find_function_ulps): Likewise.
1511 (find_complex_function_ulps): Likewise.
1512 (init_max_error): Take function name as argument. Look up ulps
1513 for that function.
1514 (print_ulps): Remove function.
1515 (print_max_error): Use prev_max_error instead of calling
1516 find_function_ulps.
1517 (print_complex_max_error): Use prev_real_max_error and
1518 prev_imag_max_error instead of calling find_complex_function_ulps.
1519 (check_float_internal): Take max_ulp parameter instead of calling
1520 find_test_ulps. Don't call print_ulps.
1521 (check_float): Update call to check_float_internal.
1522 (check_complex): Update calls to check_float_internal.
1523 (START): Pass argument to init_max_error.
1524 * math/gen-libm-test.pl (%results): Don't include "kind"
1525 information.
1526 (parse_ulps): Don't handle ulps of individual tests.
1527 (print_ulps_file): Likewise.
1528 (output_ulps): Likewise.
1529 * math/README.libm-test: Update.
1530 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
1531 individual tests.
1532 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
1533 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
1534 * sysdeps/arm/libm-test-ulps: Likewise.
1535 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
1536 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
1537 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
1538 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
1539 * sysdeps/microblaze/libm-test-ulps: Likewise.
1540 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
1541 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1542 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1543 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
1544 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1545 * sysdeps/sh/libm-test-ulps: Likewise.
1546 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
1547 * sysdeps/tile/libm-test-ulps: Likewise.
1548 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1549
45adef3c
JM
15502014-03-04 Joseph Myers <joseph@codesourcery.com>
1551
1552 * math/libm-test.inc (print_complex_max_error): Check separately
1553 whether real and imaginary errors are within allowed range and
1554 pass 0 to print_complex_function_ulps instead of value within
1555 allowed range.
1556
000232b9
SP
15572014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1558
d4b17258
SP
1559 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
1560 formatting.
1561 (get_handles_fopen): Likewise.
1562 (do_write_test): Likewise.
1563
091eff71
SP
1564 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
1565
fa3cd248
SP
1566 * libio/fileops.c (do_ftell): Use cached offset when
1567 available.
1568 * libio/iofwide.c (do_ftell_wide): Likewise.
1569 * libio/iofdopen.c (_IO_new_fdopen): Don't use
1570 _IO_file_attach.
1571 * libio/wfileops.c (_IO_fwide): Don't cache offset.
1572
000232b9
SP
1573 [BZ #16532]
1574 * libio/libioP.h (get_file_offset): New function.
1575 * libio/fileops.c (get_file_offset): Likewise.
1576 (do_ftell): Likewise.
1577 (_IO_new_file_seekoff): Split out ftell logic.
1578 * libio/wfileops.c (do_ftell_wide): Likewise.
1579 (_IO_wfile_seekoff): Split out ftell logic.
1580 * libio/tst-ftell-active-handler.c: New test case.
1581 * libio/Makefile (tests): Add it.
1582
116f4d1a
RM
15832014-03-03 Roland McGrath <roland@hack.frob.com>
1584
1585 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
1586 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
1587
532a6035
SP
15882014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
1589
1590 [BZ #16639]
1591 * nscd/connections.c (nscd_init): Call do_exit.
1592 (start_threads): Call do_exit and notify_parent.
1593 (begin_drop_privileges): Call do_exit.
1594 (finish_drop_privileges): Likewise.
1595 * nscd/selinux.c (preserve_capabilities): Likewise.
1596 (install_real_capabilities): Likewise.
1597 (nscd_selinux_enabled): Likewise.
1598 (avc_create_thread): Likewise.
1599 (avc_alloc_lock): Likewise.
1600 (nscd_avc_init): Likewise.
1601 * nscd/nscd.c (parent_fd): New static variable.
1602 (main): Create a pipe between parent and child processes.
1603 Skip closing parent_fd.
1604 (monitor_child): New function.
1605 (do_exit): Likewise.
1606 (notify_parent): Likewise.
1607 * nscd/nscd.h (notify_parent): Likewise.
1608 (do_exit): Likewise.
1609
d6285c9f
CD
16102014-03-03 Carlos O'Donell <carlos@redhat.com>
1611
1612 * malloc/malloc.c (__libc_calloc): Revert last change.
1613
2b85d2a0
AZ
16142014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1615
1616 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1617
c7debbdf
RS
16182014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1619
1620 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
1621 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
1622 implementation.
1623 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1624 (__libc_ifunc_impl_list): Likewise.
1625 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
1626 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
1627 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
1628 * string/strrchr.c: Define STRRCHR.
1629
235eed86
OB
16302014-02-28 Ondřej Bílka <neleai@seznam.cz>
1631
1632 * benchtest/bench-strtok.c (simple_strtok): Delete.
1633 (strtok_string): Use as benchmark.
1634 * string/strtok (STRTOK): New macro.
1635
8e25d1e7
CD
16362014-02-28 Carlos O'Donell <carlos@redhat.com>
1637
ef563f92
CD
1638 * manual/threads.texi: Add header and standard comments to all
1639 functions.
1640
8e25d1e7
CD
1641 * elf/dl-lookup.c (check_match): New function.
1642 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
1643 (do_lookup_x): Remove nested function check_match. Use non-nested
1644 function check_match.
1645
ff71cc37
RM
16462014-02-28 Roland McGrath <roland@hack.frob.com>
1647
f08e9a26
RM
1648 * csu/Makefile (generated, before-compile): Use += rather than =.
1649 * catgets/Makefile (generated, generated-dirs): Likewise.
1650 * debug/Makefile (generated): Likewise.
1651 * dlfcn/Makefile (generated): Likewise.
1652 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
1653 * iconvdata/Makefile (before-compile, generated): Likewise.
1654 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
1655 * libio/Makefile (generated): Likewise.
1656 * malloc/Makefile (generated): Likewise.
1657 * manual/Makefile (generated, generated-dirs): Likewise.
1658 * misc/Makefile (generated): Likewise.
1659 * posix/Makefile (generated): Likewise.
1660 * resolv/Makefile (generated): Likewise.
1661 * sunrpc/Makefile (generated, generated-dirs): Likewise.
1662 * timezone/Makefile (generated, generated-dirs): Likewise.
1663
ff71cc37
RM
1664 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
1665
fe13a20c
AZ
16662014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1667
1668 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround power8
1669 implementation.
1670 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New file:
1671 POWER8 llround ifunc implementation.
1672 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c (__lllround): Add
1673 POWER8 implementation.
1674 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
1675 POWER8 llround implementation.
1676
1ad8950a
AZ
16772014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1678
1679 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint power8
1680 implementation.
1681 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New file:
1682 POWER8 llrint ifunc implementation.
1683 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint): Add
1684 POWER8 implementation.
1685 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
1686 POWER8 llrint implementation.
1687
cac626d6
AZ
16882014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1689
1690 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite power8
1691 implementation.
1692 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New file:
1693 POWER8 finite ifunc implementation.
1694 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite): Add
1695 POWER8 implementation.
1696 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
1697 Likewise.
1698 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
1699 POWER8 finite implementation.
1700 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
1701
4393fc11
AZ
17022014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1703
1704 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf power8
1705 implementation.
1706 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New file:
1707 POWER8 isinf ifunc implementation.
1708 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
1709 POWER8 implementation.
1710 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
1711 Likewise.
1712 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file:
1713 POWER8 isinf implementation.
1714 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
1715
487972ae
AZ
17162014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1717
1718 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h (INIT_ARCH):
1719 Add hwcap2 initialization.
1720 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan power8
1721 implementation.
1722 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New file:
1723 POWER8 isnan ifunc implementation.
1724 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
1725 POWER8 implementation.
1726 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
1727 Likewise.
1728 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file:
1729 POWER8 isnan implementation.
1730 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
1731
7d92b787
JY
17322014-02-27 Joey Ye <joey.ye@arm.com>
1733
1734 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
1735 (_FP_NANFRAC_Q): Set to zero.
1736
1cadc858
SP
17372014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1738
1739 [BZ #16623]
1740 * math/auto-libm-test-in: New test inputs.
1741 * math/auto-libm-test-out: Regenerate.
1742 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
1743 and DA.
1744 (__cos): Likewise.
1745 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
1746
f8c17e79
JM
17472014-02-27 Joseph Myers <joseph@codesourcery.com>
1748
1749 * scripts/evaluate-test.sh: Take new argument indicating whether
1750 failure is expected.
1751 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
1752 indicating whether failure is expected.
1753 * conform/Makefile (test-xfail-run-conformtest): New variable.
1754 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
1755 level.
1756 * posix/Makefile (test-xfail-annexc): New variable.
1757 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
1758
a5f891ac
JM
17592014-02-26 Joseph Myers <joseph@codesourcery.com>
1760
1761 * argp/Makefile: Include Makeconfig immediately after defining
1762 subdir.
1763 * assert/Makefile: Likewise.
1764 * benchtests/Makefile: Likewise.
1765 * catgets/Makefile: Likewise.
1766 * conform/Makefile: Likewise.
1767 * crypt/Makefile: Likewise.
1768 * csu/Makefile: Likewise.
1769 (all): Remove target.
1770 * ctype/Makefile: Include Makeconfig immediately after defining
1771 subdir.
1772 * debug/Makefile: Likewise.
1773 * dirent/Makefile: Likewise.
1774 * dlfcn/Makefile: Likewise.
1775 * gmon/Makefile: Likewise.
1776 * gnulib/Makefile: Likewise.
1777 * grp/Makefile: Likewise.
1778 * gshadow/Makefile: Likewise.
1779 * hesiod/Makefile: Likewise.
1780 * hurd/Makefile: Likewise.
1781 (all): Remove target.
1782 * iconvdata/Makefile: Include Makeconfig immediately after
1783 defining subdir.
1784 * inet/Makefile: Likewise.
1785 * intl/Makefile: Likewise.
1786 * io/Makefile: Likewise.
1787 * libio/Makefile: Likewise.
1788 (all): Remove target.
1789 * locale/Makefile: Include Makeconfig immediately after defining
1790 subdir.
1791 * login/Makefile: Likewise.
1792 * mach/Makefile: Likewise.
1793 (all): Remove target.
1794 * malloc/Makefile: Include Makeconfig immediately after defining
1795 subdir.
1796 (all): Remove target.
1797 * manual/Makefile: Include Makeconfig immediately after defining
1798 subdir.
1799 * math/Makefile: Likewise.
1800 * misc/Makefile: Likewise.
1801 * nis/Makefile: Likewise.
1802 * nss/Makefile: Likewise.
1803 * po/Makefile: Likewise.
1804 (all): Remove target.
1805 * posix/Makefile: Include Makeconfig immediately after defining
1806 subdir.
1807 * pwd/Makefile: Likewise.
1808 * resolv/Makefile: Likewise.
1809 * resource/Makefile: Likewise.
1810 * rt/Makefile: Likewise.
1811 * setjmp/Makefile: Likewise.
1812 * shadow/Makefile: Likewise.
1813 * signal/Makefile: Likewise.
1814 * socket/Makefile: Likewise.
1815 * soft-fp/Makefile: Likewise.
1816 * stdio-common/Makefile: Likewise.
1817 * stdlib/Makefile: Likewise.
1818 * streams/Makefile: Likewise.
1819 * string/Makefile: Likewise.
1820 * sunrpc/Makefile: Likewise.
1821 (all): Remove target.
1822 * sysvipc/Makefile: Include Makeconfig immediately after defining
1823 subdir.
1824 * termios/Makefile: Likewise.
1825 * time/Makefile: Likewise.
1826 * timezone/Makefile: Likewise.
1827 (all): Remove target.
1828 * wcsmbs/Makefile: Include Makeconfig immediately after defining
1829 subdir.
1830 * wctype/Makefile: Likewise.
1831
5b456e9d
SE
18322014-02-26 Steve Ellcey <sellcey@mips.com>
1833
1834 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
1835 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
1836 (libc_feholdexcept_setround_mips): Ditto.
1837 (libc_feholdsetround): New.
1838 (libc_feholdsetroundf): New.
1839 (libc_feholdsetroundl): New.
1840 (libc_feupdateenv_test_mips): New.
1841 (libc_feupdateenv_test): New.
1842 (libc_feupdateenv_testf): New.
1843 (libc_feupdateenv_testl): New.
1844 (libc_feresetround): New.
1845 (libc_feresetroundf): New.
1846 (libc_feresetroundl): New.
1847 (libc_fetestexcept_mips): New.
1848 (libc_fetestexcept): New.
1849 (libc_fetestexceptf): New.
1850 (libc_fetestexceptl): New.
1851 (HAVE_RM_CTX): New.
1852 (libc_feholdexcept_setround_mips_ctx): New.
1853 (libc_feholdexcept_setround_ctx): New.
1854 (libc_feholdexcept_setroundf_ctx): New.
1855 (libc_feholdexcept_setroundl_ctx): New.
1856 (libc_fesetenv_mips_ctx): New.
1857 (libc_fesetenv_ctx): New.
1858 (libc_fesetenv_ctxf): New.
1859 (libc_fesetenv_ctxl): New.
1860 (libc_feupdateenv_mips_ctx): New.
1861 (libc_feupdateenv_ctx): New.
1862 (libc_feupdateenvf_ctx): New.
1863 (libc_feupdateenvl_ctx): New.
1864 (libc_feholdsetround_mips_ctx): New.
1865 (libc_feholdsetround_ctx): New.
1866 (libc_feholdsetroundf_ctx): New.
1867 (libc_feholdsetroundl_ctx): New.
1868 (libc_feresetround_mips_ctx): New.
1869 (libc_feresetround_ctx): New.
1870 (libc_feresetroundf_ctx): New.
1871 (libc_feresetroundl_ctx): New.
1872
085d0e35
CD
18732014-02-26 Carlos O'Donell <carlos@redhat.com>
1874
f067bf1f
CD
1875 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
1876
085d0e35
CD
1877 * manual/ipc.texi: New file.
1878 * manual/Makefile (chapters): Add ipc.
1879 * manual/job.texi: Add "Inter-Process Communication" to next.
1880 * manual/process.texi: Add "Inter-Process Communication" to prev.
1881
86e58c08
AZ
18822014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1883
1884 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1885
4248f0da
OB
18862014-02-26 Ondřej Bílka <neleai@seznam.cz>
1887
1888 * malloc/malloc.c (__libc_calloc): Simplify implementation.
1889
cf822e3c
OB
1890 * manual/arith.texi: Fix spaces after sentences.
1891 * manual/charset.texi: Likewise.
1892 * manual/errno.texi: Likewise.
1893 * manual/install.texi: Likewise.
1894 * manual/llio.texi: Likewise.
1895 * manual/locale.texi: Likewise.
1896 * manual/maint.texi: Likewise.
1897 * manual/math.texi: Likewise.
1898 * manual/memory.texi: Likewise.
1899 * manual/message.texi: Likewise.
1900 * manual/probes.texi: Likewise.
1901 * manual/resource.texi: Likewise.
1902 * manual/signal.texi: Likewise.
1903 * manual/socket.texi: Likewise.
1904 * manual/stdio.texi: Likewise.
1905 * manual/string.texi: Likewise.
1906 * manual/time.texi: Likewise.
1907 * manual/users.texi: Likewise.
1908
ade40b10
CD
19092014-02-25 Carlos O'Donell <carlos@redhat.com>
1910
1911 [BZ #16632]
1912 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
1913 _DEFAULT_SOURCE is defined.
1914
d0503676
CD
19152014-02-25 Ulrich Drepper <drepper@gmail.com>
1916 Carlos O'Donell <carlos@redhat.com>
1917
1918 [BZ #16613]
1919 * elf/dl-tls.c (_dl_count_modids): New function.
1920 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
1921 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
1922 audit library and increment generation counter.
1923 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
1924 * elf/tst-audit9.c: New file.
1925 * elf/tst-auditmod9a.c: New file.
1926 * elf/tst-auditmod9b.c: New file.
1927 * elf/Makefile: Add rules to build and run tst-audit9.
1928
4cbf380c
FW
19292014-02-25 Florian Weimer <fweimer@redhat.com>
1930
1931 [BZ #15347]
1932 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
1933
80a56cc3
WN
19342014-02-25 Will Newton <will.newton@linaro.org>
1935
1936 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
1937 (__longjmp): Restore sp and lr before restoring callee
1938 saved registers. Add longjmp and longjmp_target
1939 SystemTap probe point.
1940 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
1941 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
1942 Define to zero to match jmpbuf layout.
1943 * sysdeps/arm/setjmp.S: Include stap-probe.h.
1944 (__sigsetjmp): Save sp and lr before saving callee
1945 saved registers. Add setjmp SystemTap probe point.
1946
3ea0f74e
SL
19472014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
1948
1949 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1950
b04acb26
AS
19512014-02-24 Andreas Schwab <schwab@suse.de>
1952
1953 [BZ #15804]
1954 * elf/pldd.c (wait_for_ptrace_stop): New function.
1955 (main): Call it after attaching.
1956
098ad55c
RM
19572014-02-22 Roland McGrath <roland@hack.frob.com>
1958
d4ec6ae1
RM
1959 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
1960 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
1961 Versions files is now verboten.
1962 * hurd/Versions (libc: GLIBC_2.0):
1963 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
1964 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
1965 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
1966 * mach/Versions: Likewise.
1967
098ad55c
RM
1968 * csu/Versions: Remove unused %include.
1969 * resolv/Versions: Likewise.
1970
acd7f096
JM
19712014-02-21 Joseph Myers <joseph@codesourcery.com>
1972
f0881698
JM
1973 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
1974 ($(objpfx)check-local-headers.out): Likewise.
1975 ($(objpfx)begin-end-check.out): Likewise.
1976 * Makerules (check-abi-%.out): Likewise.
1977 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
1978 ($(objpfx)test2.cat): Likewise.
1979 ($(objpfx)de/libc.cat): Likewise.
1980 ($(objpfx)test-gencat.out): Likewise.
1981 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
1982 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
1983 ($(objpfx)noload-mem): Likewise.
1984 ($(objpfx)tst-pathopt.out): Likewise.
1985 ($(objpfx)tst-rtld-load-self.out): Likewise.
1986 ($(objpfx)tst-array1-cmp.out): Likewise.
1987 ($(objpfx)tst-array1-static-cmp.out): Likewise.
1988 ($(objpfx)tst-array2-cmp.out): Likewise.
1989 ($(objpfx)tst-array3-cmp.out): Likewise.
1990 ($(objpfx)tst-array4-cmp.out): Likewise.
1991 ($(objpfx)tst-array5-cmp.out): Likewise.
1992 ($(objpfx)tst-array5-static-cmp.out): Likewise.
1993 ($(objpfx)check-textrel.out): Likewise.
1994 ($(objpfx)check-execstack.out): Likewise.
1995 ($(objpfx)check-localplt.out): Likewise.
1996 ($(objpfx)order2-cmp.out): Likewise.
1997 ($(objpfx)tst-leaks1-mem): Likewise.
1998 ($(objpfx)tst-leaks1-static-mem): Likewise.
1999 ($(objpfx)tst-initorder-cmp.out): Likewise.
2000 ($(objpfx)tst-initorder2-cmp.out): Likewise.
2001 ($(objpfx)tst-unused-dep.out): Likewise.
2002 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
2003 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
2004 * iconv/Makefile (test-iconvconfig): Likewise.
2005 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
2006 ($(objpfx)iconv-test.out): Likewise.
2007 ($(objpfx)tst-tables.out): Likewise.
2008 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
2009 ($(objpfx)tst-gettext.out): Likewise.
2010 ($(objpfx)tst-translit.out): Likewise.
2011 ($(objpfx)tst-gettext2.out): Likewise.
2012 ($(objpfx)tst-gettext4.out): Likewise.
2013 ($(objpfx)tst-gettext6.out): Likewise.
2014 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
2015 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
2016 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
2017 ($(objpfx)tst-fopenloc-mem.out): Likewise.
2018 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
2019 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
2020 * posix/Makefile ($(objpfx)globtest.out): Likewise.
2021 ($(objpfx)wordexp-tst.out): Likewise.
2022 ($(objpfx)annexc.out): Likewise.
2023 ($(objpfx)tst-fnmatch-mem): Likewise.
2024 ($(objpfx)bug-regex2-mem): Likewise.
2025 ($(objpfx)bug-regex14-mem): Likewise.
2026 ($(objpfx)bug-regex21-mem): Likewise.
2027 ($(objpfx)bug-regex31-mem): Likewise.
2028 ($(objpfx)tst-vfork3-mem): Likewise.
2029 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
2030 ($(objpfx)tst-pcre-mem): Likewise.
2031 ($(objpfx)tst-boost-mem): Likewise.
2032 ($(objpfx)tst-getconf.out): Likewise.
2033 ($(objpfx)bug-ga2-mem): Likewise.
2034 ($(objpfx)bug-glob2-mem): Likewise.
2035 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
2036 ($(objpfx)mtrace-tst-leaks2): Likewise.
2037 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
2038 ($(objpfx)tst-printf.out): Likewise.
2039 ($(objpfx)tst-setvbuf1.out): Likewise.
2040 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
2041 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
2042 ($(objpfx)tst-fmtmsg.out): Likewise.
2043 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
2044 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
2045
acd7f096
JM
2046 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
2047 * bits/sigaction.h [__USE_MISC]: Likewise.
2048 * bits/waitstatus.h: Update #endif comments.
2049 * ctype/ctype.h: Likewise.
2050 * dirent/dirent.h: Likewise.
2051 [__USE_MISC]: Remove redundant conditionals.
2052 * grp/grp.h: Update #endif comments.
2053 [__USE_GNU]: Remove redundant conditionals.
2054 [__USE_MISC]: Likewise.
2055 * inet/netinet/in.h [__USE_GNU]: Likewise.
2056 * io/sys/stat.h [__USE_MISC]: Likewise.
2057 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
2058 * libio/bits/stdio.h: Update #endif comments.
2059 [__USE_MISC]: Remove redundant conditionals.
2060 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
2061 * libio/stdio.h: Update #endif comments.
2062 [__USE_MISC]: Remove redundant conditionals.
2063 * math/bits/math-finite.h [__USE_MISC]: Likewise.
2064 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
2065 * math/math.h: Update #else and #endif comments.
2066 [__USE_MISC]: Remove redundant conditionals.
2067 * misc/sys/uio.h: Update #endif comments.
2068 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
2069 * posix/glob.h [__USE_MISC]: Likewise.
2070 * posix/sys/types.h: Update #endif comments.
2071 [__USE_MISC]: Remove redundant conditionals.
2072 * posix/sys/wait.h: Update #endif comments.
2073 [__USE_MISC]: Remove redundant conditionals.
2074 * posix/unistd.h: Update #endif comments.
2075 [__USE_MISC]: Remove redundant conditionals.
2076 * pwd/pwd.h [__USE_GNU]: Likewise.
2077 [__USE_MISC]: Likewise.
2078 * resolv/netdb.h [__USE_GNU]: Likewise.
2079 * signal/signal.h: Update #endif comments.
2080 [__USE_MISC]: Remove redundant conditionals.
2081 * stdlib/stdlib.h: Update #else and #endif comments.
2082 [__USE_MISC]: Remove redundant conditionals.
2083 [__USE_GNU]: Likewise.
2084 * string/bits/string2.h [__USE_MISC]: Likewise.
2085 * string/string.h: Update #endif comments.
2086 [__USE_MISC]: Remove redundant conditionals.
2087 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
2088 Likewise.
2089 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
2090 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
2091 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
2092 Likewise.
2093 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
2094 Likewise.
2095 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
2096 comments.
2097 [__USE_MISC]: Remove redundant conditionals.
2098 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
2099 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
2100 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
2101 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
2102 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
2103 Likewise.
2104 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
2105 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
2106 Likewise.
2107 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
2108 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
2109 Likewise.
2110 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
2111 Likewise.
2112 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
2113 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
2114 Likewise.
2115 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
2116 Likewise.
2117 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
2118 * sysdeps/x86/bits/string.h: Update #endif comments.
2119 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
2120 conditionals.
2121 * time/sys/time.h: Update #endif comments.
2122 * time/time.h: Likewise.
2123 [__USE_MISC]: Remove redundant conditionals.
2124
a5d82e4e
YG
21252014-02-21 Yury Gribov <y.gribov@samsung.com>
2126
2127 [BZ #16600]
2128 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
2129
9a80491d
AS
21302014-02-21 Andreas Schwab <schwab@linux-m68k.org>
2131
2132 * Versions.def (librt): Add GLIBC_2.17.
2133
105fa381
AC
21342014-02-21 Adam Conrad <adconrad@0c3.net>
2135
2136 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
2137 synonym for _SYS_AUXV_H to allow direct inclusion.
2138 * sysdeps/sparc/bits/hwcap.h: Likewise.
2139 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
2140 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
2141 * sysdeps/sparc/sysdep.h: Likewise.
2142
b8cd1c4e
SP
21432014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2144
2145 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
2146
bd939d23
RS
21472014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2148
2149 * benchtests/bench-strrchr.c: Print length instead of position.
2150
5d7b57ca
JM
21512014-02-20 Joseph Myers <joseph@codesourcery.com>
2152
bc688c10
JM
2153 [BZ #16611]
2154 * sysdeps/unix/sysv/linux/kernel-features.h
2155 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
2156 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
2157 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
2158 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
2159 Likewise.
2160 [__i386__ || __powerpc__ || __sh__ || __sparc__]
2161 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2162 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
2163 (__ASSUME_SENDMMSG): Define instead of using previous
2164 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
2165 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2166 (__ASSUME_SENDMMSG_SYSCALL): Define.
2167 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2168 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
2169 Likewise.
2170 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2171 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
2172 Likewise.
2173 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2174 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
2175 Likewise.
2176 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
2177 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
2178 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
2179 [__ASSUME_SENDMMSG]: Change conditionals to
2180 [__ASSUME_SENDMMSG_SOCKETCALL].
2181 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2182 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
2183 Define.
2184 * sysdeps/unix/sysv/linux/mips/kernel-features.h
2185 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
2186 Likewise.
2187 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
2188 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
2189 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
2190 [!__ASSUME_SENDMMSG]: Change conditional to
2191 [!__ASSUME_SENDMMSG_SOCKETCALL].
2192 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2193 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
2194 Define.
2195
0e31b18c
JM
2196 [BZ #16610]
2197 * sysdeps/unix/sysv/linux/kernel-features.h
2198 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
2199 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
2200 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
2201 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
2202 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2203 [__i386__ || __sparc__]
2204 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2205 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
2206 (__ASSUME_RECVMMSG): Define instead of using previous
2207 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
2208 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2209 (__ASSUME_RECVMMSG_SYSCALL): Define.
2210 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2211 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2212 Likewise.
2213 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2214 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2215 Likewise.
2216 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2217 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2218 Likewise.
2219 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
2220 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
2221 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
2222 [__ASSUME_RECVMMSG]: Change condition to
2223 [__ASSUME_RECVMMSG_SOCKETCALL].
2224 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2225 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2226 Define.
2227 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2228 * sysdeps/unix/sysv/linux/mips/kernel-features.h
2229 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2230 Likewise.
2231 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
2232 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
2233 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
2234 [!__ASSUME_RECVMMSG]: Change condition to
2235 [!__ASSUME_RECVMMSG_SOCKETCALL].
2236 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2237 (__ASSUME_RECVMMSG_SYSCALL): Define.
2238
dd481ccf
JM
2239 [BZ #16609]
2240 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
2241 __powerpc__ || __s390__ || __sh__ || __sparc__]
2242 (__ASSUME_SOCKETCALL): Define.
2243 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
2244 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
2245 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
2246 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
2247 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2248 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
2249 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
2250 (__ASSUME_ACCEPT4): Define instead of using previous
2251 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
2252 __powerpc__ || __sparc__ || __s390__)] condition.
2253 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2254 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
2255 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
2256 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
2257 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
2258 [!__ASSUME_ACCEPT4]: Change condition to
2259 [!__ASSUME_ACCEPT4_SOCKETCALL].
2260 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2261 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
2262 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
2263 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2264 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
2265 __ASSUME_ACCEPT4_SYSCALL.
2266 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
2267 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
2268 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2269 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
2270 __ASSUME_ACCEPT4_SYSCALL.
2271 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
2272 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
2273 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
2274 [__ASSUME_ACCEPT4]: Change condition to
2275 [__ASSUME_ACCEPT4_SOCKETCALL].
2276 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2277 (__ASSUME_SOCKETCALL): Define.
2278 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
2279 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2280 (__ASSUME_SOCKETCALL): Define.
2281 (__ASSUME_ACCEPT4): Remove.
2282 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
2283 Define.
2284 * sysdeps/unix/sysv/linux/mips/kernel-features.h
2285 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
2286 Likewise.
2287 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2288 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
2289
5d7b57ca
JM
2290 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
2291 macro.
2292 (HWCAP_ARM_LPAE): Likewise.
2293 (HWCAP_ARM_EVTSTRM): Likewise.
2294 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
2295 Add vpfd32, lpae and evtstrm.
2296 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
2297 Increase to 22.
2298
63689d61
JM
22992014-02-19 Joseph Myers <joseph@codesourcery.com>
2300
2301 * math/auto-libm-test-in: Add tests of clog10.
2302 * math/auto-libm-test-out: Regenerated.
2303 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
2304 * sysdeps/i386/fpu/libm-test-ulps: Update.
2305 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2306
ab09bf61
AS
23072014-02-18 Andreas Schwab <schwab@suse.de>
2308
2309 [BZ #16574]
2310 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
2311 Store non-zero if the second buffer was newly allocated.
2312 (send_dg): Likewise.
2313 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
2314 to send_vc and send_dg.
2315 (res_nsend): Pass NULL for ansp2_malloced.
2316 * resolv/res_query.c (__libc_res_nquery): Add parameter
2317 answerp2_malloced and pass it down to __libc_res_nsend.
2318 (res_nquery): Pass additional NULL to __libc_res_nquery.
2319 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
2320 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
2321 second answer buffer if answerp2_malloced was set.
2322 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
2323 (__libc_res_nquerydomain): Add parameter
2324 answerp2_malloced and pass it down to __libc_res_nquery.
2325 (res_nquerydomain): Pass additional NULL to
2326 __libc_res_nquerydomain.
2327 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
2328 additional NULL to __libc_res_nsend and __libc_res_nquery.
2329 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
2330 additional NULL to __libc_res_nsearch.
2331 (_nss_dns_gethostbyname4_r): Revert last change. Use new
2332 parameter of __libc_res_nsearch to check for separately allocated
2333 second buffer.
2334 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
2335 __libc_res_nquery.
2336 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
2337 additional NULL to __libc_res_nquery.
2338 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
2339 __libc_res_nsearch.
2340 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
2341 * include/resolv.h: Update prototypes of __libc_res_nquery,
2342 __libc_res_nsearch, __libc_res_nsend.
2343
a4fb7861
JM
23442014-02-18 Joseph Myers <joseph@codesourcery.com>
2345
c6af2d89
JM
2346 * math/auto-libm-test-in: Add tests of fma.
2347 * math/auto-libm-test-out: Regenerated.
2348 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
2349 (fma_towardzero_test_data): Likewise.
2350 (fma_downward_test_data): Likewise.
2351 (fma_upward_test_data): Likewise.
2352 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
2353 mpc_mode.
2354 (rounding_modes): Add values for new field.
2355 (func_calc_method): Add value mpfr_fff_f.
2356 (func_calc_desc): Add mpfr_fff_f union field.
2357 (test_function): Add field exact_args.
2358 (FUNC): Add macro argument EXACT_ARGS.
2359 (FUNC_mpfr_f_f): Update call to FUNC.
2360 (FUNC_mpfr_f_f): Likewise.
2361 (FUNC_mpfr_ff_f): Likewise.
2362 (FUNC_mpfr_if_f): Likewise.
2363 (FUNC_mpc_c_f): Likewise.
2364 (FUNC_mpc_c_c): Likewise.
2365 (test_functions): Add fma. Update calls to FUNC.
2366 (handle_input_arg): Add argument exact_args.
2367 (add_test): Update call to handle_input_arg.
2368 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
2369 (output_for_one_input_case): Update call to calc_generic_results.
2370 Recalculate exact zero results in each rounding mode.
2371
a4fb7861
JM
2372 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
2373 non-negative before setting low bit.
2374 * math/auto-libm-test-in: Mark one asin test possibly having
2375 spurious underflow.
2376 * math/auto-libm-test-out: Regenerated.
2377 * sysdeps/i386/fpu/libm-test-ulps: Update.
2378 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2379
ef114eaf
DH
23802014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
2381
2b7f4f2c
SP
2382 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
2383 * sysdeps/unix/sysv/linux/microblaze: Move directory from
2384 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
2385 * README: Add missing listing for microblaze*-*-linux-gnu.
2386
c70a4b1d
MF
23872014-02-16 Mike Frysinger <vapier@gentoo.org>
2388
2389 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
2390 * sysdeps/unix/sysv/linux/ia64: Move directory from
2391 ports/sysdeps/unix/sysv/linux/ia64.
2392 * README: Update listing for ia64-*-linux-gnu.
2393
591aeaf7
TD
23942014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
2395 Joseph Myers <joseph@codesourcery.com>
2396
2397 * Makeconfig (test-name): New variable.
2398 (evaluate-test): Likewise.
2399 * Makerules (do-test-clean): Remove .test-result files.
2400 (common-mostlyclean): Likewise.
2401 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
2402 * scripts/evaluate-test.sh: New file.
2403
6e89caf1
JM
24042014-02-14 Joseph Myers <joseph@codesourcery.com>
2405
7f98f180
JM
2406 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
2407 separate $(objpfx)tst-fopenloc-cmp.out and
2408 $(objpfx)tst-fopenloc-mem.out targets.
2409 (tests): Update dependencies.
2410 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
2411 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
2412 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
2413 (tst-rxspencer-no-utf8-ARGS): New variable.
2414 (tst-rxspencer-no-utf8-ENV): Likewise.
2415 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
2416 instead of $(objpfx)tst-rxspencer-mem.
2417 ($(objpfx)tst-rxspencer-mem): Change target to
2418 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
2419 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
2420 * posix/tst-rxspencer-no-utf8.c: New file.
2421
6e89caf1
JM
2422 * elf/Makefile ($(objpfx)order.out): Remove rule.
2423 [$(run-built-tests) = yes] (tests): Depend on
2424 $(objpfx)order-cmp.out.
2425 ($(objpfx)order-cmp.out): New rule.
2426 [$(run-built-tests) = yes] (tests): Depend on
2427 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
2428 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
2429 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
2430 $(objpfx)tst-array5-static-cmp.out.
2431 ($(objpfx)tst-array1.out): Remove rule.
2432 ($(objpfx)tst-array1-cmp.out): New rule.
2433 ($(objpfx)tst-array1-static.out): Remove rule.
2434 ($(objpfx)tst-array1-static-cmp.out): New rule.
2435 ($(objpfx)tst-array2.out): Remove rule.
2436 ($(objpfx)tst-array2-cmp.out): New rule.
2437 ($(objpfx)tst-array3.out): Remove rule.
2438 ($(objpfx)tst-array3-cmp.out): New rule.
2439 ($(objpfx)tst-array4.out): Remove rule.
2440 ($(objpfx)tst-array4-cmp.out): New rule.
2441 ($(objpfx)tst-array5.out): Remove rule.
2442 ($(objpfx)tst-array5-cmp.out): New rule.
2443 ($(objpfx)tst-array5-static.out): Remove rule.
2444 ($(objpfx)tst-array5-static-cmp.out): New rule.
2445 [$(run-built-tests) = yes] (tests): Depend on
2446 $(objpfx)order2-cmp.out.
2447 ($(objpfx)order2.out): Remove rule.
2448 ($(objpfx)order2-cmp.out): New rule.
2449 ($(objpfx)tst-initorder.out): Remove rule.
2450 [$(run-built-tests) = yes] (tests): Depend on
2451 $(objpfx)tst-initorder-cmp.out.
2452 ($(objpfx)tst-initorder-cmp.out): New rule.
2453 ($(objpfx)tst-initorder2.out): Remove rule.
2454 [$(run-built-tests) = yes] (tests): Depend on
2455 $(objpfx)tst-initorder2-cmp.out.
2456 ($(objpfx)tst-initorder2-cmp.out): New rule.
2457 [$(run-built-tests) = yes] (tests): Depend on
2458 $(objpfx)tst-unused-dep-cmp.out.
2459 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
2460 ($(objpfx)tst-unused-dep-cmp.out): New rule.
2461 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
2462 on $(objpfx)tst-setvbuf1-cmp.out.
2463 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
2464 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
2465 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
2466 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
2467 ($(objpfx)tst-svc.out): Remove rule.
2468 ($(objpfx)tst-svc-cmp.out): New rule.
2469
ed9a38e2
JM
24702014-02-13 Joseph Myers <joseph@codesourcery.com>
2471
2472 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
2473 * ctype/ctype.h [__USE_MISC]: Likewise.
2474 * dirent/dirent.h [__USE_MISC]: Likewise.
2475 * grp/grp.h [__USE_MISC]: Likewise.
2476 * io/fcntl.h [__USE_MISC]: Likewise.
2477 * io/sys/stat.h [__USE_MISC]: Likewise.
2478 * libio/stdio.h [__USE_MISC]: Likewise.
2479 * posix/unistd.h [__USE_MISC]: Likewise.
2480 * pwd/pwd.h [__USE_MISC]: Likewise.
2481 * stdlib.h [__USE_MISC]: Likewise.
2482 * string/bits/string2.h [__USE_MISC]: Likewise.
2483 * string/string.h [__USE_MISC]: Likewise.
2484 * time/time.h [__USE_MISC]: Likewise.
2485
d6680619
AS
24862014-02-13 Andreas Schwab <schwab@suse.de>
2487
2488 [BZ #16574]
2489 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
2490 second answer buffer if it was separately allocated.
2491
ace614b8
JM
24922014-02-12 Joseph Myers <joseph@codesourcery.com>
2493
743151ae
JM
2494 * sysdeps/mips/math-tests.h: Include <features.h>.
2495 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
2496 (ROUNDING_TESTS_long_double): Do not define.
2497 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
2498 (EXCEPTION_TESTS_long_double): Likewise.
2499 * sysdeps/mips/mips64/libm-test-ulps: Update.
2500
498afc54
JM
2501 * include/features.h (__USE_BSD): Remove macro definitions.
2502 (__USE_SVID): Likewise.
2503 (_BSD_SOURCE): Likewise.
2504 (_SVID_SOURCE): Likewise.
2505 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
2506 from definition of _DEFAULT_SOURCE.
2507 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
2508 [_DEFAULT_SOURCE].
2509 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
2510 * bits/mman.h [__USE_BSD]: Likewise.
2511 * bits/termios.h [__USE_BSD]: Likewise.
2512 * bits/waitstatus.h [__USE_BSD]: Likewise.
2513 * ctype/ctype.h [__USE_SVID]: Likewise.
2514 * dirent/dirent.h [__USE_BSD]: Likewise.
2515 * grp/grp.h [__USE_SVID]: Likewise.
2516 [__USE_BSD]: Likewise.
2517 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
2518 * io/fcntl.h [__USE_BSD]: Likewise.
2519 * io/ftw.h [__USE_BSD]: Likewise.
2520 * io/sys/stat.h [__USE_BSD]: Likewise.
2521 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
2522 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
2523 * libio/stdio.h [__USE_SVID]: Likewise.
2524 [__USE_BSD]: Likewise.
2525 * math/math.h [__USE_SVID]: Likewise.
2526 [__USE_BSD]: Likewise.
2527 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
2528 * misc/bits/syslog.h [__USE_BSD]: Likewise.
2529 * misc/search.h [__USE_SVID]: Likewise.
2530 * misc/sys/mman.h [__USE_BSD]: Likewise.
2531 * misc/sys/syslog.h [__USE_BSD]: Likewise.
2532 * misc/sys/uio.h [__USE_BSD]: Likewise.
2533 * posix/bits/unistd.h [__USE_BSD]: Likewise.
2534 * posix/glob.h [__USE_BSD]: Likewise.
2535 * posix/regex.h [__USE_BSD]: Likewise.
2536 * posix/sys/types.h [__USE_BSD]: Likewise.
2537 [__USE_SVID]: Likewise.
2538 * posix/sys/utsname.h [__USE_SVID]: Likewise.
2539 * posix/sys/wait.h [__USE_BSD]: Likewise.
2540 [__USE_SVID]: Likewise.
2541 * posix/unistd.h [__USE_BSD]: Likewise.
2542 [__USE_SVID]: Likewise.
2543 * pwd/pwd.h [__USE_SVID]: Likewise.
2544 * resolv/netdb.h [__USE_BSD]: Likewise.
2545 * setjmp/setjmp.h [__USE_BSD]: Likewise.
2546 * signal/signal.h [__USE_BSD]: Likewise.
2547 [__USE_SVID]: Likewise.
2548 * socket/sys/socket.h [__USE_BSD]: Likewise.
2549 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
2550 * stdlib/stdlib.h [__USE_BSD]: Likewise.
2551 [__USE_SVID]: Likewise.
2552 * string/bits/string2.h [__USE_BSD]: Likewise.
2553 [__USE_SVID]: Likewise.
2554 * string/bits/string3.h [__USE_BSD]: Likewise.
2555 * string/endian.h [__USE_BSD]: Likewise.
2556 * string/string.h [__USE_SVID]: Likewise.
2557 [__USE_BSD]: Likewise.
2558 * string/strings.h [__USE_BSD]: Likewise.
2559 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
2560 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
2561 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
2562 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
2563 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
2564 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
2565 Likewise.
2566 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
2567 Likewise.
2568 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
2569 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
2570 Likewise.
2571 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
2572 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
2573 Likewise.
2574 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
2575 Likewise.
2576 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
2577 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
2578 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
2579 Likewise.
2580 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
2581 Likewise.
2582 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
2583 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
2584 * termios/termios.h [__USE_BSD]: Likewise.
2585 * time/sys/time.h [__USE_BSD]: Likewise.
2586 * time/time.h [__USE_BSD]: Likewise.
2587 [__USE_SVID]: Likewise.
2588
dd7b064c
JM
2589 * Makefile (subdir_targets): Remove subdir_lint.out.
2590
a2c4c199
JM
2591 * stdio-common/Makefile (do-tst-unbputc): Remove target.
2592 (do-tst-printf): Likewise.
2593 (tests): Depend directly on $(objpfx)tst-unbputc.out and
2594 $(objpfx)tst-printf.out.
2595
8756f740
JM
2596 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
2597
1b6dd3f1
JM
2598 * Makerules (check-abi-%): Change target to
2599 $(objpfx)check-abi-%.out.
2600 (check-abi target): Update dependencies.
2601 (check-abi-pattern variable): Redirect output of diff to $@.
2602 (check-abi variable): Likewise.
2603 * elf/Makefile (check-abi): Update dependencies.
2604
ace614b8
JM
2605 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
2606 unused.
2607 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
2608 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
2609 subnormal range.
2610 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
2611 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
2612 value has largest subnormal exponent.
2613 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
2614 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
2615 * sysdeps/aarch64/soft-fp/sfp-machine.h
2616 (_FP_TININESS_AFTER_ROUNDING): New macro.
2617 * sysdeps/alpha/soft-fp/sfp-machine.h
2618 (_FP_TININESS_AFTER_ROUNDING): Likewise.
2619 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2620 Likewise.
2621 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
2622 (_FP_TININESS_AFTER_ROUNDING): Likewise.
2623 * sysdeps/mips/soft-fp/sfp-machine.h
2624 (_FP_TININESS_AFTER_ROUNDING): Likewise.
2625 * sysdeps/powerpc/soft-fp/sfp-machine.h
2626 (_FP_TININESS_AFTER_ROUNDING): Likewise.
2627 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2628 Likewise.
2629 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
2630 (_FP_TININESS_AFTER_ROUNDING): Likewise.
2631 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
2632 (_FP_TININESS_AFTER_ROUNDING): Likewise.
2633 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2634 Likewise.
2635
fbfdf9cb
DAS
26362014-02-12 Dylan Alex Simon <dylan@dylex.net>
2637
2638 [BZ #16545]
2639 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
2640 model 1.
2641
68b7efaa
RH
26422014-02-12 Richard Henderson <rth@redhat.com>
2643
c70a4b1d 2644 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
2645 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
2646 * sysdeps/unix/sysv/linux/alpha: Move directory from
2647 ports/sysdeps/unix/sysv/linux/alpha.
2648 * README: Update listing for alpha-*-linux-gnu.
2649
cb4a2928
JM
26502014-02-11 Joseph Myers <joseph@codesourcery.com>
2651
c941736c
JM
2652 * include/features.h: Update comment documenting feature test
2653 macros.
2654 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
2655 _DEFAULT_SOURCE.
2656 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
2657 (_SVID_SOURCE): Likewise.
2658 (_DEFAULT_SOURCE): Update description of default features.
2659 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
2660 with _GNU_SOURCE.
2661 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
2662 (S_ISVTX): Likewise.
2663 * manual/math.texi (Mathematical Constants): Likewise.
2664 * manual/signal.texi (Interrupted Primitives): Likewise.
2665 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
2666 * math/test-matherr.c (_SVID_SOURCE): Do not define.
2667 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
2668 Don't refer to _SVID_SOURCE in warning text.
2669
e8d8d7ec
JM
2670 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2671
cb4a2928
JM
2672 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
2673 already defined.
2674 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
2675 * sysdeps/mips/dl-lookup.c: Remove.
2676 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
2677
7e6424e3
AK
26782014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
2679
2680 [BZ #16447]
2681 * math/auto-libm-test-in: Add testcase for expl.
2682 * math/auto-libm-test-out: Regenerate.
2683 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
2684 calculation of unsafe.
2685 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
2686
75eff3fe
MS
26872014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
2688
2689 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
2690 * sysdeps/unix/sysv/linux/aarch64: Move directory from
2691 ports/sysdeps/unix/sysv/linux/aarch64.
2692 * README: Update listing for aarch64*-*-linux-gnu.
2693
d35f1e80
WN
26942014-02-11 Will Newton <will.newton@linaro.org>
2695
2696 * manual/probes.texi (Mathematical Function Probes): Use
2697 "triggered" instead of "hit".
2698
7b3436d4
WN
26992014-02-11 Will Newton <will.newton@linaro.org>
2700
2701 * manual/probes.texi (Internal Probes): Add documentation
2702 of setjmp, longjmp and longjmp_target probes.
2703
b4f12ca3
WN
27042014-02-11 Will Newton <will.newton@linaro.org>
2705
2706 * include/stap-probe.h: Add comment about probe argument
2707 format.
2708
c13a72b7
WN
27092014-02-11 Will Newton <will.newton@linaro.org>
2710
2711 * malloc/mtrace.c (attribute_hidden): Remove unused macro
2712 definition. (tr_where, tr_freehook, tr_mallochook,
2713 tr_reallochook, tr_memalignhook): Use ANSI protoype.
2714
195b8165
DM
27152014-02-11 David S. Miller <davem@davemloft.net>
2716
2717 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
2718 processing int_tests.
2719
2ad7600b
JM
27202014-02-10 Joseph Myers <joseph@codesourcery.com>
2721
2722 * sysdeps/mips: Move directory from ports/sysdeps/mips.
2723 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
2724 * sysdeps/unix/sysv/linux/mips: Move directory from
2725 ports/sysdeps/unix/sysv/linux/mips.
2726 * README: Update listing for mips-*-linux-gnu and
2727 mips64-*-linux-gnu.
2728
73588a72
AS
27292014-02-10 Andreas Schwab <schwab@linux-m68k.org>
2730
2731 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
2732 * sysdeps/unix/sysv/linux/m68k: Move directory from
2733 ports/sysdeps/unix/sysv/linux/m68k.
2734 * README: Update listing for m68k-*-linux-gnu.
2735
4372980f
CM
27362014-02-10 Chris Metcalf <cmetcalf@tilera.com>
2737
2738 * sysdeps/tile: Move directory from ports/sysdeps/tile.
2739 * sysdeps/unix/sysv/linux/generic: Move directory from
2740 ports/sysdeps/unix/sysv/linux/generic.
2741 * sysdeps/unix/sysv/linux/tile: Move directory from
2742 ports/sysdeps/unix/sysv/linux/tile.
2743 * README: Update listing for tile*-*-linux-gnu.
2744
a1ffb40e
OB
27452014-02-10 Ondřej Bílka <neleai@seznam.cz>
2746
2747 * assert/assert.c (__assert_fail_base): Use glibc_likely instead __builtin_expect.
2748 * benchtests/bench-memmem.c (simple_memmem): Likewise.
2749 * catgets/open_catalog.c (__open_catalog): Likewise.
2750 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
2751 * debug/confstr_chk.c: Likewise.
2752 * debug/fread_chk.c (__fread_chk): Likewise.
2753 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
2754 * debug/getgroups_chk.c: Likewise.
2755 * debug/mbsnrtowcs_chk.c: Likewise.
2756 * debug/mbsrtowcs_chk.c: Likewise.
2757 * debug/mbstowcs_chk.c: Likewise.
2758 * debug/memcpy_chk.c: Likewise.
2759 * debug/memmove_chk.c: Likewise.
2760 * debug/mempcpy_chk.c: Likewise.
2761 * debug/memset_chk.c: Likewise.
2762 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
2763 * debug/strcat_chk.c (__strcat_chk): Likewise.
2764 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
2765 * debug/strncat_chk.c (__strncat_chk): Likewise.
2766 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
2767 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
2768 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
2769 * debug/wcpncpy_chk.c: Likewise.
2770 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
2771 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
2772 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
2773 * debug/wcsncpy_chk.c: Likewise.
2774 * debug/wcsnrtombs_chk.c: Likewise.
2775 * debug/wcsrtombs_chk.c: Likewise.
2776 * debug/wcstombs_chk.c: Likewise.
2777 * debug/wmemcpy_chk.c: Likewise.
2778 * debug/wmemmove_chk.c: Likewise.
2779 * debug/wmempcpy_chk.c: Likewise.
2780 * debug/wmemset_chk.c: Likewise.
2781 * dirent/scandirat.c (SCANDIRAT): Likewise.
2782 * dlfcn/dladdr1.c (dladdr1): Likewise.
2783 * dlfcn/dladdr.c (dladdr): Likewise.
2784 * dlfcn/dlclose.c (dlclose_doit): Likewise.
2785 * dlfcn/dlerror.c (__dlerror): Likewise.
2786 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
2787 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
2788 * dlfcn/dlopen.c (dlopen_doit): Likewise.
2789 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
2790 * dlfcn/dlsym.c (dlsym_doit): Likewise.
2791 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
2792 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
2793 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
2794 Likewise.
2795 * elf/dl-conflict.c: Likewise.
2796 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
2797 * elf/dl-dst.h: Likewise.
2798 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
2799 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
2800 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
2801 * elf/dl-init.c (call_init, _dl_init): Likewise.
2802 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
2803 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths,
2804 _dl_map_object_from_fd, open_verify, open_path,
2805 _dl_map_object): Likewise.
2806 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
2807 Likewise.
2808 * elf/dl-minimal.c (__libc_memalign): Likewise.
2809 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
2810 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
2811 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
2812 * elf/dl-sym.c (do_sym): Likewise.
2813 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr, __tls_get_addr,
2814 _dl_tls_get_addr_soft): Likewise.
2815 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
2816 * elf/dl-writev.h (_dl_writev): Likewise.
2817 * elf/ldconfig.c (search_dir): Likewise.
2818 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload,
2819 dl_main): Likewise.
2820 * elf/setup-vdso.h (setup_vdso): Likewise.
2821 * grp/compat-initgroups.c (compat_call): Likewise.
2822 * grp/fgetgrent.c (fgetgrent): Likewise.
2823 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
2824 * grp/putgrent.c (putgrent): Likewise.
2825 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
2826 Likewise.
2827 * hurd/hurdinit.c: Likewise.
2828 * iconvdata/8bit-gap.c (struct): Likewise.
2829 * iconvdata/ansi_x3.110.c : Likewise.
2830 * iconvdata/big5.c : Likewise.
2831 * iconvdata/big5hkscs.c : Likewise.
2832 * iconvdata/cp1255.c: Likewise.
2833 * iconvdata/cp1258.c : Likewise.
2834 * iconvdata/cp932.c : Likewise.
2835 * iconvdata/euc-cn.c: Likewise.
2836 * iconvdata/euc-jisx0213.c : Likewise.
2837 * iconvdata/euc-jp.c: Likewise.
2838 * iconvdata/euc-jp-ms.c : Likewise.
2839 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
2840 * iconvdata/gb18030.c : Likewise.
2841 * iconvdata/gbbig5.c (const): Likewise.
2842 * iconvdata/gbgbk.c: Likewise.
2843 * iconvdata/gbk.c : Likewise.
2844 * iconvdata/ibm1364.c : Likewise.
2845 * iconvdata/ibm930.c : Likewise.
2846 * iconvdata/ibm932.c: Likewise.
2847 * iconvdata/ibm933.c : Likewise.
2848 * iconvdata/ibm935.c : Likewise.
2849 * iconvdata/ibm937.c : Likewise.
2850 * iconvdata/ibm939.c : Likewise.
2851 * iconvdata/ibm943.c: Likewise.
2852 * iconvdata/iso_11548-1.c: Likewise.
2853 * iconvdata/iso-2022-cn.c : Likewise.
2854 * iconvdata/iso-2022-cn-ext.c : Likewise.
2855 * iconvdata/iso-2022-jp-3.c: Likewise.
2856 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
2857 * iconvdata/iso-2022-kr.c : Likewise.
2858 * iconvdata/iso646.c (gconv_end): Likewise.
2859 * iconvdata/iso_6937-2.c : Likewise.
2860 * iconvdata/iso_6937.c : Likewise.
2861 * iconvdata/iso8859-1.c: Likewise.
2862 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
2863 * iconvdata/shift_jisx0213.c : Likewise.
2864 * iconvdata/sjis.c : Likewise.
2865 * iconvdata/t.61.c : Likewise.
2866 * iconvdata/tcvn5712-1.c : Likewise.
2867 * iconvdata/tscii.c: Likewise.
2868 * iconvdata/uhc.c : Likewise.
2869 * iconvdata/unicode.c (gconv_end): Likewise.
2870 * iconvdata/utf-16.c (gconv_end): Likewise.
2871 * iconvdata/utf-32.c (gconv_end): Likewise.
2872 * iconvdata/utf-7.c (base64): Likewise.
2873 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
2874 * iconv/gconv_close.c (__gconv_close): Likewise.
2875 * iconv/gconv_open.c (__gconv_open): Likewise.
2876 * iconv/gconv_simple.c (internal_ucs4_loop_single, ucs4_internal_loop,
2877 ucs4_internal_loop_unaligned, ucs4_internal_loop_single,
2878 internal_ucs4le_loop_single, ucs4le_internal_loop,
2879 ucs4le_internal_loop_unaligned, ucs4le_internal_loop_single): Likewise.
2880 * iconv/iconv.c (iconv): Likewise.
2881 * iconv/iconv_close.c: Likewise.
2882 * iconv/loop.c (SINGLE): Likewise.
2883 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
2884 * include/atomic.h: Likewise.
2885 * inet/inet6_option.c (option_alloc): Likewise.
2886 * intl/bindtextdom.c (set_binding_values): Likewise.
2887 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
2888 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
2889 * intl/localealias.c (read_alias_file): Likewise.
2890 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
2891 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap,
2892 _IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
2893 * libio/fmemopen.c (fmemopen): Likewise.
2894 * libio/iofgets.c (_IO_fgets): Likewise.
2895 * libio/iofgets_u.c (fgets_unlocked): Likewise.
2896 * libio/iofgetws.c (fgetws): Likewise.
2897 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
2898 * libio/iogetdelim.c (_IO_getdelim): Likewise.
2899 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap,
2900 adjust_wide_data, _IO_wfile_seekoff): Likewise.
2901 * locale/findlocale.c (_nl_find_locale): Likewise.
2902 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
2903 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
2904 Likewise.
2905 * locale/setlocale.c (setlocale): Likewise.
2906 * login/programs/pt_chown.c (main): Likewise.
2907 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
2908 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
2909 * malloc/memusage.c (update_data, malloc, realloc, calloc, free,
2910 mmap, mmap64, mremap, munmap): Likewise.
2911 * math/e_exp2l.c: Likewise.
2912 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
2913 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
2914 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
2915 * math/s_catan.c (__catan): Likewise.
2916 * math/s_catanf.c (__catanf): Likewise.
2917 * math/s_catanh.c (__catanh): Likewise.
2918 * math/s_catanhf.c (__catanhf): Likewise.
2919 * math/s_catanhl.c (__catanhl): Likewise.
2920 * math/s_catanl.c (__catanl): Likewise.
2921 * math/s_ccosh.c (__ccosh): Likewise.
2922 * math/s_ccoshf.c (__ccoshf): Likewise.
2923 * math/s_ccoshl.c (__ccoshl): Likewise.
2924 * math/s_cexp.c (__cexp): Likewise.
2925 * math/s_cexpf.c (__cexpf): Likewise.
2926 * math/s_cexpl.c (__cexpl): Likewise.
2927 * math/s_clog10.c (__clog10): Likewise.
2928 * math/s_clog10f.c (__clog10f): Likewise.
2929 * math/s_clog10l.c (__clog10l): Likewise.
2930 * math/s_clog.c (__clog): Likewise.
2931 * math/s_clogf.c (__clogf): Likewise.
2932 * math/s_clogl.c (__clogl): Likewise.
2933 * math/s_csin.c (__csin): Likewise.
2934 * math/s_csinf.c (__csinf): Likewise.
2935 * math/s_csinh.c (__csinh): Likewise.
2936 * math/s_csinhf.c (__csinhf): Likewise.
2937 * math/s_csinhl.c (__csinhl): Likewise.
2938 * math/s_csinl.c (__csinl): Likewise.
2939 * math/s_csqrt.c (__csqrt): Likewise.
2940 * math/s_csqrtf.c (__csqrtf): Likewise.
2941 * math/s_csqrtl.c (__csqrtl): Likewise.
2942 * math/s_ctan.c (__ctan): Likewise.
2943 * math/s_ctanf.c (__ctanf): Likewise.
2944 * math/s_ctanh.c (__ctanh): Likewise.
2945 * math/s_ctanhf.c (__ctanhf): Likewise.
2946 * math/s_ctanhl.c (__ctanhl): Likewise.
2947 * math/s_ctanl.c (__ctanl): Likewise.
2948 * math/w_pow.c: Likewise.
2949 * math/w_powf.c: Likewise.
2950 * math/w_powl.c: Likewise.
2951 * math/w_scalb.c (sysv_scalb): Likewise.
2952 * math/w_scalbf.c (sysv_scalbf): Likewise.
2953 * math/w_scalbl.c (sysv_scalbl): Likewise.
2954 * misc/error.c (error_tail): Likewise.
2955 * misc/pselect.c (__pselect): Likewise.
2956 * nis/nis_callback.c (__nis_create_callback): Likewise.
2957 * nis/nis_call.c (__nisfind_server): Likewise.
2958 * nis/nis_creategroup.c (nis_creategroup): Likewise.
2959 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
2960 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
2961 * nis/nis_getservlist.c (nis_getservlist): Likewise.
2962 * nis/nis_lookup.c (nis_lookup): Likewise.
2963 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
2964 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry,
2965 nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
2966 * nis/nis_xdr.c (xdr_endpoint): Likewise.
2967 * nis/nss_compat/compat-grp.c (getgrent_next_file, internal_getgrnam_r,
2968 internal_getgrgid_r): Likewise.
2969 * nis/nss_compat/compat-initgroups.c (add_group, internal_getgrent_r):
2970 Likewise.
2971 * nis/nss_compat/compat-pwd.c (getpwent_next_file, internal_getpwnam_r,
2972 internal_getpwuid_r): Likewise.
2973 * nis/nss_compat/compat-spwd.c (getspent_next_file,
2974 internal_getspnam_r): Likewise.
2975 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r,
2976 _nss_nis_getaliasbyname_r): Likewise.
2977 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r,
2978 _nss_nis_getntohost_r): Likewise.
2979 * nis/nss_nis/nis-grp.c (internal_nis_setgrent,
2980 internal_nis_getgrent_r, _nss_nis_getgrnam_r, _nss_nis_getgrgid_r):
2981 Likewise.
2982 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent,
2983 internal_nis_gethostent_r, internal_gethostbyname2_r,
2984 _nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r,
2985 _nss_nis_gethostbyname4_r): Likewise.
2986 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r,
2987 initgroups_netid): Likewise.
2988 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
2989 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r,
2990 _nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
2991 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r,
2992 _nss_nis_getprotobynumber_r): Likewise.
2993 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey,
2994 _nss_nis_getsecretkey): Likewise.
2995 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent,
2996 internal_nis_getpwent_r, _nss_nis_getpwnam_r, _nss_nis_getpwuid_r):
2997 Likewise.
2998 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r,
2999 _nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
3000 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r,
3001 _nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
3002 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent, internal_nis_getspent_r,
3003 _nss_nis_getspnam_r): Likewise.
3004 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
3005 Likewise.
3006 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r,
3007 _nss_nisplus_getntohost_r): Likewise.
3008 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r,
3009 _nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
3010 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r,
3011 _nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r): Likewise.
3012 * nis/nss_nisplus/nisplus-initgroups.c (_nss_nisplus_initgroups_dyn):
3013 Likewise.
3014 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r,
3015 _nss_nisplus_getnetbyaddr_r): Likewise.
3016 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r,
3017 _nss_nisplus_getprotobynumber_r): Likewise.
3018 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r,
3019 _nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
3020 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
3021 Likewise.
3022 * nis/nss_nisplus/nisplus-service.c (internal_nisplus_getservent_r,
3023 _nss_nisplus_getservbyname_r, _nss_nisplus_getservbyport_r): Likewise.
3024 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r,
3025 _nss_nisplus_getspnam_r): Likewise.
3026 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist): Likewise.
3027 * nscd/aicache.c (addhstaiX): Likewise.
3028 * nscd/cache.c (cache_search, prune_cache): Likewise.
3029 * nscd/connections.c (register_traced_file, send_ro_fd, handle_request,
3030 nscd_run_prune, nscd_run_worker, fd_ready, main_loop_epoll): Likewise.
3031 * nscd/grpcache.c (addgrbyX): Likewise.
3032 * nscd/hstcache.c (addhstbyX): Likewise.
3033 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3034 * nscd/mem.c (gc, mempool_alloc): Likewise.
3035 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX, addinnetgrX):
3036 Likewise.
3037 * nscd/nscd-client.h (__nscd_acquire_maplock, __nscd_drop_map_ref):
3038 Likewise.
3039 * nscd/nscd_getai.c (__nscd_getai): Likewise.
3040 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
3041 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
3042 Likewise.
3043 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
3044 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
3045 * nscd/nscd_helper.c (__readvall, open_socket,
3046 __nscd_get_mapping, __nscd_get_map_ref): Likewise.
3047 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
3048 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr): Likewise.
3049 * nscd/pwdcache.c (addpwbyX): Likewise.
3050 * nscd/selinux.c (preserve_capabilities): Likewise.
3051 * nscd/servicescache.c (addservbyX): Likewise.
3052 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
3053 * posix/fnmatch.c (fnmatch): Likewise.
3054 * posix/getopt.c (_getopt_internal_r): Likewise.
3055 * posix/glob.c (glob, glob_in_dir): Likewise.
3056 * posix/wordexp.c (exec_comm_child): Likewise.
3057 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r, getanswer_r,
3058 gaih_getanswer_slice): Likewise.
3059 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
3060 * resolv/res_init.c: Likewise.
3061 * resolv/res_mkquery.c (res_nmkquery): Likewise.
3062 * resolv/res_query.c (__libc_res_nquery): Likewise.
3063 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
3064 Likewise.
3065 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
3066 * stdio-common/perror.c (perror): Likewise.
3067 * stdio-common/printf_fp.c (___printf_fp): Likewise.
3068 * stdio-common/tmpnam.c (tmpnam): Likewise.
3069 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
3070 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
3071 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl): Likewise.
3072 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
3073 * stdlib/putenv.c (putenv): Likewise.
3074 * stdlib/setenv.c (__add_to_environ): Likewise.
3075 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
3076 * stdlib/strtol_l.c (INTERNAL): Likewise.
3077 * string/memmem.c (memmem): Likewise.
3078 * string/strerror.c (strerror): Likewise.
3079 * string/strnlen.c (__strnlen): Likewise.
3080 * string/test-memmem.c (simple_memmem): Likewise.
3081 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
3082 * sunrpc/pm_getport.c (__get_socket): Likewise.
3083 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
3084 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
3085 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup,
3086 elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
3087 Likewise.
3088 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
3089 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
3090 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
3091 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
3092 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
3093 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1): Likewise.
3094 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn): Likewise.
3095 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
3096 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
3097 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
3098 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
3099 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
3100 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
3101 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
3102 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
3103 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
3104 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
3105 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
3106 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
3107 Likewise.
3108 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
3109 Likewise.
3110 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
3111 Likewise.
3112 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
3113 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
3114 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
3115 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
3116 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
3117 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
3118 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
3119 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
3120 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
3121 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
3122 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
3123 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3124 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
3125 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
3126 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3127 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Likewise.
3128 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
3129 Likewise.
3130 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
3131 Likewise.
3132 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
3133 Likewise.
3134 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3135 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3136 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
3137 Likewise.
3138 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
3139 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
3140 * sysdeps/posix/opendir.c (__opendirat): Likewise.
3141 * sysdeps/posix/sleep.c: Likewise.
3142 * sysdeps/posix/tempname.c: Likewise.
3143 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
3144 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
3145 Likewise.
3146 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_runtime_setup,
3147 elf_machine_rela): Likewise.
3148 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
3149 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
3150 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
3151 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
3152 Likewise.
3153 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
3154 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup,
3155 elf_machine_rela, elf_machine_lazy_rel): Likewise.
3156 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup,
3157 elf_machine_rela, elf_machine_lazy_rel): Likewise.
3158 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
3159 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
3160 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
3161 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
3162 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
3163 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
3164 elf_machine_lazy_rel): Likewise.
3165 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
3166 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
3167 elf_machine_lazy_rel): Likewise.
3168 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
3169 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
3170 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
3171 * sysdeps/unix/grantpt.c (grantpt): Likewise.
3172 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
3173 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
3174 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
3175 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
3176 Likewise.
3177 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
3178 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
3179 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
3180 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
3181 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
3182 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
3183 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
3184 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
3185 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
3186 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
3187 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
3188 Likewise.
3189 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
3190 (__posix_fallocate64_l64): Likewise.
3191 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
3192 (posix_fallocate): Likewise.
3193 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64): Likewise.
3194 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3195 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request,
3196 getifaddrs_internal): Likewise.
3197 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
3198 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
3199 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
3200 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
3201 * sysdeps/unix/sysv/linux/posix_fallocate64.c
3202 (__posix_fallocate64_l64): Likewise.
3203 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
3204 Likewise.
3205 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
3206 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
3207 Likewise.
3208 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
3209 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
3210 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
3211 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3212 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3213 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
3214 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
3215 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
3216 Likewise.
3217 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
3218 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
3219 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
3220 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
3221 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
3222 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
3223 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
3224 Likewise.
3225 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
3226 (posix_fallocate): Likewise.
3227 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
3228 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
3229 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
3230 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup,
3231 elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel):
3232 Likewise.
3233 * time/asctime.c (asctime_internal): Likewise.
3234 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
3235 * time/tzset.c (__tzset_parse_tz): Likewise.
3236 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
3237 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
3238 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
3239 * wcsmbs/wcsmbsload.h: Likewise.
3240
f3d338c9
OB
32412014-02-10 Ondřej Bílka <neleai@seznam.cz>
3242
3243 [BZ #15894]
3244 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
3245
bdfe308a
OB
32462014-02-10 Ondřej Bílka <neleai@seznam.cz>
3247
3248 * malloc/arena.c (grow_heap, get_free_list, reused_arena,
3249 arena_get2): Remove THREAD_STATS conditionals.
3250 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free,
3251 __malloc_stats, int): Likewise.
3252
d674667c
MF
32532014-02-08 Mike Frysinger <vapier@gentoo.org>
3254
3255 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
3256 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
3257
6349768c
MF
32582014-02-08 Mike Frysinger <vapier@gentoo.org>
3259
3260 * manual/setjmp.texi: Fix typos/grammar errors.
3261
0b7c7473
MF
32622014-02-08 Mike Frysinger <vapier@gentoo.org>
3263
3264 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
3265 Only return early when n is <= 0. Delete unused return statement.
3266
ac8cc9e3
MF
32672014-02-08 Mike Frysinger <vapier@gentoo.org>
3268
3269 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
3270 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
3271 * debug/tst-longjmp_chk3.c: New file.
3272
c5bb8e23
MF
32732014-02-08 Mike Frysinger <vapier@gentoo.org>
3274
3275 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
3276 (test_main): Replace code with set_fortify_handler call.
3277 * debug/test-strcpy_chk.c: Likewise.
3278 * debug/tst-chk1.c: Likewise.
3279 * debug/tst-longjmp_chk.c: Likewise.
3280 * test-skeleton.c: Include fcntl.h & paths.h
3281 (set_fortify_handler): Define.
3282
10444e42
MF
32832014-02-08 Mike Frysinger <vapier@gentoo.org>
3284
3285 * debug/tst-longjmp_chk.c: Add header comment and include
3286 ../test-skeleton.c.
3287 (do_test): Mark static.
3288 (TEST_FUNCTION): Define.
3289
1e805e8d
MF
32902014-02-08 Mike Frysinger <vapier@gentoo.org>
3291
3292 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
3293 (IP_PMTUDISC_INTERFACE): Likewise.
3294 (IP_MULTICAST_IF): Likewise.
3295 (IP_MULTICAST_TTL): Likewise.
3296 (IP_MULTICAST_LOOP): Likewise.
3297 (IP_ADD_MEMBERSHIP): Likewise.
3298 (IP_DROP_MEMBERSHIP): Likewise.
3299 (IP_UNBLOCK_SOURCE): Likewise.
3300 (IP_BLOCK_SOURCE): Likewise.
3301 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
3302 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
3303 (IP_MSFILTER): Likewise.
3304 (MCAST_JOIN_GROUP): Likewise.
3305 (MCAST_BLOCK_SOURCE): Likewise.
3306 (MCAST_UNBLOCK_SOURCE): Likewise.
3307 (MCAST_LEAVE_GROUP): Likewise.
3308 (MCAST_JOIN_SOURCE_GROUP): Likewise.
3309 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
3310 (MCAST_MSFILTER): Likewise.
3311 (IP_MULTICAST_ALL): Likewise.
3312 (IP_UNICAST_IF): Likewise.
3313
73f79bb7
MF
33142014-02-08 Mike Frysinger <vapier@gentoo.org>
3315
3316 * timezone/Makefile: Delete $(have-ksh) check.
3317 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
3318 * timezone/tzselect.ksh: Add +x mode bits.
3319
8da79b60
MF
33202014-02-08 Mike Frysinger <vapier@gentoo.org>
3321
3322 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
3323 (ANON_INODE_FS_MAGIC): Likewise.
3324 (BDEVFS_MAGIC): Likewise.
3325 (BINFMTFS_MAGIC): Likewise.
3326 (BTRFS_TEST_MAGIC): Likewise.
3327 (CRAMFS_MAGIC_WEND): Likewise.
3328 (DEBUGFS_MAGIC): Likewise.
3329 (ECRYPTFS_SUPER_MAGIC): Likewise.
3330 (EXT3_SUPER_MAGIC): Likewise.
3331 (EXT4_SUPER_MAGIC): Likewise.
3332 (FUTEXFS_SUPER_MAGIC): Likewise.
3333 (HOSTFS_SUPER_MAGIC): Likewise.
3334 (HUGETLBFS_MAGIC): Likewise.
3335 (MINIX3_SUPER_MAGIC): Likewise.
3336 (MTD_INODE_FS_MAGIC): Likewise.
3337 (NILFS_SUPER_MAGIC): Likewise.
3338 (OPENPROM_SUPER_MAGIC): Likewise.
3339 (PIPEFS_MAGIC): Likewise.
3340 (PSTOREFS_MAGIC): Likewise.
3341 (QNX6_SUPER_MAGIC): Likewise.
3342 (RAMFS_MAGIC): Likewise.
3343 (REISERFS_SUPER_MAGIC_STRING): Likewise.
3344 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
3345 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
3346 (SECURITYFS_MAGIC): Likewise.
3347 (SELINUX_MAGIC): Likewise.
3348 (SMACK_MAGIC): Likewise.
3349 (SOCKFS_MAGIC): Likewise.
3350 (SQUASHFS_MAGIC): Likewise.
3351 (STACK_END_MAGIC): Likewise.
3352 (TMPFS_MAGIC): Likewise.
3353 (USBDEVICE_SUPER_MAGIC): Likewise.
3354 (V9FS_MAGIC): Likewise.
3355 (XENFS_SUPER_MAGIC): Likewise.
3356 (CRAMFS_MAGIC): Fix typo in comment.
3357 (EXT2_SUPER_MAGIC): Update comment.
3358 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
3359
464263cc
JM
33602014-02-08 Joseph Myers <joseph@codesourcery.com>
3361
c6bfe5c4
JM
3362 * sysdeps/arm: Move directory from ports/sysdeps/arm.
3363 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
3364 * sysdeps/unix/sysv/linux/arm: Move directory from
3365 ports/sysdeps/unix/sysv/linux/arm.
3366 * README: Update listing for arm-*-linux-gnueabi.
3367
464263cc
JM
3368 * README: Remove mention of am33.
3369
32749f6c
RM
33702014-02-07 Roland McGrath <roland@hack.frob.com>
3371
3372 * bits/sigset.h (__sigemptyset): Use a statement expression rather
3373 than the comma operator, to avoid "rhs of comma has no effect"
3374 compiler warnings.
3375 (__sigfillset, __sigandset, __sigorset): Likewise.
3376 * include/signal.h (__sigemptyset): Likewise.
3377 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
3378
d5b396c1
AM
33792014-02-07 Allan McRae <allan@archlinux.org>
3380
3381 * version.h (RELEASE): Set to "development".
3382 (VERSION): Set to "2.19.90"
3383 * NEWS: Add 2.20 section.
3384
3bfff2ed
CD
33852014-02-06 Carlos O'Donell <carlos@redhat.com>
3386
3387 [BZ #16529]
3388 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
3389
ee7cc385
SP
33902014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
3391
3392 * manual/contrib.texi: Update entry for Carlos O'Donell,
3393 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
3394
f877c4f2
CD
33952014-02-05 Carlos O'Donell <carlos@rehdat.com>
3396
27e839f6
CD
3397 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
3398
f877c4f2
CD
3399 * sysdeps/unix/sysv/linux/kernel-features.h
3400 [__LINUX_KERNEL_VERSION >= 0x020621]
3401 (__ASSUME_PROC_PID_TASK_COMM): Define.
3402
68159946
SP
34032014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3404
ba17cdbd
SP
3405 [BZ #16398]
3406 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
3407 conversion when destination buffer does not have enough space.
3408 * libio/tst-ftell-partial-wide.c: New test case.
3409 * libio/Makefile (tests): Add tst-ftell-partial-wide.
3410
68159946
SP
3411 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
3412 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
3413 Leonard and Allan McRae.
3414
2b528732
DM
34152014-02-04 David S. Miller <davem@davemloft.net>
3416
3417 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
3418 32-bit.
3419
0ff82463
AZ
34202014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3421
c01603f7
AZ
3422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist: New
3423 file
3424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
3425 New file
3426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist: New
3427 file.
3428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist: New
3429 file.
3430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
3431 New file.
3432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist: New
3433 file.
3434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist: New
3435 file.
3436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
3437 New file.
3438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
3439 New file.
3440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
3441 New file.
3442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
3443 New file.
3444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
3445 New file.
3446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
3447 New file.
3448
34492014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3450
0ff82463
AZ
3451 * nptl/shlib-versions: Change powerpc*le start to 2.17.
3452 * shlib-versions: Likewise.
3453
1695c773
AZ
34542014-02-04 Roland McGrath <roland@hack.frob.com>
3455 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3456
3457 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
3458 (abilist-pattern): New variable, set to %-le.abilist.
3459
3460 * Makerules (abilist-pattern): New variable.
3461 (vpath): Use $(abilist-pattern) in place of %.abilist.
3462 (check-abi-% pattern rule): Likewise.
3463 (check-abi, update-abi): Likewise.
3464
6c0ce4b4
EW
34652014-02-04 Eric Wong <normalperson@yhbt.net>
3466
3467 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3468
dc98b8f5
EW
34692014-02-04 Eric Wong <normalperson@yhbt.net>
3470
3471 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3472
481e3524
CD
34732014-02-03 Carlos O'Donell <carlos@redhat.com>
3474
3475 * manual/startup.texi: Add next, previous, and top entries for
3476 the `Program Arguments' and `Environment Variables' nodes.
3477
375592d3
AO
34782014-02-03 Alexandre Oliva <aoliva@redhat.com>
3479
3480 * manual/macros.texi: Add comments before MTASC-safety macros.
3481
f54838ba
AO
3482 * manual/users.texi: Document MTASC-safety properties.
3483
909e12ad
AO
3484 * manual/threads.texi (pthread_key_create, pthread_key_delete,
3485 pthread_getspecific, pthread_setspecific): Format with
3486 @deftypefun, and add @safety note.
3487 * manual/signal.texi: Move comments that analyze the above
3488 functions to their home place.
3489
fd3daba4
AM
34902014-02-03 Allan McRae <allan@archlinux.org>
3491
3492 * po/sl.po: Update Slovenian translation from translation project.
3493
597636d7
AO
34942014-02-02 Alexandre Oliva <aoliva@redhat.com>
3495
3496 * manual/time.texi (timegm): Add missing blank after @c.
3497 Reported by Joseph Myers <joseph@codesourcery.com>.
3498
ee196e3c
AO
34992014-02-01 Alexandre Oliva <aoliva@redhat.com>
3500
3501 * manual/check-safety.sh: New.
3502 * manual/Makefile ($(objpfx)stamp-summary): Run it.
3503
f8d529d5
AO
3504 * manual/terminal.texi: Document MTASC-safety properties.
3505
de55fdf4
AO
3506 * manual/filesys.texi: Document MTASC-safety properties.
3507
c3299c08
AO
3508 * manual/errno.texi: Document MTASC-safety properties.
3509
06e90b14
AO
3510 * manual/intro.texi: Document safety identifiers and
3511 conditionals.
3512
1acd4371
AO
3513 * manual/string.texi (wcstok): Fix prototype.
3514 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
3515
23e5b8cb
AO
3516 * manual/time.texi: Document MTASC-safety properties.
3517
11087373
AO
3518 * manual/string.texi: Document MTASC-safety properties.
3519
5da2c93d
AO
3520 * manual/threads.texi: Document MTASC-safety properties.
3521
171e9210
AO
3522 * manual/stdio.texi: Document MTASC-safety properties.
3523
d9e02532
AO
3524 * manual/syslog.texi: Document MTASC-safety properties.
3525
6af8bab7
AO
3526 * manual/sysinfo.texi: Document MTASC-safety properties.
3527
663b02d7
AO
3528 * manual/startup.texi: Document MTASC-safety properties.
3529
973f180b
AO
3530 * manual/socket.texi: Document MTASC-safety properties.
3531
8f3c25c8
AO
3532 * manual/signal.texi: Document MTASC-safety properties.
3533
542210fb
AO
35342014-01-31 Alexandre Oliva <aoliva@redhat.com>
3535
3536 * manual/setjmp.texi: Document MTASC-safety properties.
3537
433c45a2
AO
3538 * manual/search.texi: Document MTASC-safety properties.
3539
c8ce789c
AO
3540 * manual/resource.texi: Document MTASC-safety properties.
3541
19f5d29c
AO
3542 * manual/process.texi: Document MTASC-safety properties.
3543
e2dfb7f4
AO
3544 * manual/platform.texi: Document MTASC-safety properties.
3545
8c1413f5
AO
3546 * manual/pipe.texi: Document MTASC-safety properties.
3547
03483ada
AO
3548 * manual/pattern.texi: Document MTASC-safety properties.
3549
29e7e2df
AO
3550 * manual/message.texi: Document MTASC-safety properties.
3551
9f529d7c
AO
3552 [BZ #12751]
3553 * manual/memory.texi: Document MTASC-safety properties.
3554
27aaa791
AO
3555 * manual/math.texi: Document MTASC-safety properties.
3556
f2d58726
AO
3557 * manual/locale.texi: Document MTASC-safety properties.
3558
2cc3615c
AO
3559 * manual/llio.texi: Document MTASC-safety properties.
3560
d9f0ec97
AO
3561 * manual/libdl.texi: New.
3562
e7c4409a
AO
3563 * manual/lang.texi: Document MTASC-safety properties.
3564
27bdc63c
AO
3565 * manual/job.texi: Document MTASC-safety properties.
3566
a7b90ea9
AO
3567 * manual/getopt.texi: Document MTASC-safety properties.
3568
c49130e3
AO
3569 * manual/ctype.texi: Document MTASC-safety properties.
3570
0d23a5c1
MR
35712014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
3572
3573 [BZ #16046]
3574 * csu/libc-tls.c (static_map): Remove variable.
3575 (__libc_setup_tls): Use main executable's link map for TLS data.
3576 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
3577 casing for LM_ID_BASE and GL(dl_nns).
3578 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
3579 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
3580 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
3581 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
3582 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
3583 member.
3584 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
3585 l_phnum members.
3586
0037bb60
AO
35872014-01-30 Alexandre Oliva <aoliva@redhat.com>
3588
3589 * manual/debug.texi: Document MTASC-safety properties.
3590
409e00bd
L
35912014-01-29 H.J. Lu <hongjiu.lu@intel.com>
3592
3593 [BZ #16510]
3594 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
3595 of __x86_64__ when disabling x87 inline functions.
3596
86e60666
AO
35972014-01-29 Alexandre Oliva <aoliva@redhat.com>
3598
3599 * manual/charset.texi: Document MTASC-safety properties.
3600
76167637
AO
3601 * manual/crypt.texi: Document MTASC-safety properties.
3602
e567f2a0
AO
3603 * manual/conf.texi: Document MTASC-safety properties.
3604
b719dafd
AO
3605 * manual/arith.texi: Document MTASC-safety properties.
3606
4a16c662
AO
3607 * manual/argp.texi: Document MTASC-safety properties.
3608
0a57b83e
AO
3609 * manual/macros.texi: Introduce macros to document multi
3610 thread, asynchronous signal and asynchronous cancellation
3611 safety properties.
3612 * manual/intro.texi: Introduce the properties themselves.
3613
feab2397
KK
36142014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3615
3616 * sysdeps/sh/sh4/Makefile: New file.
3617
1c0d11bc
AS
36182014-01-27 Andreas Schwab <schwab@linux-m68k.org>
3619
3620 * math/gen-libm-test.pl ($srcdir): New variable.
3621 ($auto_input): Use it.
3622
af37a8a3
SP
36232014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3624
d7b00f98
SP
3625 [BZ #16506]
3626 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
3627 access beyond array bounds when parsing netgroups file.
3628
af37a8a3
SP
3629 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
3630 the old buffer before realloc.
3631
0c00f062
AM
36322014-01-27 Allan McRae <allan@archlinux.org>
3633
3634 * po/fr.po: Update French translation from translation project.
3635
7d69a1b0
KK
36362014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3637
3638 * sysdeps/sh/libm-test-ulps: Regenerate.
3639
6e697ff7
DM
36402014-01-24 David S. Miller <davem@davemloft.net>
3641
3642 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
3643
9cadb35c
KK
36442014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3645
3646 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
3647 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
3648
5d41dadf
SP
36492013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3650
3651 [BZ #16474]
3652 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
3653 string pointers after reallocation.
3654
0bad441c
KK
36552014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3656
3657 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
3658 __SH4A__ instead of __SH_FPU_ANY__.
3659
7007c661
KK
36602014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3661
3662 * sysdeps/sh/fpu_control.h: New file.
3663 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
3664 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
3665 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
3666 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
3667 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
3668 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
3669 * sysdeps/sh/sys/ucontext.h: Remove.
3670 * sysdeps/sh/sys: Remove directory.
3671
0f0c35e4
AK
36722014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3673
3674 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
3675 s390/sys/ucontext.h.
3676 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
3677 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
3678
4959e284
L
36792014-01-20 H.J. Lu <hongjiu.lu@intel.com>
3680
3681 [BZ #15605]
3682 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
3683
d98720e0
AZ
36842014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3685
3686 [BZ#16431]
3687 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
3688 Adjust the vDSO correctly for internal calls.
3689 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
3690
91cbd0bc
AM
36912014-01-20 Allan McRae <allan@archlinux.org>
3692
3693 * po/ca.po: Update Catalan translation from translation project.
3694
7a02cfad
MF
36952014-01-16 Mike Frysinger <vapier@gentoo.org>
3696
3697 * sysdeps/s390/sotruss-lib.c: New file.
3698
736c304a
AZ
36992014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3700
3701 [BZ#16430]
6e077ee5 3702 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
3703 (__GI___gettimeofday): Alias for a different internal symbol to avoid
3704 local calls issues by not having a PLT stub required for IFUNC calls.
3705 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
3706
94d0cea0
JM
37072014-01-16 Joseph Myers <joseph@codesourcery.com>
3708
3709 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
3710 * math/test-fpucw-static.c: Likewise.
3711
980cb518
SP
37122013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3713
3714 [BZ #16453]
3715 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
3716
2393fc01
AZ
37172014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3718
3719 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
3720 implementation for powerpc.
3721
d359bcc2
OB
37222014-01-15 Ondřej Bílka <neleai@seznam.cz>
3723
3724 [BZ #14782]
3725 * sysdeps/posix/system.c (__libc_system): Do not enable
3726 asynchronous cancellation.
3727
7beb48cb
AK
37282014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3729
3730 [BZ #16427]
3731 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
3732 handling only for numbers special also in the IEEE case.
3733
c20d5bf5
AK
37342014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3735
3736 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3737
e83bd4ee
AM
37382014-01-11 Allan McRae <allan@archlinux.org>
3739
76d0ea69
AM
3740 * po/bg.po: Update Bulgarian translation from translation project.
3741
e83bd4ee
AM
3742 * po/de.po: Update German translation from translation project.
3743
bc2ba20a
RM
37442014-01-10 Roland McGrath <roland@hack.frob.com>
3745
3746 * sysdeps/generic/gcc-compat.h: New file.
3747
649ecea2
SP
37482014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3749
3750 * benchtests/asin-inputs: Correct slow inputs.
3751 * benchtests/acos-inputs: Likewise.
3752
1b19c006
AM
37532014-01-10 Allan McRae <allan@archlinux.org>
3754
a46dab08
AM
3755 * po:sv.po: Update Swedish translation from translation project.
3756
421df74a
AM
3757 * po/vi.po: Update Vietnamese translation from translation project.
3758
d61c51a7
AM
3759 * po/eo.po: Update Esperanto translation from translation project.
3760
0339a319
AM
3761 * po/cs.po: Update Czech translation from translation project.
3762
94ad3e99
AM
3763 * po/nl.po: Update Dutch translation from translation project.
3764
e349ca71
AM
3765 * po/pl.po: Update Polish translation from translation project.
3766
ddf930c1
AM
3767 * po/ru.po: Update Russian translation from translation project.
3768
1b19c006
AM
3769 * po/uk.po: Update Ukrainian translation from translation project.
3770
9f236c49
BM
37712014-01-08 Brooks Moses <bmoses@google.com>
3772
3773 * elf/dl-load.c: Fix comment typo.
3774
cd6701cf
CD
37752014-01-08 Carlos O'Donell <carlos@redhat.com>
3776
3777 * po/header.pot: Rename to...
3778 * po/pot.header: ... this.
3779 * po/Makefile: Use pot.header.
3780
66671c84
YK
37812014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
3782 Maxim Kuvyrkov <maxim@kugelworks.com>
3783
3784 [BZ #16394]
cd6701cf
CD
3785 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
3786 SRC and DEST against LEN.
66671c84 3787
38f34581
AZ
37882014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3789
3790 [BZ #16414]
3791 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
3792 implementation.
3793 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
3794
37952014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
3796
3797 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3798
4c327f2a
JM
37992014-01-08 Joseph Myers <joseph@codesourcery.com>
3800
3801 [BZ #16408]
3802 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
3803 for large positive arguments.
3804
b821f414
JM
38052014-01-07 Joseph Myers <joseph@codesourcery.com>
3806
1f0f2067
JM
3807 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
3808
a5a326f6
JM
3809 * math/auto-libm-test-in: Mark various tests with
3810 xfail-rounding:ldbl-128ibm.
3811 * math/auto-libm-test-out: Regenerated.
3812
b821f414
JM
3813 [BZ #16407]
3814 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
3815 Increase overflow threshold.
3816
94c8a4bc
OB
38172014-01-07 Ondřej Bílka <neleai@seznam.cz>
3818
3819 [BZ #14286]
3820 * stdio-common/vfprintf.c: Check for integer overflow.
3821
87ded0c3
AK
38222014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3823
3824 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
3825 the first argument and return value of __tls_get_addr_internal.
3826
c5eebdd0
AK
38272014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3828
3829 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
3830 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
3831
05d138ef
AK
38322014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3833
3834 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
3835 * sysdeps/s390/rtld-global-offsets.sym: New file.
3836 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
3837 GLIBC_2.19 symbol.
3838 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
3839 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
3840 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
3841 ... this.
3842 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
3843 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
3844 ... this.
3845 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
3846 Regenerate.
3847 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
3848 Regenerate.
3849 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
3850 halfs of GPRs for high_gprs contexts.
3851 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
3852 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
3853 field.
3854 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
3855 uc_flags field.
3856 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
3857 64 bit versions:
3858 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
3859 for high GPRs (uc_high_gprs) and for future extensions
3860 (__reserved).
3861 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
3862 for future extensions (__reserved).
3863 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
3864 64 bit versions:
3865 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
3866 SC_HIGHGPRS offset definition.
3867 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
3868 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
3869
93a45ff1
AK
38702014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3871
3872 * Versions.def: Add GLIBC_2.19 for libpthread.
3873 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
3874 siglongjmp for libpthread with GLIBC_2.19 symver.
3875 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
3876 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
3877 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
3878 * sysdeps/s390/__longjmp.c: New file.
3879 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
3880 * sysdeps/s390/longjmp.c: New file.
3881 * sysdeps/s390/setjmp.S: New file.
3882 * sysdeps/s390/sigjmp.S: New file.
3883 * sysdeps/s390/v1-longjmp.c: New file.
3884 * sysdeps/s390/v1-setjmp.h: New file.
3885 * sysdeps/s390/v1-sigjmp.c: New file.
3886 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
3887 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
3888 GLIBC_2.19 version.
3889 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
3890 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
3891 versioned symbols for ____longjmp_chk.
3892 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
3893 Likewise.
3894 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
3895 Regenerate.
3896 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3897 Regenerate.
3898 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
3899 Regenerate.
3900 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3901 Regenerate.
3902 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
3903 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
3904 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
3905 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
3906 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
3907 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
3908 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
3909 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
3910 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
3911 * sysdeps/s390/rtld-__longjmp.c: New file.
3912 * sysdeps/s390/rtld-setjmp.S: New file.
3913
eb3fc44b
JM
39142014-01-06 Joseph Myers <joseph@codesourcery.com>
3915
3916 [BZ #16400]
3917 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
3918 Return -__logl (x) for small positive arguments without evaluating
3919 a polynomial.
3920
9341dde4
MF
39212014-01-06 Mike Frysinger <vapier@gentoo.org>
3922
3923 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
3924 Rename to ...
3925 (__ptrace_peeksiginfo_args): ... this.
3926 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
3927 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
3928 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
3929
4cff0293
AM
39302014-01-06 Allan McRae <allan@archlinux.org>
3931
3932 * inet/netinet/in.h: Fix typo in comment.
3933
75595dcf
AJ
39342014-01-05 Andreas Jaeger <aj@suse.de>
3935
3936 * sysdeps/i386/fpu/libm-test-ulps: Update.
3937
79c1e109
AM
39382014-01-05 Allan McRae <allan@archlinux.org>
3939
dd804818
AM
3940 * po/libc.pot: Regenerated.
3941
79c1e109
AM
3942 * malloc/memusagestat.c: Fix gettext call formatting.
3943
0c813d1f
SK
39442014-01-04 Sami Kerola <kerolasa@iki.fi>
3945
3946 * nscd/nscd.c: Improve usage() output.
3947
20f4a8d9
MF
39482014-01-04 Mike Frysinger <vapier@gentoo.org>
3949
3950 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
3951 * sysdeps/unix/sysv/linux/configure: Regenerated.
3952 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
3953 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
3954
22562bb2
JM
39552014-01-03 Joseph Myers <joseph@codesourcery.com>
3956
3957 [BZ #16390]
3958 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
3959 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
3960
d7ad2d9b
AZ
39612014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3962
3963 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
3964 extra tokens at end of #undef directive.
3965 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
3966 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
3967 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
3968
7dd009d8
JM
39692014-01-03 Joseph Myers <joseph@codesourcery.com>
3970
24db925a
JM
3971 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
3972
7dd009d8
JM
3973 * math/auto-libm-test-in: Mark various tests with
3974 xfail-rounding:ldbl-128ibm.
3975 * math/auto-libm-test-out: Regenerated.
3976
396e3ecf
JM
39772014-01-02 Joseph Myers <joseph@codesourcery.com>
3978
819e5d50
JM
3979 [BZ #16386]
3980 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
3981 numbers with subnormal high part when calculating exponent.
3982
90b6a1e5
JM
3983 [BZ #16385]
3984 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
3985 fabs.
3986
396e3ecf
JM
3987 [BZ #16384]
3988 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
3989 M_LN2l.
3990 (__ieee754_acoshl): Use __log1pl not __log1p.
3991
6c8dbf00
OB
39922013-01-02 Ondřej Bílka <neleai@seznam.cz>
3993
3994 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
3995 ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
3996 __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
3997 heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
3998 Convert to GNU style.
3999 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
4000 mem2mem_check, mem2chunk_check, top_check, realloc_check,
4001 memalign_check, __malloc_set_state): Likewise.
4002 * malloc/mallocbug.c (main): Likewise.
4003 * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
4004 do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
4005 mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
4006 _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
4007 musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
4008 * malloc/malloc.h: Likewise.
4009 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
4010 memalignhook, reallochook, mabort): Likewise.
4011 * malloc/mcheck.h: Likewise.
4012 * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
4013 mmap64, mremap, munmap, dest): Likewise.
4014 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
4015 * malloc/morecore.c (__default_morecore): Likewise.
4016 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
4017 * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
4018 _obstack_allocated_p, obstack_free, _obstack_memory_used,
4019 print_and_abort): Likewise.
4020 * malloc/obstack.h: Likewise.
4021 * malloc/set-freeres.c (__libc_freeres): Likewise.
4022 * malloc/tst-mallocstate.c (main): Likewise.
4023 * malloc/tst-mtrace.c (main): Likewise.
4024 * malloc/tst-realloc.c (do_test): Likewise.
4025
d4124212
SP
40262013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4027
9a3c6a6f
SP
4028 [BZ #16366]
4029 * nscd/netgroupcache.c (do_notfound): New function.
4030 (addgetnetgrentX): Use it.
4031
d4124212
SP
4032 [BZ # 16365]
4033 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
4034 NSS_STATUS_NOTFOUND.
4035
97b9a009
JM
40362014-01-01 Joseph Myers <joseph@codesourcery.com>
4037
4038 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
4039 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4040
d4697bc9
AM
40412014-01-01 Allan McRae <allan@archlinux.org>
4042
ddb3687f
AM
4043 * scripts/update-copyrights: Update configure input file suffix.
4044
88726d48
AM
4045 * NEWS: Update copyright year.
4046 * catgets/gencat.c: Likewise.
4047 * csu/version.c: Likewise.
4048 * debug/catchsegv.sh: Likewise.
4049 * debug/pcprofiledump.c: Likewise.
4050 * debug/xtrace.sh: Likewise.
4051 * elf/ldconfig.c: Likewise.
4052 * elf/ldd.bash.in: Likewise.
4053 * elf/pldd.c: Likewise.
4054 * elf/sotruss.ksh: Likewise.
4055 * elf/sprof.c: Likewise.
4056 * iconv/iconv_prog.c: Likewise.
4057 * iconv/iconvconfig.c: Likewise.
4058 * locale/programs/locale.c: Likewise.
4059 * locale/programs/localedef.c: Likewise.
4060 * login/programs/pt_chown.c: Likewise.
4061 * malloc/memusage.sh: Likewise.
4062 * malloc/memusagestat.c: Likewise.
4063 * malloc/mtrace.pl: Likewise.
4064 * manual/libc.texinfo: Likewise.
4065 * nscd/nscd.c: Likewise.
4066 * nss/getent.c: Likewise.
4067 * nss/makedb.c: Likewise.
4068 * posix/getconf.c: Likewise.
4069 * scripts/test-installation.pl: Likewise.
4070
d4697bc9
AM
4071 * All files with FSF copyright notices: Update copyright dates
4072 using scripts/update-copyrights.
4073 * intl/plural.c: Regenerated.
4074 * locale/programs/charmap-kw.h: Likewise.
4075 * locale/programs/locfile-kw.h: Likewise.
4076
c8590f9d
MF
40772013-12-31 Mike Frysinger <vapier@gentoo.org>
4078
4079 * sysdeps/unix/sysv/linux/configure: Regenerated.
4080 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
4081 the linux/fanotify.h header.
4082 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
4083 HAVE_LINUX_FANOTIFY_H is defined.
4084
b19221b9
SP
40852013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
4086
dd1d85e5
SP
4087 * benchtests/cos-inputs: New inputs.
4088 * benchtests/sin-inputs: Likewise.
4089
1acbb90f
SP
4090 * benchtests/atan-inputs: New inputs. Fix name of multiple
4091 precision fallback inputs.
4092
4c012ed3
SP
4093 * benchtests/atanh-inputs: New inputs.
4094 * benchtests/tanh-inputs: Likewise.
4095
eff98324
SP
4096 * benchtests/acosh-inputs: New inputs.
4097 * benchtests/asinh-inputs: Likewise.
4098
ce641152
SP
4099 * benchtests/cosh-inputs: New inputs.
4100 * benchtests/sinh-inputs: Likewise.
4101
b19221b9
SP
4102 * benchtests/acos-inputs: Add more inputs.
4103 * benchtests/asin-inputs: Likewise.
4104
030a4976 41052013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 4106
030a4976 4107 [BZ #16375]
9dcc8f11
VS
4108 * manual/arith.texi: Fix spelling.
4109 * manual/charset.texi: Likewise.
4110 * manual/errno.texi: Likewise.
4111 * manual/filesys.texi: Likewise.
4112 * manual/lang.texi: Likewise.
4113 * manual/llio.texi: Likewise.
4114 * manual/locale.texi: Likewise.
4115 * manual/message.texi: Likewise.
4116 * manual/resource.texi: Likewise.
4117 * manual/search.texi: Likewise.
4118 * manual/setjmp.texi: Likewise.
4119 * manual/stdio.texi: Likewise.
4120 * manual/string.texi: Likewise.
4121 * manual/sysinfo.texi: Likewise.
4122 * manual/time.texi: Likewise.
4123
11520a57
CD
41242013-12-27 Carlos O'Donell <carlos@redhat.com>
4125
4126 * po/sl.po: New file.
4127
471103ae
MF
41282013-12-27 Mike Frysinger <vapier@gentoo.org>
4129
4130 * .gitignore: Add core/.gdbinit/.gdb_history.
4131
6c9642ed
AM
41322013-12-27 Allan McRae <allan@archlinux.org>
4133
4134 [BZ #16369]
4135 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
4136 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
4137
3f637079
BM
41382013-12-24 Brooks Moses <bmoses@google.com>
4139
4140 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
4141 all compilers that claim C++98 compliance, not just GCC.
4142 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
4143 Likewise.
4144
abc26e99
MK
41452013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
4146
4147 * NEWS: Restore accidentally deleted bug-fix entries.
4148
362b47fe
MK
41492013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
4150 Ondřej Bílka <neleai@seznam.cz>
4151
4152 [BZ #15073]
4153 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 4154 have_lock.
362b47fe 4155
b9bcbbcb
OB
41562013-12-23 Ondřej Bílka <neleai@seznam.cz>
4157
4158 [BZ #12986]
4159 * manual/stdio.texi (String Input Conversions): Clarify that character
4160 classes are not supported.
4161
fb55fcd2
AZ
41622013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4163
4164 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4165
ef7344f0
JM
41662013-12-22 Joseph Myers <joseph@codesourcery.com>
4167
4f40e4b3
JM
4168 [BZ #16337]
4169 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
4170 Calculate results for small negative arguments directly rather
4171 than using reflection formula with special underflow handling.
4172
ef7344f0
JM
4173 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
4174 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
4175 sysdeps/unix/bsd/bsd4.4/syscalls.list.
4176 (fchflags): Likewise.
4177 (revoke): Likewise.
4178 (setlogin): Likewise.
4179 (sigaltstack): Likewise.
4180 (wait4): Likewise.
4181 (sigblock): Remove.
4182 (sigsetmask): Likewise.
4183 (wait3): Likewise.
4184 (waitpid): Likewise.
4185 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
4186 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
4187 file.
4188 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
4189 * sysdeps/unix/bsd/Makefile: ... here.
4190 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
4191 * sysdeps/unix/bsd/Versions: ... here.
4192 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
4193 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
4194 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
4195 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
4196 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
4197 * sysdeps/unix/bsd/sigblock.c: ... here.
4198 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
4199 * sysdeps/unix/bsd/sigsetmask.c: ... here.
4200 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
4201 * sysdeps/unix/bsd/sigvec.c: ... here.
4202 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
4203 * sysdeps/unix/bsd/tcdrain.c: ... here.
4204 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
4205 * sysdeps/unix/bsd/tcgetattr.c: ... here.
4206 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
4207 * sysdeps/unix/bsd/tcsetattr.c: ... here.
4208 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
4209 * sysdeps/unix/bsd/wait.c: ... here.
4210 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
4211 * sysdeps/unix/bsd/wait3.c: ... here.
4212 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
4213 * sysdeps/unix/bsd/waitpid.c: ... here.
4214
5b0626b9
JM
42152013-12-21 Joseph Myers <joseph@codesourcery.com>
4216
4217 [BZ #16356]
4218 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
4219 round-to-nearest for [!USE_AS_EXPM1L].
4220 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
4221 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
4222 more tests of exp and exp10. Expect some exp10 tests to miss
4223 exceptions or fail in directed rounding modes.
4224 * math/auto-libm-test-out: Regenerated.
4225 * math/libm-test.inc (exp10_tonearest_test_data): New array.
4226 (exp10_test_tonearest): New function.
4227 (exp10_towardzero_test_data): New array.
4228 (exp10_test_towardzero): New function.
4229 (exp10_downward_test_data): New array.
4230 (exp10_test_downward): New function.
4231 (exp10_upward_test_data): New array.
4232 (exp10_test_upward): New function.
4233 (main): Call the new functions.
4234 * sysdeps/i386/fpu/libm-test-ulps: Update.
4235 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4236
7fda5682
JM
42372013-12-20 Joseph Myers <joseph@codesourcery.com>
4238
31e3a405
JM
4239 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
4240 asinh, atan, atan2, atanh, cbrt, cos and cosh.
4241 * math/auto-libm-test-out: Regenerated.
4242 * math/libm-test.inc (acosh_test_data): Add more tests.
4243 (atanh_test_data): Likewise.
4244 (ceil_test_data): Likewise.
4245 (copysign_test_data): Likewise.
4246 * sysdeps/i386/fpu/libm-test-ulps: Update.
4247 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4248
85bff96a
JM
4249 * timezone/checktab.awk: Update from tzcode 2013i.
4250 * timezone/private.h: Likewise.
4251 * timezone/scheck.c: Likewise.
4252 * timezone/tzfile.h: Likewise.
4253 * timezone/tzselect.ksh: Likewise.
4254 * timezone/zdump.c: Likewise.
4255 * timezone/zic.c: Likewise.
4256
b7867a3b
JM
4257 * math/auto-libm-test-in: Add tests of cpow.
4258 * math/auto-libm-test-out: Regenerated.
4259 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
4260 * * math/gen-auto-libm-tests.c (func_calc_method): Add value
4261 mpc_cc_c.
4262 (func_calc_desc): Add mpc_cc_c union field.
4263 (test_functions): Add cpow.
4264 (special_fill_2pi): New function.
4265 (special_real_inputs): Add 2pi.
4266 (calc_generic_results): Handle mpc_cc_c.
4267 * sysdeps/i386/fpu/libm-test-ulps: Update.
4268 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4269
7fda5682
JM
4270 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
4271 csqrt, ctan and ctanh.
4272 * math/auto-libm-test-out: Regenerated.
4273 * math/libm-test.inc (TEST_COND_x86_64): New macro.
4274 (TEST_COND_x86): Likewise.
4275 (ccos_test_data): Use AUTO_TESTS_c_c.
4276 (ccosh_test_data): Likewise.
4277 (cexp_test_data): Likewise.
4278 (clog_test_data): Likewise.
4279 (csqrt_test_data): Likewise.
4280 (ctan_test_data): Likewise.
4281 (ctan_tonearest_test_data): Likewise.
4282 (ctan_towardzero_test_data): Likewise.
4283 (ctan_downward_test_data): Likewise.
4284 (ctan_upward_test_data): Likewise.
4285 (ctanh_test_data): Likewise.
4286 (ctanh_tonearest_test_data): Likewise.
4287 (ctanh_towardzero_test_data): Likewise.
4288 (ctanh_downward_test_data): Likewise.
4289 (ctanh_upward_test_data): Likewise.
4290 * math/gen-auto-libm-tests.c (func_calc_method): Add value
4291 mpc_c_c.
4292 (func_calc_desc): Add mpc_c_c union field.
4293 (FUNC_mpc_c_c): New macro.
4294 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
4295 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
4296 ctanh.
4297 (special_fill_min_subnorm_p120): New function.
4298 (special_real_inputs): Add min_subnorm_p120.
4299 (calc_generic_results): Handle mpc_c_c.
4300 * sysdeps/i386/fpu/libm-test-ulps: Update.
4301 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4302
5ff8d60e
SP
43032013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
4304
392dd2de
SP
4305 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
4306 do_sin_slow): New functions.
4307 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
4308 cslow2, csloww1, csloww2): Use the new functions.
4309
84ba214c
SP
4310 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
4311 Use M to change sign of result instead of X. Assume X is
4312 positive.
4313 (csloww1): Likewise.
4314 (__sin): Adjust.
4315 (__cos): Adjust.
4316
975195e4
SP
4317 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
4318 arguments A and DA.
4319 (__sin): Adjust.
4320 (__cos): Likewise.
4321
5ff8d60e
SP
4322 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
4323 (__cos): Likewise.
4324 (sloww1): Don't adjust sign of DX.
4325 (csloww1): Likewise.
4326 (sloww2): Use X directly and don't adjust sign of DX.
4327 (csloww2): Likewise.
4328
eb983568
JM
43292013-12-19 Joseph Myers <joseph@codesourcery.com>
4330
64a17f1a
JM
4331 * math/auto-libm-test-in: Add tests of cabs and carg.
4332 * math/auto-libm-test-out: Regenerated.
4333 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
4334 (carg_test_data): Likewise.
4335 * math/gen-auto-libm-tests.c (func_calc_method): Add value
4336 mpc_c_f.
4337 (func_calc_desc): Add mpc_c_f union field.
4338 (test_functions): Add cabs and carg.
4339 (calc_generic_results): Handle mpc_c_f.
4340
eb983568
JM
4341 * sysdeps/powerpc/powerpc32/libgcc-compat.S
4342 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
4343 as a macro and a compat symbol.
4344 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
4345 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
4346 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
4347 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
4348 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
4349 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
4350 not use .hidden.
4351 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
4352 Likewise.
4353 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
4354 Likewise.
4355 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
4356 Likewise.
4357 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
4358 Likewise.
4359 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
4360 Likewise.
4361 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
4362 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
4363 from GLIBC_2.3.2.
4364
6eeb678a
AZ
43652013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4366
4367 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4368
6f6fc482
JM
43692013-12-19 Joseph Myers <joseph@codesourcery.com>
4370
21fea2e2
JM
4371 * manual/texinfo.tex: Update to version 2013-11-26.10 with
4372 trailing whitespace removed.
4373 * scripts/config.guess: Update to version 2013-11-29.
4374 * scripts/config.sub: Update to version 2013-10-01.
4375
6f6fc482
JM
4376 * math/auto-libm-test-in: Add tests of sincos.
4377 * math/auto-libm-test-out: Regenerated.
4378 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
4379 * math/gen-auto-libm-tests.c (func_calc_method): Add value
4380 mpfr_f_11.
4381 (func_calc_desc): Add mpfr_f_11 union field.
4382 (test_functions): Add sincos.
4383 (calc_generic_results): Handle mpfr_f_11.
4384 * sysdeps/i386/fpu/libm-test-ulps: Update.
4385 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4386
83f5c32d
AS
43872013-12-19 Andreas Schwab <schwab@suse.de>
4388
4389 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
4390 CALL_MCOUNT.
4391 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
4392 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
4393 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
4394
c688b419
JM
43952013-12-19 Joseph Myers <joseph@codesourcery.com>
4396
335ee092
JM
4397 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
4398 * sysdeps/i386/fpu/libm-test-ulps: Update.
4399 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4400
f88acd39
JM
4401 [BZ #16293]
4402 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
4403 round-to-nearest mode when using frndint.
4404 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
4405 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
4406 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
4407 Likewise.
4408 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
4409 sinh test to fail.
4410 * math/auto-libm-test-out: Regenerated.
4411 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
4412 (TEST_COND_x86): Likewise.
4413 (expm1_tonearest_test_data): New array.
4414 (expm1_test_tonearest): New function.
4415 (expm1_towardzero_test_data): New array.
4416 (expm1_test_towardzero): New function.
4417 (expm1_downward_test_data): New array.
4418 (expm1_test_downward): New function.
4419 (expm1_upward_test_data): New array.
4420 (expm1_test_upward): New function.
4421 (main): Run the new test functions.
4422 * sysdeps/i386/fpu/libm-test-ulps: Update.
4423 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4424
c688b419
JM
4425 * include/features.h: Update comment documenting feature test
4426 macros. Mention _DEFAULT_SOURCE in comment.
4427 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
4428 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
4429 _BSD_SOURCE and _SVID_SOURCE.
4430 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
4431 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
4432 !_SVID_SOURCE]: Likewise.
4433 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
4434 (__USE_POSIX_IMPLICITLY): Define.
4435 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
4436 (_POSIX_SOURCE): Undefine and redefine.
4437 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
4438 (_POSIX_C_SOURCE): Likewise.
4439 * manual/creature.texi (_DEFAULT_SOURCE): Document.
4440 (Feature Test Macros): Update documentation of default features.
4441
9f6e964c
RS
44422013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4443
4444 * benchtests/Makefile: Add bench-strtok.
4445 * benchtests/bench-strtok.c: New file: strtok benchtest.
4446
ee0a148a
AM
44472013-12-19 Allan McRae <allan@archlinux.org>
4448
4449 * manual/install.texi: Suppress menu for plain text output.
4450 * INSTALL: Regenerated.
4451
b9ab448f
BM
44522013-12-18 Brooks Moses <bmoses@google.com>
4453
4454 [BZ #15846]
4455 * misc/getauxval.c: Include errno.h.
4456 (__getauxval): Set errno to ENOENT if the requested type is not
4457 found.
4458 * misc/sys/auxv.h (getauxval): Document that it may set errno;
4459 don't declare with __attribute_const__.
4460 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
4461 * manual/startup.texi: Document that getauxval sets errno.
4462
23776487
JM
44632013-12-18 Joseph Myers <joseph@codesourcery.com>
4464
f889953b
JM
4465 * math/auto-libm-test-in: Add tests of jn and yn.
4466 * math/auto-libm-test-out: Regenerated.
4467 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
4468 (yn_test_data): Likewise.
4469 * math/gen-auto-libm-tests.c (func_calc_method): Add value
4470 mpfr_if_f.
4471 (func_calc_desc): Add mpfr_if_f union field.
4472 (FUNC_mpfr_if_f): New macro.
4473 (test_functions): Add jn and yn.
4474 (calc_generic_results): Assert type of second input for
4475 mpfr_ff_f. Handle mpfr_if_f.
4476 (output_for_one_input_case): Disable all checking for arguments
4477 fitting floating-point types in case of an integer argument.
4478 * sysdeps/i386/fpu/libm-test-ulps: Update.
4479 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4480
23776487
JM
4481 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
4482 Don't expect fegetround reference in libm.so.
4483
cb756c6d
MS
44842013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4485
4486 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
4487 $(config-cflags-nofma).
4488
2dec468f
JM
44892013-12-18 Joseph Myers <joseph@codesourcery.com>
4490
5953eb3a
JM
4491 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
4492 * math/auto-libm-test-out: Regenerated.
4493
2dec468f
JM
4494 [BZ #16338]
4495 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
4496 to determine exponent and adjust argument to have exponent of -1.
4497 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
4498 log2.
4499 * math/auto-libm-test-out: Regenerated.
4500 * sysdeps/i386/fpu/libm-test-ulps: Update.
4501 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4502
4d84e6ad
OB
45032013-12-18 Ondřej Bílka <neleai@seznam.cz>
4504
4505 * manual/probes.texi: Remove cases when per-thread arenas are
4506 disabled.
4507
1818483b
AS
45082013-12-18 Andreas Schwab <schwab@suse.de>
4509
4510 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
4511 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
4512 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
4513 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
4514 * sysdeps/i386/i686/multiarch/Makefile: Update.
4515 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
4516
25de95bf
JM
45172013-12-17 Joseph Myers <joseph@codesourcery.com>
4518
4519 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
4520 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
4521
674762d9
PE
45222013-12-17 Paul Eggert <eggert@cs.ucla.edu>
4523
ed27ed83 4524 [BZ #15968]
0748546f
PE
4525 Support TZ transition times < 00:00:00.
4526 This is needed for version-3 tz-format files; it supports time
4527 stamps past 2037 for America/Godthab (the only entry in the tz
4528 database for which this change is relevant).
4529 * manual/time.texi (TZ Variable): Document transition times
4530 from -167:59:59 through -00:00:01.
4531 * time/tzset.c (tz_rule): Time of day is now signed.
4532 (__tzset_parse_tz): Parse negative time of day.
4533
4480e934
PE
4534 Document TZ transition times >= 25:00:00.
4535 * manual/time.texi (TZ Variable): Document transition times from
4536 25:00:00 through 167:59:59. These are already supported, and this
4537 support will help with version-3 tz-format files.
4538
69947401
PE
4539 * manual/time.texi (TZ Variable): Modernize North America example
4540 to reflect current (i.e., 2007-and-later) daylight saving rules.
4541
674762d9
PE
4542 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
4543
7011c262
JM
45442013-12-17 Joseph Myers <joseph@codesourcery.com>
4545
2fc6557e
JM
4546 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
4547 * sysdeps/unix/bsd/bits/stat.h: Likewise.
4548 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
4549 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
4550 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
4551 * sysdeps/unix/bsd/bsdstat.h: Likewise.
4552 * sysdeps/unix/bsd/clock.c: Likewise.
4553 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
4554 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
4555 * sysdeps/unix/bsd/init-posix.c: Likewise.
4556 * sysdeps/unix/bsd/poll.c: Likewise.
4557 * sysdeps/unix/bsd/ptsname.c: Likewise.
4558 * sysdeps/unix/bsd/seekdir.c: Likewise.
4559 * sysdeps/unix/bsd/setegid.c: Likewise.
4560 * sysdeps/unix/bsd/seteuid.c: Likewise.
4561 * sysdeps/unix/bsd/setgid.c: Likewise.
4562 * sysdeps/unix/bsd/setrgid.c: Likewise.
4563 * sysdeps/unix/bsd/setruid.c: Likewise.
4564 * sysdeps/unix/bsd/setsid.c: Likewise.
4565 * sysdeps/unix/bsd/setuid.c: Likewise.
4566 * sysdeps/unix/bsd/sigaction.c: Likewise.
4567 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
4568 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
4569 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
4570 * sysdeps/unix/bsd/telldir.c: Likewise.
4571 * sysdeps/unix/bsd/times.c: Likewise.
4572 * sysdeps/unix/bsd/usleep.c: Likewise.
4573
029c7b25
JM
4574 * misc/Makefile (install-lib): Remove libbsd-compat.a.
4575 ($(objpfx)libbsd-compat.a): Remove rule.
4576
7011c262
JM
4577 * include/features.h (__FAVOR_BSD): Do not define.
4578 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
4579 features conflicting with POSIX.
4580 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
4581 (_BSD_SOURCE): Remove description of not being a subset of other
4582 feature test macros.
4583 * manual/job.texi (getpgrp): Do not document BSD version.
4584 (getpgid): Do not document by reference to BSD getpgrp.
4585 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
4586 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
4587 * signal/signal.h [__FAVOR_BSD]: Likewise.
4588 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
4589 instead of making contents conditional on [__FAVOR_BSD].
4590 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
4591
affb6f78
AZ
45922013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4593
4594 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4595
c88769dd
JM
45962013-12-17 Joseph Myers <joseph@codesourcery.com>
4597
6432a540
JM
4598 [BZ #16314]
4599 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
4600 values below 2**-450, not 2**-500.
4601 * math/auto-libm-test-in: Don't allow spurious underflow from
4602 hypot.
4603 * math/auto-libm-test-out: Regenerated.
4604
c88769dd
JM
4605 [BZ #16316]
4606 [BZ #16330]
4607 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
4608 values of ha and hb and sort them after adjusting subnormal
4609 arguments.
4610 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
4611 Likewise.
4612 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
4613 values of ea and eb and sort them after adjusting subnormal
4614 arguments.
4615 * math/auto-libm-test-in: Do not expect some hypot tests of
4616 subnormals to fail. Add more hypot tests.
4617 * math/auto-libm-test-out: Regenerated.
4618
29618f6b
KK
46192013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4620
4621 [BZ #13304]
4622 * sysdeps/sh/s_fma.c: New file.
4623 * sysdeps/sh/s_fmaf.c: New file.
4624 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
4625 version.
4626 * sysdeps/sh/Implies: Add sh/soft-fp.
4627
eacfdfbf
RM
46282013-12-16 Roland McGrath <roland@hack.frob.com>
4629
4630 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
4631 level of indirection to members `objname', `errstring', `malloced'.
4632 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
4633 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
4634 it as the __longjmp argument (just pass 1 instead).
4635 (_dl_catch_error): Initialize C with argument pointers and address of
4636 volatile local ERRCODE rather than copying values out of C at return.
4637
ff362e5b
JM
46382013-12-16 Joseph Myers <joseph@codesourcery.com>
4639
4640 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
4641 * math/auto-libm-test-out: Regenerated.
4642 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
4643 (hypot_test_data): Likewise.
4644 (pow_test_data): Likewise.
4645 (pow_tonearest_test_data): Likewise.
4646 * math/gen-auto-libm-tests.c (func_calc_method): Add value
4647 mpfr_ff_f.
4648 (func_calc_desc): Add mpfr_ff_f union field.
4649 (FUNC_mpfr_ff_f): New macro.
4650 (test_functions): Add atan2, hypot and pow.
4651 (special_fill_min): New function.
4652 (special_fill_minus_min): Likewise.
4653 (special_fill_min_subnorm): Likewise.
4654 (special_fill_minus_min_subnorm): Likewise.
4655 (special_real_inputs): Add min, -min, min_subnorm and
4656 -min_subnorm.
4657 (calc_generic_results): Handle mpfr_ff_f.
4658 * sysdeps/i386/fpu/libm-test-ulps: Update.
4659 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4660
5764c27f
WN
46612013-12-16 Will Newton <will.newton@linaro.org>
4662
4663 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
4664 (Aligned Memory Blocks): Add documentation for aligned_alloc
4665 and suggest it as an alternative to posix_memalign.
4666 (Hooks for Malloc): Document __memalign_hook is also called
4667 for aligned_alloc. (Summary of Malloc): Add summary for
4668 aligned alloc. Document __memalign_hook is also called
4669 for aligned_alloc.
4670
0a096e44
WN
46712013-12-16 Will Newton <will.newton@linaro.org>
4672
4673 * manual/memory.texi (Malloc Examples): Clarify default
4674 alignment documentation. Suggest posix_memalign rather
4675 than memalign or valloc.
4676 (Aligned Memory Blocks): Remove suggestion to use memalign
4677 or valloc. Remove obsolete comment about BSD.
4678 Document memalign errno values and mark the function obsolete.
4679 Document posix_memalign returned error codes. Mark valloc
4680 as obsolete. (Hooks for Malloc): __memalign_hook is also
4681 called for posix_memalign and valloc.
4682 (Summary of Malloc): Add posix_memalign to function summary.
4683 __memalign_hook is also called for posix_memalign and valloc.
4684
8d561986
SP
46852013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4686
4687 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
4688 TAYLOR_SIN.
4689 (__sin): Adjust.
4690 (__cos): Likewise.
4691 (sloww): Use mynumber union. Expand ternary operator into
4692 if-else statements.
4693 (cslow): use mynumber union.
4694
73616a74
AM
46952013-12-16 Allan McRae <allan@archlinux.org>
4696
9e8ac24b
AM
4697 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
4698 * configure: Regenerated.
4699
6f8e37eb
AM
4700 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
4701
8894bad3
AM
4702 [BZ #14120]
4703 * configure.ac: Added --enable-maintainer-mode. Check for
4704 autoconf when enabled.
4705 * configure: Regenerated.
4706
73616a74
AM
4707 * nscd/nscd.service: New file.
4708 * nscd/nscd.tmpfiles: New file.
4709
584b18eb
OB
47102013-12-14 Ondřej Bílka <neleai@seznam.cz>
4711
4712 [BZ #12100]
4713 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
4714 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
4715 * sysdeps/x86_64/multiarch/strstr.c: ... here.
4716 (strstr): Add __strstr_sse2_unaligned ifunc.
4717 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
4718 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
4719 (strcasestr): Remove __strcasestr_sse42 ifunc.
4720 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
4721 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
4722 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
4723
8a5c7897
KK
47242013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4725
4726 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
4727 * sysdeps/sh/bits/fenv.h: ... here.
4728 * sysdeps/sh/sh4/fpu/bits: Remove directory.
4729
fd712ef3
AZ
47302013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4731
4732 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
4733
42fcb46c
AZ
47342013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4735
4736 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
4737 hypotf multiarch implementations.
4738 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
4739 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
4740 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
4741 multiarch hypot for PPC64.
4742 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
4743 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
4744 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
4745 multiarch hypotf for PPC64.
4746
83efded4
AZ
47472013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4748
4749 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
4750 modff multiarch implementations.
4751 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
4752 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
4753 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
4754 multiarch modf for PPC64.
4755 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
4756 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
4757 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
4758 multiarch modff for PPC64.
4759
43e246d2
AZ
47602013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4761
4762 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
4763 and logl multiarch implementations.
4764 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
4765 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
4766 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
4767 multiarch logb for PPC64.
4768 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
4769 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
4770 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
4771 multiarch logb for PPC64.
4772 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
4773 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
4774 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
4775 multiarch logb for PPC64.
4776
8fdad123
AZ
47772013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4778
4779 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
4780 isinff multiarch implementation.
4781 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
4782 file.
4783 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
4784 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
4785 multiarch isinf for PPC64.
4786 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
4787 file.
4788 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
4789 multiarch isinff for PPC64.
4790
1481d706
AZ
47912013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4792
4793 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
4794 finitef multiarch implementation.
4795 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
4796 file.
4797 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
4798 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
4799 multiarch finite for PPC64.
4800 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
4801 file.
4802 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
4803 multiarch finitef for PPC64.
4804
5ccd5fc8
AZ
48052013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4806
4807 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
4808 lrint multiarch implementation.
4809 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
4810 file.
4811 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
4812 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
4813 multiarch llrint for PPC64.
4814 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
4815 multiarch lrint for PPC64.
4816
2568f3fa
AZ
48172013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4818
4819 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
4820 copysignf multiarch implementation.
4821 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
4822 file.
4823 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
4824 file.
4825 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
4826 multiarch copysign for PPC64.
4827 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
4828 multiarch copysignf for PPC64.
4829
1cb341fd
AZ
48302013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4831
4832 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
4833 multiarch implementation.
4834 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
4835 file.
4836 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
4837 file.
4838 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
4839 file.
4840 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
4841 file.
4842 multiarch llround for PPC64.
4843 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
4844 multiarch trunc for PPC64.
4845 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
4846 multiarch truncf for PPC64.
4847
59a3e194
AZ
48482013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4849
4850 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
4851 multiarch implementation.
4852 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
4853 file.
4854 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
4855 file.
4856 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
4857 file.
4858 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
4859 file.
4860 multiarch llround for PPC64.
4861 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
4862 multiarch round for PPC64.
4863 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
4864 multiarch roundf for PPC64.
4865
357fd3b4
AZ
48662013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4867
4868 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
4869 multiarch implementation.
4870 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
4871 file.
4872 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
4873 file.
4874 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
4875 file.
4876 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
4877 file.
4878 multiarch llround for PPC64.
4879 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
4880 multiarch floor for PPC64.
4881 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
4882 multiarch floorf for PPC64.
4883
96770f12
AZ
48842013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4885
4886 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
4887 multiarch implementation.
4888 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
4889 file.
4890 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
4891 file.
4892 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
4893 file.
4894 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
4895 file.
4896 multiarch llround for PPC64.
4897 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
4898 multiarch ceil for PPC64.
4899 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
4900 multiarch ceilf for PPC64.
4901
c3627f6e
AZ
49022013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4903
4904 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
4905 multiarch implementation.
4906 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
4907 file.
4908 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
4909 file.
4910 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
4911 file.
4912 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
4913 multiarch llround for PPC64.
4914 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
4915 multiarch lround for PPC64.
4916
b2284ad7
AZ
49172013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4918
4919 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
4920 multiarch implementation.
4921 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
4922 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
4923 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
4924 file.
4925 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
4926 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
4927 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
4928 multiarch isnan for PPC64.
4929 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
4930 multiarch isnanf for PPC64.
4931
69bbc63d
AZ
49322013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4933
4934 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
4935 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
4936 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
4937 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
4938 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
4939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
4940
c24517c9
AZ
49412013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4942
4943 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
4944 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
4945 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4946 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
4947
a52374e8
AZ
49482013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4949
4950 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
4951 multiarch implementations.
4952 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4953 (__libc_ifunc_impl_list): Likewise.
4954 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
4955 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
4956 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
4957 multiarch stpcpy for PPC64.
4958
7f5ec113
AZ
49592013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4960
4961 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
4962 multiarch implementations.
4963 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4964 (__libc_ifunc_impl_list): Likewise.
4965 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
4966 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
4967 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
4968 multiarch strcpy for PPC64.
4969
e28bcd42
AZ
49702013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4971
4972 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
4973 redefine function name.
4974 (_wordcopy_fwd_dest_aligned): Likewise.
4975 (_wordcopy_bwd_aligned): Likewise.
4976 (_wordcopy_bwd_dest_aligned): Likewise.
4977 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
4978 multiarch implementations.
4979 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4980 (__libc_ifunc_impl_list): Likewise.
4981 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
4982 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
4983 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
4984 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
4985 multiarch wcscpy for PPC64.
4986
92cacfce
AZ
49872013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4988
4989 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
4990 multiarch implementations.
4991 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4992 (__libc_ifunc_impl_list): Likewise.
4993 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
4994 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
4995 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
4996 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
4997 multiarch wcscpy for PPC64.
4998
7b714620
AZ
49992013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5000
5001 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
5002 multiarch implementations.
5003 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5004 (__libc_ifunc_impl_list): Likewise.
5005 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
5006 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
5007 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
5008 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
5009 multiarch wcsrchr for PPC64.
5010
16fd2ae3
AZ
50112013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5012
5013 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
5014 multiarch implementations.
5015 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5016 (__libc_ifunc_impl_list): Likewise.
5017 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
5018 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
5019 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
5020 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
5021 multiarch wcschr for PPC64.
5022
9ee2969b
AZ
50232013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5024
5025 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
5026 multiarch implementations.
5027 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5028 (__libc_ifunc_impl_list): Likewise.
5029 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
5030 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
5031 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
5032 multiarch strchrnul for PPC64.
5033
372dc060
AZ
50342013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5035
5036 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
5037 implementations.
5038 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5039 (__libc_ifunc_impl_list): Likewise.
5040 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
5041 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
5042 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
5043 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
5044 strchr for PPC64.
5045
24c2c3b9
AZ
50462013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5047
5048 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
5049 implementations.
5050 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5051 (__libc_ifunc_impl_list): Likewise.
5052 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
5053 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
5054 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
5055 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
5056 strncmp for PPC64.
5057
1c92d9a0
AZ
50582013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5059
5060 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
5061 multiarch implementations.
5062 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5063 (__libc_ifunc_impl_list): Likewise.
5064 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
5065 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
5066 strncasecmp for PPC64.
5067 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
5068 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
5069 multiarch strncasecmp_l for PPC64.
5070
17de3ee3
AZ
50712013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5072
5073 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
5074 multiarch implementations.
5075 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5076 (__libc_ifunc_impl_list): Likewise.
5077 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
5078 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
5079 multiarch strcasecmp for PPC64.
5080 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
5081 file.
5082 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
5083 multiarch strcasecmp_l for PPC64.
5084
62982bf9
AZ
50852013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5086
5087 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
5088 implementations.
5089 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5090 (__libc_ifunc_impl_list): Likewise.
5091 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
5092 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
5093 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
5094 strnlen for PPC64.
5095
a65f4904
AZ
50962013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5097
5098 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
5099 implementations.
5100 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5101 (__libc_ifunc_impl_list): Likewise.
5102 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
5103 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
5104 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
5105 strlen for PPC64.
5106
1fd005ad
AZ
51072013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5108
5109 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
5110 implementations.
5111 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5112 (__libc_ifunc_impl_list): Likewise.
5113 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
5114 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
5115 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
5116 rawmemrchr for PPC64.
5117
cd05ba91
AZ
51182013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5119
5120 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
5121 implementation.
5122 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5123 (__libc_ifunc_impl_list): Likewise.
5124 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
5125 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
5126 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
5127 memrchr for PPC64.
5128
870f8676
AZ
51292013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5130
5131 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
5132 implementation.
5133 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5134 (__libc_ifunc_impl_list): Likewise.
5135 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
5136 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
5137 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
5138 memchr for PPC64.
5139
f00be62b
AZ
51402013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5141
5142 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
5143 implementation.
5144 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5145 (__libc_ifunc_impl_list): Likewise.
5146 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
5147 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
5148 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
5149 mempcpy for PPC64.
5150
8a29a3d0
AZ
51512013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5152
5153 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
5154 avoid cretion of __bzero symbol.
5155 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
5156 Likewise.
5157 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
5158 Likewise.
5159 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
5160 Likewise.
5161 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
5162 multiarch implementations.
5163 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5164 (__libc_ifunc_impl_list): Likewise.
5165 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
5166 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
5167 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
5168 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
5169 bzero for PPC32.
5170 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
5171 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
5172 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
5173 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
5174 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
5175 memset for PPC64.
5176 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
5177
07253fcf
AZ
51782013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5179
5180 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
5181 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
5182 implementations.
5183 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5184 (__libc_ifunc_impl_list): Likewise.
5185 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
5186 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
5187 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
5188 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
5189 memcmp for PPC64.
5190
b5beafbc
AZ
51912013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5192
5193 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
5194 multiarch for POWER/PPC64.
5195 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
5196 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
5197 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
5198 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
5199 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
5200 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
5201 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
5202 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
5203 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
5204 memcpy for PPC64.
5205
5e6a4d4b
AZ
52062013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5207
5208 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
5209 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
5210 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
5211 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
5212 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
5213 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
5214 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
5215 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
5216 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
5217 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
5218 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
5219 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
5220 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
5221 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
5222 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
5223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
5224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
5225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
5226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
5227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
5228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
5229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
5230
ddfab6dc
KK
52312013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5232
5233 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
5234
19b5525e
SP
52352013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5236
5237 * benchtests/Makefile (bench): Add exp2 and log2.
5238 (LDLIBS-bench-exp2): Add -lm.
5239 (LDLIBS-bench-log2): Likewise.
5240 * benchtests/exp2-inputs: New inputs file.
5241 * benchtests/log2-inputs: New inputs file.
5242 * benchtests/log-inputs: Add new inputs.
5243 * benchtests/tan-inputs: Likewise.
5244
196f7f5d
SP
52452013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5246
7a74607f
SP
5247 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
5248 definition...
5249 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
5250 csloww1, csloww2): ... from here.
5251
196f7f5d
SP
5252 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
5253 instead of structures.
5254 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
5255 (POLYNOMIAL): Likewise.
5256 (TAYLOR_SLOW): Likewise.
5257 (__sin): Likewise.
5258 (__cos): Likewise.
5259 (slow1): Likewise.
5260 (slow2): Likewise.
5261 (sloww): Likewise.
5262 (sloww1); Likewise.
5263 (sloww2): Likewise.
5264 (bsloww1): Likewise.
5265 (bsloww2): Likewise.
5266 (cslow2): Likewise.
5267 (csloww): Likewise.
5268 (csloww1): Likewise.
5269 (csloww2): Likewise.
5270
0dfa665c
OB
52712013-12-10 Ondřej Bílka <neleai@seznam.cz>
5272
5273 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
5274 (__malloc_assert, __libc_realloc, __libc_calloc,
5275 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
5276 memcpy and memset.
5277 * malloc/hooks.c (realloc_check): Likewise.
5278
5782a80f
OB
52792013-12-10 Ondřej Bílka <neleai@seznam.cz>
5280
5281 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
5282 * malloc/arena.c: Remove PER_THREAD conditional.
5283 [!PER_THREAD]: Remove code.
5284 (ptmalloc_unlock_all2): Likewise.
5285 (ptmalloc_init): Likewise.
5286 (_int_new_arena): Likewise.
5287 (arena_get2): Likewise.
5288 * malloc/hooks.c (__malloc_get_state): Likewise.
5289 (__malloc_set_state): Likewise.
5290 * malloc/malloc.c: Likewise.
5291 (struct malloc_state): Likewise.
5292 (struct malloc_par): Likewise.
5293 (__libc_realloc): Likewise.
5294 (__libc_mallopt): Likewise.
5295
aeb95445
AZ
52962013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5297
5298 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
5299
e8349efd
OB
53002013-12-09 Ondřej Bílka <neleai@seznam.cz>
5301
5302 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
5303 macro to a function. Check for zero perturb_byte.
5304 (_int_malloc, _int_free): Remove zero perturb_byte checks.
5305
f3eeb3fc
OB
53062013-12-09 Ondřej Bílka <neleai@seznam.cz>
5307
5308 * malloc/malloc.c: (force_reg): Remove.
5309 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
5310 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
5311 force_reg by atomic_forced_read.
5312 * malloc/arena.c (ptmalloc_init): Likewise.
5313 * malloc/hooks.c (top_check): Likewise.
5314
be2f9009
AZ
53152013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5316
5317 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5318
e7b914bd
MT
53192013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
5320
5321 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5322
9f0be4f8
JM
53232013-12-08 Joseph Myers <joseph@codesourcery.com>
5324
5325 * math/auto-libm-test-in: Add tests of lgamma.
5326 * math/auto-libm-test-out: Regenerated.
5327 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
5328 (M_LOG_2_SQRT_PIl): Likewise.
5329 (lgamma_test_data): Use AUTO_TESTS_f_f1.
5330 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5331 mpfr_f_f1.
5332 (func_calc_desc): Add mpfr_f_f1 union field.
5333 (ARGS1): New macro.
5334 (ARGS2): Likewise.
5335 (ARGS3): Likewise.
5336 (ARGS4): Likewise.
5337 (RET1): Likewise.
5338 (RET2): Likewise.
5339 (CALC): Likewise.
5340 (FUNC): Likewise.
5341 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
5342 (test_functions): Add lgamma.
5343 (calc_generic_results): Handle mpfr_f_f1.
5344 * sysdeps/i386/fpu/libm-test-ulps: Update.
5345 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5346
24eeafdb
AZ
53472013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5348
5349 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
5350 __mpn_add_n for PowerPC64/POWER7.
5351 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
5352 __mpn_sub_n for PowerPC64/POWER7.
5353
4a2c0fd4
AZ
53542013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5355
5356 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
5357 __mpn_addmul_1 for PowerPC64.
5358 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
5359 __mpn_submul_1 for PowerPC64.
5360 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
5361 for PowerPC64.
5362 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
5363 for PowerPC64.
5364
4b5b548c
FS
53652013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
5366
5367 [BZ #15089]
5368 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
5369
0a3ac0aa
AZ
53702013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5371
5372 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
5373
ccdc8438
AZ
53742013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5375
5376 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
5377 add multiarch folders.
5378 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
5379 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
5380 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
5381 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
5382 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
5383 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
5384 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
5385 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
5386 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
5387 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
5388 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
5389 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
5390 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
5391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
5392 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
5393 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
5394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
5395
2e973d99
AZ
53962013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5397
5398 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
5399 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
5400 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
5401 New file.
5402 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
5403 New file.
5404 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
5405 multiarch __ieee754_hypot for PowerPC32.
5406 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
5407 New file.
5408 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
5409 New file.
5410 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
5411 multiarch __ieee754_hypotf for PowerPC32.
5412
2d9470b2
AZ
54132013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5414
5415 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
5416 long_double_symbol only if __logbl is defined.
5417 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
5418 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
5419 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
5420 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
5421 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
5422 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
5423 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
5424 path for implementation.
5425 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
5426 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
5427 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
5428 logb, and logbl multiarch implementations for PowerPC32.
5429 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
5430 file.
5431 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
5432 file.
5433 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
5434 multiarch logb for PowerPC32.
5435 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
5436 file.
5437 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
5438 file.
5439 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
5440 multiarch logbf for PowerPC32.
5441 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
5442 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
5443 file.
5444 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
5445 multiarch logbl implementation for PowerPC32.
5446
5212ffce
AZ
54472013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5448
5449 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
5450 and modff multiarch implementations.
5451 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
5452 New file.
5453 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
5454 New file.
5455 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
5456 multiarch modf for PowerPC32.
5457 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
5458 New file.
5459 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
5460 New file.
5461 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
5462 multiarch modff for PowerPC32.
5463
79dccf31
AZ
54642013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5465
5466 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
5467 and lrintf multiarch implementations.
5468 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
5469 New file.
5470 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
5471 New file.
5472 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
5473 multiarch lrint for PowerPC32.
5474 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
5475 file: multiarch lrintf for PowerPC32.
5476
deb66480
AZ
54772013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5478
5479 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
5480 and lroundf multiarch implementations.
5481 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
5482 New file.
5483 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
5484 New file.
5485 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
5486 New file.
5487 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
5488 multiarch lround for PowerPC32.
5489 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
5490 file: multiarch lroundf for PowerPC32.
5491
264b036b
AZ
54922013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5493
5494 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
5495 copysign and copysignf multiarch implementations.
5496 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
5497 New file.
5498 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
5499 New file.
5500 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
5501 file: multiarch copysign for PowerPC32.
5502 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
5503 file: multiarch copysignf for PowerPC32.
5504
d47db6c9
AZ
55052013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5506
5507 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
5508 and truncf multiarch implementations.
5509 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
5510 New file.
5511 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
5512 file.
5513 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
5514 multiarch trunc for PowerPC32.
5515 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
5516 New file.
5517 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
5518 New file.
5519 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
5520 multiarch truncf for PowerPC32.
5521
ddb60b5a
AZ
55222013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5523
5524 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
5525 and roundf multiarch implementations.
5526 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
5527 New file.
5528 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
5529 file.
5530 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
5531 multiarch round for PowerPC32.
5532 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
5533 New file.
5534 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
5535 New file.
5536 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
5537 multiarch roundf for PowerPC32.
5538
bedcf49b
AZ
55392013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5540
5541 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
5542 and floorf multiarch implementations.
5543 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
5544 New file.
5545 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
5546 file.
5547 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
5548 multiarch floor for PowerPC32.
5549 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
5550 New file.
5551 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
5552 New file.
5553 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
5554 multiarch floorf for PowerPC32.
5555
35ae5b40
AZ
55562013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5557
5558 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
5559 and ceilf multiarch implementations.
5560 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
5561 New file.
5562 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
5563 file.
5564 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
5565 multiarch ceil for PowerPC32.
5566 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
5567 New file.
5568 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
5569 file.
5570 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
5571 multiarch ceilf for PowerPC32.
5572
ae1a4cd9
AZ
55732013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5574
5575 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
5576 is defined.
5577 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
5578 FINITEF is defined.
5579 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
5580 and finitef multiarch implementations.
5581 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
5582 New file.
5583 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
5584 file.
5585 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
5586 multiarch finite for PowerPC32.
5587 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
5588 New file.
5589 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
5590 file: multiarch finitef for PowerPC32.
5591
64fffd65
AZ
55922013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5593
5594 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
5595 and isinff multiarch implementations.
5596 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
5597 file.
5598 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
5599 file.
5600 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
5601 multiarch isinf for PowerPC32.
5602 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
5603 New file.
5604 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
5605 multiarch isinff for PowerPC32.
5606
8e4e7ba2
AZ
56072013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5608
5609 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
5610 alias when __isnan is defined.
5611 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
5612 and isnanf multiarch implementations.
5613 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
5614 file.
5615 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
5616 file.
5617 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
5618 file.
5619 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
5620 file.
5621 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
5622 multiarch isnan for PowerPC32.
5623 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
5624 New file.
5625 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
5626 New file.
5627 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
5628 multiarch isnanf for PowerPC32.
5629
ddba588e
AZ
56302013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5631
5632 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
5633 and sqrtf multiarch implementations.
5634 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
5635 file.
5636 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
5637 file.
5638 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
5639 multiarch sqrt for PowerPC32.
5640 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
5641 file.
5642 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
5643 file.
5644 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
5645 multiarch sqrtf for PowerPC32.
5646
0f96a2f0
AZ
56472013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5648
5649 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
5650 and llroundf multiarch implementations.
5651 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
5652 New file.
5653 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
5654 New file.
5655 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
5656 New file.
5657 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
5658 file: multiarch llround for PowerPC32.
5659 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
5660 file: multiarch llroundf for PowerPC32.
5661
c9b5d79e
AZ
56622013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5663
5664 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
5665 multiarch PowerPC32 fpu implementations.
5666 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
5667 New file.
5668 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
5669 New file.
5670 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
5671 multiarch llrint for PowerPC32.
5672 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
5673 New file.
5674 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
5675 New file.
5676 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
5677 file.
5678
9cbb3aab
AZ
56792013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5680
5681 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
5682
ea5a72f8
AZ
56832013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5684
5685 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
5686 file.
5687 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
5688 file.
5689 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
5690 file.
5691 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
5692 multiarch wordcopy for PPC32.
5693 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
5694 wordcopy objects.
5695 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5696 (__libc_ifunc_impl_list): Likewise.
5697 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
5698 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
5699 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
5700 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
5701 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
5702 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
5703
93be09e7
AZ
57042013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5705
5706 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
5707 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
5708 file.
5709 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
5710 file.
5711 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
5712 file.
5713 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
5714 multiarch wcscpy for PPC32.
5715 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
5716 multiarch objects.
5717 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5718 (__libc_ifunc_impl_list): Likewise.
5719 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
5720 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
5721 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
5722 sysdeps/powerpc/power6/wcscpy.c.
5723
bb04e529
AZ
57242013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5725
5726 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
5727 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
5728 file.
5729 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
5730 file.
5731 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
5732 file.
5733 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
5734 multiarch wcsrchr for PPC32.
5735 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
5736 multiarch objects.
5737 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5738 (__libc_ifunc_impl_list): Likewise.
5739 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
5740 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
5741 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
5742 sysdeps/powerpc/power6/wcsrchr.c.
5743
05b5cd1c
AZ
57442013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5745
5746 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
5747 file.
5748 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
5749 file.
5750 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
5751 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
5752 multiarch wcschr for PPc32.
5753 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
5754 multiarch objects.
5755 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5756 (__libc_ifunc_impl_list): Likewise.
5757 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
5758 * sysdeps/powerpc/power6/wcschr.c: ... to here.
5759 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
5760 sysdeps/powerpc/power6/wcschr.c.
5761
ba964147
AZ
57622013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5763
5764 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
5765 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
5766 file.
5767 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
5768 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
5769 file: multiarch strchr for PPC32.
5770 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
5771 multiarch objects.
5772 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5773 (__libc_ifunc_impl_list): Likewise.
5774
31c81aaa
AZ
57752013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5776
5777 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
5778 name.
5779 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
5780 file.
5781 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
5782 file.
5783 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
5784 multiarch strchrnul for PPC32.
5785 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
5786 multiarch objects.
5787 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5788 (__libc_ifunc_impl_list): Likewise.
5789
0d0607d9
AZ
57902013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5791
5792 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
5793 file.
5794 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
5795 multiarch strncasecmp for PPC32.
5796 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
5797 file.
5798 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
5799 multiarch strncasecmp_l for PPC32.
5800 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
5801 strncasecmp multiarch objects.
5802 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5803 (__libc_ifunc_impl_list): Likewise.
5804
4dfd5c86
AZ
58052013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5806
5807 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
5808 file.
5809 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
5810 multiarch strncasecmp for PPC32.
5811 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
5812 New file.
5813 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
5814 multiarch strcasecmp_l for PPC32.
5815 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
5816 multiarch objects.
5817 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5818 (__libc_ifunc_impl_list): Likewise.
5819
a19e01a3
AZ
58202013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5821
5822 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
5823 file.
5824 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
5825 file.
5826 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
5827 multiarch strncmp for PPC32.
5828 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
5829 multiarch objects.
5830 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5831 (__libc_ifunc_impl_list): Likewise.
5832
ae9cf7a2
AZ
58332013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5834
5835 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
5836 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
5837 file.
5838 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
5839 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
5840 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
5841 multiarch objects.
5842 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5843 (__libc_ifunc_impl_list): Likewise.
5844
3148bb7d
AZ
58452013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5846
5847 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
5848 file.
5849 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
5850 file.
5851 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
5852 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
5853 multiarch objects.
5854 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5855 (__libc_ifunc_impl_list): Likewise.
5856
7af8b946
AZ
58572013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5858
5859 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
5860 file.
5861 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
5862 file.
5863 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
5864 multiarch rawmemchr for PPC32.
5865 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
5866 multiarch objects.
5867 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5868 (__libc_ifunc_impl_list): Likewise.
5869
03a6aa6a
AZ
58702013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5871
5872 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
5873 file.
5874 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
5875 file.
5876 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
5877 file: memrchr multiarch for PPC32.
5878 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
5879 multiarch objects.
5880 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5881 (__libc_ifunc_impl_list): Likewise.
5882
1c62e6d9
AZ
58832013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5884
5885 * string/memchr.c (__memchr): Using macro to redefine symbol name.
5886 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
5887 file.
5888 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
5889 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
5890 multiarch memchr for PPC32.
5891 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
5892 multiarch objects.
5893 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
5894 (__libc_ifunc_impl_list): Likewise.
5895
87da8bdb
AZ
58962013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5897
5898 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
5899 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
5900 file.
5901 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
5902 file.
5903 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
5904 file: multiarch mempcpy for PPC32.
5905 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
5906 multiarch objects.
5907 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
5908 (__libc_ifunc_impl_list): Likewise.
5909
20ed4714
AZ
59102013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5911
5912 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
5913 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
5914 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
5915 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
5916 multiarch bzero for PPC32.
5917 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
5918 file.
5919 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
5920 file.
5921 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
5922 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
5923 file: multiarch memset for PPC32.
5924 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
5925 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
5926 memset multiarch objects.
5927 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
5928 (__libc_ifunc_impl_list): Likewise.
5929
ab3e3a46
AZ
59302013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5931
5932 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
5933 file.
5934 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
5935 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
5936 memcmp for PPC32.
5937 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
5938 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
5939 multiarch objects.
5940 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
5941 (__libc_ifunc_impl_list): Likewise.
5942
930de6f0
AZ
59432013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5944
5945 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
5946 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
5947 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
5948 file.
5949 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
5950 file.
5951 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
5952 file.
5953 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
5954 multiarch memcpy for PPC32.
5955 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
5956 multiarch objects.
5957 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
5958 (__libc_ifunc_impl_list): Likewise.
5959
4c628e00
AZ
59602013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5961
5962 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
5963 support multiarch for POWER/PPC32.
5964 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
5965 Likewise.
5966 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
5967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
5968 Implies file to make multiarch folder appers before the fpu and
5969 default folder for power4 configuration.
5970
f4479220
SP
59712013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
5972
5973 * scripts/bench.pl: Append volatile keyword to type.
5974
8517800f
KK
59752013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5976
5977 * sysdeps/sh/sotruss-lib.c: New file.
5978 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
5979
180138f1
AZ
59802013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5981
5982 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5983
bbf37bdc
JM
59842013-12-05 Joseph Myers <joseph@codesourcery.com>
5985
e47cc4e0
JM
5986 [BZ #6810]
5987 * math/w_tgamma.c: Include <errno.h>.
5988 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
5989 * math/w_tgammaf.c: Include <errno.h>.
5990 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
5991 * math/w_tgammal.c: Include <errno.h>.
5992 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
5993 * math/auto-libm-test-in: Do not allow missing errno on tgamma
5994 underflow. Add more tgamma tests.
5995 * math/auto-libm-test-out: Regenerated.
5996 * sysdeps/i386/fpu/libm-test-ulps: Update.
5997 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5998
bbf37bdc
JM
5999 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
6000 sin, sinh, tan, tanh, tgamma, y0 and y1.
6001 * math/auto-libm-test-out: Regenerated.
6002 * math/libm-test.inc (TEST_COND_x86_64): New macro.
6003 (TEST_COND_x86): Likewise.
6004 (M_E2l): Remove macro.
6005 (M_E3l): Likewise.
6006 (M_2_SQRT_PIl): Likewise.
6007 (M_SQRT_PIl): Likewise.
6008 (M_1_DIV_El): Likewise.
6009 (log_test_data): Use AUTO_TESTS_f_f.
6010 (log10_test_data): Likewise.
6011 (log1p_test_data): Likewise.
6012 (log2_test_data): Likewise.
6013 (sin_test_data): Likewise.
6014 (sin_tonearest_test_data): Likewise.
6015 (sin_towardzero_test_data): Likewise.
6016 (sin_downward_test_data): Likewise.
6017 (sin_upward_test_data): Likewise.
6018 (sinh_test_data): Likewise.
6019 (sinh_tonearest_test_data): Likewise.
6020 (sinh_towardzero_test_data): Likewise.
6021 (sinh_downward_test_data): Likewise.
6022 (sinh_upward_test_data): Likewise.
6023 (tan_test_data): Likewise.
6024 (tan_tonearest_test_data): Likewise.
6025 (tan_towardzero_test_data): Likewise.
6026 (tan_downward_test_data): Likewise.
6027 (tan_upward_test_data): Likewise.
6028 (tanh_test_data): Likewise.
6029 (tgamma_test_data): Likewise.
6030 (y0_test_data): Likewise.
6031 (y1_test_data): Likewise.
6032 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
6033 (special_real_inputs): Add pi/4.
6034 * sysdeps/i386/fpu/libm-test-ulps: Update.
6035 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6036
eb5ad6b9
AZ
60372013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6038
6039 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
6040 "longjmp_target" static probes.
6041 (__longjmp): Rename to __longjmp_symbol.
6042 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
6043 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
6044 on which longjmp to generate.
6045 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
6046 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
6047 probe.
6048 (__sigsetjmp): Rename to __sigsetjmp_symbol.
6049 (__sigjmp_save): Rename to __sigjmp_save_symbol.
6050 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
6051 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
6052 and __sigjmp_save_symbol based on which sigsetjmp to generated.
6053 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
6054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
6055 __longjmp_symbol based on which __longjmp to generate.
6056 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
6057 probe.
6058 (setjmp): Rename to setjmp_symbol.
6059 (__sigsetjmp): Rename to __sigsetjmp_symbol.
6060 (_setjmp): Rename to _setjmp_symbol.
6061 (__sigsetjmp): Rename to __sigsetjmp_symbol.
6062 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
6063 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
6064 which setjmp to generate.
6065 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
6066 "longjmp_target" static probes.
6067
d136c6dc
SP
60682013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
6069
9298ecba
SP
6070 * benchtests/README: Add note about output arguments.
6071 * benchtests/bench-sincos.c: Remove file.
6072 * benchtests/sincos-inputs: New file.
6073 * scripts/bench.pl: Identify output arguments and define
6074 static variables for them.
6075
232983e9
SP
6076 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
6077
d136c6dc
SP
6078 [BZ #15941]
6079 * Makefile (INSTALL): Add install-plain.texi as the primary
6080 dependency.
6081 * manual/install-plain.texi: New file.
6082 * manual/install.texi: Include node directive only for
6083 non-plaintext output.
6084
699ff837
JM
60852013-12-04 Joseph Myers <joseph@codesourcery.com>
6086
ab07cea8
JM
6087 * stdlib/longlong.h: Update from GCC.
6088
699ff837
JM
6089 [BZ #6807]
6090 [BZ #15901]
6091 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
6092 * math/w_j0f.c (y0f): Likewise.
6093 * math/w_j0l.c (__y0l): Likewise.
6094 * math/w_j1.c (y1): Likewise.
6095 * math/w_j1f.c (y1f): Likewise.
6096 * math/w_j1l.c (__y1l): Likewise
6097 * math/w_jn.c (yn): Likewise.
6098 * math/w_jnf.c (ynf): Likewise.
6099 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
6100 Bessel function pole errors in _POSIX_ mode. Use NAN as return
6101 value for Bessel function domain errors outside _SVID_ mode.
6102 Adjust sign of return value for yn (negative integer, 0).
6103 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
6104 by zero in return for negative x and set sign appropriately for
6105 negative n.
6106 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
6107 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
6108 * math/libm-test.inc (y0_test_data): Add more tests and adjust
6109 expectations in error cases.
6110 (y1_test_data): Likewise.
6111 (yn_test_data): Likewise.
6112 * sysdeps/i386/fpu/libm-test-ulps: Update.
6113 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6114
5b118558
UW
61152013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6116
6117 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
6118 "64" to "64-v1". Add "64-v2".
6119 (abi-64-options): Rename to ...
6120 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
6121 (abi-64-condition): Rename to ...
6122 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
6123 (abi-64-ld-soname): Rename to ...
6124 (abi-64-v1-ld-soname): ... this.
6125 (abi-64-v2-options): Define.
6126 (abi-64-v2-condition): Likewise.
6127 (abi-64-v2-ld-soname): Likewise.
6128 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
6129 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
6130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
6131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
6132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
6133
61cd8fe4
UW
61342013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6135 Alan Modra <amodra@gmail.com>
6136
6137 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
6138 New versions for use with the ELFv2 ABI.
6139 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
6140 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
6141 declaration.
6142 (struct La_ppc64v2_retval): Likewise.
6143 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
6144 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
6145 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
6146 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
6147 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
6148 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
6149 Do not save or restore CR.
6150 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
6151 (_dl_profile_resolve): Do no save or restore CR. Support extended
6152 return values for ELFv2 ABI. Fix location of FPR return registers.
6153 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
6154 updated values for _CALL_ELF == 2.
6155 (La_regs, La_retval, int_retval): Likewise.
6156
8b8a692c
UW
61572013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6158
6159 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
6160 (FRAME_MIN_SIZE_PARM): Likewise.
6161 (FRAME_BACKCHAIN): Likewise.
6162 (FRAME_CR_SAVE): Likewise.
6163 (FRAME_LR_SAVE): Likewise.
6164 (FRAME_TOC_SAVE): Likewise.
6165 (FRAME_PARM_SAVE): Likewise.
6166 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
6167 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
6168 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
6169 (call_mcount_parm_offset): New macro.
6170 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
6171 (PROF): Use symbolic stack frame offsets.
6172 (TAIL_CALL_SYSCALL_ERROR): Likewise.
6173 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
6174 Redefine in terms of FRAME_MIN_SIZE.
6175 (_dl_runtime_resolve): Use symbolic stack frame offsets.
6176 (_dl_profile_resolve): Likewise. Update comment.
6177 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
6178 symbols stack frame offsets.
6179 (__sigsetjmp): Likewise.
6180 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
6181 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
6182 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
6183 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
6184
6185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
6186 (FRAME_BACKCHAIN): Remove.
6187 (FRAME_CR_SAVE): Likewise.
6188 (FRAME_LR_SAVE): Likewise.
6189 (FRAME_COMPILER_DW): Likewise.
6190 (FRAME_LINKER_DW): Likewise.
6191 (FRAME_TOC_SAVE): Likewise.
6192 (FRAME_PARM_SAVE): Likewise.
6193 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
6194 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
6195 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
6196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
6197 (CHECK_SP): Use symbolic stack frame offsets.
6198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
6199 zone" instead of caller's parameter save area for temp storage.
6200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
6201 Likewise. Also, use symbolic stack frame offsets.
6202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
6203 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
6204 our own stack frame instead of the caller's.
6205 (__socket): Use symbolic stack frame offsets.
6206
122b66de
UW
62072013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6208 Alan Modra <amodra@gmail.com>
6209
6210 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
6211 Define.
6212 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
6213 PPC64_LOCAL_ENTRY_OFFSET): Define.
6214 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
6215 New function.
6216 (elf_machine_fixup_plt): Call it.
6217 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
6218 reloc arguments.
6219 (elf_machine_rela): Update call to elf_machine_plt_conflict.
54285cf9
SP
6220 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
6221 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
6222 r2 before calling target.
6223
696caf1d
UW
62242013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6225 Alan Modra <amodra@gmail.com>
6226
6227 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
6228 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
6229 versions of macros to support ELFv2 ABI.
6230 (LOCALENTRY): New macro.
6231 (ENTRY, EALIGN): Use it.
6232 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
6233 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
6234 fall through into ENTRY entry point.
6235 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
6236 Only define if _CALL_ELF != 2.
6237
6238 (elf_machine_matches_host): Verify ABI version matches.
6239 (RTLD_START): Use LOCALENTRY.
6240 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
6241 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
6242 (PLT_ENTRY_WORDS): New macro.
6243 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
6244 (elf_machine_runtime_setup): Support ELFv2 ABI.
6245 (elf_machine_fixup_plt): Likewise.
6246 (elf_machine_plt_conflict): Likewise.
6247 (resolve_ifunc): Likewise.
6248 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
6249 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
6250 Likewise.
6251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
6252 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
6253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
6254 (makecontext): Support ELFv2 ABI.
6255 * elf/elf.h (EF_PPC64_ABI): Define.
6256
d31beafa
UW
62572013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6258
6259 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
6260 New assembler macro.
6261 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
6262 [ASSEMBLER] (ENTRY): ... but instead here ...
6263 [ASSEMBLER] (EALIGN): ... and here.
6264 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
6265 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
6266 [!ASSEMBLER] (ENTRY_2): Use it.
6267 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
6268 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
6269 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
6270 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
6271 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
6272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
6273 Use PPC64_LOAD_FUNCPTR.
6274
b525166b
UW
62752013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6276
6277 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
6278
7ec07d9a
AM
62792013-12-04 Alan Modra <amodra@gmail.com>
6280
6281 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
6282 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
6283 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
6284 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
6285
6286 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
6287 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
6288 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
6289 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
6290 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
6291 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
6292
5162e7dd
UW
62932013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6294
6295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
6296 (__makecontext): Fix incorrect CFI when backtracing out of
6297 context created via makecontext.
6298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
6299 (__setcontext): Fix incorrect CFI during switch to new context.
6300 (__novec_setcontext): Likewise.
6301
19e3372b
OB
63022013-12-04 Ondřej Bílka <neleai@seznam.cz>
6303
6304 [BZ #4772]
6305 * time/strptime_l.c (__strptime_internal): Allow modifiers
6306 in strptime.
6307 * time/tst-strptime.c (day_tests): Add testcase.
6308
6309
ecaf142d
SP
63102013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6311
6312 * scripts/bench.pl: Skip over blank lines.
6313
fbf964ae
PE
63142013-12-04 Paul Eggert <eggert@cs.ucla.edu>
6315
6316 [BZ #926]
6317 * manual/time.texi (Calendar Time): Clarify what timezone functions
6318 use.
6319
fa60a674
AZ
63202013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6321
6322 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6323
d674f0ef
OB
63242013-12-04 Ondřej Bílka <neleai@seznam.cz>
6325
6326 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
6327 implementation.
6328 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
6329 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
6330 * debug/memset_chk.c (__memset_chk): Likewise.
6331 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
6332 * debug/strncpy_chk.c: Likewise.
6333
17dea188
JM
63342013-12-03 Joseph Myers <joseph@codesourcery.com>
6335
749008ff
JM
6336 [BZ #15268]
6337 [BZ #15425]
6338 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
6339 (__ieee754_exp): For possibly underflowing results, check size of
6340 result and force underflow exception if required.
6341 * math/auto-libm-test-in: Add more tests of exp.
6342 * math/auto-libm-test-out: Regenerated.
6343 * sysdeps/i386/fpu/libm-test-ulps: Update.
6344 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6345
17dea188
JM
6346 [BZ #16283]
6347 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
6348 * math/w_exp2f.c (__exp2f): Likewise.
6349 * math/w_exp2l.c (__exp2l): Likewise.
6350 * math/auto-libm-test-in: Do not allow missing errno on exp2
6351 underflow.
6352 * math/auto-libm-test-out: Regenerated.
6353
b20de2c3
OB
63542013-12-03 Ondřej Bílka <neleai@seznam.cz>
6355
6356 [BZ #16274]
6357 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
6358 handle filename validation.
6359 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
6360 (do_open): Delete.
6361
d8e2dbe3
JM
63622013-12-03 Joseph Myers <joseph@codesourcery.com>
6363
34e16df5
JM
6364 [BZ #6786]
6365 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
6366 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
6367 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
6368 <float.h>.
6369 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
6370 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
6371 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
6372 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
6373 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
6374 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
6375 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
6376 * math/auto-libm-test-in: Don't allow missing errno from erfc.
6377 Add more erfc tests.
6378 * math/auto-libm-test-out: Regenerated.
6379 * sysdeps/i386/fpu/libm-test-ulps: Update.
6380 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6381
d8e2dbe3
JM
6382 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
6383 exp2, expm1, j0 and j1.
6384 * math/auto-libm-test-out: Regenerated.
6385 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
6386 (erfc_test_data): Likewise.
6387 (exp_test_data): Likewise.
6388 (exp_tonearest_test_data): Likewise.
6389 (exp_towardzero_test_data): Likewise.
6390 (exp_downward_test_data): Likewise.
6391 (exp_upward_test_data): Likewise.
6392 (exp10_test_data): Likewise.
6393 (exp2_test_data): Likewise.
6394 (expm1_test_data): Likewise.
6395 (j0_test_data): Likewise.
6396 (j1_test_data): Likewise.
6397 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
6398 (input_flag_type): Add flag_xfail_rounding.
6399 (input_flags): Add xfail-rounding.
6400 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
6401 (output_for_one_input_case): Handle flag_xfail_rounding.
6402 * sysdeps/i386/fpu/libm-test-ulps: Update.
6403 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6404
18d14251
AJ
64052013-12-03 Aurelien Jarno <aurelien@aurel32.net>
6406
3d2e6075 6407 [BZ #16289]
18d14251
AJ
6408 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
6409 division by 0.
6410
520d437b
SP
64112013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
6412
6413 [BZ #16195]
6414 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
6415 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
6416 (STAP_PROBE0): New macro.
6417 (STAP_PROBE1): Likewise.
6418 (STAP_PROBE2): Likewise.
6419 (STAP_PROBE3): Likewise.
6420 (STAP_PROBE4): Likewise.
6421
416e0145
OB
64222013-12-02 Ondřej Bílka <neleai@seznam.cz>
6423
6424 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
6425
9d17796a
SE
64262013-12-02 Steve Ellcey <sellcey@mips.com>
6427
6428 * benchtests/Makefile (bench): Add sqrt.
6429 (LDLIBS-bench-sqrt): New.
6430 * benchtests/sqrt-input: New.
6431
f524d6a8
PS
64322013-12-02 Pavel Simerda <psimerda@redhat.com>
6433
639a0ef8
PS
6434 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
6435 (GAIH_EAI): Likewise.
6436 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
6437 (gaih_inet): Likewise.
6438 (getaddrinfo): Don't use GAIH_EAI.
6439
f524d6a8
PS
6440 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
6441 (struct gaih): Remove definition.
6442
df3aedaf
SP
64432013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6444
6445 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
6446 Use HERRNOP directly.
6447
1ab19dec
AZ
64482013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6449
b42ad38d 6450 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 6451
176b0c79
JM
64522013-11-30 Joseph Myers <joseph@codesourcery.com>
6453
6454 * math/gen-auto-libm-tests.c (test_functions): Add more
6455 single-argument functions.
6456 (special_fill_pi_2): New function.
6457 (special_fill_minus_pi_2): Likewise.
6458 (special_fill_pi_6): Likewise.
6459 (special_fill_minus_pi_6): Likewise.
6460 (special_fill_pi_3): Likewise.
6461 (special_fill_2pi_3): Likewise.
6462 (special_fill_e): Likewise.
6463 (special_fill_1_e): Likewise.
6464 (special_fill_e_minus_1): Likewise.
6465 (special_real_inputs): Add more special inputs.
6466 (output_for_one_input_case): Do not require ERANGE on underflow to
6467 zero if round-to-nearest result does not underflow to zero, unless
6468 exact results required.
6469 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
6470 atan, atanh, cbrt, cos and cosh.
6471 * math/auto-libm-test-out: Regenerated.
6472 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
6473 (acos_tonearest_test_data): Likewise.
6474 (acos_towardzero_test_data): Likewise.
6475 (acos_downward_test_data): Likewise.
6476 (acos_upward_test_data): Likewise.
6477 (acosh_test_data): Likewise.
6478 (asin_test_data): Likewise.
6479 (asin_tonearest_test_data): Likewise.
6480 (asin_towardzero_test_data): Likewise.
6481 (asin_upward_test_data): Likewise.
6482 (asinh_test_data): Likewise.
6483 (atan_test_data): Likewise.
6484 (atanh_test_data): Likewise.
6485 (cbrt_test_data): Likewise.
6486 (cos_test_data): Likewise.
6487 (cos_tonearest_test_data): Likewise.
6488 (cos_towardzero_test_data): Likewise.
6489 (cos_downward_test_data): Likewise.
6490 (cos_upward_test_data): Likewise.
6491 (cosh_test_data): Likewise.
6492 (cosh_tonearest_test_data): Likewise.
6493 (cosh_towardzero_test_data): Likewise.
6494 (cosh_downward_test_data): Likewise.
6495 (cosh_upward_test_data): Likewise.
6496 * sysdeps/i386/fpu/libm-test-ulps: Update.
6497 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6498
ffb536d0
JM
64992013-11-29 Joseph Myers <joseph@codesourcery.com>
6500
2a77a467
JM
6501 [BZ #6787]
6502 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
6503 * math/w_exp10f.c (__exp10f): Likewise.
6504 * math/w_exp10l.c (__exp10l): Likewise.
6505 * math/libm-test.inc (exp10_test_data): Add more tests and expect
6506 errno settings in existing tests.
6507
ea3bc4e8
JM
6508 [BZ #14032]
6509 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
6510 precision control set to double precision.
6511 * sysdeps/i386/fpu/w_sqrt.c: New file.
6512 * math/auto-libm-test-in: Add more tests.
6513 * math/auto-libm-test-out: Update.
6514
0712c9d8
JM
6515 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
6516 (sqrt_test_tonearest): New function.
6517 (sqrt_towardzero_test_data): New variable.
6518 (sqrt_test_towardzero): New function.
6519 (sqrt_downward_test_data): New variable.
6520 (sqrt_test_downward): New function.
6521 (sqrt_upward_test_data): New variable.
6522 (sqrt_test_upward): New function.
6523 (main): Call the new functions.
6524
ffb536d0
JM
6525 * math/gen-auto-libm-tests.c: New file.
6526 * math/auto-libm-test-in: Likewise.
6527 * math/auto-libm-test-out: New generated file.
6528 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
6529 variables.
6530 (%beautify): Add generated representations of zero.
6531 (top level): Set $auto_input and call parse_auto_input.
6532 (beautify): Remove trailing "f" from hex float constants.
6533 (parse_args): Handle XFAIL_TEST.
6534 (convert_condition): New function.
6535 (or_value): Likewise.
6536 (or_cond_value): Likewise.
6537 (generate_testfile): Handle AUTO_TESTS_* lines.
6538 (parse_auto_input): New function.
6539 * math/libm-test.inc (XFAIL_TEST): New macro.
6540 (ERRNO_UNCHANGED): Update value.
6541 (ERRNO_EDOM): Likewise.
6542 (ERRNO_ERANGE): Likewise.
6543 (IGNORE_RESULT): Likewise.
6544 (TEST_COND_flt_32): New macro.
6545 (TEST_COND_dbl_64): Likewise.
6546 (TEST_COND_ldbl_96_intel): Likewise.
6547 (TEST_COND_ldbl_96_m68k): Likewise.
6548 (TEST_COND_ldbl_128): Likewise.
6549 (TEST_COND_ldbl_128ibm): Likewise.
6550 (TEST_COND_long32): Likewise.
6551 (TEST_COND_long64): Likewise.
6552 (TEST_COND_before_rounding): Likewise.
6553 (TEST_COND_after_rounding): Likewise.
6554 (enable_test): Handle XFAIL_TEST flag.
6555 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
6556 with finite results.
6557 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
6558 auto-libm-test-out.
6559
acd98a8e
AK
65602013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
6561 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6562
6563 [BZ #16214]
6564 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
6565 __tls_get_addr_internal instead of __tls_get_offset in order to
6566 avoid GOT pointer dependency. Make rtld export
6567 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
6568 __tls_get_addr since we are a __tls_get_offset platform.
6569 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
6570 GOT pointer being set up before.
6571 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
6572
3c1c46a6
JM
65732013-11-28 Joseph Myers <joseph@codesourcery.com>
6574
7475aef5
JM
6575 * manual/math.texi (Errors in Math Functions): Document accuracy
6576 goals.
6577
8bca7cd8
JM
6578 [BZ #15004]
6579 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
6580 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
6581 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
6582 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
6583 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
6584 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
6585 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
6586 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
6587 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
6588 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
6589 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
6590 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
6591 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
6592 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
6593 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
6594 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
6595
91a1f3fe
JM
6596 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
6597 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
6598 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
6599 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
6600 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
6601 Likewise.
6602 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
6603 Likewise.
6604 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
6605 Likewise.
6606 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
6607 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
6608 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
6609 atomic-feupdateenv and flt-rounds.
6610 * sysdeps/powerpc/nofpu/Versions (libc): Add
6611 __atomic_feholdexcept, __atomic_feclearexcept,
6612 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
6613 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
6614 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
6615 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
6616 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
6617 here.
6618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
6619 Update.
6620
c5df7609
JM
6621 * manual/arith.texi (FP Exceptions): Document that exceptions may
6622 not be raised when matherr is used.
6623 (Math Error Reporting): Document overflow in directed rounding
6624 modes. Document that errno may not be set when finite values are
6625 returned on overflow. Document intent to set errno on underflow
6626 only for underflow to zero.
6627
3c1c46a6
JM
6628 [BZ #16271]
6629 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
6630 round-to-nearest then adjust result for other rounding modes.
6631 * include/fenv.h (fegetround): Use libm_hidden_proto.
6632 * math/fegetround.c (fegetround): Use libm_hidden_def.
6633 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
6634 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
6635 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
6636 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
6637 Likewise.
6638 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
6639 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
6640 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
6641 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
6642
5a4c6d53
SP
66432013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6644
6645 [BZ #16077]
6646 * nss/Versions (libnss_files): Add
6647 _nss_files_gethostbyname3_r.
6648 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
6649 New function.
6650 (HOST_DB_LOOKUP): Remove macro.
6651 (_nss_files_gethostbyname_r): Implement function without the
6652 HOST_DB_LOOKUP macro.
6653 (_nss_files_gethostbyname2_r): Likewise.
6654
897b98ba
OB
66552013-11-28 Ondřej Bílka <neleai@seznam.cz>
6656
6657 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
6658
6f476861
UB
66592013-11-26 Uros Bizjak <ubizjak@gmail.com>
6660
6661 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
6662 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
6663 warning.
6664
bd12ab55
AZ
66652013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6666
6667 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
6668 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
6669 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
6670 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
6671 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
6672 __fe_nomask_env_priv and attribute_hidden.
6673 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
6674 (libc_feupdateenv_test_ppc): Likewise.
6675 (libc_feresetround_ppc): Likewise.
6676 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
6677 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
6678 compat_symbol macro.
6679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
6680 (__fe_nomask_env): Likewise.
6681 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
6682
52bb6543
OB
66832013-11-26 Ondřej Bílka <neleai@seznam.cz>
6684
6685 * string/Makefile: Remove ifunc tests.
6686 * string/test-string.h: Define TEST_IFUNC.
6687 * string/test-bcopy-ifunc.c: Remove.
6688 * string/test-bzero-ifunc.c: Likewise.
6689 * string/test-memccpy-ifunc.c: Likewise.
6690 * string/test-memchr-ifunc.c: Likewise.
6691 * string/test-memcmp-ifunc.c: Likewise.
6692 * string/test-memcpy-ifunc.c: Likewise.
6693 * string/test-memmem-ifunc.c: Likewise.
6694 * string/test-memmove-ifunc.c: Likewise.
6695 * string/test-mempcpy-ifunc.c: Likewise.
6696 * string/test-memrchr-ifunc.c: Likewise.
6697 * string/test-memset-ifunc.c: Likewise.
6698 * string/test-rawmemchr-ifunc.c: Likewise.
6699 * string/test-stpcpy-ifunc.c: Likewise.
6700 * string/test-stpncpy-ifunc.c: Likewise.
6701 * string/test-strcasecmp-ifunc.c: Likewise.
6702 * string/test-strcasestr-ifunc.c: Likewise.
6703 * string/test-strcat-ifunc.c: Likewise.
6704 * string/test-strchr-ifunc.c: Likewise.
6705 * string/test-strchrnul-ifunc.c: Likewise.
6706 * string/test-strcmp-ifunc.c: Likewise.
6707 * string/test-strcpy-ifunc.c: Likewise.
6708 * string/test-strcspn-ifunc.c: Likewise.
6709 * string/test-strlen-ifunc.c: Likewise.
6710 * string/test-strncasecmp-ifunc.c: Likewise.
6711 * string/test-strncat-ifunc.c: Likewise.
6712 * string/test-strncmp-ifunc.c: Likewise.
6713 * string/test-strncpy-ifunc.c: Likewise.
6714 * string/test-strnlen-ifunc.c: Likewise.
6715 * string/test-strpbrk-ifunc.c: Likewise.
6716 * string/test-strrchr-ifunc.c: Likewise.
6717 * string/test-strspn-ifunc.c: Likewise.
6718 * string/test-strstr-ifunc.c: Likewise.
6719
ab260039 67202013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
6721
6722 * benchtests/Makefile: Remove ifunc tests.
6723 * benchtests/bench-string.h: Define TEST_IFUNC.
6724 * benchtests/bench-bcopy-ifunc.c: Remove.
6725 * benchtests/bench-bzero-ifunc.c: Likewise.
6726 * benchtests/bench-memccpy-ifunc.c: Likewise.
6727 * benchtests/bench-memchr-ifunc.c: Likewise.
6728 * benchtests/bench-memcmp-ifunc.c: Likewise.
6729 * benchtests/bench-memcpy-ifunc.c: Likewise.
6730 * benchtests/bench-memmem-ifunc.c: Likewise.
6731 * benchtests/bench-memmove-ifunc.c: Likewise.
6732 * benchtests/bench-mempcpy-ifunc.c: Likewise.
6733 * benchtests/bench-memrchr-ifunc.c: Likewise.
6734 * benchtests/bench-memset-ifunc.c: Likewise.
6735 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
6736 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
6737 * benchtests/bench-stpcpy-ifunc.c: Likewise.
6738 * benchtests/bench-stpncpy-ifunc.c: Likewise.
6739 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
6740 * benchtests/bench-strcasestr-ifunc.c: Likewise.
6741 * benchtests/bench-strcat-ifunc.c: Likewise.
6742 * benchtests/bench-strchr-ifunc.c: Likewise.
6743 * benchtests/bench-strchrnul-ifunc.c: Likewise.
6744 * benchtests/bench-strcmp-ifunc.c: Likewise.
6745 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
6746 * benchtests/bench-strcpy-ifunc.c: Likewise.
6747 * benchtests/bench-strcspn-ifunc.c: Likewise.
6748 * benchtests/bench-strlen-ifunc.c: Likewise.
6749 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
6750 * benchtests/bench-strncat-ifunc.c: Likewise.
6751 * benchtests/bench-strncmp-ifunc.c: Likewise.
6752 * benchtests/bench-strncpy-ifunc.c: Likewise.
6753 * benchtests/bench-strnlen-ifunc.c: Likewise.
6754 * benchtests/bench-strpbrk-ifunc.c: Likewise.
6755 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 6756 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
6757 * benchtests/bench-strspn-ifunc.c: Likewise.
6758 * benchtests/bench-strstr-ifunc.c: Likewise.
6759
67602013-11-26 Ondřej Bílka <neleai@seznam.cz>
6761
ab260039
OB
6762 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
6763
d1d9eaf4 67642013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 6765
d1d9eaf4
OB
6766 * resolv/netdb.h: Use __glibc_reserved instead __unused.
6767 * rt/aio.h: Likewise.
6768 * sysdeps/gnu/bits/utmp.h: Likewise.
6769 * sysdeps/gnu/bits/utmpx.h: Likewise.
6770 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
6771 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
6772 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
6773 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
6774 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
6775 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
6776 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
6777 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
6778 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
6779 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
6780 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
6781 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
6782 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
6783 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
6784 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
6785 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
6786 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
6787 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
6788 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
6789 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
6790 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
6791 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
6792 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
6793 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
6794 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
6795 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
6796 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
6797 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
6798 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
6799 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
6800 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
6801 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
6802 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
6803 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
6804 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
6805 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
6806 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
6807 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
6808 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
6809 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
6810 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
6811 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
6812
a7624ed9
CD
68132013-11-25 Carlos O'Donell <carlos@redhat.com>
6814
6815 [BZ #16245]
6816 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
6817 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
6818
63cfe52b
JM
68192013-11-25 Joseph Myers <joseph@codesourcery.com>
6820
6821 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
6822 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
6823 Likewise.
6824
41e8926a
AZ
68252013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6826
6827 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
6828 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
6829 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
6830 (__fesetround): Remove define.
6831 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
6832 rounding and exceptions handling.
6833 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
6834 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
6835 (__fe_nomask_env): Likewise.
6836 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
6837 __fegetround instead of fegetround.
6838 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
6839 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
6840
6851bd4d
RM
68412013-11-21 Roland McGrath <roland@hack.frob.com>
6842
070906ff
RM
6843 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
6844 it's there.
6845
6851bd4d
RM
6846 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
6847
84ae135d
MI
68482013-11-21 Meador Inge <meadori@codesourcery.com>
6849
6850 [BZ #11157]
6851 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
6852 (encrypt_r): Likewise.
6853 * malloc/obstack.h (obstack_free): Likewise.
6854 * posix/unistd.h (encrypt): Likewise.
6855
daf75146
GM
68562013-11-21 Guy Martin <gmsoft@tuxicoman.be>
6857
6858 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
6859 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
6860 DL_CALL_DT_FINI() that call the functions directly.
6861 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
6862 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
6863 * elf/dl-fini.c: Likewise.
6864
10ad46bc
OB
68652013-11-20 Ondřej Bílka <neleai@seznam.cz>
6866
6867 * malloc/hooks.c (memalign_check): Add alignment rounding.
6868 * malloc/malloc.c (_mid_memalign): New function.
6869 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
6870 Implement by calling _mid_memalign.
6871 * manual/probes.texi (Memory Allocation Probes): Remove
6872 memory_valloc_retry and memory_pvalloc_retry.
6873
f3fd2628
SP
68742013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
6875
4712799f
SP
6876 * locale/programs/locarchive.c (open_archive): Add const
6877 qualifier to ARCHIVEFNAME and copy default fname to
6878 DEFAULT_FNAME.
6879
0417b20f
SP
6880 [BZ #15601]
6881 * libio/tst-widetext.input: Rename Oriya to Odia.
6882 * locale/iso-639.def: Likewise.
6883
f3fd2628
SP
6884 * manual/probes.texi (Mathematical Function Probes): Add
6885 documentation for sin, cos, asin and acos probes.
6886 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
6887 (__sin32): Add slowasin probe.
6888 (__cos32): Add slowacos probe.
6889 (__mpsin): Add slowsin probe.
6890 (__mpcos): Add slowcos probe.
6891
73c1ce4f
JM
68922013-11-19 Joseph Myers <joseph@codesourcery.com>
6893
6894 [BZ #15483]
6895 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
6896 thread-local __sim_exceptions_thread and global
6897 __sim_exceptions_global.
6898 (__sim_disabled_exceptions): Change to thread-local
6899 __sim_disabled_exceptions_thread and global
6900 __sim_disabled_exceptions_global.
6901 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
6902 and global __sim_round_mode_global.
6903 (__simulate_exceptions): Use thread-local floating-point state and
6904 set global state from it as needed.
6905 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
6906 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
6907 __sim_round_mode_thread.
6908 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
6909 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
6910 and global __sim_exceptions_global.
6911 (__sim_disabled_exceptions): Change to thread-local
6912 __sim_disabled_exceptions_thread and global
6913 __sim_disabled_exceptions_global.
6914 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
6915 and global __sim_round_mode_global.
6916 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
6917 (SIM_SET_GLOBAL): Likewise.
6918 * sysdeps/powerpc/soft-fp/sfp-machine.h
6919 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
6920 __sim_round_mode_thread.
6921 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
6922 __sim_disabled_exceptions_thread.
6923 (__sim_exceptions): Change to __sim_exceptions_thread.
6924 (__sim_disabled_exceptions): Change to
6925 __sim_disabled_exceptions_thread.
6926 (__sim_round_mode): Change to __sim_round_mode_thread.
6927 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
6928 thread-local floating-point state and set global state from it as
6929 needed.
6930 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
6931 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
6932 (__sim_disabled_exceptions): Remove extern declaration.
6933 (feenableexcept): Use thread-local floating-point state and set
6934 global state from it as needed.
6935 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
6936 extern declaration.
6937 (__sim_disabled_exceptions): Likewise.
6938 (__sim_round_mode): Likewise.
6939 (__fegetenv): Use thread-local floating-point state.
6940 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
6941 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
6942 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
6943 floating-point state and set global state from it as needed.
6944 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
6945 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
6946 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
6947 Likewise.
6948 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
6949 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
6950 Likewise.
6951 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
6952 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
6953 Use __sim_round_mode_thread.
6954 * math/test-fenv-tls.c: New file.
6955 * math/Makefile (tests): Add test-fenv-tls.
6956 ($(objpfx)test-fenv-tls): Depend on
6957 $(common-objpfx)nptl/libpthread.so.
6958
b5449b12
AS
69592013-11-19 Andreas Schwab <schwab@suse.de>
6960
6961 * locale/programs/locale.c (show_info): Decode wordarray elements.
6962 * locale/categories.def (LC_MONETARY): Add element for
6963 _NL_MONETARY_CRNCYSTR.
6964 * locale/C-monetary.c (conversion_rate): New variable.
6965 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
6966 element.
6967
e186536b
CM
69682013-11-18 Chris Metcalf <cmetcalf@tilera.com>
6969
6970 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
6971 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
6972
5c349950
PP
69732013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
6974
6975 * elf/Makefile (tst-auxv): New test.
6976 * elf/tst-auxv.c: New
6977 * elf/rtld.c (dl_main): Adjust AT_EXECFN
6978
699df45b
JM
69792013-11-18 Joseph Myers <joseph@codesourcery.com>
6980
6981 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
6982 (hidden_proto): Caller changed.
6983 (hidden_tls_proto): New macro.
6984 (libc_hidden_tls_proto): Likewise.
6985 (rtld_hidden_tls_proto): Likewise.
6986 (libm_hidden_tls_proto): Likewise.
6987 (libresolv_hidden_tls_proto): Likewise.
6988 (librt_hidden_tls_proto): Likewise.
6989 (libdl_hidden_tls_proto): Likewise.
6990 (libnss_files_hidden_tls_proto): Likewise.
6991 (libnsl_hidden_tls_proto): Likewise.
6992 (libnss_nisplus_hidden_tls_proto): Likewise.
6993 (libutil_hidden_tls_proto): Likewise.
6994
b7589107
OB
69952013-11-18 Ondřej Bílka <neleai@seznam.cz>
6996
6997 [BZ #10253]
6998 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
6999 (decompose_rpath): Defer expansion to fillin_rpath.
7000 (_dl_init_paths): Pass linkmap to fillin_rpath.
7001
250c23bd
RS
70022013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7003
7004 * benchtests/Makefile: Add strsep.
7005 * benchtests/bench-strsep.c: New file: strsep benchtest.
7006 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
7007
a7931fcf
AS
70082013-11-18 Andreas Schwab <schwab@suse.de>
7009
7010 * locale/programs/locale.c (show_info) [case byte]: Check for
7011 '\377' instead of '\177'.
7012 * locale/C-monetary.c (not_available): Always use "\377".
7013 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
7014 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
7015 detect unavailable sign_posn locale elements.
7016 * locale/localeconv.c (__localeconv): For grouping and
7017 mon_grouping handle "\177" and "\377" like no grouping.
7018 (INT_ELEM): New macro. Use it to set all numeric members.
7019 * locale/programs/ld-monetary.c (monetary_read)
7020 <tok_mon_grouping>: Normalize single -1 to the empty string.
7021 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
7022 Likewise.
7023
728dab0e
OB
70242013-11-07 Ondřej Bílka <neleai@seznam.cz>
7025
7026 [BZ #16055]
7027 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
7028 when we match (nil).
7029 * stdio-common/tst-sscanf.c (struct test): Add testcase.
7030
66294491
JM
70312013-11-16 Joseph Myers <joseph@codesourcery.com>
7032
ce665817
JM
7033 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
7034 (NO_TEST_INLINE): Update value.
7035 (ERRNO_UNCHANGED): Likewise.
7036 (ERRNO_EDOM): Likewise.
7037 (ERRNO_ERANGE): Likewise.
7038 (IGNORE_RESULT): Likewise.
7039 (check_float_internal): Check signs of NaN results if
7040 TEST_NAN_SIGN used.
7041 (check_complex): Pass TEST_NAN_SIGN flag through to second
7042 check_float_internal call.
7043 (copysign_test_data): Add tests with quiet NaNs as second
7044 argument. Use TEST_NAN_SIGN.
7045 (fabs_test_data): Add test of negative quiet NaN argument. Use
7046 TEST_NAN_SIGN.
7047 (signbit_test_data): Add tests of quiet NaN argument.
7048 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
7049
ee1466a9
JM
7050 * math/gen-libm-test.pl (show_exceptions): Take extra argument
7051 $ignore_result.
7052 (parse_args): Handle function results specified as IGNORE.
7053 * math/libm-test.inc (IGNORE_RESULT): New macro.
7054 (check_float_internal): Do not check numerical result if flag
7055 IGNORE_RESULT set.
7056 (check_complex): Pass through IGNORE_RESULT to second
7057 check_float_internal call.
7058 (check_int): Do not check numerical result if flag IGNORE_RESULT
7059 set.
7060 (check_long): Likewise.
7061 (check_bool): Likewise.
7062 (check_longlong): Likewise.
7063 (lrint_test_data): Add tests of infinite and NaN arguments.
7064 (lrint_tonearest_test_data): Likewise.
7065 (lrint_towardzero_test_data): Likewise.
7066 (lrint_downward_test_data): Likewise.
7067 (lrint_upward_test_data): Likewise.
7068 (llrint_test_data): Likewise.
7069 (llrint_tonearest_test_data): Likewise.
7070 (llrint_towardzero_test_data): Likewise.
7071 (llrint_downward_test_data): Likewise.
7072 (llrint_upward_test_data): Likewise.
7073 (lround_test_data): Likewise.
7074 (llround_test_data): Likewise.
7075
14407b7e
JM
7076 * math/libm-test.inc (NO_TEST_INLINE): New macro.
7077 (ERRNO_UNCHANGED): Update value.
7078 (ERRNO_EDOM): Likewise.
7079 (ERRNO_ERANGE): Likewise.
7080 (NO_TEST_INLINE_FLOAT): New macro.
7081 (NO_TEST_INLINE_DOUBLE): Likewise.
7082 (enable_test): New function.
7083 (RUN_TEST_f_f): Check enable_test before running test.
7084 (RUN_TEST_2_f): Likewise.
7085 (RUN_TEST_fff_f): Likewise.
7086 (RUN_TEST_c_f): Likewise.
7087 (RUN_TEST_f_f1): Likewise.
7088 (RUN_TEST_fF_f1): Likewise.
7089 (RUN_TEST_fI_f1): Likewise.
7090 (RUN_TEST_ffI_f1): Likewise.
7091 (RUN_TEST_c_c): Likewise.
7092 (RUN_TEST_cc_c): Likewise.
7093 (RUN_TEST_f_i): Likewise.
7094 (RUN_TEST_f_i_tg): Likewise.
7095 (RUN_TEST_ff_i_tg): Likewise.
7096 (RUN_TEST_f_b): Likewise.
7097 (RUN_TEST_f_b_tg): Likewise.
7098 (RUN_TEST_f_l): Likewise.
7099 (RUN_TEST_f_L): Likewise.
7100 (RUN_TEST_fFF_11): Likewise.
7101 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
7102 conditionals.
7103 (cosh_test_data): Likewise.
7104 (exp_test_data): Likewise.
7105 (expm1_test_data): Likewise.
7106 (hypot_test_data): Likewise.
7107 (pow_test_data): Likewise.
7108 (sinh_test_data): Likewise.
7109 (tanh_test_data): Likewise.
7110 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
7111 flags argument.
7112
ca07f197
JM
7113 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
7114 tests with quiet NaN input and output.
7115 (acosh_test_data): Likewise.
7116 (asin_test_data): Likewise.
7117 (asinh_test_data): Likewise.
7118 (atan_test_data): Likewise.
7119 (atanh_test_data): Likewise.
7120 (atan2_test_data): Likewise.
7121 (cbrt_test_data): Likewise.
7122 (cos_test_data): Likewise.
7123 (cosh_test_data): Likewise.
7124 (erf_test_data): Likewise.
7125 (erfc_test_data): Likewise.
7126 (exp_test_data): Likewise.
7127 (exp10_test_data): Likewise.
7128 (exp2_test_data): Likewise.
7129 (expm1_test_data): Likewise.
7130 (hypot_test_data): Likewise.
7131 (j0_test_data): Likewise.
7132 (j1_test_data): Likewise.
7133 (jn_test_data): Likewise.
7134 (lgamma_test_data): Likewise.
7135 (log_test_data): Likewise.
7136 (log10_test_data): Likewise.
7137 (log1p_test_data): Likewise.
7138 (log2_test_data): Likewise.
7139 (pow_test_data): Likewise.
7140 (scalb_test_data): Likewise.
7141 (sin_test_data): Likewise.
7142 (sincos_test_data): Likewise.
7143 (sinh_test_data): Likewise.
7144 (tan_test_data): Likewise.
7145 (tanh_test_data): Likewise.
7146 (tgamma_test_data): Likewise.
7147 (y0_test_data): Likewise.
7148 (y1_test_data): Likewise.
7149 (yn_test_data): Likewise.
7150
66294491
JM
7151 [BZ #16167]
7152 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
7153 argument being NaN and avoid computations with second argument in
7154 that case.
7155 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
7156 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
7157 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
7158
1820b143
CL
71592013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
7160
7161 * locale/iso-639.def: Add Chitwani Tharu (the).
7162
714bd261
AS
71632013-11-14 Andreas Schwab <schwab@suse.de>
7164
7165 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
7166 word instead of empty string.
7167
7ab44563
AZ
71682013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7169
7170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
7171 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
7172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7173 (__fe_nomask_env): Likewise.
7174
e8470ea2
SE
71752013-11-13 Steve Ellcey <sellcey@mips.com>
7176
7177 * benchtests/bench-timing.h: Include time.h.
7178
17c1d9f0
L
71792013-11-13 H.J. Lu <hongjiu.lu@intel.com>
7180
7181 [BZ #15997]
7182 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
7183 to 3.4.0 for x32.
7184 * sysdeps/unix/sysv/linux/configure: Regenerated.
7185
9310c284
JM
71862013-11-13 Joseph Myers <joseph@codesourcery.com>
7187
7188 [BZ #16151]
7189 * stdlib/strtod_l.c (round_and_return): Do not consider
7190 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
7191 exponent one less than half the least subnormal exponent.
7192 * stdlib/test-strtod-round-data: Add more tests.
7193 * stdlib/tst-strtod-round.c (tests): Regenerated.
7194
7a2ad8cf
AZ
71952013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7196
7197 [BZ #14143]
7198 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
7199 (__fe_mask_env): Likewise.
7200 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
7201 libm_hidden_proto and add function prototype.
7202 (__fe_mask_env): Add function prototype.
7203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
7204 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
7205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
7206 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
7207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7208 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
7209
50727aa7
MS
72102013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7211
b2f386c1 7212 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
7213 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
7214
a615be46
MS
72152013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7216
7217 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
7218 of htab_find_slot().
7219
7ddace62
DM
72202013-11-11 David S. Miller <davem@davemloft.net>
7221
7222 [BZ #16150]
7223 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
7224 symbol in the non-vis3 case in static builds.
7225 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
7226 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
7227 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
7228 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
7229
9182aa67
JK
72302013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7231
7232 [BZ #387]
7233 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
7234 it is empty.
7235
450a2e2d
AZ
72362013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7237
b2f386c1
SP
7238 * benchtests/Makefile: Add bench-strtod.
7239 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 7240
8ec3f656
AS
72412013-11-11 Andreas Schwab <schwab@suse.de>
7242
7243 [BZ #16153]
7244 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
7245 terminating NUL in key length.
7246
76a9b998
AZ
72472013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7248
7249 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
7250 Add artificial ODP entry for vDSO symbol for PPC64.
7251 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
7252 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
7253
e4368156
OB
72542013-11-07 Ondřej Bílka <neleai@seznam.cz>
7255
7256 [BZ #15374]
7257 * nss/getent.c (services_keys): Recognize services starting with digit.
7258
8d6bb57c
DM
72592013-11-06 David S. Miller <davem@davemloft.net>
7260
7261 [BZ #15985]
7262 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
7263 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
7264
e256c421
WN
72652013-11-06 Will Newton <will.newton@linaro.org>
7266
7267 * manual/memory.texi (Malloc Examples): Remove register
7268 keyword from examples.
7269
f6e12daa 72702013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 7271
f6e12daa 7272 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 7273
9d880655
AS
72742013-11-04 Joseph Myers <joseph@codesourcery.com>
7275
fd2f9486 7276 [BZ #6981]
9d880655
AS
7277 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
7278 depending on [__GCC_IEC_559 > 0].
7279 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
7280 depending on [__GCC_IEC_559_COMPLEX > 0].
7281
ae129d3c
CL
72822013-11-03 Chris Leonard <cjl@sugarlabs.org>
7283
7284 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
7285 to iso-639.def.
7286
4a15c2a4 72872013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
7288
7289 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
7290
8b35e35d
OB
72912013-11-01 Ondřej Bílka <neleai@seznam.cz>
7292
7293 [BZ #16112]
7294 * malloc/malloc (malloc_info): Do not handle first bin as
7295 special case.
7296
1d70fd6c
CL
72972013-11-01 Chris Leonard <cjl@sugarlabs.org>
7298
7299 * locale/iso-639.def: Add Central Nahuatl (nhn).
7300
8c5c2600
BH
73012013-11-01 Bruno Haible <bruno@clisp.org>
7302
7303 [BZ #7003]
7304 * manual/math.texi (BSD Random): Specify range upper bound as
7305 in POSIX.
7306
da5579c2
CL
73072013-10-31 Chris Leonard <cjl@sugarlabs.org>
7308
7309 * locale/iso-639.def: Add Meadow Mari (mhr).
7310
5d30d853
OB
73112013-10-31 Ondřej Bílka <neleai@seznam.cz>
7312
7313 [BZ #14752], [BZ #15763]
7314 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
7315 Validate name.
7316 * rt/tst_shm.c: Add test for escaping directory.
7317
a4966c61
AS
73182013-10-31 Andreas Schwab <schwab@suse.de>
7319
8a43e768 7320 [BZ #15917]
a4966c61
AS
7321 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
7322 followed by 'x' as part of digit sequence.
7323 * stdio-common/tst-sscanf.c (double_tests2): New tests.
7324
28d708c4
MAP
73252013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
7326
7327 [BZ #16037]
7328 * configure.ac: allow GNU Make 4.0 and greater.
7329 * configure: Regenerated.
7330
a56ee40b
WN
73312013-10-30 Will Newton <will.newton@linaro.org>
7332
7333 [BZ #16038]
7334 * malloc/hooks.c (memalign_check): Limit alignment to the
7335 maximum representable power of two.
7336 * malloc/malloc.c (__libc_memalign): Likewise.
7337 * malloc/tst-memalign.c (do_test): Add test for very
7338 large alignment values.
7339 * malloc/tst-posix_memalign.c (do_test): Likewise.
7340
c6e4925d
OB
73412013-10-30 Ondřej Bílka <neleai@seznam.cz>
7342
7343 [BZ #11087]
7344 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
7345 (munmap_chunk): Likewise.
7346 (mremap_chunk): Likewise.
7347
73482013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 7349
8a43e768 7350 [BZ #15799]
bbea82f7
OB
7351 * stdlib/div.c (div): Remove obsolete code.
7352 * stdlib/ldiv.c (ldiv): Likewise.
7353 * stdlib/lldiv.c (lldiv): Likewise.
7354
977f4b31
SP
73552013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7356
7357 [BZ #16071]
7358 * nss/nss_files/files-XXX.c (get_contents_ret): New
7359 enumerator.
7360 (get_contents): New function.
7361 (internal_getent): Use it. Expand size of LINEBUFLEN.
7362
cb8a6dbd
MF
73632013-10-30 Mike Frysinger <vapier@gentoo.org>
7364
7365 * configure.in: Moved to ...
7366 * configure.ac: ... here. Change reference to configure.in
7367 to configure.ac.
7368 * sysdeps/arm/preconfigure.ac: ... here.
7369 configure.in to configure.ac.
7370 * sysdeps/gnu/configure.in: Moved to ...
7371 * sysdeps/gnu/configure.ac: ... here.
7372 * sysdeps/i386/configure.in: Moved to ...
7373 * sysdeps/i386/configure.ac: ... here.
7374 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
7375 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
7376 * sysdeps/mach/configure.in: Moved to ...
7377 * sysdeps/mach/configure.ac: ... here.
7378 * sysdeps/mach/hurd/configure.in: Moved to ...
7379 * sysdeps/mach/hurd/configure.ac: ... here.
7380 * sysdeps/powerpc/configure.in: Moved to ...
7381 * sysdeps/powerpc/configure.ac: ... here.
7382 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
7383 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
7384 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
7385 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
7386 * sysdeps/s390/s390-32/configure.in: Moved to ...
7387 * sysdeps/s390/s390-32/configure.ac: ... here.
7388 * sysdeps/s390/s390-64/configure.in: Moved to ...
7389 * sysdeps/s390/s390-64/configure.ac: ... here.
7390 * sysdeps/sh/configure.in: Moved to ...
7391 * sysdeps/sh/configure.ac: ... here.
7392 * sysdeps/sparc/configure.in: Moved to ...
7393 * sysdeps/sparc/configure.ac: ... here.
7394 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
7395 * sysdeps/unix/sysv/linux/configure.ac: ... here.
7396 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
7397 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
7398 * sysdeps/x86_64/configure.in: Moved to ...
7399 * sysdeps/x86_64/configure.ac: ... here.
7400 * sysdeps/x86_64/preconfigure.in: Moved to ...
7401 * sysdeps/x86_64/preconfigure.ac: ... here.
7402 * aclocal.m4: Change reference to configure.in to configure.ac.
7403 * config.h.in: Likewise.
7404 * manual/install.texi: Likewise.
7405 * manual/maint.texi: Likewise.
7406 * Makefile: Likewise.
7407 * malloc/Makefile: Likewise.
7408 * nscd/Makefile: Likewise.
7409 * Makeconfig: Change reference to configure.in and
7410 preconfigure.in to configure.ac and preconfigure.ac
7411 respectively.
7412 * INSTALL: Regenerated.
7413 * configure: Likewise.
7414 * sysdeps/gnu/configure: Likewise.
7415 * sysdeps/i386/configure: Likewise.
7416 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
7417 * sysdeps/mach/configure: Likewise.
7418 * sysdeps/mach/hurd/configure: Likewise.
7419 * sysdeps/powerpc/configure: Likewise.
7420 * sysdeps/powerpc/powerpc32/configure: Likewise.
7421 * sysdeps/powerpc/powerpc64/configure: Likewise.
7422 * sysdeps/s390/s390-32/configure: Likewise.
7423 * sysdeps/s390/s390-64/configure: Likewise.
7424 * sysdeps/sh/configure: Likewise.
7425 * sysdeps/sparc/configure: Likewise.
7426 * sysdeps/unix/sysv/linux/configure: Likewise.
7427 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
7428 * sysdeps/x86_64/configure: Likewise.
7429 * sysdeps/x86_64/preconfigure: Likewise.
7430
36a4953a
AS
74312013-10-29 Andreas Schwab <schwab@suse.de>
7432
7433 * stdio-common/Makefile (tst-swscanf-ENV): Define.
7434
c79a1204
SP
74352013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7436
dfa1b402
SP
7437 * benchtests/pow-inputs: Add new inputs.
7438
54f73d9c
SP
7439 * benchtests/exp-inputs: Add new inputs.
7440
c79a1204
SP
7441 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
7442 conditional check for return value.
7443 (__cos32): Likewise.
7444
67beb545 74452013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
7446
7447 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
7448 to provide a boost for large inputs with word alignment.
7449 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
7450 implementation based on optimized PPC64 strcpy.
7451 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
7452 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
7453 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
7454 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
7455
151659f6
OB
74562013-10-25 Ondřej Bílka <neleai@seznam.cz>
7457
482a077e 7458 [BZ #2801]
151659f6
OB
7459 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
7460
10b0f26b
OB
74612013-10-25 Ondřej Bílka <neleai@seznam.cz>
7462
7463 [BZ #14876]
7464 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
7465 * time/tst-strptime.c (day_tests): Add testcase.
7466
ca42d35e
OB
74672013-10-25 Ondřej Bílka <neleai@seznam.cz>
7468
482a077e 7469 [BZ #14029]
ca42d35e
OB
7470 * manual/pattern.texi: Acknowledge that fnmatch can fail.
7471
52e6d801
FB
74722013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
7473
7474 [BZ #16074]
7475 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
7476 MAP_FAILED on error.
7477
7cbcdb36
SP
74782013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
7479
7480 [BZ #16072]
7481 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
7482 heap for large requests.
7483
894f3f10
AM
74842013-10-25 Aurelien Jarno <aurelien@aurel32.net>
7485
7486 [BZ #9954]
7487 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
7488 result if the result has no associated interface.
7489 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
7490 interface for all 127.X.Y.Z addresses.
7491
b85545a6
CL
74922013-10-24 Chris Leonard <cjl@sugarlabs.org>
7493
7494 * locale/iso-639.def: Add Ligurian (lij)
7495
d1f23d46
OB
74962013-10-21 Ondřej Bílka <neleai@seznam.cz>
7497
7498 [BZ #15825]
7499 * sunrpc/rpc_main.c: Document rpcgen -5.
7500
4db5b08f
MS
75012013-10-19 Michael Stahl <mstahl@redhat.com>
7502
7503 * elf/rtld.c (do_preload): Print the reason why preloading failed.
7504
a471e96a
OB
75052013-10-19 Ondřej Bílka <neleai@seznam.cz>
7506
d1f23d46 7507 [BZ #10278]
a471e96a
OB
7508 * posix/glob.c: Match only directories when trailing slash is present.
7509 * posix/tst-gnuglob.c (my_opendir): Do not open files.
7510 (main): Add testcase.
7511
45c30c61
OB
75122013-10-19 Ondřej Bílka <neleai@seznam.cz>
7513
7514 [BZ #15670]
7515 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
7516
484c12fb
CD
75172013-10-18 Carlos O'Donell <carlos@redhat.com>
7518
3d7dc513
CD
7519 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
7520 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
7521 AUTH_DES and cindex for FIPS 140-2.
7522 (DES Encryption): Add cindex FIPS 46-3.
7523
484c12fb
CD
7524 * locale/locarchive.h (struct locarhandle): Add fname.
7525 * locale/programs/localedef.c (main): Pass ARGV[remaining]
7526 if an optional argument was specified to --list-archive,
7527 otherwise NULL.
7528 * locale/programs/locarchive.c (show_archive_content): Take new
7529 argument fname and pass it via ah.fname to open_archive.
7530 * locale/programs/localedef.h: Update decl.
7531 (open_archive): If AH->fname is non-null, open that file
7532 rather than the default file name, and don't ignore ENOENT.
7533 (create_archive): Set AH.fname to NULL.
7534 (delete_locales_from_archive): Likewise.
7535 (add_locales_to_archive): Likewise.
7536 * locale/programs/locfile.c (write_all_categories): Likewise.
7537
3c8325fb
JM
75382013-10-18 Joseph Myers <joseph@codesourcery.com>
7539 Aldy Hernandez <aldyh@redhat.com>
7540
7541 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
7542 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
7543 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
7544 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
7545 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
7546 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
7547 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
7548 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
7549 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
7550 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
7551 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
7552 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
7553 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
7554 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
7555 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
7556 Likewise.
7557 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
7558 Likewise.
7559 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
7560 Likewise.
7561 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
7562 Likewise.
7563 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
7564 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
7565 Likewise.
7566 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
7567 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
7568 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
7569 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
7570 Likewise.
7571 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
7572 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
7573 * sysdeps/powerpc/preconfigure: Likewise.
7574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
7575 Likewise.
7576 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
7577 Replace contents of file by #include of <fenv_libc.h>.
7578 * sysdeps/powerpc/soft-fp/sfp-machine.h
7579 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
7580 and <sys/prctl.h>.
7581 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
7582 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
7583 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
7584 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
7585 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
7586 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
7587 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
7588 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
7589 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
7590 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
7591 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
7592 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
7593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
7594 Allow copysignl PLT reference to be missing.
7595
5abe0682
RS
75962013-10-18 Richard Sandiford <richard@codesourcery.com>
7597 Joseph Myers <joseph@codesourcery.com
7598
7599 [BZ #15948]
7600 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
7601 single character.
7602 (add_to_tablewc): Assert sequence of wide characters is nonempty.
7603
c7738d08
SP
76042013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7605
7606 * elf/tst-tls-dlinfo.c: Don't include tls.h.
7607 * elf/tst-tls1.c: Likewise.
7608 * elf/tst-tls10.h: Likewise.
7609 * elf/tst-tls14.c: Likewise.
7610 * elf/tst-tls2.c: Likewise.
7611 * elf/tst-tls3.c: Likewise.
7612 * elf/tst-tls4.c: Likewise.
7613 * elf/tst-tls5.c: Likewise.
7614 * elf/tst-tls6.c: Likewise.
7615 * elf/tst-tls7.c: Likewise.
7616 * elf/tst-tls8.c: Likewise.
7617 * elf/tst-tls9.c: Likewise.
7618 * elf/tst-tlsmod1.c: Likewise.
7619 * elf/tst-tlsmod13.c: Likewise.
7620 * elf/tst-tlsmod13a.c: Likewise.
7621 * elf/tst-tlsmod14a.c: Likewise.
7622 * elf/tst-tlsmod16a.c: Likewise.
7623 * elf/tst-tlsmod16b.c: Likewise.
7624 * elf/tst-tlsmod2.c: Likewise.
7625 * elf/tst-tlsmod3.c: Likewise.
7626 * elf/tst-tlsmod4.c: Likewise.
7627 * elf/tst-tlsmod5.c: Likewise.
7628 * elf/tst-tlsmod6.c: Likewise.
7629
0bfcf2c7
OB
76302013-10-18 Ondřej Bílka <neleai@seznam.cz>
7631
7632 [BZ #12486]
7633 * malloc/malloc.c: remove checks for statistics.
7634
264aad1e
OB
76352013-10-17 Ondřej Bílka <neleai@seznam.cz>
7636
7637 [BZ #15277]
7638 * inet/inet_net.c (inet_network): Detect additional invalid strings.
7639 * inet/tst-network.c: Add testcase.
7640
b957ced8
AS
76412013-10-17 Andreas Schwab <schwab@suse.de>
7642
7643 [BZ #15218]
7644 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
7645 to determine canonical name.
7646
c5d5d574
OB
76472013-10-17 Ondřej Bílka <neleai@seznam.cz>
7648
7649 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
7650 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
7651 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7652 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
7653 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7654 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
7655 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
7656 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
7657 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
7658 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
7659 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
7660 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
7661 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
7662 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
7663 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
7664 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
7665 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7666 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
7667 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
7668 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
7669 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7670 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7671 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7672 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
7673 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
7674 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
7675 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
7676 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
7677 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
7678 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
7679 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
7680 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7681 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
7682 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
7683 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
7684 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
7685 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
7686 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
7687 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
7688 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7689 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
7690 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
7691 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
7692 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
7693 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
7694 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
7695 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
7696 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
7697 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
7698 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
7699 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
7700 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
7701 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
7702 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
7703 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
7704 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
7705 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7706 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
7707
e5c2c2d0
JM
77082013-10-17 Joseph Myers <joseph@codesourcery.com>
7709
7710 [BZ #16041]
7711 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
7712 make result into a quiet NaN.
7713
51ca9e29
JM
77142013-10-16 Joseph Myers <joseph@codesourcery.com>
7715
7716 * soft-fp/adddf3.c: Fix horizontal whitespace.
7717 * soft-fp/addsf3.c: Likewise.
7718 * soft-fp/addtf3.c: Likewise.
7719 * soft-fp/divdf3.c: Likewise.
7720 * soft-fp/divsf3.c: Likewise.
7721 * soft-fp/divtf3.c: Likewise.
7722 * soft-fp/double.h: Likewise.
7723 * soft-fp/eqdf2.c: Likewise.
7724 * soft-fp/eqsf2.c: Likewise.
7725 * soft-fp/eqtf2.c: Likewise.
7726 * soft-fp/extenddftf2.c: Likewise.
7727 * soft-fp/extended.h: Likewise.
7728 * soft-fp/extendsfdf2.c: Likewise.
7729 * soft-fp/extendsftf2.c: Likewise.
7730 * soft-fp/extendxftf2.c: Likewise.
7731 * soft-fp/fixdfdi.c: Likewise.
7732 * soft-fp/fixdfsi.c: Likewise.
7733 * soft-fp/fixdfti.c: Likewise.
7734 * soft-fp/fixsfdi.c: Likewise.
7735 * soft-fp/fixsfsi.c: Likewise.
7736 * soft-fp/fixsfti.c: Likewise.
7737 * soft-fp/fixtfdi.c: Likewise.
7738 * soft-fp/fixtfsi.c: Likewise.
7739 * soft-fp/fixtfti.c: Likewise.
7740 * soft-fp/fixunsdfdi.c: Likewise.
7741 * soft-fp/fixunsdfsi.c: Likewise.
7742 * soft-fp/fixunsdfti.c: Likewise.
7743 * soft-fp/fixunssfdi.c: Likewise.
7744 * soft-fp/fixunssfsi.c: Likewise.
7745 * soft-fp/fixunssfti.c: Likewise.
7746 * soft-fp/fixunstfdi.c: Likewise.
7747 * soft-fp/fixunstfsi.c: Likewise.
7748 * soft-fp/fixunstfti.c: Likewise.
7749 * soft-fp/floatdidf.c: Likewise.
7750 * soft-fp/floatdisf.c: Likewise.
7751 * soft-fp/floatditf.c: Likewise.
7752 * soft-fp/floatsidf.c: Likewise.
7753 * soft-fp/floatsisf.c: Likewise.
7754 * soft-fp/floatsitf.c: Likewise.
7755 * soft-fp/floattidf.c: Likewise.
7756 * soft-fp/floattisf.c: Likewise.
7757 * soft-fp/floattitf.c: Likewise.
7758 * soft-fp/floatundidf.c: Likewise.
7759 * soft-fp/floatundisf.c: Likewise.
7760 * soft-fp/floatunditf.c: Likewise.
7761 * soft-fp/floatunsidf.c: Likewise.
7762 * soft-fp/floatunsisf.c: Likewise.
7763 * soft-fp/floatunsitf.c: Likewise.
7764 * soft-fp/floatuntidf.c: Likewise.
7765 * soft-fp/floatuntisf.c: Likewise.
7766 * soft-fp/floatuntitf.c: Likewise.
7767 * soft-fp/fmadf4.c: Likewise.
7768 * soft-fp/fmasf4.c: Likewise.
7769 * soft-fp/fmatf4.c: Likewise.
7770 * soft-fp/gedf2.c: Likewise.
7771 * soft-fp/gesf2.c: Likewise.
7772 * soft-fp/getf2.c: Likewise.
7773 * soft-fp/ledf2.c: Likewise.
7774 * soft-fp/lesf2.c: Likewise.
7775 * soft-fp/letf2.c: Likewise.
7776 * soft-fp/muldf3.c: Likewise.
7777 * soft-fp/mulsf3.c: Likewise.
7778 * soft-fp/multf3.c: Likewise.
7779 * soft-fp/negdf2.c: Likewise.
7780 * soft-fp/negsf2.c: Likewise.
7781 * soft-fp/negtf2.c: Likewise.
7782 * soft-fp/op-1.h: Likewise.
7783 * soft-fp/op-2.h: Likewise.
7784 * soft-fp/op-4.h: Likewise.
7785 * soft-fp/op-8.h: Likewise.
7786 * soft-fp/op-common.h: Likewise.
7787 * soft-fp/quad.h: Likewise.
7788 * soft-fp/single.h: Likewise.
7789 * soft-fp/soft-fp.h: Likewise.
7790 * soft-fp/sqrtdf2.c: Likewise.
7791 * soft-fp/sqrtsf2.c: Likewise.
7792 * soft-fp/sqrttf2.c: Likewise.
7793 * soft-fp/subdf3.c: Likewise.
7794 * soft-fp/subsf3.c: Likewise.
7795 * soft-fp/subtf3.c: Likewise.
7796 * soft-fp/truncdfsf2.c: Likewise.
7797 * soft-fp/trunctfdf2.c: Likewise.
7798 * soft-fp/trunctfsf2.c: Likewise.
7799 * soft-fp/trunctfxf2.c: Likewise.
7800 * soft-fp/unorddf2.c: Likewise.
7801 * soft-fp/unordsf2.c: Likewise.
7802 * soft-fp/unordtf2.c: Likewise.
7803
9ebb0332
JM
78042013-10-15 Joseph Myers <joseph@codesourcery.com>
7805
7806 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
7807 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
7808
4b1a6d8b
OB
78092013-10-15 Ondřej Bílka <neleai@seznam.cz>
7810
7811 * elf/dl-libc.c: Clear initfini list after freeing.
7812
1e145589
JM
78132013-10-14 Joseph Myers <joseph@codesourcery.com>
7814
7815 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
7816 * soft-fp/addsf3.c: Likewise.
7817 * soft-fp/addtf3.c: Likewise.
7818 * soft-fp/divdf3.c: Likewise.
7819 * soft-fp/divsf3.c: Likewise.
7820 * soft-fp/divtf3.c: Likewise.
7821 * soft-fp/double.h: Likewise.
7822 * soft-fp/eqdf2.c: Likewise.
7823 * soft-fp/eqsf2.c: Likewise.
7824 * soft-fp/eqtf2.c: Likewise.
7825 * soft-fp/extenddftf2.c: Likewise.
7826 * soft-fp/extended.h: Likewise.
7827 * soft-fp/extendsfdf2.c: Likewise.
7828 * soft-fp/extendsftf2.c: Likewise.
7829 * soft-fp/extendxftf2.c: Likewise.
7830 * soft-fp/fixdfdi.c: Likewise.
7831 * soft-fp/fixdfsi.c: Likewise.
7832 * soft-fp/fixdfti.c: Likewise.
7833 * soft-fp/fixsfdi.c: Likewise.
7834 * soft-fp/fixsfsi.c: Likewise.
7835 * soft-fp/fixsfti.c: Likewise.
7836 * soft-fp/fixtfdi.c: Likewise.
7837 * soft-fp/fixtfsi.c: Likewise.
7838 * soft-fp/fixtfti.c: Likewise.
7839 * soft-fp/fixunsdfdi.c: Likewise.
7840 * soft-fp/fixunsdfsi.c: Likewise.
7841 * soft-fp/fixunsdfti.c: Likewise.
7842 * soft-fp/fixunssfdi.c: Likewise.
7843 * soft-fp/fixunssfsi.c: Likewise.
7844 * soft-fp/fixunssfti.c: Likewise.
7845 * soft-fp/fixunstfdi.c: Likewise.
7846 * soft-fp/fixunstfsi.c: Likewise.
7847 * soft-fp/fixunstfti.c: Likewise.
7848 * soft-fp/floatdidf.c: Likewise.
7849 * soft-fp/floatdisf.c: Likewise.
7850 * soft-fp/floatditf.c: Likewise.
7851 * soft-fp/floatsidf.c: Likewise.
7852 * soft-fp/floatsisf.c: Likewise.
7853 * soft-fp/floatsitf.c: Likewise.
7854 * soft-fp/floattidf.c: Likewise.
7855 * soft-fp/floattisf.c: Likewise.
7856 * soft-fp/floattitf.c: Likewise.
7857 * soft-fp/floatundidf.c: Likewise.
7858 * soft-fp/floatundisf.c: Likewise.
7859 * soft-fp/floatunsidf.c: Likewise.
7860 * soft-fp/floatunsisf.c: Likewise.
7861 * soft-fp/floatuntidf.c: Likewise.
7862 * soft-fp/floatuntisf.c: Likewise.
7863 * soft-fp/floatuntitf.c: Likewise.
7864 * soft-fp/fmadf4.c: Likewise.
7865 * soft-fp/fmasf4.c: Likewise.
7866 * soft-fp/fmatf4.c: Likewise.
7867 * soft-fp/gedf2.c: Likewise.
7868 * soft-fp/gesf2.c: Likewise.
7869 * soft-fp/getf2.c: Likewise.
7870 * soft-fp/ledf2.c: Likewise.
7871 * soft-fp/lesf2.c: Likewise.
7872 * soft-fp/letf2.c: Likewise.
7873 * soft-fp/muldf3.c: Likewise.
7874 * soft-fp/mulsf3.c: Likewise.
7875 * soft-fp/multf3.c: Likewise.
7876 * soft-fp/negdf2.c: Likewise.
7877 * soft-fp/negsf2.c: Likewise.
7878 * soft-fp/negtf2.c: Likewise.
7879 * soft-fp/op-1.h: Likewise.
7880 * soft-fp/op-2.h: Likewise.
7881 * soft-fp/op-4.h: Likewise.
7882 * soft-fp/op-8.h: Likewise.
7883 * soft-fp/op-common.h: Likewise.
7884 * soft-fp/quad.h: Likewise.
7885 * soft-fp/single.h: Likewise.
7886 * soft-fp/soft-fp.h: Likewise.
7887 * soft-fp/sqrtdf2.c: Likewise.
7888 * soft-fp/sqrtsf2.c: Likewise.
7889 * soft-fp/sqrttf2.c: Likewise.
7890 * soft-fp/subdf3.c: Likewise.
7891 * soft-fp/subsf3.c: Likewise.
7892 * soft-fp/subtf3.c: Likewise.
7893 * soft-fp/truncdfsf2.c: Likewise.
7894 * soft-fp/trunctfdf2.c: Likewise.
7895 * soft-fp/trunctfsf2.c: Likewise.
7896 * soft-fp/trunctfxf2.c: Likewise.
7897 * soft-fp/unorddf2.c: Likewise.
7898 * soft-fp/unordsf2.c: Likewise.
7899 * soft-fp/unordtf2.c: Likewise.
7900
17c48a60
OB
79012013-10-14 Ondřej Bílka <neleai@seznam.cz>
7902
7903 [BZ #15672]
7904 * misc/error.c (error_tail): Fix possible buffer overflow.
7905
cabba934
OB
79062013-10-14 Aurelien Jarno <aurelien@aurel32.net>
7907
7908 [BZ #13028]
7909 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
7910 address.
7911
94bf958a
PM
79122013-10-14 P. J. McDermott <pj@pehjota.net>
7913
7914 [BZ #832]
7915 * elf/ldd.bash.in (try_trace): New function. Delete previous code
7916 testing pipefail option.
7917
71b4dea7
JM
79182013-10-12 Joseph Myers <joseph@codesourcery.com>
7919
7920 * soft-fp/double.h: Indent preprocessor directives inside #if.
7921 * soft-fp/extended.h: Likewise.
7922 * soft-fp/op-2.h: Likewise.
7923 * soft-fp/op-4.h: Likewise.
7924 * soft-fp/op-common.h: Likewise.
7925 * soft-fp/quad.h: Likewise.
7926 * soft-fp/single.h: Likewise.
7927 * soft-fp/soft-fp.h: Likewise.
7928
55602758
YC
79292013-10-12 Yuri Chornoivan <yurchor@ukr.net>
7930
7931 * iconv/iconv_prog.c: Fix typos.
7932 * stdio-common/psiginfo-data.h: Likewise.
7933
9cd83302
RT
79342013-10-12 Reuben Thomas <rrt@sc3d.org>
7935
7936 [BZ #15764]
7937 * locale/setlocale.c: Fix typo.
7938
99fd9f47
JM
79392013-10-12 Joseph Myers <joseph@codesourcery.com>
7940
b7ea74f0
JM
7941 [BZ #16036]
7942 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
7943 signaling NaN arguments.
7944 * soft-fp/unordsf2.c (__unordsf2): Likewise.
7945 * soft-fp/unordtf2.c (__unordtf2): Likewise.
7946
8a509447
JM
7947 [BZ #14910]
7948 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
7949 unordered operands.
7950 * soft-fp/gesf2.c (__gesf2): Likewise.
7951 * soft-fp/getf2.c (__getf2): Likewise.
7952 * soft-fp/ledf2.c (__ledf2): Likewise.
7953 * soft-fp/lesf2.c (__lesf2): Likewise.
7954 * soft-fp/letf2.c (__letf2): Likewise.
7955
98998e9f
JM
7956 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
7957 * soft-fp/eqsf2.c (__eqsf2): Likewise.
7958 * soft-fp/eqtf2.c (__eqtf2): Likewise.
7959 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
7960 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
7961 * soft-fp/fixdfti.c (__fixdfti): Likewise.
7962 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
7963 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
7964 * soft-fp/fixsfti.c (__fixsfti): Likewise.
7965 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
7966 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
7967 * soft-fp/fixtfti.c (__fixtfti): Likewise.
7968 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
7969 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
7970 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
7971 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
7972 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
7973 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
7974 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
7975 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
7976 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
7977 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
7978 * soft-fp/floatdisf.c (__floatdisf): Likewise.
7979 * soft-fp/floatsisf.c (__floatsisf): Likewise.
7980 * soft-fp/floattidf.c (__floattidf): Likewise.
7981 * soft-fp/floattisf.c (__floattisf): Likewise.
7982 * soft-fp/floattitf.c (__floattitf): Likewise.
7983 * soft-fp/floatundidf.c (__floatundidf): Likewise.
7984 * soft-fp/floatundisf.c (__floatundisf): Likewise.
7985 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
7986 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
7987 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
7988 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
7989 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
7990 * soft-fp/gesf2.c (__gesf2): Likewise.
7991 * soft-fp/getf2.c (__getf2): Likewise.
7992 * soft-fp/ledf2.c (__ledf2): Likewise.
7993 * soft-fp/lesf2.c (__lesf2): Likewise.
7994 * soft-fp/letf2.c (__letf2): Likewise.
7995
8edc4a11
JM
7996 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
7997 Undefine and redefine.
7998 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
7999 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
8000 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
8001 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
8002 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8003 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
8004 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8005 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
8006 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8007 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
8008 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8009 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
8010 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8011 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
8012 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8013
8399acaf
JM
8014 [BZ #16032]
8015 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
8016 without decrementing exponent if mantissa >= that for the
8017 denominator, not >.
8018 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
8019 denominator, not >. Decrement exponent in < case instead of
8020 incrementing in >= case.
8021 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
8022 without decrementing exponent if mantissa >= that for the
8023 denominator, not >.
8024
99fd9f47
JM
8025 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
8026 computing saturated result for unsigned overflow.
8027
10e1cf6b
SP
80282013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8029 Jeff Law <law@redhat.com>
8030
8031 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
8032 (atan2Mp): Add systemtap probe marker.
8033 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
8034 (__ieee754_log): Add systemtap probe marker.
8035 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
8036 (atanMp): Add systemtap probe marker.
8037 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
8038 (tanMp): Add systemtap probe marker.
8039 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
8040 (__slowexp): Add systemtap probe marker.
8041 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
8042 (__slowpow): Add systemtap probe marker.
8043 * manual/probes.texi: Document probes.
8044
3d110c7c
EB
80452013-10-11 Eric Biggers <ebiggers3@gmail.com>
8046
8047 [BZ #15362]
8048 * libio/fileops.c (_IO_new_file_write): Return count of bytes
8049 written.
8050 (_IO_new_file_xsputn): Don't return EOF if nothing has been
8051 written.
8052 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
8053 written to buffer but not flushed.
8054 * libio/iofwrite_u.c: Likewise.
8055 * libio/iopadn.c: Return bytes returned even if EOF was
8056 encountered.
8057 * libio/iowpadn.c: Likewise.
8058 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
8059 if _IO_padn does not write the whole buffer.
8060 [!COMPILE_WPRINTF] (PAD): Likewise.
8061
75b4202a
DM
80622013-10-10 David S. Miller <davem@davemloft.net>
8063
8064 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
8065 directory block.
8066
6c6352e6
JM
80672013-10-10 Joseph Myers <joseph@codesourcery.com>
8068
33b853c3
JM
8069 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
8070 instead of FSF address.
8071 * soft-fp/fixdfti.c: Likewise.
8072 * soft-fp/fixsfti.c: Likewise.
8073 * soft-fp/fixtfti.c: Likewise.
8074 * soft-fp/fixunsdfti.c: Likewise.
8075 * soft-fp/fixunssfti.c: Likewise.
8076 * soft-fp/fixunstfti.c: Likewise.
8077 * soft-fp/floattidf.c: Likewise.
8078 * soft-fp/floattisf.c: Likewise.
8079 * soft-fp/floattitf.c: Likewise.
8080 * soft-fp/floatuntidf.c: Likewise.
8081 * soft-fp/floatuntisf.c: Likewise.
8082 * soft-fp/floatuntitf.c: Likewise.
8083 * soft-fp/trunctfxf2.c: Likewise.
8084
6c6352e6
JM
8085 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
8086 * soft-fp/fixdfti.c: Likewise.
8087 * soft-fp/fixsfti.c: Likewise.
8088 * soft-fp/fixtfti.c: Likewise.
8089 * soft-fp/fixunsdfti.c: Likewise.
8090 * soft-fp/fixunssfti.c: Likewise.
8091 * soft-fp/fixunstfti.c: Likewise.
8092 * soft-fp/floattidf.c: Likewise.
8093 * soft-fp/floattisf.c: Likewise.
8094 * soft-fp/floattitf.c: Likewise.
8095 * soft-fp/floatuntidf.c: Likewise.
8096 * soft-fp/floatuntisf.c: Likewise.
8097 * soft-fp/floatuntitf.c: Likewise.
8098 * soft-fp/trunctfxf2.c: Likewise.
8099
3bf78b71
DM
81002013-10-10 David S. Miller <davem@davemloft.net>
8101
8102 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8103
6f10289e
JM
81042013-10-10 Joseph Myers <joseph@codsourcery.com>
8105
bd878fc0
JM
8106 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
8107 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
8108 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
8109 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
8110 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
8111 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
8112 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
8113
6f10289e
JM
8114 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
8115 for NaNs before doing comparisons on argument.
8116 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
8117 Likewise.
8118
321e2684
WN
81192013-10-10 Will Newton <will.newton@linaro.org>
8120
8121 * malloc/hooks.c (memalign_check): Ensure the value of bytes
8122 passed to _int_memalign does not overflow.
8123
40fefba1
TR
81242013-10-10 Torvald Riegel <triegel@redhat.com>
8125
8126 * scripts/bench.pl: Add include-sources directive.
8127 * benchtests/README: Update documentation.
8128
2ae21ed2
JM
81292013-10-10 Joseph Myers <joseph@codesourcery.com>
8130
dcc2dd3f
JM
8131 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
8132 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
8133 instead of FP_INIT_ROUNDMODE.
8134 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
8135 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
8136
2ae21ed2
JM
8137 [BZ #16034]
8138 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
8139 copy class of input value.
8140 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
8141 not handle exceptions.
8142 * soft-fp/negsf2.c (__negsf2): Likewise.
8143 * soft-fp/negtf2.c (__negtf2): Likewise.
8144 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
8145
cb8f9562
JM
81462013-10-09 Joseph Myers <joseph@codesourcery.com>
8147
8148 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
8149 semicolon. From Linux kernel.
8150
5b60c59d
AB
81512013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
8152
8153 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
8154
b86835ca
YC
81552013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
8156
8157 [BZ #156]
8158 * manual/socket.texi: Added statement about buffer
8159 for gethostbyname2_r.
8160
e7044ea7
OB
81612013-10-08 Ondřej Bílka <neleai@seznam.cz>
8162
8163 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
8164 Use .p2align directive instead, throughout.
8165 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
8166 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
8167 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
8168 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
8169 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
8170 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
8171 * sysdeps/x86_64/strchr.S: Likewise.
8172 * sysdeps/x86_64/strrchr.S: Likewise.
8173
09544cbc
SP
81742013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
8175
88576635
SP
8176 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
8177
e7b2d1dd
SP
8178 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
8179
09544cbc
SP
8180 * sysdeps/generic/math_private.h (__mpsin1): Remove
8181 declaration.
8182 (__mpcos1): Likewise.
8183 (__mpsin): New argument __range_reduce.
8184 (__mpcos): Likewise.
8185 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8186 (slow): Use __mpsin and __mpcos.
8187 (slow1): Likewise.
8188 (slow2): Likewise.
8189 (sloww): Likewise.
8190 (sloww1): Likewise.
8191 (sloww2): Likewise.
8192 (bsloww): Likewise.
8193 (bsloww1): Likewise.
8194 (bsloww2): Likewise.
8195 (cslow2): Likewise.
8196 (csloww): Likewise.
8197 (csloww1): Likewise.
8198 (csloww2): Likewise.
8199 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
8200 range_reduce. Merge in __mpsin1.
8201 (__mpcos): Likewise.
8202 (__mpsin1): Remove.
8203 (__mpcos1): Likewise.
8204
7602d070
JM
82052013-10-07 Joseph Myers <joseph@codesourcery.com>
8206
8207 * locale/loadlocale.c (_nl_intern_locale_data): Use
8208 LOCFILE_ALIGNED_P.
8209 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
8210 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
8211 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
8212 obstack data is appropriately aligned.
8213 (obstack_int32_grow_fast): Likewise.
8214 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
8215 * locale/programs/locfile.c (add_locale_uint32): Likewise.
8216 (add_locale_uint32_array): Likewise.
8217
a357259b
SP
82182013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
8219
8220 * benchtests/Makefile: Remove ARGLIST and RET variables.
8221 ($(objpfx)bench-%.c): Pass only function name to the script.
8222 * benchtests/README: Update documentation.
8223 * benchtests/acos-inputs: Add new directives.
8224 * benchtests/acosh-inputs: Likewise.
8225 * benchtests/asin-inputs: Likewise.
8226 * benchtests/asinh-inputs: Likewise.
8227 * benchtests/atan-inputs: Likewise.
8228 * benchtests/atanh-inputs: Likewise.
8229 * benchtests/cos-inputs: Likewise.
8230 * benchtests/cosh-inputs: Likewise.
8231 * benchtests/exp-inputs: Likewise.
8232 * benchtests/log-inputs: Likewise.
8233 * benchtests/pow-inputs: Likewise.
8234 * benchtests/rint-inputs: Likewise.
8235 * benchtests/sin-inputs: Likewise.
8236 * benchtests/sinh-inputs: Likewise.
8237 * benchtests/tan-inputs: Likewise.
8238 * benchtests/tanh-inputs: Likewise.
8239 * scripts/bench.pl: Add support for new directives.
8240
9ec1b13d
AM
82412013-10-07 Alan Modra <amodra@gmail.com>
8242
8243 * README: Fix careless merge.
8244
8b7d57cd
AM
82452013-10-05 Alan Modra <amodra@gmail.com>
8246
8247 * NEWS: Mention powerpc64le support and bugs fixed.
8248 * README: Both big-endian and little-endian powerpc64 supported.
8249
7b7bab13
ST
82502013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
8251
8252 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
8253 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
8254 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
8255 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
8256
d39baad1
RA
82572013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
8258
8259 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
8260 match prototype.
8261
cd78f7e7
JM
82622013-10-04 Joseph Myers <joseph@codesourcery.com>
8263
29d73d86
JM
8264 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
8265 Move -mhard-float appending from
8266 ports/sysdeps/powerpc/powerpc32/Makefile.
8267 [$(with-fp) = yes] (ASFLAGS): Likewise.
8268 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
8269 * sysdeps/powerpc/nofpu: Move directory from
8270 ports/sysdeps/powerpc/nofpu.
8271 * sysdeps/powerpc/soft-fp: Move directory from
8272 ports/sysdeps/powerpc/soft-fp.
8273 * sysdeps/powerpc/powerpc32/405: Move directory from
8274 ports/sysdeps/powerpc/powerpc32/405.
8275 * sysdeps/powerpc/powerpc32/440: Move directory from
8276 ports/sysdeps/powerpc/powerpc32/440.
8277 * sysdeps/powerpc/powerpc32/464: Move directory from
8278 ports/sysdeps/powerpc/powerpc32/464.
8279 * sysdeps/powerpc/powerpc32/476: Move directory from
8280 ports/sysdeps/powerpc/powerpc32/476.
8281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
8282 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
8283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
8284 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
8285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
8286 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
8287 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
8288 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
8289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
8290 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
8291 * README: Update for powerpc-*-linux-gnu software floating point
8292 support in libc.
8293
e246b347
JM
8294 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
8295 case to powerpc/powerpc32*.
8296 * sysdeps/unix/sysv/linux/configure: Regenerated.
8297
89c2003e
JM
8298 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
8299 (_FPU_MASK_OM): Define as 0x04.
8300 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
8301 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
8302 0x00c10080.
8303 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
8304 0x0000003c.
8305 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
8306
cd78f7e7
JM
8307 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
8308 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
8309 getcontext_e500.
8310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
8311 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
8312 setcontext_e500.
8313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
8314 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
8315 and setcontext_e500.
8316
c755294d
CL
83172013-10-04 Chris Leonard <cjl@sugarlabs,.org>
8318
8319 * locale/iso-3166.def: Update iso-1366.def and related occurrences
8320
e16d221c
SP
83212013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8322
8323 * manual/threads.texi (Default Thread Attributes): Fix typo.
8324
215c7d43
WN
83252013-10-04 Will Newton <will.newton@linaro.org>
8326
8327 * malloc/Makefile: Add tst-memalign.
8328 * malloc/tst-memalign.c: New file.
8329
27d0461b
WN
8330 * malloc/tst-posix_memalign.c: Add comments.
8331 (do_test): Add comments and call free on all potentially
8332 allocated pointers. Add space after cast.
8333
1bc92709
WN
8334 * malloc/tst-pvalloc.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
66a9be9d
WN
8339 * malloc/tst-valloc.c: Add comments.
8340 (do_test): Add comments and call free on all potentially
8341 allocated pointers. Remove duplicate check for NULL pointer.
8342 Add space after cast.
8343
4cb81307
AM
83442013-10-04 Alan Modra <amodra@gmail.com>
8345
8346 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
8347 Use stdint types in rather than __attribute__((mode())).
8348 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
8349
f8e3e9f3
AM
83502013-10-04 Alan Modra <amodra@gmail.com>
8351
8352 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
8353 Correct handling of unaligned relocs for little-endian.
8354 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
8355
8f9ebb08
AM
83562013-10-04 Alan Modra <amodra@gmail.com>
8357
8358 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
8359 * configure: Regenerate.
8360 * nptl/shlib-versions: Powerpc*le starts at 2.18.
8361 * shlib-versions: Likewise.
8362
0edf96c2
AM
83632013-10-04 Alan Modra <amodra@gmail.com>
8364
8365 * string/tester.c (test_memrchr): Increment reported test cycle.
8366
e0f7a380
AM
83672013-10-04 Alan Modra <amodra@gmail.com>
8368
8369 * string/test-memcpy.c (do_one_test): When reporting errors, print
8370 string address and don't overrun end of string.
8371
466b0393
AM
83722013-10-04 Alan Modra <amodra@gmail.com>
8373
8374 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
8375 insrdi. Make better use of reg selection to speed exit slightly.
8376 Schedule entry path a little better. Remove useless "are we done"
8377 checks on entry to main loop. Handle wrapping around zero address.
8378 Correct main loop count. Handle single left-over word from main
8379 loop inline rather than by using loop_small. Remove extra word
8380 case in loop_small caused by wrong loop count. Add little-endian
8381 support.
8382 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
8383 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
8384 cache hint.
8385 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
8386 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
8387 support. Avoid rlwimi.
8388 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
8389
3be87c77
AM
83902013-10-04 Alan Modra <amodra@gmail.com>
8391
8392 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 8393 insrdi. Formatting.
3be87c77
AM
8394 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
8395 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
8396 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
8397 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
8398 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
8399 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
8400
759cfef3
AM
84012013-10-04 Alan Modra <amodra@gmail.com>
8402
8403 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
8404 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
8405 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
8406 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
8407 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
8408 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
8409 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
8410 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
8411 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
8412 use of regs. Use power7 mtocrf. Tidy function tails.
8413
fe6e95d7
AM
84142013-10-04 Alan Modra <amodra@gmail.com>
8415
8416 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
8417 Formatting. Consistently use rXXX register defines or rN defines.
8418 Use early exit labels that avoid restoring unused non-volatile regs.
8419 Make cr field use more consistent with rWORDn compares. Rename
8420 regs used as shift registers for unaligned loop, using rN defines
8421 for short lifetime/multiple use regs.
8422 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
8423 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
8424 addi 1,1,64 to pop stack frame. Simplify return value code.
8425 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
8426
664318c3
AM
84272013-10-04 Alan Modra <amodra@gmail.com>
8428
8429 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
8430 support. Correct typos, formatting. Optimize tail. Use insrdi
8431 rather than rlwimi.
8432 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
8433 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
8434 little-endian support. Correct typos.
8435 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
8436 rather than rlwimi.
8437 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
8438 in loop and entry code to keep "and." results.
8439 (strchr): Add little-endian support. Comment. Move cntlzd
8440 earlier in tail.
8441 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
8442
43b84013
AM
84432013-10-04 Alan Modra <amodra@gmail.com>
8444
8445 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
8446 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
8447 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
8448 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
8449
8a7413f9
AM
84502013-10-04 Alan Modra <amodra@gmail.com>
8451
8452 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
8453 (rTMP): Define as r11.
8454 (strcmp): Add little-endian support. Optimise tail.
8455 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
8456 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
8457 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
8458 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
8459 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
8460 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
8461 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
8462
33ee81de
AM
84632013-10-04 Alan Modra <amodra@gmail.com>
8464
8465 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
8466 little-endian support. Remove unnecessary "are we done" tests.
8467 Handle "s" wrapping around zero and extremely large "size".
8468 Correct main loop count. Handle single left-over word from main
8469 loop inline rather than by using small_loop. Correct comments.
8470 Delete "zero" tail, use "end_max" instead.
8471 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
8472
db9b4570
AM
84732013-10-04 Alan Modra <amodra@gmail.com>
8474
8475 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
8476 support. Don't branch over align.
8477 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
8478 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
8479 support. Rearrange tmp reg use to suit. Comment.
8480 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
8481
f7c399cf
AM
84822013-10-04 Alan Modra <amodra@gmail.com>
8483
8484 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
8485
0b2c2ace
AM
84862013-10-04 Alan Modra <amodra@gmail.com>
8487
8488 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
8489 conditional form of branch and link when obtaining pc.
8490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
8491
02f04a6c
AM
84922013-10-04 Alan Modra <amodra@gmail.com>
8493
8494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
8495 HIWORD/LOWORD.
8496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
8497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
8498
9b874b2f
AM
84992013-10-04 Alan Modra <amodra@gmail.com>
8500
8501 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
8502 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
8503 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
8504 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
8505 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
8506 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
8507 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
8508 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
8509 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
8510 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
8511
be1e5d31
AB
85122013-10-04 Anton Blanchard <anton@au1.ibm.com>
8513 Alistair Popple <alistair@ozlabs.au.ibm.com>
8514 Alan Modra <amodra@gmail.com>
8515
8516 [BZ #15723]
8517 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
8518 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
8519 _dl_hwcap access for little-endian.
8520 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
8521 destroy vmx regs when saving unaligned.
8522 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
8523 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
8524 destroy vmx regs when saving unaligned.
8525
fef13a78
AM
85262013-10-04 Alan Modra <amodra@gmail.com>
8527
8528 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
8529 Don't use a union to pack hi/low value.
8530
76a66d51
AB
85312013-10-04 Anton Blanchard <anton@au1.ibm.com>
8532
8533 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
8534 for little-endian.
8535 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
8536 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
8537 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
8538 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
8539 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
8540
6a31fe7f
AM
85412013-10-04 Alan Modra <amodra@gmail.com>
8542
8543 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
8544 constants to usual value for .cst8 section, and remove redundant
8545 high address load.
8546 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
8547 constant for 0x1p52. Load little-endian words of double from
8548 correct stack offsets.
8549
7b88401f
AM
85502013-10-04 Alan Modra <amodra@gmail.com>
8551
8552 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
8553 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
8554 words of double from correct stack offsets.
8555 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
8556 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
8557 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
8558 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
8559 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
8560 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
8561 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
8562 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
8563 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
8564 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
8565 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
8566 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
8567 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
8568 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
8569 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
8570 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
8571 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
8572
9c008155
AM
85732013-10-04 Alan Modra <amodra@gmail.com>
8574
8575 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
8576 64-bit int/double union.
8577 (_FPU_SETCW): Likewise.
8578 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
8579 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
8580
da13146d
AM
85812013-10-04 Alan Modra <amodra@gmail.com>
8582
8583 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
8584 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
8585
603e8410
AM
85862013-10-04 Alan Modra <amodra@gmail.com>
8587
8588 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
8589 use vector int constants.
8590 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
8591
4a28b3ca
AB
85922013-10-04 Anton Blanchard <anton@au1.ibm.com>
8593
8594 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
8595 array with long long.
8596 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
8597 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
8598 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
8599 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
8600 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
8601 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
8602 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
8603 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
8604 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
8605 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
8606 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
8607 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
8608 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
8609
2ca85d2b
AB
86102013-10-04 Anton Blanchard <anton@au1.ibm.com>
8611
8612 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
8613 (__signbit): Likewise. Correct for little-endian.
8614 (__signbitl): Call __signbit.
8615 (lrint): Correct for little-endian.
8616 (lrintf): Call lrint.
8617
62a728ae
AM
86182013-10-04 Alan Modra <amodra@gmail.com>
8619
8620 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
8621 union 32-bit int array member with 64-bit int array.
8622 (t515, tm256): Double rather than long double.
8623 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
8624
32c301df
AM
86252013-10-04 Alan Modra <amodra@gmail.com>
8626
8627 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
8628 Delete.
8629 (IEEE854_LONG_DOUBLE_BIAS): Delete.
8630 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
8631 version of math_ldbl.h.
8632
650ef4bd
AM
86332013-10-04 Alan Modra <amodra@gmail.com>
8634
8635 [BZ #15734], [BZ #15735]
8636 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
8637 all uses of ieee875 long double macros and unions. Simplify test
8638 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
8639 ldbl_extract_mantissa value for ix,iy exponents. Properly
8640 normalize after ldbl_extract_mantissa, and don't add hidden bit
8641 already handled. Don't treat low word of ieee854 mantissa like
8642 low word of IBM long double and mask off bit when testing for
8643 zero.
8644 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
8645 all uses of ieee875 long double macros and unions. Simplify tests
8646 for 0.0L and inf. Correct double adjustment of k. Delete dead code
8647 adjusting ha,hb. Simplify code setting kld. Delete two600 and
8648 two1022, instead use their values. Recognise that tests for large
8649 "a" and small "b" are mutually exclusive. Rename vars. Comment.
8650 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
8651 Rewrite all uses of ieee875 long double macros and unions. Simplify
8652 test for 0.0L and nan. Correct negation.
8653 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
8654 ieee875 long double macros and unions. Correct output for large
8655 magnitude x. Correct absolute value calculation.
8656 (__erfcl): Likewise.
8657 * math/libm-test.inc: Add tests for errors discovered in IBM long
8658 double versions of fmodl, remainderl, erfl and erfcl.
8659
765714ca
AM
86602013-10-04 Alan Modra <amodra@gmail.com>
8661
8662 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
8663 all uses of ieee854 long double macros and unions. Simplify tests
8664 for long doubles that are fully specified by the high double.
8665 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
8666 Likewise.
8667 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
8668 Remove dead code too.
8669 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
8670 (__ieee754_ynl): Likewise.
8671 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
8672 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
8673 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
8674 Remove dead code too.
8675 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
8676 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
8677 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
8678 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
8679 Simplify.
8680 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
8681 Simplify.
8682 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
8683 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
8684 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
8685 Comment on variable precision.
8686 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
8687 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
8688 Likewise.
8689 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
8690 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
8691 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
8692 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
8693 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
8694
4ebd120c
AM
86952013-10-04 Alan Modra <amodra@gmail.com>
8696
8697 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
8698 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
8699 all uses of ieee854 long double macros and unions.
8700 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
8701 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
8702 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
8703 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
8704 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
8705 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
8706 Likewise.
8707 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
8708 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
8709 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
8710 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
8711 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
8712 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
8713 Simplify sign and nan test too.
8714 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
8715 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
8716 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
8717 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
8718 Likewise.
8719 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
8720 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
8721 Likewise.
8722 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
8723 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
8724 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
8725 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
8726 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
8727 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
8728
1b6adf88
AM
87292013-10-04 Alan Modra <amodra@gmail.com>
8730
8731 * stdio-common/printf_size.c (__printf_size): Don't use
8732 union ieee854_long_double in fpnum union.
8733 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
8734 signbit macro to retrieve sign from long double.
8735 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
8736 retrieve sign from long double.
8737 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
8738 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
8739 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
8740 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
8741 * math/test-misc.c (main): Don't use union ieee854_long_double.
8742
4cf69995
AM
87432013-10-04 Alan Modra <amodra@gmail.com>
8744
8745 [BZ #15680]
8746 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
8747 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
8748 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
8749 calculation. Remove unnecessary test for denormal exponent.
8750 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
8751 Correct handling of denormals. Avoid undefined shift behaviour.
8752 Correct normalisation of low mantissa when low double is denormal.
8753 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
8754 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
8755 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
8756 Correct normalisation of low mantissa. Test for overflow of high
8757 mantissa and normalise.
8758 (ldbl_nearbyint): Use more readable constant for two52.
8759 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
8760 (__mpn_construct_long_double): Fix test for overflow of high
8761 mantissa and correct normalisation. Avoid undefined shift.
8762
9605ca6c
AM
87632013-10-04 Alan Modra <amodra@gmail.com>
8764
8765 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
8766 (union ibm_extended_long_double): Define as an array of ieee754_double.
8767 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
8768 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
8769 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
8770 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
8771 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
8772 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
8773 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
8774 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
8775 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
8776 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
8777 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
8778
975569d0
JM
87792013-10-03 Joseph Myers <joseph@codesourcery.com>
8780
d3d23756
JM
8781 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
8782 page size instead of calling getpagesize.
8783
975569d0
JM
8784 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
8785 (LOCFILE_ALIGN_MASK): Likewise.
8786 (LOCFILE_ALIGN_UP): Likewise.
8787 (LOCFILE_ALIGNED_P): Likewise.
8788 * locale/programs/ld-collate.c (collate_output): Use the new
8789 macros instead of __alignof__ (int32_t).
8790 * locale/weight.h (findidx): Likewise.
8791
b1fe1f2b
OB
87922013-10-03 Ondřej Bílka <neleai@seznam.cz>
8793
8794 [BZ #431]
8795 * manual/string.texi: Fix strncat and wcsncat.
8796
5f855e35
BM
87972013-10-03 Brooks Moses <bmoses@google.com>
8798
8799 [BZ #15915]
8800 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
8801 * Makerules: ...here, and adjust associated comments.
8802
3cef6009
WN
88032013-10-02 Will Newton <will.newton@linaro.org>
8804
8805 * malloc/Makefile: Add tst-pvalloc.
8806 * malloc/tst-pvalloc.c: New file.
8807
7815420b
WN
88082013-10-02 Will Newton <will.newton@linaro.org>
8809
8810 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
8811 improve test coverage.
8812
4868b204
WN
88132013-10-02 Will Newton <will.newton@linaro.org>
8814
8815 * malloc/Makefile: Add tst-posix_memalign.
8816 * malloc/tst-posix_memalign.c: New file.
8817
29c793b3
EB
88182013-10-01 Eric Blake <eblake@redhat.com>
8819
8820 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
8821 Use __THROWNL rather than __THROW on static functions.
8822
fd967522
PM
88232013-09-30 Petr Machata <pmachata@redhat.com>
8824
8825 * elf/elf.h (R_AARCH64_ABS16): New macro.
8826 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
8827 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
8828 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
8829 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
8830 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
8831 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
8832 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
8833 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
8834 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
8835 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
8836 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
8837 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
8838 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
8839 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
8840 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
8841 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
8842 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
8843 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
8844 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
8845 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
8846 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
8847 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
8848 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
8849 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
8850 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
8851 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
8852 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
8853 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
8854 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
8855 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
8856 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
8857 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
8858 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
8859 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
8860 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
8861 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
8862 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
8863 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
8864 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
8865 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
8866 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
8867 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
8868 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
8869 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
8870 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
8871 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
8872 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
8873 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
8874 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
8875 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
8876 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
8877 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
8878 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
8879 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
8880 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
8881 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
8882 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
8883 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
8884 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
8885 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
8886 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
8887 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
8888 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
8889 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
8890 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
8891 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
8892 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
8893 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
8894 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
8895 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
8896 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
8897 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
8898 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
8899 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
8900 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
8901 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
8902 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
8903 (R_AARCH64_TLSDESC_LDR): Likewise.
8904 (R_AARCH64_TLSDESC_ADD): Likewise.
8905 (R_AARCH64_TLSDESC_CALL): Likewise.
8906
b2179107
AS
89072013-09-30 Andreas Schwab <schwab@suse.de>
8908
8909 [BZ #15048]
8910 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
8911 the nss database lookup.
8912 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8913 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
8914
47f28d0a
MF
89152013-09-28 Mike Frysinger <vapier@gentoo.org>
8916
8917 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
8918
89192013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
8920
8921 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
8922 ${Bash-specific parameter/pattern/string} parameter expansion.
8923 * sysdeps/unix/make-syscalls.sh: Likewise.
8924
f4518a17
KK
89252013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8926
8927 * sysdeps/sh/stackguard-macros.h: New file.
8928
dc1a95c7
OB
89292013-09-26 Ondřej Bílka <neleai@seznam.cz>
8930
8931 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
8932 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
8933 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
8934 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
8935 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
8936 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
8937
5ebbff8f
AZ
89382013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8939
8940 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
8941 Fix thread ID register.
8942
4fd2cf9f
JM
89432013-09-25 Joseph Myers <joseph@codesourcery.com>
8944
8945 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
8946 [POSIX || UNIX98]: Require rather than permitting all symbols from
8947 <time.h>.
8948 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
8949 element of struct sched_param.
8950 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
8951 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
8952 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
8953 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
8954 constant.
8955
12c22bc4
OL
89562013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
8957
8958 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
8959 argument calculation.
8960
a03d8ea7
JM
89612013-09-24 Joseph Myers <joseph@codesourcery.com>
8962
8963 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
8964 Expect macro.
8965 [POSIX] (pthread_attr_t): Do not require type.
8966 [POSIX] (pthread_cond_t): Likewise.
8967 [POSIX] (pthread_condattr_t): Likewise.
8968 [POSIX] (pthread_key_t): Likewise.
8969 [POSIX] (pthread_mutex_t): Likewise.
8970 [POSIX] (pthread_mutexattr_t): Likewise.
8971 [POSIX] (pthread_once_t): Likewise.
8972 [POSIX] (pthread_t): Likewise.
8973 [POSIX-based standards] (pthread_atfork): Expect function.
8974
6055173a
JM
89752013-09-24 Joseph Myers <joseph@codesourcery.com>
8976 Richard Sandiford <richard@codesourcery.com>
8977
8978 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
8979 (swap_endianness_p): New extern variable.
8980 (set_big_endian): New inline function.
8981 (maybe_swap_uint32): Likewise.
8982 (maybe_swap_uint32_array): Likewise.
8983 (maybe_swap_uint32_obstack): Likewise.
8984 * locale/programs/locfile.c: Include <stdbool.h>.
8985 (swap_endianness_p): New variable.
8986 (add_locale_uint32): Call maybe_swap_uint32.
8987 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
8988 (write_locale_data): Call maybe_swap_uint32_array.
8989 * locale/programs/ld-collate.c (obstack_int32_grow): Call
8990 maybe_swap_uint32.
8991 (obstack_int32_grow_fast): Likewise.
8992 (output_weightwc): Call maybe_swap_uint32_obstack.
8993 (collate_output): Likewise.
8994 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
8995 (OPT_LITTLE_ENDIAN): Likewise.
8996 (options): Add --little-endian and --big-endian options.
8997 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
8998 * locale/programs/locarchive.c: Include "locfile.h".
8999 (GET): New macro.
9000 (SET): Likewise.
9001 (INC): Likewise.
9002 (create_archive): Use the new macros to access fields of
9003 structures directly mapped from or written to locale archives.
9004 (oldlocrecentcmp): Likewise.
9005 (enlarge_archive): Likewise.
9006 (insert_name): Likewise.
9007 (add_alias): Likewise.
9008 (add_locale): Likewise.
9009 (delete_locales_from_archive): Likewise.
9010 (show_archive_content): Likewise.
9011 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
9012 locale data.
9013
39bf0bb4
RM
90142013-09-24 Roland McGrath <roland@hack.frob.com>
9015
9016 * manual/freemanuals.texi: Updated from (newly) canonical copy at
9017 http://www.gnu.org/doc/freemanuals.texi.
9018 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
9019
f02eed10
WN
90202013-09-24 Will Newton <will.newton@linaro.org>
9021
9022 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
9023 macro.
9024
a3a6c312
JM
90252013-09-23 Joseph Myers <joseph@codesourcery.com>
9026
9027 * locale/hashval.h (compute_hashval): Interpret bytes of key as
9028 unsigned char.
9029
107375ac
MR
90302013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
9031
9032 * manual/threads.texi (POSIX Threads): Fix a typo.
9033
141f3a77
SP
90342013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
9035
303e567a
SP
9036 [BZ #14547]
9037 * string/tst-strcoll-overflow.c: New test case.
9038 * string/Makefile (xtests): Add tst-strcoll-overflow.
9039 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
9040 cache if string sizes may cause integer overflow.
9041
141f3a77
SP
9042 [BZ #14547]
9043 * string/strcoll_l.c (coll_seq): New members rule, idx,
9044 save_idx and back_us.
9045 (get_next_seq_nocache): New function.
9046 (do_compare_nocache): New function.
9047 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
9048 when malloc fails.
9049
c61b4d41
CD
90502013-09-23 Carlos O'Donell <carlos@redhat.com>
9051
0b1f8e35
CD
9052 [BZ #15754]
9053 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
9054 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
9055 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
9056
c61b4d41
CD
9057 [BZ #15754]
9058 * elf/Makefile (tests): Add tst-ptrguard1.
9059 (tests-static): Add tst-ptrguard1-static.
9060 (tst-ptrguard1-ARGS): Define.
9061 (tst-ptrguard1-static-ARGS): Define.
9062 * elf/tst-ptrguard1.c: New file.
9063 * elf/tst-ptrguard1-static.c: New file.
9064 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
9065 * sysdeps/i386/stackguard-macros.h: Likewise.
9066 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
9067 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
9068 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
9069 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
9070 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
9071 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
9072
90732013-09-23 Hector Marco <hecmargi@upv.es>
9074 Ismael Ripoll <iripoll@disca.upv.es>
9075 Carlos O'Donell <carlos@redhat.com>
9076
9077 [BZ #15754]
9078 * sysdeps/generic/stackguard-macros.h: Define
9079 __pointer_chk_guard_local and POINTER_CHK_GUARD.
9080 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
9081 Define __pointer_chk_guard_local.
9082 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
9083 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
9084
f5f4e7b4
VV
90852013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
9086
9087 [BZ #15859]
9088 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
9089
5bb43a43
AS
90902013-09-20 Andreas Schwab <schwab@linux-m68k.org>
9091
9092 * include/string.h (__ffs): Declare as hidden.
9093 * string/ffs.c (__ffs): Define as hidden.
9094 * sysdeps/i386/ffs.c (__ffs): Likewise.
9095 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
9096 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
9097 * sysdeps/s390/ffs.c (__ffs): Likewise.
9098 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
9099
3ea5be54
AO
91002013-09-20 Alexandre Oliva <aoliva@redhat.com>
9101
ffb89e53
AO
9102 * NEWS: Mention malloc probes.
9103
322dea08
AO
9104 * malloc/arena.c (new_heap): New memory_heap_new probe.
9105 (grow_heap): New memory_heap_more probe.
9106 (shrink_heap): New memory_heap_less probe.
9107 (heap_trim): New memory_heap_free probe.
9108 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
9109 (systrim): New memory_sbrk_less probe.
9110 * manual/probes.texi: Document them.
9111
655673f3
AO
9112 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
9113 * manual/probes.texi: Document it.
9114
35fed6f1
AO
9115 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
9116 (__libc_realloc): Add memory_realloc_retry probe.
9117 (__libc_memalign): Add memory_memalign_retry probe.
9118 (__libc_valloc): Add memory_valloc_retry probe.
9119 (__libc_pvalloc): Add memory_pvalloc_retry probe.
9120 (__libc_calloc): Add memory_calloc_retry probe.
9121 * manual/probes.texi: Document them.
9122
6999d38c
AO
9123 * malloc/arena.c (get_free_list): Add probe
9124 memory_arena_reuse_free_list.
9125 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
9126 and memory_arena_reuse.
9127 (arena_get2) [!PER_THREAD]: Likewise.
9128 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
9129 memory_arena_reuse_realloc.
9130 * manual/probes.texi: Document them.
9131
0653427f
AO
9132 * malloc/malloc.c (__libc_free): Add
9133 memory_mallopt_free_dyn_thresholds probe.
9134 (__libc_mallopt): Add multiple memory_mallopt probes.
9135 * manual/probes.texi: Document them.
9136
3ea5be54
AO
9137 * malloc/malloc.c: Include stap-probe.h.
9138 (__libc_mallopt): Add memory_mallopt probe.
9139 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
9140 * manual/probes.texi: New.
9141 * manual/Makefile (chapters): Add probes.
9142 * manual/threads.texi: Set next node.
9143
e35696c3 91442013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 9145
e35696c3
CL
9146 [BZ #15963, #13985]
9147 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
9148 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
9149 Add `Chinese' to `nan' entry name.
9150
4aafb73c
SP
91512013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9152
9153 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
9154 (POLYNOMIAL): Likewise.
9155 (TAYLOR_SINCOS): Likewise.
9156 (TAYLOR_SLOW): Likewise.
9157 (__sin): Use TAYLOR_SINCOS.
9158 (__cos): Likewise.
9159 (slow): Use TAYLOR_SLOW.
9160 (sloww): Likewise.
9161 (bsloww): Likewise.
9162 (csloww): Likewise.
9163
d84f25c7
LD
91642013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9165
9166 * stdlib/strtod_l.c: Fix buffer overrun.
9167
5eea0404
SP
91682013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9169
7849ff93
SP
9170 * benchtests/Makefile (bench): Add sincos.
9171 * benchtests/bench-sincos.c: New file.
9172
cfa3c886
SP
9173 * math/libm-test.inc (cos_test_data): New test inputs.
9174 (sin_test_data): Likewise.
9175
b348e1e3
SP
9176 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
9177 macro.
9178 (__sin): Use it.
9179 (__cos): Likewise.
9180 (slow1): Likewise.
9181 (slow2): Likewise.
9182 (sloww1): Likewise.
9183 (sloww2): Likewise.
9184 (bsloww1): Likewise.
9185 (bsloww2): Likewise.
9186 (cslow2): Likewise.
9187 (csloww1): Likewise.
9188 (csloww2): Likewise.
9189
6cce25f8
SP
9190 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
9191 function.
9192 (__sin): Use it.
9193 (__cos): Likewise.
9194
5eea0404
SP
9195 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
9196 gotos.
9197 (__cos): Likewise.
9198
9c21573c
MR
91992013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
9200
9201 * config.h.in (HAVE_MIPS_NAN2008): New macro.
9202 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
9203 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
9204 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
9205 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
9206 * elf/cache.c (print_entry): Handle the new cache flags.
9207
24d22e65
JM
92082013-09-18 Joseph Myers <joseph@codesourcery.com>
9209 Aldy Hernandez <aldyh@redhat.com>
9210
9211 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
9212 Change condition to [_SOFT_FLOAT].
9213 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
9214 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
9215 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
9216 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
9217 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
9218 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
9219 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
9220 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
9221 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
9222 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
9223 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
9224 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
9225 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
9226 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
9227 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
9228 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
9229 declaration.
9230
d13ef066
JM
92312013-09-18 Joseph Myers <joseph@codesourcery.com>
9232
2e071de0
JM
9233 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
9234 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
9235 (__longjmp): Use LOAD_GP to load saved GPRs.
9236 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
9237 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
9238 (__sigsetjmp): Use SAVE_GP to save GPRs.
9239
d13ef066
JM
9240 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
9241 Do not append -msoft-float.
9242 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
9243
97a0650b
SP
92442013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
9245
9246 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
9247
11ca09e9
JM
92482013-09-17 Joseph Myers <joseph@codesourcery.com>
9249
9250 [BZ #15966]
9251 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
9252 (_FPU_GETCW): Use initial "__" on variable and field names but not
9253 on macro parameter name.
9254 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
9255 parentheses around reference to macro parameter.
9256
08ffcf34
RS
92572013-09-13 Richard Sandiford <richard@codesourcery.com>
9258
9259 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
9260 prototype.
9261 (ctype_startup): Use uint32_t in cast and sizeof for
9262 ctype->charnames.
9263
ae7080d3
JL
92642013-09-11 Jia Liu <proljc@gmail.com>
9265
9266 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
9267 __daddr_t_defined.
9268 [__FreeBSD__]: Likewise.
9269
5905e7b3
OB
92702013-09-11 Ondřej Bílka <neleai@seznam.cz>
9271
9272 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
9273 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
9274 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
9275 (strchr): Remove __strchr_sse42 ifunc selection.
9276 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
9277 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
9278
b987c776
WN
92792013-09-11 Will Newton <will.newton@linaro.org>
9280
9281 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
9282 parameter to RES. Remove hardcoded 1000 value.
9283 * benchtests/bench-skeleton.c (main): Pass RES parameter
9284 to TIMING_INIT and multiply result by 1000.
9285
ddf985af
AZ
92862013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9287
9288 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9289
ffdd3181
AS
92902013-09-11 Andreas Schwab <schwab@suse.de>
9291
9292 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
9293 if not defined.
9294 (O_TMPFILE) [__USE_GNU]: Define.
9295 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
9296 Define.
9297
b73ed247
WN
92982013-09-11 Will Newton <will.newton@linaro.org>
9299
9300 [BZ #15857]
9301 * malloc/malloc.c (__libc_memalign): Check the value of bytes
9302 does not overflow.
9303
55e17aad
WN
93042013-09-11 Will Newton <will.newton@linaro.org>
9305
9306 [BZ #15856]
9307 * malloc/malloc.c (__libc_valloc): Check the value of bytes
9308 does not overflow.
9309
1159a193
WN
93102013-09-11 Will Newton <will.newton@linaro.org>
9311
9312 [BZ #15855]
9313 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
9314 does not overflow.
9315
5905e7b3 93162013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
9317
9318 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
9319 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9320 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9321 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
9322 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
9323
cdfc721b
AM
93242013-09-10 Allan McRae <allan@archlinux.org>
9325
aa04af00
AM
9326 [BZ #15748]
9327 * manual/arith.texi (Parsing of Floats): Clarify
9328 cross-reference.
9329
cdfc721b
AM
9330 [BZ #15849]
9331 * manual/install.texi (Running make install): Mention
9332 --enable-pt-chown.
9333 * INSTALL: Regenerated.
9334
95e7cf29
MR
93352013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
9336
9337 * csu/init-first.c (_init): Remove the !SHARED condition around
9338 FPU control word initialization.
9339 * elf/dl-support.c (_dl_fpu_control): New variable.
9340 (_dl_aux_init) <AT_FPUCW>: Initialize it.
9341 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
9342 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
9343 * math/test-fpucw-static.c: New file.
9344 * math/test-fpucw-ieee.c: New file.
9345 * math/test-fpucw-ieee-static.c: New file.
9346 * math/Makefile (tests): Add `test-fpucw-ieee' and
9347 `$(tests-static)'.
9348 (tests-static): New variable.
9349 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
9350 dependency to...
9351 [($(build-shared),yes)]
9352 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
9353 ... this.
9354 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
9355 New dependency.
9356
83e43bf0
AM
93572013-09-09 Allan McRae <allan@archlinux.org>
9358
a9f5ce09
AM
9359 [BZ #15939]
9360 * manual/string.texi (Collation Functions): Fix typo in
9361 strcoll example.
9362 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
9363
34829bc2
AM
9364 [BZ #15893]
9365 * stdlib/isomac.c (get_null_defines): Fix memory leak.
9366
3932737d
AM
9367 [BZ #15892]
9368 * libio/memstream.c (open_memstream): Fix memory leak.
9369 * libio/wmemstream.c (open_wmemstream): Likewise.
9370
83e43bf0
AM
9371 [BZ #15895]
9372 * nscd/netgroupcache.c: Fix nesting of ifdefs.
9373
0c66b8e9
WN
93742013-09-09 Will Newton <will.newton@linaro.org>
9375
9376 * malloc/Makefile: Add tst-realloc to tests.
9377 * malloc/tst-realloc.c: New file.
9378
f6b00fd1
AM
93792013-09-09 Allan McRae <allan@archlinux.org>
9380
9381 [BZ #15844]
9382 * COPYING: Update from GNU website to fix FSF address.
9383 * COPYING.LIB: Likewise.
9384
eec55e16
DM
93852013-09-06 David S. Miller <davem@davemloft.net>
9386
9387 * po/zh_TW.po: Update Chinese (traditional) translation from
9388 translation project.
9389
1ecbb381
RS
93902013-09-06 Richard Sandiford <richard@codesourcery.com>
9391 Joseph Myers <joseph@codesourcery.com>
9392
9393 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
9394 "localeinfo.h".
9395 (obstack_chunk_alloc): New macro.
9396 (obstack_chunk_free): Likewise.
9397 (record_offset): New function.
9398 (init_locale_data): Likewise.
9399 (align_locale_data): Likewise.
9400 (add_locale_empty): Likewise.
9401 (add_locale_raw_data): Likewise.
9402 (add_locale_raw_obstack): Likewise.
9403 (add_locale_string): Likewise.
9404 (add_locale_wstring): Likewise.
9405 (add_locale_uint32): Likewise.
9406 (add_locale_uint32_array): Likewise.
9407 (add_locale_char): Likewise.
9408 (start_locale_structure): Likewise.
9409 (end_locale_structure): Likewise.
9410 (start_locale_prelude): Likewise.
9411 (end_locale_prelude): Likewise.
9412 (write_locale_data): Take locale_file structure rather than an
9413 iovec.
9414 * locale/programs/locfile.h: Include "obstack.h".
9415 (struct locale_file): Change to store locale file contents instead
9416 of header.
9417 (init_locale_data): New prototype.
9418 (align_locale_data): Likewise.
9419 (add_locale_empty): Likewise.
9420 (add_locale_raw_data): Likewise.
9421 (add_locale_raw_obstack): Likewise.
9422 (add_locale_string): Likewise.
9423 (add_locale_wstring): Likewise.
9424 (add_locale_uint32): Likewise.
9425 (add_locale_uint32_array): Likewise.
9426 (add_locale_char): Likewise.
9427 (start_locale_structure): Likewise.
9428 (end_locale_structure): Likewise.
9429 (start_locale_prelude): Likewise.
9430 (end_locale_prelude): Likewise.
9431 (write_locale_data): Update prototype.
9432 * locale/programs/3level.h (struct TABLE): Remove result field.
9433 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
9434 Use new locale_file interface.
9435 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
9436 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
9437 * locale/programs/ld-address.c (address_output): Use new
9438 locale_file interface.
9439 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
9440 NO_ADD_LOCALE.
9441 (collate_finish): Don't call collseq_table_finalize.
9442 (collate_output): Use new locale_file interface.
9443 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
9444 in file.
9445 (NO_FINALIZE): Change to NO_ADD_LOCALE.
9446 (TABLE): Move defines earlier in file.
9447 (ELEMENT): Likewise.
9448 (DEFAULT): Likewise.
9449 (wctrans_table_add): Move macro and inline function earlier in
9450 file.
9451 (struct wctype_table): Move type earlier in file.
9452 (add_locale_wctype_table): New static prototype.
9453 (struct locale_ctype_t): Use logical types instead of struct iovec
9454 pointers for members.
9455 (ctype_output): Use new locale_file interface.
9456 (wctype_table_finalize): Change to add_locale_wctype_table. Use
9457 new locale_file interface.
9458 (allocate_arrays): Update for use of new locale_file interface.
9459 * locale/programs/ld-identification.c (identification_output): Use
9460 new locale_file interface.
9461 * locale/programs/ld-measurement.c (measurement_output): Likewise.
9462 * locale/programs/ld-messages.c (messages_output): Likewise.
9463 * locale/programs/ld-monetary.c (monetary_output): Likewise.
9464 * locale/programs/ld-name.c (name_output): Likewise.
9465 * locale/programs/ld-numeric.c (numeric_output): Likewise.
9466 * locale/programs/ld-paper.c (paper_output): Likewise.
9467 * locale/programs/ld-telephone.c (telephone_output): Likewise.
9468 * locale/programs/ld-time.c (time_output): Likewise.
9469
e029e2e5
AZ
94702013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9471
9472 * benchtests/Makefile: Add memrchr benchmark.
9473 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
9474 benchmark as memrchr.
9475 * benchtests/bench-memrchr-ifunc.c: New file.
9476 * benchtests/bench-memrchr.c: New file.
9477
bbf6e8e4
WN
94782013-09-06 Will Newton <will.newton@linaro.org>
9479
9480 * benchtests/Makefile (string-bench): Add memcpy.
9481
6c82a2f8
CD
94822013-09-05 Carlos O'Donell <carlos@redhat.com>
9483 Cong Wang <amwang@redhat.com>
9484
e732c5f0 9485 [BZ #15850]
6c82a2f8
CD
9486 * sysdeps/unix/sysv/linux/bits/in.h
9487 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
9488 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
9489 before __USE_KERNEL_IPV6_DEFS uses.
9490 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
9491 IPPROTO_BEETPH.
9492 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
9493 sockaddr_in6, or ipv6_mreq.
9494
5430fc65
AZ
94952013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9496
9497 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
9498 memory access for final bytes in some large inputs.
9499 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
9500
4660856c
AZ
95012013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9502
9503 * string/test-memrchr.c: New file.
9504 * string/test-memrchr-ifunc.c: New file.
9505 * string/Makefile: Add new memrchr testcase.
9506
bb8ea713
MF
95072013-09-05 Mike Frysinger <vapier@gentoo.org>
9508
9509 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
9510 fanotify_init returns EPERM.
9511
b92a20b5
JM
95122013-09-04 Joseph Myers <joseph@codesourcery.com>
9513
9514 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
9515 errors.
9516 (top level): Treat second token from macro or constant entries for
9517 allowed headers as allowed.
9518 * include/complex.h: Condition internal declarations on
9519 [!_ISOMAC].
9520 * include/fenv.h: Condition include of <stdbool.h> and internal
9521 declarations on [!_ISOMAC].
7447ccd9
CL
9522
95232013-09-04 Chris Leonard <cjl@sugarlabs,.org>
9524
3e181dda 9525 [BZ #15923]
7447ccd9
CL
9526 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
9527
3f2e46a4
JM
95282013-09-04 Joseph Myers <joseph@codesourcery.com>
9529
9530 * configure.in (--enable-versioning): Remove configure option.
9531 (libc_cv_asm_symver_directive): Remove configure test.
9532 (libc_cv_ld_version_script_option): Likewise.
9533 (VERSIONING): Remove variable and AC_SUBST.
9534 (DO_VERSIONING): Remove AC_DEFINE.
9535 * configure: Regenerated.
9536 * config.h.in (DO_VERSIONING): Remove macro.
9537 * Makerules [$(versioning) = yes]: Change conditionals to
9538 [$(build-shared) = yes].
9539 * config.make.in (versioning): Remove variable.
9540 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
9541 [$(build-shared) = yes].
9542 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
9543 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
9544 * elf/Makefile [$(versioning) = yes]: Change conditionals to
9545 [$(build-shared) = yes].
9546 * extra-lib.mk [$(versioning) = yes]: Likewise.
9547 * hurd/Makefile [$(versioning) = yes]: Likewise.
9548 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
9549 [SHARED].
9550 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
9551 [SHARED].
9552 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
9553 [SHARED && !NO_HIDDEN].
9554 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
9555 [SHARED].
9556 [SHARED && DO_VERSIONING]: Likewise..
9557 * libio/Makefile [$(versioning) = yes]: Change conditionals to
9558 [$(build-shared) = yes].
9559 * manual/install.texi (--disable-versioning): Remove
9560 documentation.
9561 * INSTALL: Regenerated.
9562 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
9563 to [SHARED].
9564 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
9565 [$(build-shared) = yes].
9566 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
9567 * sysdeps/i386/i686/multiarch/strstr-c.c
9568 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
9569 [SHARED && !NO_HIDDEN].
9570 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
9571 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
9572 * sysdeps/powerpc/powerpc32/dl-machine.c
9573 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
9574 * sysdeps/powerpc/powerpc32/sysdep.h
9575 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
9576 to [SHARED && PIC && !NO_HIDDEN].
9577 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
9578 conditional to [SHARED].
9579
44558701
WN
95802013-09-04 Will Newton <will.newton@linaro.org>
9581
9582 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
9583 * benchtests/bench-string.h: Include bench-timing.h instead
9584 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
9585 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
9586 call to HP_TIMING_DIFF_INIT.
9587 * benchtests/bench-memccpy.c: Use bench-timing.h macros
9588 instead of hp-timing.h macros.
9589 * benchtests/bench-memchr.c: Likewise.
9590 * benchtests/bench-memcmp.c: Likewise.
9591 * benchtests/bench-memcpy.c: Likewise.
9592 * benchtests/bench-memmem.c: Likewise.
9593 * benchtests/bench-memmove.c: Likewise.
9594 * benchtests/bench-memset.c: Likewise.
9595 * benchtests/bench-rawmemchr.c: Likewise.
9596 * benchtests/bench-strcasecmp.c: Likewise.
9597 * benchtests/bench-strcasestr.c: Likewise.
9598 * benchtests/bench-strcat.c: Likewise.
9599 * benchtests/bench-strchr.c: Likewise.
9600 * benchtests/bench-strcmp.c: Likewise.
9601 * benchtests/bench-strcpy.c: Likewise.
9602 * benchtests/bench-strcpy_chk.c: Likewise.
9603 * benchtests/bench-strlen.c: Likewise.
9604 * benchtests/bench-strncasecmp.c: Likewise.
9605 * benchtests/bench-strncat.c: Likewise.
9606 * benchtests/bench-strncmp.c: Likewise.
9607 * benchtests/bench-strncpy.c: Likewise.
9608 * benchtests/bench-strnlen.c: Likewise.
9609 * benchtests/bench-strpbrk.c: Likewise.
9610 * benchtests/bench-strrchr.c: Likewise.
9611 * benchtests/bench-strspn.c: Likewise.
9612 * benchtests/bench-strstr.c: Likewise.
9613
cae16d66
WN
96142013-09-04 Will Newton <will.newton@linaro.org>
9615
9616 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
9617
ffa3cd7f
JM
96182013-09-03 Joseph Myers <joseph@codesourcery.com>
9619
9620 [BZ #15427]
9621 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
9622 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
9623 * math/libm-test.inc (lgamma_test_data): Add more tests.
9624 * sysdeps/i386/fpu/libm-test-ulps: Update.
9625 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9626
8f02859f
OB
96272013-09-03 Ondřej Bílka <neleai@seznam.cz>
9628
9629 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
9630 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
9631 Add ifunc.
9632 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
9633 Add strcmp-sse2-unaligned
9634 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
9635
18d43716
MF
96362013-09-02 Mike Frysinger <vapier@gentoo.org>
9637
9638 * Versions.def (libc): Add GLIBC_2.19.
9639
ac444012
MF
96402013-09-02 Mike Frysinger <vapier@gentoo.org>
9641
9642 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
9643 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
9644
b7835e32
JM
96452013-09-02 Joseph Myers <joseph@codesourcery.com>
9646
9647 [BZ #14155]
9648 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
9649 intermediate calculations in recurrence.
9650 (__ieee754_ynf): Likewise.
9651 * math/libm-test.inc (jn_test_data): Do not allow spurious
9652 underflow exception. Add more tests.
9653 (yn_test_data): Add more tests.
9654 * sysdeps/i386/fpu/libm-test-ulps: Update.
9655 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9656
8220f4f0
OB
96572013-09-02 Ondřej Bílka <neleai@seznam.cz>
9658
9659 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
9660
f24a6d08
OB
96612013-08-30 Ondřej Bílka <neleai@seznam.cz>
9662
9663 * csu/init-first.c: Fix then/than typos.
9664 * locale/programs/ld-collate.c: Likewise.
9665 * locale/programs/linereader.h: Likewise.
9666 * manual/charset.texi: Likewise.
9667 * manual/filesys.texi: Likewise.
9668 * manual/stdio.texi: Likewise.
9669 * manual/string.texi: Likewise.
9670 * stdlib/fmtmsg.c: Likewise.
9671 * sysdeps/i386/stpncpy.S: Likewise.
9672 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
9673 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
9674 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
9675 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
9676
382466e0
OB
96772013-08-30 Ondřej Bílka <neleai@seznam.cz>
9678
9679 * elf/dl-open.c: Fix typos.
9680 * iconvdata/gbbig5.c: Likewise.
9681 * iconvdata/iso-2022-jp.c: Likewise.
9682 * iconv/gconv_int.h: Likewise.
9683 * iconv/loop.c: Likewise.
9684 * nis/rpcsvc/nis.h: Likewise.
9685 * resolv/ns_name.c: Likewise.
9686 * stdio-common/vfscanf.c: Likewise.
9687 * streams/stropts.h: Likewise.
9688 * sunrpc/rpc_thread.c: Likewise.
9689 * sysdeps/i386/strpbrk.S: Likewise.
9690 * sysdeps/ieee754/k_standard.c: Likewise.
9691 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
9692 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9693 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
9694 * sysdeps/mach/hurd/profil.c: Likewise.
9695 * sysdeps/s390/dl-procinfo.h: Likewise.
9696 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
9697 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
9698 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
9699 * sysdeps/x86_64/dl-trampoline.S: Likewise.
9700 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
9701
0186c6e9
OB
97022013-08-30 Ondřej Bílka <neleai@seznam.cz>
9703
9704 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
9705 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
9706
d4e16af1
OB
97072013-08-29 Ondřej Bílka <neleai@seznam.cz>
9708
9709 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
9710 aix specific files.
9711 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
9712 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
9713 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
9714 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
9715 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
9716 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
9717 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
9718 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
9719
88335980
TS
97202013-08-29 Thomas Schwinge <thomas@codesourcery.com>
9721 Roland McGrath <roland@hack.frob.com>
9722
9723 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
9724 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
9725
ed479b02
ST
97262013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
9727
9728 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
9729 __executable_start symbol instead of _start.
9730
f1cc4c86
TS
97312013-08-29 Thomas Schwinge <thomas@codesourcery.com>
9732
d821f07c
TS
9733 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
9734 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
9735 Move macros to...
9736 * sysdeps/gnu/ldsodefs.h: ... this new file.
9737
c54290cf
TS
9738 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
9739 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
9740 instead of ELFOSABI_LINUX.
9741
0007fc9b 9742 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
9743 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
9744 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
9745 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
9746 Likewise.
9747 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
9748 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
9749 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
9750 Likewise.
9751 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
9752 (ibm_extended_long_double): Add ieee_nan member.
9753 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
9754 (do_test): New function.
9755
f1cc4c86
TS
9756 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
9757 TEST_TRUNC.
9758 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
9759 functions, renamed from truncdfsf_test, trunctfsf_test,
9760 trunctfdf_test.
9761 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
9762 functions.
9763 (do_test): Run all these.
9764
6f65e668
OB
97652013-08-29 Ondřej Bílka <neleai@seznam.cz>
9766
9767 * argp/argp-help.c: Fix typos.
9768 * argp/argp-parse.c: Likewise.
9769 * debug/backtracesyms.c: Likewise.
9770 * elf/elf.h: Likewise.
9771 * malloc/malloc.c: Likewise.
9772 * nis/nis_print.c: Likewise.
9773 * resolv/res_comp.c: Likewise.
9774 * stdlib/stdlib.h: Likewise.
9775 * sunrpc/clnt_tcp.c: Likewise.
9776 * sunrpc/clnt_udp.c: Likewise.
9777 * sunrpc/clnt_unix.c: Likewise.
9778 * sysdeps/unix/bsd/ptsname.c: Likewise.
9779 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
9780 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
9781 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
9782 Likewise.
9783 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
9784 Likewise.
9785 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
9786 Likewise.
6f65e668
OB
9787 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
9788
3a309239
SP
97892013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9790
9791 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
9792 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
9793
3b813b29
MF
97942013-08-27 Mike Frysinger <vapier@gentoo.org>
9795
9796 [BZ #15897]
9797 * dlfcn/Makefile (tests): Add bug-dl-leaf.
9798 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
9799 ($(objpfx)bug-dl-leaf): New rule.
9800 ($(objpfx)bug-dl-leaf.so): Likewise.
9801 ($(objpfx)bug-dl-leaf.out): Likewise.
9802 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
9803 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
9804 * dlfcn/bug-dl-leaf.c: New test.
9805 * dlfcn/bug-dl-leaf-lib.c: Likewise.
9806 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
9807 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
9808 (dlclose): Likewise.
9809 (dlmopen): Likewise.
9810
8cc3269f
RM
98112013-08-27 Roland McGrath <roland@hack.frob.com>
9812
7f9d0034
RM
9813 * include/netdb.h [!_ISOMAC]:
9814 Don't include <tls.h>.
9815 (h_errno, __libc_h_errno): Move declaration and macros out of
9816 [_LIBC_REENTRANT].
9817
fb431262
RM
9818 * include/resolv.h [_RESOLV_H_]:
9819 Don't include <tls.h>.
9820 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
9821 * resolv/res_libc.c: Don't include <tls.h>.
9822 (_res): Use __attribute__ ((nocommon)) in place of
9823 __attribute__ ((section (".bss"))).
9824
bd81123a
RM
9825 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
9826 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
9827
c4e42566
RM
9828 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
9829
f890a59b
RM
9830 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
9831 only under [SIOCGIFCONF && SIOCGIFNETMASK].
9832
9833 * resolv/res_mkquery.c: Include <sys/time.h>.
9834
5d1f0a09
RM
9835 * inet/ifreq.c: Moved to ...
9836 * sysdeps/unix/ifreq.c: ... here.
9837 * inet/ifreq.c: New file, true stub version.
9838
6fcf28b3
RM
9839 * socket/sa_len.c: New file.
9840 * socket/Makefile (aux): Add it.
9841 * sysdeps/unix/sysv/linux/Makefile
9842 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
9843 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
9844 and #include <socket/sa_len.c>.
9845 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
9846 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
9847
e041fb8b
RM
9848 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
9849 * bits/socket.h: ... here.
9850
8cc3269f
RM
9851 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
9852 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
9853 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
9854
5d228a43
AS
98552013-08-27 Andreas Schwab <schwab@suse.de>
9856
45b8accc
AS
9857 [BZ #15736]
9858 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
9859 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
9860 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
9861 * string/test-strcasecmp.c (test_main): Run tests in several
9862 locales.
9863 * string/test-strncasecmp.c (test_main): Likewise.
9864
5d228a43
AS
9865 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
9866 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
9867 to __strcasecmp_nonascii and __strncasecmp_nonascii.
9868 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
9869 (__strncasecmp_ssse3) [PIC]: Likewise.
9870
59d112a4
RM
98712013-08-26 Roland McGrath <roland@hack.frob.com>
9872
53234cc3
RM
9873 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
9874
59d112a4
RM
9875 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
9876 instead of explicitly declaring xdecrypt.
9877 * nis/nss_nis/nis-publickey.c: Likewise.
9878
595aba70
SP
98792013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9880
9881 [BZ #15890]
9882 * nscd/aicache.c: Include res_hconf.h.
9883 (addhstaiX): Initialize res_hconf.
9884
ffabd393
AS
98852013-08-26 Andreas Schwab <schwab@suse.de>
9886
9887 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
9888 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
9889
e0a69f5c
SP
98902013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9891
9892 * nscd/aicache.c (addhstaiX): Fix indentation.
9893
8c12f01d
MF
98942013-08-25 Mike Frysinger <vapier@gentoo.org>
9895
9896 * configure.ac: Quote $build_pt_chown test.
9897 * configure: Regenerated.
9898
8fe89494
JM
98992013-08-23 Joseph Myers <joseph@codesourcery.com>
9900
9901 [BZ #15532]
9902 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
9903 * math/s_cexpf.c (__cexpf): Likewise.
9904 * math/s_cexpl.c (__cexpl): Likewise.
9905 * math/libm-test.inc (cexp_test_data): Correct expected return
9906 value for NaN + i0. Add another test.
9907
75b181d6
DM
99082013-08-22 David S. Miller <davem@davemloft.net>
9909
9910 * po/ca.po: Update Catalan translation from translation project.
936241e4 9911 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 9912
acd06bb1
JM
99132013-08-21 Joseph Myers <joseph@codesourcery.com>
9914
9915 [BZ #15797]
9916 * math/s_fdim.c (__fdim): Check for infinite arguments if result
9917 is infinite, not alongside NaN test.
9918 * math/s_fdimf.c (__fdimf): Likewise.
9919 * math/s_fdiml.c (__fdiml): Likewise.
9920 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
9921 errno is unchanged.
9922
c0c3f78a
OB
99232013-08-21 Ondřej Bílka <neleai@seznam.cz>
9924
9925 * argp/argp-help.c: Fix typos.
9926 * crypt/speeds.c: Likewise.
9927 * csu/check_fds.c: Likewise.
9928 * elf/dl-load.c: Likewise.
9929 * elf/dl-open.c: Likewise.
9930 * elf/reldep3.c: Likewise.
9931 * elf/reldep.c: Likewise.
9932 * elf/sprof.c: Likewise.
9933 * iconv/iconv_charmap.c: Likewise.
9934 * iconv/skeleton.c: Likewise.
9935 * iconv/strtab.c: Likewise.
9936 * io/lockf64.c: Likewise.
9937 * libio/libioP.h: Likewise.
9938 * resolv/gai_notify.c: Likewise.
9939 * resolv/ns_name.c: Likewise.
9940 * resolv/ns_samedomain.c: Likewise.
9941 * resolv/res_send.c: Likewise.
9942 * stdlib/random.c: Likewise.
9943 * sunrpc/rpc/xdr.h: Likewise.
9944 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
9945 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
9946 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
9947 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
9948 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
9949 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
9950 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
9951 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
9952 * sysdeps/mach/hurd/check_fds.c: Likewise.
9953 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
9954 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
9955 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
9956 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
9957 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
9958 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
9959 * sysdeps/pthread/aio_notify.c: Likewise.
9960 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
9961 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
9962 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
9963 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
9964 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
9965
46ed1038
LD
99662013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9967
9968 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
9969 version if bit_Slow_SSE4_2 is set.
9970 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
9971 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
9972
d400dcac
AZ
99732013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9974
9975 [BZ #15867]
9976 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
9977 trampoline stack frame information.
9978 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
9979 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
9980 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
9981 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
9982 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
9983 * sysdeps/unix/sysv/linux/powerpc/init-first.c
9984 (_libc_vdso_platform_setup): Initialize the signal trampolines.
9985 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
9986 sa_flags value.
9987 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
9988 interrupting a syscall and set with option SA_SIGINFO.
9989
42c8fdd8
JM
99902013-08-20 Joseph Myers <joseph@codesourcery.com>
9991
c980f2f4
JM
9992 [BZ #15531]
9993 * math/s_cproj.c (__cproj): Only return an infinity if one part of
9994 argument is infinite.
9995 * math/s_cprojf.c (__cprojf): Likewise.
9996 * math/s_cprojl.c (__cprojl): Likewise.
9997 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
9998 * math/libm-test.inc (cproj_test_data): Add more tests.
9999
0716c4fc
JM
10000 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
10001
42c8fdd8
JM
10002 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
10003 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
10004 size. Use __ffs to determine corresponding shift.
10005
b31469d0
JM
100062013-08-20 Joseph Myers <joseph@codesourcery.com>
10007 Roland McGrath <roland@hack.frob.com>
10008
10009 * Makefile (INSTALL): Remove trailing blank lines from output of
10010 makeinfo.
10011
4e39af6e
AK
100122013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10013
10014 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
10015 Align 32 bit compat elf_greg to 8 bytes.
10016
f315524e
AA
100172013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
10018
10019 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
10020
1326ba1a
SP
100212013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
10022
10023 * string/strcoll_l.c (coll_seq): New structure.
10024 (get_next_seq_cached): New function.
10025 (get_next_seq): New function.
10026 (do_compare): New function.
10027 (STRCOLL): Use GNU style definition. Simplify implementation
10028 by using get_next_seq, get_next_seq_cached and do_compare.
10029
91ce4085
FW
100302013-08-16 Florian Weimer <fweimer@redhat.com>
10031
10032 [BZ #14699]
10033 CVE-2013-4237
10034 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
10035 member.
10036 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
10037 member.
10038 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
10039 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
10040 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
10041 conditional.
10042 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
10043 GETDENTS_64BIT_ALIGNED.
10044 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
10045 * manual/filesys.texi (Reading/Closing Directory): Document
10046 ENAMETOOLONG return value of readdir_r. Recommend readdir more
10047 strongly.
10048 * manual/conf.texi (Limits for Files): Add portability note to
10049 NAME_MAX, PATH_MAX.
10050 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
10051
ca0a6bc4
AS
100522013-08-13 Andreas Schwab <schwab@suse.de>
10053
10054 [BZ #15749]
10055 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
10056 of fabs.
10057 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
10058 LDBL_MAX_EXP >= 16384]: Add tests for it.
10059
6c1fd795
DM
100602013-08-12 David S. Miller <davem@davemloft.net>
10061
10062 * version.h (RELEASE): Set to "development".
10063 (VERSION): Set to "2.18.90".
10064 * NEWS: Add 2.19 section.
10065
31ad488d
DM
100662013-08-03 David S. Miller <davem@davemloft.net>
10067
10068 * po/ko.po: Update Korean translation from translation project.
10069
db24e684
DM
100702013-08-01 David S. Miller <davem@davemloft.net>
10071
10072 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
10073 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
10074 Bilka.
10075
f723285b
DM
100762013-07-30 David S. Miller <davem@davemloft.net>
10077
10078 * po/fr.po: Update French translation from translation project.
10079
3cbc52db
DM
100802013-07-28 David S. Miller <davem@davemloft.net>
10081
30bbc0cc
DM
10082 * po/cs.po: Update Czech translation from translation project.
10083
3cbc52db
DM
10084 * po/sv.po: Update Swedish translation from translation project.
10085
d492e6d0
DM
100862013-07-27 David S. Miller <davem@davemloft.net>
10087
f1a7f492
DM
10088 * po/eo.po: Update Esperanto translation from translation project.
10089
90e62a4a
DM
10090 * po/vi.po: Update Vietnamese translation from translation project.
10091
d492e6d0
DM
10092 * po/de.po: Update German translation from translation project.
10093
d4baa62d
DM
100942013-07-26 David S. Miller <davem@davemloft.net>
10095
641aa7b4
DM
10096 * po/bg.po: Update Bulgarian translation from translation project.
10097
d4baa62d
DM
10098 * po/nl.po: Update Dutch translation from translation project.
10099 * po/pl.po: Update Polish translation from translation project.
10100 * po/ru.po: Update Russian translation from translation project.
10101
61a9dcb9
DM
101022013-07-24 David S. Miller <davem@davemloft.net>
10103
10104 * po/libc.pot: Update.
10105
7b1f8b58
AZ
101062013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10107
10108 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
10109 variable page size.
10110 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
10111 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
10112 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
10113
a8fc7a03
AK
101142013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10115
10116 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
10117
e4608715
CD
101182013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10119 Andreas Schwab <schwab@suse.de>
10120 Roland McGrath <roland@hack.frob.com>
10121 Joseph Myers <joseph@codesourcery.com>
10122 Carlos O'Donell <carlos@redhat.com>
10123
10124 [BZ #15755]
10125 * config.h.in: Define HAVE_PT_CHOWN.
10126 * config.make.in (build-pt-chown): New variable.
10127 * configure.in (--enable-pt_chown): New configure option.
10128 * configure: Regenerate.
10129 * login/Makefile: Include Makeconfig. Build pt_chown only if
10130 build-pt-chown is enabled.
10131 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
10132 pt_chown to fix pty ownership.
10133 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
10134 CLOSE_ALL_FDS.
10135 * manual/install.texi (Configuring and compiling): Mention
10136 --enable-pt_chown. Add @findex for grantpt.
10137 * INSTALL: Regenerate.
10138
da2d62df
DM
101392013-07-20 David S. Miller <davem@davemloft.net>
10140
10141 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
10142 difference between 32-bit and 64-bit.
10143
d7e06450
CD
101442013-07-15 Carlos O'Donell <carlos@redhat.com>
10145
10146 [BZ #15711]
10147 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
10148 Avoid system header dependency with -ffreestanding.
10149 ($(objpfx)bits/syscall%d): Likewise.
10150
f959cfd7
DM
101512013-07-13 David S. Miller <davem@davemloft.net>
10152
10153 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
10154 underflows from atanl/atan2l due to bug 15319.
10155 (casinh_test_data): Likewise.
10156
c61f8513
DM
101572013-07-07 David S. Miller <davem@davemloft.net>
10158
10159 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
10160
72c90ed0
JA
101612013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
10162
10163 * sysdeps/i386/fpu/libm-test-ulps: Update.
10164 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10165
52dfbe13
SP
101662013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10167
10168 * configure.in (--enable-lock-elision): Fix message text.
10169 * INSTALL: Regenerate.
10170 * configure: Regenerate.
10171
3f169543
AZ
101722013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10173
10174 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10175
521c6785
AJ
101762013-07-03 Andreas Jaeger <aj@suse.de>
10177
10178 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
10179 define.
10180 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
10181 (ptrace_peeksiginfo_args): Add.
10182 (__ptrace_peeksiginfo_flags): Add.
10183 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10184 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10185 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10186
d2cc15cb
AM
101872013-07-03 Allan McRae <allan@archlinux.org>
10188
10189 * sysdeps/i386/fpu/libm-test-ulps: Update.
10190
3aaeeca7
DM
101912013-07-02 David S. Miller <davem@davemloft.net>
10192
10193 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10194
5314ed1a
MT
101952013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
10196
10197 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10198
67338156
JM
101992013-07-02 Joseph Myers <joseph@codesourcery.com>
10200
10201 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
10202 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10203
1717da59
AK
102042013-07-02 Andi Kleen <ak@linux.intel.com>
10205
10206 * config.h.in (ENABLE_LOCK_ELISION): Add.
10207 * configure.in (--enable-lock-elision): Add option.
10208 * manual/install.texi: Document --enable lock elision.
10209 * configure: Regenerate
10210 * INSTALL: Regenerate.
10211
1c81621c
L
102122013-07-02 H.J. Lu <hongjiu.lu@intel.com>
10213
10214 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
10215 SSE4.2 strcasecmp for libc.a.
10216 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
10217
77f01ab5
JM
102182013-07-02 Joseph Myers <joseph@codesourcery.com>
10219
10220 [BZ #13304]
10221 * soft-fp/op-common.h (_FP_FMA): New macro.
10222 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
10223 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
10224 (_FP_MUL_MEAT_1_imm): ... here.
10225 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
10226 (_FP_MUL_MEAT_1_wide): ... here.
10227 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
10228 (_FP_MUL_MEAT_1_hard): ... here.
10229 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
10230 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
10231 (_FP_MUL_MEAT_2_wide): ... here.
10232 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
10233 (_FP_MUL_MEAT_2_wide_3mul): ... here.
10234 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
10235 (_FP_MUL_MEAT_2_gmp): ... here.
10236 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
10237 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
10238 (_FP_MUL_MEAT_4_wide): ... here.
10239 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
10240 (_FP_MUL_MEAT_4_gmp): ... here.
10241 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
10242 (_FP_WFRACBITS_DW_S): Likewise.
10243 (_FP_WFRACXBITS_DW_S): Likewise.
10244 (_FP_HIGHBIT_DW_S): Likewise.
10245 (FP_FMA_S): Likewise.
10246 (_FP_FRAC_HIGH_DW_S): Likewise.
10247 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
10248 (_FP_WFRACBITS_DW_D): Likewise.
10249 (_FP_WFRACXBITS_DW_D): Likewise.
10250 (_FP_HIGHBIT_DW_D): Likewise.
10251 (FP_FMA_D): Likewise.
10252 (_FP_FRAC_HIGH_DW_D): Likewise.
10253 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
10254 (_FP_WFRACBITS_DW_E): Likewise.
10255 (_FP_WFRACXBITS_DW_E): Likewise.
10256 (_FP_HIGHBIT_DW_E): Likewise.
10257 (FP_FMA_E): Likewise.
10258 (_FP_FRAC_HIGH_DW_E): Likewise.
10259 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
10260 (_FP_WFRACBITS_DW_Q): Likewise.
10261 (_FP_WFRACXBITS_DW_Q): Likewise.
10262 (_FP_HIGHBIT_DW_Q): Likewise.
10263 (FP_FMA_Q): Likewise.
10264 (_FP_FRAC_HIGH_DW_Q): Likewise.
10265 * soft-fp/fmasf4.c: New file.
10266 * soft-fp/fmadf4.c: Likewise.
10267 * soft-fp/fmatf4.c: Likewise.
10268
6308fd9a
LD
102692013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10270
10271 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
10272 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
10273 Silvermont.
10274 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
10275 macro.
10276 (index_Slow_SSE4_2): Likewise.
10277 (index_Prefer_PMINUB_for_stringop): Likewise.
10278 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
10279 bit_Slow_SSE4_2 is set.
10280 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
10281 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
10282
89cd9569
RA
102832013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10284
10285 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
10286 rtld_global._dl_hwcap2.
10287 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
10288 POWER8.
10289 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
10290 POWER8 feature descriptions defined in _dl_hwcap2.
10291 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
10292 string handling for POWER8 feature bits.
10293 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
10294 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
10295 _dl_powerpc_cap_flags.
10296 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
10297 * sysdeps/powerpc/rtld-global-offsets.sym
10298 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
10299 _dl_hwcap2 in the rtld_global_ro structure.
10300
1ae8bfe0
RA
103012013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10302
10303 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
10304 hardware capabilities in support of AT_HWCAP2.
10305 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
10306 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
10307 GLRO(dl_hwcap2).
10308 (_dl_show_auxv): Add support for calling _dl_procinfo to display
10309 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
10310 explicitly the unknown a_type display mechanism is used.
10311 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
10312 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
10313 struct member.
10314 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
10315 to macro prototype for AT_HWCAP2 support.
10316 * sysdeps/i386/dl-procinfo.h: Likewise.
10317 * sysdeps/s390/dl-procinfo.h: Likewise.
10318 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
10319 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
10320 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
10321 return -1 for unknown a_type display fallback.
10322 * sysdeps/sparc/dl-procinfo.h: Likewise.
10323 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
10324 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
10325
8fbec010
JM
103262013-06-28 Joseph Myers <joseph@codesourcery.com>
10327
10328 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
10329 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
10330
0432680e
PY
103312013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
10332
10333 [BZ #12492]
10334 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
10335 mprotect making __stack_prot writable.
10336
ce61a2ad
NF
103372013-06-28 Nathan Froyd <froydnj@codesourcery.com>
10338 Joseph Myers <joseph@codesourcery.com>
10339
10340 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
10341 as being properly aligned.
10342
f91f1c0f
MR
103432013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
10344
3d0f5d0c
MR
10345 * dlfcn/modstatic5.c: New file.
10346 * dlfcn/tststatic5.c: New file.
10347 * dlfcn/Makefile (tests): Add tststatic5.
10348 (tests-static): Likewise.
10349 (modules-names): Add modstatic5.
10350 (tststatic5-ENV): New variable.
10351 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
10352
f91f1c0f
MR
10353 [BZ #15022]
10354 * elf/dl-support.c (_dl_main_map): New variable.
10355 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
10356 (_dl_nns, _dl_load_adds): Set to 1.
10357 (_dl_initial_searchlist): Refer to _dl_main_map.
10358 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
10359 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
10360 call to _dl_get_origin.
10361 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
10362 around call_map.
10363 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
10364 * dlfcn/modstatic3.c: New file.
10365 * dlfcn/tststatic3.c: New file.
10366 * dlfcn/tststatic4.c: New file.
10367 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
10368 (tests-static): Likewise.
10369 (modules-names): Add modstatic3.
10370 (tststatic3-ENV, tststatic4-ENV): New variables.
10371 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
10372 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
10373
cbe7d24b
JM
103742013-06-26 Joseph Myers <joseph@codesourcery.com>
10375
10376 * configure.in (CC): Require GCC version 4.4 or later.
10377 * configure: Regenerated.
10378 * manual/install.texi (Tools for Compilation): Update GCC version
10379 requirement.
10380 * INSTALL: Regenerated.
10381
11b8a0e1
LD
103822013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10383
10384 [BZ #15674]
bb5bb87c
L
10385 * string/test-memcmp.c (check2): New.
10386 (main): Call check2.
10387
11b8a0e1
LD
10388 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
10389
b0037103
MR
103902013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
10391
10392 [BZ #15022]
10393 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
10394 over to...
10395 (dl_open_worker) [!SHARED]: ... here.
10396
c18c701d
RA
103972013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10398
10399 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
10400
1d17fa5f
RH
104012013-06-25 Richard Henderson <rth@redhat.com>
10402
10403 * locale/programs/locarchive.c: Include <libc-internal.h>
10404
8fcb833a
JM
104052013-06-25 Joseph Myers <joseph@codesourcery.com>
10406
10407 * manual/texinfo.tex: Update to version 2013-06-21.17, with
10408 trailing whitespace removed.
10409
17db6e8d
MF
104102013-06-24 Mike Frysinger <vapier@gentoo.org>
10411
10412 [BZ #10283]
17db6e8d
MF
10413 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
10414 * locale/programs/locarchive.c: Include libc-mmap.h.
10415 (prepare_address_space): Take two new outputs (the mmap base and len).
10416 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
10417 values.
10418 (create_archive): Declare new mmap base and len values for
10419 prepare_address_space, and store the result in ah.
10420 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
10421 (enlarge_archive): If ah->mmap_base is not NULL, use that and
10422 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
10423 Declare new mmap base and len values for
10424 prepare_address_space, and store the result in new_ah.
10425 (open_archive): Declare new mmap base and len values for
10426 prepare_address_space, and store the result in ah.
10427 (close_archive): If ah->mmap_base is not NULL, use that and
10428 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
10429 * sysdeps/generic/libc-mmap.h: New file.
10430
d605071e
MF
104312013-06-24 Mike Frysinger <vapier@gentoo.org>
10432
10433 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
10434 (ALIGN_UP): Likewise.
10435 (PTR_ALIGN_DOWN): Likewise.
10436 (PTR_ALIGN_UP): Likewise.
10437
2f063a6e
RA
104382013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10439
10440 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
10441 entry mapped to PPC_PLATFORM_POWER8.
10442 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
10443 POWER8.
10444 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
10445 (_dl_string_platform): Add case for exporting platform position for
10446 POWER8.
10447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
10448 search path to sysdeps/powerpc/powerpc32/power8 directory.
10449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
10450 search path to sysdeps/powerpc/powerpc64/power8 directory.
10451 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
10452 power7 directories.
10453 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
10454 power7 directories.
10455
a31ee4b3
SP
104562013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10457
a74ca98f
SP
10458 * INSTALL: Regenerate.
10459
a31ee4b3
SP
10460 * nscd/connections.c (nscd_init): Fix comment.
10461
695c378f
JM
104622013-06-22 Joseph Myers <joseph@codesourcery.com>
10463
d8412221
JM
10464 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
10465
695c378f
JM
10466 [BZ #15667]
10467 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
10468 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
10469
d1d54715
MR
104702013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
10471
10472 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
10473 DL_DST_REQ_STATIC.
10474 (DL_DST_REQ_STATIC): Remove macro.
10475
8fdda7af
JM
104762013-06-21 Joseph Myers <joseph@codesourcery.com>
10477
10478 [BZ #7006]
10479 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
10480 with a shift of 0 bits.
10481
f3bc5e5a
MR
104822013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
10483
10484 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
10485 $(tststatic-ENV).
10486
be09e8c9
KK
104872013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10488
10489 [BZ #15655]
10490 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
10491
85c2e611
AZ
104922013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10493
10494 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
10495 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
10496 accepts -fno-tree-loop-distribute-patterns.
10497 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
10498 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
10499 recursive call.
10500 * string/memset.c (memset): Likewise.
10501 * string/test-memmove.c (simple_memmove): Disable loop transformation
10502 to library calls.
10503 * string/test-memset.c (simple_memset): Likewise.
10504 * benchtests/bench-memmove.c (simple_memmove): Likewise.
10505 * benchtests/bench-memset.c (simple_memset): Likewise.
10506 * configure: Regenerated.
10507
c91e0825
JM
105082013-06-20 Joseph Myers <joseph@codesourcery.com>
10509
b8c792af
JM
10510 * math/test-misc.c (main): Ignore fesetround failure when failures
10511 of subsequent rounding tests would be ignored.
10512
c91e0825
JM
10513 [BZ #15654]
10514 * math/fedisblxcpt.c (fedisableexcept): Return 0.
10515 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
10516 * math/fegetenv.c (__fegetenv): Return 0.
10517 * math/fegetexcept.c (fegetexcept): Return 0.
10518 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
10519 FE_TONEAREST.
10520 * math/feholdexcpt.c (feholdexcept): Return 0.
10521 * math/fesetenv.c (__fesetenv): Return 0.
10522 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
10523 argument FE_TONEAREST.
10524 * math/feupdateenv.c (__feupdateenv): Return 0.
10525 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
10526
bfcacbde
RM
105272013-06-18 Roland McGrath <roland@hack.frob.com>
10528
10529 * elf/rtld-Rules (rtld-compile-command.S): New variable.
10530 (rtld-compile-command.s, rtld-compile-command.c): New variables.
10531 ($(objpfx)rtld-%.os rules): Use them.
10532
e55a9b25
AZ
105332013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10534
10535 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
10536 fields.
10537
346d65b3
RM
105382013-06-17 Roland McGrath <roland@hack.frob.com>
10539
12086fb4
RM
10540 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
10541 length of target pattern, then descending length of dependency pattern.
10542 * configure.in (AWK): Require gawk 3.1.2 or newer.
10543 * manual/install.texi (Tools for Compilation): Say that we do.
10544 * configure: Regenerated.
10545
346d65b3
RM
10546 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
10547 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
10548 * scripts/sysd-rules.awk: ... this new script.
10549 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
10550 than a glob-style pattern.
10551
1a846317
JM
105522013-06-17 Joseph Myers <joseph@codesourcery.com>
10553
10554 * math/test-misc.c (main): Do not treat incorrectly rounded
10555 conversions as failure unless ROUNDING_TESTS passes.
10556
8fc75e6f
JM
105572013-06-15 Joseph Myers <joseph@codesourcery.com>
10558
3711a167
JM
10559 [BZ #15631]
10560 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
10561 restore exception state around main square root computation, then
10562 check for inexactness explicitly.
10563
8fc75e6f
JM
10564 * math/libm-test.inc (fma_test_data): Add another test.
10565
61dd6208
SP
105662013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10567
adf23d2c
SP
10568 * manual/threads.texi (Non-POSIX Extensions): New document
10569 node. Document pthread_getattr_default_np and
10570 pthread_setattr_default_np.
10571
61dd6208
SP
10572 * Versions.def (libpthread): Add GLIBC_2.18.
10573 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
10574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
10575 Likewise.
10576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
10577 Likewise.
10578 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10579 Likewise.
10580 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10581 Likewise.
10582 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
10583 Likewise.
10584 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
10585 Likewise.
10586 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
10587 Likewise.
10588 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
10589 Likewise.
10590 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
10591 Likewise.
10592
d086fc7b
LD
105932013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10594
10595 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10596 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
10597
747ef469
SP
105982013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
10599 H.J. Lu <hjl.tools@gmail.com>
10600
10601 [BZ #15627]
10602 * sysdeps/x86_64/rtld-memset.c: Remove file.
10603 * sysdeps/x86_64/rtld-memset.S: New file.
10604
1b2feed2
JM
106052013-06-14 Joseph Myers <joseph@codesourcery.com>
10606
10607 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
10608 (test_in_one_mode): Take arguments for whether the rounding mode
10609 is supported for each floating-point type.
10610 (do_test): Pass new arguments to test_in_one_mode using
10611 ROUNDING_TESTS.
10612
a58ad3f8
RM
106132013-06-13 Roland McGrath <roland@hack.frob.com>
10614
10615 * posix/tst-waitid.c (do_test): Distinguish different instances of
10616 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
10617 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
10618 before entering the kernel for waitpid.
10619
c204ab28
SP
106202013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
10621
10622 * NEWS: Fix note on clock function precision. Text by Roland
10623 McGrath.
10624
f4a29fba
RM
106252013-06-13 Roland McGrath <roland@hack.frob.com>
10626
10627 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
10628 it into place only when and if the sanity check passes.
10629
1f24b9ad
JM
106302013-06-13 Joseph Myers <joseph@codesourcery.com>
10631
10632 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
10633 output for whether conversion result is exact. Take argument
10634 indicating whether type is IBM long double.
10635 (round_for_all): Change need_exact field to ibm_ld.
10636 * stdlib/tst-strtod-round.c (struct exactness): New type.
10637 (struct test): Change bool ld_ok field to struct exactness exact.
10638 (TEST): Update all definitions for change to field.
10639 (tests): Regenerate array contents.
10640 (test_in_one_mode): Take pointer to new field instead of old ld_ok
10641 field value. Check for IBM long double here.
10642 (do_test): Update calls to test_in_one_mode.
10643
58206c68
SP
106442013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
10645
10646 [BZ #12515]
10647 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
10648 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
10649
2d6f4c5b 106502013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
10651
10652 [BZ #15605]
10653 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
10654 generated by the compiler on loop optimizations.
10655 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
10656 general definitions.
10657
94f2c076
JM
106582013-06-12 Joseph Myers <joseph@codesourcery.com>
10659
10660 * math/bug-nextafter.c: Include <math-tests.h>.
10661 (main): Only test for exceptions if EXCEPTION_TESTS is true for
10662 the relevant type.
10663 * math/bug-nexttoward.c: Include <math-tests.h>.
10664 (main): Only test for exceptions if EXCEPTION_TESTS is true for
10665 the relevant type.
10666 * math/test-misc.c: Include <math-tests.h>.
10667 (main): Only test for exceptions if EXCEPTION_TESTS is true for
10668 the relevant type.
10669
e0e50a0a
AJ
106702013-06-12 Andreas Jaeger <aj@suse.de>
10671
10672 * po/ia.po: Update Interlingua translation from translation
10673 project.
10674
25061094
SP
106752013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
10676
10677 * include/fenv.h: Include stdbool.h.
10678 (struct rm_ctx): New structure.
10679 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
10680 Define macro.
10681 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
10682 (SET_RESTORE_ROUNDF): Likewise.
10683 (SET_RESTORE_ROUNDL): Likewise.
10684 (SET_RESTORE_ROUND_NOEX): Likewise.
10685 (SET_RESTORE_ROUND_NOEXF): Likewise.
10686 (SET_RESTORE_ROUND_NOEXL): Likewise.
10687 (SET_RESTORE_ROUND_53BIT): Likewise.
10688 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
10689 (libc_feresetround_noexf_ctx): Likewise.
10690 (libc_feresetround_noexl_ctx): Likewise.
10691 (libc_feholdsetround_53bit_ctx): Likewise.
10692 (libc_feresetround_53bit_ctx): Likewise.
10693 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
10694 (libc_feholdexcept_setround_sse_ctx): New function.
10695 (libc_fesetenv_sse_ctx): Likewise.
10696 (libc_feupdateenv_sse_ctx): Likewise.
10697 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
10698 (libc_feholdexcept_setround_387_ctx): Likewise.
10699 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
10700 (libc_feholdsetround_387_prec_ctx): Likewise.
10701 (libc_feholdsetround_387_ctx): Likewise.
10702 (libc_feholdsetround_387_53bit_ctx): Likewise.
10703 (libc_feholdsetround_sse_ctx): Likewise.
10704 (libc_feresetround_sse_ctx): Likewise.
10705 (libc_feresetround_387_ctx): Likewise.
10706 (libc_feupdateenv_387_ctx): Likewise.
10707 (libc_feholdexcept_setroundf_ctx): Define macro.
10708 (libc_fesetenvf_ctx): Likewise.
10709 (libc_feupdateenvf_ctx): Likewise.
10710 (libc_feholdsetroundf_ctx): Likewise.
10711 (libc_feresetroundf_ctx): Likewise.
10712 (libc_feholdexcept_setround_ctx): Likewise.
10713 (libc_fesetenv_ctx): Likewise.
10714 (libc_feupdateenv_ctx): Likewise.
10715 (libc_feholdsetround_ctx): Likewise.
10716 (libc_feresetround_ctx): Likewise.
10717 (libc_feholdexcept_setroundl_ctx): Likewise.
10718 (libc_feupdateenvl_ctx): Likewise.
10719 (libc_feholdsetroundl_ctx): Likewise.
10720 (libc_feresetroundl_ctx): Likewise.
10721 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
10722 (libc_feresetround_53bit_ctx): Likewise.
10723
59b30555
SP
107242013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10725
10726 * locale/iso-639.def: Convert to UTF-8.
10727
f1d73d30
JM
107282013-06-11 Joseph Myers <joseph@codesourcery.com>
10729
10730 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
10731 (EXCEPTION_TESTS_double): Likewise.
10732 (EXCEPTION_TESTS_long_double): Likewise.
10733 (EXCEPTION_TESTS): Likewise.
10734 * math/libm-test.inc (test_exceptions): Only test exceptions if
10735 EXCEPTION_TESTS (FLOAT).
10736
94aca5e7
SP
107372013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10738
10739 * benchtests/Makefile (string-bench): Add strcpy_chk and
10740 stpcpy_chk.
10741 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
10742 * benchtests/bench-stpcpy_chk.c: New file.
10743 * benchtests/bench-strcpy_chk-ifunc.c: New file.
10744 * benchtests/bench-strcpy_chk.c: New file.
10745 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
10746 code.
10747 (do_test): Likewise.
10748
fac0c5f2
RA
107492013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10750
10751 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
10752 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
10753 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
10754 with tabs where appropriate.
10755 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
10756 dl-procinfo.h.
10757 [PPC_PLATFORM_PPC440]: Likewise.
10758 [PPC_PLATFORM_PPC464]: Likewise.
10759 [PPC_PLATFORM_PPC476]: Likewise.
10760 (_dl_string_platform): Add support for detecting ppc405, ppc440,
10761 ppc464, and ppc476 platform strings merging from ports/
10762 dl-procinfo.h.
10763
f22bc486
AS
107642013-06-11 Andreas Schwab <schwab@suse.de>
10765
10766 [BZ #14991]
10767 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
10768 (from_ucs4_idx): Regenerate.
10769 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
10770 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
10771 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
10772 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
10773 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
10774 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
10775 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
10776 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
10777 from FROM_LOOP and TO_LOOP specific macros.
10778 (BODY): Handle combining characters.
10779 * iconvdata/BIG5HKSCS.irreversible: Update.
10780 * iconvdata/BIG5HKSCS.precomposed: New file.
10781 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
10782 characters.
10783 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
10784
c1f75dc3
SP
107852013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10786
4eacded2
SP
10787 * include/sys/time.h: Fix indentation and add copyright header.
10788
fec799f8
SP
10789 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
10790 (do_test): Likewise.
10791 * string/test-memchr.c (do_one_test): Likewise.
10792 (do_test): Likewise.
10793 * string/test-memcmp.c (do_one_test): Likewise.
10794 (do_test): Likewise.
10795 * string/test-memcpy.c (do_one_test): Likewise.
10796 (do_test): Likewise.
10797 * string/test-memmem.c (do_one_test): Likewise.
10798 (do_test): Likewise.
10799 (do_random_tests): Likewise.
10800 * string/test-memmove.c (do_one_test): Likewise.
10801 (do_test): Likewise.
10802 * string/test-memset.c (do_one_test): Likewise.
10803 (do_test): Likewise.
10804 * string/test-rawmemchr.c (do_one_test): Likewise.
10805 (do_test): Likewise.
10806 * string/test-strcasecmp.c (do_one_test): Likewise.
10807 (do_test): Likewise.
10808 * string/test-strcasestr.c (do_one_test): Likewise.
10809 (do_test): Likewise.
10810 * string/test-strcat.c (do_one_test): Likewise.
10811 (do_test): Likewise.
10812 * string/test-strchr.c (do_one_test): Likewise.
10813 (do_test): Likewise.
10814 * string/test-strcmp.c (do_one_test): Likewise.
10815 (do_test): Likewise.
10816 * string/test-strcpy.c (do_one_test): Likewise.
10817 (do_test): Likewise.
10818 * string/test-string.h: Likewise.
10819 (test_init): Likewise.
10820 * string/test-strlen.c (do_one_test): Likewise.
10821 (do_test): Likewise.
10822 * string/test-strncasecmp.c (do_one_test): Likewise.
10823 (do_test): Likewise.
10824 * string/test-strncat.c (do_one_test): Likewise.
10825 (do_test): Likewise.
10826 * string/test-strncmp.c (do_one_test): Likewise.
10827 (do_test_limit): Likewise.
10828 (do_test): Likewise.
10829 * string/test-strncpy.c (do_one_test): Likewise.
10830 (do_test): Likewise.
10831 * string/test-strnlen.c (do_one_test): Likewise.
10832 (do_test): Likewise.
10833 * string/test-strpbrk.c (do_one_test): Likewise.
10834 (do_test): Likewise.
10835 * string/test-strrchr.c (do_one_test): Likewise.
10836 (do_test): Likewise.
10837 * string/test-strspn.c (do_one_test): Likewise.
10838 (do_test): Likewise.
10839 * string/test-strstr.c (do_one_test): Likewise.
10840 (do_test): Likewise.
10841
97020474
SP
10842 * benchtests/Makefile (string-bench): Add string benchmarks.
10843 * benchtests/bench-bcopy-ifunc.c: New file.
10844 * benchtests/bench-bcopy.c: New file.
10845 * benchtests/bench-bzero-ifunc.c: New file.
10846 * benchtests/bench-bzero.c: New file.
10847 * benchtests/bench-memccpy-ifunc.c: New file.
10848 * benchtests/bench-memccpy.c: New file.
10849 * benchtests/bench-memchr-ifunc.c: New file.
10850 * benchtests/bench-memchr.c: New file.
10851 * benchtests/bench-memcmp-ifunc.c: New file.
10852 * benchtests/bench-memcmp.c: New file.
10853 * benchtests/bench-memmem-ifunc.c: New file.
10854 * benchtests/bench-memmem.c: New file.
10855 * benchtests/bench-memmove-ifunc.c: New file.
10856 * benchtests/bench-memmove.c: New file.
10857 * benchtests/bench-mempcpy-ifunc.c: New file.
10858 * benchtests/bench-mempcpy.c: New file.
10859 * benchtests/bench-memset-ifunc.c: New file.
10860 * benchtests/bench-memset.c: New file.
10861 * benchtests/bench-rawmemchr-ifunc.c: New file.
10862 * benchtests/bench-rawmemchr.c: New file.
10863 * benchtests/bench-stpcpy-ifunc.c: New file.
10864 * benchtests/bench-stpcpy.c: New file.
10865 * benchtests/bench-stpncpy-ifunc.c: New file.
10866 * benchtests/bench-stpncpy.c: New file.
10867 * benchtests/bench-strcasecmp-ifunc.c: New file.
10868 * benchtests/bench-strcasecmp.c: New file.
10869 * benchtests/bench-strcasestr-ifunc.c: New file.
10870 * benchtests/bench-strcasestr.c: New file.
10871 * benchtests/bench-strcat-ifunc.c: New file.
10872 * benchtests/bench-strcat.c: New file.
10873 * benchtests/bench-strchr-ifunc.c: New file.
10874 * benchtests/bench-strchr.c: New file.
10875 * benchtests/bench-strchrnul-ifunc.c: New file.
10876 * benchtests/bench-strchrnul.c: New file.
10877 * benchtests/bench-strcmp-ifunc.c: New file.
10878 * benchtests/bench-strcmp.c: New file.
10879 * benchtests/bench-strcpy-ifunc.c: New file.
10880 * benchtests/bench-strcpy.c: New file.
10881 * benchtests/bench-strcspn-ifunc.c: New file.
10882 * benchtests/bench-strcspn.c: New file.
10883 * benchtests/bench-strlen-ifunc.c: New file.
10884 * benchtests/bench-strlen.c: New file.
10885 * benchtests/bench-strncasecmp-ifunc.c: New file.
10886 * benchtests/bench-strncasecmp.c: New file.
10887 * benchtests/bench-strncat-ifunc.c: New file.
10888 * benchtests/bench-strncat.c: New file.
10889 * benchtests/bench-strncmp-ifunc.c: New file.
10890 * benchtests/bench-strncmp.c: New file.
10891 * benchtests/bench-strncpy-ifunc.c: New file.
10892 * benchtests/bench-strncpy.c: New file.
10893 * benchtests/bench-strnlen-ifunc.c: New file.
10894 * benchtests/bench-strnlen.c: New file.
10895 * benchtests/bench-strpbrk-ifunc.c: New file.
10896 * benchtests/bench-strpbrk.c: New file.
10897 * benchtests/bench-strrchr-ifunc.c: New file.
10898 * benchtests/bench-strrchr.c: New file.
10899 * benchtests/bench-strspn-ifunc.c: New file.
10900 * benchtests/bench-strspn.c: New file.
10901 * benchtests/bench-strstr-ifunc.c: New file.
10902 * benchtests/bench-strstr.c: New file.
10903
c1f75dc3
SP
10904 * benchtests/Makefile: Disable parallel execution of targets.
10905 (string-bench): Add memcpy.
10906 (benchset): New variable to store a list of benchmark sets.
10907 (bench-func): Renamed from bench.
10908 (bench-set): New target.
10909 (bench): Depend on bench-func and bench-set.
10910 * benchtests/README: Add section on benchmark sets.
10911 * benchtests/bench-memcpy-ifunc.c: New file.
10912 * benchtests/bench-memcpy.c: New file.
10913 * benchtests/bench-string.h: New file.
10914
50fd745b
AS
109152013-06-11 Andreas Schwab <schwab@suse.de>
10916
10917 [BZ #15577]
10918 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
10919 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
10920 values in the triple.
10921 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
10922 terminator in the group key.
10923
3ee7e9fe
AJ
109242013-06-11 Andreas Jaeger <aj@suse.de>
10925
10926 * po/zh_TW.po: Update Chinese (traditional) translation from
10927 translation project.
10928
89fb6835
SP
109292013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10930
10931 * include/time.h (__clock_gettime): Add libc_hidden_proto.
10932 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
10933 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
10934 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
10935 (clock_getcpuclockid): Likewise.
10936 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
10937 Add weak_alias and libc_hidden_def.
10938 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
10939 * rt/clock_gettime.c (clock_gettime): Rename to
10940 __clock_gettime. Add weak_alias and libc_hidden_def.
10941 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
10942 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
10943 __clock_nanosleep. Add weak_alias and libc_hidden_def.
10944 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
10945 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
10946 Likewise.
10947 * rt/clock_settime.c (clock_settime): Rename to
10948 __clock_settime. Add weak_alias and libc_hidden_def.
10949 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
10950
0efa6f8b
JM
109512013-06-10 Joseph Myers <joseph@codesourcery.com>
10952
b8c61b4b
JM
10953 * mach/err_boot.sub: Remove trailing whitespace.
10954 * mach/err_ipc.sub: Likewise.
10955 * mach/err_mach.sub: Likewise.
10956
0efa6f8b
JM
10957 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
10958 (ROUNDING_TESTS_double): Likewise.
10959 (ROUNDING_TESTS_long_double): Likewise.
10960 (ROUNDING_TESTS): Likewise.
10961 * math/libm-test.inc: Include <math-tests.h>.
10962 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
10963 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
10964 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
10965 (IF_ROUND_INIT_FE_UPWARD): Likewise.
10966
50b818bf
SP
109672013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10968
10969 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
10970 of assigning.
10971
60d2f8f3
JM
109722013-06-08 Joseph Myers <joseph@codesourcery.com>
10973
4902d2c3
JM
10974 * sysdeps/gnu/errlist.awk: Do not generate space at end of
10975 otherwise empty TRANS lines.
10976 * sysdeps/gnu/errlist.c: Regenerated.
10977
60d2f8f3
JM
10978 * catgets/gencat.c (error_print): Use (void) in function
10979 definition.
10980 * crypt/crypt_util.c (__init_des): Likewise.
10981 * crypt/speeds.c (Stop): Likewise.
10982 (main): Likewise.
10983 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
10984 * inet/ruserpass.c (token): Likewise.
10985 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
10986 * intl/localealias.c (extend_alias_table): Likewise.
10987 * intl/plural-exp.c (init_germanic_plural): Likewise.
10988 * libio/fcloseall.c (__fcloseall): Likewise.
10989 * libio/genops.c (_IO_flush_all): Likewise.
10990 (_IO_flush_all_linebuffered): Likewise.
10991 (_IO_cleanup): Likewise.
10992 (_IO_iter_begin): Likewise.
10993 (_IO_iter_end): Likewise.
10994 (_IO_list_lock): Likewise.
10995 (_IO_list_unlock): Likewise.
10996 (_IO_list_resetlock): Likewise.
10997 * libio/getchar.c (getchar): Likewise.
10998 * libio/getchar_u.c (getchar_unlocked): Likewise.
10999 * libio/getwchar.c (getwchar): Likewise.
11000 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
11001 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
11002 * login/getpt.c (__getpt): Likewise.
11003 * login/tst-utmp.c (main): Likewise.
11004 * malloc/hooks.c (__malloc_check_init): Likewise.
11005 * malloc/malloc.c (__malloc_stats): Likewise.
11006 * malloc/mtrace.c (tr_break): Likewise.
11007 (mtrace): Likewise.
11008 (muntrace): Likewise.
11009 * misc/fstab.c (endfsent): Likewise.
11010 * misc/getclktck.c (__getclktck): Likewise.
11011 * misc/getdtsz.c (__getdtablesize): Likewise.
11012 * misc/gethostid.c (gethostid): Likewise.
11013 * misc/getpagesize.c (__getpagesize): Likewise.
11014 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
11015 (__get_nprocs): Likewise.
11016 (__get_phys_pages): Likewise.
11017 (__get_avphys_pages): Likewise.
11018 * misc/getttyent.c (getttyent): Likewise.
11019 (setttyent): Likewise.
11020 (endttyent): Likewise.
11021 * misc/getusershell.c (getusershell): Likewise.
11022 (endusershell): Likewise.
11023 (setusershell): Likewise.
11024 (initshells): Likewise.
11025 * misc/hsearch.c (__hdestroy): Likewise.
11026 * misc/sync.c (sync): Likewise.
11027 * misc/syslog.c (closelog_internal): Likewise.
11028 (closelog): Likewise.
11029 * misc/ttyslot.c (ttyslot): Likewise.
11030 * misc/vhangup.c (vhangup): Likewise.
11031 * posix/fork.c (__fork): Likewise.
11032 * posix/getegid.c (__getegid): Likewise.
11033 * posix/geteuid.c (__geteuid): Likewise.
11034 * posix/getgid.c (__getgid): Likewise.
11035 * posix/getpid.c (__getpid): Likewise.
11036 * posix/getppid.c (__getppid): Likewise.
11037 * posix/getuid.c (__getuid): Likewise.
11038 * posix/pause.c (pause): Likewise.
11039 * posix/setpgrp.c (setpgrp): Likewise.
11040 * posix/setsid.c (__setsid): Likewise.
11041 * posix/test-vfork.c (noop): Likewise.
11042 * resolv/gethnamaddr.c (_endhtent): Likewise.
11043 (_gethtent): Likewise.
11044 (ht_endhostent): Likewise.
11045 (gethostent): Likewise.
11046 (dns_service): Likewise.
11047 * stdlib/drand48.c (drand48): Likewise.
11048 * stdlib/lrand48.c (lrand48): Likewise.
11049 * stdlib/mrand48.c (mrand48): Likewise.
11050 * stdlib/rand.c (rand): Likewise.
11051 * stdlib/random.c (__random): Likewise.
11052 * stdlib/setenv.c (clearenv): Likewise.
11053 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
11054 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
11055 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
11056 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
11057 (__get_nprocs): Likewise.
11058 (__get_phys_pages): Likewise.
11059 (__get_avphys_pages): Likewise.
11060 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
11061 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
11062 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
11063 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
11064 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
11065 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
11066 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
11067 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
11068 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
11069 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
11070 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
11071 * sysdeps/mach/hurd/sync.c (sync): Likewise.
11072 * sysdeps/posix/clock.c (clock): Likewise.
11073 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
11074 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
11075 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
11076 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
11077 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
11078 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
11079 (__get_nprocs_conf): Likewise.
11080 (__get_phys_pages): Likewise.
11081 (__get_avphys_pages): Likewise.
11082 * time/clock.c (clock): Likewise.
11083 * time/tzset.c (__tzname_max): Likewise.
11084
2e09a79a
JM
110852013-06-07 Joseph Myers <joseph@codesourcery.com>
11086
11087 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
11088 (__bswap_32): Do not use "register".
11089 * crypt/crypt.c (_ufc_doit_r): Likewise.
11090 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
11091 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
11092 * gmon/gmon.c (__monstartup): Likewise.
11093 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
11094 * hurd/hurdmalloc.c (more_memory): Likewise.
11095 (malloc): Likewise.
11096 (free): Likewise.
11097 (realloc): Likewise.
11098 (malloc_fork_prepare): Likewise.
11099 (malloc_fork_parent): Likewise.
11100 (malloc_fork_child): Likewise.
11101 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
11102 (_svcauth_des): Likewise.
11103 * inet/inet_lnaof.c (inet_lnaof): Likewise.
11104 * inet/inet_net.c (inet_network): Likewise.
11105 * inet/inet_netof.c (inet_netof): Likewise.
11106 * inet/rcmd.c (__validuser2_sa): Likewise.
11107 * io/fts.c (fts_open): Likewise.
11108 (fts_load): Likewise.
11109 (fts_close): Likewise.
11110 (fts_read): Likewise.
11111 (fts_children): Likewise.
11112 (fts_build): Likewise.
11113 (fts_stat): Likewise.
11114 (fts_sort): Likewise.
11115 (fts_alloc): Likewise.
11116 (fts_lfree): Likewise.
11117 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
11118 (_IO_file_xsgetn): Likewise.
11119 (_IO_file_xsgetn_mmap): Likewise.
11120 * libio/iofopncook.c (_IO_cookie_read): Likewise.
11121 (_IO_cookie_write): Likewise.
11122 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
11123 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
11124 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
11125 * malloc/obstack.c (_obstack_begin): Likewise.
11126 (_obstack_begin_1): Likewise.
11127 (_obstack_newchunk): Likewise.
11128 (_obstack_allocated_p): Likewise.
11129 (obstack_free): Likewise.
11130 (_obstack_memory_used): Likewise.
11131 * misc/getttyent.c (getttynam): Likewise.
11132 (getttyent): Likewise.
11133 (skip): Likewise.
11134 (value): Likewise.
11135 * misc/getusershell.c (initshells): Likewise.
11136 * misc/syslog.c (__vsyslog_chk): Likewise.
11137 * misc/ttyslot.c (ttyslot): Likewise.
11138 * nis/nis_hash.c (__nis_hash): Likewise.
11139 * posix/fnmatch_loop.c (FCT): Likewise.
11140 * posix/getconf.c (print_all): Likewise.
11141 (main): Likewise.
11142 * posix/getopt.c (exchange): Likewise.
11143 * posix/glob.c (globfree): Likewise.
11144 (prefix_array): Likewise.
11145 (__glob_pattern_type): Likewise.
11146 * resolv/arpa/nameser.h (NS_GET16): Likewise.
11147 (NS_GET32): Likewise.
11148 (NS_PUT16): Likewise.
11149 (NS_PUT32): Likewise.
11150 * resolv/gethnamaddr.c (getanswer): Likewise.
11151 (gethostbyname2): Likewise.
11152 (gethostbyaddr): Likewise.
11153 (_gethtent): Likewise.
11154 (_gethtbyname2): Likewise.
11155 (_gethtbyaddr): Likewise.
11156 * resolv/ns_print.c (dst_s_get_int16): Likewise.
11157 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
11158 * resolv/res_init.c (__res_vinit): Likewise.
11159 (net_mask): Likewise.
11160 * resolv/res_mkquery.c (outchar): Likewise.
11161 (PRINT): Likewise.
11162 * stdio-common/printf_fp.c (outchar): Likewise.
11163 (PRINT): Likewise.
11164 * stdio-common/printf_fphex.c (outchar): Likewise.
11165 (PRINT): Likewise.
11166 * stdio-common/printf_size.c (outchar): Likewise.
11167 (PRINT): Likewise.
11168 * stdio-common/test_rdwr.c (main): Likewise.
11169 * stdio-common/tfformat.c (matches): Likewise.
11170 * stdio-common/vfprintf.c (outchar): Likewise.
11171 (printf_unknown): Likewise.
11172 (buffered_vfprintf): Likewise.
11173 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
11174 * stdio-common/xbug.c (AppendToBuffer): Likewise.
11175 (ReadFile): Likewise.
11176 * stdlib/qsort.c (SWAP): Likewise.
11177 (_quicksort): Likewise.
11178 * stdlib/setenv.c (__add_to_environ): Likewise.
11179 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
11180 * stdlib/strtol_l.c (__strtol_l): Likewise.
11181 * stdlib/tst-strtod.c (main): Likewise.
11182 * stdlib/tst-strtol.c (main): Likewise.
11183 * stdlib/tst-strtoll.c (main): Likewise.
11184 * string/bits/string2.h (__strcmp_cc): Likewise.
11185 (__strcmp_cg): Likewise.
11186 (__strcspn_c1): Likewise.
11187 (__strcspn_c2): Likewise.
11188 (__strcspn_c3): Likewise.
11189 (__strspn_c1): Likewise.
11190 (__strspn_c2): Likewise.
11191 (__strspn_c3): Likewise.
11192 (__strsep_1c): Likewise.
11193 (__strsep_2c): Likewise.
11194 (__strsep_3c): Likewise.
11195 * string/memccpy.c (__memccpy): Likewise.
11196 * string/stpcpy.c (__stpcpy): Likewise.
11197 * string/strcmp.c (strcmp): Likewise.
11198 * string/strrchr.c (strrchr): Likewise.
11199 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
11200 Likewise.
11201 * sysdeps/mach/hurd/getcwd.c
11202 (_hurd_canonicalize_directory_name_internal): Likewise.
11203 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
11204 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
11205 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
11206 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
11207 Likewise, in both definitions.
11208 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
11209 definitions.
11210 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
11211 64] (__bswap_64): Likewise.
11212 * time/test_time.c (main): Likewise.
11213 * time/tzfile.c (__tzfile_read): Likewise.
11214 (__tzfile_compute): Likewise.
11215 * time/tzset.c (__tzset_parse_tz): Likewise.
11216 (tzset_internal): Likewise.
11217 (compute_change): Likewise.
11218 * wcsmbs/wcscat.c (__wcscat): Likewise.
11219 * wcsmbs/wcschr.c (wcschr): Likewise.
11220 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
11221 * wcsmbs/wcscspn.c (wcscspn): Likewise.
11222 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
11223 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
11224 * wcsmbs/wcsspn.c (wcsspn): Likewise.
11225 * wcsmbs/wcsstr.c (wcsstr): Likewise.
11226 * wcsmbs/wmemchr.c (wmemchr): Likewise.
11227 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
11228 * wcsmbs/wmemset.c (wmemset): Likewise.
11229
9e54314b
JM
112302013-06-06 Joseph Myers <joseph@codesourcery.com>
11231
11232 * scripts/config.guess: Update to version 2013-05-16.
11233 * scripts/config.sub: Update to version 2013-04-24.
11234 * scripts/install-sh: Update to version 2011-11-20.07.
11235 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
11236 * scripts/move-if-change: Update to version 2012-01-06 07:23.
11237
350635a5
OB
112382013-06-06 Ondřej Bílka <neleai@seznam.cz>
11239
11240 * debug/fgetws_u_chk.c: Fix leading whitespaces.
11241 * elf/sln.c: Likewise.
11242 * hurd/hurd/ioctl.h: Likewise.
11243 * hurd/hurdmalloc.c: Likewise.
11244 * hurd/xattr.c: Likewise.
11245 * include/shlib-compat.h: Likewise.
11246 * inet/ruserpass.c: Likewise.
11247 * libio/iofgets_u.c: Likewise.
11248 * libio/iofgetws_u.c: Likewise.
11249 * locale/programs/ld-identification.c: Likewise.
11250 * locale/programs/ld-time.c: Likewise.
11251 * mach/msg-destroy.c: Likewise.
11252 * nss/nss_files/files-netgrp.c: Likewise.
11253 * resolv/res_data.c: Likewise.
11254 * soft-fp/op-1.h: Likewise.
11255 * soft-fp/op-2.h: Likewise.
11256 * soft-fp/op-4.h: Likewise.
11257 * soft-fp/op-common.h: Likewise.
11258 * stdio-common/printf_fphex.c: Likewise.
11259 * stdlib/strtod_l.c: Likewise.
11260 * sunrpc/rpc/clnt.h: Likewise.
11261 * sysdeps/generic/framestate.c: Likewise.
11262 * sysdeps/i386/bsd-_setjmp.S: Likewise.
11263 * sysdeps/i386/bsd-setjmp.S: Likewise.
11264 * sysdeps/i386/__longjmp.S: Likewise.
11265 * sysdeps/i386/setjmp.S: Likewise.
11266 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11267 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
11268 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11269 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11270 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11271 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
11272 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
11273 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
11274 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
11275 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
11276 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
11277 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
11278 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
11279 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
11280 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
11281 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
11282 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
11283 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
11284 * sysdeps/ieee754/support.c: Likewise.
11285 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
11286 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
11287 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
11288 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
11289 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
11290 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
11291 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
11292 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
11293 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
11294 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
11295 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
11296 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
11297 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
11298 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
11299 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
11300 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
11301 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
11302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
11303
44a988af
OB
113042013-06-05 Ondřej Bílka <neleai@seznam.cz>
11305
25506f09 11306 * posix/transbug.c: Remove executable mode.
44a988af 11307
9c84384c
JM
113082013-06-05 Joseph Myers <joseph@codesourcery.com>
11309
11310 * crypt/speeds.c: Remove trailing whitespace.
11311 * dlfcn/default.c: Likewise.
11312 * elf/ifuncdep2.c: Likewise.
11313 * elf/ifuncmain1.c: Likewise.
11314 * elf/ifuncmain1vis.c: Likewise.
11315 * elf/testobj.h: Likewise.
11316 * elf/tst-stackguard1.c: Likewise.
11317 * gmon/sys/gmon.h: Likewise.
11318 * hurd/hurdmsg.c: Likewise.
11319 * hurd/new-fd.c: Likewise.
11320 * hurd/ports-get.c: Likewise.
11321 * iconvdata/ibm1008_420.c: Likewise.
11322 * inet/tst-getni1.c: Likewise.
11323 * inet/tst-getni2.c: Likewise.
11324 * libio/ioungetc.c: Likewise.
11325 * libio/wfiledoalloc.c: Likewise.
11326 * manual/libm-err-tab.pl: Likewise.
11327 * math/w_dremf.c: Likewise.
11328 * misc/ftruncate.c: Likewise.
11329 * posix/bug-glob2.c: Likewise.
11330 * posix/tst-pcre.c: Likewise.
11331 * posix/wait4.c: Likewise.
11332 * resolv/README: Likewise.
11333 * resolv/res_debug.h: Likewise.
11334 * resolv/tst-inet_ntop.c: Likewise.
11335 * setjmp/bug269-setjmp.c: Likewise.
11336 * soft-fp/extended.h: Likewise.
11337 * soft-fp/op-1.h: Likewise.
11338 * soft-fp/op-2.h: Likewise.
11339 * soft-fp/op-4.h: Likewise.
11340 * soft-fp/op-8.h: Likewise.
11341 * soft-fp/testit.c: Likewise.
11342 * stdio-common/bug16.c: Likewise.
11343 * stdlib/random.c: Likewise.
11344 * sunrpc/rpcsvc/rquota.x: Likewise.
11345 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
11346 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
11347 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11348 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
11349 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
11350 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
11351 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
11352 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
11353 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
11354 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
11355 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
11356 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
11357 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
11358 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
11359 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
11360 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
11361 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
11362 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
11363 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
11364 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11365 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
11366 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
11367 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
11368 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
11369 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
11370 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
11371 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
11372 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
11373 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
11374 * sysdeps/ieee754/s_lib_version.c: Likewise.
11375 * sysdeps/mach/hurd/check_fds.c: Likewise.
11376 * sysdeps/mach/hurd/getsockname.c: Likewise.
11377 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
11378 * sysdeps/mach/hurd/recvfrom.c: Likewise.
11379 * sysdeps/powerpc/bits/link.h: Likewise.
11380 * sysdeps/powerpc/dl-procinfo.c: Likewise.
11381 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
11382 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
11383 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
11384 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
11385 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
11386 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
11387 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
11388 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
11389 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
11390 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
11391 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
11392 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
11393 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
11394 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
11395 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
11396 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
11397 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
11398 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
11399 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
11400 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
11401 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
11402 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11403 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
11404 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
11405 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
11406 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
11407 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
11408 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
11409 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
11410 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
11411 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
11412 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
11413 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
11414 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
11415 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
11416 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
11417 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
11418 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
11419 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
11420 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
11421 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
11422 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
11423 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
11424 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
11425 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
11426 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
11427 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
11428 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
11429 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
11430 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11431 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
11432 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
11433 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
11434 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
11435 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
11436 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
11437 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
11438 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
11439 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
11440 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
11441 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
11442 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
11443 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
11444 * sysdeps/powerpc/sysdep.h: Likewise.
11445 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
11446 * sysdeps/s390/s390-64/sub_n.S: Likewise.
11447 * sysdeps/sh/dl-trampoline.S: Likewise.
11448 * sysdeps/sh/memset.S: Likewise.
11449 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
11450 * sysdeps/sh/strlen.S: Likewise.
11451 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
11452 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
11453 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
11454 * sysdeps/sparc/sparc32/rem.S: Likewise.
11455 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
11456 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
11457 * sysdeps/sparc/sparc32/strchr.S: Likewise.
11458 * sysdeps/sparc/sparc32/udiv.S: Likewise.
11459 * sysdeps/sparc/sparc32/urem.S: Likewise.
11460 * sysdeps/sparc/sparc64/add_n.S: Likewise.
11461 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
11462 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
11463 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
11464 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
11465 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
11466 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
11467 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
11468 * sysdeps/unix/bsd/times.c: Likewise.
11469 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
11470 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
11471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
11472 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
11473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
11474 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
11475 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
11476 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
11477 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
11478 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
11479 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
11480 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
11481 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
11482 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
11483 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
11484 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
11485 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
11486 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
11487 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
11488 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
11489 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
11490 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
11491 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
11492 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
11493 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
11494 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
11495 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
11496 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
11497 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
11498 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
11499 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
11500 * sysdeps/x86_64/strcspn.S: Likewise.
11501
869378a5
RA
115022013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11503
11504 * locale/C-translit.h: Revert #include <stdint.h> because this is a
11505 generated file. Regenerate properly from gen-translit.pl.
11506 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
11507 locale/C-translit.h.
11508
840e2943
AS
115092013-06-05 Andreas Schwab <schwab@suse.de>
11510
11511 [BZ #15100]
11512 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
11513 week as 6 instead of -1.
11514 * time/tst-strptime.c (day_tests): Add test case.
11515
4c60cb0c
SP
115162013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
11517
11518 * sysdeps/generic/math_private.h
11519 (libc_feholdexcept_setround_53bit): Replace with
11520 libc_feholdsetround_53bit.
11521 (libc_feupdateenv_53bit): Replace with
11522 libc_feresetround_53bit.
11523 (SET_RESTORE_ROUND_53BIT): Adjust.
11524
d180203e
SP
115252013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
11526
96df079a
SP
11527 * string/test-strchrnul.c: Add copyright header.
11528
d180203e
SP
11529 * posix/tst-getaddrinfo4.c: Increase test timeout.
11530
8b0ccb2d
CD
115312013-06-03 Carlos O'Donell <carlos@redhat.com>
11532
11533 [BZ #15536]
11534 * math/libm-test.inc (MAX_EXP): Remove
11535 (MIN_EXP): Define.
11536 (ulp): Use MIN_EXP - MANT_DIG.
11537 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
11538
3b3c4d40
CD
115392013-05-31 Carlos O'Donell <carlos@redhat.com>
11540
11541 * po/be.po: Revert last change.
11542 * po/zh_CN.po: Likewise.
11543 * po/header.pot: Likewise.
11544
fab7ce3f
JM
115452013-05-31 Joseph Myers <joseph@codesourcery.com>
11546
11547 * Makefile ($(common-objpfx)linkobj/libc.so): Define
11548 link-libc-deps to empty as target-specific variable.
11549 * Makerules (link-libc-args): New variable.
11550 (libc-for-link): Likewise.
11551 (link-libc-deps): Likewise.
11552 (lib%.so): Depend on $(link-libc-deps). Link with
11553 $(link-libc-args).
11554 (build-module): Link with $(link-libc-args).
11555 (build-module-asneeded): Likewise.
11556 (build-module-helper-objlist): Filter out $(link-libc-deps) from
11557 list of objects.
11558 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
11559 target-specific variable.
11560 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
11561 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
11562 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
11563 libc.
11564 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
11565 libc and ld.so.
11566 ($(objpfx)libpcprofile.so): Likewise.
11567 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
11568 libc_nonshared.a.
11569 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
11570 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
11571 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
11572 $(link-libc-deps).
11573 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
11574 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
11575 * login/Makefile ($(objpfx)libutil.so): Likewise.
11576 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
11577 * math/Makefile ($(objpfx)libm.so): Likewise.
11578 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
11579 $(objpfx)libnsl.so): Define libc-for-link as target-specific
11580 variable instead of depending directly on libc.
11581 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
11582 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
11583 $(link-libc-deps).
11584 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
11585 libc.
11586 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
11587 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
11588 ($(objpfx)libanl.so): Likewise.
11589 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
11590 ld.so.
11591 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
11592 $(link-libc-deps).
11593 * sysdeps/i386/fpu/Makefile: Remove file.
11594 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
11595 ($(objpfx)libm.so): Remove dependency on ld.so.
11596
eca5920c
PF
115972013-05-30 Patsy Franklin <pfrankli@redhat.com>
11598
11599 [BZ # 15553]
11600 * nis/yp_xdr.c (XDRMAXNAME): Define.
11601 (XDRMAXRECORD): Define.
11602 (xdr_domainname): Use XDRMAXNAME.
11603 (xdr_mapname): Likewise.
11604 (xdr_peername): Likewise.
11605 (xdr_keydat): Use XDRMAXRECORD.
11606 (xdr_valdat): Likewise.
11607
116082013-05-30 Jeff Law <law@redhat.com>
96945714
JL
11609
11610 [BZ #14256]
11611 * manual/errno.texi (ESTALE): Update to account for more than
11612 just NFS file systems.
11613 * sysdeps/gnu/errlist.c: Regenerated.
11614
b9375348
SP
116152013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
11616
11617 [BZ #15465]
11618 * elf/Makefile (tests): Add tst-null-argv.
11619 (modules-names): Add tst-null-argv-lib.
11620 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
11621 (tst-null-argv-ENV): Set environment for tst-null-argv.
11622 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
11623 (RTLD_PROGNAME): New macro.
11624 * elf/tst-null-argv.c: New test case.
11625 * elf/tst-null-argv-lib.c: Library for test case.
11626 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
11627 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
11628 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
11629 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
11630 * elf/dl-init.c (call_init): Likewise.
11631 (_dl_init): Likewise.
11632 * elf/dl-load.c (print_search_path): Likewise.
11633 (_dl_map_object): Likewise.
11634 * elf/dl-lookup.c (do_lookup_x): Likewise.
11635 (add_dependency): Likewise.
11636 (_dl_lookup_symbol_x): Likewise.
11637 (_dl_debug_bindings): Likewise.
11638 * elf/dl-open.c (_dl_show_scope): Likewise.
11639 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
11640 * elf/dl-version.c (match_symbol): Likewise.
11641 (_dl_check_map_versions): Likewise.
11642 * elf/rtld.c (dl_main): Likewise.
11643 (print_unresolved): Use RTLD_PROGNAME.
11644 (print_missing_version): Likewise.
11645 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
11646 (elf_machine_rela): Likewise.
11647 * sysdeps/powerpc/powerpc32/dl-machine.c
11648 (__process_machine_rela): Likewise.
11649 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11650 Likewise.
11651 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
11652 Likewise.
11653 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
11654 Likewise.
11655 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
11656 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
11657 Likewise.
11658 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
11659 Likewise.
11660 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
11661
8a9f20c8
CD
116622013-05-28 Carlos O'Donell <carlos@redhat.com>
11663
11664 * po/be.po: Add descriptive title.
11665 * po/zh_CN.po: Likewise.
11666 * po/header.pot: Likewise.
11667
0e60d68e
MF
116682013-05-28 Mike Frysinger <vapier@gentoo.org>
11669
11670 * locale/programs/locarchive.c (create_archive): Inlucde fname in
11671 error message.
11672 (enlarge_archive): Likewise.
11673
56b672e9
BN
116742013-05-28 Ben North <ben@redfrontdoor.org>
11675
11676 * manual/arith.texi (frexp): It is the magnitude of the return
11677 value which lies in [0.5, 1), not the return value itself.
11678
5e056687
AZ
116792013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11680
11681 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11682
2b66ef5d
TS
116832013-05-26 Thomas Schwinge <thomas@codesourcery.com>
11684
528c2405
TS
11685 * stdio-common/bug26.c (main): Correct fscanf template.
11686
07b4c13d
TS
11687 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
11688 declare _dl_skip_args.
11689
ec9dd97c
TS
11690 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
11691 Don't declare.
11692
2b66ef5d
TS
11693 * manual/platform.texi: Add missing @end deftypefun.
11694
4f8dfe27
JM
116952013-05-24 Joseph Myers <joseph@codesourcery.com>
11696
0323d086
JM
11697 [BZ #15529]
11698 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
11699 bit of mantissa of 2^16382.
11700 * math/libm-test.inc (hypot_test_data): Add more tests.
11701
dd4259b9
JM
11702 * math/libm-test.inc: Add drem and pow10 to list of tested
11703 functions.
11704 (pow10_test): New function.
11705 (drem_test): Likewise.
11706 (drem_test_tonearest): Likewise.
11707 (drem_test_towardzero): Likewise.
11708 (drem_test_downward): Likewise.
11709 (drem_test_upward): Likewise.
11710 (main): Call the new functions.
11711
4f8dfe27
JM
11712 * math/libm-test.inc (finite_test_data): Remove.
11713 (finite_test): Run tests from isfinite_test_data.
11714 (gamma_test_data): Remove.
11715 (gamma_test): Run tests from lgamma_test_data.
11716 * sysdeps/i386/fpu/libm-test-ulps: Update.
11717 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11718
d116b7c4
AZ
117192013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11720
11721 * manual/platform.texi: Add PowerPC PPR function set documentation.
11722 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
11723 implementation.
11724
e96e3767
CD
117252013-05-24 Carlos O'Donell <carlos@redhat.com>
11726
11727 * math/libm-test.inc (MAX_EXP): Define.
11728 (ULPDIFF): Define.
11729 (ulp): New function.
11730 (check_float_internal): Use ULPDIFF.
11731 (cpow_test): Disable failing test.
11732 (check_ulp): Test ulp() implemetnation.
11733 (main): Call check_ulp before starting tests.
11734
b679a606
JM
117352013-05-24 Joseph Myers <joseph@codesourcery.com>
11736
e8bdba36
JM
11737 * math/gen-libm-test.pl (generate_testfile): Do not handle
11738 START_DATA and END_DATA.
11739 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
11740 END_DATA.
11741 (acos_tonearest_test_data): Likewise.
11742 (acos_towardzero_test_data): Likewise.
11743 (acos_downward_test_data): Likewise.
11744 (acos_upward_test_data): Likewise.
11745 (acosh_test_data): Likewise.
11746 (asin_test_data): Likewise.
11747 (asin_tonearest_test_data): Likewise.
11748 (asin_towardzero_test_data): Likewise.
11749 (asin_downward_test_data): Likewise.
11750 (asin_upward_test_data): Likewise.
11751 (asinh_test_data): Likewise.
11752 (atan_test_data): Likewise.
11753 (atanh_test_data): Likewise.
11754 (atan2_test_data): Likewise.
11755 (cabs_test_data): Likewise.
11756 (cacos_test_data): Likewise.
11757 (cacosh_test_data): Likewise.
11758 (carg_test_data): Likewise.
11759 (casin_test_data): Likewise.
11760 (casinh_test_data): Likewise.
11761 (catan_test_data): Likewise.
11762 (catanh_test_data): Likewise.
11763 (cbrt_test_data): Likewise.
11764 (ccos_test_data): Likewise.
11765 (ccosh_test_data): Likewise.
11766 (ceil_test_data): Likewise.
11767 (cexp_test_data): Likewise.
11768 (cimag_test_data): Likewise.
11769 (clog_test_data): Likewise.
11770 (clog10_test_data): Likewise.
11771 (conj_test_data): Likewise.
11772 (copysign_test_data): Likewise.
11773 (cos_test_data): Likewise.
11774 (cos_tonearest_test_data): Likewise.
11775 (cos_towardzero_test_data): Likewise.
11776 (cos_downward_test_data): Likewise.
11777 (cos_upward_test_data): Likewise.
11778 (cosh_test_data): Likewise.
11779 (cosh_tonearest_test_data): Likewise.
11780 (cosh_towardzero_test_data): Likewise.
11781 (cosh_downward_test_data): Likewise.
11782 (cosh_upward_test_data): Likewise.
11783 (cpow_test_data): Likewise.
11784 (cproj_test_data): Likewise.
11785 (creal_test_data): Likewise.
11786 (csin_test_data): Likewise.
11787 (csinh_test_data): Likewise.
11788 (csqrt_test_data): Likewise.
11789 (ctan_test_data): Likewise.
11790 (ctan_tonearest_test_data): Likewise.
11791 (ctan_towardzero_test_data): Likewise.
11792 (ctan_downward_test_data): Likewise.
11793 (ctan_upward_test_data): Likewise.
11794 (ctanh_test_data): Likewise.
11795 (ctanh_tonearest_test_data): Likewise.
11796 (ctanh_towardzero_test_data): Likewise.
11797 (ctanh_downward_test_data): Likewise.
11798 (ctanh_upward_test_data): Likewise.
11799 (erf_test_data): Likewise.
11800 (erfc_test_data): Likewise.
11801 (exp_test_data): Likewise.
11802 (exp_tonearest_test_data): Likewise.
11803 (exp_towardzero_test_data): Likewise.
11804 (exp_downward_test_data): Likewise.
11805 (exp_upward_test_data): Likewise.
11806 (exp10_test_data): Likewise.
11807 (exp2_test_data): Likewise.
11808 (expm1_test_data): Likewise.
11809 (fabs_test_data): Likewise.
11810 (fdim_test_data): Likewise.
11811 (finite_test_data): Likewise.
11812 (floor_test_data): Likewise.
11813 (fma_test_data): Likewise.
11814 (fma_towardzero_test_data): Likewise.
11815 (fma_downward_test_data): Likewise.
11816 (fma_upward_test_data): Likewise.
11817 (fmax_test_data): Likewise.
11818 (fmin_test_data): Likewise.
11819 (fmod_test_data): Likewise.
11820 (fpclassify_test_data): Likewise.
11821 (frexp_test_data): Likewise.
11822 (gamma_test_data): Likewise.
11823 (hypot_test_data): Likewise.
11824 (ilogb_test_data): Likewise.
11825 (isfinite_test_data): Likewise.
11826 (isgreater_test_data): Likewise.
11827 (isgreaterequal_test_data): Likewise.
11828 (isinf_test_data): Likewise.
11829 (isless_test_data): Likewise.
11830 (islessequal_test_data): Likewise.
11831 (islessgreater_test_data): Likewise.
11832 (isnan_test_data): Likewise.
11833 (isnormal_test_data): Likewise.
11834 (issignaling_test_data): Likewise.
11835 (isunordered_test_data): Likewise.
11836 (j0_test_data): Likewise.
11837 (j1_test_data): Likewise.
11838 (jn_test_data): Likewise.
11839 (ldexp_test_data): Likewise.
11840 (lgamma_test_data): Likewise.
11841 (lrint_test_data): Likewise.
11842 (lrint_tonearest_test_data): Likewise.
11843 (lrint_towardzero_test_data): Likewise.
11844 (lrint_downward_test_data): Likewise.
11845 (lrint_upward_test_data): Likewise.
11846 (llrint_test_data): Likewise.
11847 (llrint_tonearest_test_data): Likewise.
11848 (llrint_towardzero_test_data): Likewise.
11849 (llrint_downward_test_data): Likewise.
11850 (llrint_upward_test_data): Likewise.
11851 (log_test_data): Likewise.
11852 (log10_test_data): Likewise.
11853 (log1p_test_data): Likewise.
11854 (log2_test_data): Likewise.
11855 (logb_test_data): Likewise.
11856 (logb_downward_test_data): Likewise.
11857 (lround_test_data): Likewise.
11858 (llround_test_data): Likewise.
11859 (modf_test_data): Likewise.
11860 (nearbyint_test_data): Likewise.
11861 (nextafter_test_data): Likewise.
11862 (nexttoward_test_data): Likewise.
11863 (pow_test_data): Likewise.
11864 (pow_tonearest_test_data): Likewise.
11865 (pow_towardzero_test_data): Likewise.
11866 (pow_downward_test_data): Likewise.
11867 (pow_upward_test_data): Likewise.
11868 (remainder_test_data): Likewise.
11869 (remainder_tonearest_test_data): Likewise.
11870 (remainder_towardzero_test_data): Likewise.
11871 (remainder_downward_test_data): Likewise.
11872 (remainder_upward_test_data): Likewise.
11873 (remquo_test_data): Likewise.
11874 (rint_test_data): Likewise.
11875 (rint_tonearest_test_data): Likewise.
11876 (rint_towardzero_test_data): Likewise.
11877 (rint_downward_test_data): Likewise.
11878 (rint_upward_test_data): Likewise.
11879 (round_test_data): Likewise.
11880 (scalb_test_data): Likewise.
11881 (scalbn_test_data): Likewise.
11882 (scalbln_test_data): Likewise.
11883 (signbit_test_data): Likewise.
11884 (sin_test_data): Likewise.
11885 (sin_tonearest_test_data): Likewise.
11886 (sin_towardzero_test_data): Likewise.
11887 (sin_downward_test_data): Likewise.
11888 (sin_upward_test_data): Likewise.
11889 (sincos_test_data): Likewise.
11890 (sinh_test_data): Likewise.
11891 (sinh_tonearest_test_data): Likewise.
11892 (sinh_towardzero_test_data): Likewise.
11893 (sinh_downward_test_data): Likewise.
11894 (sinh_upward_test_data): Likewise.
11895 (sqrt_test_data): Likewise.
11896 (tan_test_data): Likewise.
11897 (tan_tonearest_test_data): Likewise.
11898 (tan_towardzero_test_data): Likewise.
11899 (tan_downward_test_data): Likewise.
11900 (tan_upward_test_data): Likewise.
11901 (tanh_test_data): Likewise.
11902 (tgamma_test_data): Likewise.
11903 (trunc_test_data): Likewise.
11904 (y0_test_data): Likewise.
11905 (y1_test_data): Likewise.
11906 (yn_test_data): Likewise.
11907 (significand_test_data): Likewise.
11908
b679a606
JM
11909 * math/gen-libm-test.pl (@functions): Remove variable.
11910 (generate_testfile): Don't handle START and END lines.
11911 * math/libm-test.inc (START): New macro.
11912 (END): Likewise.
11913 (END_COMPLEX): Likewise.
11914 (acos_test): Use END macro without arguments.
11915 (acos_test_tonearest): Likewise.
11916 (acos_test_towardzero): Likewise.
11917 (acos_test_downward): Likewise.
11918 (acos_test_upward): Likewise.
11919 (acosh_test): Likewise.
11920 (asin_test): Likewise.
11921 (asin_test_tonearest): Likewise.
11922 (asin_test_towardzero): Likewise.
11923 (asin_test_downward): Likewise.
11924 (asin_test_upward): Likewise.
11925 (asinh_test): Likewise.
11926 (atan_test): Likewise.
11927 (atanh_test): Likewise.
11928 (atan2_test): Likewise.
11929 (cabs_test): Likewise.
11930 (cacos_test): Use END_COMPLEX macro without arguments.
11931 (cacosh_test): Likewise.
11932 (carg_test): Use END macro without arguments.
11933 (casin_test): Use END_COMPLEX macro without arguments.
11934 (casinh_test): Likewise.
11935 (catan_test): Likewise.
11936 (catanh_test): Likewise.
11937 (cbrt_test): Use END macro without arguments.
11938 (ccos_test): Use END_COMPLEX macro without arguments.
11939 (ccosh_test): Likewise.
11940 (ceil_test): Use END macro without arguments.
11941 (cexp_test): Use END_COMPLEX macro without arguments.
11942 (cimag_test): Use END macro without arguments.
11943 (clog_test): Use END_COMPLEX macro without arguments.
11944 (clog10_test): Likewise.
11945 (conj_test): Likewise.
11946 (copysign_test): Use END macro without arguments.
11947 (cos_test): Likewise.
11948 (cos_test_tonearest): Likewise.
11949 (cos_test_towardzero): Likewise.
11950 (cos_test_downward): Likewise.
11951 (cos_test_upward): Likewise.
11952 (cosh_test): Likewise.
11953 (cosh_test_tonearest): Likewise.
11954 (cosh_test_towardzero): Likewise.
11955 (cosh_test_downward): Likewise.
11956 (cosh_test_upward): Likewise.
11957 (cpow_test): Use END_COMPLEX macro without arguments.
11958 (cproj_test): Likewise.
11959 (creal_test): Use END macro without arguments.
11960 (csin_test): Use END_COMPLEX macro without arguments.
11961 (csinh_test): Likewise.
11962 (csqrt_test): Likewise.
11963 (ctan_test): Likewise.
11964 (ctan_test_tonearest): Likewise.
11965 (ctan_test_towardzero): Likewise.
11966 (ctan_test_downward): Likewise.
11967 (ctan_test_upward): Likewise.
11968 (ctanh_test): Likewise.
11969 (ctanh_test_tonearest): Likewise.
11970 (ctanh_test_towardzero): Likewise.
11971 (ctanh_test_downward): Likewise.
11972 (ctanh_test_upward): Likewise.
11973 (erf_test): Use END macro without arguments.
11974 (erfc_test): Likewise.
11975 (exp_test): Likewise.
11976 (exp_test_tonearest): Likewise.
11977 (exp_test_towardzero): Likewise.
11978 (exp_test_downward): Likewise.
11979 (exp_test_upward): Likewise.
11980 (exp10_test): Likewise.
11981 (exp2_test): Likewise.
11982 (expm1_test): Likewise.
11983 (fabs_test): Likewise.
11984 (fdim_test): Likewise.
11985 (finite_test): Likewise.
11986 (floor_test): Likewise.
11987 (fma_test): Likewise.
11988 (fma_test_towardzero): Likewise.
11989 (fma_test_downward): Likewise.
11990 (fma_test_upward): Likewise.
11991 (fmax_test): Likewise.
11992 (fmin_test): Likewise.
11993 (fmod_test): Likewise.
11994 (fpclassify_test): Likewise.
11995 (frexp_test): Likewise.
11996 (gamma_test): Likewise.
11997 (hypot_test): Likewise.
11998 (ilogb_test): Likewise.
11999 (isfinite_test): Likewise.
12000 (isgreater_test): Likewise.
12001 (isgreaterequal_test): Likewise.
12002 (isinf_test): Likewise.
12003 (isless_test): Likewise.
12004 (islessequal_test): Likewise.
12005 (islessgreater_test): Likewise.
12006 (isnan_test): Likewise.
12007 (isnormal_test): Likewise.
12008 (issignaling_test): Likewise.
12009 (isunordered_test): Likewise.
12010 (j0_test): Likewise.
12011 (j1_test): Likewise.
12012 (jn_test): Likewise.
12013 (ldexp_test): Likewise.
12014 (lgamma_test): Likewise.
12015 (lrint_test): Likewise.
12016 (lrint_test_tonearest): Likewise.
12017 (lrint_test_towardzero): Likewise.
12018 (lrint_test_downward): Likewise.
12019 (lrint_test_upward): Likewise.
12020 (llrint_test): Likewise.
12021 (llrint_test_tonearest): Likewise.
12022 (llrint_test_towardzero): Likewise.
12023 (llrint_test_downward): Likewise.
12024 (llrint_test_upward): Likewise.
12025 (log_test): Likewise.
12026 (log10_test): Likewise.
12027 (log1p_test): Likewise.
12028 (log2_test): Likewise.
12029 (logb_test): Likewise.
12030 (logb_test_downward): Likewise.
12031 (lround_test): Likewise.
12032 (llround_test): Likewise.
12033 (modf_test): Likewise.
12034 (nearbyint_test): Likewise.
12035 (nextafter_test): Likewise.
12036 (nexttoward_test): Likewise.
12037 (pow_test): Likewise.
12038 (pow_test_tonearest): Likewise.
12039 (pow_test_towardzero): Likewise.
12040 (pow_test_downward): Likewise.
12041 (pow_test_upward): Likewise.
12042 (remainder_test): Likewise.
12043 (remainder_test_tonearest): Likewise.
12044 (remainder_test_towardzero): Likewise.
12045 (remainder_test_downward): Likewise.
12046 (remainder_test_upward): Likewise.
12047 (remquo_test): Likewise.
12048 (rint_test): Likewise.
12049 (rint_test_tonearest): Likewise.
12050 (rint_test_towardzero): Likewise.
12051 (rint_test_downward): Likewise.
12052 (rint_test_upward): Likewise.
12053 (round_test): Likewise.
12054 (scalb_test): Likewise.
12055 (scalbn_test): Likewise.
12056 (scalbln_test): Likewise.
12057 (signbit_test): Likewise.
12058 (sin_test): Likewise.
12059 (sin_test_tonearest): Likewise.
12060 (sin_test_towardzero): Likewise.
12061 (sin_test_downward): Likewise.
12062 (sin_test_upward): Likewise.
12063 (sincos_test): Likewise.
12064 (sinh_test): Likewise.
12065 (sinh_test_tonearest): Likewise.
12066 (sinh_test_towardzero): Likewise.
12067 (sinh_test_downward): Likewise.
12068 (sinh_test_upward): Likewise.
12069 (sqrt_test): Likewise.
12070 (tan_test): Likewise.
12071 (tan_test_tonearest): Likewise.
12072 (tan_test_towardzero): Likewise.
12073 (tan_test_downward): Likewise.
12074 (tan_test_upward): Likewise.
12075 (tanh_test): Likewise.
12076 (tgamma_test): Likewise.
12077 (trunc_test): Likewise.
12078 (y0_test): Likewise.
12079 (y1_test): Likewise.
12080 (yn_test): Likewise.
12081 (significand_test): Likewise.
12082
bae143d2
OB
120832013-05-24 Ondřej Bílka <neleai@seznam.cz>
12084
12085 [BZ #15381]
12086 * libio/genops.c (_IO_no_init): Initialize wide struct info.
12087
9323d39b
EM
120882013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
12089
d4ea44a0 12090 [BZ #14894]
9323d39b
EM
12091 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
12092 __ppc_mdoio and __ppc_mdoom.
12093 * manual/platform.texi: Document new functions __ppc_yield,
12094 __ppc_mdoio and __ppc_mdoom.
12095
13e23af7
CD
120962013-05-22 Carlos O'Donell <carlos@redhat.com>
12097
12098 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
12099 (main): Mention "tls" pseudo-hwcap is legacy.
12100 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
12101
351fe550
JM
121022013-05-22 Joseph Myers <joseph@codesourcery.com>
12103
12104 * math/gen-libm-test.pl (parse_args): Output only string of
12105 arguments as text for test name, not full call or descriptions of
12106 tests for extra outputs.
12107 (generate_testfile): Do not pass function name to parse_args.
12108 Generate this_func variable from START.
12109 * math/libm-test.inc (struct test_f_f_data): Rename test_name
12110 field to arg_str.
12111 (struct test_ff_f_data): Likewise.
12112 (test_ff_f_data_nexttoward): Likewise.
12113 (struct test_fi_f_data): Likewise.
12114 (struct test_fl_f_data): Likewise.
12115 (struct test_if_f_data): Likewise.
12116 (struct test_fff_f_data): Likewise.
12117 (struct test_c_f_data): Likewise.
12118 (struct test_f_f1_data): Likewise. Remove field extra_name.
12119 (struct test_fF_f1_data): Likewise.
12120 (struct test_ffI_f1_data): Likewise.
12121 (struct test_c_c_data): Rename test_name field to arg_str.
12122 (struct test_cc_c_data): Likewise.
12123 (struct test_f_i_data): Likewise.
12124 (struct test_ff_i_data): Likewise.
12125 (struct test_f_l_data): Likewise.
12126 (struct test_f_L_data): Likewise.
12127 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
12128 and extra2_name.
12129 (COMMON_TEST_SETUP): New macro.
12130 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
12131 (COMMON_TEST_CLEANUP): Likewise.
12132 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
12133 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
12134 macros.
12135 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
12136 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
12137 macros.
12138 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
12139 (RUN_TEST_fff_f): Take argument string. Call new setup and
12140 cleanup macros.
12141 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
12142 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
12143 macros.
12144 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
12145 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
12146 macros.
12147 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
12148 (RUN_TEST_fF_f1): Take argument string. Call new setup and
12149 cleanup macros.
12150 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
12151 (RUN_TEST_fI_f1): Take argument string. Call new setup and
12152 cleanup macros.
12153 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
12154 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
12155 cleanup macros.
12156 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
12157 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
12158 macros.
12159 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
12160 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
12161 macros.
12162 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
12163 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
12164 macros.
12165 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
12166 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
12167 cleanup macros.
12168 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
12169 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
12170 cleanup macros.
12171 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
12172 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
12173 macros.
12174 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
12175 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
12176 cleanup macros.
12177 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
12178 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
12179 macros.
12180 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
12181 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
12182 macros.
12183 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
12184 (RUN_TEST_fFF_11): Take argument string. Call new setup and
12185 cleanup macros.
12186 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
12187
85118d4d
EBM
121882013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
12189
12190 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
12191 to _sifields.sigfault.
12192 (si_addr_lsb): Define new macro.
12193 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
12194 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
12195 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
12196
7a44c18f
CD
121972013-05-03 Carlos O'Donell <carlos at redhat.com>
12198
12199 [BZ #15441]
12200 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
12201 returns -1.
12202 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
12203 null return -1.
12204 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
12205 loading the domain.
12206
b50a7181
JM
122072013-05-22 Joseph Myers <joseph@codesourcery.com>
12208
12209 * math/gen-libm-test.pl (parse_args): Do not include expected
12210 result in test name.
12211 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
12212 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12213 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
12214 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
12215 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
12216 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12217
051063c8
SP
122182013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
12219
3ce9e010
SP
12220 * benchtests/Makefile: Sort function entries.
12221
051063c8
SP
12222 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
12223 tanh, asinh, acosh, atanh.
12224 * benchtests/acos-inputs: New file.
12225 * benchtests/acosh-inputs: New file.
12226 * benchtests/asin-inputs: New file.
12227 * benchtests/asinh-inputs: New file.
12228 * benchtests/atanh-inputs: New file.
12229 * benchtests/cosh-inputs: New file.
12230 * benchtests/log-inputs: New file.
12231 * benchtests/sinh-inputs: New file.
12232 * benchtests/tanh-inputs: New file.
12233
47c22455
DL
122342013-05-21 Dmitry V. Levin <ldv@altlinux.org>
12235
12236 [BZ #15339]
12237 * posix/tst-getaddrinfo4.c: New test.
12238 * posix/Makefile (tests): Add it.
12239
3d04f5db
SP
122402013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12241
12242 [BZ #15339]
12243 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
12244 when no services were used.
12245 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
12246 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
12247
d5dd6189
AS
122482013-05-21 Andreas Schwab <schwab@suse.de>
12249
12250 [BZ #15014]
12251 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
12252 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
12253 successful.
12254 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
12255 redundant variable declarations and reallocation of buffer when
12256 parsing as IPv6 address. Always set NSS status when called from
12257 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
12258 buffer too small. Correct computation of needed size.
12259 * nss/Makefile (tests): Add test-digits-dots.
12260 * nss/test-digits-dots.c: New test.
12261
fef94eab
SP
122622013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12263
12264 * benchtests/Makefile: Remove instructions for adding
12265 benchmark tests.
12266 * benchtests/README: New file to explain how to execute and
12267 enhance the benchmark tests.
12268
e39adf43
AS
122692013-05-21 Andreas Schwab <schwab@suse.de>
12270
12271 [BZ #15493]
12272 * setjmp/Makefile (tests): Add tst-sigsetjmp.
12273 * setjmp/tst-sigsetjmp.c: New test.
12274
b2b671b6
OB
122752013-05-20 Ondřej Bílka <neleai@seznam.cz>
12276
12277 * sysdeps/x86_64/memset.S (memset): New implementation.
12278 (__bzero): Likewise.
12279 (__memset_tail): New function.
12280
2d48b41c
OB
122812013-05-20 Ondřej Bílka <neleai@seznam.cz>
12282
12283 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
12284 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
12285 __memcpy_sse2_unaligned ifunc selection.
12286 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
12287 Add memcpy-sse2-unaligned.S.
12288 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12289 Add: __memcpy_sse2_unaligned.
12290
f16cc3eb
JM
122912013-05-19 Joseph Myers <joseph@codesourcery.com>
12292
3e694268
JM
12293 [BZ #15490]
12294 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
12295 math_force_eval before restoring floating-point envrionment.
12296 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
12297 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
12298 Likewise.
12299 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
12300 <math_private.h>.
12301 (__nearbyintl): Use math_force_eval before restoring
12302 floating-point environment.
12303 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
12304
db62a907
JM
12305 * math/gen-libm-test.pl (special_functions): Remove.
12306 (parse_args): Don't handle TEST_extra. Handle functions with no
12307 return value.
12308 * math/libm-test.inc (struct test_sincos_data): Replace with
12309 struct test_fFF_11_data.
12310 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
12311 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
12312 (sincos_test_data): Change element type to struct
12313 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
12314 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
12315 RUN_TEST_LOOP_sincos.
12316 * math/README.libm-test: Don't mention special handling of
12317 individual functions.
12318 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
12319 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12320 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
12321 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
12322 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
12323 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12324
f16cc3eb
JM
12325 * math/gen-libm-test.pl (get_variable): Remove function.
12326 (parse_args): Don't show pointer parameters to call in test
12327 names. Use "extra output N" in test names for extra outputs
12328 rather than naming variables.
12329
3779b5b6
JM
123302013-05-18 Joseph Myers <joseph@codesourcery.com>
12331
2ee094ff
JM
12332 [BZ #15488]
12333 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
12334 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
12335 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
12336 double tests.
12337 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
12338 disable.
12339 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
12340 check_long_double.
12341
3779b5b6
JM
12342 * math/gen-libm-test.pl (@tests): Remove variable.
12343 ($count): Likewise.
12344 (new_test): Remove function.
12345 (show_exceptions): New function.
12346 (special_functions): Use show_exceptions instead of new_test.
12347 (parse_args): Likewise.
12348 (generate_testfile): Pass only function name in generated call to
12349 print_max_error or print_complex_max_error.
12350 (get_ulps): Do not handle complex tests specially.
12351 (output_test): Rename to ...
12352 (get_all_ulps_for_test): ... this. Return a string rather than
12353 printing to a file. Require ulps to be present.
12354 (output_ulps): Generate arrays rather than #defines.
12355 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
12356 (struct ulp_data): New type.
12357 (BUILD_COMPLEX_ULP): Remove macro.
12358 (compare_ulp_data): New function.
12359 (find_ulps): Likewise.
12360 (find_test_ulps): Likewise.
12361 (find_function_ulps): Likewise.
12362 (find_complex_function_ulps): Likewise.
12363 (print_max_error): Determine allowed ulps using
12364 find_function_ulps.
12365 (print_complex_max_error): Determine allowed ulps using
12366 find_complex_function_ulps.
12367 (check_float_internal): Determine max ulps using find_test_ulps.
12368 (check_float): Do not take max_ulp parameter. Update call to
12369 check_float_internal.
12370 (check_complex): Likewise.
12371 (check_int): Do not take max_ulp parameter.
12372 (check_long): Likewise.
12373 (check_bool): Likewise.
12374 (check_longlong): Likewise.
12375 (struct test_f_f_data): Remove max_ulp field.
12376 (struct test_ff_f_data): Likewise.
12377 (struct test_ff_f_data_nexttoward): Likewise.
12378 (struct test_fi_f_data): Likewise.
12379 (struct test_fl_f_data): Likewise.
12380 (struct test_if_f_data): Likewise.
12381 (struct test_fff_f_data): Likewise.
12382 (struct test_c_f_data): Likewise.
12383 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
12384 (struct test_fF_f1_data): Likewise.
12385 (struct test_ffI_f1_data): Likewise.
12386 (struct test_c_c_data): Remove max_ulp field.
12387 (struct test_cc_c_data): Likewise.
12388 (struct test_f_i_data): Likewise.
12389 (struct test_ff_i_data): Likewise.
12390 (struct test_f_l_data): Likewise.
12391 (struct test_f_L_data): Likewise.
12392 (struct test_sincos_data): Likewise.
12393 (RUN_TEST_f_f): Do not handle ulps.
12394 (RUN_TEST_LOOP_f_f): Likewise.
12395 (RUN_TEST_2_f): Likewise.
12396 (RUN_TEST_LOOP_2_f): Likewise.
12397 (RUN_TEST_fff_f): Likewise.
12398 (RUN_TEST_LOOP_fff_f): Likewise.
12399 (RUN_TEST_c_f): Likewise.
12400 (RUN_TEST_LOOP_c_f): Likewise.
12401 (RUN_TEST_f_f1): Likewise.
12402 (RUN_TEST_LOOP_f_f1): Likewise.
12403 (RUN_TEST_fF_f1): Likewise.
12404 (RUN_TEST_LOOP_fF_f1): Likewise.
12405 (RUN_TEST_fI_f1): Likewise.
12406 (RUN_TEST_LOOP_fI_f1): Likewise.
12407 (RUN_TEST_ffI_f1): Likewise.
12408 (RUN_TEST_LOOP_ffI_f1): Likewise.
12409 (RUN_TEST_c_c): Likewise.
12410 (RUN_TEST_LOOP_c_c): Likewise.
12411 (RUN_TEST_cc_c): Likewise.
12412 (RUN_TEST_LOOP_cc_c): Likewise.
12413 (RUN_TEST_f_i): Likewise.
12414 (RUN_TEST_LOOP_f_i): Likewise.
12415 (RUN_TEST_f_i_tg): Likewise.
12416 (RUN_TEST_LOOP_f_i_tg): Likewise.
12417 (RUN_TEST_ff_i_tg): Likewise.
12418 (RUN_TEST_LOOP_ff_i_tg): Likewise.
12419 (RUN_TEST_f_b): Likewise.
12420 (RUN_TEST_LOOP_f_b): Likewise.
12421 (RUN_TEST_f_b_tg): Likewise.
12422 (RUN_TEST_LOOP_f_b_tg): Likewise.
12423 (RUN_TEST_f_l): Likewise.
12424 (RUN_TEST_LOOP_f_l): Likewise.
12425 (RUN_TEST_f_L): Likewise.
12426 (RUN_TEST_LOOP_f_L): Likewise.
12427 (RUN_TEST_sincos): Likewise.
12428 (RUN_TEST_LOOP_sincos): Likewise.
12429
8269107f
JM
124302013-05-17 Joseph Myers <joseph@codesourcery.com>
12431
bb38759d
JM
12432 [BZ #15480]
12433 [BZ #15485]
12434 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
12435 main case of finite arguments, set rounding mode to FE_TONEAREST
12436 and discard exceptions.
12437 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
12438 exceptions.
12439 (remainder_tonearest_test_data): New variable.
12440 (remainder_test_tonearest): New function.
12441 (remainder_towardzero_test_data): New variable.
12442 (remainder_test_towardzero): New function.
12443 (remainder_downward_test_data): New variable.
12444 (remainder_test_downward): New function.
12445 (remainder_upward_test_data): New variable.
12446 (remainder_test_upward): New function.
12447 (main): Call the new test functions.
12448
a00bdcf0
JM
12449 * math/libm-test.inc (struct test_f_f1_data): Remove field
12450 extra_init.
12451 (struct test_fF_f1_data): Likewise.
12452 (struct test_ffI_f1_data): Likewise.
12453 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
12454 based on value of EXTRA_EXPECTED.
12455 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
12456 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
12457 EXTRA_VAR based on value of EXTRA_EXPECTED.
12458 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
12459 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
12460 EXTRA_VAR based on value of EXTRA_EXPECTED.
12461 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
12462 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
12463 EXTRA_VAR based on value of EXTRA_EXPECTED.
12464 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
12465 * math/gen-libm-test.pl (parse_args): Don't output initializers
12466 for extra output values.
12467
de407f79
JM
12468 * math/libm-test.inc (check_int): Expect result to be exactly
12469 equal to expected value and do not handle ulps.
12470 (check_long): Likewise.
12471 (check_longlong): Likewise.
12472
8269107f
JM
12473 * math/libm-test.inc (ceil_test_data): Test for "inexact"
12474 exceptions.
12475 (cimag_test_data): Likewise.
12476 (conj_test_data): Likewise.
12477 (copysign_test_data): Likewise.
12478 (cproj_test_data): Likewise.
12479 (creal_test_data): Likewise.
12480 (fabs_test_data): Likewise.
12481 (fdim_test_data): Likewise.
12482 (finite_test_data): Likewise.
12483 (floor_test_data): Likewise.
12484 (fmax_test_data): Likewise.
12485 (fmin_test_data): Likewise.
12486 (fmod_test_data): Likewise.
12487 (fpclassify_test_data): Likewise.
12488 (frexp_test_data): Likewise.
12489 (ilogb_test_data): Likewise.
12490 (isfinite_test_data): Likewise.
12491 (isgreater_test_data): Likewise.
12492 (isgreaterequal_test_data): Likewise.
12493 (isinf_test_data): Likewise.
12494 (isless_test_data): Likewise.
12495 (islessequal_test_data): Likewise.
12496 (islessgreater_test_data): Likewise.
12497 (isnan_test_data): Likewise.
12498 (isnormal_test_data): Likewise.
12499 (issignaling_test_data): Likewise.
12500 (isunordered_test_data): Likewise.
12501 (ldexp_test_data): Likewise.
12502 (lrint_test_data): Likewise.
12503 (lrint_test_data) [TEST_FLOAT]: Disable one test.
12504 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
12505 (lrint_tonearest_test_data): Test for "inexact" exceptions.
12506 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
12507 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
12508 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
12509 test input.
12510 (lrint_towardzero_test_data): Test for "inexact" exceptions.
12511 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
12512 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
12513 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
12514 that test input.
12515 (lrint_downward_test_data): Test for "inexact" exceptions.
12516 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
12517 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
12518 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
12519 test input.
12520 (lrint_upward_test_data): Test for "inexact" exceptions.
12521 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
12522 test input.
12523 (llrint_test_data): Test for "inexact" exceptions.
12524 (llrint_test_data) [TEST_FLOAT]: Disable one test.
12525 (llrint_tonearest_test_data): Test for "inexact" exceptions.
12526 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
12527 (llrint_towardzero_test_data): Test for "inexact" exceptions.
12528 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
12529 (llrint_downward_test_data): Test for "inexact" exceptions.
12530 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
12531 (llrint_upward_test_data): Test for "inexact" exceptions.
12532 (logb_test_data): Likewise.
12533 (logb_downward_test_data): Likewise.
12534 (nextafter_test_data): Likewise.
12535 (nexttoward_test_data): Likewise.
12536 (remainder_test_data): Likewise.
12537 (remquo_test_data): Likewise.
12538 (scalbn_test_data): Likewise.
12539 (scalbln_test_data): Likewise.
12540 (signbit_test_data): Likewise.
12541 (sqrt_test_data): Likewise.
12542 (significand_test_data): Likewise.
12543
48a18de1
SP
125442013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
12545
12546 [BZ #15424]
12547 * benchtests/bench-modf.c (struct args): Mark arg0 as
12548 volatile.
12549 * scripts/bench.pl: Mark members of struct args as volatile.
12550
13d3b41a
AZ
125512013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12552
68191c1d 12553 [BZ # 15497]
13d3b41a
AZ
12554 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
12555 negative infinity on POWER6 or lower.
12556 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
12557
2848b105
MR
125582013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
12559
12560 [BZ #15442]
12561 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
12562 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
12563 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
12564 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
12565 (_FP_SETQNAN): New macro.
12566 (_FP_SETQNAN_SEMIRAW): Likewise.
12567 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
12568 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
12569 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
12570 (FP_EXTEND): Use _FP_FRAC_SNANP.
12571 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
12572 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
12573 into account.
12574 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
12575 New macro.
12576 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
12577 Likewise.
12578
323e5cb7
JM
125792013-05-16 Joseph Myers <joseph@codesourcery.com>
12580
c58b274f
JM
12581 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
12582 with DIVIDE_BY_ZERO_EXCEPTION.
12583 (gamma_test_data): Likewise.
12584 (lgamma_test_data): Likewise.
12585 (log_test_data): Likewise.
12586 (log10_test_data): Likewise.
12587 (log2_test_data): Likewise.
12588 (tgamma_test_data): Likewise.
12589
0ab34904
JM
12590 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
12591 (acos_test_tonearest): Likewise.
12592 (acos_test_towardzero): Likewise.
12593 (acos_test_downward): Likewise.
12594 (acos_test_upward): Likewise.
12595 (acosh_test): Likewise.
12596 (asin_test): Likewise.
12597 (asin_test_tonearest): Likewise.
12598 (asin_test_towardzero): Likewise.
12599 (asin_test_downward): Likewise.
12600 (asin_test_upward): Likewise.
12601 (asinh_test): Likewise.
12602 (atan_test): Likewise.
12603 (atanh_test): Likewise.
12604 (atan2_test): Likewise.
12605 (cabs_test): Likewise.
12606 (cacos_test): Likewise.
12607 (cacosh_test): Likewise.
12608 (casin_test): Likewise.
12609 (casinh_test): Likewise.
12610 (catan_test): Likewise.
12611 (catanh_test): Likewise.
12612 (cbrt_test): Likewise.
12613 (ccos_test): Likewise.
12614 (ccosh_test): Likewise.
12615 (cexp_test): Likewise.
12616 (clog_test): Likewise.
12617 (clog10_test): Likewise.
12618 (cos_test): Likewise.
12619 (cos_test_tonearest): Likewise.
12620 (cos_test_towardzero): Likewise.
12621 (cos_test_downward): Likewise.
12622 (cos_test_upward): Likewise.
12623 (cosh_test): Likewise.
12624 (cosh_test_tonearest): Likewise.
12625 (cosh_test_towardzero): Likewise.
12626 (cosh_test_downward): Likewise.
12627 (cosh_test_upward): Likewise.
12628 (cpow_test): Likewise.
12629 (csin_test): Likewise.
12630 (csinh_test): Likewise.
12631 (csqrt_test): Likewise.
12632 (ctan_test): Likewise.
12633 (ctan_test_tonearest): Likewise.
12634 (ctan_test_towardzero): Likewise.
12635 (ctan_test_downward): Likewise.
12636 (ctan_test_upward): Likewise.
12637 (ctanh_test): Likewise.
12638 (ctanh_test_tonearest): Likewise.
12639 (ctanh_test_towardzero): Likewise.
12640 (ctanh_test_downward): Likewise.
12641 (ctanh_test_upward): Likewise.
12642 (erf_test): Likewise.
12643 (erfc_test): Likewise.
12644 (exp_test): Likewise.
12645 (exp_test_tonearest): Likewise.
12646 (exp_test_towardzero): Likewise.
12647 (exp_test_downward): Likewise.
12648 (exp_test_upward): Likewise.
12649 (exp10_test): Likewise.
12650 (exp2_test): Likewise.
12651 (expm1_test): Likewise.
12652 (fmod_test): Likewise.
12653 (gamma_test): Likewise.
12654 (hypot_test): Likewise.
12655 (j0_test): Likewise.
12656 (j1_test): Likewise.
12657 (jn_test): Likewise.
12658 (lgamma_test): Likewise.
12659 (log_test): Likewise.
12660 (log10_test): Likewise.
12661 (log1p_test): Likewise.
12662 (log2_test): Likewise.
12663 (logb_test_downward): Likewise.
12664 (pow_test): Likewise.
12665 (pow_test_tonearest): Likewise.
12666 (pow_test_towardzero): Likewise.
12667 (pow_test_downward): Likewise.
12668 (pow_test_upward): Likewise.
12669 (remainder_test): Likewise.
12670 (remquo_test): Likewise.
12671 (sin_test): Likewise.
12672 (sin_test_tonearest): Likewise.
12673 (sin_test_towardzero): Likewise.
12674 (sin_test_downward): Likewise.
12675 (sin_test_upward): Likewise.
12676 (sincos_test): Likewise.
12677 (sinh_test): Likewise.
12678 (sinh_test_tonearest): Likewise.
12679 (sinh_test_towardzero): Likewise.
12680 (sinh_test_downward): Likewise.
12681 (sinh_test_upward): Likewise.
12682 (sqrt_test): Likewise.
12683 (tan_test): Likewise.
12684 (tan_test_tonearest): Likewise.
12685 (tan_test_towardzero): Likewise.
12686 (tan_test_downward): Likewise.
12687 (tan_test_upward): Likewise.
12688 (tanh_test): Likewise.
12689 (tgamma_test): Likewise.
12690 (y0_test): Likewise.
12691 (y1_test): Likewise.
12692 (yn_test): Likewise.
12693
323e5cb7
JM
12694 * math/gen-libm-test.pl (adjust_arg): Remove function.
12695 (special_function): Remove argument $in_func. Only handle
12696 generating output for tables of tests, not inside functions.
12697 (parse_args): Likewise.
12698 (generate_testfile): Remove variable $in_func. Update call to
12699 parse_args.
12700 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
12701 (MINUS_ZERO_INIT): Rename macro to minus_zero.
12702 (PLUS_INFTY_INIT): Rename macro to plus_infty.
12703 (MINUS_INFTY_INIT): Rename macro to minus_infty.
12704 (QNAN_VALUE_INIT): Rename macro to qnan_value.
12705 (MAX_VALUE_INIT): Rename macro to max_value.
12706 (MIN_VALUE_INIT): Rename macro to min_value.
12707 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
12708 (plus_zero): Remove variable.
12709 (minus_zero): Likewise.
12710 (plus_infty): Likewise.
12711 (minus_infty): Likewise.
12712 (qnan_value): Likewise.
12713 (max_value): Likewise.
12714 (min_value): Likewise.
12715 (min_subnorm_value): Likewise.
12716
e054f494
RA
127172013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12718
12719 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
12720 uint64_t or uint32_t usage.
12721 * crypt/sha256-block.c: Likewise.
12722 * crypt/sha256-crypt.c: Likewise.
12723 * crypt/sha256.c: Likewise.
12724 * crypt/sha512-block.c: Likewise.
12725 * crypt/sha512-crypt.c: Likewise.
12726 * crypt/sha512.c: Likewise.
12727 * debug/backtrace-tst.c: Likewise.
12728 * debug/pcprofiledump.c: Likewise.
12729 * elf/cache.c: Likewise.
12730 * elf/dl-cache.c: Likewise.
12731 * elf/dl-misc.c: Likewise.
12732 * elf/dl-profile.c: Likewise.
12733 * elf/dl-support.c: Likewise.
12734 * elf/ldconfig.c: Likewise.
12735 * elf/sprof.c: Likewise.
12736 * iconv/dummy-repertoire.c: Likewise.
12737 * iconv/iconv_charmap.c: Likewise.
12738 * iconv/skeleton.c: Likewise.
12739 * iconvdata/8bit-generic.c: Likewise.
12740 * iconvdata/cp737.h: Likewise.
12741 * iconvdata/cp775.h: Likewise.
12742 * iconvdata/ibm1008.h: Likewise.
12743 * iconvdata/ibm1025.h: Likewise.
12744 * iconvdata/ibm1046.h: Likewise.
12745 * iconvdata/ibm1097.h: Likewise.
12746 * iconvdata/ibm1112.h: Likewise.
12747 * iconvdata/ibm1122.h: Likewise.
12748 * iconvdata/ibm1123.h: Likewise.
12749 * iconvdata/ibm1124.h: Likewise.
12750 * iconvdata/ibm1129.h: Likewise.
12751 * iconvdata/ibm1130.h: Likewise.
12752 * iconvdata/ibm1132.h: Likewise.
12753 * iconvdata/ibm1133.h: Likewise.
12754 * iconvdata/ibm1137.h: Likewise.
12755 * iconvdata/ibm1140.h: Likewise.
12756 * iconvdata/ibm1141.h: Likewise.
12757 * iconvdata/ibm1142.h: Likewise.
12758 * iconvdata/ibm1143.h: Likewise.
12759 * iconvdata/ibm1144.h: Likewise.
12760 * iconvdata/ibm1145.h: Likewise.
12761 * iconvdata/ibm1146.h: Likewise.
12762 * iconvdata/ibm1147.h: Likewise.
12763 * iconvdata/ibm1148.h: Likewise.
12764 * iconvdata/ibm1149.h: Likewise.
12765 * iconvdata/ibm1153.h: Likewise.
12766 * iconvdata/ibm1154.h: Likewise.
12767 * iconvdata/ibm1155.h: Likewise.
12768 * iconvdata/ibm1156.h: Likewise.
12769 * iconvdata/ibm1157.h: Likewise.
12770 * iconvdata/ibm1158.h: Likewise.
12771 * iconvdata/ibm1160.h: Likewise.
12772 * iconvdata/ibm1161.h: Likewise.
12773 * iconvdata/ibm1162.h: Likewise.
12774 * iconvdata/ibm1163.h: Likewise.
12775 * iconvdata/ibm1164.h: Likewise.
12776 * iconvdata/ibm1166.h: Likewise.
12777 * iconvdata/ibm1167.h: Likewise.
12778 * iconvdata/ibm12712.h: Likewise.
12779 * iconvdata/ibm1390.h: Likewise.
12780 * iconvdata/ibm1399.h: Likewise.
12781 * iconvdata/ibm16804.h: Likewise.
12782 * iconvdata/ibm4517.h: Likewise.
12783 * iconvdata/ibm4899.h: Likewise.
12784 * iconvdata/ibm4909.h: Likewise.
12785 * iconvdata/ibm4971.h: Likewise.
12786 * iconvdata/ibm5347.h: Likewise.
12787 * iconvdata/ibm803.h: Likewise.
12788 * iconvdata/ibm856.h: Likewise.
12789 * iconvdata/ibm901.h: Likewise.
12790 * iconvdata/ibm902.h: Likewise.
12791 * iconvdata/ibm9030.h: Likewise.
12792 * iconvdata/ibm9066.h: Likewise.
12793 * iconvdata/ibm921.h: Likewise.
12794 * iconvdata/ibm922.h: Likewise.
12795 * iconvdata/ibm9448.h: Likewise.
12796 * iconvdata/isiri-3342.h: Likewise.
12797 * iconvdata/jis0201.h: Likewise.
12798 * include/link.h: Likewise.
12799 * include/netdb.h: Likewise.
12800 * inet/check_native.c: Likewise.
12801 * inet/check_pf.c: Likewise.
12802 * inet/getipv4sourcefilter.c: Likewise.
12803 * inet/getnameinfo.c: Likewise.
12804 * inet/getsourcefilter.c: Likewise.
12805 * inet/htonl.c: Likewise.
12806 * inet/setipv4sourcefilter.c: Likewise.
12807 * inet/setsourcefilter.c: Likewise.
12808 * inet/test-inet6_opt.c: Likewise.
12809 * inet/tst-network.c: Likewise.
12810 * locale/C-collate.c: Likewise.
12811 * locale/C-ctype.c: Likewise.
12812 * locale/C-time.c: Likewise.
12813 * locale/C-translit.h: Likewise.
12814 * locale/loadarchive.c: Likewise.
12815 * locale/programs/3level.h: Likewise.
12816 * locale/programs/charmap.c: Likewise.
12817 * locale/programs/charmap.h: Likewise.
12818 * locale/programs/ld-address.c: Likewise.
12819 * locale/programs/ld-collate.c: Likewise.
12820 * locale/programs/ld-ctype.c: Likewise.
12821 * locale/programs/ld-identification.c: Likewise.
12822 * locale/programs/ld-measurement.c: Likewise.
12823 * locale/programs/ld-messages.c: Likewise.
12824 * locale/programs/ld-monetary.c: Likewise.
12825 * locale/programs/ld-name.c: Likewise.
12826 * locale/programs/ld-numeric.c: Likewise.
12827 * locale/programs/ld-paper.c: Likewise.
12828 * locale/programs/ld-telephone.c: Likewise.
12829 * locale/programs/ld-time.c: Likewise.
12830 * locale/programs/linereader.c: Likewise.
12831 * locale/programs/locale.c: Likewise.
12832 * locale/programs/locarchive.c: Likewise.
12833 * locale/programs/locfile.h: Likewise.
12834 * locale/programs/repertoire.c: Likewise.
12835 * locale/programs/simple-hash.c: Likewise.
12836 * locale/programs/simple-hash.h: Likewise.
12837 * malloc/memusage.c: Likewise.
12838 * malloc/memusagestat.c: Likewise.
12839 * nis/nis_defaults.c: Likewise.
12840 * nis/nis_hash.c: Likewise.
12841 * nis/nis_print.c: Likewise.
12842 * nis/nis_xdr.c: Likewise.
12843 * nscd/connections.c: Likewise.
12844 * nscd/hstcache.c: Likewise.
12845 * nscd/nscd_gethst_r.c: Likewise.
12846 * nscd/nscd_getserv_r.c: Likewise.
12847 * nscd/nscd_helper.c: Likewise.
12848 * nscd/servicescache.c: Likewise.
12849 * nss/makedb.c: Likewise.
12850 * nss/nss_db/db-XXX.c: Likewise.
12851 * nss/nss_db/db-initgroups.c: Likewise.
12852 * nss/nss_db/db-netgrp.c: Likewise.
12853 * nss/nss_files/files-network.c: Likewise.
12854 * nss/nss_files/files-parse.c: Likewise.
12855 * posix/bug-regex5.c: Likewise.
12856 * posix/fnmatch_loop.c: Likewise.
12857 * posix/regcomp.c: Likewise.
12858 * posix/regexec.c: Likewise.
12859 * posix/tst-rfc3484-2.c: Likewise.
12860 * posix/tst-rfc3484-3.c: Likewise.
12861 * posix/tst-rfc3484.c: Likewise.
12862 * resolv/nss_dns/dns-canon.c: Likewise.
12863 * resolv/nss_dns/dns-network.c: Likewise.
12864 * resolv/res_init.c: Likewise.
12865 * resolv/res_mkquery.c: Likewise.
12866 * resolv/tst-aton.c: Likewise.
12867 * stdlib/cxa_atexit.c: Likewise.
12868 * stdlib/cxa_finalize.c: Likewise.
12869 * stdlib/gen-fpioconst.c: Likewise.
12870 * stdlib/strtol_l.c: Likewise.
12871 * string/tst-endian.c: Likewise.
12872 * sunrpc/auth_des.c: Likewise.
12873 * sunrpc/clnt_udp.c: Likewise.
12874 * sunrpc/rtime.c: Likewise.
12875 * sunrpc/svcauth_des.c: Likewise.
12876 * sunrpc/xdr.c: Likewise.
12877 * sunrpc/xdr_intXX_t.c: Likewise.
12878 * sunrpc/xdr_rec.c: Likewise.
12879 * sysdeps/generic/ldconfig.h: Likewise.
12880 * sysdeps/generic/ldsodefs.h: Likewise.
12881 * sysdeps/generic/memusage.h: Likewise.
12882 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
12883 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
12884 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
12885 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
12886 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
12887 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
12888 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
12889 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
12890 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
12891 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
12892 * sysdeps/posix/getaddrinfo.c: Likewise.
12893 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
12894 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
12895 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
12896 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
12897 * sysdeps/powerpc/test-gettimebase.c: Likewise.
12898 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
12899 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
12900 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
12901 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
12902 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
12903 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
12904 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
12905 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
12906 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
12907 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
12908 * sysdeps/x86_64/dl-tls.h: Likewise.
12909 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
12910 * time/alt_digit.c: Likewise.
12911 * time/era.c: Likewise.
12912 * wcsmbs/tst-c16c32-1.c: Likewise.
12913
8c75f674
JM
129142013-05-16 Joseph Myers <joseph@codesourcery.com>
12915
12916 * math/libm-test.inc (struct test_sincos_data): New type.
12917 (RUN_TEST_LOOP_sincos): New macro.
12918 (sincos_test_data): New variable.
12919 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
12920
e6e49e59
RH
129212013-05-16 Richard Henderson <rth@redhat.com>
12922
12923 * math/atest-exp2.c (LIMB64): New macro.
12924 (CONSTSZ): New macro.
12925 (mp_exp1, mp_exp_m1, mp_log2): New variables.
12926 (hexdig): Move ...
12927 (print_mpn_fp): ... to function scope.
12928 (read_mpn_hex): Remove.
12929 (get_log2): Remove.
12930 (exp2_mpn): Use mp_log2.
12931 (main): Use mp_exp1.
12932
15c7c18d
JM
129332013-05-16 Joseph Myers <joseph@codesourcery.com>
12934
105a07df
JM
12935 * math/libm-test.inc: Remove comment about not testing "inexact"
12936 exceptions.
12937 (INEXACT_EXCEPTION): New macro.
12938 (NO_INEXACT_EXCEPTION): Likewise.
12939 (INVALID_EXCEPTION_OK): Update value.
12940 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
12941 (OVERFLOW_EXCEPTION_OK): Likewise.
12942 (UNDERFLOW_EXCEPTION_OK): Likewise.
12943 (IGNORE_ZERO_INF_SIGN): Likewise.
12944 (ERRNO_UNCHANGED): Likewise.
12945 (ERRNO_EDOM): Likewise.
12946 (ERRNO_ERANGE): Likewise.
12947 (test_exceptions): Handle testing "inexact" exceptions.
12948 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
12949 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
12950 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
12951 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
12952 INEXACT_EXCEPTION.
12953 (rint_towardzero_test_data): Likewise.
12954 (rint_downward_test_data): Likewise.
12955 (rint_upward_test_data): Likewise.
12956
e9eee333
JM
12957 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
12958 with OVERFLOW_EXCEPTION.
12959 (exp10_test_data): Likewise.
12960 (exp2_test_data): Likewise.
12961 (expm1_test_data): Likewise.
12962 (lgamma_test_data): Likewise.
12963 (pow_test_data): Likewise.
12964 (tgamma_test_data): Likewise.
12965 (yn_test_data): Remove duplicate test of overflow.
12966
1c38ff73
JM
12967 * math/libm-test.inc (struct test_cc_c_data): New type.
12968 (RUN_TEST_LOOP_cc_c): New macro.
12969 (cpow_test_data): New variable.
12970 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
12971
15c7c18d
JM
12972 * math/libm-test.inc (struct test_f_L_data): New type.
12973 (RUN_TEST_LOOP_f_L): New macro.
12974 (llrint_test_data): New variable.
12975 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
12976 (llrint_tonearest_test_data): New variable.
12977 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
12978 (llrint_towardzero_test_data): New variable.
12979 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
12980 (llrint_downward_test_data): New variable.
12981 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
12982 (llrint_upward_test_data): New variable.
12983 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
12984 (llround_test_data): New variable.
12985 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
12986
f137ff13
PC
129872013-05-13 Peter Collingbourne <pcc@google.com>
12988
12989 * math/atest-exp2.c (get_log2): Remove const attribute.
12990
3608cb24
JM
129912013-05-15 Joseph Myers <joseph@codesourcery.com>
12992
12993 * math/libm-test.inc (struct test_f_l_data): New type.
12994 (RUN_TEST_LOOP_f_l): New macro.
12995 (lrint_test_data): New variable.
12996 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
12997 (lrint_tonearest_test_data): New variable.
12998 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
12999 (lrint_towardzero_test_data): New variable.
13000 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
13001 (lrint_downward_test_data): New variable.
13002 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
13003 (lrint_upward_test_data): New variable.
13004 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
13005 (lround_test_data): New variable.
13006 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
13007
39b1f617
PC
130082013-05-15 Peter Collingbourne <pcc@google.com>
13009
1deff3dc
PC
13010 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
13011 (EXTRACT_WORDS64) Use where appropriate.
13012 (INSERT_WORDS64) Likewise.
13013
791f3ba0
PC
13014 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
13015 constraints with x constraints.
13016 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
13017
39b1f617
PC
13018 * malloc/obstack.c (_obstack_compat): Add initializer.
13019
12fba011
EM
130202013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
13021
13022 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
13023 si_trapno and add si_addr_lsb to _sifields.sigfault.
13024 (si_trapno): Remove macro.
13025 (si_addr_lsb): Define new macro.
13026 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
13027
d369f531
JM
130282013-05-15 Joseph Myers <joseph@codesourcery.com>
13029
b861c6c4
JM
13030 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
13031 instead of TEST_f_l.
13032 (llrint_test_tonearest): Likewise.
13033 (llrint_test_towardzero): Likewise.
13034 (llrint_test_downward): Likewise.
13035 (llrint_test_upward): Likewise.
13036 (llround_test): Likewise.
13037
7abeee12
JM
13038 * math/libm-test.inc (struct test_f_i_data): Add comment.
13039 (RUN_TEST_LOOP_f_b): New macro.
13040 (RUN_TEST_LOOP_f_b_tg): Likewise.
13041 (finite_test_data): New variable.
13042 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
13043 (isfinite_test_data): New variable.
13044 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13045 (isinf_test_data): New variable.
13046 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13047 (isnan_test_data): New variable.
13048 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13049 (isnormal_test_data): New variable.
13050 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13051 (issignaling_test_data): New variable.
13052 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13053 (signbit_test_data): New variable.
13054 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13055
cbe8c4d3
JM
13056 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
13057 with INVALID_EXCEPTION.
13058 (acosh_test_data): Likewise.
13059 (asin_test_data): Likewise.
13060 (atanh_test_data): Likewise.
13061 (fmod_test_data): Likewise.
13062 (log_test_data): Likewise.
13063 (log10_test_data): Likewise.
13064 (log2_test_data): Likewise.
13065 (pow_test_data): Likewise.
13066 (sqrt_test_data): Likewise.
13067 (y0_test_data): Likewise.
13068 (y1_test_data): Likewise.
13069 (yn_test_data): Likewise.
13070
5575c0e5
JM
13071 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
13072 function contents.
13073
d369f531
JM
13074 * math/libm-test.inc (struct test_ff_i_data): New type.
13075 (RUN_TEST_LOOP_ff_i_tg): New macro.
13076 (isgreater_test_data): New variable.
13077 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13078 (isgreaterequal_test_data): New variable.
13079 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13080 (isless_test_data): New variable.
13081 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13082 (islessequal_test_data): New variable.
13083 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13084 (islessgreater_test_data): New variable.
13085 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13086 (isunordered_test_data): New variable.
13087 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13088
781fd748
DM
130892013-05-14 David S. Miller <davem@davemloft.net>
13090
13091 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13092
87aa21df
JM
130932013-05-14 Joseph Myers <joseph@codesourcery.com>
13094
5e908270
JM
13095 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
13096
f71172e5
JM
13097 * math/libm-test.inc (struct test_fF_f1_data): Change type of
13098 extra_test to int.
13099 (struct test_f_i_data): Change type of max_ulp to int.
13100
8cfa635a
JM
13101 * math/libm-test.inc (test_ffI_f1_data): New type.
13102 (RUN_TEST_LOOP_ffI_f1): New macro.
13103 (remquo_test_data): New variable.
13104 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
13105
2bcb36b2
JM
13106 * setjmp/tst-setjmp-fp.c: New file.
13107 * setjmp/Makefile (tests): Add tst-setjmp-fp.
13108 (link-libm): New variable.
13109 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
13110
acbd839a
JM
13111 * math/libm-test.inc (struct test_f_i_data): New type.
13112 (RUN_TEST_LOOP_f_i): New macro.
13113 (RUN_TEST_LOOP_f_i_tg): Likewise.
13114 (fpclassify_test_data): New variable.
13115 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
13116 (ilogb_test_data): New variable.
13117 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
13118
e414d745
JM
13119 * math/libm-test.inc (scalbln_test): Correct function name in END
13120 call.
13121
d9c2a0fd
JM
13122 * math/libm-test.inc (struct test_f_f1_data): Add comment.
13123 (RUN_TEST_LOOP_fI_f1): New macro.
13124 (frexp_test_data): New variable.
13125 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
13126
9dc9095d
JM
13127 * math/libm-test.inc (struct test_fF_f1_data): New type.
13128 (RUN_TEST_LOOP_fF_f1): New macro.
13129 (modf_test_data): New variable.
13130 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
13131
87aa21df
JM
13132 * math/libm-test.inc (struct test_f_f1_data): New type.
13133 (RUN_TEST_LOOP_f_f1): New macro.
13134 (gamma_test_data): New variable.
13135 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
13136 (lgamma_test_data): New variable.
13137 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
13138
141af660
CD
131392013-05-13 Carlos O'Donell <carlos@redhat.com>
13140
13141 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
13142 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
13143 (main): Comment "tls" pseudo-hwcap.
13144
6d33265c
JM
131452013-05-13 Joseph Myers <joseph@codesourcery.com>
13146
68fc074c
JM
13147 * math/libm-test.inc (struct test_fl_f_data): New type.
13148 (RUN_TEST_LOOP_fl_f): New variable.
13149 (scalbln_test_data): New variable.
13150 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
13151
243216e1
JM
13152 * math/libm-test.inc (struct test_fi_f_data): New type.
13153 (RUN_TEST_LOOP_fi_f): New macro.
13154 (ldexp_test_data): New variable.
13155 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
13156 (scalbn_test_data): New variable.
13157 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
13158
6a1992e2
JM
13159 * math/libm-test.inc (struct test_c_f_data): New type.
13160 (RUN_TEST_LOOP_c_f): New macro.
13161 (cabs_test_data): New variable.
13162 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
13163 (carg_test_data): New variable.
13164 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
13165 (cimag_test_data): New variable.
13166 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
13167 (creal_test_data): New variable.
13168 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
13169
0e400df5
JM
13170 * math/libm-test.inc (struct test_if_f_data): New type.
13171 (RUN_TEST_LOOP_if_f): New macro.
13172 (jn_test_data): New variable.
13173 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
13174 (yn_test_data): New variable.
13175 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
13176
6d33265c
JM
13177 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
13178
f98ece5f
AZ
131792013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13180
13181 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
13182 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
13183
0f7d347b
SP
131842013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
13185
43fe811b
SP
13186 * benchtests/Makefile (CPPFLAGS-nonlib): Add
13187 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
13188 (bench-deps): Add bench-timing.h.
13189 * benchtests-bench-skeleton.c: Include bench-timing.h.
13190 (main): Use TIMING_* macros instead of clock_gettime.
13191 * benchtests/bench-timing.h: New file.
13192
0f7d347b
SP
13193 [BZ #14582]
13194 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
13195 Renamed from _LIB_VERSION.
13196 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
13197
601a3a5f
JM
131982013-05-12 Joseph Myers <joseph@codesourcery.com>
13199
4f184d30
JM
13200 * math/libm-test.inc (struct test_fff_f_data): New type.
13201 (RUN_TEST_LOOP_fff_f): New macro.
13202 (fma_test_data): New variable.
13203 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
13204 (fma_towardzero_test_data): New variable.
13205 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
13206 (fma_downward_test_data): New variable.
13207 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
13208 (fma_upward_test_data): New variable.
13209 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
13210
08198877
JM
13211 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
13212 (struct test_c_c_data): New type.
13213 (RUN_TEST_LOOP_c_c): New macro.
13214 (cacos_test_data): New variable.
13215 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
13216 (cacosh_test_data): New variable.
13217 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
13218 (casin_test_data): New variable.
13219 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
13220 (casinh_test_data): New variable.
13221 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
13222 (catan_test_data): New variable.
13223 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
13224 (catanh_test_data): New variable.
13225 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
13226 (ccos_test_data): New variable.
13227 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
13228 (ccosh_test_data): New variable.
13229 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
13230 (cexp_test_data): New variable.
13231 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
13232 (clog_test_data): New variable.
13233 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
13234 (clog10_test_data): New variable.
13235 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
13236 (conj_test_data): New variable.
13237 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
13238 (cproj_test_data): New variable.
13239 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
13240 (csin_test_data): New variable.
13241 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
13242 (csinh_test_data): New variable.
13243 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
13244 (csqrt_test_data): New variable.
13245 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
13246 (ctan_test_data): New variable.
13247 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
13248 (ctan_tonearest_test_data): New variable.
13249 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
13250 (ctan_towardzero_test_data): New variable.
13251 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
13252 (ctan_downward_test_data): New variable.
13253 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
13254 (ctan_upward_test_data): New variable.
13255 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
13256 (ctanh_test_data): New variable.
13257 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
13258 (ctanh_tonearest_test_data): New variable.
13259 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
13260 (ctanh_towardzero_test_data): New variable.
13261 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
13262 (ctanh_downward_test_data): New variable.
13263 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
13264 (ctanh_upward_test_data): New variable.
13265 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
13266 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
13267 of BUILD_COMPLEX.
13268
601a3a5f
JM
13269 * math/libm-test.inc (struct test_ff_f_data): New type.
13270 (struct test_ff_f_data_nexttoward): Likewise.
13271 (RUN_TEST_LOOP_2_f): New macro.
13272 (RUN_TEST_LOOP_ff_f): Likewise.
13273 (atan2_test_data): New variable.
13274 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
13275 (copysign_test_data): New variable.
13276 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
13277 (fdim_test_data): New variable.
13278 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
13279 (fmax_test_data): New variable.
13280 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
13281 (fmin_test_data): New variable.
13282 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
13283 (fmod_test_data): New variable.
13284 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
13285 (hypot_test_data): New variable.
13286 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
13287 (nextafter_test_data): New variable.
13288 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
13289 (nexttoward_test_data): New variable.
13290 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
13291 (pow_test_data): New variable.
13292 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
13293 (pow_tonearest_test_data): New variable.
13294 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
13295 (pow_towardzero_test_data): New variable.
13296 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
13297 (pow_downward_test_data): New variable.
13298 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
13299 (pow_upward_test_data): New variable.
13300 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
13301 (remainder_test_data): New variable.
13302 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
13303 (scalb_test_data): New variable.
13304 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
13305 * sysdeps/i386/fpu/libm-test-ulps: Update.
13306
74c57478
JM
133072013-05-11 Joseph Myers <joseph@codesourcery.com>
13308
8329e4da
JM
13309 * math/libm-test.inc (fma_test): Use max_value instead of local
13310 variable fltmax.
13311 (nextafter_test): Likewise.
13312
74c57478
JM
13313 * math/libm-test.inc (acos_towardzero_test_data): New variable.
13314 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13315 (acos_downward_test_data): New variable.
13316 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13317 (acos_upward_test_data): New variable.
13318 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13319 (acosh_test_data): New variable.
13320 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
13321 (asin_test_data): New variable.
13322 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
13323 (asin_tonearest_test_data): New variable.
13324 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13325 (asin_towardzero_test_data): New variable.
13326 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13327 (asin_downward_test_data): New variable.
13328 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13329 (asin_upward_test_data): New variable.
13330 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13331 (asinh_test_data): New variable.
13332 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
13333 (atan_test_data): New variable.
13334 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
13335 (atanh_test_data): New variable.
13336 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
13337 (cbrt_test_data): New variable.
13338 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
13339 (ceil_test_data): New variable.
13340 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
13341 (cos_test_data): New variable.
13342 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
13343 (cos_tonearest_test_data): New variable.
13344 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13345 (cos_towardzero_test_data): New variable.
13346 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13347 (cos_downward_test_data): New variable.
13348 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13349 (cos_upward_test_data): New variable.
13350 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13351 (cosh_test_data): New variable.
13352 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
13353 (cosh_tonearest_test_data): New variable.
13354 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13355 (cosh_towardzero_test_data): New variable.
13356 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13357 (cosh_downward_test_data): New variable.
13358 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13359 (cosh_upward_test_data): New variable.
13360 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13361 (erf_test_data): New variable.
13362 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
13363 (erfc_test_data): New variable.
13364 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
13365 (exp_test_data): New variable.
13366 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
13367 (exp_tonearest_test_data): New variable.
13368 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13369 (exp_towardzero_test_data): New variable.
13370 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13371 (exp_downward_test_data): New variable.
13372 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13373 (exp_upward_test_data): New variable.
13374 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13375 (exp10_test_data): New variable.
13376 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
13377 (exp2_test_data): New variable.
13378 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
13379 (expm1_test_data): New variable.
13380 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
13381 (fabs_test_data): New variable.
13382 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
13383 (floor_test_data): New variable.
13384 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
13385 (j0_test_data): New variable.
13386 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
13387 (j1_test_data): New variable.
13388 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
13389 (log_test_data): New variable.
13390 (log_test): Run tests with RUN_TEST_LOOP_f_f.
13391 (log10_test_data): New variable.
13392 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
13393 (log1p_test_data): New variable.
13394 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
13395 (log2_test_data): New variable.
13396 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
13397 (logb_test_data): New variable.
13398 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
13399 (logb_downward_test_data): New variable.
13400 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13401 (nearbyint_test_data): New variable.
13402 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
13403 (rint_test_data): New variable.
13404 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
13405 (rint_tonearest_test_data): New variable.
13406 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13407 (rint_towardzero_test_data): New variable.
13408 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13409 (rint_downward_test_data): New variable.
13410 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13411 (rint_upward_test_data): New variable.
13412 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13413 (round_test_data): New variable.
13414 (round_test): Run tests with RUN_TEST_LOOP_f_f.
13415 (sin_test_data): New variable.
13416 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
13417 (sin_tonearest_test_data): New variable.
13418 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13419 (sin_towardzero_test_data): New variable.
13420 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13421 (sin_downward_test_data): New variable.
13422 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13423 (sin_upward_test_data): New variable.
13424 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13425 (sinh_test_data): New variable.
13426 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
13427 (sinh_tonearest_test_data): New variable.
13428 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13429 (sinh_towardzero_test_data): New variable.
13430 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13431 (sinh_downward_test_data): New variable.
13432 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13433 (sinh_upward_test_data): New variable.
13434 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13435 (sqrt_test_data): New variable.
13436 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
13437 (tan_test_data): New variable.
13438 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
13439 (tan_tonearest_test_data): New variable.
13440 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13441 (tan_towardzero_test_data): New variable.
13442 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13443 (tan_downward_test_data): New variable.
13444 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13445 (tan_upward_test_data): New variable.
13446 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13447 (tanh_test_data): New variable.
13448 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
13449 (tgamma_test_data): New variable.
13450 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
13451 (trunc_test_data): New variable.
13452 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
13453 (y0_test_data): New variable.
13454 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
13455 (y1_test_data): New variable.
13456 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
13457 (significand_test_data): New variable.
13458 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
13459
7187d844
CG
134602013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
13461
13462 [BZ #12387]
13463 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
13464
f63fae73
PT
134652013-05-10 Pino Toscano <toscano.pino@tiscali.it>
13466
13467 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
13468
8a67a4b3
AJ
134692013-05-10 Andreas Jaeger <aj@suse.de>
13470
13471 [BZ #15448]
13472 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
13473 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
13474
51df539d
JM
134752013-05-10 Joseph Myers <joseph@codesourcery.com>
13476
13477 * math/gen-libm-test.pl (adjust_arg): New function.
13478 (special_functions): Handle generating output in both functions
13479 and arrays.
13480 (parse_args): Likewise.
13481 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
13482 $in_func argument to parse_args.
13483 * math/libm-test.inc (struct test_f_f_data): New type.
13484 (IF_ROUND_INIT_): New macro.
13485 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
13486 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
13487 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
13488 (IF_ROUND_INIT_FE_UPWARD): Likewise.
13489 (ROUND_RESTORE_): Likewise.
13490 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
13491 (ROUND_RESTORE_FE_TONEAREST): Likewise.
13492 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
13493 (ROUND_RESTORE_FE_UPWARD): Likewise.
13494 (RUN_TEST_LOOP_f_f): New macro.
13495 (acos_test_data): New variable.
13496 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
13497 (acos_tonearest_test_data): New variable.
13498 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13499
5c637fe5
SP
135002013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
13501
13502 * benchtests/bench-skeleton.c (startup): Fix coding style.
13503
ab2b9461
JM
135042013-05-10 Joseph Myers <joseph@codesourcery.com>
13505
13506 [BZ #6809]
13507 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
13508 negative infinity argument.
13509 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
13510 negative infinity argument.
13511 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
13512 negative infinity argument.
13513 * math/libm-test.inc (tgamma_test): Expect errno to be set for
13514 domain errors.
13515
4c0fe6fe
FW
135162013-05-10 Florian Weimer <fweimer@redhat.com>
13517
13518 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
13519 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
13520 * iconv/iconv_prog.c (main): Likewise.
13521 * locale/programs/charmap-dir.c (charmap_readdir)
13522 (fopen_uncompressed): Likewise.
13523 * locale/programs/locfile.c (siblings_uncached)
13524 (write_locale_data): Use lstat64 instead of lstat.
13525 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
13526 stat.
13527
a3375d29
AJ
135282013-05-10 Andreas Jaeger <aj@suse.de>
13529
13530 [BZ #15395]
13531 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
13532 localization.
13533 Include <locale.h>.
13534
36129722
CD
135352013-05-09 Carlos O'Donell <carlos@redhat.com>
13536
13537 * elf/dl-close.c (_dl_close_worker): Add comments.
13538
faa7f811
JM
135392013-05-09 Joseph Myers <joseph@codesourcery.com>
13540
ed41ffef
JM
13541 [BZ #15359]
13542 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
13543 high part of pi/2.
13544 (__ieee754_rem_pio2l): Update comments.
13545
d0213cd0
JM
13546 [BZ #15429]
13547 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
13548 high part of pi/2.
13549 (__ieee754_rem_pio2l): Update comments.
13550
0d3e777a
JM
13551 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
13552 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
13553
24f56066
JM
13554 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
13555 M_PI_4l.
13556
faa7f811
JM
13557 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
13558 (M_PI_34_LOG10El): Likewise.
13559 (M_PI2_LOG10El): Likewise.
13560 (M_PI4_LOG10El): Likewise.
13561 (M_PI_LOG10El): Likewise.
13562
e9a5e0fd
AZ
135632013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13564
13565 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13566
d8cd06db
JM
135672013-05-08 Joseph Myers <joseph@codesourcery.com>
13568
a0d9f9d7
JM
13569 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
13570 (MINUS_ZERO_INIT): Likewise.
13571 (PLUS_INFTY_INIT): Likewise.
13572 (MINUS_INFTY_INIT): Likewise.
13573 (QNAN_VALUE_INIT): Likewise.
13574 (MAX_VALUE_INIT): Likewise.
13575 (MIN_VALUE_INIT): Likewise.
13576 (MIN_SUBNORM_VALUE_INIT): Likewise.
13577 (plus_zero): Initialize with PLUS_ZERO_INIT.
13578 (minus_zero): Initialize with MINUS_ZERO_INIT.
13579 (plus_infty): Initialize with PLUS_INFTY_INIT.
13580 (minus_infty): Initialize with MINUS_INFTY_INIT.
13581 (qnan_value): Initialize with QNAN_VALUE_INIT.
13582 (max_value): Initialize with MAX_VALUE_INIT.
13583 (min_value): Initialize with MIN_VALUE_INIT.
13584 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
13585
ae08db3b
JM
13586 * math/libm-test.inc (RUN_TEST_if_f): New macro.
13587 (jn_test): Use TEST_if_f instead of TEST_ff_f.
13588 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
13589 (yn_test): Use TEST_if_f instead of TEST_ff_f.
13590
f44bf14a
JM
13591 * math/libm-test.inc (RUN_TEST_f_f): New macro.
13592 (RUN_TEST_2_f): Likewise.
13593 (RUN_TEST_ff_f): Likewise.
13594 (RUN_TEST_fi_f): Likewise.
13595 (RUN_TEST_fl_f): Likewise.
13596 (RUN_TEST_fff_f): Likewise.
13597 (RUN_TEST_c_f): Likewise.
13598 (RUN_TEST_f_f1): Likewise.
13599 (RUN_TEST_fF_f1): Likewise.
13600 (RUN_TEST_fI_f1): Likewise.
13601 (RUN_TEST_ffI_f1): Likewise.
13602 (RUN_TEST_c_c): Likewise.
13603 (RUN_TEST_cc_c): Likewise.
13604 (RUN_TEST_f_i): Likewise.
13605 (RUN_TEST_f_i_tg): Likewise.
13606 (RUN_TEST_ff_i_tg): Likewise.
13607 (RUN_TEST_f_b): Likewise.
13608 (RUN_TEST_f_b_tg): Likewise.
13609 (RUN_TEST_f_l): Likewise.
13610 (RUN_TEST_f_L): Likewise.
13611 (RUN_TEST_sincos): Likewise.
13612 * math/gen-libm-test.pl (new_test): Take new argument to indicate
13613 whether to show exceptions. Do not include ");\n" in return
13614 value.
13615 (special_functions): Output call to RUN_TEST_sincos instead of
13616 check_float calls. Update calls to new_test.
13617 (parse_args): Output call to single RUN_TEST_* macro instead of
13618 check_* calls and other assignments. Update calls to new_test.
13619
d8cd06db
JM
13620 [BZ #2546]
13621 [BZ #2560]
13622 [BZ #5159]
13623 [BZ #15426]
13624 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
13625 input to result for tgamma overflow.
13626 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
13627 (gamma_coeff): New variable.
13628 (NCOEFF): New macro.
13629 (gamma_positive): New function.
13630 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
13631 underflow here. Use gamma_positive instead of exp (lgamma) for
13632 other arguments.
13633 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
13634 (gamma_coeff): New variable.
13635 (NCOEFF): New macro.
13636 (gammaf_positive): New function.
13637 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
13638 underflow here. Use gamma_positive instead of exp (lgamma) for
13639 other arguments.
13640 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
13641 (gamma_coeff): New variable.
13642 (NCOEFF): New macro.
13643 (gammal_positive): New function.
13644 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
13645 underflow here. Use gamma_positive instead of exp (lgamma) for
13646 other arguments.
13647 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
13648 (gamma_coeff): New variable.
13649 (NCOEFF): New macro.
13650 (gammal_positive): New function.
13651 (__ieee754_gammal_r): Handle positive infinity, overflow and
13652 underflow here. Handle NaN the same as positive infinity. Remove
13653 check x < 0xffffffff for negative integers. Use gamma_positive
13654 instead of exp (lgamma) for other arguments.
13655 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
13656 (gamma_coeff): New variable.
13657 (NCOEFF): New macro.
13658 (gammal_positive): New function.
13659 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
13660 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
13661 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
13662 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
13663 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
13664 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
13665 * sysdeps/generic/math_private.h (__gamma_productf): New
13666 prototype.
13667 (__gamma_product): Likewise.
13668 (__gamma_productl): Likewise.
13669 * math/Makefile (libm-calls): Add gamma_product.
13670 * math/libm-test.inc (tgamma_test): Add more tests.
13671 * sysdeps/i386/fpu/libm-test-ulps: Update.
13672 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13673
bb7cf681
OB
136742013-05-08 Ondřej Bílka <neleai@seznam.cz>
13675
13676 * benchtests/bench-skeleton.c (main): Preheat CPU.
13677
ba853947
AJ
136782013-05-07 Aurelien Jarno <aurelien@aurel32.net>
13679
13680 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
13681
8347c74c
RM
136822013-05-07 Roland McGrath <roland@hack.frob.com>
13683
13684 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
13685 and _dl_skip_args_internal.
13686
e8dd4791
CD
136872013-05-07 Carlos O'Donell <carlos@redhat.com>
13688
13689 * manual/message.texi (Message Translation): Talk about users.
13690 Message to key mapping impacts design.
13691
c7405830
RM
136922013-05-06 Roland McGrath <roland@hack.frob.com>
13693
a9173057
RM
13694 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
13695
976e2f03
RM
13696 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
13697
9723ffc5
RM
13698 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
13699 * sysdeps/wordsize-64/glob64.c: ... here.
13700
962e6658
RM
13701 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
13702 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
13703 New macros.
13704
ee586a6d
RM
13705 * debug/getlogin_r_chk.c: Moved to ...
13706 * login/getlogin_r_chk.c: ... here.
13707 * debug/Makefile (routines): Move getlogin_r_chk to ...
13708 * login/Makefile (routines): ... here.
13709 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
13710 * login/Versions (libc: GLIBC_2.4): ... here.
13711
355f9165
RM
13712 * io/poll.c (__poll): Renamed from poll.
13713 Add libc_hidden_def.
13714 (poll): Define as weak alias.
13715
bd9ffde6
RM
13716 * debug/ptsname_r_chk.c: Moved to ...
13717 * login/ptsname_r_chk.c: ... here.
13718 * debug/Makefile (routines): Move ptsname_r_chk to ...
13719 * login/Makefile (routines): ... here.
13720 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
13721 * login/Versions (libc: GLIBC_2.4): ... here.
13722
8fb16a04
RM
13723 * posix/getlogin.c: Moved to ...
13724 * login/getlogin.c: ... here.
13725 * posix/getlogin_r.c: Moved to ...
13726 * login/getlogin_r.c: ... here.
13727 * posix/getlogin_r.c: Moved to ...
13728 * login/getlogin_r.c: ... here.
13729 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
13730 * login/Makefile (routines): ... here.
13731 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
13732 * login/Versions (libc: GLIBC_2.0): ... here.
13733
b99b892f
RM
13734 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
13735 (setrlimit): Define as weak alias.
13736
c7405830
RM
13737 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
13738 Call __ names for open, ftruncate, and close.
13739 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
13740 (truncate): Define as weak alias.
13741
5bf96de5
JM
137422013-05-06 Joseph Myers <joseph@codesourcery.com>
13743
9ea3513c
JM
13744 * math/gen-libm-test.pl (parse_args): Initialize x before each
13745 test of frexp, modf and remquo.
13746
5bf96de5
JM
13747 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
13748 test signgam value.
13749
16e616a7
AZ
137502013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13751
13752 [BZ #15418]
13753 [BZ #15419]
13754 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
13755 internal tests.
13756 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
13757
d5e82754
RM
137582013-05-06 Roland McGrath <roland@hack.frob.com>
13759
13760 * elf/dl-writev.h: New file.
13761 * elf/dl-misc.c: Include it.
13762 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
13763 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
13764
a7548d41
JM
137652013-05-04 Joseph Myers <joseph@codesourcery.com>
13766
b7dab1e4
JM
13767 * math/libm-test.inc (noXFails): Remove variable.
13768 (noXPasses): Likewise.
13769 (BUILD_COMPLEX_INT): Remove macro.
13770 (print_screen): Remove xfail argument.
13771 (print_screen_max_error): Likewise.
13772 (update_stats): Likewise.
13773 (print_max_error): Likewise. Update calls to other affected
13774 functions.
13775 (print_complex_max_error): Likewise.
13776 (test_single_exception): Update calls to print_screen.
13777 (test_single_errno): Likewise.
13778 (check_float_internal): Remove xfail argument. Update calls to
13779 other affected functions.
13780 (check_float): Likewise.
13781 (check_complex): Likewise.
13782 (check_int): Likewise.
13783 (check_long): Likewise.
13784 (check_bool): Likewise.
13785 (check_longlong): Likewise.
13786 (main): Don't print noXFails and noXPasses.
13787 * math/gen-libm-test.pl (top level): Don't mention expected
13788 failure handling in comment.
13789 (new_test): Don't handle expected failures.
13790 (parse_args): Don't mention expected failure handling in comment.
13791 (generate_testfile): Don't handle expected failures.
13792 (parse_ulps): Likewise.
13793 (print_ulps_file): Likewise.
13794 (get_failure): Remove function.
13795 (output_test): Don't handle expected failures.
13796 * make/README.libm-test: Don't mention expected failure handling.
13797
a7548d41
JM
13798 * math/libm-test.inc (plus_zero): Make const. Add initializer.
13799 (minus_zero): Likewise.
13800 (plus_infty): Likewise.
13801 (minus_infty): Likewise.
13802 (qnan_value): Likewise.
13803 (max_value): Likewise.
13804 (min_value): Likewise.
13805 (min_subnorm_value): Likewise.
13806 (initialize): Do not initialize those variables dynamically.
13807
60bfd54c
RM
138082013-05-03 Roland McGrath <roland@hack.frob.com>
13809
cc0e6ed8
RM
13810 * io/open.c (__open_2): Moved to ...
13811 * io/open_2.c: ... this new file.
13812 * io/open64.c (__open64_2): Moved to ...
13813 * io/open64_2.c: ... this new file.
13814 * io/openat.c (__openat_2): Moved to ...
13815 * io/openat_2.c: ... this new file.
13816 * io/openat64.c (__openat64_2): Moved to ...
13817 * io/openat64_2.c: ... this new file.
13818 * io/Makefile (routines): Add them.
13819 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
13820 * sysdeps/unix/sysv/linux/open_2.c: File removed.
13821 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
13822 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
13823 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
13824 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
13825 (__openat64): Add hidden_ver.
13826 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
13827 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
13828
60bfd54c
RM
13829 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
13830 Separately conditionalize setting of GLRO(dl_sysinfo) so
13831 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
13832 as well, but the actual setting is only under [NEED_DL_SYSINFO].
13833
83e7640f
AZ
138342013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13835
13836 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
13837 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
13838 definition.
13839 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
13840 * sysdeps/unix/sysv/linux/powerpc/init-first.c
13841 (_libc_vdso_platform_setup): Add __vdso_time initialization.
13842 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
13843 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
13844
d5dc2af3
JM
138452013-05-03 Joseph Myers <joseph@codesourcery.com>
13846
c31a5b1e
JM
13847 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
13848 test signgam value.
13849
d5dc2af3
JM
13850 * math/libm-test.inc (hypot_test): Do not use
13851 IGNORE_ZERO_INF_SIGN.
13852
164fd39d
AJ
138532013-05-03 Andreas Jaeger <aj@suse.de>
13854
13855 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
13856 Linux 3.9.
13857 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
13858 (PF_MAX): Adjust for VSOCK change.
13859
8237f48c
AZ
138602013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13861
13862 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13863
9df02941
CD
138642013-05-02 Carlos O'Donell <carlos@redhat.com>
13865
13866 [BZ #15264]
13867 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
13868 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
13869 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
13870
d422395e
DM
138712013-05-02 David S. Miller <davem@davemloft.net>
13872
13873 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13874
a07c5731
OB
138752013-05-01 Ondřej Bílka <neleai@seznam.cz>
13876
13877 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
13878
1324e37f
RM
138792013-05-01 Roland McGrath <roland@hack.frob.com>
13880
13881 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
13882
0695940b
RS
138832013-05-01 Richard Smith <richard@metafoo.co.uk>
13884
bb5f27ad 13885 [BZ #14952]
0695940b
RS
13886 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
13887 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
13888 Use __attribute__ ((__gnu_inline__)).
13889 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
13890 Don't use __attribute__ ((__gnu_inline__)).
13891
10de07f5
JM
138922013-05-01 Joseph Myers <joseph@codesourcery.com>
13893
13894 [BZ #15423]
13895 * math/s_catan.c (__catan): Handle small real or imaginary part of
13896 input specially to avoid spurious underflow.
13897 * math/s_catanf.c (__catanf): Likewise.
13898 * math/s_catanh.c (__catanh): Likewise.
13899 * math/s_catanhf.c (__catanhf): Likewise.
13900 * math/s_catanhl.c (__catanhl): Likewise.
13901 * math/s_catanl.c (__catanl): Likewise.
13902 * math/libm-test.inc (catan_test): Add more tests.
13903 (catanh_test): Likewise.
13904 * sysdeps/i386/fpu/libm-test-ulps: Update.
13905 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13906
cb4d5414
AZ
139072013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13908
13909 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13910
caf84319
JM
139112013-04-30 Joseph Myers <joseph@codesourcery.com>
13912
13913 [BZ #15416]
13914 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
13915 accurately for denominator in atan2.
13916 * math/s_catanf.c (__catanf): Likewise.
13917 * math/s_catanh.c (__catanh): Likewise.
13918 * math/s_catanhf.c (__catanhf): Likewise.
13919 * math/s_catanhl.c (__catanhl): Likewise.
13920 * math/s_catanl.c (__catanl): Likewise.
13921 * math/libm-test.inc (catan_test): Add more tests.
13922 (catanh_test): Likewise.
13923 * sysdeps/i386/fpu/libm-test-ulps: Update.
13924 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13925
d569c6ee
SP
139262013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13927
6dbe713d
SP
13928 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
13929
f0ee064b
SP
13930 * benchtests/Makefile (bench): Remove slow benchmarks.
13931 * benchtests/atan-inputs: Add slow benchmark inputs.
13932 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
13933 (BENCH_FUNC): Accept variant offset.
13934 (VARIANT): Define.
13935 * benchtests/bench-skeleton.c (main): Run benchmark for each
13936 variant.
13937 * benchtests/cos-inputs: Add slow benchmark inputs.
13938 * benchtests/exp-inputs: Likewise.
13939 * benchtests/pow-inputs: Likewise.
13940 * benchtests/sin-inputs: Likewise.
13941 * benchtests/slowatan-inputs: Remove.
13942 * benchtests/slowatan.c: Remove.
13943 * benchtests/slowcos-inputs: Remove.
13944 * benchtests/slowcos.c: Remove.
13945 * benchtests/slowexp-inputs: Remove.
13946 * benchtests/slowexp.c: Remove.
13947 * benchtests/slowpow-inputs: Remove.
13948 * benchtests/slowpow.c: Remove.
13949 * benchtests/slowsin-inputs: Remove.
13950 * benchtests/slowsin.c: Remove.
13951 * benchtests/slowtan-inputs: Remove.
13952 * benchtests/slowtan.c: Remove.
13953 * benchtests/tan-inputs: Add slow benchmark inputs.
13954 * scripts/bench.pl: Parse comments and directives.
13955
d569c6ee
SP
13956 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
13957 in CPPFLAGS.
13958 ($(objpfx)bench-%.c): Remove *-ITER.
13959 * benchtests/bench-modf.c: Remove definition of ITER.
13960 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
13961 (main): Loop for DURATION seconds instead of fixed number of
13962 iterations.
13963 * scripts/bench.pl: Don't expect iterations in parameters.
13964
a6a242fe
RM
139652013-04-29 Roland McGrath <roland@hack.frob.com>
13966
13967 * io/fchdir.c (__fchdir): Renamed from fchdir.
13968 (fchdir): Define as weak alias.
13969
f2da7793
JM
139702013-04-29 Joseph Myers <joseph@codesourcery.com>
13971
13972 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
13973 (ERRNO_EDOM): Likewise.
13974 (ERRNO_ERANGE): Likewise.
13975 (noErrnoTests): New variable.
13976 (init_max_error): Set errno to 0.
13977 (test_single_errno): New function.
13978 (test_errno): Likewise.
13979 (check_float_internal): Call test_errno. Set errno to 0.
13980 (check_complex): Refer to errno tests in comment.
13981 (check_int): Call test_errno. Set errno to 0.
13982 (check_long): Likewise.
13983 (check_bool): Likewise.
13984 (check_longlong): Likewise.
13985 (cos_test): Use ERRNO_* flags for errno tests instead of
13986 check_int.
13987 (expm1_test): Likewise.
13988 (fmod_test): Likewise.
13989 (ilogb_test): Likewise.
13990 (lgamma_test): Likewise.
13991 (pow_test): Likewise.
13992 (remainder_test): Likewise.
13993 (sin_test): Likewise.
13994 (tan_test): Likewise.
13995 (yn_test): Likewise.
13996 (initialize): Set errno to 0.
13997 (main): Print number of errno tests.
13998 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
13999
b1a36ceb
AJ
140002013-04-29 Andreas Jaeger <aj@suse.de>
14001
c3ed8088
AJ
14002 [BZ #15084]
14003 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
14004 and RES_USEVC.
14005
f1a24198
AJ
14006 [BZ #15085]
14007 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
14008 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
14009 unimplemented.
14010
9ce3b2cb
AJ
14011 [BZ #15380]
14012 * stdlib/random.c (__initstate): Return NULL if
14013 __initstate fails.
14014
f1a24198 14015 [BZ #15086]
b1a36ceb
AJ
14016 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
14017 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
14018 RES_SNGLKUPREOP.
14019
7e7b6f36
AZ
140202013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14021
14022 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14023
4d14f449
JM
140242013-04-29 Joseph Myers <joseph@codesourcery.com>
14025
14026 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
14027 of individual tests.
14028 (casin_test): Likewise.
14029 (casinh_test): Likewise.
14030
5b4217d7
JM
140312013-04-27 Joseph Myers <joseph@codesourcery.com>
14032
14033 [BZ #15409]
14034 * math/s_catan.c (__catan): Handle arguments with large real or
14035 imaginary part separately without squaring.
14036 * math/s_catanf.c (__catanf): Likewise.
14037 * math/s_catanh.c (__catanh): Likewise.
14038 * math/s_catanhf.c (__catanhf): Likewise.
14039 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
14040 and redefine.
14041 (__catanhl): Handle arguments with large real or imaginary part
14042 separately without squaring.
14043 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
14044 and redefine.
14045 (__catanl): Handle arguments with large real or imaginary part
14046 separately without squaring.
14047 * math/libm-test.inc (catan_test): Add more tests.
14048 (catanh_test): Likewise.
14049 * sysdeps/i386/fpu/libm-test-ulps: Update.
14050 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14051
4220c3ef
AJ
140522013-04-27 Andreas Jaeger <aj@suse.de>
14053
14054 [BZ #15007]
14055 * stdlib/stdlib.h: Update guards for qecvt.
14056 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
14057 <stdlib.h>.
14058
4721b2d1
AM
140592013-04-27 Allan McRae <allan@archlinux.org>
14060
14061 * sysdeps/i386/fpu/libm-test-ulps: Update.
14062
f0302940
JM
140632013-04-26 Joseph Myers <joseph@codesourcery.com>
14064
9457fd95
JM
14065 [BZ #15406]
14066 * math/s_catan.c: Include <float.h>.
14067 (__catan): Ensure underflow exception occurs for underflowed
14068 result.
14069 * math/s_catanf.c: Include <float.h>.
14070 (__catanf): Ensure underflow exception occurs for underflowed
14071 result.
14072 * math/s_catanh.c: Include <float.h>.
14073 (__catanh): Ensure underflow exception occurs for underflowed
14074 result.
14075 * math/s_catanhf.c: Include <float.h>.
14076 (__catanhf): Ensure underflow exception occurs for underflowed
14077 result.
14078 * math/s_catanhl.c: Include <float.h>.
14079 (__catanhl): Ensure underflow exception occurs for underflowed
14080 result.
14081 * math/s_catanl.c: Include <float.h>.
14082 (__catanl): Ensure underflow exception occurs for underflowed
14083 result.
14084 * math/libm-test.inc (catan_test): Add more tests.
14085 (catanh_test): Likewise.
14086
f0302940
JM
14087 [BZ #15405]
14088 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
14089 underflowed result.
14090 * math/s_ccoshf.c (__ccoshf): Likewise.
14091 * math/s_ccoshl.c (__ccoshl): Likewise.
14092 * math/s_csin.c (__csin): Likewise.
14093 * math/s_csinf.c (__csinf): Likewise.
14094 * math/s_csinh.c (__csinh): Likewise.
14095 * math/s_csinhf.c (__csinhf): Likewise.
14096 * math/s_csinhl.c (__csinhl): Likewise.
14097 * math/s_csinl.c (__csinl): Likewise.
14098 * math/libm-test.inc (ccos_test): Add more tests.
14099 (ccosh_test): Likewise.
14100 (csin_test): Likewise.
14101 (csinh_test): Likewise.
14102
aa630f59
AZ
141032013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14104
14105 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
14106 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
14107 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
14108 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
14109 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
14110 powerpc/power5+/fpu folders.
14111 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
14112
14113
1b835983
MT
141142013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
14115
14116 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14117
73709b26
JM
141182013-04-25 Joseph Myers <joseph@codesourcery.com>
14119
14120 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
14121 additions to variable.
14122 [$(config-machine) = x86_64] (modules-names): Likewise.
14123 ($(objpfx)tst-audit3): Remove dependency.
14124 ($(objpfx)tst-audit3.out): Likewise.
14125 ($(objpfx)tst-audit4): Likewise.
14126 ($(objpfx)tst-audit4.out): Likewise.
14127 ($(objpfx)tst-audit5): Likewise.
14128 ($(objpfx)tst-audit5.out): Likewise.
14129 ($(objpfx)tst-audit6): Likewise.
14130 ($(objpfx)tst-audit6.out): Likewise.
14131 ($(objpfx)tst-audit7): Likewise.
14132 ($(objpfx)tst-audit7.out): Likewise.
14133 (tst-audit3-ENV): Remove variable.
14134 (tst-audit4-ENV): Likewise.
14135 (tst-audit5-ENV): Likewise.
14136 (tst-audit6-ENV): Likewise.
14137 (tst-audit7-ENV): Likewise.
14138 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
14139 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
14140 addition to variable.
14141 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
14142 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
14143 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
14144 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
14145 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
14146 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
14147 tst-audit3, tst-audit4 and tst-audit5.
14148 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
14149 tst-audit6 and tst-audit7.
14150 [$(subdir) = elf] (modules-names): Add audit modules for those
14151 tests.
14152 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
14153 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
14154 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
14155 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
14156 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
14157 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
14158 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
14159 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
14160 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
14161 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
14162 [$(subdir) = elf] (tst-audit3-ENV): New variable.
14163 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
14164 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
14165 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
14166 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
14167 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
14168 Likewise.
14169 [$(subdir) = elf && $(config-cflags-avx) = yes]
14170 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
14171 [$(subdir) = elf && $(config-cflags-avx) = yes]
14172 (CFLAGS-tst-auditmod4a.c): Likewise.
14173 [$(subdir) = elf && $(config-cflags-avx) = yes]
14174 (CFLAGS-tst-auditmod4b.c): Likewise.
14175 [$(subdir) = elf && $(config-cflags-avx) = yes]
14176 (CFLAGS-tst-auditmod6b.c): Likewise.
14177 [$(subdir) = elf && $(config-cflags-avx) = yes]
14178 (CFLAGS-tst-auditmod6c.c): Likewise.
14179 [$(subdir) = elf && $(config-cflags-avx) = yes]
14180 (CFLAGS-tst-auditmod7b.c): Likewise.
14181 * elf/tst-audit3.c: Move to ...
14182 * sysdeps/x86_64/tst-audit3.c: ... here.
14183 * elf/tst-audit4.c: Move to ...
14184 * sysdeps/x86_64/tst-audit4.c: ... here.
14185 * elf/tst-audit5.c: Move to ...
14186 * sysdeps/x86_64/tst-audit5.c: ... here.
14187 * elf/tst-audit6.c: Move to ...
14188 * sysdeps/x86_64/tst-audit6.c: ... here.
14189 * elf/tst-audit7.c: Move to ...
14190 * sysdeps/x86_64/tst-audit7.c: ... here.
14191 * elf/tst-auditmod3a.c: Move to ...
14192 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
14193 * elf/tst-auditmod3b.c: Move to ...
14194 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
14195 * elf/tst-auditmod4a.c: Move to ...
14196 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
14197 * elf/tst-auditmod4b.c: Move to ...
14198 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
14199 * elf/tst-auditmod5a.c: Move to ...
14200 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
14201 * elf/tst-auditmod5b.c: Move to ...
14202 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
14203 * elf/tst-auditmod6a.c: Move to ...
14204 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
14205 * elf/tst-auditmod6b.c: Move to ...
14206 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
14207 * elf/tst-auditmod6c.c: Move to ...
14208 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
14209 * elf/tst-auditmod7a.c: Move to ...
14210 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
14211 * elf/tst-auditmod7b.c: Move to ...
14212 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
14213
1ef74943
PP
142142013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
14215
14216 [BZ #15366]
14217 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
14218 define unconditionally.
14219 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
14220 define unconditionally.
14221 (INT8_C, INT16_C, etc.): Likewise.
14222
93fd48c5
MR
142232013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
14224
ae9552cf
MR
14225 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
14226 __ehdr_start with hidden visibility.
14227
93fd48c5
MR
14228 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
14229
418601aa
CD
142302013-04-24 Carlos O'Donell <carlos@redhat.com>
14231
14232 * math/libm-test.inc (cos_test): Use accurate hex constants.
14233 (sincost_test): Likewise.
14234
2f38fbfe
JM
142352013-04-24 Joseph Myers <joseph@codesourcery.com>
14236
5e221800
JM
14237 * math/libm-test.inc (catan_test): Add more tests.
14238 (catanh_test): Likewise.
14239
77f143fd
JM
14240 * math/s_catanf.c (__catanf): Use suffixed floating-point
14241 constants.
14242 * math/s_catanhf.c (__catanhf): Likewise.
14243 * math/s_catanhl.c (__catanhl): Likewise.
14244 * math/s_catanl.c (__catanl): Likewise.
14245
2f38fbfe
JM
14246 [BZ #15394]
14247 * math/s_catan.c (__catan): Calculate imaginary part of result
14248 with log1p not log unless computing log of number close to 0.
14249 * math/s_catanf.c (__catanf): Likewise.
14250 * math/s_catanl.c (__catanl): Likewise.
14251 * math/s_catanh.c (__catanh): Calculate real part of result with
14252 log1p not log unless computing log of number close to 0.
14253 * math/s_catanhf.c (__catanhf): Likewise.
14254 * math/s_catanhl.c (__catanhl): Likewise.
14255 * math/libm-test.inc (catan_test): Add more tests.
14256 (catanh_test): Likewise.
14257 * sysdeps/i386/fpu/libm-test-ulps: Update.
14258 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14259
45d69176
SP
142602013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
14261
14262 * benchtests/Makefile: Mention files in which fast and slow
14263 paths of math functions are implemented.
14264
87f51853
RM
142652013-04-23 Roland McGrath <roland@hack.frob.com>
14266
14267 * sysdeps/posix/timespec_get.c: New file.
14268
3c026539
AZ
142692013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14270
14271 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
14272 POWER.
14273 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
14274 for POWER.
14275 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
14276 powerpc/power5/fpu folders.
14277 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
14278 * benchtests/Makefile: Add modf testcase.
14279 * benchtests/bench-modf.c: New file: Benchmark test for mo
14280
ff491d14
SP
142812013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
14282
14283 [BZ #14888]
14284 * time/Makefile (tests): Add tst-strptime-whitespace.
14285 * time/strptime_l.c (get_number): Use ISSPACE.
14286 (__strptime_internal): Likewise.
14287 * time/tst-strptime-whitespace.c: New test case.
14288
7ed3f4e8
AS
142892013-04-23 Andreas Schwab <schwab@linux-m68k.org>
14290
14291 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
14292 member.
14293 (_nss_files_init): Set it here.
14294
5c95f7b6
HC
142952013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
14296
14297 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
14298 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
14299 unsigned.
14300
d34c9158
JBG
143012013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
14302
14303 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
14304
2169712d
SP
143052013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
14306
14307 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
14308 size just once.
14309
29c5de99
DM
143102013-04-21 David S. Miller <davem@davemloft.net>
14311
14312 * po/ru.po: Update Russion translation from translation project.
14313
ccdad15d
AC
143142013-04-17 Adam Conrad <adconrad@0c3.net>
14315
14316 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
14317 and setfsgid.
14318
0f122b8d
CD
143192013-04-17 Carlos O'Donell <carlos@redhat.com>
14320
5c5b07da 14321 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 14322 * configure: Regenerate.
5c5b07da 14323 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
14324 Add example to error message.
14325 * sysdeps/i386/configure: Regenerate.
14326
037714dd
SP
143272013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
14328
14329 * benchtests/Makefile (bench): Add cos, tan, slowcos and
14330 slowtan.
14331 * benchtests/cos-inputs: New file.
14332 * benchtests/slowcos-inputs: New file.
14333 * benchtests/slowcos.c: New file.
14334 * benchtests/slowtan-inputs: New file.
14335 * benchtests/slowtan.c: New file.
14336 * benchtests/tan-inputs: New file.
14337
e913141d
RM
143382013-04-16 Roland McGrath <roland@hack.frob.com>
14339
14340 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
14341 considered kosher.
14342
a2964074
SP
143432013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
14344
4856bcd2
SP
14345 * benchtests/Makefile: Include cppflags-iterator.mk to add
14346 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
14347
a2964074
SP
14348 * Makefile.in (bench-clean): New target.
14349 * benchtests/Makefile (bench-clean): Likewise.
14350
9fbf9aca
DH
143512013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
14352
14353 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
14354
207d1e2a
TS
143552013-04-15 Thomas Schwinge <thomas@codesourcery.com>
14356
14357 * stdio-common/tstdiomisc.c: Fix coding-style violation.
14358
306dfba9
AS
143592013-04-15 Andreas Schwab <schwab@suse.de>
14360
14361 * nscd/grpcache.c (cache_addgr): Properly check for short write.
14362 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14363 * nscd/pwdcache.c (cache_addpw): Likewise.
14364 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
14365 more than recsize.
14366
206a6699
SP
143672013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
14368
14369 * benchtests/Makefile (bench): Write all output to
14370 bench-out.tmp together.
14371
0582f6b3
AS
143722013-04-15 Andreas Schwab <schwab@suse.de>
14373
14374 * nscd/nscd.c (main): Don't fork again after closing files.
14375
acb4325f
SP
143762013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
14377
5cb26d0a
SP
14378 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
14379
acb4325f
SP
14380 * benchtests/Rules (bench-deps): Collect dependencies into a
14381 single variable. Add Makefile to dependencies.
14382 ($(objpfx)bench-%.c): Depend on bench-deps.
14383
47792506
RM
143842013-04-12 Roland McGrath <roland@hack.frob.com>
14385 Xavier Roche <roche+kml2@exalead.com>
14386
14387 [BZ #15361]
14388 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
14389 just that it's a file descriptor.
14390 * manual/llio.texi (Synchronizing AIO Operations): Update description
14391 for EBADF error from aio_fsync.
14392
8fc1bee5
SP
143932013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
14394
14395 * Rules (bench): Move target definition...
14396 * benchtests/Makefile: ... here.
14397
aba5e333
CD
143982013-04-11 Carlos O'Donell <carlos@redhat.com>
14399
14400 * math/libm-test.inc (cos_test): Fix PI/2 test.
14401 (sincos_test): Likewise.
14402 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
14403 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
14404
273cdee8
AS
144052013-04-11 Andreas Schwab <schwab@suse.de>
14406
6ecec3b6
AS
14407 [BZ #13988]
14408 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
14409 accept exponent character only when digits were seen.
14410 * stdio-common/Makefile (tests): Add bug26.
14411 * stdio-common/bug26.c: New file.
14412
273cdee8
AS
14413 [BZ #14293]
14414 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
14415 non-freeable.
14416
8da491f5
SP
144172013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14418
01dc6df9
SP
14419 * Makeconfig (rtld-prefix): Define built linker prefix.
14420 * Rules (run-bench): Use it.
14421 * math/Makefile (run-regen-ulps): Likewise.
14422
8da491f5
SP
14423 * Rules (bench): Remove eval.
14424
abe7f530
SP
144252013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14426 Roland McGrath <roland@hack.frob.com>
14427 Ondrej Bilka <neleai@seznam.cz>
14428
14429 [BZ #15346]
14430 * time/getdate.c: Include ctype.h and alloca.h.
14431 (__getdate_r): Trim leading and trailing spaces of input.
14432 * time/tst-getdate.c (tests): Add tests with leading and
14433 trailing spaces.
14434
61c23e62
RM
144352013-04-08 Roland McGrath <roland@hack.frob.com>
14436
14437 [BZ #14280]
14438 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
14439 when computing value.
14440
7208a313
CD
144412013-04-06 Carlos O'Donell <carlos@redhat.com>
14442
085b2d41
CD
14443 * math/README.libm-test (How can I generate "libm-test-ulps"?):
14444 Use testrun.sh to run libm tests.
14445
7208a313
CD
14446 [BZ #15309]
14447 * elf/dl-open.c (dl_open_worker): memset all of seen array.
14448
872c0acd
MM
144492013-04-06 Marko Myllynen <myllynen@redhat.com>
14450
14451 [BZ #15264]
14452 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
14453
26510bdd
CD
144542013-04-06 Carlos O'Donell <carlos@redhat.com>
14455
14456 * Makefile.in (regen-ulps): New target.
14457 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
14458 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
14459 [ifneq (no,$(PERL)] (regen-ulps): New target.
14460 [ifeq (no,$(PERL)] (regen-ulps): New target.
14461 * math/libm-test.inc (ulps_file_name): Define.
14462 (output_dir): New variable.
14463 (options): Add "output-dir" option.
14464 (parse_opt): Handle 'o' case.
14465 (main): If output_dir is non-NULL use it as a prefix
14466 otherwise use "".
14467 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
14468
a01f19c8
CD
144692013-04-06 Carlos O'Donell <carlos@redhat.com>
14470
14471 [BZ #10060, #10062]
14472 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
14473 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
14474 fail configure if __sync_val_compare_and_swap is not inlined.
14475 * sysdeps/i386/configure: Regenerate.
14476 * configure.in: Build for i686 when configured for i386.
14477 * configure: Regenerate.
14478 * README: Remove i386 reference.
14479
b7a329a5
CD
144802013-04-06 Carlos O'Donell <carlos@redhat.com>
14481
14482 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
14483 * sysdeps/s390/s390-64/sysdep.h: Likewise.
14484
bf0f50df
TS
144852013-04-05 Thomas Schwinge <thomas@codesourcery.com>
14486
ee091edf
TS
14487 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
14488 (lmsnanval): New variables.
14489 (F): Add conversion tests.
14490 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
14491 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
14492
a8b792d6
TS
14493 * stdio-common/tstdiomisc.c (F): Properly collect individual
14494 tests' results.
14495
a1cbf437
TS
14496 [BZ #14686, #15336]
14497 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
14498 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
14499 Instead, use input NaN values or generate a qNaN by arithmetic
14500 operation. Also fix bugs to comply with the standard.
14501 * math/libm-test.inc (remainder_test): Add more tests.
14502
8b43a0c9
TS
14503 [BZ #15335, #15342]
14504 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
14505 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
14506 input NaN values or generate a qNaN by arithmetic operation.
14507
d91da4ce
TS
14508 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
14509 unreachable code.
14510
bf0f50df
TS
14511 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
14512 definitions.
14513
05e166c8
JM
145142013-04-03 Joseph Myers <joseph@codesourcery.com>
14515
14516 [BZ #14478]
14517 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
14518 underflowed result.
14519 * math/s_cexpf.c (__cexpf): Likewise.
14520 * math/s_cexpl.c (__cexpl): Likewise.
14521 * math/libm-test.inc (cexp_test): Add more tests.
14522
1cef1b19
AS
145232013-04-03 Andreas Schwab <schwab@suse.de>
14524
14525 [BZ #15330]
14526 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
14527 order arrays from heap if bigger than alloca cutoff.
14528
74d87055
TS
145292013-04-03 Thomas Schwinge <thomas@codesourcery.com>
14530
14531 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
14532 (SNAN_TESTS_double): Refer to GCC PR56831.
14533 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
14534 GCC PR56828.
14535
d755bba4
SP
145362013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
14537
90d5d5bb
SP
14538 * Rules (bench): Move bench.out after the run is complete.
14539
73e0cd5d
SP
14540 * Rules (bench): Echo currently running benchmark.
14541
64aabd4b
SP
14542 * benchtests/Makefile (bench): Add atan and slowatan.
14543 * benchtests/atan-inputs: New file.
14544 * benchtests/slowatan-inputs: New file.
14545 * benchtests/slowatan.c: New file.
14546
c871eccd
SP
14547 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
14548 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
14549 its value.
14550
d755bba4
SP
14551 [BZ #15305]
14552 * sysdeps/unix/sysv/linux/kernel-features.h
14553 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
14554 __ASSUME_XFS_RESTRICTED_CHOWN.
14555 * sysdeps/unix/sysv/linux/pathconf.c
14556 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
14557 Save and restore errno.
14558
52ce4860
JM
145592013-04-02 Joseph Myers <joseph@codesourcery.com>
14560
14561 [BZ #15327]
14562 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
14563 arguments using __kernel_casinh.
14564 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
14565 arguments using __kernel_casinhf.
14566 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
14567 arguments using __kernel_casinhl.
14568 * math/libm-test.inc (cacosh_test): Add more tests.
14569 * sysdeps/i386/fpu/libm-test-ulps: Update.
14570 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14571
81f311c2
SP
145722013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
14573
e7906a47
SP
14574 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
14575 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
14576
92e3664b
SP
14577 * bench/Makefile (bench): Add sin and slowsin.
14578 * benchtests/sin-inputs: New file.
14579 * benchtests/slowsin-inputs: New file.
14580 * benchtests/slowsin.c: New file.
14581
81f311c2
SP
14582 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
14583 (bench): Add slowexp and slowpow.
14584 (exp-ITER): Increase iterations.
14585 (pow-ITER): Likewise.
14586 * benchtests/exp-inputs: Change input.
14587 * benchtests/pow-inputs: Likewise.
14588 * benchtests/slowexp-inputs: New file.
14589 * benchtests/slowexp.c: New file.
14590 * benchtests/slowpow-inputs: New file.
14591 * benchtests/slowpow.c: New file.
14592
ab0f1aa9
AZ
145932013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14594
14595 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
14596 instructions.
14597 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
14598 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
14599 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
14600 * benchtests/Makefile: Add rint benchtest.
14601 * benchtests/rint-inputs: Input for rint benchtest.
14602
57267616
TS
146032013-04-02 Thomas Schwinge <thomas@codesourcery.com>
14604
14605 * Versions.def (libm): Add GLIBC_2.18.
14606 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
14607 hidden libm prototypes.
14608 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
14609 * math/Makefile (libm-calls): Add s_issignaling.
14610 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
14611 __issignalingf, __issignalingl. Adjust all libm.abilist files.
14612 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
14613 declaration.
14614 * math/math.h [__USE_GNU] (issignaling): New macro.
14615 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
14616 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
14617 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
14618 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
14619 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
14620 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
14621 * manual/arith.texi (issignaling): New section.
14622 * manual/libm-err-tab.pl (@all_functions): Update comment.
14623 * math/gen-libm-test.pl (parse_args): Apply special handling for
14624 issignaling.
14625 * math/libm-test.inc (print_float, issignaling_test): New
14626 functions.
14627 (check_float_internal): Add issignaling checks.
14628 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
14629 default definition.
14630 * sysdeps/powerpc/math-tests.h: New file.
14631 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
14632 tests.
14633 * math/test-snan.c (TEST_FUNC): Likewise.
14634
6142896d
DM
146352013-03-30 David S. Miller <davem@davemloft.net>
14636
14637 * po/de.po: Update from translation team.
14638
ccc8cadf
JM
146392013-03-30 Joseph Myers <joseph@codesourcery.com>
14640
14641 [BZ #10357]
14642 * math/k_casinh.c (__kernel_casinh): Handle arguments with
14643 imaginary part less than 1.0 and real part less than 0.5
14644 specially.
14645 * math/k_casinhf.c (__kernel_casinhf): Likewise.
14646 * math/k_casinhl.c (__kernel_casinhl): Likewise.
14647 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
14648 (cacos_test): Add more tests.
14649 (casin_test): Likewise.
14650 (casinh_test): Likewise.
14651 * sysdeps/i386/fpu/libm-test-ulps: Update.
14652 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14653
0f6a8d4b
SP
146542013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14655
0d1029de
SP
14656 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
14657 ONE with its value.
14658
c2d94018
SP
14659 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
14660 (__pow_mp): Replace ONE and MONE with their values.
14661 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
14662 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
14663 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
14664 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
14665 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
14666 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
14667
27ec37f1
SP
14668 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
14669
a64d7e0e
SP
14670 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
14671 (__pow_mp): Replace ZERO and MZERO with their values.
14672 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
14673 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
14674 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
14675 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
14676 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
14677 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
14678 (__sqr): Likewise.
14679
d26dd3eb
SP
14680 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
14681
0f6a8d4b
SP
14682 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
14683
e57b0c61
RM
146842013-03-28 Roland McGrath <roland@hack.frob.com>
14685
14686 * include/stdlib.h [!SHARED] (__call_tls_dtors):
14687 Declare with __attribute__ ((weak)).
14688 * stdlib/exit.c (__libc_atexit) [!SHARED]:
14689 Call __call_tls_dtors only if it's not NULL.
14690
356b3480
RM
146912013-03-28 Roland McGrath <roland@hack.frob.com>
14692
288f7d79
RM
14693 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
14694 didn't do it already, then set _dl_phdr and _dl_phnum based on the
14695 magic __ehdr_start linker symbol if it's defined.
14696 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
14697 them up here if it was already done.
14698
dc0a0263
RM
14699 * elf/dl-support.c (_dl_phdr): Make pointer to const.
14700 (_dl_aux_init): Use const in cast when setting it.
14701 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
14702 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
14703 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
14704
3d3436ae
RM
14705 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
14706 Declare them here.
14707 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
14708 * csu/libc-tls.c: Nor here.
14709 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
14710
356b3480
RM
14711 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
14712 (__libc_message): Never call vsyslog.
14713
b0f1246a
AM
147142013-03-28 Alan Modra <amodra@gmail.com>
14715
14716 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
14717 Define as empty.
14718 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
14719 Likewise.
14720
fbbe2b9a
AZ
147212013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14722
14723 [BZ #15214]
14724 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
14725 underflow.
14726 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14727
1728ab37
SP
147282013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14729
7a86be6e
SP
14730 [BZ #15304]
14731 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
14732 Don't add gid passed as argument.
14733
1728ab37
SP
14734 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
14735
3a7182a1
JM
147362013-03-27 Joseph Myers <joseph@codesourcery.com>
14737
14738 [BZ #15307]
14739 * math/k_casinh.c (__kernel_casinh): Handle arguments with
14740 imaginary part between 1.0 and 1.5 and real part less than 0.5
14741 specially.
14742 * math/k_casinhf.c (__kernel_casinhf): Likewise.
14743 * math/k_casinhl.c (__kernel_casinhl): Likewise.
14744 * math/libm-test.inc (cacos_test): Add more tests.
14745 (casin_test): Likewise.
14746 (casinh_test): Likewise.
14747 * sysdeps/i386/fpu/libm-test-ulps: Update.
14748 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14749
6f2e90e7
SP
147502013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14751
5739f705
SP
14752 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
14753 constants.
14754 (norm): Likewise.
14755 (denorm): Likewise.
14756 (__dbl_mp): Likewise.
14757 (add_magnitudes): Likewise.
14758 (sub_magnitudes): Likewise.
14759 (__add): Likewise.
14760 (__sub): Likewise.
14761 (__mul): Likewise.
14762 (__sqr): Likewise.
14763 (__inv): Likewise.
14764 (__dvd): Likewise.
14765
e375e83d
SP
14766 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
14767 commented code.
14768 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
14769 (__dubcos): Likewise.
14770 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
14771 (__ieee754_acos): Likewise.
14772 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
14773 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
14774 (__exp1): Likewise.
14775 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
14776 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
14777 (log1): Likewise.
14778 (my_log2): Likewise.
14779 (checkint): Likewise.
14780 * sysdeps/ieee754/dbl-64/e_remainder.c
14781 (__ieee754_remainder): Likewise.
14782 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
14783 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
14784 (bsloww): Likewise.
14785 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
14786
6f2e90e7
SP
14787 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
14788 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
14789 MANTISSA_STORE_T to store computations on mantissa. Use
14790 macros for rounding and division.
14791 (denorm): Likewise.
14792 (__dbl_mp): Likewise.
14793 (add_magnitudes): Likewise.
14794 (sub_magnitudes): Likewise.
14795 (__mul): Likewise.
14796 (__sqr): Likewise.
14797 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
14798 powers of two in terms of TWOPOW macro.
14799 (mp_no): Make type of mantissa as MANTISSA_T.
14800 [!RADIXI]: Define RADIXI.
14801 [!TWO52]: Define TWO52.
14802 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
14803
fce14d4e
AZ
148042013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14805
14806 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
14807 llroundl symbol when building for PPC32.
14808
9ad027fb
MW
148092013-03-24 Mark H Weaver <mhw@netris.org>
14810
14811 * manual/arith.texi (Normalization Functions): Fix prototypes for
14812 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
14813
e42a38dd
AZ
148142013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14815
14816 [BZ #13889]
14817 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
14818 high value to check if expl overflow.
14819 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
14820 to check for underflow and overflow.
14821 * math/libm-test.inc: Add exp test.
14822
2e0fb521
DL
148232013-03-21 Dmitry V. Levin <ldv@altlinux.org>
14824
14825 [BZ #11120]
14826 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
14827 with NOT_IN_libc.
14828
b5784d95
AZ
148292013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14830
14831 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
14832 symbol.
14833
5aa4a1a1
TS
148342013-03-21 Thomas Schwinge <thomas@codesourcery.com>
14835
bdef0be7
TS
14836 * math/gen-libm-test.pl (parse_args, special_functions): Properly
14837 wrap blocks consisting of several statements.
14838
5aa4a1a1
TS
14839 * sysdeps/generic/math-tests.h: New file.
14840 * sysdeps/i386/fpu/math-tests.h: Likewise.
14841 * math/test-snan.c: Include it.
14842 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
14843
98c48fe5
JM
148442013-03-21 Joseph Myers <joseph@codesourcery.com>
14845
14846 [BZ #15285]
14847 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
14848 (__ieee754_j0l): Do not improve calculations using cos of twice
14849 input for inputs above LDBL_MAX / 2.0L.
14850 (__ieee754_y0l): Likewise.
14851 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
14852 (__ieee754_j1l): Do not improve calculations using cos of twice
14853 input for inputs above LDBL_MAX / 2.0L.
14854 (__ieee754_y1l): Likewise.
14855 * math/libm-test.inc (j0_test): Add another test.
14856 (j1_test): Likewise.
14857 (y0_test): Likewise.
14858 (y1_test): Likewise.
14859 * sysdeps/i386/fpu/libm-test-ulps: Update.
14860
3775a8bc
SP
148612013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14862
14863 * Rules ($(objpfx)bench-%.c): Include code from a C source
14864 file.
14865
0a1b2ae6
JM
148662013-03-21 Joseph Myers <joseph@codesourcery.com>
14867
14868 [BZ #15287]
14869 * math/k_casinh.c (__kernel_casinh): Handle arguments with
14870 imaginary part 1.0 and real part less than 0.5 specially.
14871 * math/k_casinhf.c (__kernel_casinhf): Likewise.
14872 * math/k_casinhl.c (__kernel_casinhl): Likewise.
14873 * math/libm-test.inc (cacos_test): Add more tests.
14874 (casin_test): Likewise.
14875 (casinh_test): Likewise.
14876 * sysdeps/i386/fpu/libm-test-ulps: Update.
14877 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14878
b33d4ce4
SP
148792013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14880
14881 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
14882 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
14883
bef0b507
JM
148842013-03-20 Joseph Myers <joseph@codesourcery.com>
14885
14886 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
14887 * config.make.in (config-cflags-sse4): Remove variable.
14888 (config-cflags-avx): Likewise.
14889 (config-cflags-sse2avx): Likewise.
14890 (config-cflags-novzeroupper): Likewise.
14891 (config-asflags-i686): Likewise.
14892 (have-mfma4): Likewise.
14893 (have-as-vis3): Likewise.
14894 (MIG): Likewise.
14895 * configure.in (MIG): Do not AC_SUBST.
14896 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
14897 (libc_cv_cc_sse4): Do not AC_SUBST.
14898 (libc_cv_cc_avx): Likewise.
14899 (libc_cv_cc_sse2avx): Likewise.
14900 (libc_cv_cc_novzeroupper): Likewise.
14901 (libc_cv_cc_fma4): Likewise.
14902 (libc_cv_as_i686): Likewise.
14903 (libc_cv_sparc_as_vis3): Likewise.
14904 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
14905 LIBC_CONFIG_VAR.
14906 (config-asflags-i686): Likewise.
14907 (config-cflags-avx): Likewise.
14908 (config-cflags-sse2avx): Likewise.
14909 (have-mfma4): Likewise.
14910 (config-cflags-novzeroupper): Likewise.
14911 * sysdeps/mach/configure.in (MIG): Likewise.
14912 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
14913 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
14914 LIBC_CONFIG_VAR.
14915 (config-cflags-avx): Likewise.
14916 (config-cflags-sse2avx): Likewise.
14917 (have-mfma4): Likewise.
14918 (config-cflags-novzeroupper): Likewise.
14919 * configure: Regenerated.
14920 * sysdeps/i386/configure: Likewise.
14921 * sysdeps/mach/configure: Likewise.
14922 * sysdeps/sparc/configure: Likewise.
14923 * sysdeps/x86_64/configure: Likewise.
14924
912cc4b3
RM
149252013-03-20 Roland McGrath <roland@hack.frob.com>
14926
14927 [BZ #14812]
14928 * locale/programs/localedef.c (options): Put N_ translation marker
14929 on argument names, not just descriptions.
14930
04eed2b0
MS
149312013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14932
14933 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
14934
a065ceff
OB
149352013-03-20 Ondřej Bílka <neleai@seznam.cz>
14936
9bb2a810 14937 [BZ #14176]
a065ceff
OB
14938 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
14939
a600e5ce
RM
149402013-03-19 Roland McGrath <roland@hack.frob.com>
14941
14942 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
14943 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
14944 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
14945 [!BEFORE_ABORT] (before_abort): New function.
14946 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
14947 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
14948 (writev_for_fatal): New function.
14949 (WRITEV_FOR_FATAL): New macro; call that.
14950 (backtrace_and_maps): New function.
14951 (BEFORE_ABORT): New macro; call that.
14952 (struct str_list): Type removed.
14953 (__libc_message, __libc_fatal): Functions removed.
14954 Include <sysdeps/posix/libc_fatal.c> instead.
14955
6b18bea6
JM
149562013-03-19 Joseph Myers <joseph@codesourcery.com>
14957
14958 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
14959 constants.
14960 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
14961 double constants.
14962
aaa8cb4b
AS
149632013-03-19 Andreas Schwab <schwab@suse.de>
14964
44673770
AS
14965 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
14966 * sysdeps/gnu/configure: Regenerate.
14967
aaa8cb4b
AS
14968 * configure.in: Substitute libc_cv_rtlddir.
14969 * configure: Regenerate.
14970 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
14971 * Makeconfig (rtlddir, inst_rtlddir): New variables.
14972 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
14973 * elf/Makefile (install-others, CFLAGS-interp.c)
14974 (ldso_install, common-ldd-rewrite): Likewise.
14975 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
14976 $(inst_slibdir)/$(rtld-installed-name).
14977 * scripts/rellns-sh: Add -p option.
14978 * Makerules (make-shlib-link): Use rellns-sh to get relative name
14979 for source.
14980
d3cfc668
SP
149812013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
14982
14983 * manual/nptl.texi: Renamed to ...
14984 * manual/threads.texi: ... this.
14985 * manual/Makefile (chapters): Update.
14986
0e2b9cdd
RM
149872013-03-18 Roland McGrath <roland@hack.frob.com>
14988
14989 [BZ #14812]
14990 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
14991 on argument names, not just descriptions.
0e2b9cdd
RM
14992 * malloc/memusagestat.c (options): Likewise.
14993 * nss/getent.c (options): Likewise.
63270c24
RM
14994
149952013-03-18 Benno Schulenberg <bensberg@justemail.net>
14996
14997 [BZ #14812]
14998 * iconv/iconv_prog.c (options): Put N_ translation marker
14999 on argument names, not just descriptions.
15000 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 15001
b2e1393c
OB
150022013-03-18 Ondrej Bilka <neleai@seznam.cz>
15003
15004 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
15005 implementation which is faster on all x86_64 architectures.
15006 Tested on AMD, Intel Nehalem, SNB, IVB.
15007 * sysdeps/x86_64/strnlen.S: Likewise.
15008
15009 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
15010 Remove all multiarch strlen and strnlen versions.
15011 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
15012 Remove strlen and strnlen related parts.
15013
15014 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
15015 Inline strlen part.
15016 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
15017
15018 * sysdeps/x86_64/multiarch/strlen.S: Remove.
15019 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
15020 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
15021 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
15022 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
15023 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
15024
ec4ff04d
CD
150252013-03-17 Carlos O'Donell <carlos@redhat.com>
15026
15027 * manual/memory.texi (Malloc Tunable Parameters):
15028 Sort parameters alphabetically. Add comments for missing entries.
15029
cd18e90a
DM
150302013-03-17 David S. Miller <davem@davemloft.net>
15031
15032 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15033
2a185d32
JM
150342013-03-16 Joseph Myers <joseph@codesourcery.com>
15035
d2f9799e
JM
15036 [BZ #15283]
15037 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
15038 for arguments at most half maximum finite value.
15039 * math/libm-test.inc (j0_test): Add more tests.
15040 (j1_test): Likewise.
15041 (y0_test): Likewise.
15042 (y1_test): Likewise.
15043 * sysdeps/i386/fpu/libm-test-ulps: Update.
15044 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15045
2a185d32
JM
15046 [BZ #14155]
15047 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
15048 1 / x and functions P and Q for arguments above 0x1p256L.
15049 (__ieee754_y0l): Likewise.
15050 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
15051 (__ieee754_y1l): Likewise.
15052 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
15053 (j1_test): Likewise.
15054 (y0_test): Likewise.
15055 (y1_test): Likewise.
15056
6cbec759
TS
150572013-03-16 Thomas Schwinge <thomas@codesourcery.com>
15058
15059 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
15060 variable.
15061
bc16e260
RM
150622013-03-15 Roland McGrath <roland@hack.frob.com>
15063
aefc9b8c
RM
15064 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
15065 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
15066 zero since it's initialized to EXEC_PAGESIZE.
15067
bc16e260
RM
15068 * sysdeps/unix/sysv/linux/ldsodefs.h
15069 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
15070 * sysdeps/generic/ldsodefs.h: ... here.
15071
a57da955
TS
150722013-03-15 Thomas Schwinge <thomas@codesourcery.com>
15073
af00a34d
TS
15074 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
15075
495ded2c
TS
15076 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
15077 math/test-snan.c.
15078 * math/test-snan.c: Renamed from
15079 sysdeps/powerpc/fpu/test-powerpc-snan.c.
15080 * math/Makefile (tests): Add test-snan.
15081 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
15082 test-powerpc-snan.
15083
777b0332
TS
15084 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
15085 SUFFIX. Initialize qNaN_var with __builtin_nan family of
15086 functions.
15087 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
15088 __builtin_nan family of functions.
15089 * math/libm-test.inc (initialize): Initialize qnan_value with
15090 __builtin_nan family of functions.
15091 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
15092 Remove variables.
15093 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
15094 Remove functions.
15095 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
15096 storage class. Initialize qNaN_var and sNaN_var with
15097 __builtin_nan and __builtin_nans families of functions,
15098 respectively.
15099
64d063b8
TS
15100 * math/libm-test.inc (acosh_test): Also test with qNaN input.
15101 (sqrt_test): Remove duplicate test with qNaN input.
15102 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
15103 (round_test, signbit_test, significand_test): Note missing +/-Inf
15104 as well as qNaN tests.
15105
67e971f1
TS
15106 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
15107 qNaN_var. Fix a few strings, too.
15108 * math/libm-test.inc (nan_value): Rename to qnan_value.
15109 * math/gen-libm-test.pl (%beautify): Adjust to that.
15110 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
15111 * math/test-misc.c (main): Likewise.
15112 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
15113 to __qnan_bytes, and __qnan_union, respectively.
15114 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
15115 Likewise.
15116 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
15117 and lqnanval, respectively.
15118 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
15119 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
15120 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
15121 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
15122
64487e12
TS
15123 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
15124 * math/test-misc.c (main) [__x86_64__]: Enable test for long
15125 doubles.
15126
e015e27b
TS
15127 * math/test-misc.c (main): Fix copy'n'pastos.
15128 * misc/tst-efgcvt.c (special): Likewise.
15129
a57da955
TS
15130 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
15131 Remove declarations.
15132
1e380345
SP
151332013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15134
15135 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
15136 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
15137 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
15138 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
15139
ef26eece
AZ
151402013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15141
15142 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
15143 macro to return vdso values correctly in IFUNC implementations.
15144 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
15145 Optimization by using IFUNC.
15146
8cfdb7e0
SP
151472013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15148 Richard Henderson <rth@redhat.com>
15149 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15150
15151 * Makefile.in (bench): New target.
15152 * NEWS: Mention the benchmark framework.
15153 * Rules (bench): Likewise.
15154 (binaries-bench): Generate binaries for functions to
15155 benchmark.
15156 * benchtests/Makefile: New makefile for benchmark tests.
15157 * benchtests/bench-skeleton.c: New skeleton file for benchmark
15158 programs.
15159 * benchtests/exp-inputs: New input file for EXP function.
15160 * benchtests/pow-inputs: New input file for POW function.
15161 * scripts/bench.pl: New script to generate source files for
15162 benchmark programs.
15163
bcda9880
SP
151642013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15165
d22ca8cd
SP
15166 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
15167 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
15168 computations on mantissa. Use macros for rounding and
15169 division.
15170 (denorm): Likewise.
15171 (__dbl_mp): Likewise.
15172 (add_magnitudes): Likewise.
15173 (sub_magnitudes): Likewise.
15174 (__mul): Likewise.
15175 (__sqr): Likewise.
15176 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
15177 powers of two in terms of TWOPOW macro.
15178 (mp_no): Make type of mantissa as MANTISSA_T.
15179 [!RADIXI]: Define RADIXI.
15180 [!TWO52]: Define TWO52.
15181 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
15182
bcda9880
SP
15183 * manual/nptl.texi (cindex): Modify threads to pthreads.
15184
06d5adfb
JM
151852013-03-15 Joseph Myers <joseph@codesourcery.com>
15186
15187 * sysdeps/x86_64/preconfigure: Regenerated.
15188
41c7328e
JM
151892013-03-14 Joseph Myers <joseph@codesourcery.com>
15190
15191 [BZ #14155]
15192 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
15193 0x1p28 and above.
15194 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
15195 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
15196 0x1p28 and above.
15197 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
15198 * math/libm-test.inc (j0_test): Do not allow one spurious
15199 underflow exception.
15200 (y1_test): Likewise.
15201
e25cfa60
SP
152022013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
15203
0409959c
SP
15204 * manual/Makefile (chapters): Add nptl.
15205 * manual/debug.texi (Debugging Support): Add link to Threads
15206 chapter.
15207 * manual/nptl.texi: New file.
15208
e25cfa60
SP
15209 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
15210
58a1335e
PB
152112013-03-14 Petr Baudis <pasky@ucw.cz>
15212
15213 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
15214 for non-NULL pointer before the memory validity test. Pointed
15215 out by Holger Brunck <holger.brunck@keymile.com>.
15216
9dc7c64f
AS
152172013-03-13 Andreas Schwab <schwab@suse.de>
15218
15219 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
15220 instead of .os.
15221
54206aa6
JM
152222013-03-13 Joseph Myers <joseph@codesourcery.com>
15223
15224 * timezone/zic.c: Update from tzcode 2013b.
15225
e98cdb38
CD
152262013-03-12 Carlos O'Donell <carlos@redhat.com>
15227
15228 * manual/install.texi (Configuring and compiling):
15229 Mention i686 and i586.
15230 * INSTALL: Regenerate.
15231
9967e003
RM
152322013-03-12 Roland McGrath <roland@hack.frob.com>
15233
15234 * sysdeps/init_array/elf-init.c: New file.
15235 * csu/elf-init.c
15236 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
15237 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
15238
15239 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
15240 __gmon_start__ as global, but as static with a .preinit_array pointer.
15241 * sysdeps/init_array/gmon-start.c: New file. Use that.
15242 * sysdeps/init_array/crti.S: New file, empty except for comments.
15243 * sysdeps/init_array/crtn.S: Likewise.
15244
e6b5a293 152452013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
15246
15247 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
15248 definining bcopy.
80f844c9
OB
15249 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15250 Remove Prefer_SSE_for_memop.
15251 * sysdeps/x86_64/multiarch/init-arch.h: Remove
15252 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
15253 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
15254 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
15255 memset-x86-64.
80f844c9 15256 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 15257 Remove bzero, memset ifunc support.
80f844c9
OB
15258 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
15259 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
15260 * sysdeps/x86_64/multiarch/memset.S: Likewise.
15261 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
15262
fb6b0fcb
AS
152632013-03-11 Andreas Schwab <schwab@suse.de>
15264
15265 [BZ #15234]
15266 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
15267 by SHLIB_COMPAT.
15268 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
15269 (GLIBC_2.16): Remove pthread_atfork.
15270
3e6bd4b1
PP
152712013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
15272
15273 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
15274 (ptestcases.h): Likewise.
15275
222d7f00
RM
152762013-03-08 Roland McGrath <roland@hack.frob.com>
15277
15278 * Makeconfig ($(common-objpfx)config.status): Depend on
15279 sysdeps/*/preconfigure{,.in} too.
15280
1ba4f030
JM
152812013-03-08 Joseph Myers <joseph@codesourcery.com>
15282
a222d91a
JM
15283 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
15284 (__free_hook): Use void * instead of __malloc_ptr_t.
15285 (__malloc_hook): Likewise.
15286 (__realloc_hook): Likewise.
15287 (__memalign_hook): Likewise.
15288 (__after_morecore_hook): Likewise.
15289 * malloc/arena.c (save_malloc_hook): Likewise.
15290 (save_free_hook): Likewise.
15291 * malloc/hooks.c (malloc_hook_ini): Likewise.
15292 (realloc_hook_ini): Likewise.
15293 (memalign_hook_ini): Likewise.
15294 * malloc/malloc.c (malloc_hook_ini): Likewise.
15295 (realloc_hook_ini): Likewise.
15296 (memalign_hook_ini): Likewise.
15297 (__free_hook): Likewise.
15298 (__malloc_hook): Likewise.
15299 (__realloc_hook): Likewise.
15300 (__memalign_hook): Likewise.
15301 (__libc_malloc): Likewise.
15302 (__libc_free): Likewise.
15303 (__libc_realloc): Likewise.
15304 (__libc_memalign): Likewise.
15305 (__libc_valloc): Likewise.
15306 (__libc_pvalloc): Likewise.
15307 (__libc_calloc): Likewise.
15308 (__posix_memalign): Likewise.
15309 * malloc/morecore.c (__sbrk): Likewise.
15310 (__default_morecore): Likewise.
15311
5cc45e10
JM
15312 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
15313
dd54b864
JM
15314 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
15315 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
15316 __malloc_ptrdiff_t.
15317
1ba4f030
JM
15318 * malloc/malloc.h (__malloc_size_t): Remove macro.
15319 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
15320 __malloc_size_t.
15321 (old_memalign_hook): Likewise.
15322 (old_realloc_hook): Likewise.
15323 (struct hdr): Likewise.
15324 (flood): Likewise.
15325 (mallochook): Likewise.
15326 (memalignhook): Likewise.
15327 (reallochook): Likewise.
15328 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
15329 (tr_old_realloc_hook): Likewise.
15330 (tr_old_memalign_hook): Likewise.
15331 (tr_mallochook): Likewise.
15332 (tr_reallochook): Likewise.
15333 (tr_memalignhook): Likewise.
15334
edf66e57
AZ
153352013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15336
15337 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
15338 default_ldbl_pack and using as default implementation.
15339 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
15340 implementation.
15341 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
15342 redundant definition.
15343 (ldbl_insert_mantissa): Likewise.
15344 (ldbl_canonicalize): Likewise.
15345 (ldbl_nearbyint): Likewise.
15346 (ldbl_pack): Rename to ldbl_pack_ppc.
15347 (ldbl_unpack): Rename to ldbl_unpack_ppc.
15348 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
15349 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
15350
6d9145d8
SP
153512013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
15352
15353 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
15354 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
15355 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
15356 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
15357 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
15358 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
15359 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
15360 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
15361
4dd4e157
AJ
153622013-03-07 Andreas Jaeger <aj@suse.de>
15363
15364 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15365 bits/mman-linux.h.
15366
adbb8027
SP
153672013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
15368
ce544b5b
SP
15369 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
15370 Include mpa.h and declare __MPEXP.
15371 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
15372 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
15373 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
15374 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
15375 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
15376 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
15377 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
15378
4cc149fd
SP
15379 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
15380 (__slowpow): Use long double EXPL and LOGL functions to
15381 compute POW.
15382 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
15383 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
15384 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
15385 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
15386 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
15387 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
15388
e6ebd4a7
SP
15389 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
15390 intermediate variable to calculate exponent.
15391 (__sqr): Likewise.
15392 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
15393 Likewise.
15394 (__sqr): Likewise.
15395
82a9811d
SP
15396 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
15397 [!NO__SQR]: Define __sqr.
15398 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
15399 and NO__SQR. Remove all code except __mul and __sqr. Include
15400 sysdeps/ieee754/dbl-64/mpa.c.
15401 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15402
adbb8027
SP
15403 [BZ #12723]
15404 * posix/Makefile (tests): Add tst-pathconf.
15405 * posix/tst-pathconf.c: New test case.
15406 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
15407 _PC_PIPE_BUF.
15408 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
15409
39120df9
PF
154102013-03-06 Patsy Franklin <pfrankli@redhat.com>
15411
15412 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
15413
67525cb8
AJ
154142013-03-06 Andreas Jaeger <aj@suse.de>
15415
664a9ce4
AJ
15416 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
15417 definition via __MAP_ANONYMOUS.
15418
8e39047d
AJ
15419 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
15420 it's not part of Linux headers.
15421
67525cb8
AJ
15422 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
15423 (MAP_HUGE_MASK): Define.
15424
15425 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
15426 Define.
15427 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
15428 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
15429 Define.
15430 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
15431 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
15432 Define.
15433 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
15434 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
15435 Define.
15436 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
15437
15438 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
15439 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
15440 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
15441 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
15442 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
15443 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
15444
15445 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
15446 Handle f2fs.
15447
15448 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15449 Handle f2fs and efivarfs.
15450
15451 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
15452 f2fs.
15453
15454 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
15455 (EFIVARFS_MAGIC): Add.
15456 (F2FS_LINK_MAX): Add.
15457
e1b42695
PP
154582013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
15459
15460 * stdio-common/vfprintf.c: Replace __builtin_expect with
15461 __glibc_unlikely.
15462
2d67d91a
JM
154632013-03-06 Joseph Myers <joseph@codesourcery.com>
15464
15465 [BZ #13550]
15466 * sysdeps/generic/bp-sym.h: Remove file.
15467 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
15468 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
15469 <bp-sym.h> and <bp-asm.h>.
15470 (__longjmp): Don't use BP_SYM.
15471 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
15472 and <bp-asm.h>.
15473 (memcpy): Don't use BP_SYM.
15474 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
15475 <bp-sym.h> and <bp-asm.h>.
15476 (memcpy): Don't use BP_SYM.
15477 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
15478 <bp-asm.h>.
15479 (memcpy): Don't use BP_SYM.
15480 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
15481 <bp-asm.h>.
15482 (memset): Don't use BP_SYM.
15483 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
15484 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
15485 (__bzero): Don't use BP_SYM.
15486 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
15487 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
15488 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
15489 <bp-sym.h> and <bp-asm.h>.
15490 (memcmp): Don't use BP_SYM. Remove comment about bounded
15491 pointers.
15492 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
15493 <bp-sym.h> and <bp-asm.h>.
15494 (memcpy): Don't use BP_SYM.
15495 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
15496 <bp-sym.h> and <bp-asm.h>.
15497 (memset): Don't use BP_SYM.
15498 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
15499 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
15500 (__bzero): Don't use BP_SYM.
15501 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
15502 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
15503 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
15504 <bp-sym.h> and <bp-asm.h>.
15505 (strncmp): Don't use BP_SYM. Remove comment about bounded
15506 pointers.
15507 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
15508 <bp-sym.h> and <bp-asm.h>.
15509 (memcpy): Don't use BP_SYM.
15510 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
15511 <bp-sym.h> and <bp-asm.h>.
15512 (memset): Don't use BP_SYM.
15513 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
15514 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
15515 (__bzero): Don't use BP_SYM.
15516 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
15517 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
15518 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
15519 <bp-sym.h> and <bp-asm.h>.
15520 (__memchr): Don't use BP_SYM.
15521 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
15522 <bp-sym.h> and <bp-asm.h>.
15523 (memcmp): Don't use BP_SYM. Remove comment about bounded
15524 pointers.
15525 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
15526 <bp-sym.h> and <bp-asm.h>.
15527 (memcpy): Don't use BP_SYM.
15528 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
15529 <bp-sym.h> and <bp-asm.h>.
15530 (__mempcpy): Don't use BP_SYM.
15531 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
15532 <bp-sym.h> and <bp-asm.h>.
15533 (__memrchr): Don't use BP_SYM.
15534 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
15535 <bp-sym.h> and <bp-asm.h>.
15536 (memset): Don't use BP_SYM.
15537 (__bzero): Likewise.
15538 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
15539 <bp-sym.h> and <bp-asm.h>.
15540 (__rawmemchr): Don't use BP_SYM.
15541 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
15542 <bp-sym.h> and <bp-asm.h>.
15543 (__STRCMP): Don't use BP_SYM.
15544 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
15545 <bp-sym.h> and <bp-asm.h>.
15546 (strchr): Don't use BP_SYM.
15547 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
15548 <bp-sym.h> and <bp-asm.h>.
15549 (__strchrnul): Don't use BP_SYM.
15550 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
15551 <bp-sym.h> and <bp-asm.h>.
15552 (strlen): Don't use BP_SYM.
15553 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
15554 <bp-sym.h> and <bp-asm.h>.
15555 (strncmp): Don't use BP_SYM. Remove comment about bounded
15556 pointers.
15557 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
15558 <bp-sym.h> and <bp-asm.h>.
15559 (__strnlen): Don't use BP_SYM.
15560 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
15561 <bp-sym.h> and <bp-asm.h>.
15562 (__GI__setjmp): Don't use BP_SYM.
15563 (_setjmp): Likewise.
15564 (__sigsetjmp): Likewise.
15565 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
15566 (L(start_addresses)): Don't use BP_SYM.
15567 (_start): Likewise.
15568 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
15569 <bp-asm.h>.
15570 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
15571 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
15572 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
15573 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
15574 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
15575 <bp-asm.h>.
15576 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
15577 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
15578 about bounded pointers.
15579 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
15580 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
15581 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
15582 <bp-asm.h>.
15583 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
15584 about bounded pointers. Remove GKM FIXME comments.
15585 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
15586 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
15587 <bp-asm.h>.
15588 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
15589 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
15590 Remove GKM FIXME comments.
15591 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
15592 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
15593 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
15594 <bp-asm.h>.
15595 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
15596 about bounded pointers. Remove GKM FIXME comment.
15597 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
15598 and <bp-asm.h>.
15599 (strncmp): Don't use BP_SYM. Remove comment about bounded
15600 pointers.
15601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
15602 <bp-sym.h> and <bp-asm.h>.
15603 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
15604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
15605 <bp-sym.h> and <bp-asm.h>.
15606 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
15607 comment.
15608
cdcf361f
PP
156092013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
15610
15611 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
15612 call free(NULL).
15613
3c4a2b15
DM
156142013-03-05 David S. Miller <davem@davemloft.net>
15615
15616 * po/es.po: Update from translation team.
15617
cdcf361f 156182013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
15619
15620 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
15621 <bits/mman-linux.h>.
15622 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
15623 is fine.
15624 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
15625 <bits/mman-linux.h> to end of file.
15626 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
15627 is fine.
15628 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
15629 <bits/mman-linux.h> to end of file.
15630 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
15631 is fine.
15632 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
15633 <bits/mman-linux.h> to end of file.
15634
15635 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
15636 (MCL_CURRENT, MCL_FUTURE): Define here.
15637
5f67c04f
AK
156382013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15639
8a4473cc 15640 [BZ #15232]
5f67c04f
AK
15641 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
15642 attribute_hidden.
15643 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
15644
c3e94a95
AK
156452013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15646
15647 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
15648 fourth parameter needed for rt_sigprocmask syscall.
15649 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
15650 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
15651 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
15652 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
15653 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
15654 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
15655
cfb6382a
JM
156562013-03-04 Joseph Myers <joseph@codesourcery.com>
15657
15658 [BZ #13550]
15659 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
15660 comment about bounded pointers.
15661 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
15662 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
15663
539d8e01
AJ
156642013-03-04 Andreas Jaeger <aj@suse.de>
15665
15666 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
15667 common definitions.
15668
15669 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
15670 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
15671 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
15672 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
15673 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
15674 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
15675
2e167a70 156762013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
15677
15678 [BZ #15055]
15679 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
15680 __ieee754_sqrl instead of __sqrl.
15681
68508633
JM
156822013-03-01 Joseph Myers <joseph@codesourcery.com>
15683
15684 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
15685 * sysdeps/powerpc/fpu_control.h: ... here.
15686 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
15687 * sysdeps/powerpc/bits/fenvinline.h: ... here.
15688 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
15689 * sysdeps/powerpc/bits/mathinline.h: ... here.
15690
7775448e
RM
156912013-03-01 Roland McGrath <roland@hack.frob.com>
15692
15693 * elf/dl-hwcaps.c (_dl_important_hwcaps):
15694 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
15695 to just [NEED_DL_SYSINFO_DSO].
15696 * elf/dl-support.c: Likewise.
15697 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
15698 * elf/rtld.c (dl_main): Likewise.
15699 * elf/setup-vdso.h (setup_vdso): Likewise.
15700 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
15701 * sysdeps/unix/sysv/linux/dl-sysdep.c
15702 (_dl_discover_osversion): Likewise.
15703
4e9b5995
CD
157042013-03-01 Carlos O'Donell <carlos@redhat.com>
15705
15706 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
15707 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
15708
e23872c8
SP
157092013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
15710
e5c74c63
SP
15711 * NEWS: Mention libm performance improvements and non-x86 PI
15712 futex support.
15713
e23872c8
SP
15714 * csu/libc-start.c (__pthread_initialize_minimal): Change
15715 function arguments.
15716 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
15717
b5510883
JM
157182013-02-28 Joseph Myers <joseph@codesourcery.com>
15719
15720 [BZ #13550]
15721 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
15722 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
15723 <bp-sym.h> and <bp-asm.h>.
15724 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
15725 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
15726 and <bp-asm.h>.
15727 (memcpy): Don't use BP_SYM.
15728 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
15729 <bp-asm.h>.
15730 (__mpn_add_n): Don't use BP_SYM.
15731 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
15732 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
15733 and <bp-asm.h>.
15734 (__mpn_addmul_1): Don't use BP_SYM.
15735 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
15736 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
15737 <bp-sym.h>.
15738 (_setjmp): Don't use BP_SYM.
15739 (__novmx_setjmp): Likewise.
15740 (__GI__setjmp): Likewise.
15741 (__vmx_setjmp): Likewise.
15742 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
15743 <bp-sym.h>.
15744 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
15745 (__bzero): Don't use BP_SYM.
15746 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
15747 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
15748 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
15749 <bp-sym.h> and <bp-asm.h>.
15750 (memcpy): Don't use BP_SYM.
15751 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
15752 <bp-sym.h> and <bp-asm.h>.
15753 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
15754 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
15755 <bp-sym.h> and <bp-asm.h>.
15756 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
15757 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
15758 <bp-asm.h>.
15759 (__mpn_lshift): Don't use BP_SYM.
15760 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
15761 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
15762 <bp-asm.h>.
15763 (memset): Don't use BP_SYM.
15764 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
15765 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
15766 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
15767 <bp-asm.h>.
15768 (__mpn_mul_1): Don't use BP_SYM.
15769 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
15770 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
15771 <bp-sym.h> and <bp-asm.h>.
15772 (memcmp): Don't use BP_SYM.
15773 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
15774 <bp-sym.h> and <bp-asm.h>.
15775 (memcpy): Don't use BP_SYM.
15776 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
15777 <bp-sym.h> and <bp-asm.h>.
15778 (memset): Don't use BP_SYM.
15779 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
15780 <bp-sym.h> and <bp-asm.h>.
15781 (strncmp): Don't use BP_SYM.
15782 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
15783 <bp-sym.h> and <bp-asm.h>.
15784 (memcpy): Don't use BP_SYM.
15785 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
15786 <bp-sym.h> and <bp-asm.h>.
15787 (memset): Don't use BP_SYM.
15788 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
15789 <bp-sym.h> and <bp-asm.h>.
15790 (__memchr): Don't use BP_SYM.
15791 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
15792 <bp-sym.h> and <bp-asm.h>.
15793 (memcmp): Don't use BP_SYM.
15794 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
15795 <bp-sym.h> and <bp-asm.h>.
15796 (memcpy): Don't use BP_SYM.
15797 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
15798 <bp-sym.h> and <bp-asm.h>.
15799 (__mempcpy): Don't use BP_SYM.
15800 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
15801 <bp-sym.h> and <bp-asm.h>.
15802 (__memrchr): Don't use BP_SYM.
15803 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
15804 <bp-sym.h> and <bp-asm.h>.
15805 (memset): Don't use BP_SYM.
15806 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
15807 <bp-sym.h> and <bp-asm.h>.
15808 (__rawmemchr): Don't use BP_SYM.
15809 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
15810 <bp-sym.h> and <bp-asm.h>.
15811 (__STRCMP): Don't use BP_SYM.
15812 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
15813 <bp-sym.h> and <bp-asm.h>.
15814 (strchr): Don't use BP_SYM.
15815 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
15816 <bp-sym.h> and <bp-asm.h>.
15817 (__strchrnul): Don't use BP_SYM.
15818 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
15819 <bp-sym.h> and <bp-asm.h>.
15820 (strlen): Don't use BP_SYM.
15821 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
15822 <bp-sym.h> and <bp-asm.h>.
15823 (strncmp): Don't use BP_SYM.
15824 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
15825 <bp-sym.h> and <bp-asm.h>.
15826 (__strnlen): Don't use BP_SYM.
15827 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
15828 <bp-asm.h>.
15829 (__mpn_rshift): Don't use BP_SYM.
15830 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
15831 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
15832 <bp-sym.h> and <bp-asm.h>.
15833 (__sigsetjmp): Don't use BP_SYM.
15834 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
15835 (L(start_addresses)): Don't use BP_SYM.
15836 (_start): Likewise.
15837 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
15838 <bp-asm.h>.
15839 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
15840 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
15841 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
15842 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
15843 <bp-asm.h>.
15844 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
15845 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
15846 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
15847 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
15848 <bp-asm.h>.
15849 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
15850 comments.
15851 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
15852 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
15853 <bp-asm.h>.
15854 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
15855 FIXME comments.
15856 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
15857 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
15858 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
15859 <bp-asm.h>.
15860 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
15861 comment.
15862 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
15863 and <bp-asm.h>.
15864 (strncmp): Don't use BP_SYM,
15865 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
15866 <bp-asm.h>.
15867 (__mpn_sub_n): Don't use BP_SYM.
15868 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
15869 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
15870 and <bp-asm.h>.
15871 (__mpn_submul_1): Don't use BP_SYM.
15872 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
15873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
15874 <bp-sym.h> and <bp-asm.h>.
15875 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
15876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
15877 <bp-sym.h> and <bp-asm.h>.
15878 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
15879 comment.
15880
8d19fe64
SP
158812013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15882
15883 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
15884 Use ZK to minimize writes to Z.
15885 (sub_magnitudes): Simplify code a bit.
15886 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
15887 Use ZK to minimize writes to Z.
15888 (sub_magnitudes): Simplify code a bit.
15889
85bd816a
RM
158902013-02-27 Roland McGrath <roland@hack.frob.com>
15891
15892 * csu/gmon-start.c: Add special exception to license text.
15893
b5977bf2
RH
158942013-02-27 Richard Henderson <rth@redhat.com>
15895
15896 * scripts/config.guess: Update from config.git.
15897 * scripts/config.sub: Likewise.
15898
11d6e2f2
SP
158992013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15900
09c14ed2
SP
15901 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
15902
a688864e
SP
15903 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
15904
6295157a
SP
15905 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
15906
b8de2202
SP
15907 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
15908
11d6e2f2
SP
15909 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
15910
7e80ddb8
RM
159112013-02-26 Roland McGrath <roland@hack.frob.com>
15912
15913 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
15914 [$(build-shared = yes].
7e80ddb8 15915
7da6d9ed
SP
159162013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15917
45f05884
SP
15918 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
15919 (__mul): Reduce iterations for calculating mantissa.
15920
2236d359
SP
15921 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
15922 MPTWO.
15923 (__mpranred): Likewise.
15924
7da6d9ed
SP
15925 [BZ #15160]
15926 * malloc/memusagestat.c (main): Draw graphs for heap and stack
15927 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
15928
b7688c42
PE
159292013-02-26 Paul Eggert <eggert@cs.ucla.edu>
15930
15931 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
15932 Define __attribute__.
15933
53a5c423
SP
159342013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15935
15936 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
15937 unused.
15938 * posix/regex_internal.h (__attribute): Remove.
15939 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
15940 (re_string_context_at): Likewise.
15941 (bitset_not): Use __attribute__ and mark function as possibly
15942 unused.
15943 (bitset_merge): Likewise.
15944 (bitset_mask): Likewise.
15945 (re_string_char_size_at): Likewise.
15946 (re_string_wchar_at): Likewise.
15947 (re_string_elem_size_at): Likewise.
15948
60f5a8b5
SP
159492013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
15950
2a983a2e
SP
15951 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
15952 code.
15953 (cc32): Likewise.
15954
e69804d1
SP
15955 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
15956 (__acr): Likewise.
15957 (__cpy): Likewise.
15958 (norm): Likewise.
15959 (denorm): Likewise.
15960 (__dbl_mp): Likewise.
15961 (add_magnitudes): Likewise.
15962 (sub_magnitudes): Likewise.
15963 (__mul): Likewise.
15964 (__inv): Likewise.
15965
2f22a1e8
SP
15966 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
15967 style.
15968
8930ddc7
SP
15969 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
15970 style.
15971
dc60cb11
SP
15972 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
15973 code.
15974
60f5a8b5
SP
15975 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
15976 up changes with default code.
15977 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
15978 Likewise.
15979
b4d1fd33
AM
159802013-02-24 Allan McRae <allan@archlinux.org>
15981
faf6f8bc
AM
15982 * manual/socket.texi (The Internet Namespace): Order menu items
15983 to match that in the file.
15984
b4d1fd33
AM
15985 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
15986 node listing of the info page menu.
15987
2366713d
JM
159882013-02-21 Joseph Myers <joseph@codesourcery.com>
15989
15990 [BZ #13550]
15991 * sysdeps/i386/bp-asm.h: Remove file.
15992 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
15993 (PARMS): Do not use macros from bp-asm.h.
15994 (S1): Likewise.
15995 (S2): Likewise.
15996 (SIZE): Likewise.
15997 (__mpn_add_n): Do not use BP_SYM
15998 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
15999 "bp-asm.h".
16000 (PARMS): Do not use macros from bp-asm.h.
16001 (S1): Likewise.
16002 (SIZE): Likewise.
16003 (__mpn_addmul_1): 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/bsd-setjmp.S: Do not include "bp-sym.h" and
16010 "bp-asm.h".
16011 (PARMS): Do not use macros from bp-asm.h.
16012 (SIGMSK): Likewise.
16013 (setjmp): Likewise. Do not use BP_SYM.
16014 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
16015 "bp-asm.h".
16016 (PARMS): Do not use macros from bp-asm.h.
16017 (__frexp): Do not use BP_SYM.
16018 (frexp): Likewise.
16019 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
16020 "bp-asm.h".
16021 (PARMS): Do not use macros from bp-asm.h.
16022 (__frexpf): Do not use BP_SYM.
16023 (frexpf): Likewise.
16024 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
16025 "bp-asm.h".
16026 (PARMS): Do not use macros from bp-asm.h.
16027 (__frexpl): Do not use BP_SYM.
16028 (frexpl): Likewise.
16029 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
16030 "bp-asm.h".
16031 (PARMS): Do not use macros from bp-asm.h.
16032 (__remquo): Do not use BP_SYM.
16033 (remquo): Likewise.
16034 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
16035 "bp-asm.h".
16036 (PARMS): Do not use macros from bp-asm.h.
16037 (__remquof): Do not use BP_SYM.
16038 (remquof): Likewise.
16039 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
16040 "bp-asm.h".
16041 (PARMS): Do not use macros from bp-asm.h.
16042 (__remquol): Do not use BP_SYM.
16043 (remquol): Likewise.
16044 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
16045 "bp-asm.h".
16046 (PARMS): Do not use macros from bp-asm.h.
16047 (DEST): Likewise.
16048 (SRC): Likewise.
16049 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
16050 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
16051 "bp-asm.h".
16052 (PARMS): Do not use macros from bp-asm.h.
16053 (strlen): Do not use BP_SYM.
16054 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
16055 "bp-asm.h".
16056 (PARMS): Do not use macros from bp-asm.h.
16057 (S1): Likewise.
16058 (S2): Likewise.
16059 (SIZE): Likewise.
16060 (__mpn_add_n): Do not use BP_SYM.
16061 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
16062 "bp-asm.h".
16063 (PARMS): Do not use macros from bp-asm.h.
16064 (S1): Likewise.
16065 (SIZE): Likewise.
16066 (__mpn_addmul_1): Do not use BP_SYM.
16067 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
16068 weak_alias.
16069 (bzero): Likewise.
16070 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
16071 "bp-asm.h".
16072 (PARMS): Do not use macros from bp-asm.h.
16073 (S): Likewise.
16074 (SIZE): Likewise.
16075 (__mpn_lshift): Do not use BP_SYM.
16076 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
16077 "bp-asm.h".
16078 (PARMS): Do not use macros from bp-asm.h.
16079 (DEST): Likewise.
16080 (SRC): Likewise.
16081 (LEN): Likewise.
16082 (memcpy): Likewise. Do not use BP_SYM.
16083 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
16084 libc_hidden_def and weak_alias.
16085 (mempcpy): Do not use BP_SYM in weak_alias.
16086 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
16087 "bp-asm.h".
16088 (PARMS): Do not use macros from bp-asm.h.
16089 (DEST): Likewise.
16090 (LEN): Likewise.
16091 [!BZERO_P] (CHR): Likewise.
16092 (memset): Likewise. Do not use BP_SYM.
16093 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
16094 "bp-asm.h".
16095 (PARMS): Do not use macros from bp-asm.h.
16096 (S1): Likewise.
16097 (SIZE): Likewise.
16098 (__mpn_mul_1): Do not use BP_SYM.
16099 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
16100 "bp-asm.h".
16101 (PARMS): Do not use macros from bp-asm.h.
16102 (S): Likewise.
16103 (SIZE): Likewise.
16104 (__mpn_rshift): Do not use BP_SYM.
16105 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
16106 "bp-asm.h".
16107 (PARMS): Do not use macros from bp-asm.h.
16108 (STR): Likewise.
16109 (CHR): Likewise.
16110 (strchr): Likewise. Do not use BP_SYM.
16111 (index): Do not use BP_SYM in weak_alias.
16112 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
16113 "bp-asm.h".
16114 (PARMS): Do not use macros from bp-asm.h.
16115 (DEST): Likewise.
16116 (SRC): Likewise.
16117 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
16118 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
16119 "bp-asm.h".
16120 (PARMS): Do not use macros from bp-asm.h.
16121 (strlen): Do not use BP_SYM.
16122 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
16123 "bp-asm.h".
16124 (PARMS): Do not use macros from bp-asm.h.
16125 (S1): Likewise.
16126 (S2): Likewise.
16127 (SIZE): Likewise.
16128 (__mpn_sub_n): Do not use BP_SYM.
16129 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
16130 "bp-asm.h".
16131 (PARMS): Do not use macros from bp-asm.h.
16132 (S1): Likewise.
16133 (SIZE): Likewise.
16134 (__mpn_submul_1): Do not use BP_SYM.
16135 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
16136 "bp-asm.h".
16137 (PARMS): Do not use macros from bp-asm.h.
16138 (S1): Likewise.
16139 (S2): Likewise.
16140 (SIZE): Likewise.
16141 (__mpn_add_n): Do not use BP_SYM.
16142 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
16143 weak_alias.
16144 (bzero): Likewise.
16145 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
16146 "bp-asm.h".
16147 (PARMS): Do not use macros from bp-asm.h.
16148 (BLK2): Likewise.
16149 (LEN): Likewise.
16150 (memcmp): Do not use BP_SYM.
16151 (bcmp): Do not use BP_SYM in weak_alias.
16152 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
16153 "bp-asm.h".
16154 (PARMS): Do not use macros from bp-asm.h.
16155 (DEST): Likewise.
16156 (SRC): Likewise.
16157 (LEN): Likewise.
16158 (memcpy): Likewise. Do not use BP_SYM.
16159 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
16160 "bp-asm.h".
16161 (PARMS): Do not use macros from bp-asm.h.
16162 (DEST): Likewise.
16163 (SRC): Likewise.
16164 (LEN): Likewise.
16165 (memmove): Likewise. Do not use BP_SYM.
16166 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
16167 "bp-asm.h".
16168 (PARMS): Do not use macros from bp-asm.h.
16169 (DEST): Likewise.
16170 (SRC): Likewise.
16171 (LEN): Likewise.
16172 (__mempcpy): Likewise. Do not use BP_SYM.
16173 (mempcpy): Do not use BP_SYM in weak_alias.
16174 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
16175 "bp-asm.h".
16176 (PARMS): Do not use macros from bp-asm.h.
16177 (DEST): Likewise.
16178 (LEN): Likewise.
16179 [!BZERO_P] (CHR): Likewise.
16180 (memset): Likewise. Do not use BP_SYM.
16181 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
16182 "bp-asm.h".
16183 (PARMS): Do not use macros from bp-asm.h.
16184 (STR2): Likewise.
16185 (strcmp): Do not use BP_SYM.
16186 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
16187 "bp-asm.h".
16188 (PARMS): Do not use macros from bp-asm.h.
16189 (STR): Likewise.
16190 (DELIM): Likewise.
16191 [USE_AS_STRTOK_R] (SAVE): Likewise.
16192 (FUNCTION): Likewise. Do not use BP_SYM.
16193 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
16194 aliases.
16195 (strtok_r): Likewise.
16196 (__GI___strtok_r): Likewise.
16197 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
16198 (PARMS): Do not use macros from bp-asm.h.
16199 (S): Likewise.
16200 (SIZE): Likewise.
16201 (__mpn_lshift): Do not use BP_SYM.
16202 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
16203 (PARMS): Do not use macros from bp-asm.h.
16204 (STR): Likewise.
16205 (CHR): Likewise.
16206 (__memchr): Do not use BP_SYM.
16207 (memchr): Do not use BP_SYM in weak_alias.
16208 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
16209 (PARMS): Do not use macros from bp-asm.h.
16210 (BLK2): Likewise.
16211 (LEN): Likewise.
16212 (memcmp): Do not use BP_SYM.
16213 (bcmp): Do not use BP_SYM in weak_alias.
16214 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
16215 (PARMS): Do not use macros from bp-asm.h.
16216 (S1): Likewise.
16217 (SIZE): Likewise.
16218 (__mpn_mul_1): Do not use BP_SYM.
16219 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
16220 "bp-asm.h".
16221 (PARMS): Do not use macros from bp-asm.h.
16222 (STR): Likewise.
16223 (CHR): Likewise.
16224 (__rawmemchr): Do not use BP_SYM.
16225 (rawmemchr): Do not use BP_SYM in weak_alias.
16226 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
16227 (PARMS): Do not use macros from bp-asm.h.
16228 (S): Likewise.
16229 (SIZE): Likewise.
16230 (__mpn_rshift): Do not use BP_SYM.
16231 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
16232 (PARMS): Do not use macros from bp-asm.h.
16233 (SIGMSK): Likewise.
16234 (__sigsetjmp): Likewise. Do not use BP_SYM.
16235 * sysdeps/i386/start.S: Do not include "bp-sym.h".
16236 (_start): Do not use BP_SYM.
16237 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
16238 (PARMS): Do not use macros from bp-asm.h.
16239 (DEST): Likewise.
16240 (SRC): Likewise.
16241 (__stpcpy): Likewise. Do not use BP_SYM.
16242 (stpcpy): Do not use BP_SYM in weak_alias.
16243 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
16244 "bp-asm.h".
16245 (PARMS): Do not use macros from bp-asm.h.
16246 (DEST): Likewise.
16247 (SRC): Likewise.
16248 (LEN): Likewise.
16249 (__stpncpy): Likewise. Do not use BP_SYM.
16250 (stpncpy): Do not use BP_SYM in weak_alias.
16251 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
16252 (PARMS): Do not use macros from bp-asm.h.
16253 (STR): Likewise.
16254 (CHR): Likewise.
16255 (strchr): Likewise. Do not use BP_SYM.
16256 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
16257 "bp-asm.h".
16258 (PARMS): Do not use macros from bp-asm.h.
16259 (STR): Likewise.
16260 (CHR): Likewise.
16261 (__strchrnul): Likewise. Do not use BP_SYM.
16262 (strchrnul): Do not use BP_SYM in weak_alias.
16263 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
16264 "bp-asm.h".
16265 (PARMS): Do not use macros from bp-asm.h.
16266 (STOP): Likewise.
16267 (strcspn): Do not use BP_SYM.
16268 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
16269 "bp-asm.h".
16270 (PARMS): Do not use macros from bp-asm.h.
16271 (STR): Likewise.
16272 (STOP): Likewise.
16273 (strpbrk): Likewise. Do not use BP_SYM.
16274 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
16275 "bp-asm.h".
16276 (PARMS): Do not use macros from bp-asm.h.
16277 (STR): Likewise.
16278 (CHR): Likewise.
16279 (strrchr): Likewise. Do not use BP_SYM.
16280 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
16281 (PARMS): Do not use macros from bp-asm.h.
16282 (SKIP): Likewise.
16283 (strspn): Do not use BP_SYM.
16284 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
16285 (PARMS): Do not use macros from bp-asm.h.
16286 (STR): Likewise.
16287 (DELIM): Likewise.
16288 (SAVE): Likewise.
16289 (FUNCTION): Likewise. Do not use BP_SYM.
16290 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
16291 aliases.
16292 (strtok_r): Likewise.
16293 (__GI___strtok_r): Likewise.
16294 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
16295 (PARMS): Do not use macros from bp-asm.h.
16296 (S1): Likewise.
16297 (S2): Likewise.
16298 (SIZE): Likewise.
16299 (__mpn_sub_n): Do not use BP_SYM.
16300 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
16301 "bp-asm.h".
16302 (PARMS): Do not use macros from bp-asm.h.
16303 (S1): Likewise.
16304 (SIZE): Likewise.
16305 (__mpn_submul_1): Do not use BP_SYM.
16306 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
16307 <bp-sym.h>.
16308 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
16309 and <bp-asm.h>.
16310 (PARMS): Do not use macros from bp-asm.h.
16311 (FLAGS): Likewise.
16312 (PTID): Likewise.
16313 (TLS): Likewise.
16314 (CTID): Likewise.
16315 (__clone): Do not use BP_SYM.
16316 (clone): Do not use BP_SYM in weak_alias.
16317 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
16318 and <bp-asm.h>.
16319 (PARMS): Do not use macros from bp-asm.h.
16320 (LEN): Likewise.
16321 (__mmap64): Do not use BP_SYM.
16322 (mmap64): Do not use BP_SYM in weak_alias.
16323 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
16324 <bp-sym.h> and <bp-asm.h>.
16325 (PARMS): Do not use macros from bp-asm.h.
16326 (__posix_fadvise64_l64): Do not use BP_SYM.
16327 * sysdeps/unix/sysv/linux/i386/semtimedop.S
16328 (PARMS): Do not use macros from bp-asm.h.
16329 (NSOPS): Likewise.
16330 (semtimedop): Do not use BP_SYM.
16331 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
16332 and <bp-asm.h>.
16333
582a3cff
AM
163342013-02-21 Allan McRae <allan@archlinux.org>
16335
16336 * manual/message.texi (Charset conversion in gettext):
16337 Move @end statement to beginning of line.
16338
bab8a695
SP
163392013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16340
80945231
SP
16341 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
16342 static.
16343 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
16344 Likewise.
16345
bab8a695
SP
16346 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
16347 (denorm): Likewise.
16348 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
16349 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
16350
e21d7aa7
AK
163512013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16352
16353 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
16354 tail-call to the resolved function if pltexit isn't needed.
16355
4c7a4263
SP
163562013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16357
16358 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
16359 or Y being zero as being unlikely.
16360 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
16361 Likewise.
16362
41f49342
CD
163632013-02-20 Carlos O'Donell <carlos@redhat.com>
16364
16365 * manual/nss.texi (System Databases and Name Service Switch):
16366 Remove frobnicate @pxref.
16367
50022a93
TS
163682013-02-20 Thomas Schwinge <thomas@codesourcery.com>
16369
16370 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
16371 __attribute__ ((unused)) to __attribute__ ((__unused__)).
16372
08cbd996
PM
163732013-02-20 Petr Machata <pmachata@redhat.com>
16374
16375 * elf/elf.h (R_ARM_TARGET1): New macro.
16376 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
16377 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
16378 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
16379 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
16380 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
16381 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
16382 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
16383 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
16384 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
16385 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
16386 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
16387 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
16388 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
16389 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
16390 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
16391 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
16392 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
16393 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
16394 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
16395 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
16396 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
16397 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
16398 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
16399 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
16400 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
16401 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
16402 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
16403 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
16404 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
16405 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
16406 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
16407 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
16408 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
16409 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
16410 (R_ARM_THM_GOT_BREL12): Likewise.
16411 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
16412 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
16413 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
16414 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
16415 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
16416 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
16417 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
16418 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
16419 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
16420
c7b275d6
TS
164212013-02-20 Thomas Schwinge <thomas@codesourcery.com>
16422
16423 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
16424 __attribute_used__ to __attribute__ ((unused)).
16425
20cd7fb3
SP
164262013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
16427
16428 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
16429 powerpc mpa.c.
16430 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
16431 comment formatting.
16432 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
16433
92945b52
JM
164342013-02-19 Joseph Myers <joseph@codesourcery.com>
16435
16436 [BZ #13550]
16437 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
16438 Remove macro.
16439 (ENTER): Remove both macro definitions.
16440 (LEAVE): Likewise.
16441 (CHECK_BOUNDS_LOW): Likewise.
16442 (CHECK_BOUNDS_HIGH): Likewise.
16443 (CHECK_BOUNDS_BOTH): Likewise.
16444 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
16445 (RETURN_BOUNDED_POINTER): Likewise.
16446 (RETURN_NULL_BOUNDED_POINTER): Likewise.
16447 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
16448 (POP_ERRNO_LOCATION_RETURN): Likewise.
16449 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
16450 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16451 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
16452 macros.
16453 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16454 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
16455 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
16456 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
16457 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
16458 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
16459 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
16460 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
16461 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
16462 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
16463 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
16464 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
16465 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16466 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
16467 removed macros.
16468 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16469 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
16470 macros.
16471 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16472 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
16473 * sysdeps/i386/i586/memset.S (memset): Likewise.
16474 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
16475 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16476 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
16477 macros.
16478 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16479 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
16480 Change uses of L(2) to L(out).
16481 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
16482 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
16483 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
16484 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16485 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
16486 removed macros.
16487 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16488 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
16489 macros.
16490 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16491 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
16492 (RETURN): Do not use macro LEAVE.
16493 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
16494 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
16495 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
16496 * sysdeps/i386/i686/memset.S (memset): Likewise.
16497 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
16498 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
16499 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
16500 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
16501 Likewise.
16502 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16503 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
16504 L(1_2) and L(1_3) into L(1).
16505 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
16506 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
16507 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16508 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
16509 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
16510 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
16511 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
16512 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16513 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
16514 macros.
16515 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
16516 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16517 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
16518 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
16519 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
16520 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16521 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
16522 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
16523 * sysdeps/i386/strcspn.S (strcspn): Likewise.
16524 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
16525 * sysdeps/i386/strrchr.S (strrchr): Likewise.
16526 * sysdeps/i386/strspn.S (strspn): Likewise.
16527 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
16528 conditional code.
16529 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16530 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
16531 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
16532 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
16533 L(1_3) into L(1_1).
16534 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
16535 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16536 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
16537 macros.
16538 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16539
2389741a
JJ
165402013-02-19 Jakub Jelinek <jakub@redhat.com>
16541
16542 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
16543 macro.
16544
2016b3cd
SP
165452013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16546
e4f22324
SP
16547 * math/atest-exp.c (exp_mpn): Remove ROUND.
16548 * math/atest-exp2.c (exp_mpn): Likewise.
16549 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
16550
2016b3cd
SP
16551 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
16552 * stdlib/tst-tls-atexit-lib.c: Likewise.
16553 * stdlib/tst-tls-atexit.c: Likewise.
16554
4be9b544
MF
165552013-02-18 Mike Frysinger <vapier@gentoo.org>
16556
16557 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
16558 and __attribute_alloc_size__.
16559
2f62b9ee
MF
165602013-02-18 Mike Frysinger <vapier@gentoo.org>
16561
16562 * include/programs/xmalloc.h: Change __attribute_alloc_size to
16563 __attribute_alloc_size__.
16564 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
16565 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
16566
6ff444c4
MF
165672013-02-18 Mike Frysinger <vapier@gentoo.org>
16568
16569 * include/programs/xmalloc.h: New file.
16570 * catgets/gencat.c: Include it.
16571 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
16572 * elf/pldd.c: Likewise.
16573 * iconv/iconv_charmap.c: Likewise.
16574 * iconv/iconvconfig.c: Likewise.
16575 * iconv/strtab.c: Likewise.
16576 * locale/programs/locale.c: Likewise.
16577 * locale/programs/localedef.h: Likewise.
16578 * locale/programs/simple-hash.c: Likewise.
16579 * nscd/nscd.h: Likewise.
16580 * nss/makedb.c: Likewise.
16581 * sysdeps/generic/ldconfig.h: Likewise.
16582
be179c8a
SP
165832013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
16584
ba384f6e
SP
16585 * Versions.def: Add GLIBC_2.18.
16586 * include/link.h (struct link_map): New member l_tls_dtor_count.
16587 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
16588 (__call_tls_dtors): Likewise.
16589 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
16590 __cxa_thread_atexit_impl.
16591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16592 Likewise.
16593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16594 Likewise.
16595 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
16596 Likewise.
16597 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
16598 Likewise.
16599 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
16600 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
16601 Likewise.
16602 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
16603 Likewise.
16604 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
16605 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
16606 Likewise.
16607 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
16608 (tests): Add test case tst-tls-atexit.
16609 (modules-names): Add shared library for tst-tls-atexit.
85891aca 16610 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
16611 (GLIBC_PRIVATE): Add __call_tls_dtors.
16612 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
16613 for libstdc++.
16614 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
16615 * stdlib/tst-tls-atexit.c: New test case.
16616 * stdlib/tst-tls-atexit-lib.c: New test case.
16617
ffaa74cf 16618 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 16619
be179c8a
SP
16620 * elf/Versions (ld): Add _dl_find_dso_for_object.
16621 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
16622 * elf/dl-open.c (_dl_find_dso_for_object): New function.
16623 (dl_open_worker): Use _dl_find_dso_for_object.
16624 * elf/dl-sym.c (do_sym): Likewise.
16625 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
16626
f78b5caa
AK
166272013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16628
16629 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
16630 Syntactic changes only.
16631 (_dl_runtime_profile): Do a tail-call to the resolved function.
16632
29691210
JM
166332013-02-17 Joseph Myers <joseph@codesourcery.com>
16634
16635 [BZ #13550]
16636 * sysdeps/x86_64/bp-asm.h: Remove file.
16637 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
16638 <bp-sym.h> and <bp-asm.h>.
16639 (__clone): Do not use BP_SYM.
16640 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
16641 <bp-sym.h> and <bp-asm.h>.
16642 * sysdeps/unix/x86_64/sysdep.S: Likewise.
16643 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
16644 "bp-asm.h".
16645 (_setjmp): Do not use BP_SYM.
16646 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
16647 "bp-asm.h".
16648 (setjmp): Do not use BP_SYM.
16649 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
16650 libc_hidden_def.
16651 (mempcpy): Do not use BP_SYM in weak_alias.
16652 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
16653 "bp-asm.h".
16654 (strchr): Do not use BP_SYM.
16655 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
16656 "bp-asm.h".
16657 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
16658 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
16659 (_start): Do not use BP_SYM.
16660 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
16661 "bp-asm.h".
16662 (strcat): Do not use BP_SYM.
16663 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
16664 "bp-asm.h".
16665 (STRCMP): Do not use BP_SYM.
16666 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
16667 "bp-asm.h".
16668 (STRCPY): Do not use BP_SYM.
16669 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
16670 "bp-asm.h".
16671 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
16672 "bp-asm.h".
16673 (FUNCTION): Do not use BP_SYM.
16674 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
16675 weak_alias.
16676 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
16677
f238fd19
AJ
166782013-02-17 Andreas Jaeger <aj@suse.de>
16679
16680 * time/Versions: Sort entries.
16681 * string/Versions: Likewise.
16682 * resolv/Versions: Likewise.
16683 * posix/Versions: Likewise.
16684 * iconv/Versions: Likewise.
16685 * elf/Versions: Likewise.
16686 * wcsmbs/Versions: Likewise.
16687
bd07f23c 166882013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 16689
22af19f9
SP
16690 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
16691 loop termination condition.
16692
4709fe76
SP
16693 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
16694 variable to calculate EZ.
16695 (__sqr): Likewise.
2d0e0f29
SP
16696
16697 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
16698 the lower precision input.
16699
daaa7713
JM
167002013-02-15 Joseph Myers <joseph@codesourcery.com>
16701
16702 [BZ #13550]
16703 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
16704 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
16705 (run-via-rtld-prefix): Do not handle %-bp tests.
16706 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
16707 (all-object-suffixes): Remove .ob.
16708 (bppfx): Remove variable.
16709 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
16710 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
16711 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
16712 [$(build-bounded) = yes] (libtype.ob): Likewise.
16713 * Makerules (elide-routines.ob): Remove variable.
16714 (do-tests-clean): Do not handle *-bp.out.
16715 (common-mostlyclean): Do not handle *-bp and *-bp.out.
16716 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
16717 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
16718 (tests): Do not include $(tests-bp.out).
16719 (xtests): Do not include $(xtests-bp.out).
16720 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
16721 [$(build-bounded) = yes] ($(addprefix
16722 $(objpfx),$(binaries-bounded))): Remove rule.
16723 ($(objpfx)%-bp.out): Remove rule.
16724 * config.make.in (build-bounded): Remove variable.
16725 * crypt/Makefile [$(build-bounded) = yes]
16726 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
16727 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
16728 append to variable.
16729 [$(build-bounded) = yes] (install-lib): Likewise.
16730 [$(build-bounded) = yes] (generated): Likewise.
16731 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
16732 Remove rule.
16733 * intl/Makefile [$(build-bounded) = yes]
16734 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
16735 * math/Makefile [$(build-bounded) = yes]
16736 ($(tests:%=$(objpfx)%-bp): Likewise.
16737 * misc/Makefile [$(build-bounded) = yes]
16738 ($(objpfx)tst-tsearch-bp): Likewise.
16739 * nptl/Makeconfig (bounded-thread-library): Remove variable.
16740 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
16741 Remove dependency.
16742 * string/Makefile (o-objects.ob): Remove variable.
16743 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
16744 (CFLAGS-.ob): Remove variable.
16745 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
16746 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
16747 both definitions of variable.
16748 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
16749 (ASFLAGS-.ob): Remove variable.
16750
e97ed6dd
JM
167512013-02-14 Joseph Myers <joseph@codesourcery.com>
16752
2bdd4ca6
JM
16753 [BZ #13550]
16754 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
16755 Remove __BOUNDED_POINTERS__ from condition.
16756 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
16757 * string/bits/string2.h [!__NO_STRING_INLINES &&
16758 !__BOUNDED_POINTERS__]: Likewise.
16759 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
16760 Likewise.
16761 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
16762 Remove conditional code.
16763 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
16764 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
16765 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
16766 condition.
16767
e97ed6dd
JM
16768 [BZ #13550]
16769 * csu/libc-start.c: Do not include <bp-sym.h>.
16770 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
16771 * elf/dl-open.c: Do not include <bp-sym.h>.
16772 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
16773 * math/fegetenv.c: Do not include <bp-sym.h>.
16774 (fegetenv): Do not use BP_SYM in versioned symbols.
16775 * nptl/sysdeps/pthread/bits/libc-lockP.h
16776 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
16777 <bp-sym.h>.
16778 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16779 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
16780 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16781 (__pthread_mutex_destroy): Likewise.
16782 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16783 (__pthread_mutex_lock): Likewise.
16784 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16785 (__pthread_mutex_trylock): Likewise.
16786 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16787 (__pthread_mutex_unlock): Likewise.
16788 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16789 (__pthread_mutexattr_init): Likewise.
16790 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16791 (__pthread_mutexattr_destroy): Likewise.
16792 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16793 (__pthread_mutexattr_settype): Likewise.
16794 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16795 (__pthread_rwlock_init): Likewise.
16796 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16797 (__pthread_rwlock_destroy): Likewise.
16798 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16799 (__pthread_rwlock_rdlock): Likewise.
16800 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16801 (__pthread_rwlock_tryrdlock): Likewise.
16802 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16803 (__pthread_rwlock_wrlock): Likewise.
16804 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16805 (__pthread_rwlock_trywrlock): Likewise.
16806 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16807 (__pthread_rwlock_unlock): Likewise.
16808 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16809 (__pthread_key_create): Likewise.
16810 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16811 (__pthread_setspecific): Likewise.
16812 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16813 (__pthread_getspecific): Likewise.
16814 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
16815 Likewise.
16816 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16817 (_pthread_cleanup_push_defer): Likewise.
16818 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16819 (_pthread_cleanup_pop_restore): Likewise.
16820 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16821 (pthread_setcancelstate): Likewise.
16822 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
16823 <bp-sym.h>.
16824 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
16825 (memchr): Do not use BP_SYM in weak_alias.
16826 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
16827 (fegetenv): Do not use BP_SYM in versioned symbols.
16828 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
16829 (fesetenv): Do not use BP_SYM in versioned symbols.
16830 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
16831 (feupdateenv): Do not use BP_SYM in versioned symbols.
16832 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
16833 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
16834 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
16835 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
16836 (open64): Do not use BP_SYM in weak_alias.
16837 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
16838 (fegetenv): Do not use BP_SYM in versioned symbols.
16839 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
16840 (fesetenv): Do not use BP_SYM in versioned symbols.
16841 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
16842 (feupdateenv): Do not use BP_SYM in versioned symbols.
16843 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
16844 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
16845 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
16846 (feraiseexcept): Do not use BP_SYM in versioned symbols.
16847 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
16848 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
16849 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
16850 <bp-sym.h>.
16851 (__libc_start_main): Do not use BP_SYM.
16852
d6752ccd
SP
168532013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
16854
cb57ce60
SP
16855 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
16856 redundant return line.
16857 (norm): Likewise.
16858 (denorm): Likewise.
16859 (dbl_mp): Likewise.
16860 (sub_magnitudes): Likewise.
16861 (__add): Likewise.
16862 (__sub): Likewise.
16863 (__mul): Likewise.
16864 (__inv): Likewise.
16865 (__dvd): Likewise.
16866 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
16867 (norm): Likewise.
16868 (denorm): Likewise.
16869 (dbl_mp): Likewise.
16870 (sub_magnitudes): Likewise.
16871 (__add): Likewise.
16872 (__sub): Likewise.
16873 (__mul): Likewise.
16874 (__inv): Likewise.
16875 (__dvd): Likewise.
16876
f414520d
SP
16877 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
16878 instead of __mul.
16879 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
16880 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
16881 (cc32): Likewise.
16882
d6752ccd
SP
16883 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
16884 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
16885 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
16886 of __mul for squares.
16887 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
16888 function
16889 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
16890 Likewise.
16891 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
16892 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
16893
70d9946a
JM
168942013-02-13 Joseph Myers <joseph@codesourcery.com>
16895
16896 [BZ #13550]
16897 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
16898 code.
16899 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
16900 prototype or function definition. Rename ubp_* variables and
16901 parameters. Remove argv definitions conditional on
16902 [__BOUNDED_POINTERS__].
16903 * debug/backtrace.c (__backtrace): Do not use __unbounded.
16904 * elf/dl-runtime.c (_dl_fixup): Likewise.
16905 * include/set-hooks.h (RUN_HOOK): Likewise.
16906 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
16907 definition.
16908 * string/strcpy.c (strcpy): Do not use __unbounded.
16909 * sysdeps/generic/frame.h (struct layout): Likewise.
16910 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
16911 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
16912 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
16913 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
16914 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
16915 (__backtrace): Likewise.
16916 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
16917 use __ptrvalue.
16918 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
16919 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
16920 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
16921 Likewise.
16922 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
16923 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
16924 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
16925 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
16926 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
16927 Do not use __unbounded.
16928 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
16929 Rename __unboundedrlimits parameter to rlimits in prototype.
16930 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
16931 Do not use __unbounded.
16932 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
16933 not use __ptrvalue.
16934 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
16935 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
16936 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
16937 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
16938 __ptrvalue or __unbounded.
16939 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
16940 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
16941 use __unbounded.
16942 (__new_msgctl): Do not use __ptrvalue.
16943 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
16944 __unbounded.
16945 (__libc_msgrcv): Do not use __ptrvalue.
16946 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
16947 startup_info): Do not use __unbounded.
16948 (__libc_start_main): Likewise. Rename ubp_* variables and
16949 parameters. Remove argv definitions conditional on
16950 [__BOUNDED_POINTERS__].
16951 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
16952 __ptrvalue.
16953 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
16954 use __unbounded.
16955 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
16956 or __ptrvalue.
16957 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
16958 use __unbounded.
16959 (__new_shmctl): Do not use __ptrvalue.
16960 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
16961 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
16962 Likewise.
16963 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
16964 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
16965 (__libc_sigaction): Likewise.
16966 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
16967 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
16968 Likewise.
16969 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
16970
cc7834d6
OB
169712013-02-13 Ondřej Bílka <neleai@seznam.cz>
16972
ffb1ec7b 16973 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
16974
16975 * string/mempcpy.c: Implement by calling memcpy.
16976
bdf02814
SP
169772013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
16978
c2af38aa
SP
16979 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
16980
4e92d59e
SP
16981 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
16982 evaluation.
16983
909279a5
SP
16984 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
16985 values in the mantissa.
16986
bdf02814
SP
16987 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
16988 minimize writes to Z.
16989 (sub_magnitudes): Simplify code a bit.
16990
cd525923
RM
169912013-02-12 Roland McGrath <roland@hack.frob.com>
16992
16993 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
16994 from the message. The linker prefixes all warnings with that already.
16995
7e2f0d2d
AS
169962013-02-12 Andreas Schwab <schwab@suse.de>
16997
a445af0b
AS
16998 [BZ #15078]
16999 * posix/regexec.c (extend_buffers): Add parameter min_len.
17000 (check_matching): Pass minimum needed length.
17001 (clean_state_log_if_needed): Likewise.
17002 (get_subexp): Likewise.
17003 * posix/Makefile (tests): Add bug-regex34.
17004 (bug-regex34-ENV): Define.
17005 * posix/bug-regex34.c: New file.
17006
7e2f0d2d
AS
17007 [BZ #11561]
17008 * posix/regcomp.c (parse_bracket_exp): When looking up collating
17009 elements compare against the byte sequence of it, not its name.
17010 * posix/Makefile (tests): Add bug-regex35.
17011 (bug-regex35-ENV): Define.
17012 * posix/bug-regex35.c: New file.
17013
a175b684
TV
170142013-02-11 Tom de Vries <tom@codesourcery.com>
17015
17016 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
17017 comment.
17018 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
17019 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
17020 (CHECK_EOL): Add undef.
17021
310998fe 170222013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
17023
17024 * bits/stdlib-bsearch.h: New file.
17025 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 17026 * stdlib/stdlib.h: Likewise.
41eda41d 17027
8ded91fb
RM
170282013-02-11 Roland McGrath <roland@hack.frob.com>
17029
17030 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
17031 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
17032 declaration.
17033 * manual/search.texi (Array Search Function): Add missing const in
17034 lfind prototype.
17035 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
17036 declaration to use rlim_t.
17037 (Basic Scheduling Functions): Remove erroneous const from
17038 sched_getparam prototype. Remove erroneous * from
17039 sched_get_priority_max and sched_get_priority_min prototypes.
17040 (Resource Usage): Fix summary @comment on vtimes to refer to
17041 sys/vtimes.h rather than vtimes.h.
17042 Add missing *s in vtimes prototype.
17043 (Limits on Resources): Fix ulimit prototype to return long int.
17044 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
17045 prototypes to use long int rather than double.
17046 (BSD Random): Fix initstate and setstate to use char *, not void *.
17047 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
17048 prototype to make second argument 'struct aiocb64 *const[]'.
17049 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
17050 (Status of AIO Operations): Remove erroneous const in aio_return and
17051 aio_return64 prototypes.
17052 (Synchronizing I/O): Fix sync prototype to return void.
17053 * manual/startup.texi (Suboptions): Remove an erroneous const in
17054 getsubopt prototype.
17055 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
17056 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
17057 use size_t rather than int.
17058 (Scanning All Users): Likewise for getpwent_r.
17059 (Setting Groups): Add missing const to setgroups prototype.
17060 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
17061 * manual/socket.texi (Host Names): Fix gethostbyaddr and
17062 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
17063 'const void *' rather than 'const char *'.
17064 (Host Address Functions): Likewise for inet_ntop.
17065 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
17066 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
17067 ssize_t for return value.
17068 (Sending Data): Likewise for send, sendto, sendmsg.
17069 (Socket Option Functions): Add a missing const in setsockopt prototype.
17070 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
17071 use wchar_t for the argument.
17072 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
17073 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
17074 take no arguments.
17075 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
17076 double/float/long double for second argument.
17077 Fix return types of significand, significandf, significandl.
17078 * manual/filesys.texi (Setting Permissions): Use mode_t for second
17079 argument in fchmod prototype.
17080 (File Owner): Use uid_t and gid_t in fchown prototype.
17081 (File Times): Add const to utimes, futimes, and lutimes prototypes.
17082 (Making Special Files): Use mode_t and dev_t in mknod prototype.
17083 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
17084 use 'const struct dirent **' as argument types to CMP function pointer
17085 argument.
17086 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
17087 (File Times): Fix summary magic @comment for struct utimbuf and utime
17088 to refer to utime.h, not time.h.
17089 * manual/string.texi (Argz Functions): Add missing const in
17090 argz_extract and argz_next prototypes.
17091 (Finding Tokens in a String): Likewise for basename.
17092 (String/Array Comparison): Fix typo in wcscasecmp prototype.
17093 (Copying and Concatenation): Fix typo in wmemmove prototype.
17094 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
17095 (Signal Stack): Remove erroneous const in sigstack prototype.
17096 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
17097 prototype.
17098 (Simple Calendar Time): Likewise for stime.
17099 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
17100 prototype.
17101 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
17102 say sys/sysctl.h instead.
17103 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
17104 and vsyslog prototypes.
17105
fe77fe6d
TV
171062013-02-11 Tom de Vries <tom@codesourcery.com>
17107
17108 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
17109 Remove.
17110
3a09b620
RM
171112013-02-11 Roland McGrath <roland@hack.frob.com>
17112
17113 * misc/sys/mman.h: Fix typo in mremap comment.
17114
550a0b89
RM
171152013-02-08 Roland McGrath <roland@hack.frob.com>
17116
17117 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
17118 the '\0' terminator.
17119
a2da1673
JM
171202013-02-08 Joseph Myers <joseph@codesourcery.com>
17121
17122 [BZ #13550]
17123 * debug/segfault.c: Don't include <bp-checks.h>.
17124 * sysdeps/generic/bp-checks.h: Remove file.
17125 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
17126 (__GETDENTS): Don't use CHECK_N.
17127 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
17128 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
17129 (__getgroups): Don't use CHECK_N.
17130 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
17131 (setgroups): Don't use CHECK_N.
17132 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
17133 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
17134 (__libc_msgrcv): Don't use CHECK_N.
17135 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
17136 (__libc_msgsnd): Don't use CHECK_N.
17137 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
17138 <bp-checks.h>.
17139 (__libc_pread): Don't use CHECK_N.
17140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
17141 include <bp-checks.h>.
17142 (__libc_pread64): Don't use CHECK_N.
17143 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
17144 include <bp-checks.h>.
17145 (__libc_pwrite): Don't use CHECK_N.
17146 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
17147 include <bp-checks.h>.
17148 (__libc_pwrite64): Don't use CHECK_N.
17149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
17150 <bp-checks.h>.
17151 (__libc_pread): Don't use CHECK_N.
17152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
17153 include <bp-checks.h>.
17154 (__libc_pread64): Don't use CHECK_N.
17155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
17156 include <bp-checks.h>.
17157 (__libc_pwrite): Don't use CHECK_N.
17158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
17159 include <bp-checks.h>.
17160 (__libc_pwrite64): Don't use CHECK_N.
17161 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
17162 (do_pread): Don't use CHECK_N.
17163 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
17164 (do_pread64): Don't use CHECK_N.
17165 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
17166 (do_pwrite): Don't use CHECK_N.
17167 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
17168 (do_pwrite64): Don't use CHECK_N.
17169 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
17170 (__libc_readv): Don't use CHECK_N.
17171 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
17172 (semop): Don't use CHECK_N.
17173 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
17174 <bp-checks.h>.
17175 (semtimedop): Don't use CHECK_N.
17176 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
17177 (__libc_pread): Don't use CHECK_N.
17178 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
17179 <bp-checks.h>.
17180 (__libc_pread64): Don't use CHECK_N.
17181 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
17182 <bp-checks.h>.
17183 (__libc_pwrite): Don't use CHECK_N.
17184 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
17185 <bp-checks.h>.
17186 (__libc_pwrite64): Don't use CHECK_N.
17187 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
17188 <bp-checks.h>.
17189 (__libc_msgrcv): Don't use CHECK_N.
17190 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
17191 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
17192 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
17193 (__libc_writev): Don't use CHECK_N.
17194
b84660a8
RM
171952013-02-08 Roland McGrath <roland@hack.frob.com>
17196
7f3e75f8
RM
17197 * string/strcpy.c: Removed unused variable.
17198
b84660a8
RM
17199 * Makeconfig (+sysdep-includes): Define with := rather than =.
17200 Use an existing include/ subdir of each sysdeps dir before it.
17201
471514d3
CD
172022013-02-08 Carlos O'Donell <carlos@redhat.com>
17203
17204 * nscd/connection.c (register_traced_file): Comment function.
17205 [HAVE_INOTIFY] (union __inev): Define.
17206 [HAVE_INOTIFY] (inotify_check_files): New function.
17207 [HAVE_INOTIFY] (clear_db_cache): Likewise.
17208 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
17209 clear_db_cache.
17210 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
17211
b2d3c3be
CD
172122013-02-08 Carlos O'Donell <carlos@redhat.com>
17213
17214 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
17215 loaded if not already and that a failure is permanent.
17216
b39949d2
CD
172172013-02-08 Carlos O'Donell <carlos@redhat.com>
17218
ddacd1db 17219 [BZ #15006]
b39949d2
CD
17220 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
17221 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
17222
b2c9eff4
JM
172232013-02-08 Joseph Myers <joseph@codesourcery.com>
17224
f3aae3f3
JM
17225 [BZ #13550]
17226 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
17227 (CHECK_1_NULL_OK): Likewise.
17228 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
17229 (__fxstat): Do not use CHECK_1.
17230 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
17231 <bp-checks.h>.
17232 (___fxstat64): Do not use CHECK_1.
17233 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
17234 <bp-checks.h>.
17235 (__fxstatat): Do not use CHECK_1.
17236 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
17237 <bp-checks.h>.
17238 (__fxstatat64): Do not use CHECK_1.
17239 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
17240 <bp-checks.h>.
17241 (__fxstat): Do not use CHECK_1.
17242 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
17243 <bp-checks.h>.
17244 (__fxstatat): Do not use CHECK_1.
17245 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
17246 <bp-checks.h>.
17247 (__getresgid): Do not use CHECK_1.
17248 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
17249 <bp-checks.h>.
17250 (__getresuid): Do not use CHECK_1.
17251 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
17252 <bp-checks.h>.
17253 (__lxstat): Do not use CHECK_1.
17254 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
17255 <bp-checks.h>.
17256 (__old_msgctl): Do not use CHECK_1.
17257 (__new_msgctl): Likewise.
17258 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
17259 <bp-checks.h>.
17260 (__new_setrlimit): Do not use CHECK_1.
17261 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
17262 <bp-checks.h>.
17263 (__old_shmctl): Do not use CHECK_1.
17264 (__new_shmctl): Likewise.
17265 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
17266 <bp-checks.h>.
17267 (__xstat): Do not use CHECK_1.
17268 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
17269 (__lxstat): Do not use CHECK_1.
17270 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
17271 <bp-checks.h>.
17272 (___lxstat64): Do not use CHECK_1.
17273 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
17274 (__old_msgctl): Do not use CHECK_1.
17275 (__new_msgctl): Likewise.
17276 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
17277 <bp-checks.h>.
17278 (__gettimeofday): Do not use CHECK_1.
17279 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
17280 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
17281 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
17282 <bp-checks.h>.
17283 (__gettimeofday): Do not use CHECK_1.
17284 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
17285 (__old_shmctl): Do not use CHECK_1_NULL_OK.
17286 (__new_shmctl): Do not use CHECK_1.
17287 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
17288 <bp-checks.h>.
17289 (do_sigtimedwait): Do not use CHECK_1.
17290 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
17291 <bp-checks.h>.
17292 (do_sigwaitinfo): Do not use CHECK_1.
17293 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
17294 <bp-checks.h>.
17295 (msgctl): Do not use CHECK_1.
17296 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
17297 <bp-checks.h>.
17298 (shmctl): Do not use CHECK_1.
17299 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
17300 (ustat): Do not use CHECK_1.
17301 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
17302 <bp-checks.h>.
17303 (__fxstat): Do not use CHECK_1.
17304 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
17305 <bp-checks.h>.
17306 (__fxstatat): Do not use CHECK_1.
17307 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
17308 <bp-checks.h>.
17309 (__lxstat): Do not use CHECK_1.
17310 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
17311 <bp-checks.h>.
17312 (__xstat): Do not use CHECK_1.
17313 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
17314 (__xstat): Do not use CHECK_1.
17315 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
17316 (___xstat64): Do not use CHECK_1.
17317
b2c9eff4
JM
17318 [BZ #13550]
17319 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
17320 definitions.
17321 (CHECK_BOUNDS_HIGH): Likewise.
17322 * string/strcpy.c: Do not include <bp-checks.h>.
17323 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
17324
f1d70dad
RM
173252013-02-07 Roland McGrath <roland@hack.frob.com>
17326
17327 * nscd/nscd-client.h (__nscd_drop_map_ref):
17328 Add __attribute__ ((unused)).
17329 * nis/nss-nisplus.h (niserr2nss): Likewise.
17330
17331 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
17332 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
17333
17334 * csu/libc-tls.c (init_static_tls, init_slotinfo):
17335 Remove inline keyword.
17336 * include/rounding-mode.h (round_away): Likewise.
17337 * libio/wfileops.c (adjust_wide_data): Likewise.
17338 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
17339 (__m128i_strloadu_tolower): Likewise.
17340 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
17341 (__m128i_strloadu_tolower): Likewise.
17342 * time/mktime.c (ydhms_diff): Likewise.
17343 * locale/elem-hash.h (elem_hash): Likewise.
17344 * locale/setlocale.c (setdata): Likewise.
17345 * posix/regex_internal.h (re_string_char_size_at): Likewise.
17346 (re_string_wchar_at): Likewise.
17347 (bitset_not, bitset_merge, bitset_mask): Likewise.
17348 [!(__GNUC__ > 3)] (inline): Remove macro.
17349 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
17350 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
17351 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
17352 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
17353 * string/memcmp.c (memcmp_bytes): Likewise.
17354 * locale/programs/locarchive.c (compute_hashval): Likewise.
17355 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
17356 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
17357 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
17358 * nss/getent.c (print_rpc, print_protocols): Likewise.
17359 (print_passwd, print_group, print_aliases): Likewise.
17360 * nis/nss-nisplus.h (niserr2nss): Likewise.
17361 * nscd/connections.c (restart_p): Likewise.
17362 Change return type to bool.
17363
eab55bfb
RM
173642013-02-05 Roland McGrath <roland@hack.frob.com>
17365
7bd642f5
RM
17366 * Makeconfig (all-Depend-files): Add existing
17367 $(sorted-subdirs:=/Depend) files.
17368 (all-subdirs): Remove nss.
17369 * sysdeps/unix/inet/Subdirs: Add it here instead.
17370 * hesiod/Depend: New file.
17371
573c29b2
RM
17372 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
17373 instead of calling alloca.
17374
b2e25af0
RM
17375 * io/lseek.c (__lseek): Rename to __libc_lseek.
17376 Define __lseek as an alias.
17377
eab55bfb
RM
17378 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
17379
9a0d1941
CD
173802013-02-04 Carlos O'Donell <carlos@redhat.com>
17381
17382 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
17383 else clause and remove check for non-standard endianness.
17384
b83bbec4
DM
173852013-02-04 David S. Miller <davem@davemloft.net>
17386
17387 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17388
6277fdab
JM
173892013-02-04 Joseph Myers <joseph@codesourcery.com>
17390
17391 [BZ #13550]
17392 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
17393 (__ubp_memchr): Remove prototype.
17394 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
17395 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
17396 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
17397 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
17398 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
17399 Remove alias.
17400 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
17401 (__ubp_memchr): Likewise.
17402 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
17403 (__ubp_memchr): Likewise.
17404 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
17405 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
17406 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
17407 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
17408 CHECK_STRING.
17409 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
17410 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
17411 (__getcwd): Do not use CHECK_STRING.
17412 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
17413 <bp-checks.h>.
17414 (__real_chown): Do not use CHECK_STRING.
17415 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
17416 <bp-checks.h>.
17417 (fchownat): Do not use CHECK_STRING.
17418 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
17419 CHECK_STRING.
17420 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
17421 <bp-checks.h>.
17422 (__lchown): Do not use CHECK_STRING.
17423 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
17424 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
17425 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
17426 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
17427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
17428 include <bp-checks.h>.
17429 (truncate64): Do not use CHECK_STRING.
17430 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
17431 <bp-checks.h>.
17432 (__real_chown): Do not use CHECK_STRING.
17433 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
17434 <bp-checks.h>.
17435 (__lchown): Do not use CHECK_STRING.
17436 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
17437 <bp-checks.h>.
17438 (__chown): Do not use CHECK_STRING.
17439 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
17440 <bp-checks.h>.
17441 (truncate64): Do not use CHECK_STRING.
17442 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
17443 Likewise.
17444 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
17445 (__xmknod): Do not use CHECK_STRING.
17446 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
17447 <bp-checks.h>.
17448 (__xmknodat): Do not use CHECK_STRING.
17449 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
17450 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
17451
903ae060
AS
174522013-02-04 Andreas Schwab <schwab@suse.de>
17453
17454 [BZ #14142]
17455 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
17456 * include/netdb.h: Likewise for h_errno.
17457 * elf/tst-stackguard1.c: Include <tls.h>.
17458
542f9466
JK
174592013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
17460
17461 * elf/link.h (struct link_map): Extend the l_addr comment.
17462 * include/link.h (struct link_map): Likewise.
17463
e782a927
JM
174642013-02-01 Joseph Myers <joseph@codesourcery.com>
17465
17466 [BZ #13550]
17467 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
17468 (BOUNDED_1): Remove macro.
17469 * debug/backtrace.c: Don't include <bp-checks.h>.
17470 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
17471 (__backtrace): Likewise.
17472 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
17473 <bp-checks.h>.
17474 (__backtrace): Don't use BOUNDED_1.
17475 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
17476 <bp-checks.h>.
17477 (__backtrace): Don't use BOUNDED_1.
17478 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
17479 (__backtrace): Don't use BOUNDED_1.
17480 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
17481 (shmat): Don't use BOUNDED_N.
17482
8cf28c5e
JM
174832013-01-31 Joseph Myers <joseph@codesourcery.com>
17484
3a7ac8a0
JM
17485 [BZ #13550]
17486 * sysdeps/generic/bp-start.h: Remove file.
17487 * csu/libc-start.c: Don't include <bp-start.h>.
17488 (LIBC_START_MAIN): Set up __environ directly instead of using
17489 INIT_ARGV_and_ENVIRON.
17490 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
17491 <bp-start.h>.
17492
f3499f95
JM
17493 [BZ #13550]
17494 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
17495 definitions.
17496 (CHECK_FCNTL): Likewise.
17497 (CHECK_N_PAGES): Likewise.
17498
32a45bea
JM
17499 [BZ #13550]
17500 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
17501 definitions.
17502 (CHECK_SIGSET_NULL_OK): Likewise.
17503 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
17504 <bp-checks.h>.
17505 (sigpending): Don't use CHECK_SIGSET.
17506 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
17507 <bp-checks.h>.
17508 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
17509 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
17510 <bp-checks.h>.
17511 (do_sigsuspend): Don't use CHECK_SIGSET.
17512 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
17513 use CHECK_SIGSET.
17514 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
17515 (do_sigwait): Don't use CHECK_SIGSET.
17516 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
17517 use CHECK_SIGSET.
17518 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
17519 include <bp-checks.h>.
17520 (sigpending): Don't use CHECK_SIGSET.
17521 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
17522 include <bp-checks.h>.
17523 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
17524 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
17525 <bp-checks.h>.
17526 (sigpending): Don't use CHECK_SIGSET.
17527 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
17528 <bp-checks.h>.
17529 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
17530
2e8a5c8c
JM
17531 [BZ #13550]
17532 * sysdeps/generic/bp-semctl.h: Remove file.
17533 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
17534 <bp-checks.h> and <bp-semctl.h>.
17535 (__old_semctl): Don't use CHECK_SEMCTL.
17536 (__new_semctl): Likewise.
17537 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
17538 and <bp-semctl.h>.
17539 (__old_semctl): Don't use CHECK_SEMCTL.
17540 (__new_semctl): Likewise.
17541 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
17542 <bp-checks.h> and <bp-semctl.h>.
17543 (__old_semctl): Don't use CHECK_SEMCTL.
17544 (__new_semctl): Likewise.
17545 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
17546 <bp-checks.h> and <bp-semctl.h>.
17547 (semctl): Don't use CHECK_SEMCTL.
17548
c2d54929
JM
17549 [BZ #13550]
17550 * Makerules (elide-bp-thunks): Remove variable.
17551 (elide-routines.oS): Don't use $(elide-bp-thunks).
17552 (elide-routines.os): Likewise.
17553 (elide-routines.o): Likewise.
17554 (elide-routines.op): Likewise.
17555 (elide-routines.og): Likewise.
17556 (objects): Don't use $(bp-thunks).
17557 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
17558 include.
17559 (common-generated): Do not add s-proto-bp.d.
17560 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
17561 (int): Likewise.
17562 (typ): Likewise.
17563 Do not generate makefile rules for bounded-pointer thunks.
17564 * sysdeps/generic/bp-thunks.h: Remove file.
17565 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
17566 * sysdeps/unix/s-proto-bp.S: Likewise.
17567
8cf28c5e
JM
17568 [BZ #15062]
17569 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
17570 parts of result separately when argument is not close to line from
17571 -i to i and one part of argument is small.
17572 * math/k_casinhf.c (__kernel_casinhf): Likewise.
17573 * math/k_casinhl.c (__kernel_casinhl): Likewise.
17574 * math/libm-test.inc (cacos_test): Add more tests.
17575 (casin_test): Likewise.
17576 (casinh_test): Likewise.
17577 * sysdeps/i386/fpu/libm-test-ulps: Update.
17578 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17579
c4e33b8d
DM
175802013-01-31 David S. Miller <davem@davemloft.net>
17581
17582 * po/de.po: Update from translation team.
17583
3b60b421
MK
175842013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
17585
17586 * time/tzfile.c: Include stdint.h for SIZE_MAX.
17587
bb931195
TS
175882013-01-25 Thomas Schwinge <thomas@codesourcery.com>
17589
b5a5da23
TS
17590 * configure.in (_AC_PROG_CC_C89): New definition.
17591 * configure: Regenerate.
17592
bb931195
TS
17593 * configure.in (AC_PROG_CPP): New definition.
17594 * configure: Regenerate.
17595
8c53a12c
JM
175962013-01-23 Joseph Myers <joseph@codesourcery.com>
17597
17598 * debug/tst-backtrace.h: New file.
17599 * debug/tst-backtrace2.c: Include tst-backtrace.h.
17600 (ret): Remove variable.
17601 (x): Likewise.
17602 (FAIL): Remove macro.
17603 (NO_INLINE): Likewise.
17604 (fn1): Use match function instead of strstr.
17605 * debug/tst-backtrace3.c: Include tst-backtrace.h.
17606 (ret): Remove variable.
17607 (x): Likewise.
17608 (FAIL): Remove macro.
17609 (NO_INLINE): Likewise.
17610 (fn): Use match function instead of strstr.
17611 * debug/tst-backtrace4.c: Include tst-backtrace.h.
17612 (ret): Remove variable.
17613 (x): Likewise.
17614 (FAIL): Remove macro.
17615 (NO_INLINE): Likewise.
17616 (handle_signal): Use match function instead of strstr.
17617 * debug/tst-backtrace5.c: Include tst-backtrace.h.
17618 (ret): Remove variable.
17619 (x): Likewise.
17620 (FAIL): Remove macro.
17621 (NO_INLINE): Likewise.
17622 (handle_signal): Use match function instead of strstr.
17623
4858fa2a
RM
176242013-01-23 Roland McGrath <roland@hack.frob.com>
17625
17626 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
17627
bae8e7f5
DM
176282013-01-23 David S. Miller <davem@davemloft.net>
17629
17630 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
17631 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
17632 argument of CAS if possible.
17633 * sysdeps/sparc/sparc64/bits/atomic.h
17634 (__arch_compare_and_exchange_val_32_acq): Likewise.
17635 (__arch_compare_and_exchange_val_64_acq): Likewise.
17636
9cbbc4ae
PT
176372013-01-23 Pino Toscano <toscano.pino@tiscali.it>
17638
17639 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
17640 * sysdeps/posix/ulimit.c: ... this.
92a601b8 17641 Include <limits.h>.
67b3f58c 17642 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 17643
5655a0b5
AC
176442013-01-23 Adam Conrad <adconrad@0c3.net>
17645
17646 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
17647 (LDFLAGS-tst-array5): Likewise.
17648
052aff95
JM
176492013-01-23 Joseph Myers <joseph@codesourcery.com>
17650
17651 [BZ #15036]
17652 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
17653 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
17654 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
17655 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
17656
7c1e01aa
DM
176572013-01-21 David S. Miller <davem@davemloft.net>
17658
17659 * sysdeps/sparc/backtrace.c: New file.
17660 * sysdeps/sparc/sparc32/backtrace.h: New file.
17661 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
17662 * sysdeps/sparc/sparc64/backtrace.h: New file.
17663 * sysdeps/sparc/sparc64/backtrace.c: Delete.
17664 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
17665 -funwind-tables.
17666
ab087e0a
AS
176672013-01-21 Andreas Schwab <schwab@suse.de>
17668
17669 [BZ #15020]
17670 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
17671 closed its stdout.
17672
ed689c2f
AS
176732013-01-20 Andreas Schwab <schwab@linux-m68k.org>
17674
17675 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
17676 "mpa2.h".
17677 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
17678
31d470ac
JM
176792013-01-18 Joseph Myers <joseph@codesourcery.com>
17680 Mark Mitchell <mark@codesourcery.com>
17681 Tom de Vries <tom@codesourcery.com>
17682 Paul Pluzhnikov <ppluzhnikov@google.com>
17683
17684 * debug/tst-backtrace2.c: New file.
17685 * debug/tst-backtrace3.c: Likewise.
17686 * debug/tst-backtrace4.c: Likewise.
17687 * debug/tst-backtrace5.c: Likewise.
17688 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
17689 (CFLAGS-tst-backtrace3.c): Likewise.
17690 (CFLAGS-tst-backtrace4.c): Likewise.
17691 (CFLAGS-tst-backtrace5.c): Likewise.
17692 (LDFLAGS-tst-backtrace2): Likewise.
17693 (LDFLAGS-tst-backtrace3): Likewise.
17694 (LDFLAGS-tst-backtrace4): Likewise.
17695 (LDFLAGS-tst-backtrace5): Likewise.
17696 (tests): Add new tests tst-backtrace2, tst-backtrace3,
17697 tst-backtrace4 and tst-backtrace5.
17698
90567f30 176992013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
17700 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17701
17702 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
17703 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
17704 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
17705 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
17706 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
17707 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
17708 "+r" and remove output regs list as redundant. Add explicit inline
17709 asm to specify register of return val to work around compiler codegen
17710 bug. Remove (int) cast on return value. Add return type parameter to
17711 use in macro so that this macro does not truncate return value for
17712 64-bit values.
17713 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
17714 pass to INTERNAL_VSYSCALL_NCS.
17715 (INLINE_VSYSCALL): Add 'long int' as return type to
17716 INTERNAL_VSYSCALL_NCS macro invocation.
17717 (INTERNAL_VSYSCALL): Add 'long int' as return type to
17718 INTERNAL_VSYSCALL_NCS macro invocation.
17719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
17720
d3b9ea61
SP
177212013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
17722
0b57daeb
SP
17723 [BZ #14496]
17724 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
17725 Fix application of SIMD FP exception mask.
17726
caa99d06
SP
17727 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
17728 mp_no from a power of two.
17729 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
17730 __mpexp_twomm1. Use __pow_mp.
17731
d3b9ea61
SP
17732 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
17733 multiplication.
17734
1dbaee3c
DM
177352013-01-17 David S. Miller <davem@davemloft.net>
17736
17737 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17738
728d7b43
JM
177392013-01-17 Joseph Myers <joseph@codesourcery.com>
17740
17741 [BZ #15023]
17742 * include/complex.h: Condition contents on [!_COMPLEX_H].
17743 (__kernel_casinhf): New prototype.
17744 (__kernel_casinh): Likewise.
17745 (__kernel_casinhl): Likewise.
17746 * math/Makefile (libm_calls): Add k_casinh.
17747 * math/k_casinh.c: New file.
17748 * math/k_casinhf.c: Likewise.
17749 * math/k_casinhl.c: Likewise.
17750 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
17751 finite nonzero arguments.
17752 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
17753 finite nonzero arguments.
17754 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
17755 finite nonzero arguments.
17756 * math/s_casinh.c: Do not include <float.h>.
17757 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
17758 * math/s_casinhf.c: Do not include <float.h>.
17759 (__casinhf): Move code for finite nonzero arguments to
17760 k_casinhf.c.
17761 * math/s_casinhl.c: Do not include <float.h>.
17762 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
17763 redefine.
17764 (__casinhl): Move code for finite nonzero arguments to
17765 k_casinhl.c.
17766 * math/libm-test.inc (cacos_test): Add more tests.
17767 * sysdeps/i386/fpu/libm-test-ulps: Update.
17768 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17769
2a26ef3a
PT
177702013-01-17 Pino Toscano <toscano.pino@tiscali.it>
17771
17772 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
17773 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
17774 [!HAVE_MREMAP]: Remove [defined linux] case.
17775 * malloc/arena.c: Do not include <malloc-sysdep.h>.
17776
a897655d
SP
177772013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
17778
17779 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
17780
881ebe89 177812013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
17782
17783 * elf/elf.h (R_386_SIZE32): New relocation.
17784 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
17785 R_386_SIZE32.
17786 (elf_machine_rela): Likewise.
17787 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
17788 R_X86_64_SIZE64 and R_X86_64_SIZE32.
17789
59981e9b
JM
177902013-01-17 Joseph Myers <joseph@codesourcery.com>
17791
17792 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
17793 (FP_FAST_FMA): Do not define.
17794 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
17795 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
17796 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
17797 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
17798 !_SOFT_FLOAT]: Likewise.
17799 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
17800 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
17801 value.
17802 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
17803 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
17804 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
17805 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
17806 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
17807 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
17808 file.
17809
cfa8054f
AS
178102013-01-16 Andreas Schwab <schwab@suse.de>
17811
17812 [BZ #14327]
17813 * include/stdlib.h (__mktemp): Add declaration.
17814 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
17815 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
17816
dd930cc5
SP
178172013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
17818
881ebe89
SP
17819 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
17820 definitions.
17821 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
17822 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
17823 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
17824 definitions here.
17825 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
17826 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
17827 definitions.
17828 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
17829 and ONE.
17830 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
17831 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
17832 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
17833 definitions.
17834 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
17835 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
17836 definitions.
17837 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 17838
dd930cc5
SP
17839 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
17840
c19a9f89
DM
178412013-01-15 David S. Miller <davem@davemloft.net>
17842
1aa61767
DM
17843 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
17844 trunc{,f} to libm-sysdep_routes.
17845 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
17846 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
17847 file.
17848 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
17849 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
17850 file.
17851 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
17852 file.
17853 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
17854 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
17855 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
17856 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
17857 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
17858 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
17859 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
17860 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
17861
c42d5e98
DM
17862 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
17863 nearbyint{,f} to libm-sysdep_routes.
17864 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
17865 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
17866 New file.
17867 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
17868 file.
17869 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
17870 New file.
17871 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
17872 file.
17873 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
17874 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
17875 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
17876 file.
17877 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
17878 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
17879 file.
17880 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
17881 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
17882 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
17883
c19a9f89
DM
17884 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
17885 libc_feholdexcept and libc_fesetenv.
17886
357679d2
MF
178872013-01-15 Mike Frysinger <vapier@gentoo.org>
17888
17889 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
17890
65a82e3d
DM
178912013-01-14 David S. Miller <davem@davemloft.net>
17892
8b954ab9
DM
17893 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
17894 (SPARC_ASM_VIS2_IFUNC): Likewise.
17895 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
17896 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
17897 use of 'siam' instruction.
17898 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
17899 Likewise.
17900 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
17901 Likewise.
17902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
17903 Likewise.
17904 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
17905 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
17906 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
17907 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
17908 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
17909 file.
17910 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
17911 file.
17912 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
17913 file.
17914 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
17915 file.
17916 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
17917 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
17918 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
17919 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
17920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
17921 new VIS2 routines.
17922 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
17923 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
17924 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
17925 Likewise.
17926 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
17927 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
17928 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
17929 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
17930 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
17931 routines to libm-sysdep_routines.
17932 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
17933
65a82e3d
DM
17934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
17935 fdim/fdimf to libm-sysdep_routines.
17936 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
17937 file.
17938 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
17939 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
17940 file.
17941 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
17942 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
17943 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
17944 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
17945 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
17946 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
17947 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
17948
e34ab705
SP
179492013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
17950
2a91b573
SP
17951 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
17952 to optimize copies.
17953
1066a534
SP
17954 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
17955 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
17956 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
17957
e34ab705
SP
17958 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
17959 local variable MPTWO.
17960 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
17961 Likewise.
17962
aba5e596
MF
179632013-01-13 Mike Frysinger <vapier@gentoo.org>
17964
17965 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
17966 GLOB_NOESCAPE.
17967
e557e9e5
MF
179682013-01-13 Mike Frysinger <vapier@gentoo.org>
17969
17970 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
17971
0428cec9
MF
179722013-01-13 Mike Frysinger <vapier@gentoo.org>
17973
17974 * manual/pattern.texi (glob_t): Document gl_flags.
17975 (glob64_t): Likewise.
17976
8794a964
DM
179772013-01-11 David S. Miller <davem@davemloft.net>
17978
66438c3f
RM
17979 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
17980 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
17981 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
17982 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
17983 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
17984 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
17985 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
17986 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
17987 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
17988 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
17989 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
17990 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
17991 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
17992
4ae4244d
DM
17993 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
17994 sparc V9 rather than using V8 code.
17995 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
17996 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
17997
8794a964
DM
17998 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
17999 Move to...
18000 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
18001 Here.
18002
6270516e
RM
180032013-01-11 Roland McGrath <roland@hack.frob.com>
18004
18005 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
18006 not in the main loop.
18007 * configure: Regenerated.
18008
6a57d931
JM
180092013-01-11 Joseph Myers <joseph@codesourcery.com>
18010
18011 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
18012 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
18013 to just #else.
18014 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
18015 [!__GLIBC_HAVE_LONG_LONG] case.
18016 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
18017 condition to just #else.
18018 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
18019 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
18020 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
18021 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
18022 unconditional.
18023 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
18024 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
18025 #elif condition to just #else.
18026 * sysdeps/unix/sysv/linux/sys/sysmacros.h
18027 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
18028 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
18029 #elif condition to just #else.
18030
0e8529e9
SE
180312013-01-11 Steve Ellcey <sellcey@mips.com>
18032
18033 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
18034 (EF_MIPS_ARCH_64): Fix value.
18035 (EF_MIPS_ARCH_32R2): New.
18036 (EF_MIPS_ARCH_64R2): New.
18037
740b3dbe
L
180382013-01-11 H.J. Lu <hongjiu.lu@intel.com>
18039
18040 * Makeconfig (+link-pie-before-libc): New.
18041 (+link-pie-after-libc): Likewise.
18042 (+link-pie-tests): Likewise.
18043 (+link-pie): Rewritten.
18044 (link-before-libc): Remove $(config-LDFLAGS).
18045 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
18046 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
18047 (config-LDFLAGS): Renamed to ...
18048 (rtld-LDFLAGS): This.
18049 (rtld-tests-LDFLAGS): New macro.
18050 (link-libc-rpath-link): Likewise.
18051 (link-libc-tests-rpath-link): Likewise.
18052 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
18053 (link-libc): Prepand $(link-libc-rpath-link).
18054 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
18055 (test-program-prefix): New macro.
18056 (test-via-rtld-prefix): Likewise.
18057 (test-program-cmd): Likewise.
18058 (host-test-program-cmd): Likewise.
18059 * Makefile ($(common-objpfx)testrun.sh): Replace
18060 $(run-program-prefix) with $(test-program-prefix).
18061 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
18062 $(rtld-LDFLAGS).
18063 ($(common-objpfx)shlib.lds): Likewise.
18064 (build-module-helper): Likewise.
18065 ($(common-objpfx)format.lds): Likewise.
18066 * Rules (binaries-pie-tests): New.
18067 (binaries-pie-notests): Likewise.
18068 (binaries-pie): Rewritten.
18069 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
18070 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
18071 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
18072 (make-test-out): Replace $(host-built-program-cmd) with
18073 $(host-test-program-cmd).
18074 * config.make.in (build-hardcoded-path-in-tests): New variable.
18075 * configure.in (--enable-hardcoded-path-in-tests): New configure
18076 option.
18077 (hardcoded_path_in_tests): New AC_SUBST.
18078 * configure: Regenerated.
18079 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
18080 $(built-program-cmd) with $(test-program-cmd).
18081 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
18082 (test_program_cmd): This.
18083 * elf/Makefile ($(objpfx)order.out): Run test with
18084 $(test-program-prefix).
18085 ($(objpfx)order2.out): Likewise.
18086 ($(objpfx)tst-initorder.out): Likewise.
18087 ($(objpfx)tst-initorder2.out): Likewise.
18088 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
18089 $(test-program-cmd).
18090 ($(objpfx)tst-array1-static.out): Likewise.
18091 ($(objpfx)tst-array2.out): Likewise.
18092 ($(objpfx)tst-array3.out): Likewise.
18093 ($(objpfx)tst-array4.out): Likewise.
18094 ($(objpfx)tst-array5.out): Likewise.
18095 ($(objpfx)tst-array5-static.out): Likewise.
18096 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
18097 $(test-program-cmd).
18098 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
18099 $(run-program-prefix) with $(test-program-prefix).
18100 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
18101 (test_program_prefix): This.
18102 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
18103 $(run-program-prefix) with $(test-program-prefix).
18104 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
18105 (test_program_prefix): This.
18106 * iconvdata/tst-tables.sh: Likewise.
18107 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
18108 $(run-program-prefix) with $(test-program-prefix).
18109 ($(objpfx)tst-translit.out): Likewise.
18110 ($(objpfx)tst-gettext2.out): Likewise.
18111 ($(objpfx)tst-gettext4.out): Likewise.
18112 ($(objpfx)tst-gettext6.out): Likewise.
18113 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
18114 (test_program_prefix): This.
18115 * intl/tst-gettext2.sh: Likewise.
18116 * intl/tst-gettext4.sh Likewise.
18117 * intl/tst-gettext6.sh: Likewise.
18118 * intl/tst-translit.sh: Likewise.
18119 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
18120 with $(test-program-cmd).
18121 * libio/Makefile ($(objpfx)test-freopen.out): Replace
18122 $(run-program-prefix) with $(test-program-prefix).
18123 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
18124 (test_program_prefix): This.
18125 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
18126 $(run-program-prefix) with $(test-program-prefix).
18127 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
18128 (test_program_prefix): This.
18129 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
18130 * posix/Makefile ($(objpfx)globtest.out): Replace
18131 $(run-via-rtld-prefix) and $(test-wrapper) with
18132 $(test-program-prefix) and $(test-via-rtld-prefix).
18133 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
18134 $(test-program-prefix).
18135 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
18136 $(host-test-program-cmd).
18137 (tst-spawn-ARGS): Likewise.
18138 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
18139 $(test-program-prefix).
18140 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
18141 (test_via_rtld_prefix): This.
18142 (test_wrapper): Renamed to ...
18143 (test_program_prefix): This.
18144 (run_program_prefix): Replaced by test_program_prefix.
18145 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
18146 (test_program_prefix): This.
18147 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
18148 with $(host-test-program-cmd).
18149 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
18150 $(run-program-prefix) with $(test-program-prefix).
18151 ($(objpfx)tst-printf.out): Likewise.
18152 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
18153 $(test-program-cmd).
18154 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
18155 (test_program_prefix): This.
18156 * stdio-common/tst-unbputc.sh: Likewise.
18157 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
18158 $(run-program-prefix) with $(test-program-prefix).
18159 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
18160 (test_program_prefix): This.
18161 * string/Makefile ($(objpfx)tst-svc.out): Replace
18162 $(built-program-cmd) with $(test-program-cmd).
18163
c6fe55cf
AJ
181642013-01-11 Andreas Jaeger <aj@suse.de>
18165
18166 [BZ #15003]
18167 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
18168 value. Sync with Linux 3.7.
18169
9e6919c8
DM
181702013-01-10 David S. Miller <davem@davemloft.net>
18171
18172 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
18173 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
18174 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
18175
1c9f1a02
RM
181762013-01-10 Roland McGrath <roland@hack.frob.com>
18177
18178 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
18179 never set.
18180 * configure: Regenerated.
18181
b9de2dde
DM
181822013-01-10 David S. Miller <davem@davemloft.net>
18183
18184 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
18185 sparc V9 rather than using V8 code.
18186 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
18187 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
18188
e7f68ef4
RM
181892013-01-10 Roland McGrath <roland@hack.frob.com>
18190
18191 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
18192 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
18193 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
18194 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
18195 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
18196 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
18197 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
18198 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
18199 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
18200 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
18201 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
18202 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
18203 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
18204 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
18205 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
18206 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
18207 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
18208 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
18209 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
18210 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
18211 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
18212 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
18213 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
18214 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
18215 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
18216 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
18217 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
18218
5a47cc9c
DM
182192013-01-10 David S. Miller <davem@davemloft.net>
18220
18221 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18222
4cf8f209
L
182232013-01-10 H.J. Lu <hongjiu.lu@intel.com>
18224
18225 * posix/Makefile (tests-static): New variable.
18226 (tests): Add $(tests-static).
18227 (tst-exec-static-ARGS): New variable.
18228 (tst-spawn-static-ARGS): Likewise.
18229 * posix/tst-exec-static.c: New file.
18230 * posix/tst-spawn-static.c: Likewise.
18231 * posix/tst-exec.c: Support run directly.
18232 * posix/tst-spawn.c: Likewise.
18233
fed0faa1
JM
182342013-01-10 Joseph Myers <joseph@codesourcery.com>
18235
828beb13
JM
18236 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
18237 long.
18238 * math/bits/mathcalls.h (llrint): Likewise.
18239 (llround): Likewise.
18240 * stdlib/stdlib.h (struct drand48_data): Likewise.
18241 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
18242 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
18243 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
18244 Likewise.
18245 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
18246 Likewise.
18247 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
18248 (elf_greg_t): Likewise.
18249 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
18250 (__jmp_buf): Likewise.
18251 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
18252 definitions.
18253 (llrint): Likewise, for all definitions.
18254 (llrintl): Likewise.
18255
fed0faa1
JM
18256 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
18257 Remove [__GNUC__] condition.
18258 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
18259 condition to just [__USE_ISOC99].
18260 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
18261
1a20cb20
L
182622013-01-10 H.J. Lu <hongjiu.lu@intel.com>
18263
18264 [BZ #14200]
18265 * sysdeps/unix/sysv/linux/x86/bits/environments.h
18266 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
18267 defined.
18268 (_POSIX_V6_ILP32_OFF32): Likewise.
18269 (_XBS5_ILP32_OFF32): Likewise.
18270 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
18271 (__ILP32_OFFBIG_LDFLAGS): Likewise.
18272
751b85f7
SP
182732013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18274
7490eb81
SP
18275 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
18276
751b85f7
SP
18277 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
18278 doubles __mpexp_twomm1. Adjust usage.
18279 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
18280 Remove.
18281
988197f0
AS
182822013-01-10 Andreas Schwab <schwab@suse.de>
18283
18284 [BZ #14964]
18285 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
18286 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
18287
e83d7298
DM
182882013-01-09 David S. Miller <davem@davemloft.net>
18289
034ed64b 18290 [BZ #15003]
e83d7298
DM
18291 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
18292 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
18293 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
18294 TCP_FASTOPEN): Define.
18295 (tcp_repair_opt): New structure.
18296 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
18297 enum values.
18298 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
18299 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
18300 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
18301 (tcp_cookie_transactions): New structure.
18302
d5e0b9bd
AB
183032013-01-09 Anton Blanchard <anton@samba.org>
18304
18305 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
18306 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
18307 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
18308 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
18309
0c07e3ea
JM
183102013-01-09 Joseph Myers <joseph@codesourcery.com>
18311
18312 * include/features.h (__USE_ANSI): Remove.
18313
232f7002
RM
183142013-01-09 Roland McGrath <roland@hack.frob.com>
18315
ad98e30c
RM
18316 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
18317
232f7002
RM
18318 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
18319
950c99ca
SP
183202013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
18321
b5792741
SP
18322 * sysdeps/s390/fpu/libm-test-ulps: Update.
18323
47cf2278
SP
18324 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18325
950c99ca
SP
18326 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
18327 (__acr): Likewise.
18328 (__cpy): Likewise.
18329 (norm): Likewise.
18330 (denorm): Likewise.
18331 (__mp_dbl): Likewise.
18332 (__dbl_mp): Likewise.
18333 (add_magnitudes): Likewise.
18334 (sub_magnitudes): Likewise.
18335 (__add): Likewise.
18336 (__sub): Likewise.
18337 (__mul): Likewise.
18338 (__inv): Likewise.
18339 (__dvd): Likewise.
18340 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
18341 (__acr): Likewise.
18342 (__cpy): Likewise.
18343 (norm): Likewise.
18344 (denorm): Likewise.
18345 (__mp_dbl): Likewise.
18346 (__dbl_mp): Likewise.
18347 (add_magnitudes): Likewise.
18348 (sub_magnitudes): Likewise.
18349 (__add): Likewise.
18350 (__sub): Likewise.
18351 (__mul): Likewise.
18352 (__inv): Likewise.
18353 (__dvd): Likewise.
18354 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
18355 (__acr): Likewise.
18356 (__cpy): Likewise.
18357 (norm): Likewise.
18358 (denorm): Likewise.
18359 (__mp_dbl): Likewise.
18360 (__dbl_mp): Likewise.
18361 (add_magnitudes): Likewise.
18362 (sub_magnitudes): Likewise.
18363 (__add): Likewise.
18364 (__sub): Likewise.
18365 (__mul): Likewise.
18366 (__inv): Likewise.
18367 (__dvd): Likewise.
18368
eede9df9
JM
183692013-01-08 Joseph Myers <joseph@codesourcery.com>
18370
18371 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
18372 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
18373 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
18374 2 && __USE_EXTERN_INLINES]: Likewise.
18375
c40ea3d9
AJ
183762013-01-08 Andreas Jaeger <aj@suse.de>
18377
18378 [BZ# 14985]
18379 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
18380 Remove.
18381 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
18382 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
18383
2ccdea26
AB
183842013-01-07 Anton Blanchard <anton@samba.org>
18385
18386 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
18387 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
18388 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
18389 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
18390 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
18391 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
18392 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
18393 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
18394 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
18395 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
18396 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
18397 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
18398 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
18399 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18400 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
18401 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
18402 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
18403 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
18404 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
18405 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
18406 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
18407 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
18408 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
18409 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
18410 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
18411 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
18412 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
18413 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
18414 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
18415 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
18416 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
18417 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18418 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
18419 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
18420 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
18421 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
18422 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
18423 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
18424 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
18425 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
18426 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
18427 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
18428 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
18429
a9708fed
JM
184302013-01-07 Joseph Myers <joseph@codesourcery.com>
18431
375607b9
JM
18432 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
18433 (__MALLOC_PMT): Likewise.
18434 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
18435 [__GNUC__], only on [_LIBC].
18436 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
18437 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
18438 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
18439 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
18440 forward declaration.
18441 (realloc_hook_ini): Likewise.
18442 (memalign_hook_ini): Likewise.
18443 (__libc_memalign): Do not use __MALLOC_PMT in variable
18444 declaration.
18445 (__libc_valloc): Likewise.
18446 (__libc_pvalloc): Likewise.
18447 (__libc_calloc): Likewise.
18448 (__posix_memalign): Likewise.
18449
a9708fed
JM
18450 [BZ #14996]
18451 * math/s_casinh.c: Include <float.h>.
18452 (__casinh): Do not do computation with squaring and square root
18453 for large arguments.
18454 * math/s_casinhf.c: Include <float.h>.
18455 (__casinhf): Do not do computation with squaring and square root
18456 for large arguments.
18457 * math/s_casinhl.c: Include <float.h>.
18458 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
18459 (__casinhl): Do not do computation with squaring and square root
18460 for large arguments.
18461 * math/libm-test.inc (casin_test): Add more tests.
18462 (casinh_test): Likewise.
18463 * sysdeps/i386/fpu/libm-test-ulps: Update.
18464 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18465
afec409a
L
184662013-01-04 H.J. Lu <hongjiu.lu@intel.com>
18467
18468 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
18469 (__x86_64_raw_data_cache_size): Likewise.
18470 (__x86_64_data_cache_size_half): Likewise.
18471 (__x86_64_raw_data_cache_size_half): Likewise.
18472 (__x86_64_shared_cache_size): Likewise.
18473 (__x86_64_raw_shared_cache_size): Likewise.
18474 (__x86_64_shared_cache_size_half): Likewise.
18475 (__x86_64_raw_shared_cache_size_half): Likewise.
18476 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
18477 to ...
18478 (__x86_data_cache_size): This.
18479 (__x86_64_raw_data_cache_size): Renamed to ...
18480 (__x86_raw_data_cache_size): This.
18481 (__x86_64_data_cache_size_half): Renamed to ...
18482 (__x86_data_cache_size_half): This.
18483 (__x86_64_raw_data_cache_size_half): Renamed to ...
18484 (__x86_raw_data_cache_size_half): This.
18485 (__x86_64_shared_cache_size): Renamed to ...
18486 (__x86_shared_cache_size): This.
18487 (__x86_64_raw_shared_cache_size): Renamed to ...
18488 (__x86_raw_shared_cache_size): This.
18489 (__x86_64_shared_cache_size_half): Renamed to ...
18490 (__x86_shared_cache_size_half): This.
18491 (__x86_64_raw_shared_cache_size_half): Renamed to ...
18492 (__x86_raw_shared_cache_size_half): This.
18493 * sysdeps/x86_64/memcpy.S: Updated.
18494 * sysdeps/x86_64/memset.S: Likewise.
18495 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
18496 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
18497 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
18498
0b3986d0
DM
184992013-01-04 David S. Miller <davem@davemloft.net>
18500
18501 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18502
e47686e9
AS
185032013-01-04 Andreas Schwab <schwab@linux-m68k.org>
18504
d643bac1
AS
18505 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
18506 1 to avoid redefinition warning.
18507 (__USE_GNU): Don't define.
18508 (init_signaling_nan): Protoize.
18509
e47686e9
AS
18510 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18511
b18decba
SP
185122013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
18513
fffb407f
SP
18514 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
18515 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
18516 (__cpymn): Likewise.
18517 (norm): Remove commented code.
18518 (denorm): Likewise.
18519 (__mp_dbl): Likewise.
18520 (__inv): Likewise.
18521 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
18522 (__cpymn): Likewise.
18523 (norm): Remove commented code.
18524 (denorm): Likewise.
18525 (__mp_dbl): Likewise.
18526 (__inv): Likewise.
18527
b18decba
SP
18528 * sysdeps/powerpc/powerpc32/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 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
18534 mp_no value for 1.0 and 2.0.
18535 (norm): Use RADIXI instead of radixi.d.
18536 (denorm): Likewise.
18537 (__mul): Use 0.0 instead of zero.d.
18538
cdc1c96f
JM
185392013-01-04 Joseph Myers <joseph@codesourcery.com>
18540
18541 [BZ #14994]
18542 * math/s_casinh.c (__casinh): Reduce finite argument to first
18543 quadrant then set signs of results at the end.
18544 * math/s_casinhf.c (__casinhf): Likewise.
18545 * math/s_casinhl.c (__casinhl): Likewise.
18546 * math/libm-test.inc (casin_test): Add more tests.
18547 (casinh_test): Likewise.
18548 * sysdeps/i386/fpu/libm-test-ulps: Update.
18549 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18550
302913e1
SP
185512013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
18552
6420d207
SP
18553 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
18554
a9e48ab4
SP
18555 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
18556
b7837264
SP
18557 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
18558 declarations.
18559 (denorm): Likewise.
18560 (__mp_dbl): Likewise.
18561 (__inv): Likewise.
18562
f8af25d2
SP
18563 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
18564 and adjust the header comment.
18565
302913e1
SP
18566 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
18567 variable name from declaration.
18568
5d7dd1ca
L
185692013-01-03 H.J. Lu <hongjiu.lu@intel.com>
18570
18571 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18572 Initialize COMMON_CPUID_INDEX_7 element.
18573 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
18574 (CPUID_RTM): Likewise.
18575 (HAS_RTM): Likewise.
18576 (COMMON_CPUID_INDEX_7): New enum.
18577
2f5f40f4
AS
185782013-01-03 Andreas Schwab <schwab@linux-m68k.org>
18579
18580 [BZ #14981]
18581 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
18582 size is zero, record memory as freed.
18583
4056f4a0
AJ
185842013-01-03 Andreas Jaeger <aj@suse.de>
18585
18586 * po/ia.po: Add new Interlingua translation.
18587
ab15736f 185882012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
18589
18590 * locale/programs/localedef.c: Fix description of '--posix' flag.
18591
568035b7
JM
185922013-01-02 Joseph Myers <joseph@codesourcery.com>
18593
e6898b8d
JM
18594 * NEWS: Update dates in second copyright notice.
18595 * README: Update copyright dates in example.
18596 * manual/libc.texinfo: Update copyright dates.
18597 * scripts/test-installation.pl: Update copyright date in --version
18598 output.
18599
0e2f9562
JM
18600 * hurd/ctty-input.c: Fix copyright notice formatting.
18601 * hurd/ctty-output.c: Likewise.
18602 * hurd/dtable.c: Likewise.
18603 * hurd/hurd-raise.c: Likewise.
18604 * hurd/hurdprio.c: Likewise.
18605 * hurd/msgportdemux.c: Likewise.
18606 * misc/sys/file.h: Likewise.
18607 * misc/sys/ioctl.h: Likewise.
18608 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
18609 * sysdeps/mach/hurd/chdir.c: Likewise.
18610 * sysdeps/mach/hurd/fchdir.c: Likewise.
18611 * sysdeps/mach/hurd/rename.c: Likewise.
18612 * sysdeps/mach/hurd/rmdir.c: Likewise.
18613 * sysdeps/mach/hurd/seekdir.c: Likewise.
18614 * sysdeps/mach/hurd/setsid.c: Likewise.
18615 * sysdeps/posix/wait3.c: Likewise.
18616
568035b7
JM
18617 * All files with FSF copyright notices: Update copyright dates
18618 using scripts/update-copyrights.
18619 * intl/plural.c: Regenerated.
18620 * locale/programs/charmap-kw.h: Likewise.
18621 * locale/programs/locfile-kw.h: Likewise.
18622
da08f647
SP
186232013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
18624
0f5477af
SP
18625 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
18626 four values.
18627
44e0d4c2
SP
18628 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
18629 calculation loop and add branch prediction.
18630
4d55b4e5
SP
18631 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
18632 check access beyond bounds of m1np.
18633
da08f647
SP
18634 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
18635 MPTWO.
18636 (__inv): Remove local variable MPTWO to use the global
18637 constant.
18638 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
18639 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
18640 variable MPTWO.
18641 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
18642 MP3HALFS static const.
18643
8e051029
DM
186442013-01-01 David S. Miller <davem@davemloft.net>
18645
18646 * po/ca.po: Update from translation team.
18647
f4cf5f2d
JM
186482013-01-01 Joseph Myers <joseph@codesourcery.com>
18649
18650 * scripts/update-copyrights: New file.
18651 * Makeconfig: Reformat copyright notice.
18652 * ctype/ctype.h: Likewise.
18653 * debug/swprintf_chk.c: Likewise.
18654 * elf/dl-cache.c: Likewise.
18655 * elf/dl-debug.c: Likewise.
18656 * elf/dl-object.c: Likewise.
18657 * grp/initgroups.c: Likewise.
18658 * hurd/Makefile: Likewise.
18659 * hurd/hurd/signal.h: Likewise.
18660 * hurd/hurdfault.c: Likewise.
18661 * hurd/hurdioctl.c: Likewise.
18662 * hurd/hurdlookup.c: Likewise.
18663 * hurd/intr-msg.c: Likewise.
18664 * iconv/gconv_open.c: Likewise.
18665 * libio/swprintf.c: Likewise.
18666 * locale/lc-ctype.c: Likewise.
18667 * locale/nl_langinfo.c: Likewise.
18668 * mach/Machrules: Likewise.
18669 * mach/Makefile: Likewise.
18670 * malloc/obstack.h: Likewise.
18671 * manual/Makefile: Likewise.
18672 * manual/tsort.awk: Likewise.
18673 * misc/bits/stab.def: Likewise.
18674 * nis/nis_print_group_entry.c: Likewise.
18675 * nis/nis_table.c: Likewise.
18676 * nis/nss_compat/compat-pwd.c: Likewise.
18677 * nis/nss_compat/compat-spwd.c: Likewise.
18678 * po/Makefile: Likewise.
18679 * posix/fnmatch.c: Likewise.
18680 * posix/regex.h: Likewise.
18681 * resolv/Makefile: Likewise.
18682 * resolv/nss_dns/dns-network.c: Likewise.
18683 * resolv/res_hconf.c: Likewise.
18684 * scripts/gen-sorted.awk: Likewise.
18685 * soft-fp/soft-fp.h: Likewise.
18686 * stdio-common/printf.h: Likewise.
18687 * stdlib/monetary.h: Likewise.
18688 * stdlib/random.c: Likewise.
18689 * stdlib/random_r.c: Likewise.
18690 * sysdeps/generic/Makefile: Likewise.
18691 * sysdeps/gnu/Makefile: Likewise.
18692 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
18693 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18694 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
18695 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18696 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18697 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18698 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18699 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
18700 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18701 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18702 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
18703 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
18704 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
18705 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
18706 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
18707 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
18708 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
18709 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18710 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18711 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18712 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
18713 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
18714 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
18715 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
18716 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
18717 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
18718 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
18719 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
18720 * sysdeps/mach/hurd/errnos.awk: Likewise.
18721 * sysdeps/mach/hurd/fork.c: Likewise.
18722 * sysdeps/mach/hurd/getcwd.c: Likewise.
18723 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
18724 * sysdeps/mach/hurd/mmap.c: Likewise.
18725 * sysdeps/mach/hurd/utimes.c: Likewise.
18726 * sysdeps/mach/hurd/xmknod.c: Likewise.
18727 * sysdeps/posix/profil.c: Likewise.
18728 * sysdeps/posix/readdir_r.c: Likewise.
18729 * sysdeps/powerpc/bits/mathdef.h: Likewise.
18730 * sysdeps/powerpc/bits/setjmp.h: Likewise.
18731 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
18732 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
18733 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
18734 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
18735 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
18736 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
18737 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18738 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
18739 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
18740 * sysdeps/pthread/lio_listio.c: Likewise.
18741 * sysdeps/sparc/dl-procinfo.h: Likewise.
18742 * sysdeps/unix/i386/sysdep.S: Likewise.
18743 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
18744 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
18745 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
18746 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
18747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
18748 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
18749 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
18750 * sysdeps/unix/sysv/linux/speed.c: Likewise.
18751 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
18752 * sysdeps/wordsize-32/divdi3.c: Likewise.
18753 * time/sys/time.h: Likewise.
18754 * wcsmbs/Makefile: Likewise.
18755
0549fbba
DM
187562013-01-01 David S. Miller <davem@davemloft.net>
18757
a141f1a7
DM
18758 * po/fr.po: Update from translation team.
18759
0549fbba
DM
18760 * catgets/gencat.c: Update copyright year.
18761 * csu/version.c: Likewise.
18762 * debug/catchsegv.sh: Likewise.
18763 * debug/pcprofiledump.c: Likewise.
18764 * debug/xtrace.sh: Likewise.
18765 * elf/ldconfig.c: Likewise.
18766 * elf/ldd.bash.in: Likewise.
18767 * elf/pldd.c: Likewise.
18768 * elf/sotruss.ksh: Likewise.
18769 * elf/sprof.c: Likewise.
18770 * iconv/iconv_prog.c: Likewise.
18771 * iconv/iconvconfig.c: Likewise.
18772 * locale/programs/locale.c: Likewise.
18773 * locale/programs/localedef.c: Likewise.
18774 * login/programs/pt_chown.c: Likewise.
18775 * malloc/memusage.sh: Likewise.
18776 * malloc/memusagestat.c: Likewise.
18777 * malloc/mtrace.pl: Likewise.
18778 * nscd/nscd.c: Likewise.
18779 * nss/getent.c: Likewise.
18780 * nss/makedb.c: Likewise.
18781 * posix/getconf.c: Likewise.
18782
18ea052c
SP
187832012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
18784
18785 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
18786 numbers.
18787
9c89fca6
MF
187882012-12-30 Mike Frysinger <vapier@gentoo.org>
18789
18790 * math/bits/mathcalls.h (modf): Use __nonnull.
18791
085ec079
SP
187922012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
18793
18794 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
18795 (split): Use macro CN instead of the bare value.
18796 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
18797 could be used.
18798 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
18799 instead of the bare value.
18800 (power1): Likewise.
18801
6d9f97e1
SP
188022012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18803
d63f73be
SP
18804 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
18805 __ATAN_TWOM.
18806 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
18807
6d9f97e1
SP
18808 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
18809 their values.
18810 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
18811 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
18812 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
18813 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
18814
4c4febf5
AJ
188152012-12-28 Andreas Jaeger <aj@suse.de>
18816
af5843ef
AJ
18817 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
18818 values are from Linux 3.7.
18819
4c4febf5
AJ
18820 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
18821 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
18822
99136f82
SP
188232012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18824
2f216c3c 18825 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
18826 TRUE case.
18827
99136f82
SP
18828 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
18829 (norm): Likewise.
18830 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
18831 variables with preprocessor constants.
18832 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
18833 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
18834 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
18835
7fffbdff
BH
188362012-12-27 Bruno Haible <bruno@clisp.org>
18837
18838 [BZ #14317]
18839 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
18840 only if needed.
18841
b76eb5f0
SP
188422012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
18843
31a7fe5c
SP
18844 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
18845 and use variable directly.
18846 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
18847
b76eb5f0
SP
18848 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
18849 MPONE.
18850 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
18851 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
18852 variable MPONE.
18853 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
18854 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
18855 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
18856 include directive. Remove local variable MPONE.
18857 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
18858 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
18859 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
18860
2c8bfe7d
DM
188612012-12-25 David S. Miller <davem@davemloft.net>
18862
18863 * version.h (RELEASE): Set to "development".
18864 (VERSION): Set to "2.17.90".
18865 * NEWS: Add 2.18 section.
18866
147d03b0
DM
188672012-12-21 David S. Miller <davem@davemloft.net>
18868
18869 * po/hr.po: Update from translation team.
18870
a8ebb2b9
AK
188712012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18872
18873 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
18874
95b4f1b6
SE
188752012-12-19 Steve Ellcey <sellcey@mips.com>
18876
b2d94007 18877 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 18878
cedb2a90
MS
188792012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
18880
18881 * manual/contrib.texi (Contributors): Spelling correction.
18882
bbf527d6
DM
188832012-12-15 David S. Miller <davem@davemloft.net>
18884
18885 * po/ru.po: Update from translation team.
18886
bc38c906
DM
188872012-12-13 David S. Miller <davem@davemloft.net>
18888
85429b1a
DM
18889 * NEWS: Mention IFUNC testsuite enhancements.
18890
d283e353
DM
18891 * po/pl.po: Update from translation team.
18892 * po/bg.po: Likewise.
18893
bc38c906
DM
18894 * manual/contrib.texi (Contributors): Update entries for Hongjiu
18895 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
18896
a181b0d7
DM
188972012-12-11 David S. Miller <davem@davemloft.net>
18898
4641d57e
DM
18899 * po/sv.po: Update from translation team.
18900
f7bc6495
DM
18901 * po/vi.po: Update from translation team.
18902
6fc9048f
DM
18903 * po/cs.po: Update from translation team.
18904
a181b0d7
DM
18905 * po/de.po: Update from translation team.
18906 * po/eo.po: Likewise.
18907 * po/nl.po: Likewise.
18908
f70bfe80
SP
189092012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18910
3c8b4190
SP
18911 [BZ #14246]
18912 * manual/argp.texi (Argp Helper Functions): Move node to follow
18913 Argp Parsing State.
18914
f70bfe80
SP
18915 [BZ #14872]
18916 * manual/conf.texi (Limits on File System Capacity): Mention if
18917 terminating null is included in the max size.
18918
188f0adf
AJ
189192012-12-10 Andreas Jaeger <aj@suse.de>
18920
18921 * po/cs.po: Update from translation team.
18922
56e7d3ad
SP
189232012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
18924
18925 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
18926 void pointer and cast to uintptr_t.
18927 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
18928 path.
18929 * sysdeps/s390/s390-64/memcpy.S: Likewise.
18930 * sysdeps/s390/s390-64/memset.S: Likewise.
18931
76f2d2ea 189322012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
18933
18934 [BZ #14833]
18935 * menual/message.texi (Message Translation): Fix typos.
18936 (Helper programs for gettext): Likewise.
18937
67cbf9a2
AS
189382012-12-07 Andreas Schwab <schwab@linux-m68k.org>
18939
18940 [BZ #14898]
18941 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
18942 Change to -1.
18943
682d0e9a
DM
189442012-12-07 David S. Miller <davem@davemloft.net>
18945
18946 * po/libc.pot: Update.
18947
573cd484
RH
189482012-12-07 Richard Henderson <rth@redhat.com>
18949
7e9da188 18950 [BZ #10114]
573cd484
RH
18951 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
18952 normal/normal case to before the switch.
18953 (_FP_DIV): Likewise.
18954
e933a943
MF
189552012-12-06 Carlos O'Donell <carlos@systemhalted.org>
18956 Mike Frysinger <vapier@gentoo.org>
18957
18958 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
18959 check for __NR_fadvise64_64.
18960
82123268
CM
189612012-12-06 Chris Metcalf <cmetcalf@tilera.com>
18962
18963 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
18964 0, not just to plain "0" as a statement.
18965 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
18966 with cw.
18967
d9814526
JM
189682012-12-06 Joseph Myers <joseph@codesourcery.com>
18969
18970 * NEWS: Use sourceware.org in Bugzilla URL.
18971
7728c574
SP
189722012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
18973
f16946dd
SP
18974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
18975 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
18976
5704bbcb
SP
18977 * stdio-common/tst-put-error.c (do_test): Add newline to the
18978 padded test to ensure flush.
18979
17aa0516
JL
189802012-12-05 Jeff Law <law@redhat.com>
18981
18982 * sunrpc/etc.rpc (fedfs_admin): Add entry.
18983
363313b5
JM
189842012-12-05 Joseph Myers <joseph@codesourcery.com>
18985
effbd42a
JM
18986 * README: Don't refer to ports add-on as distributed separately.
18987 Mention AArch64 in list of systems supported in the ports add-on.
18988
87600365
JM
18989 * LICENSES: Add more non-FSF copyright and license notices.
18990
a0d7066a
JM
18991 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
18992 ((unused)).
18993
66ca5a5b
JM
18994 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
18995
363313b5
JM
18996 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
18997 10000 as width of padded output.
18998
b37984ad
JM
189992012-12-04 Joseph Myers <joseph@codesourcery.com>
19000
9003570a
JM
19001 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
19002
b37984ad
JM
19003 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
19004 variable LX with __attribute__ ((unused)).
19005 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
19006 Likewise.
19007 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
19008 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19009 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
19010 with __attribute__ ((unused)).
19011
c8df52ec
DM
190122012-12-04 David S. Miller <davem@abraco.davemloft.net>
19013
19014 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
19015
b3b099af
JM
190162012-12-04 Joseph Myers <joseph@codesourcery.com>
19017
c33aa6e3
JM
19018 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
19019 (CFLAGS-nldbl-acos.c): New variable.
19020 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
19021 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
19022 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
19023 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
19024 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
19025 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
19026 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
19027 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
19028 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
19029 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
19030 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
19031 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
19032 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
19033 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
19034 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
19035 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
19036 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
19037 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
19038 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
19039 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
19040 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
19041 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
19042 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
19043 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
19044 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
19045 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
19046 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
19047 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
19048 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
19049 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
19050 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
19051 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
19052 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
19053 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
19054 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
19055 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
19056 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
19057 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
19058 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
19059 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
19060 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
19061 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
19062 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
19063 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
19064 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
19065 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
19066 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
19067 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
19068 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
19069 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
19070 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
19071 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
19072 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
19073 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
19074 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
19075 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
19076 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
19077 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
19078 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
19079 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
19080 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
19081 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
19082 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
19083 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
19084 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
19085 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
19086 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
19087 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
19088 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
19089 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
19090 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
19091 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
19092 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
19093 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
19094 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
19095 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
19096 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
19097 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
19098 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
19099 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
19100 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
19101 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
19102 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
19103 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
19104 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
19105 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
19106 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
19107 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
19108 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
19109 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
19110 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
19111 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
19112 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
19113 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
19114 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
19115 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
19116 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
19117
20f0018d
JM
19118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
19119 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
19120
b3b099af
JM
19121 [BZ #14914]
19122 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
19123 whole low double instead of just low 47 bits when splitting values
19124 into two parts.
19125
029264d1
AM
191262012-12-03 Allan McRae <allan@archlinux.org>
19127
19128 * manual/stdio.texi (Predefined Printf Handlers): Remove
19129 @hsep and @vsep usage.
19130
c9d6789e
MF
191312012-12-03 Mike Frysinger <vapier@gentoo.org>
19132
19133 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
19134 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
19135
4b7634a5
JL
191362012-12-03 Jeff Law <law@redhat.com>
19137
19138 * time/sys/time.h (settimeofday): Do not mark TV argument
19139 as __nonnull.
19140
eb6cbd24
MF
191412012-12-01 Mike Frysinger <vapier@gentoo.org>
19142
19143 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
19144 when currently writing and seek to current position when not.
19145 * libio/Makefile (tests): Remove bug-fclose1.
19146 * libio/bug-fclose1.c: Delete.
19147
f638872a
JM
191482012-12-01 Joseph Myers <joseph@codesourcery.com>
19149
19150 * manual/arith.texi (feenableexcept): Fix typo.
19151 (fedisableexcept): Likewise.
19152
48085d14
RM
191532012-11-30 Roland McGrath <roland@hack.frob.com>
19154
19155 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
19156 second, differently-typed declaration, rather than a cast.
19157
1a538b9f
SP
191582012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
19159
19160 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
19161 * include/rpc/svc.h: ... here.
19162
d07f2ff1 191632012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
19164
19165 [BZ #13013]
19166 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
19167 depending n and resplen2 to catch cases where answer
19168 equals answerp2.
19169
c93ec1f0
CD
191702012-11-29 Carlos O'Donell <carlos@systemhalted.org>
19171
19172 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
19173 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
19174
37db69de
MF
191752012-11-29 Mike Frysinger <vapier@gentoo.org>
19176
19177 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
19178
e10c4e4f
RM
191792012-11-29 Roland McGrath <roland@hack.frob.com>
19180
19181 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
19182
2af1b328
JL
191832012-11-28 Jeff Law <law@redhat.com>
19184
19185 [BZ #13761]
19186 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
19187 dataset_temporary. Track alloca usage into alloca_used.
19188 If dataset is large allocate and release it via malloc/free.
19189
111db5b1
FW
191902012-06-04 Florian Weimer <fweimer@redhat.com>
19191
f06cc227 19192 [BZ #14197]
111db5b1
FW
19193 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
19194
dd694abd
DM
191952012-11-28 David S. Miller <davem@davemloft.net>
19196
19197 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19198
9984dd01
JM
191992012-11-28 Joseph Myers <joseph@codesourcery.com>
19200
19201 [BZ #14803]
19202 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
19203 of pi/2 rounded to nearest to 64 bits.
19204 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
19205 nearest to 64 bits.
19206 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
19207 bits.
19208
14bc93a9
JL
192092012-11-28 Jeff Law <law@redhat.com>
19210 Martin Osvald <mosvald@redhat.com>
19211
19212 [BZ #14889]
19213 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
19214 * sunrpc/svc.c: Include time.h.
19215 (__svc_accept_failed): New function.
19216 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
19217 any reason other than EINTR, call __svc_accept_failed.
19218 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
19219 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
19220
e3c6aa3a
AS
192212012-11-28 Andreas Schwab <schwab@suse.de>
19222
19223 * scripts/abilist.awk: Also handle indirect functions in .opd
19224 section.
19225
1bead169
JM
192262012-11-28 Joseph Myers <joseph@codesourcery.com>
19227
19228 [BZ #13881]
19229 * sysdeps/x86/fpu/powl_helper.c: New file.
19230 * sysdeps/x86/fpu/Makefile: Likewise.
19231 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
19232 (p3): New object.
19233 (__ieee754_powl): Use __powl_helper for finite arguments except
19234 integer exponents below 8.
19235 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
19236 (p3): New object.
19237 (__ieee754_powl): Use __powl_helper for finite arguments except
19238 integer exponents below 8.
19239 * math/libm-test.inc (pow_test): Add more tests and enable some
19240 previously disabled tests.
19241 * sysdeps/i386/fpu/libm-test-ulps: Update.
19242 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19243
0817d63d
SP
192442012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19245 Carlos O'Donell <carlos_odonell@mentor.com>
19246
19247 * nss/makedb.c (is_prime): Assert that input is odd and greater
19248 than 4. Note that fact in a comment too.
19249 (next_prime): Add 4 to input.
19250
de2fd463
SP
192512012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
19252
19253 [BZ #11741]
19254 * libio/Makefile (tests): Add test case tst-fwrite-error.
19255 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
19256 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
19257 * libio/tst-fwrite-error.c: New test case.
19258
c515fb51
L
192592012-11-26 H.J. Lu <hongjiu.lu@intel.com>
19260
19261 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
19262 before casting to void *.
19263 * include/libc-internal.h (__pointer_type): New macro.
19264 (__integer_if_pointer_type_sub): Likewise.
19265 (__integer_if_pointer_type): Likewise.
19266 (cast_to_integer): Likewise.
19267 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
19268 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
19269 before casting to atomic64_t.
19270 (atomic_exchange_acq): Likewise.
19271 (__arch_exchange_and_add_body): Likewise.
19272 (__arch_add_body): Likewise.
19273 (atomic_add_negative): Likewise.
19274 (atomic_add_zero): Likewise.
19275
4cf77aa9
JM
192762012-11-26 Joseph Myers <joseph@codesourcery.com>
19277
19278 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
19279 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
19280 (add_fdes): Likewise.
19281 (linear_search_fdes): Likewise.
19282 (binary_search_unencoded_fdes): Likewise.
19283
d260b3b4
AS
192842012-11-26 Andreas Schwab <schwab@linux-m68k.org>
19285
19286 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
19287
67060746
AC
192882012-11-24 Adam Conrad <adconrad@0c3.net>
19289
19290 * configure.in: Autodetect C++ header directories.
19291 * configure: Regenerated.
19292
800938a1
MF
192932012-11-23 Mike Frysinger <vapier@gentoo.org>
19294
19295 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
19296
4e6e34e6
AS
192972012-11-23 Andreas Schwab <schwab@linux-m68k.org>
19298
19299 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19300
7c7feb47
JM
193012012-11-22 Joseph Myers <joseph@codesourcery.com>
19302
7184dcdf
JM
19303 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
19304 LDBL_MANT_DIG == 106]: Disable some tests.
19305 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
19306 Likewise.
19307 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
19308 Likewise.
19309
0a42601f
JM
19310 [BZ #14871]
19311 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
19312 input for small inputs. Return +/- pi/2 for large inputs.
19313 * math/libm-test.inc (atan_test): Add more tests.
19314
79c9b9fe
JM
19315 * sysdeps/generic/unwind-dw2-fde-glibc.c
19316 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
19317 __attribute__ ((unused)).
19318
c60d3bf2
JM
19319 [BZ #14645]
19320 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
19321 x * y if x and y are nonzero and z is zero.
19322
ef1e0867
JM
19323 [BZ #14811]
19324 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
19325 nonzero exponents with absolute value below 0x1p-117 to +/-
19326 0x1p-117.
19327
1468ded3
JM
19328 [BZ #14869]
19329 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
19330 up arguments below 2**-450, not just those below 2**-500.
19331 * math/libm-test.inc (hypot_test): Add another test.
19332
8e27e3cc
JM
19333 [BZ #14868]
19334 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
19335 Return a+b for ratio over 2**120, not 2**60.
19336 * math/libm-test.inc (hypot_test): Add another test.
19337
c9c0279b
JM
19338 * math/libm-test.inc (clog_test): Use
19339 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
19340 (clog10_test): Likewise.
19341
7c7feb47
JM
19342 [BZ #6778]
19343 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
19344
fff1530e
AS
193452012-11-22 Andreas Schwab <schwab@suse.de>
19346
19347 * sysdeps/i386/fpu/libm-test-ulps: Update.
19348
94558d30
PT
193492012-11-22 Pino Toscano <toscano.pino@tiscali.it>
19350
19351 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
19352 printf output with newline.
19353
7e1be741
L
193542012-11-21 H.J. Lu <hongjiu.lu@intel.com>
19355
6bfea974
L
19356 [BZ #14865]
19357 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
19358 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
19359 -z nodlopen, -z initfirst and -z execstack support.
19360 * configure: Regenerated.
19361
7e1be741
L
19362 * elf/elf.h (DF_1_NODIRECT): New macro.
19363 (DF_1_IGNMULDEF): Likewise.
19364 (DF_1_NOKSYMS): Likewise.
19365 (DF_1_NOHDR): Likewise.
19366 (DF_1_EDITED): Likewise.
19367 (DF_1_NORELOC): Likewise.
19368 (DF_1_SYMINTPOSE): Likewise.
19369 (DF_1_GLOBAUDIT): Likewise.
19370 (DF_1_SINGLETON): Likewise.
19371 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
19372 DT_1_SUPPORTED_MASK bits.
19373 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
19374
105ce2ce
CD
193752012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
19376
19377 * sysdeps/unix/make-syscalls.sh: Document prefixes.
19378
123be9de
TS
193792012-11-20 Thomas Schwinge <thomas@codesourcery.com>
19380
d072f3f7
TS
19381 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
19382 macro.
19383
123be9de
TS
19384 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
19385 (sendmmsg): Move declarations...
19386 * socket/sys/socket.h: ... here.
19387 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
19388 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
19389 include it from...
19390 * socket/recvmmsg.c: ... this new file.
19391 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
19392 (sendmmsg): Rename to __sendmmsg, create weak alias and make
19393 definition of __sendmmsg hidden.
19394 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
19395 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
19396 Move ENOSYS stub into and include it from...
19397 * socket/sendmmsg.c: ... this new file.
19398 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
19399 (sysdep_routines): Move recvmmsg and sendmmsg...
19400 * socket/Makefile (routines): ... here.
19401 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
19402 (GLIBC_PRIVATE): Add __sendmmsg.
19403 * include/sys/socket.h (__sendmmsg): Add declarations.
19404 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
19405 sendmmsg.
19406
cf9a5d18
JM
194072012-11-20 Joseph Myers <joseph@codesourcery.com>
19408
19409 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
19410 variable I1 with __attribute__ ((unused)).
19411 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
19412
ecd4caf9
JM
194132012-11-19 Joseph Myers <joseph@codesourcery.com>
19414
be14d48f
JM
19415 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
19416 DUMMY variables with __attribute__ ((unused)).
19417
ecd4caf9
JM
19418 * bits/byteswap.h: Include <bits/types.h>.
19419 (__bswap_64): Use __uint64_t instead of unsigned long long int.
19420
986cab95
PT
194212012-11-19 Pino Toscano <toscano.pino@tiscali.it>
19422
19423 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
19424 string_t. Do not manually set errno.
19425 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
19426 length with __strnlen. Make sure to both set errno and return it on
19427 failure.
19428
6d33cc9d
DM
194292012-11-19 David S. Miller <davem@davemloft.net>
19430
19431 With help from Joseph Myers.
19432 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
19433 very large arguments properly.
19434 * math/libm-test.inc (atan_test): New tests.
19435 (atan2_test): New tests.
19436 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19437 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19438
ee663277
JM
194392012-11-19 Joseph Myers <joseph@codesourcery.com>
19440
877f2d8e
JM
19441 [BZ #14856]
19442 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
19443 Define to 3.
19444
116fc08a
JM
19445 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
19446 [POSIX] (EADDRNOTAVAIL): Likewise.
19447 [POSIX] (EAFNOSUPPORT): Likewise.
19448 [POSIX] (EALREADY): Likewise.
19449 [POSIX] (ECONNABORTED): Likewise.
19450 [POSIX] (ECONNREFUSED): Likewise.
19451 [POSIX] (ECONNRESET): Likewise.
19452 [POSIX] (EDESTADDRREQ): Likewise.
19453 [POSIX] (EDQUOT): Likewise.
19454 [POSIX] (EHOSTUNREACH): Likewise.
19455 [POSIX] (EIDRM): Likewise.
19456 [POSIX] (EISCONN): Likewise.
19457 [POSIX] (ELOOP): Likewise.
19458 [POSIX] (EMULTIHOP): Likewise.
19459 [POSIX] (ENETDOWN): Likewise.
19460 [POSIX] (ENETUNREACH): Likewise.
19461 [POSIX] (ENOBUFS): Likewise.
19462 [POSIX] (ENODATA): Likewise.
19463 [POSIX] (ENOLINK): Likewise.
19464 [POSIX] (ENOMSG): Likewise.
19465 [POSIX] (ENOPROTOOPT): Likewise.
19466 [POSIX] (ENOSR): Likewise.
19467 [POSIX] (ENOSTR): Likewise.
19468 [POSIX] (ENOTCONN): Likewise.
19469 [POSIX] (ENOTSOCK): Likewise.
19470 [POSIX] (EOPNOTSUPP): Likewise.
19471 [POSIX] (EOVERFLOW): Likewise.
19472 [POSIX] (EPROTO): Likewise.
19473 [POSIX] (EPROTONOSUPPORT): Likewise.
19474 [POSIX] (EPROTOTYPE): Likewise.
19475 [POSIX] (ESTALE): Likewise.
19476 [POSIX] (ETIME): Likewise.
19477 [POSIX] (ETXTBSY): Likewise.
19478 [POSIX] (EWOULDBLOCK): Likewise.
19479 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
19480 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
19481 [POSIX] (SEEK_CUR): Likewise.
19482 [POSIX] (SEEK_END): Likewise.
19483 [POSIX || UNIX98] (mode_t): Do not require.
19484 [POSIX] (off_t): Likewise.
19485 [POSIX] (pid_t): Likewise.
19486 [POSIX] (sys/stat.h): Do not allow header.
19487 [POSIX] (unistd.h): Likewise.
19488 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
19489 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
19490 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
19491 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
19492 require.
19493 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
19494 sigevent): Specify elements.
19495 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
19496 entry.
19497 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
19498 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
19499
a483863f
JM
19500 * conform/data/cpio.h-data [POSIX]: Disable whole file.
19501 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
19502 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
19503 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
19504 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
19505 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
19506 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
19507 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
19508 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
19509 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
19510 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
19511 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
19512 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
19513 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
19514 Likewise.
19515 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
19516 Likewise.
19517 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
19518 Likewise.
19519 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
19520 Likewise.
19521 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
19522 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
19523 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
19524 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
19525 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
19526 Specify lower bound on value.
19527 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
19528 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
19529 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
19530 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
19531 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
19532 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
19533 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
19534 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
19535 value.
19536 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
19537 as optional.
19538 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
19539 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
19540 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
19541 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
19542 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
19543 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
19544 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
19545 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
19546 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
19547 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
19548 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
19549 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
19550 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
19551 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
19552 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
19553 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
19554 entry.
19555 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
19556 optional.
19557 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
19558 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
19559 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
19560 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
19561 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
19562 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
19563 Likewise.
19564 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
19565 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
19566 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
19567 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
19568 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
19569 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
19570 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
19571 as optional.
19572 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
19573 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
19574 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
19575 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
19576 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
19577 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
19578 specify as optional.
19579 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
19580 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
19581 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
19582 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
19583 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
19584 [XPG3] (NL_LANGMAX): Likewise.
19585 [POSIX || XPG3] (NL_MSGMAX): Likewise.
19586 [POSIX || XPG3] (NL_NMAX): Likewise.
19587 [POSIX || XPG3] (NL_SETMAX): Likewise.
19588 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
19589 [XPG3] (NZERO): Likewise.
19590 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
19591 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
19592 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
19593 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
19594 (REG_ERANGE): Expect.
19595 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
19596 optional-constant.
19597 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
19598 Use (void) in prototype.
19599 [POSIX] (*_t): Allow.
19600 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
19601 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
19602 (WRDE_BADVAL): Expect.
19603
5ba924e3
JM
19604 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
19605 expect.
19606 [XPG3 || XPG4] (O_RSYNC): Likewise.
19607 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
19608 Likewise.
19609 [XPG3 || XPG4] (pthread_sigmask): Likewise.
19610 [XPG3 || XPG4] (sigqueue): Likewise.
19611 [XPG3 || XPG4] (sigtimedwait): Likewise.
19612 [XPG3 || XPG4] (sigwaitinfo): Likewise.
19613 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
19614 [XPG3 || XPG4] (vsnprintf): Likewise.
19615 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
19616 Likewise.
19617 [XPG3 || XPG4] (blksize_t): Likewise.
19618 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
19619 Likewise.
19620 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
19621 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
19622 [XPG3 || XPG4] (struct itimerspec): Likewise.
19623 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
19624 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
19625 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
19626 [XPG3 || XPG4] (clockid_t): Likewise.
19627 [XPG3 || XPG4] (timer_t): Likewise.
19628 [XPG3 || XPG4] (clock_getres): Likewise.
19629 [XPG3 || XPG4] (clock_gettime): Likewise.
19630 [XPG3 || XPG4] (clock_settime): Likewise.
19631 [XPG3 || XPG4] (nanosleep): Likewise.
19632 [XPG3 || XPG4] (timer_create): Likewise.
19633 [XPG3 || XPG4] (timer_delete): Likewise.
19634 [XPG3 || XPG4] (timer_gettime): Likewise.
19635 [XPG3 || XPG4] (timer_getoverrun): Likewise.
19636 [XPG3 || XPG4] (timer_settime): Likewise.
19637 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
19638 [XPG3 || XPG4] (getlogin_r): Likewise.
19639 [XPG3 || XPG4] (pread): Likewise.
19640 [XPG3 || XPG4] (pthread_atfork): Likewise.
19641 [XPG3 || XPG4] (pwrite): Likewise.
19642
ee663277
JM
19643 [BZ #14835]
19644 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
19645 <bits/siginfo.h>.
19646
942caa16
PT
196472012-11-19 Pino Toscano <toscano.pino@tiscali.it>
19648
e19af380
PT
19649 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
19650 finalizing MALLSTREAM.
19651
942caa16
PT
19652 * sysdeps/mach/hurd/syncfs.c: New file.
19653
cfde9b46
SP
196542012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
19655
19656 [BZ #14719]
19657 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
19658 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
19659 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
19660 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
19661 (_nss_dns_gethostbyname4_r): Likewise.
19662 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
19663 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
19664
f6da27e5
PH
196652012-11-19 Peng Haitao <penght@cn.fujitsu.com>
19666
19667 [BZ #13763]
19668 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
19669
6665d4a2
SM
196702012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
19671
1f51ee92
SM
19672 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
19673 * elf/cache.c (print_entry): Print ",AArch64" for
19674 FLAG_AARCH64_LIB64
19675
6665d4a2
SM
19676 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
19677 * elf/cache.c (print_entry): Print ",hard-float" for
19678 FLAG_ARM_LIBHF.
19679
05b227bd
DM
196802012-11-18 David S. Miller <davem@davemloft.net>
19681
19682 With help from Joseph Myers.
19683 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
19684 cutoff to 2**-13.
19685 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
19686 cutoff to 2**-25.
19687 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
19688 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
19689 small.
19690 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
19691 * math/libm-test.inc (y0_test): New tests.
19692 (y1_test): New tests.
19693 * sysdeps/i386/fpu/libm-test-ulps: Update.
19694 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19695 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19696
786b0b67
AS
196972012-11-18 Andreas Schwab <schwab@linux-m68k.org>
19698
19699 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
19700 64-bit targets.
19701 * configure: Regenerated.
19702
8e18b86d
DM
197032012-11-17 David S. Miller <davem@davemloft.net>
19704
19705 [BZ #14811]
19706 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
19707 nonzero exponents with absolute value below 0x1p-128 to +/-
19708 0x1p-128.
19709
531f1ae0
JM
197102012-11-17 Joseph Myers <joseph@codesourcery.com>
19711
12df29e2
JM
19712 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
19713
150dc1a0
JM
19714 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
19715
531f1ae0
JM
19716 * posix/getconf-speclist.c: New file.
19717 * posix/posix-envs.def: Likewise.
19718 * posix/confstr.c (START_ENV_GROUP): New macro.
19719 (END_ENV_GROUP): Likewise.
19720 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
19721 (KNOWN_PRESENT_ENV_STRING): Likewise.
19722 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
19723 (UNKNOWN_ENVIRONMENT): Likewise.
19724 (confstr): Include posix-envs.def instead of handling
19725 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
19726 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
19727 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
19728 (END_ENV_GROUP): Likewise.
19729 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
19730 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
19731 (UNKNOWN_ENVIRONMENT): Likewise.
19732 (__sysconf): Include posix-envs.def instead of handling associated
19733 cases directly here.
19734 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
19735 preprocessing getconf-speclist.c rather than running getconf or
19736 generating empty file.
19737
a93f9cbc
PT
197382012-11-16 Pino Toscano <toscano.pino@tiscali.it>
19739
19740 * scripts/check-local-headers.sh: Ignore 'mach' headers.
19741
d64d9f87
AL
197422012-11-16 Andrej Lajovic <natrij@gmail.com>
19743
19744 [BZ #14672]
19745 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
19746
447885eb
DM
197472012-11-16 David S. Miller <davem@davemloft.net>
19748
19749 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
19750 smaller than LDBL_EPSILON/2.0L, just return xm1.
19751
bcbf9830
L
197522012-11-16 H.J. Lu <hongjiu.lu@intel.com>
19753
19754 * elf/tst-array1.c (init): Set constructor priority to 1000.
19755 (fini): Set destructor priority to 1000.
19756 * elf/tst-array2dep.c: Likewise.
19757
2b766585
SP
197582012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
19759
19760 [BZ #11741]
19761 * libio/fileops.c (_IO_new_file_write): Correctly return error.
19762 (_IO_new_file_xsputn): Also return EOF if none of the input
19763 data was written when overflow failed.
19764 * libio/iopadn.c (_IO_padn): Likewise.
19765 * libio/iowpadn.c (_IO_wpadn): Likewise.
19766 * stdio-common/tst-put-error.c: Add copyright notice.
19767 (do_test): Add case for printing padded string.
19768 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
19769 _IO_padn returned error.
19770 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
19771 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
19772 return EOF.
19773
b1848fde
SP
197742012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
19775
19776 * libio/libioP.h: Add comment note that the references to C++
19777 bits are now obsolete.
19778
2fd89785
MS
197792012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19780
19781 * math/libm-test.inc (check_complex): Use asprintf.
19782
e3ea5409
JM
197832012-11-14 Joseph Myers <joseph@codesourcery.com>
19784
19785 * debug/pcprofiledump.c (print_version): Update copyright year.
19786 * malloc/memusagestat.c (print_version): Likewise.
19787
2e64d265
L
197882012-11-14 H.J. Lu <hongjiu.lu@intel.com>
19789
19790 [BZ #14831]
19791 * elf/Makefile (tests): Add tst-audit8.
19792 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
19793 ($(objpfx)tst-audit8.out): New target.
19794 (tst-audit8-ENV): New variable.
19795 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
19796 audit if l_reloc_result is NULL.
19797 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
19798 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
19799 * elf/tst-audit8.c: New file.
19800
c485e4d2
MS
198012012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19802
19803 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
19804 * misc/Makefile (CFLAGS-select.c): Define.
19805 * posix/Makefile (CFLAGS-pause.c): Define.
19806
3a0d900a
DM
198072012-11-13 David S. Miller <davem@davemloft.net>
19808
19809 * crypt/Makefile: Move test targets after toplevel Rules
19810 inclusion. Grab any necessary sysdep routines when linking.
19811 * crypt/md5.c (md5_process_block): Remove define, we will always
19812 name it __md5_process_block.
19813 (md5_finish_ctx): Update md5_process_block call.
19814 (md5_stream): Likewise.
19815 (md5_process_bytes): Likewise.
19816 (md5_process_block): Rename to __md5_process_block and move to ...
19817 * crypt/md5-block.c: ... here.
19818 * crypt/sha256.c (sha256_process_block): Move to ...
19819 * crypt/sha256-block.c: ... here.
19820 * crypt/sha512.c (sha512_process_block): Move to ...
19821 * crypt/sha512-block.c: ... here.
19822 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
19823 path.
19824 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
19825 * sysdeps/sparc/sparc64/multiarch/Makefile
19826 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
19827 crypt subdir.
19828 (localedef-aux): Add md5 crypto assembler when in locale subdir.
19829 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
19830 multiarch changes.
19831 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
19832 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
19833 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
19834 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
19835 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
19836 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
19837 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
19838 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
19839 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
19840 file.
19841 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
19842 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
19843 file.
19844 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
19845
8ca89318
JM
198462012-11-13 Joseph Myers <joseph@codesourcery.com>
19847
e27d476a
JM
19848 * timezone/tzselect.ksh: Update from tzcode git revision
19849 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
19850 * timezone/zdump.c: Likewise.
19851 * timezone/zic.c: Likewise.
19852 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
19853 in TZVERSION setting, not $(PKGVERSION).
19854 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
19855 REPORT_BUGS_TO settings.
19856
8ca89318
JM
19857 [BZ #14838]
19858 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
19859 macro.
19860
47594329
MS
198612012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19862
19863 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
19864 detection to immediately after _FP_ROUND().
19865 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
19866 bits are 0.
19867
640ac3f1
DM
198682012-11-11 David S. Miller <davem@davemloft.net>
19869
19870 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
19871 inttypes.h
19872 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
19873 __close rather than their public counterparts.
19874
3d2577bb
JM
198752012-11-10 Joseph Myers <joseph@codesourcery.com>
19876
19877 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
19878 file.
19879 [UNIX98] (sem_timedwait): Do not expect.
19880 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
19881 [XPG4 || UNIX98] (sockatmark): Do not expect.
19882 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
19883 (clock_getcpuclockid): Do not expect.
19884 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
19885 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
19886 Do not expect.
19887 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
19888 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
19889 [UNIX98] (vwscanf): Likewise.
19890 [UNIX98] (vswscanf): Likewise.
19891
fb1ae1ee
JM
198922012-11-09 Joseph Myers <joseph@codesourcery.com>
19893
9ec6f8bd
JM
19894 * timezone/version.h: Remove file.
19895 * timezone/README: Do not refer to version.h.
19896 * timezone/Makefile ($(objpfx)zic.o): New dependency on
19897 $(objpfx)version.h.
19898 ($(objpfx)zdump.o): Likewise.
c3f81911 19899 ($(objpfx)version.h): New target.
9ec6f8bd 19900
0aa8f8a1
JM
19901 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
19902 2012i.
19903 * timezone/README: Don't mention modification to tzselect.ksh.
19904 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
19905 work on unmodified tzselect.ksh. Substitute version numbers in
19906 tzselect.ksh.
19907
4e87147f
JM
19908 * Makefile (format-me): Remove.
19909 (INSTALL): Adjust indentation. Use commands directly instead of
19910 using $(format-me).
19911
8b748aed
JM
19912 * aclocal.m4 (ACX_PKGVERSION): New macro.
19913 (ACX_BUGURL): Likewise.
19914 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
19915 (PKGVERSION): New AC_DEFINE_UNQUOTED.
19916 (REPORT_BUGS_TO): Likewise.
19917 * configure: Regenerated.
19918 * config.h.in (PKGVERSION): New macro.
19919 (REPORT_BUGS_TO): Likewise.
19920 * config.make.in (PKGVERSION): New variable.
19921 (PKGVERSION_TEXI): Likewise.
19922 (REPORT_BUGS_TO): Likewise.
19923 (REPORT_BUGS_TEXI): Likewise.
19924 * Makefile (format-me): Use -I$(common-objpfx)manual.
19925 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
19926 ($(common-objpfx)manual/%): New target.
19927 (manual/%): Remove target.
19928 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
19929 (print_version): Use PKGVERSION.
19930 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
19931 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
19932 and REPORT_BUGS_TO.
19933 ($(objpfx)xtrace): Likewise.
19934 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
19935 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
19936 (print_version): Use PKGVERSION.
19937 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
19938 (do_version): Use PKGVERSION.
19939 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
19940 REPORT_BUGS_TO.
19941 (common-ldd-rewrite): Likewise.
19942 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
19943 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
19944 (print_version): Use PKGVERSION.
19945 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
19946 * elf/pldd.c (argp_program_bug_address): Remove variable.
19947 (more_help): New function.
19948 (argp): Use more_help.
19949 (print_version): Use PKGVERSION.
19950 * elf/sln.c (main): Use PKGVERSION.
19951 (usage): Use REPORT_BUGS_TO.
19952 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
19953 (top level): Use PKGVERSION.
19954 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
19955 (print_version): Use PKGVERSION.
19956 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
19957 (print_version): Use PKGVERSION.
19958 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
19959 (print_version): Use PKGVERSION.
19960 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
19961 (print_version): Use PKGVERSION.
19962 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
19963 (print_version): Use PKGVERSION.
19964 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
19965 (print_version): Use PKGVERSION.
19966 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
19967 and BUGURL.
19968 ($(objpfx)memusage): Likewise.
19969 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
19970 (do_version): Use PKGVERSION.
19971 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
19972 (print_version): Use PKGVERSION.
19973 * malloc/mtrace.pl ($PACKAGE): Remove variable.
19974 ($PKGVERSION): New variable.
19975 ($REPORT_BUGS_TO): Likewise.
19976 (usage): Use $REPORT_BUGS_TO.
19977 (top level): Use $PKGVERSION.
19978 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
19979 ($(objpfx)pkgvers.texi): New rule.
19980 ($(objpfx)stamp-pkgvers): Likewise.
19981 * manual/install.texi: Include pkgvers.texi.
19982 (--with-pkgversion): Document new configure option.
19983 (--with-bugurl): Likewise.
19984 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
19985 than necessarily for this particular distribution. Use
19986 REPORT_BUGS_TO for where to report bugs.
19987 * INSTALL: Regenerated.
19988 * manual/libc.texinfo: Include pkgvers.texi.
19989 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
19990 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
19991 (print_version): Use PKGVERSION.
19992 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
19993 (print_version): Use PKGVERSION.
19994 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
19995 (print_version): Use PKGVERSION.
19996 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
19997 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
19998 macro.
19999 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
20000 (print_version): Use PKGVERSION.
20001 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
20002 (print_version): Use PKGVERSION.
20003 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
20004 and PKGVERSION.
20005
92e4b6a9
JM
20006 * timezone/checktab.awk: Update from tzcode 2012i.
20007 * timezone/ialloc.c: Likewise.
20008 * timezone/private.h: Likewise.
20009 * timezone/scheck.c: Likewise.
20010 * timezone/tzfile.h: Likewise.
20011 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
20012 (TZVERSION): Hardcode tzcode version number.
20013 * timezone/zdump.c: Update from tzcode 2012i.
20014 * timezone/zic.c: Likewise.
20015 * timezone/version.h: New file.
20016 * timezone/README: Describe version.h. Update upstream location.
20017
9bde902c
JM
20018 [BZ #14824]
20019 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
20020 (mktemp): Enable declaration.
20021 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
20022 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
20023 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
20024 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
20025 Likewise.
20026 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
20027 Likewise.
20028 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
20029 Likewise.
20030 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
20031 Likewise.
20032 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
20033 Likewise.
20034 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
20035 Likewise.
20036
fb1ae1ee
JM
20037 [BZ #14821]
20038 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
20039 offset in buffer as u_int32_t not u_long. Consistently use memcpy
20040 for copies of such integer values.
20041 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
20042 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
20043
2c1adbcb
AJ
200442012-11-09 Andreas Jaeger <aj@suse.de>
20045
20046 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
20047 definitions and declarations that are provided by
20048 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
20049
d0f8457e
AK
200502012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20051
3a235abb 20052 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
20053 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
20054 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
20055 definition.
20056
57241e26
MS
200572012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20058
20059 * elf/elf.h: Update comment before AArch64 relocations.
20060
60e8270d
DM
200612012-11-07 David S. Miller <davem@davemloft.net>
20062
20063 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
20064 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
20065 (__start_context): Declare.
20066 (__makecontext_ret): Delete.
20067 (__makecontext): Hook up __start_context instead of
20068 __makecontext_ret.
20069 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
20070 (sysdep_routines): Add __start_context when in stdlib.
20071
0fbb0fbc
JM
200722012-11-07 Joseph Myers <joseph@codesourcery.com>
20073
20074 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
20075 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
20076 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
20077 hardcoded "nm".
20078 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
20079 (READELF): New variable. Use it instead of hardcoded "readelf".
20080
eb48db7e
L
200812012-11-07 H.J. Lu <hongjiu.lu@intel.com>
20082
20083 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
20084 * sysdeps/x86/Makefile: Here.
20085 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
20086 * sysdeps/x86/tst-xmmymm.sh: This.
20087
05bcf62a
JM
200882012-11-07 Joseph Myers <joseph@codesourcery.com>
20089
c4b6cf53
JM
20090 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
20091 expectations.
20092 [UNIX98] (pthread_barrier_t): Do not expect.
20093 [UNIX98] (pthread_barrierattr_t): Likewise.
20094 [UNIX98] (pthread_spinlock_t): Likewise.
20095 [UNIX98] (pthread_barrier_destroy): Likewise.
20096 [UNIX98] (pthread_barrier_init): Likewise.
20097 [UNIX98] (pthread_barrier_wait): Likewise.
20098 [UNIX98] (pthread_barrierattr_destroy): Likewise.
20099 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
20100 [UNIX98] (pthread_barrierattr_init): Likewise.
20101 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
20102 [UNIX98] (pthread_getcpuclockid): Likewise.
20103 [UNIX98] (pthread_mutex_timedlock): Likewise.
20104 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
20105 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
20106 [UNIX98] (pthread_sigmask): Likewise.
20107 [UNIX98] (pthread_spin_destroy): Likewise.
20108 [UNIX98] (pthread_spin_init): Likewise.
20109 [UNIX98] (pthread_spin_lock): Likewise.
20110 [UNIX98] (pthread_spin_trylock): Likewise.
20111 [UNIX98] (pthread_spin_unlock): Likewise.
20112 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
20113 Do not expect.
20114 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
20115 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
20116 [XPG3 || XPG4] (pthread_cond_t): Likewise.
20117 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
20118 [XPG3 || XPG4] (pthread_key_t): Likewise.
20119 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
20120 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
20121 [XPG3 || XPG4] (pthread_once_t): Likewise.
20122 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
20123 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
20124 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
20125 [XPG3 || XPG4] (pthread_t): Likewise.
20126
cbe6e120
JM
20127 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
20128 not expect.
20129 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
20130
1b126443
JM
20131 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
20132 Change function return type to int.
20133
b961a573
JM
20134 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
20135 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
20136 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
20137 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
20138 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
20139 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
20140 [!POSIX] (posix_madvise): Likewise.
20141 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
20142 && !UNIX98].
20143 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
20144 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
20145 (mode_t): Likewise.
20146 (posix_mem_offset): Likewise.
20147 (posix_typed_mem_get_info): Likewise.
20148 (posix_typed_mem_open): Likewise.
20149
9e188909
JM
20150 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
20151 Change condition to [XOPEN2K8].
20152
05bcf62a
JM
20153 * conform/conformtest.pl: Preprocess allow-header data with -x c
20154 instead of from stdin.
20155 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
20156 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
20157 [C99-based standards] (cerfc): Likewise.
20158 [C99-based standards] (cexp2): Likewise.
20159 [C99-based standards] (cexpm1): Likewise.
20160 [C99-based standards] (clog10): Likewise.
20161 [C99-based standards] (clog1p): Likewise.
20162 [C99-based standards] (clog2): Likewise.
20163 [C99-based standards] (clgamma): Likewise.
20164 [C99-based standards] (ctgamma): Likewise.
20165 [C99-based standards] (cerff): Likewise.
20166 [C99-based standards] (cerfcf): Likewise.
20167 [C99-based standards] (cexp2f): Likewise.
20168 [C99-based standards] (cexpm1f): Likewise.
20169 [C99-based standards] (clog10f): Likewise.
20170 [C99-based standards] (clog1pf): Likewise.
20171 [C99-based standards] (clog2f): Likewise.
20172 [C99-based standards] (clgammaf): Likewise.
20173 [C99-based standards] (ctgammaf): Likewise.
20174 [C99-based standards] (cerfl): Likewise.
20175 [C99-based standards] (cerfcl): Likewise.
20176 [C99-based standards] (cexp2l): Likewise.
20177 [C99-based standards] (cexpm1l): Likewise.
20178 [C99-based standards] (clog10l): Likewise.
20179 [C99-based standards] (clog1pl): Likewise.
20180 [C99-based standards] (clog2l): Likewise.
20181 [C99-based standards] (clgammal): Likewise.
20182 [C99-based standards] (ctgammal): Likewise.
20183 * conform/data/inttypes.h-data [C99-based standards]: Include
20184 stdint.h-data. Remove all expectations for stdint.h contents.
20185 [C99-based standards] (PRI*): Do not allow.
20186 [C99-based standards] (SCN*): Likewise.
20187 [C99-based standards] (*_t): Likewise.
20188 [C99-based-standards] (PRId8): Expect macro.
20189 [C99-based-standards] (PRIi8): Likewise.
20190 [C99-based-standards] (PRIo8): Likewise.
20191 [C99-based-standards] (PRIu8): Likewise.
20192 [C99-based-standards] (PRIx8): Likewise.
20193 [C99-based-standards] (PRIX8): Likewise.
20194 [C99-based-standards] (SCNd8): Likewise.
20195 [C99-based-standards] (SCNi8): Likewise.
20196 [C99-based-standards] (SCNo8): Likewise.
20197 [C99-based-standards] (SCNu8): Likewise.
20198 [C99-based-standards] (SCNx8): Likewise.
20199 [C99-based-standards] (PRIdLEAST8): Likewise.
20200 [C99-based-standards] (PRIiLEAST8): Likewise.
20201 [C99-based-standards] (PRIoLEAST8): Likewise.
20202 [C99-based-standards] (PRIuLEAST8): Likewise.
20203 [C99-based-standards] (PRIxLEAST8): Likewise.
20204 [C99-based-standards] (PRIXLEAST8): Likewise.
20205 [C99-based-standards] (SCNdLEAST8): Likewise.
20206 [C99-based-standards] (SCNiLEAST8): Likewise.
20207 [C99-based-standards] (SCNoLEAST8): Likewise.
20208 [C99-based-standards] (SCNuLEAST8): Likewise.
20209 [C99-based-standards] (SCNxLEAST8): Likewise.
20210 [C99-based-standards] (PRIdFAST8): Likewise.
20211 [C99-based-standards] (PRIiFAST8): Likewise.
20212 [C99-based-standards] (PRIoFAST8): Likewise.
20213 [C99-based-standards] (PRIuFAST8): Likewise.
20214 [C99-based-standards] (PRIxFAST8): Likewise.
20215 [C99-based-standards] (PRIXFAST8): Likewise.
20216 [C99-based-standards] (SCNdFAST8): Likewise.
20217 [C99-based-standards] (SCNiFAST8): Likewise.
20218 [C99-based-standards] (SCNoFAST8): Likewise.
20219 [C99-based-standards] (SCNuFAST8): Likewise.
20220 [C99-based-standards] (SCNxFAST8): Likewise.
20221 [C99-based-standards] (PRId16): Likewise.
20222 [C99-based-standards] (PRIi16): Likewise.
20223 [C99-based-standards] (PRIo16): Likewise.
20224 [C99-based-standards] (PRIu16): Likewise.
20225 [C99-based-standards] (PRIx16): Likewise.
20226 [C99-based-standards] (PRIX16): Likewise.
20227 [C99-based-standards] (SCNd16): Likewise.
20228 [C99-based-standards] (SCNi16): Likewise.
20229 [C99-based-standards] (SCNo16): Likewise.
20230 [C99-based-standards] (SCNu16): Likewise.
20231 [C99-based-standards] (SCNx16): Likewise.
20232 [C99-based-standards] (PRIdLEAST16): Likewise.
20233 [C99-based-standards] (PRIiLEAST16): Likewise.
20234 [C99-based-standards] (PRIoLEAST16): Likewise.
20235 [C99-based-standards] (PRIuLEAST16): Likewise.
20236 [C99-based-standards] (PRIxLEAST16): Likewise.
20237 [C99-based-standards] (PRIXLEAST16): Likewise.
20238 [C99-based-standards] (SCNdLEAST16): Likewise.
20239 [C99-based-standards] (SCNiLEAST16): Likewise.
20240 [C99-based-standards] (SCNoLEAST16): Likewise.
20241 [C99-based-standards] (SCNuLEAST16): Likewise.
20242 [C99-based-standards] (SCNxLEAST16): Likewise.
20243 [C99-based-standards] (PRIdFAST16): Likewise.
20244 [C99-based-standards] (PRIiFAST16): Likewise.
20245 [C99-based-standards] (PRIoFAST16): Likewise.
20246 [C99-based-standards] (PRIuFAST16): Likewise.
20247 [C99-based-standards] (PRIxFAST16): Likewise.
20248 [C99-based-standards] (PRIXFAST16): Likewise.
20249 [C99-based-standards] (SCNdFAST16): Likewise.
20250 [C99-based-standards] (SCNiFAST16): Likewise.
20251 [C99-based-standards] (SCNoFAST16): Likewise.
20252 [C99-based-standards] (SCNuFAST16): Likewise.
20253 [C99-based-standards] (SCNxFAST16): Likewise.
20254 [C99-based-standards] (PRId32): Likewise.
20255 [C99-based-standards] (PRIi32): Likewise.
20256 [C99-based-standards] (PRIo32): Likewise.
20257 [C99-based-standards] (PRIu32): Likewise.
20258 [C99-based-standards] (PRIx32): Likewise.
20259 [C99-based-standards] (PRIX32): Likewise.
20260 [C99-based-standards] (SCNd32): Likewise.
20261 [C99-based-standards] (SCNi32): Likewise.
20262 [C99-based-standards] (SCNo32): Likewise.
20263 [C99-based-standards] (SCNu32): Likewise.
20264 [C99-based-standards] (SCNx32): Likewise.
20265 [C99-based-standards] (PRIdLEAST32): Likewise.
20266 [C99-based-standards] (PRIiLEAST32): Likewise.
20267 [C99-based-standards] (PRIoLEAST32): Likewise.
20268 [C99-based-standards] (PRIuLEAST32): Likewise.
20269 [C99-based-standards] (PRIxLEAST32): Likewise.
20270 [C99-based-standards] (PRIXLEAST32): Likewise.
20271 [C99-based-standards] (SCNdLEAST32): Likewise.
20272 [C99-based-standards] (SCNiLEAST32): Likewise.
20273 [C99-based-standards] (SCNoLEAST32): Likewise.
20274 [C99-based-standards] (SCNuLEAST32): Likewise.
20275 [C99-based-standards] (SCNxLEAST32): Likewise.
20276 [C99-based-standards] (PRIdFAST32): Likewise.
20277 [C99-based-standards] (PRIiFAST32): Likewise.
20278 [C99-based-standards] (PRIoFAST32): Likewise.
20279 [C99-based-standards] (PRIuFAST32): Likewise.
20280 [C99-based-standards] (PRIxFAST32): Likewise.
20281 [C99-based-standards] (PRIXFAST32): Likewise.
20282 [C99-based-standards] (SCNdFAST32): Likewise.
20283 [C99-based-standards] (SCNiFAST32): Likewise.
20284 [C99-based-standards] (SCNoFAST32): Likewise.
20285 [C99-based-standards] (SCNuFAST32): Likewise.
20286 [C99-based-standards] (SCNxFAST32): Likewise.
20287 [C99-based-standards] (PRId64): Likewise.
20288 [C99-based-standards] (PRIi64): Likewise.
20289 [C99-based-standards] (PRIo64): Likewise.
20290 [C99-based-standards] (PRIu64): Likewise.
20291 [C99-based-standards] (PRIx64): Likewise.
20292 [C99-based-standards] (PRIX64): Likewise.
20293 [C99-based-standards] (SCNd64): Likewise.
20294 [C99-based-standards] (SCNi64): Likewise.
20295 [C99-based-standards] (SCNo64): Likewise.
20296 [C99-based-standards] (SCNu64): Likewise.
20297 [C99-based-standards] (SCNx64): Likewise.
20298 [C99-based-standards] (PRIdLEAST64): Likewise.
20299 [C99-based-standards] (PRIiLEAST64): Likewise.
20300 [C99-based-standards] (PRIoLEAST64): Likewise.
20301 [C99-based-standards] (PRIuLEAST64): Likewise.
20302 [C99-based-standards] (PRIxLEAST64): Likewise.
20303 [C99-based-standards] (PRIXLEAST64): Likewise.
20304 [C99-based-standards] (SCNdLEAST64): Likewise.
20305 [C99-based-standards] (SCNiLEAST64): Likewise.
20306 [C99-based-standards] (SCNoLEAST64): Likewise.
20307 [C99-based-standards] (SCNuLEAST64): Likewise.
20308 [C99-based-standards] (SCNxLEAST64): Likewise.
20309 [C99-based-standards] (PRIdFAST64): Likewise.
20310 [C99-based-standards] (PRIiFAST64): Likewise.
20311 [C99-based-standards] (PRIoFAST64): Likewise.
20312 [C99-based-standards] (PRIuFAST64): Likewise.
20313 [C99-based-standards] (PRIxFAST64): Likewise.
20314 [C99-based-standards] (PRIXFAST64): Likewise.
20315 [C99-based-standards] (SCNdFAST64): Likewise.
20316 [C99-based-standards] (SCNiFAST64): Likewise.
20317 [C99-based-standards] (SCNoFAST64): Likewise.
20318 [C99-based-standards] (SCNuFAST64): Likewise.
20319 [C99-based-standards] (SCNxFAST64): Likewise.
20320 [C99-based-standards] (PRIdMAX): Likewise.
20321 [C99-based-standards] (PRIiMAX): Likewise.
20322 [C99-based-standards] (PRIoMAX): Likewise.
20323 [C99-based-standards] (PRIuMAX): Likewise.
20324 [C99-based-standards] (PRIxMAX): Likewise.
20325 [C99-based-standards] (PRIXMAX): Likewise.
20326 [C99-based-standards] (SCNdMAX): Likewise.
20327 [C99-based-standards] (SCNiMAX): Likewise.
20328 [C99-based-standards] (SCNoMAX): Likewise.
20329 [C99-based-standards] (SCNuMAX): Likewise.
20330 [C99-based-standards] (SCNxMAX): Likewise.
20331 [C99-based-standards] (PRIdPTR): Likewise.
20332 [C99-based-standards] (PRIiPTR): Likewise.
20333 [C99-based-standards] (PRIoPTR): Likewise.
20334 [C99-based-standards] (PRIuPTR): Likewise.
20335 [C99-based-standards] (PRIxPTR): Likewise.
20336 [C99-based-standards] (PRIXPTR): Likewise.
20337 [C99-based-standards] (SCNdPTR): Likewise.
20338 [C99-based-standards] (SCNiPTR): Likewise.
20339 [C99-based-standards] (SCNoPTR): Likewise.
20340 [C99-based-standards] (SCNuPTR): Likewise.
20341 [C99-based-standards] (SCNxPTR): Likewise.
20342 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
20343 allow.
20344 * conform/data/stdint.h-data: Update comments to clarify
20345 requirements.
20346 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
20347 type.
20348 [C99-based standards] (INT8_MAX): Likewise.
20349 [C99-based standards] (INT16_MIN): Likewise.
20350 [C99-based standards] (INT16_MAX): Likewise.
20351 [C99-based standards] (INT32_MIN): Likewise.
20352 [C99-based standards] (INT32_MAX): Likewise.
20353 [C99-based standards] (INT64_MIN): Likewise.
20354 [C99-based standards] (INT64_MAX): Likewise.
20355 [C99-based standards] (UINT8_MAX): Likewise.
20356 [C99-based standards] (UINT16_MAX): Likewise.
20357 [C99-based standards] (UINT32_MAX): Likewise.
20358 [C99-based standards] (UINT64_MAX): Likewise.
20359 [C99-based standards] (INT_LEAST8_MIN): Likewise.
20360 [C99-based standards] (INT_LEAST8_MAX): Likewise.
20361 [C99-based standards] (INT_LEAST16_MIN): Likewise.
20362 [C99-based standards] (INT_LEAST16_MAX): Likewise.
20363 [C99-based standards] (INT_LEAST32_MIN): Likewise.
20364 [C99-based standards] (INT_LEAST32_MAX): Likewise.
20365 [C99-based standards] (INT_LEAST64_MIN): Likewise.
20366 [C99-based standards] (INT_LEAST64_MAX): Likewise.
20367 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
20368 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
20369 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
20370 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
20371 [C99-based standards] (INT_FAST8_MIN): Likewise.
20372 [C99-based standards] (INT_FAST8_MAX): Likewise.
20373 [C99-based standards] (INT_FAST16_MIN): Likewise.
20374 [C99-based standards] (INT_FAST16_MAX): Likewise.
20375 [C99-based standards] (INT_FAST32_MIN): Likewise.
20376 [C99-based standards] (INT_FAST32_MAX): Likewise.
20377 [C99-based standards] (INT_FAST64_MIN): Likewise.
20378 [C99-based standards] (INT_FAST64_MAX): Likewise.
20379 [C99-based standards] (UINT_FAST8_MAX): Likewise.
20380 [C99-based standards] (UINT_FAST16_MAX): Likewise.
20381 [C99-based standards] (UINT_FAST32_MAX): Likewise.
20382 [C99-based standards] (UINT_FAST64_MAX): Likewise.
20383 [C99-based standards] (INTPTR_MIN): Likewise.
20384 [C99-based standards] (INTPTR_MAX): Likewise.
20385 [C99-based standards] (UINTPTR_MAX): Likewise.
20386 [C99-based standards] (INTMAX_MIN): Likewise.
20387 [C99-based standards] (INTMAX_MAX): Likewise.
20388 [C99-based standards] (UINTMAX_MAX): Likewise.
20389 [C99-based standards] (PTRDIFF_MIN): Likewise.
20390 [C99-based standards] (PTRDIFF_MAX): Likewise.
20391 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
20392 [C99-based standards] (SIZE_MAX): Likewise.
20393 [C99-based standards] (WCHAR_MAX): Likewise.
20394 [C99-based standards] (WINT_MAX): Likewise.
20395 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
20396 constraint on value.
20397 [C99-based standards] (WCHAR_MIN): Likewise.
20398 [C99-based standards] (WINT_MIN): Likewise.
20399 [C99-based standards] (*_t): Allow.
20400 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
20401 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
20402 Include math.h-data and complex.h-data. Remove all expectations
20403 of math.h and complex.h contents.
20404 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
20405 at end of line.
20406 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
20407 (struct tm): Expect tag.
20408 [C99-based-standards] (wcstof): Expect function.
20409 [C99-based-standards] (wcstold): Likewise.
20410 [C99-based-standards] (wcstoll): Likewise.
20411 [C99-based-standards] (wcstoull): Likewise.
20412 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
20413 macro-int-constant. Specify type.
20414 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
20415 constraint on value.
20416 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
20417 Specify type.
20418 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
20419 Specify value.
20420 [ISO C standards]: Do not allow headers.
20421 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
20422 wcs[abcdefghijklmnopqrstuvwxyz]*.
20423 [ISO C standards] (*_t): Do not allow.
20424 * conform/data/wctype.h-data [C99-based standards] (iswblank):
20425 Expect function.
20426 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
20427 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
20428 Specify type.
20429 [ISO C standards]: Do not allow headers.
20430 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
20431 is[abcdefghijklmnopqrstuvwxyz]*.
20432 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
20433 to[abcdefghijklmnopqrstuvwxyz]*.
20434 [ISO C standards] (*_t): Do not allow.
20435 * conform/data/stdalign.h-data: New file.
20436 * conform/data/stdbool.h-data: Likewise.
20437 * conform/data/stdnoreturn.h-data: Likewise.
20438
7514feb8
RM
204392012-11-07 Roland McGrath <roland@hack.frob.com>
20440
20441 [BZ #14815]
20442 * manual/filesys.texi (Directory Entries): Typo fix.
20443 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
20444
19b2ecfc
MS
204452012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20446
20447 * elf/elf.h (EM_AARCH64): New macro.
20448 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
20449 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
20450 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
20451 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
20452 (R_AARCH64_TLSDESC): Likewise.
20453 (NT_ARM_TLS): Likewise.
20454 (NT_ARM_HW_BREAK): Likewise.
20455 (NT_ARM_HW_WATCH): Likewise.
20456
60e235ee
JM
204572012-11-07 Joseph Myers <joseph@codesourcery.com>
20458
20459 [BZ #14811]
20460 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
20461 (__ieee754_powl): Saturate nonzero exponents with absolute value
20462 below 0x1p-79 to +/- 0x1p-79.
20463 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
20464 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
20465 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
20466 nonzero exponents with absolute value below 0x1p-32 to +/-
20467 0x1p-32.
20468 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
20469 (__ieee754_powl): Saturate nonzero exponents with absolute value
20470 below 0x1p-79 to +/- 0x1p-79.
20471 * math/libm-test.inc (pow_test): Add more tests.
20472
0ab234b7
AK
204732012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20474
20475 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
20476 _dl_s390_cap_flags with kernel. Increase string length.
20477 (_dl_s390_platforms): Add z196 and zEC12.
20478
45832f74
JM
204792012-11-07 Joseph Myers <joseph@codesourcery.com>
20480
20481 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
20482 Change XOPEN21K to XOPEN2K.
20483
19218757
MK
204842012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
20485
20486 * string/memmove.c: Use memcpy when possible.
20487
c5f45721
AJ
204882012-11-06 Andreas Jaeger <aj@suse.de>
20489
20490 * po/eo.po: Update from translation team.
20491
82477c28
JM
204922012-11-06 Joseph Myers <joseph@codesourcery.com>
20493
20494 [BZ #14793]
20495 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
20496 exponent and small x and y exponents, scale x or y up. Increase
20497 by 2 the exponent used in scaling up.
20498 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
20499 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20500 * math/libm-test.inc (fma_test): Add more tests.
20501 (fma_test_towardzero): Likewise.
20502 (fma_test_downward): Likewise.
20503 (fma_test_upward): Likewise.
20504
99252c8c
JM
205052012-11-05 Joseph Myers <joseph@codesourcery.com>
20506
acfa885f
JM
20507 [BZ #14805]
20508 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
20509 fenv_t *.
20510
99252c8c
JM
20511 [BZ #14801]
20512 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
20513 namespace for names of struct fields.
20514 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
20515 fenv_t fields.
20516 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
20517 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
20518
d6d98dea
ST
205192012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
20520
20521 [BZ #3665]
20522 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
20523
e10bb107
TS
205242012-11-04 Thomas Schwinge <thomas@codesourcery.com>
20525
20526 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
20527 PTR_DEMANGLE.
20528
20529 [BZ #5246]
20530 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
20531 PTR_DEMANGLE.
20532
a0c2940d
JM
205332012-11-04 Joseph Myers <joseph@codesourcery.com>
20534
20535 [BZ #14797]
20536 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
20537 definitely overflow as x * y not x * y + z.
20538 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
20539 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20540 * math/libm-test.inc (fma_test): Add more tests.
20541 (fma_test_towardzero): Likewise.
20542 (fma_test_downward): Likewise.
20543 (fma_test_upward): Likewise.
20544
b830319d
TS
205452012-11-04 Thomas Schwinge <thomas@codesourcery.com>
20546
20547 [BZ #157]
20548
20549 * include/stub-tag.h: Remove file.
20550 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
20551 '#include' of it.
20552 * manual/maint.texi (Porting): Don't reference it.
20553 * Makerules ($(objpfx)stubs): Likewise.
20554 * dirent/closedir.c: Don't include <stub-tag.h>.
20555 * dirent/dirfd.c: Likewise.
20556 * dirent/fdopendir.c: Likewise.
20557 * dirent/getdents.c: Likewise.
20558 * dirent/getdents64.c: Likewise.
20559 * dirent/opendir.c: Likewise.
20560 * dirent/readdir.c: Likewise.
20561 * dirent/readdir64.c: Likewise.
20562 * dirent/readdir64_r.c: Likewise.
20563 * dirent/readdir_r.c: Likewise.
20564 * dirent/rewinddir.c: Likewise.
20565 * dirent/seekdir.c: Likewise.
20566 * dirent/telldir.c: Likewise.
20567 * gmon/profil.c: Likewise.
20568 * grp/setgroups.c: Likewise.
20569 * inet/if_index.c: Likewise.
20570 * io/access.c: Likewise.
20571 * io/chdir.c: Likewise.
20572 * io/chmod.c: Likewise.
20573 * io/chown.c: Likewise.
20574 * io/close.c: Likewise.
20575 * io/dup.c: Likewise.
20576 * io/dup2.c: Likewise.
20577 * io/dup3.c: Likewise.
20578 * io/euidaccess.c: Likewise.
20579 * io/faccessat.c: Likewise.
20580 * io/fchdir.c: Likewise.
20581 * io/fchmod.c: Likewise.
20582 * io/fchmodat.c: Likewise.
20583 * io/fchown.c: Likewise.
20584 * io/fchownat.c: Likewise.
20585 * io/fcntl.c: Likewise.
20586 * io/flock.c: Likewise.
20587 * io/fstatfs.c: Likewise.
20588 * io/fstatfs64.c: Likewise.
20589 * io/fstatvfs.c: Likewise.
20590 * io/fstatvfs64.c: Likewise.
20591 * io/futimens.c: Likewise.
20592 * io/fxstat.c: Likewise.
20593 * io/fxstat64.c: Likewise.
20594 * io/fxstatat.c: Likewise.
20595 * io/fxstatat64.c: Likewise.
20596 * io/getcwd.c: Likewise.
20597 * io/isatty.c: Likewise.
20598 * io/lchmod.c: Likewise.
20599 * io/lchown.c: Likewise.
20600 * io/link.c: Likewise.
20601 * io/linkat.c: Likewise.
20602 * io/lseek.c: Likewise.
20603 * io/lseek64.c: Likewise.
20604 * io/lxstat64.c: Likewise.
20605 * io/mkdir.c: Likewise.
20606 * io/mkdirat.c: Likewise.
20607 * io/mkfifo.c: Likewise.
20608 * io/mkfifoat.c: Likewise.
20609 * io/open.c: Likewise.
20610 * io/open64.c: Likewise.
20611 * io/openat.c: Likewise.
20612 * io/openat64.c: Likewise.
20613 * io/pipe.c: Likewise.
20614 * io/pipe2.c: Likewise.
20615 * io/poll.c: Likewise.
20616 * io/posix_fadvise.c: Likewise.
20617 * io/posix_fadvise64.c: Likewise.
20618 * io/posix_fallocate.c: Likewise.
20619 * io/posix_fallocate64.c: Likewise.
20620 * io/read.c: Likewise.
20621 * io/readlink.c: Likewise.
20622 * io/readlinkat.c: Likewise.
20623 * io/rmdir.c: Likewise.
20624 * io/sendfile.c: Likewise.
20625 * io/sendfile64.c: Likewise.
20626 * io/statfs.c: Likewise.
20627 * io/statfs64.c: Likewise.
20628 * io/statvfs.c: Likewise.
20629 * io/statvfs64.c: Likewise.
20630 * io/symlink.c: Likewise.
20631 * io/symlinkat.c: Likewise.
20632 * io/ttyname.c: Likewise.
20633 * io/ttyname_r.c: Likewise.
20634 * io/umask.c: Likewise.
20635 * io/unlink.c: Likewise.
20636 * io/unlinkat.c: Likewise.
20637 * io/utime.c: Likewise.
20638 * io/utimensat.c: Likewise.
20639 * io/write.c: Likewise.
20640 * io/xmknod.c: Likewise.
20641 * io/xmknodat.c: Likewise.
20642 * io/xstat.c: Likewise.
20643 * io/xstat64.c: Likewise.
20644 * login/getpt.c: Likewise.
20645 * login/grantpt.c: Likewise.
20646 * login/unlockpt.c: Likewise.
20647 * math/e_acoshl.c: Likewise.
20648 * math/e_acosl.c: Likewise.
20649 * math/e_asinl.c: Likewise.
20650 * math/e_atan2l.c: Likewise.
20651 * math/e_atanhl.c: Likewise.
20652 * math/e_coshl.c: Likewise.
20653 * math/e_expl.c: Likewise.
20654 * math/e_fmodl.c: Likewise.
20655 * math/e_gammal_r.c: Likewise.
20656 * math/e_hypotl.c: Likewise.
20657 * math/e_j0l.c: Likewise.
20658 * math/e_j1l.c: Likewise.
20659 * math/e_jnl.c: Likewise.
20660 * math/e_lgammal_r.c: Likewise.
20661 * math/e_log10l.c: Likewise.
20662 * math/e_log2l.c: Likewise.
20663 * math/e_logl.c: Likewise.
20664 * math/e_powl.c: Likewise.
20665 * math/e_rem_pio2l.c: Likewise.
20666 * math/e_sinhl.c: Likewise.
20667 * math/e_sqrtl.c: Likewise.
20668 * math/fclrexcpt.c: Likewise.
20669 * math/fedisblxcpt.c: Likewise.
20670 * math/feenablxcpt.c: Likewise.
20671 * math/fegetenv.c: Likewise.
20672 * math/fegetexcept.c: Likewise.
20673 * math/fegetround.c: Likewise.
20674 * math/feholdexcpt.c: Likewise.
20675 * math/fesetenv.c: Likewise.
20676 * math/fesetround.c: Likewise.
20677 * math/feupdateenv.c: Likewise.
20678 * math/fgetexcptflg.c: Likewise.
20679 * math/fraiseexcpt.c: Likewise.
20680 * math/fsetexcptflg.c: Likewise.
20681 * math/ftestexcept.c: Likewise.
20682 * math/k_cosl.c: Likewise.
20683 * math/k_rem_pio2l.c: Likewise.
20684 * math/k_sinl.c: Likewise.
20685 * math/k_tanl.c: Likewise.
20686 * math/s_asinhl.c: Likewise.
20687 * math/s_atanl.c: Likewise.
20688 * math/s_cbrtl.c: Likewise.
20689 * math/s_erfl.c: Likewise.
20690 * math/s_expm1l.c: Likewise.
20691 * math/s_log1pl.c: Likewise.
20692 * math/s_tanhl.c: Likewise.
20693 * misc/acct.c: Likewise.
20694 * misc/brk.c: Likewise.
20695 * misc/chflags.c: Likewise.
20696 * misc/chroot.c: Likewise.
20697 * misc/fchflags.c: Likewise.
20698 * misc/fgetxattr.c: Likewise.
20699 * misc/flistxattr.c: Likewise.
20700 * misc/fremovexattr.c: Likewise.
20701 * misc/fsetxattr.c: Likewise.
20702 * misc/fsync.c: Likewise.
20703 * misc/ftruncate.c: Likewise.
20704 * misc/futimes.c: Likewise.
20705 * misc/futimesat.c: Likewise.
20706 * misc/getdomain.c: Likewise.
20707 * misc/getdtsz.c: Likewise.
20708 * misc/gethostid.c: Likewise.
20709 * misc/gethostname.c: Likewise.
20710 * misc/getloadavg.c: Likewise.
20711 * misc/getpagesize.c: Likewise.
20712 * misc/getsysstats.c: Likewise.
20713 * misc/getxattr.c: Likewise.
20714 * misc/gtty.c: Likewise.
20715 * misc/ioctl.c: Likewise.
20716 * misc/lgetxattr.c: Likewise.
20717 * misc/listxattr.c: Likewise.
20718 * misc/llistxattr.c: Likewise.
20719 * misc/lremovexattr.c: Likewise.
20720 * misc/lsetxattr.c: Likewise.
20721 * misc/lutimes.c: Likewise.
20722 * misc/madvise.c: Likewise.
20723 * misc/mincore.c: Likewise.
20724 * misc/mlock.c: Likewise.
20725 * misc/mlockall.c: Likewise.
20726 * misc/mmap.c: Likewise.
20727 * misc/mprotect.c: Likewise.
20728 * misc/msync.c: Likewise.
20729 * misc/munlock.c: Likewise.
20730 * misc/munlockall.c: Likewise.
20731 * misc/munmap.c: Likewise.
20732 * misc/preadv.c: Likewise.
20733 * misc/preadv64.c: Likewise.
20734 * misc/ptrace.c: Likewise.
20735 * misc/pwritev.c: Likewise.
20736 * misc/pwritev64.c: Likewise.
20737 * misc/readv.c: Likewise.
20738 * misc/reboot.c: Likewise.
20739 * misc/remap_file_pages.c: Likewise.
20740 * misc/removexattr.c: Likewise.
20741 * misc/revoke.c: Likewise.
20742 * misc/select.c: Likewise.
20743 * misc/setdomain.c: Likewise.
20744 * misc/setegid.c: Likewise.
20745 * misc/seteuid.c: Likewise.
20746 * misc/sethostid.c: Likewise.
20747 * misc/sethostname.c: Likewise.
20748 * misc/setregid.c: Likewise.
20749 * misc/setreuid.c: Likewise.
20750 * misc/setxattr.c: Likewise.
20751 * misc/sstk.c: Likewise.
20752 * misc/stty.c: Likewise.
20753 * misc/swapoff.c: Likewise.
20754 * misc/swapon.c: Likewise.
20755 * misc/sync.c: Likewise.
20756 * misc/syncfs.c: Likewise.
20757 * misc/syscall.c: Likewise.
20758 * misc/truncate.c: Likewise.
20759 * misc/ualarm.c: Likewise.
20760 * misc/usleep.c: Likewise.
20761 * misc/ustat.c: Likewise.
20762 * misc/utimes.c: Likewise.
20763 * misc/vhangup.c: Likewise.
20764 * misc/writev.c: Likewise.
20765 * posix/_exit.c: Likewise.
20766 * posix/alarm.c: Likewise.
20767 * posix/execve.c: Likewise.
20768 * posix/fexecve.c: Likewise.
20769 * posix/fork.c: Likewise.
20770 * posix/fpathconf.c: Likewise.
20771 * posix/getaddrinfo.c: Likewise.
20772 * posix/getegid.c: Likewise.
20773 * posix/geteuid.c: Likewise.
20774 * posix/getgid.c: Likewise.
20775 * posix/getgroups.c: Likewise.
20776 * posix/getlogin.c: Likewise.
20777 * posix/getlogin_r.c: Likewise.
20778 * posix/getpgid.c: Likewise.
20779 * posix/getpid.c: Likewise.
20780 * posix/getppid.c: Likewise.
20781 * posix/getresgid.c: Likewise.
20782 * posix/getresuid.c: Likewise.
20783 * posix/getsid.c: Likewise.
20784 * posix/getuid.c: Likewise.
20785 * posix/glob64.c: Likewise.
20786 * posix/nanosleep.c: Likewise.
20787 * posix/pathconf.c: Likewise.
20788 * posix/pause.c: Likewise.
20789 * posix/posix_madvise.c: Likewise.
20790 * posix/pread.c: Likewise.
20791 * posix/pread64.c: Likewise.
20792 * posix/pwrite.c: Likewise.
20793 * posix/pwrite64.c: Likewise.
20794 * posix/sched_getaffinity.c: Likewise.
20795 * posix/sched_getp.c: Likewise.
20796 * posix/sched_gets.c: Likewise.
20797 * posix/sched_primax.c: Likewise.
20798 * posix/sched_primin.c: Likewise.
20799 * posix/sched_rr_gi.c: Likewise.
20800 * posix/sched_setaffinity.c: Likewise.
20801 * posix/sched_setp.c: Likewise.
20802 * posix/sched_sets.c: Likewise.
20803 * posix/sched_yield.c: Likewise.
20804 * posix/setgid.c: Likewise.
20805 * posix/setlogin.c: Likewise.
20806 * posix/setpgid.c: Likewise.
20807 * posix/setresgid.c: Likewise.
20808 * posix/setresuid.c: Likewise.
20809 * posix/setsid.c: Likewise.
20810 * posix/setuid.c: Likewise.
20811 * posix/sleep.c: Likewise.
20812 * posix/spawni.c: Likewise.
20813 * posix/sysconf.c: Likewise.
20814 * posix/times.c: Likewise.
20815 * posix/wait.c: Likewise.
20816 * posix/wait3.c: Likewise.
20817 * posix/wait4.c: Likewise.
20818 * posix/waitpid.c: Likewise.
20819 * resolv/gai_sigqueue.c: Likewise.
20820 * resource/getpriority.c: Likewise.
20821 * resource/getrlimit.c: Likewise.
20822 * resource/getrusage.c: Likewise.
20823 * resource/nice.c: Likewise.
20824 * resource/setpriority.c: Likewise.
20825 * resource/setrlimit.c: Likewise.
20826 * resource/ulimit.c: Likewise.
20827 * rt/aio_cancel.c: Likewise.
20828 * rt/aio_fsync.c: Likewise.
20829 * rt/aio_read.c: Likewise.
20830 * rt/aio_sigqueue.c: Likewise.
20831 * rt/aio_suspend.c: Likewise.
20832 * rt/aio_write.c: Likewise.
20833 * rt/clock_getres.c: Likewise.
20834 * rt/clock_gettime.c: Likewise.
20835 * rt/clock_nanosleep.c: Likewise.
20836 * rt/clock_settime.c: Likewise.
20837 * rt/lio_listio.c: Likewise.
20838 * rt/mq_close.c: Likewise.
20839 * rt/mq_getattr.c: Likewise.
20840 * rt/mq_notify.c: Likewise.
20841 * rt/mq_open.c: Likewise.
20842 * rt/mq_receive.c: Likewise.
20843 * rt/mq_send.c: Likewise.
20844 * rt/mq_setattr.c: Likewise.
20845 * rt/mq_timedreceive.c: Likewise.
20846 * rt/mq_timedsend.c: Likewise.
20847 * rt/mq_unlink.c: Likewise.
20848 * rt/shm_open.c: Likewise.
20849 * rt/shm_unlink.c: Likewise.
20850 * rt/timer_create.c: Likewise.
20851 * rt/timer_delete.c: Likewise.
20852 * rt/timer_getoverr.c: Likewise.
20853 * rt/timer_gettime.c: Likewise.
20854 * rt/timer_settime.c: Likewise.
20855 * setjmp/__longjmp.c: Likewise.
20856 * setjmp/setjmp.c: Likewise.
20857 * signal/kill.c: Likewise.
20858 * signal/killpg.c: Likewise.
20859 * signal/raise.c: Likewise.
20860 * signal/sigaction.c: Likewise.
20861 * signal/sigaltstack.c: Likewise.
20862 * signal/sigblock.c: Likewise.
20863 * signal/sigignore.c: Likewise.
20864 * signal/sigintr.c: Likewise.
20865 * signal/signal.c: Likewise.
20866 * signal/sigpause.c: Likewise.
20867 * signal/sigpending.c: Likewise.
20868 * signal/sigqueue.c: Likewise.
20869 * signal/sigreturn.c: Likewise.
20870 * signal/sigset.c: Likewise.
20871 * signal/sigsetmask.c: Likewise.
20872 * signal/sigstack.c: Likewise.
20873 * signal/sigsuspend.c: Likewise.
20874 * signal/sigtimedwait.c: Likewise.
20875 * signal/sigvec.c: Likewise.
20876 * signal/sigwait.c: Likewise.
20877 * signal/sigwaitinfo.c: Likewise.
20878 * signal/sysv_signal.c: Likewise.
20879 * socket/accept.c: Likewise.
20880 * socket/accept4.c: Likewise.
20881 * socket/bind.c: Likewise.
20882 * socket/connect.c: Likewise.
20883 * socket/getpeername.c: Likewise.
20884 * socket/getsockname.c: Likewise.
20885 * socket/getsockopt.c: Likewise.
20886 * socket/isfdtype.c: Likewise.
20887 * socket/listen.c: Likewise.
20888 * socket/recv.c: Likewise.
20889 * socket/recvfrom.c: Likewise.
20890 * socket/recvmsg.c: Likewise.
20891 * socket/send.c: Likewise.
20892 * socket/sendmsg.c: Likewise.
20893 * socket/sendto.c: Likewise.
20894 * socket/setsockopt.c: Likewise.
20895 * socket/shutdown.c: Likewise.
20896 * socket/sockatmark.c: Likewise.
20897 * socket/socket.c: Likewise.
20898 * socket/socketpair.c: Likewise.
20899 * stdio-common/ctermid.c: Likewise.
20900 * stdio-common/cuserid.c: Likewise.
20901 * stdio-common/remove.c: Likewise.
20902 * stdio-common/rename.c: Likewise.
20903 * stdio-common/renameat.c: Likewise.
20904 * stdio-common/tempname.c: Likewise.
20905 * stdlib/getcontext.c: Likewise.
20906 * stdlib/makecontext.c: Likewise.
20907 * stdlib/setcontext.c: Likewise.
20908 * stdlib/swapcontext.c: Likewise.
20909 * stdlib/system.c: Likewise.
20910 * streams/fattach.c: Likewise.
20911 * streams/fdetach.c: Likewise.
20912 * streams/getmsg.c: Likewise.
20913 * streams/getpmsg.c: Likewise.
20914 * streams/putmsg.c: Likewise.
20915 * streams/putpmsg.c: Likewise.
20916 * sysdeps/unix/bsd/getpt.c: Likewise.
20917 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
20918 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
20919 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
20920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
20921 Likewise.
20922 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
20923 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
20924 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
20925 * sysvipc/msgctl.c: Likewise.
20926 * sysvipc/msgget.c: Likewise.
20927 * sysvipc/msgrcv.c: Likewise.
20928 * sysvipc/msgsnd.c: Likewise.
20929 * sysvipc/semctl.c: Likewise.
20930 * sysvipc/semget.c: Likewise.
20931 * sysvipc/semop.c: Likewise.
20932 * sysvipc/semtimedop.c: Likewise.
20933 * sysvipc/shmat.c: Likewise.
20934 * sysvipc/shmctl.c: Likewise.
20935 * sysvipc/shmdt.c: Likewise.
20936 * sysvipc/shmget.c: Likewise.
20937 * termios/tcdrain.c: Likewise.
20938 * termios/tcflow.c: Likewise.
20939 * termios/tcflush.c: Likewise.
20940 * termios/tcgetattr.c: Likewise.
20941 * termios/tcgetpgrp.c: Likewise.
20942 * termios/tcsendbrk.c: Likewise.
20943 * termios/tcsetattr.c: Likewise.
20944 * termios/tcsetpgrp.c: Likewise.
20945 * time/adjtime.c: Likewise.
20946 * time/clock.c: Likewise.
20947 * time/getitimer.c: Likewise.
20948 * time/gettimeofday.c: Likewise.
20949 * time/setitimer.c: Likewise.
20950 * time/settimeofday.c: Likewise.
20951 * time/stime.c: Likewise.
20952 * time/time.c: Likewise.
20953
209542012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 20955
a20492cf
PT
20956 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
20957 /usr/old/bin.
20958
72e182e3
PT
20959 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
20960 instead of spaces.
20961 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
20962
fbeafede
JM
209632012-11-03 Joseph Myers <joseph@codesourcery.com>
20964
5b5b04d6
JM
20965 [BZ #14796]
20966 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
20967 FE_TONEAREST before applying Dekker multiplication and Knuth
20968 addition. Clear inexact exceptions and check for exact zero
20969 results afterwards.
20970 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
20971 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
20972 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20973 * math/libm-test.inc (fma_test): Add more tests.
20974 (fma_test_towardzero): Likewise.
20975 (fma_test_downward): Likewise.
20976 (fma_test_upward): Likewise.
20977 * sysdeps/generic/math_private.h (default_libc_fesetround): New
20978 function.
20979 (libc_fesetround): New macro.
20980 (libc_fesetroundf): Likewise.
20981 (libc_fesetroundl): Likewise.
20982 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
20983 function.
20984 (libc_fesetround_387): Likewise.
20985 (libc_fesetroundf): New macro.
20986 (libc_fesetround): Likewise.
20987 (libc_fesetroundl): Likewise.
20988 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
20989 function.
20990 (libc_fesetroundf): New macro.
20991 (libc_fesetround): Likewise.
20992 (libc_fesetroundl): Likewise.
20993 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
20994 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
20995 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
20996 libm_hidden_ver.
20997 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
20998 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
20999 libm_hidden_def.
21000 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
21001 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
21002 libm_hidden_ver.
21003 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
21004 libm_hidden_def.
21005
fbeafede
JM
21006 [BZ #3439]
21007 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
21008 integer constant usable in #if and use that to give value to enum
21009 constant.
21010 (FE_DIVBYZERO): Likewise.
21011 (FE_UNDERFLOW): Likewise.
21012 (FE_OVERFLOW): Likewise.
21013 (FE_INVALID): Likewise.
21014 (FE_INVALID_SNAN): Likewise.
21015 (FE_INVALID_ISI): Likewise.
21016 (FE_INVALID_IDI): Likewise.
21017 (FE_INVALID_ZDZ): Likewise.
21018 (FE_INVALID_IMZ): Likewise.
21019 (FE_INVALID_COMPARE): Likewise.
21020 (FE_INVALID_SOFTWARE): Likewise.
21021 (FE_INVALID_SQRT): Likewise.
21022 (FE_INVALID_INTEGER_CONVERSION): Likewise.
21023 (FE_TONEAREST): Likewise.
21024 (FE_TOWARDZERO): Likewise.
21025 (FE_UPWARD): Likewise.
21026 (FE_DOWNWARD): Likewise.
21027 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
21028 (FE_DIVBYZERO): Likewise.
21029 (FE_OVERFLOW): Likewise.
21030 (FE_UNDERFLOW): Likewise.
21031 (FE_INEXACT): Likewise.
21032 (FE_TONEAREST): Likewise.
21033 (FE_DOWNWARD): Likewise.
21034 (FE_UPWARD): Likewise.
21035 (FE_TOWARDZERO): Likewise.
21036 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
21037 (FE_UNDERFLOW): Likewise.
21038 (FE_OVERFLOW): Likewise.
21039 (FE_DIVBYZERO): Likewise.
21040 (FE_INVALID): Likewise.
21041 (FE_TONEAREST): Likewise.
21042 (FE_TOWARDZERO): Likewise.
21043 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
21044 (FE_OVERFLOW): Likewise.
21045 (FE_UNDERFLOW): Likewise.
21046 (FE_DIVBYZERO): Likewise.
21047 (FE_INEXACT): Likewise.
21048 (FE_TONEAREST): Likewise.
21049 (FE_TOWARDZERO): Likewise.
21050 (FE_UPWARD): Likewise.
21051 (FE_DOWNWARD): Likewise.
21052 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
21053 (FE_DIVBYZERO): Likewise.
21054 (FE_OVERFLOW): Likewise.
21055 (FE_UNDERFLOW): Likewise.
21056 (FE_INEXACT): Likewise.
21057 (FE_TONEAREST): Likewise.
21058 (FE_DOWNWARD): Likewise.
21059 (FE_UPWARD): Likewise.
21060 (FE_TOWARDZERO): Likewise.
21061
105ca950
CM
210622012-11-02 Chris Metcalf <cmetcalf@tilera.com>
21063
21064 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
21065
a542b389
AS
210662012-11-03 Andreas Schwab <schwab@linux-m68k.org>
21067
21068 * scripts/cross-test-ssh.sh (command): Use newlines to separate
21069 commands. Quote $PWD.
21070 (blacklist_exports): Don't use remove_newlines. Replace "declare
21071 -x" by "export".
21072 (remove_newlines): Remove.
21073
f62c8abc
L
210742012-11-02 H.J. Lu <hongjiu.lu@intel.com>
21075
21076 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
21077 * stdlib/stdlib.h (atof): Moved to ...
21078 * include/bits/stdlib-float.h: Here. New file.
21079 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
21080 * stdlib/bits/stdlib-float.h: New file.
21081 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
21082 -mno-sse -mno-mmx.
21083 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
21084 <xmmintrin.h>.
21085
0155d5b2
JM
210862012-11-02 Joseph Myers <joseph@codesourcery.com>
21087
a68d0680
JM
21088 * conform/conformtest.pl (@headers): Add fenv.h.
21089 * conform/data/fenv.h-data: New file.
21090 * include/fenv.h [_ISOMAC]: Disable all contents of file except
21091 include of <math/fenv.h>.
21092
caf7f573
JM
21093 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
21094 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
21095 && !UNIX98]. Enables tests for XOPEN2K8.
21096 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
21097 POSIX2008]: Likewise.
21098
6c073ad6
JM
21099 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
21100 (struct rusage): Do not expect type or its members.
21101
0155d5b2
JM
21102 [BZ #3439]
21103 * math/math.h (FP_NAN): Define macro to integer constant usable in
21104 #if and use that to give value to enum constant.
21105 (FP_INFINITE): Likewise.
21106 (FP_ZERO): Likewise.
21107 (FP_SUBNORMAL): Likewise.
21108 (FP_NORMAL): Likewise.
21109
b5dcacb4
AS
211102012-11-02 Andreas Schwab <schwab@linux-m68k.org>
21111
21112 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
21113 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
21114 arguments.
21115
f7934be8
RM
211162012-11-02 Roland McGrath <roland@hack.frob.com>
21117
21118 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
21119 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
21120 autoconf-time if not.
21121 * configure.in: Remove AC_PREREQ.
21122
d7d08bde
TMQMF
211232012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21124
21125 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
21126 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
21127 of the internal implementation.
21128
dcdae19a
JM
211292012-11-02 Joseph Myers <joseph@codesourcery.com>
21130
21131 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
21132 except include of <misc/sys/syslog.h>.
21133
d6cffd3e
AS
211342012-11-01 Andreas Schwab <schwab@linux-m68k.org>
21135
21136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
21137 function returns with a NULL context exit with zero.
21138
b3563932
TMQMF
211392012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21140
21141 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
21142
b288a93d
L
211432012-11-01 H.J. Lu <hongjiu.lu@intel.com>
21144
21145 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
21146 (run_program_cmd): This.
21147 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
21148 (tst_langinfo): New variable. Use it.
21149
a2421a68
SAS
211502012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
21151
21152 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
21153 floating point opcodes.
21154
6f796e1b
TS
211552012-11-01 Thomas Schwinge <thomas@codesourcery.com>
21156
7402596b
TS
21157 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
21158 variable.
21159
d0d4f868
TS
21160 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
21161
6f796e1b
TS
21162 * sysdeps/mach/hurd/powerpc: Remove directory.
21163 * sysdeps/mach/powerpc: Likewise.
21164
4da224a2
AS
211652012-11-01 Andreas Schwab <schwab@linux-m68k.org>
21166
21167 * scripts/check-local-headers.sh: Ignore c++ headers.
21168
341dd673
TS
211692012-11-01 Thomas Schwinge <thomas@codesourcery.com>
21170
21171 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
21172 __libc_cleanup_region_start argument.
21173
473611b2
JM
211742012-11-01 Joseph Myers <joseph@codesourcery.com>
21175
21176 [BZ #14784]
21177 [BZ #14785]
21178 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
21179 x * y using scaling, not as x * y + z.
21180 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21181 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21182 * math/libm-test.inc (fma_test): Add more tests.
21183 (fma_test_towardzero): Likewise.
21184 (fma_test_downward): Likewise.
21185 (fma_test_upward): Likewise.
21186
4078da3d
TS
211872012-11-01 Thomas Schwinge <thomas@codesourcery.com>
21188
21189 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
21190
903252aa
JM
211912012-10-31 Joseph Myers <joseph@codesourcery.com>
21192
21193 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
21194 New variable.
21195
cbc818d0
TS
211962012-10-31 Thomas Schwinge <thomas@codesourcery.com>
21197
21198 * rt/tst-shm.c (worker): Correct checking for mmap failure.
21199
5a03cb1e
AS
212002012-10-31 Andreas Schwab <schwab@linux-m68k.org>
21201
21202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21203 Fix sort order.
21204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21205 Likewise.
21206
90aff2ff
TMQMF
212072012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21208
21209 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21210 Fix the order of the list for glibc 2.17.
21211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21212 Likewise.
21213
1818fcb7
AS
212142012-10-31 Andreas Schwab <schwab@linux-m68k.org>
21215
21216 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21217
ef82f4da
JM
212182012-10-31 Joseph Myers <joseph@codesourcery.com>
21219
16a0e2ec
JM
21220 [BZ #14610]
21221 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
21222 for low part of x being zero before using __atanl (y).
21223 * math/libm-test.inc (atan2_test): Add another test.
21224
0eb69512
JM
21225 * manual/install.texi (Configuring and compiling): Document
21226 general use of test-wrapper and test-wrapper-env.
21227 * INSTALL: Regenerated.
21228
ef82f4da
JM
21229 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
21230 (__fma): Do not extract and scale down low bits on after-rounding
21231 systems when result rounded to normal precision would have normal
21232 exponent.
21233 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
21234 (__fmal): Do not extract and scale down low bits on after-rounding
21235 systems when result rounded to normal precision would have normal
21236 exponent.
21237 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
21238 (__fmal): Do not extract and scale down low bits on after-rounding
21239 systems when result rounded to normal precision would have normal
21240 exponent.
21241 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
21242 macro.
21243 (fma_test): Add more tests.
21244 (fma_test_towardzero): Likewise.
21245 (fma_test_downward): Likewise.
21246 (fma_test_upward): Likewise.
21247
954ef0d9
L
212482012-10-30 H.J. Lu <hongjiu.lu@intel.com>
21249
21250 * sysdeps/i386/tininess.h: Renamed to ...
21251 * sysdeps/x86/tininess.h: This.
21252 * sysdeps/x86_64/tininess.h: Removed.
21253
df61ffb2
JM
212542012-10-30 Joseph Myers <joseph@codesourcery.com>
21255
21256 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
21257 input. Use $(build-program-cmd).
21258 ($(objpfx)tst-array1-static.out): Likewise.
21259 ($(objpfx)tst-array2.out): Likewise.
21260 ($(objpfx)tst-array3.out): Likewise.
21261 ($(objpfx)tst-array4.out): Likewise.
21262 ($(objpfx)tst-array5.out): Likewise.
21263 ($(objpfx)tst-array5-static.out): Likewise.
21264
01767843
CM
212652012-10-30 Chris Metcalf <cmetcalf@tilera.com>
21266
47cc1490
CM
21267 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
21268 if defined.
21269
01767843
CM
21270 * nss/nsswitch.h (nss_interface_function): Provide new
21271 macro for use with NSS functions.
21272 * grp/initgroups.c: Use new macro.
21273 * nss/getXXbyYY.c: Likewise.
21274 * nss/getXXbyYY_r.c: Likewise.
21275 * nss/getXXent.c: Likewise.
21276 * nss/getXXent_r.c: Likewise.
21277 * sysdeps/posix/getaddrinfo.c: Likewise.
21278
8321aa97
AJ
212792012-10-30 Andreas Jaeger <aj@suse.de>
21280
21281 * po/ru.po: Update Russion translation from translation project.
21282
2a27fd6d
JM
212832012-10-30 Joseph Myers <joseph@codesourcery.com>
21284
8627a232
JM
21285 [BZ #14152]
21286 [BZ #14783]
21287 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
21288 result and shift together with sticky bit instead of replicating
21289 round-to-nearest rounding.
21290 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21291 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21292 * math/libm-test.inc (fma_test): Add more tests. Do not permit
21293 missing underflow exceptions.
21294 (fma_test_towardzero): Add more tests.
21295 (fma_test_downward): Likewise.
21296 (fma_test_upward): Likewise.
21297
2a27fd6d
JM
21298 [BZ #14047]
21299 * sysdeps/generic/tininess.h: New file.
21300 * sysdeps/i386/tininess.h: Likewise.
21301 * sysdeps/sh/tininess.h: Likewise.
21302 * sysdeps/x86_64/tininess.h: Likewise.
21303 * stdlib/tst-strtod-underflow.c: Likewise.
21304 * stdlib/tst-tininess.c: Likewise.
21305 * stdlib/strtod_l.c: Include <tininess.h>.
21306 (round_and_return): Do not set errno for exact underflow cases.
21307 Force an underflow exception when setting errno for underflow.
21308 Determine underflow based on rounding to normal precision if
21309 TININESS_AFTER_ROUNDING.
21310 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
21311 ERANGE for exact underflow cases.
21312 * stdlib/Makefile (tests): Add tst-tininess and
21313 tst-strtod-underflow.
21314 ($(objpfx)tst-tininess): Use $(link-libm).
21315 ($(objpfx)tst-strtod-underflow): Likewise.
21316
e7170363
AJ
213172012-10-30 Andreas Jaeger <aj@suse.de>
21318
e5088dc6
AJ
21319 [BZ#14767]
21320 * elf/Makefile (tests): Remove conditional for have-initfini-array
21321 since this is now always required and the variable does not exist
21322 anymore.
21323 (tests-static): Likewise.
21324 (modules-names): Likewise.
21325
e7170363 21326 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
21327
21328 * elf/tst-array1.c (fini_array): Make writeable so that it can be
21329 merged with constructor/destructor.
21330 (init_array): Likewise.
21331 * elf/tst-array2dep.c (fini_array): Likewise.
21332 (init_array): Likewise.
21333
60457d8a
MF
213342012-10-29 Mike Frysinger <vapier@gentoo.org>
21335
21336 * manual/message.texi: Delete @cartouche tags.
21337
8bece752
PT
213382012-10-29 Pino Toscano <toscano.pino@tiscali.it>
21339
94ce799f
PT
21340 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
21341 EOPNOTSUPP.
21342 * sysdeps/mach/hurd/fsync.c: Likewise.
21343
8bece752
PT
21344 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
21345 [_POSIX_REALTIME_SIGNALS]: Change condition to
21346 [_POSIX_REALTIME_SIGNALS > 0].
21347
86ebe6b1
AJ
213482012-10-27 Andreas Jaeger <aj@suse.de>
21349
21350 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
21351 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
21352 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
21353 [__WORDSIZE != 64]: Likewise.
21354
54399c08
L
213552012-10-26 H.J. Lu <hongjiu.lu@intel.com>
21356
21357 * iconvdata/tst-table.sh: Remove ${SHELL}.
21358 * iconvdata/tst-tables.sh: Likewise.
21359
e2211bed
DM
213602012-10-25 David S. Miller <davem@davemloft.net>
21361
21362 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21363 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
21364 of strtoull.
21365
f303f97c
DM
21366 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
21367 ifunc-impl-list.c
21368 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
21369 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
21370 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
21371 file.
21372
1e9d84cd
RM
213732012-10-25 Roland McGrath <roland@hack.frob.com>
21374
21375 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21376 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
21377 __getdirentries.
21378
df381762
JM
213792012-10-25 Joseph Myers <joseph@codesourcery.com>
21380 Jim Blandy <jimb@codesourcery.com>
21381
21382 * scripts/cross-test-ssh.sh: New file.
21383 * manual/install.texi (Configuring and compiling): Document use of
21384 cross-test-ssh.sh.
21385 * INSTALL: Regenerated.
21386
bff64913
PT
213872012-10-25 Pino Toscano <toscano.pino@tiscali.it>
21388
21389 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
21390 EOPNOTSUPP.
21391
25fe8932
JM
213922012-10-25 Joseph Myers <joseph@codesourcery.com>
21393
21394 * Makeconfig (run-program-prefix): Fix comment.
21395
cc1290d0
JM
213962012-10-24 Joseph Myers <joseph@codesourcery.com>
21397 Jim Blandy <jimb@codesourcery.com>
21398
21399 * Makeconfig (test-wrapper): New variable,
21400 (test-wrapper-env): Likewise.
21401 [$(cross-compiling) = yes && $(test-wrapper) != ""]
21402 (run-built-tests): Define to yes.
21403 (run-program-prefix): Use $(test-wrapper).
21404 (built-program-cmd): Likewise.
21405 * Rules (make-test-out): Use $(test-wrapper-env) and
21406 $(host-built-program-cmd).
21407 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
21408 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
21409 tst-pathopt.sh.
21410 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
21411 $(test-wrapper-env) to tst-rtld-load-self.sh.
21412 ($(objpfx)order2.out): Use $(test-wrapper).
21413 ($(objpfx)tst-initorder.out): Likewise.
21414 ($(objpfx)tst-initorder2.out): Likewise.
21415 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
21416 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
21417 (test_wrapper_env): New variable. Use it to run ld.so.
21418 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
21419 Use it to run ld.so.
21420 (test_wrapper_env): Likewise.
21421 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
21422 $(test-wrapper) to run-iconv-test.sh.
21423 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
21424 (ICONV): Use $test_wrapper.
21425 * posix/Makefile ($(objpfx)globtest.out): Pass
21426 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
21427 globtest.sh, not $(run-program-prefix).
21428 * posix/globtest.sh (run_via_rtld_prefix): New variable.
21429 (test_wrapper): Likewise.
21430 (test_wrapper_env): Likewise. Use it to run globtest with HOME
21431 set together with run_via_rtld_prefix.
21432 (run_program_prefix): Define in terms of test_wrapper and
21433 run_via_rtld_prefix.
21434
6e6249d0
RM
214352012-10-24 Roland McGrath <roland@hack.frob.com>
21436
21437 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
21438 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
21439 Targets removed.
21440
21441 [BZ #14743]
21442 * include/time.h: Remove librt_hidden_proto (clock_gettime).
21443 Declare __clock_getres, __clock_gettime, __clock_settime,
21444 __clock_nanosleep, and __clock_getcpuclockid.
21445 * rt/clock_gettime.c: Define __clock_gettime as an alias.
21446 Remove librt_hidden_def (clock_gettime).
21447 * sysdeps/unix/clock_gettime.c: Likewise.
21448 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
21449 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
21450 * rt/clock_getres.c: Define __clock_getres as an alias.
21451 * sysdeps/posix/clock_getres.c: Likewise.
21452 * rt/clock_settime.c: Define __clock_settime as an alias.
21453 * sysdeps/unix/clock_settime.c: Likewise.
21454 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
21455 * sysdeps/unix/clock_nanosleep.c: Likewise.
21456 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
21457 * rt/clock-compat.c: New file.
21458 * rt/Makefile (librt-routines): Add clock-compat and move
21459 $(clock-routines) to ...
21460 (routines): ... here, new variable.
21461 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
21462 Don't add get_clockfreq here.
21463 * rt/Versions (libc: GLIBC_2.17): New version set.
21464 Add clock_* symbols here.
21465 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
21466 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
21467 (GLIBC_2.17): Add clock_* symbols.
21468 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
21469 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
21470 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
21471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21472 Likewise.
21473 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21474 Likewise.
21475 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
21476 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
21477 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
21478 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
21479 * NEWS: Mention the move.
21480
21481 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
21482 Use __open, __read, __close rather than their public counterparts.
21483 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21484 (__get_clockfreq_via_cpuinfo): Likewise.
21485 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
21486 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
21487
21488 * config.h.in (HAVE_IFUNC): New #undef.
21489 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
21490 was successful.
21491 * configure: Regenerated.
21492
0cae3f4b
MF
214932012-10-24 Mike Frysinger <vapier@gentoo.org>
21494
21495 * configure.in: Move READELF check to start of file.
21496 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
21497 libc_cv_asm_gnu_indirect_function in the process.
21498 * configure: Regenerated.
21499
8175a253
MF
215002012-10-24 Mike Frysinger <vapier@gentoo.org>
21501
21502 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
21503 send the output to /dev/null.
21504 (libc_cv_cc_with_libunwind): Likewise.
21505 (libc_cv_as_noexecstack): Likewise.
21506 * configure: Regenerate.
21507
0708a7d1
JM
215082012-10-24 Joseph Myers <joseph@codesourcery.com>
21509
10b40d85
JM
21510 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
21511
0708a7d1
JM
21512 * posix/globtest.sh (TMPDIR): Do not set.
21513 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
21514 (testout): Likewise.
21515
9fddec1a
AJ
215162012-10-24 Andreas Jaeger <aj@suse.de>
21517
3a8db22f
AJ
21518 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
21519 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
21520 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
21521 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
21522 posix_fadvise64, posix_fallocate64.
21523
9fddec1a
AJ
21524 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
21525 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
21526 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
21527 Likewise.
21528 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
21529 Likewise.
21530 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
21531
21532 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
21533 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
21534 <bits/fcntl-linux.h>.
21535 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
21536
21537 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
21538 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
21539 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
21540 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
21541 [__WORDSIZE != 64]: Likewise.
21542
ebfd1bbd
JM
215432012-10-23 Joseph Myers <joseph@codesourcery.com>
21544
03ac099f
JM
21545 * Makeconfig (run-built-tests): New variable.
21546 * Rules [$(cross-compiling) = yes]: Change condition to
21547 [$(run-built-tests) = no].
21548 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
21549 to [$(run-built-tests) = yes].
21550 * elf/Makefile [$(cross-compiling) = no]: Likewise
21551 * grp/Makefile [$(cross-compiling) = no]: Likewise.
21552 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
21553 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
21554 * intl/Makefile [$(cross-compiling) = no]: Likewise.
21555 * io/Makefile [$(cross-compiling) = no]: Likewise.
21556 * libio/Makefile [$(cross-compiling) = no]: Likewise.
21557 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
21558 * misc/Makefile [$(cross-compiling) = no]: Likewise.
21559 * posix/Makefile [$(cross-compiling) = no]: Likewise.
21560 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
21561 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
21562 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
21563 * string/Makefile [$(cross-compiling) = no]: Likewise.
21564
ebfd1bbd
JM
21565 * posix/Makefile ($(objpfx)globtest.out): Pass
21566 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
21567 $(rtld-installed-name).
21568 * posix/globtest.sh (elf_objpfx): Remove variable.
21569 (rtld_installed_name): Likewise.
21570 (library_path): Likewise.
21571 (run_program_prefix): New variable. Use for running globtest
21572 binary.
21573
166bca24
JB
215742012-10-23 Jim Blandy <jimb@codesourcery.com>
21575 Joseph Myers <joseph@codesourcery.com>
21576
21577 * Makeconfig (host-built-program-cmd): New variable.
21578 * elf/Makefile (tst-stackguard1-ARGS): Use
21579 $(host-built-program-cmd).
21580 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
21581 (tst-spawn-ARGS): Likewise.
21582 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
21583
88866099
JM
215842012-10-23 Joseph Myers <joseph@codesourcery.com>
21585 Jim Blandy <jimb@codesourcery.com>
21586
21587 * Makeconfig (run-via-rtld-prefix): New variable.
21588 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
21589 (built-program-cmd): Likewise.
21590
b4b4c296
AJ
215912012-10-22 Andreas Jaeger <aj@suse.de>
21592
21593 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
21594 __O_RSYNC if it exists, otherwise to O_SYNC.
21595
6fb54a22
JB
215962012-10-22 Jim Blandy <jimb@codesourcery.com>
21597 Joseph Myers <joseph@codesourcery.com>
21598
21599 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
21600 /dev/null.
21601 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
21602 from /dev/null
21603 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
21604 /dev/null.
21605
481b90b9
AJ
216062012-10-22 Andreas Jaeger <aj@suse.de>
21607
2a0e2669
AJ
21608 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
21609 Define always.
21610 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
21611
76e38f9a
AJ
21612 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21613 bits/fcntl-linux.h.
21614
7cd37b43
AJ
21615 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
21616 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
21617
481b90b9
AJ
21618 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
21619 to __O_LARGEFILE.
21620 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
21621 to __O_LARGEFILE.
21622
aba75984
JB
216232012-10-21 Jim Blandy <jimb@codesourcery.com>
21624 Joseph Myers <joseph@codesourcery.com>
21625
21626 * config.make.in (NM): New variable.
21627
88d4247f
AJ
216282012-10-21 Andreas Jaeger <aj@suse.de>
21629
21630 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
21631 definitions and declarations that are provided by
21632 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
21633
f2eed205
L
216342012-10-20 H.J. Lu <hongjiu.lu@intel.com>
21635
21636 [BZ #14683]
21637 * elf/Makefile (tests-static): Add tst-leaks1-static.
21638 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
21639 ($(objpfx)tst-leaks1-static): New rule.
21640 ($(objpfx)tst-leaks1-static-mem): Likewise.
21641 (tst-leaks1-static-ENV): New macro.
21642 * elf/dl-open.c (dl_open_worker): Check the main application
21643 only if SHARED is defined.
21644 * elf/tst-leaks1-static.c: New file.
21645
335e6931
AJ
216462012-10-20 Andreas Jaeger <aj@suse.de>
21647
21648 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
21649 generic values for Linux.
21650 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
21651 and declarations that are provided by <bits/fcntl-linux.h> and
21652 include <bits/fcntl-linux.h>.
21653 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21654 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21655
ac5c94d3
RM
216562012-10-20 Roland McGrath <roland@hack.frob.com>
21657
21658 * io/fcntl.h: Move include of <bits/types.h> to the top and
21659 include it unconditionally.
21660
de54b33a
L
216612012-10-20 H.J. Lu <hongjiu.lu@intel.com>
21662
228cfb01
L
21663 * wcsmbs/Makefile (tests-ifunc): New variable.
21664 (tests): Add $(tests-ifunc).
21665 * wcsmbs/test-wcschr-ifunc.c: New file.
21666 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
21667 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
21668 * wcsmbs/test-wcslen-ifunc.c: Likewise.
21669 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
21670 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
21671
69f07e5f
L
21672 * string/Makefile (tests-ifunc): New variable.
21673 (tests): Add $(tests-ifunc).
21674 * string/test-memccpy.c (TEST_NAME): New macro.
21675 * string/test-memchr.c (TEST_NAME): Likewise.
21676 * string/test-memcmp.c (TEST_NAME): Likewise.
21677 * string/test-memcpy.c (TEST_NAME): Likewise.
21678 * string/test-memmem.c (TEST_NAME): Likewise.
21679 * string/test-memmove.c (TEST_NAME): Likewise.
21680 * string/test-memset.c (TEST_NAME): Likewise.
21681 * string/test-rawmemchr.c (TEST_NAME): Likewise.
21682 * string/test-stpcpy.c (TEST_NAME): Likewise.
21683 * string/test-stpncpy.c (TEST_NAME): Likewise.
21684 * string/test-strcasecmp.c (TEST_NAME): Likewise.
21685 * string/test-strcasestr.c (TEST_NAME): Likewise.
21686 * string/test-strcat.c (TEST_NAME): Likewise.
21687 * string/test-strchr.c (TEST_NAME): Likewise.
21688 * string/test-strcmp.c(TEST_NAME): Likewise.
21689 * string/test-strcpy.c (TEST_NAME): Likewise.
21690 * string/test-strcspn.c (TEST_NAME): Likewise.
21691 * string/test-strlen.c (TEST_NAME): Likewise.
21692 * string/test-strncasecmp.c (TEST_NAME): Likewise.
21693 * string/test-strncmp.c (TEST_NAME): Likewise.
21694 * string/test-strncpy.c (TEST_NAME): Likewise.
21695 * string/test-strnlen.c (TEST_NAME): Likewise.
21696 * string/test-strpbrk.c (TEST_NAME): Likewise.
21697 * string/test-strrchr.c (TEST_NAME): Likewise.
21698 * string/test-strspn.c (TEST_NAME): Likewise.
21699 * string/test-strstr.c (TEST_NAME): Likewise.
21700 * string/test-bcopy-ifunc.c: New file.
21701 * string/test-bzero-ifunc.c: Likewise.
21702 * string/test-memccpy-ifunc.c: Likewise.
21703 * string/test-memchr-ifunc.c: Likewise.
21704 * string/test-memcmp-ifunc.c: Likewise.
21705 * string/test-memcpy-ifunc.c: Likewise.
21706 * string/test-memmem-ifunc.c: Likewise.
21707 * string/test-memmove-ifunc.c: Likewise.
21708 * string/test-mempcpy-ifunc.c: Likewise.
21709 * string/test-memset-ifunc.c: Likewise.
21710 * string/test-rawmemchr-ifunc.c: Likewise.
21711 * string/test-stpcpy-ifunc.c: Likewise.
21712 * string/test-stpncpy-ifunc.c: Likewise.
21713 * string/test-strcasecmp-ifunc.c: Likewise.
21714 * string/test-strcasestr-ifunc.c: Likewise.
21715 * string/test-strcat-ifunc.c: Likewise.
21716 * string/test-strchr-ifunc.c: Likewise.
21717 * string/test-strchrnul-ifunc.c: Likewise.
21718 * string/test-strcmp-ifunc.c: Likewise.
21719 * string/test-strcpy-ifunc.c: Likewise.
21720 * string/test-strcspn-ifunc.c: Likewise.
21721 * string/test-strlen-ifunc.c: Likewise.
21722 * string/test-strncasecmp-ifunc.c: Likewise.
21723 * string/test-strncat-ifunc.c: Likewise.
21724 * string/test-strncmp-ifunc.c: Likewise.
21725 * string/test-strncpy-ifunc.c: Likewise.
21726 * string/test-strnlen-ifunc.c: Likewise.
21727 * string/test-strpbrk-ifunc.c: Likewise.
21728 * string/test-strrchr-ifunc.c: Likewise.
21729 * string/test-strspn-ifunc.c: Likewise.
21730 * string/test-strstr-ifunc.c: Likewise.
21731
de54b33a
L
21732 * debug/Makefile (tests-ifunc): New variable.
21733 (tests): Add $(tests-ifunc).
21734 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
21735 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
21736 * debug/test-stpcpy_chk-ifunc.c: New file.
21737 * debug/test-strcpy_chk-ifunc.c: Likewise.
21738
88481c16
SP
217392012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
21740
21741 [BZ #13601]
21742 * elf/dl-load.c (open_verify): Retry read if the entire ELF
21743 header is not read in.
21744
135948bd
JM
217452012-10-19 Joseph Myers <joseph@codesourcery.com>
21746
89f1c388
JM
21747 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
21748 script to $(SHELL) as $<. Pass $(common-objpfx) to script
21749 directly. Pass built executable to script as
21750 $(built-program-cmd).
21751 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
21752 $testprogram without using LD_LIBRARY_PATH and $ldso.
21753
e40a0d21
JM
21754 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
21755 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
21756 $(rtld-installed-name).
21757 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
21758 (rtld_installed_name): Likewise.
21759 (library_path): Likewise.
21760 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
21761 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
21762 $(run-program-prefix) to tst-tables.sh.
21763 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
21764 it to run tst-table-from and tst-table-to.
21765 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
21766 Pass it to tst-table.sh.
21767 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
21768 $(run-program-prefix) to tst-gettext.sh.
21769 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
21770 tst-translit.sh.
21771 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
21772 tst-gettext2.sh.
21773 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
21774 to run tst-gettext.
21775 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
21776 to run tst-gettext2.
21777 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
21778 to run tst-translit.
21779 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
21780 $(run-program-prefix) to tst-mtrace.sh.
21781 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
21782 to run tst-mtrace.
21783 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
21784 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
21785 $(rtld-installed-name).
21786 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
21787 (rtld_installed_name): Likewise.
21788 (run_program_prefix): New variable. Use it to run wordexp-test.
21789
728e272a
JM
21790 * Makeconfig (ARCH): Remove all definitions.
21791 (machine): Likewise.
21792 [ARCH]: Remove conditional code.
21793 [!objdir]: Give error.
21794 [!objdir] (objpfx): Remove.
21795 [!objdir] (common-objpfx): Likewise.
21796 [!objdir] (common-objdir): Likewise.
21797 * configure.in (config_makefile): Remove. Hardcode Makefile in
21798 AC_CONFIG_FILES call.
21799 * configure: Regenerated.
21800
d528cdcf
JM
21801 [BZ #13888]
21802 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
21803 or TMPDIR.
21804 (testout): Likewise.
21805
135948bd
JM
21806 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
21807 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
21808 $(rtld-installed-name).
21809 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
21810 (rtld_installed_name): Likwise.
21811 (runit): Remove function.
21812 (run_getconf): New variable, Use it for running getconf binary.
21813
38c78296
L
218142012-10-18 H.J. Lu <hongjiu.lu@intel.com>
21815
21816 [BZ #14716]
21817 * string/test-memmem.c (check_result): New function.
21818 (do_one_test): Use it.
21819 (check1): New function.
21820 (test_main): Use it.
21821
d077f65f
MT
218222012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
21823
21824 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
21825
ced52c71
JM
218262012-10-18 Joseph Myers <joseph@codesourcery.com>
21827
21828 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
21829 (_G_LSEEK64): Likewise.
21830 (_G_MMAP64): Likewise.
21831 (_G_FSTAT64): Likewise.
21832 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
21833 (_G_LSEEK64): Likewise.
21834 (_G_MMAP64): Likewise.
21835 (_G_FSTAT64): Likewise.
21836 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
21837 unconditional. Call __mmap64 directly.
21838 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
21839 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
21840 __lseek64 directly.
21841 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
21842 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
21843 __mmap64 directly.
21844 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
21845 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
21846 __lseek64 directly.
21847 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
21848 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
21849 __lseek64 directly.
21850 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
21851 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
21852 __lseek64 directly.
21853 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
21854 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
21855 __fxstat64 directly.
21856 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
21857 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
21858 unconditional.
21859 (freopen64) [!_G_OPEN64]: Remove conditional code.
21860 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
21861 unconditional.
21862 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
21863 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
21864 unconditional.
21865 (ftello64) [!_G_LSEEK64]: Remove conditional code.
21866 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
21867 unconditional.
21868 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
21869 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
21870 unconditional.
21871 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
21872 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
21873 unconditional.
21874 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
21875 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
21876 unconditional.
21877 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
21878 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
21879 unconditional.
21880 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
21881
b741de23
SP
218822012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
21883
21884 [BZ #12140]
21885 * manual/memory.texi (Malloc Tunable Parameters): Add note
21886 about free list pointers overwriting some perturb bytes.
21887 Wording suggested by Roland McGrath.
21888
f9b9d9c9
JM
218892012-10-17 Joseph Myers <joseph@codesourcery.com>
21890
21891 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
21892 (lgamma_test): Likewise.
21893 (tgamma_test): Likewise.
21894
172a631a
FW
218952012-10-16 Florian Weimer <fweimer@redhat.com>
21896
21897 [BZ #14700]
21898 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
21899 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
21900
e9f37252
MK
219012012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
21902
21903 * NEWS: Mention BZ #14716.
21904 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
21905 when removing AVAILABLE1_USES_J macro.
21906
d394eb74
L
219072012-10-12 H.J. Lu <hongjiu.lu@intel.com>
21908
21909 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
21910 (__bswap_64): __uint64_t for unsigned 64-bit int.
21911
ca38dc17
AS
219122012-10-12 Andreas Schwab <schwab@linux-m68k.org>
21913
21914 * include/string.h (memmem): Declare libc hidden alias.
21915 * string/memmem.c (memmem): Define libc hidden alias.
21916 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
21917 __read, __close instead of open, read, close.
21918
9a387d1f
L
219192012-10-11 H.J. Lu <hongjiu.lu@intel.com>
21920
ac49ecaf
L
21921 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
21922 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
21923 global and hidden.
21924 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
21925 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
21926 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
21927 Likewise.
21928 (__rawmemchr_sse2): Likewise.
21929 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
21930 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
21931 (__strchr_sse2): Likewise.
21932 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
21933 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
21934 (__strcasecmp_sse2): Likewise.
21935 (__strncasecmp_sse2): Likewise.
21936 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
21937 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
21938 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
21939 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
21940 (__strrchr_sse2): Likewise.
21941 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
21942 ifunc-impl-list.c.
21943 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
21944 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
21945 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
21946 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
21947 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
21948 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
21949 * sysdeps/x86_64/multiarch/memset.S: Likewise.
21950 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
21951 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
21952 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
21953 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
21954 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
21955 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
21956 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
21957 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
21958 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
21959 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
21960 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
21961 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
21962 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
21963 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
21964 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
21965 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
21966 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
21967 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
21968 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
21969 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
21970 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
21971 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
21972 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
21973
b090e8ea
L
21974 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
21975 global and hidden.
21976 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
21977 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
21978 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
21979 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
21980 Likewise.
21981 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
21982 Likewise.
21983 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
21984 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
21985 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
21986 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
21987 ifunc-impl-list.c.
21988 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
21989 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
21990 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
21991 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
21992 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
21993 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
21994 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
21995 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
21996 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
21997 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
21998 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
21999 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
22000 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
22001 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
22002 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
22003 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
22004 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
22005 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
22006 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
22007 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
22008 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
22009 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
22010 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
22011 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
22012 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
22013 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
22014 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
22015 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
22016 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
22017 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
22018 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
22019 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
22020 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
22021 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
22022 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
22023 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
22024 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
22025 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
22026 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
22027 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
22028 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
22029
11dd4af6
L
22030 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
22031 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
22032 * include/ifunc-impl-list.h: New file.
22033 * misc/ifunc-impl-list.c: Likewise.
22034 * misc/Makefile (routines): Add ifunc-impl-list.
22035 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
22036 * string/test-string.h: Include <ifunc-impl-list.h>.
22037 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
22038 impl_array): New variables.
22039 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
22040 are defined.
22041 (test_init): Call __libc_ifunc_impl_list to initialize
22042 func_list if TEST_IFUNC and TEST_NAME are defined.
22043
9a387d1f
L
22044 * string/Makefile (strop-tests): Add bcopy and bzero.
22045 * string/test-bcopy.c: New file.
22046 * string/test-bzero.c: Likewise.
22047 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
22048 defined.
22049 * string/test-memset.c: Support bzero test if TEST_BZERO is
22050 defined.
22051 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
22052 __libc_memmove.
22053 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
22054 __libc_memset.
22055 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
22056 of memset.
22057
472371b9
JM
220582012-10-10 Joseph Myers <joseph@codesourcery.com>
22059
1e4a9536
JM
22060 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
22061 * configure: Regenerated.
22062
d173d12e
JM
22063 * Makeconfig (+link-static-before-libc): Don't include
22064 $(link-static-libc).
22065
472371b9
JM
22066 * libio/libio.h (_IO_pos_t): Remove.
22067
89a3ad0b
AO
220682012-10-10 Alexandre Oliva <aoliva@redhat.com>
22069
22070 * NEWS: Add note about FIPS mode. Wording suggested by Roland
22071 McGrath.
22072
e7451425
AO
220732012-10-10 Alexandre Oliva <aoliva@redhat.com>
22074
22075 * crypt/crypt-entry.c: Include fips-private.h.
22076 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
22077 * crypt/md5c-test.c (main): Tolerate disabled MD5.
22078 * sysdeps/unix/sysv/linux/fips-private.h: New file.
22079 * sysdeps/generic/fips-private.h: New file, dummy fallback.
22080
4ba74a35
AO
220812012-10-10 Alexandre Oliva <aoliva@redhat.com>
22082
22083 * crypt/crypt-private.h: Include stdbool.h.
22084 (_ufc_setup_salt_r): Return bool.
22085 * crypt/crypt-entry.c: Include errno.h.
22086 (__crypt_r): Return NULL with EINVAL for bad salt.
22087 * crypt/crypt_util.c (bad_for_salt): New.
22088 (_ufc_setup_salt_r): Check that salt is long enough and within
22089 the specified alphabet.
22090 * crypt/badsalttest.c: New file.
22091 * crypt/Makefile (tests): Add it.
22092 ($(objpfx)badsalttest): New.
22093
f96f1242
MK
220942012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
22095
22096 * NEWS: Add entry for BZ #14602.
22097
0e8e0c1c
JM
220982012-10-09 Joseph Myers <joseph@codesourcery.com>
22099
22100 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
22101 type-generic.
22102 * math/libm-test.inc: Update comment listing what functions and
22103 macros are tested.
22104 (isgreater_test): New function.
22105 (isgreaterequal_test): Likewise.
22106 (isless_test): Likewise.
22107 (islessequal_test): Likewise.
22108 (islessgreater_test): Likewise.
22109 (isunordered_test): Likewise.
22110 (main): Call the new functions.
22111
273edc5e
RM
221122012-10-09 Roland McGrath <roland@hack.frob.com>
22113
b8493de0
RM
22114 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
22115 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
22116 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
22117 * sysdeps/i386/configure: Regenerated.
22118 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
22119 * sysdeps/mach/configure: Regenerated.
22120 * sysdeps/mach/hurd/configure: Regenerated.
22121 * sysdeps/powerpc/configure: Regenerated.
22122 * sysdeps/powerpc/powerpc32/configure: Regenerated.
22123 * sysdeps/powerpc/powerpc64/configure: Regenerated.
22124 * sysdeps/s390/s390-32/configure: Regenerated.
22125 * sysdeps/s390/s390-64/configure: Regenerated.
22126 * sysdeps/sh/configure: Regenerated.
22127 * sysdeps/sparc/configure: Regenerated.
22128 * sysdeps/unix/sysv/linux/configure: Regenerated.
22129 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
22130 * sysdeps/x86_64/configure: Regenerated.
22131
273edc5e
RM
22132 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
22133 defined. Don't check if MAP is NULL.
22134
c8450f70
JM
221352012-10-09 Joseph Myers <joseph@codesourcery.com>
22136
22137 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
22138 (_G_stat64): Likewise.
22139 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
22140 (_G_stat64): Likewise.
22141 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
22142 instead of struct _G_stat64.
22143 * libio/fileops.c (mmap_remap_check): Likewise.
22144 (decide_maybe_mmap): Likewise.
22145 (_IO_new_file_seekoff): Likewise.
22146 (_IO_file_stat): Likewise.
22147 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
22148 _G_off64_t.
22149 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
22150 instead of struct _G_stat64.
22151 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
22152
57e605ba
MK
221532012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
22154
22155 [BZ #14602]
22156 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
22157 Replace with ...
22158 (CHECK_EOL): New macro.
22159 (two_way_short_needle): Check beginning of haystack for EOL. Use
22160 CHECK_EOL.
22161 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
22162 Replace with CHECK_EOL.
22163 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
22164 Replace with CHECK_EOL.
22165
ef1bb361
JM
221662012-10-08 Joseph Myers <joseph@codesourcery.com>
22167
22168 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
22169 type-generic.
22170 * math/libm-test.inc: Update comment listing what functions and
22171 macros are tested.
22172 (finite_test): New function.
22173 (isinf_test): Likewise.
22174 (isnan_test): Likewise.
22175 (fpclassify_test): Test subnormal input.
22176 (isfinite_test): Likewise.
22177 (isnormal_test): Likewise.
22178 (main): Call the new functions.
22179
55f11534
JN
221802012-10-08 Jonathan Nieder <jrnieder@gmail.com>
22181
22182 [BZ #14660]
22183 * Makerules (%.dynsym): Force C locale when running
22184 $(OBJDUMP) --dynamic-syms.
22185
1ab29350
AS
221862012-10-08 Andreas Schwab <schwab@linux-m68k.org>
22187
22188 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
22189 <stdint.h>.
22190
f1ecb7ef
DM
221912012-10-06 David S. Miller <davem@davemloft.net>
22192
22193 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
22194 upper 32-bits of the length value in %o2 since we use branch-on-register
22195 tests which consider the entire 64-bit register.
22196
5d41d91a
L
221972012-10-06 H.J. Lu <hongjiu.lu@intel.com>
22198
22199 * string/test-strstr.c (check2): Add a test for page boundary.
22200
3baddb72
DM
222012012-10-05 David S. Miller <davem@davemloft.net>
22202
22203 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
22204 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
22205 file.
22206 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
22207 sysdep_routines.
22208 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
22209 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
22210 and bzero when HWCAP_SPARC_CRYPTO is present.
22211
9cee5585
L
222122012-10-05 H.J. Lu <hongjiu.lu@intel.com>
22213
d7e0dab9
L
22214 [BZ #14602]
22215 * string/test-strstr.c (check2): New function.
22216 (test_main): Call check2.
22217
03759f47
L
22218 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
22219 and bug-strchr1.
22220 * string/bug-strcasestr1.c (do_test): Moved to ...
22221 * string/test-strcasestr.c (check1): Here. New function.
22222 (do_one_test): Break out result checking code into ...
22223 (check_result): This. New function.
22224 (do_one_test): Call check_result.
22225 (test_main): Call check1.
22226 * string/bug-strchr1.c (do_test): Moved to ...
22227 * string/test-strchr.c (check1): Here. New function.
22228 (do_one_test): Break out result checking code into ...
22229 (check_result): This. New function.
22230 (do_one_test): Call check_result.
22231 (test_main): Call check1.
22232 * string/bug-strstr1.c (main): Moved to ...
046f153e 22233 * string/test-strstr.c (check1): Here. New function.
03759f47
L
22234 (do_one_test): Break out result checking code into ...
22235 (check_result): This. New function.
22236 (do_one_test): Call check_result.
22237 (test_main): Call check1.
22238 * string/bug-strcasestr1.c: Removed.
22239 * string/bug-strchr1.c: Likewise.
22240 * string/bug-strstr1.c: Likewise.
22241
53cea63e
L
22242 * elf/Makefile (dl-routines): Add hwcaps.
22243 * elf/dl-support.c (_dl_important_hwcaps): Removed.
22244 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
22245 (_dl_important_hwcaps): Moved to ...
22246 * elf/dl-hwcaps.c: Here. New file.
22247 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
22248
9cee5585 22249 [BZ #14557]
bb859b06
L
22250 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
22251 if IS_IN_rtld isn't defined.
22252
9cee5585
L
22253 * elf/dl-support.c (_dl_sysinfo_map): New.
22254 Include "get-dynamic-info.h" and "setup-vdso.h".
22255 (_dl_non_dynamic_init): Call setup_vdso.
22256 * elf/dynamic-link.h: Don't include <assert.h>.
22257 (elf_get_dynamic_info): Moved to ...
22258 * elf/get-dynamic-info.h: Here. New file.
22259 * elf/dynamic-link.h: Include "get-dynamic-info.h".
22260 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
22261 * elf/setup-vdso.h: Here. New file.
22262 * elf/rtld.c: Include "setup-vdso.h".
22263 (dl_main): Call setup_vdso.
22264
23c31b76
JM
222652012-10-05 Joseph Myers <joseph@codesourcery.com>
22266
28234b07
JM
22267 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
22268 creal in comment listing functions tested. List finite, isinf,
22269 isnan, isless, islessequal, isgreater, isgreaterequal,
22270 islessgreater, isunordered, lgamma_r and pow10 as functions and
22271 macros not tested. Mention which functions not tested are aliases
22272 for other functions. Fix typo. Note that signs of NaNs are not
22273 tested.
22274
23c31b76
JM
22275 * scripts/config.guess: Update from config.git.
22276 * scripts/config.sub: Likewise.
22277
9043e228
RM
222782012-10-04 Roland McGrath <roland@hack.frob.com>
22279
22280 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
22281 * misc/madvise.c (madvise): Renamed to __madvise.
22282 Make madvise a weak alias.
22283 * include/sys/mman.h: Declare __madvise.
22284 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
22285 * sysdeps/unix/syscalls.list
22286 (madvise): Make __madvise the strong name, and madvise a weak alias.
22287 * sysdeps/unix/sysv/linux/syscalls.list
22288 (madvise, mmap): Remove redundant entries.
22289 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
22290 * malloc/malloc.c (mtrim): Likewise.
22291 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
22292
f57f8055
RM
222932012-10-03 Roland McGrath <roland@hack.frob.com>
22294
22295 * sysdeps/mach/hurd/dl-cache.c: File removed.
22296 * config.h.in (USE_LDCONFIG): New #undef.
22297 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
22298 * configure: Regenerated.
22299 * elf/Makefile (dl-routines): Add dl-cache only under
22300 [$(use-ldconfig) = yes].
22301 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
22302 cache on [USE_LDCONFIG].
22303 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
22304 [USE_LDCONFIG].
22305 * elf/rtld.c (dl_main): Likewise.
22306
5bb0c10a
PT
223072012-10-03 Pino Toscano <toscano.pino@tiscali.it>
22308
22309 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
22310 _SC_LEVEL4_CACHE_LINESIZE.
22311
010188c6
RM
223122012-10-03 Roland McGrath <roland@hack.frob.com>
22313
22314 * sysdeps/unix/bsd/confstr.h: File removed.
22315
b6c5ec07
AO
223162012-10-02 Alexandre Oliva <aoliva@redhat.com>
22317
22318 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
22319 sys/sdt-config.h.
22320
408223d4
RM
223212012-10-02 Roland McGrath <roland@hack.frob.com>
22322
22323 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
22324 Make 'mapoff' field ElfW(Off) rather than off_t.
22325
bb9510dc
DL
223262012-10-02 Dmitry V. Levin <ldv@altlinux.org>
22327
fc997c6e
DL
22328 * nscd/Makefile: Remove nscd-cflags and all its users.
22329 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
22330 (CFLAGS-nonlib): Add compiler flags for nscd modules.
22331
bb9510dc
DL
22332 [BZ #10631]
22333 * malloc.c (malloc_printerr): Clarify error message.
22334
05699367
L
223352012-10-02 H.J. Lu <hongjiu.lu@intel.com>
22336
22337 [BZ #14648]
22338 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22339 Set bit_FMA_Usable if FMA is supported.
22340 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
22341 macro.
22342 (bit_FMA4_Usable): Updated.
22343 (index_FMA_Usable): New macro.
22344 (CPUID_FMA): Likewise
22345 (HAS_FMA): Defined with bit_FMA_Usable.
22346
51367701
RM
223472012-10-01 Roland McGrath <roland@hack.frob.com>
22348
22349 * bits/types.h (__swblk_t): Type removed.
22350 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
22351 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
22352 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22353 (__SWBLK_T_TYPE): Likewise.
22354 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
22355 (__SWBLK_T_TYPE): Likewise.
22356 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22357 (__SWBLK_T_TYPE): Likewise.
22358 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22359 (__SWBLK_T_TYPE): Likewise.
22360
4d57bf63 223612012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 22362 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
22363
22364 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
22365 (xdr_mapname): Use YPMAXMAP as maxsize.
22366 (xdr_peername): Use YPMAXPEER as maxsize.
22367 (xdr_keydat): Use YPAXRECORD as maxsize.
22368 (xdr_valdat): Use YPMAXRECORD as maxsize.
22369
93c65d43
RM
223702012-10-01 Roland McGrath <roland@hack.frob.com>
22371
497a03d6
RM
22372 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
22373
93c65d43
RM
22374 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
22375 * csu/init-first.c: ... here.
22376 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
22377 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
22378 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
22379 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
22380 * sysdeps/i386/init-first.c: File removed.
22381 * sysdeps/sh/init-first.c: File removed.
22382
bec749fd
JM
223832012-10-01 Joseph Myers <joseph@codesourcery.com>
22384
22385 [BZ #14645]
22386 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
22387 if x * y might underflow to zero and z is zero.
22388 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22389 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22390 * math/libm-test.inc (min_subnorm_value): New variable.
22391 (fma_test): Add more tests.
22392 (fma_test_towardzero): Likewise.
22393 (fma_test_downward): Likewise
22394 (fma_test_upward): Likewise.
22395 (initialize): Set min_subnorm_value.
22396
8ec5b013
JM
223972012-09-29 Joseph Myers <joseph@codesourcery.com>
22398
22399 [BZ #14638]
22400 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
22401 0 + 0.
22402 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
22403 mode for addition resulting in exact zero.
22404 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
22405 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
22406 exact 0 + 0.
22407 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
22408 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22409 * math/libm-test.inc (fma_test): Add more tests.
22410 (fma_test_towardzero): New function.
22411 (fma_test_downward): Likewise.
22412 (fma_test_upward): Likewise.
22413 (main): Call the new functions.
22414
b1fa802e
DM
224152012-09-28 David S. Miller <davem@davemloft.net>
22416
22417 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
22418
d3b9fd9e
RM
224192012-09-28 Roland McGrath <roland@hack.frob.com>
22420
ea4d37b3
RM
22421 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
22422 instead of SIGALRM.
22423
ac51c949
RM
22424 * sysdeps/gnu/_G_config.h: Moved to ...
22425 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
22426 * sysdeps/mach/hurd/_G_config.h: Moved to ...
22427 * sysdeps/generic/_G_config.h: ... here.
22428
28c195f7
RM
22429 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
22430
848917f9
RM
22431 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
22432
6bacf05b
RM
22433 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
22434 Conditionalize target on [libnss_test1.so-version].
22435
91363dbb
RM
22436 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
22437
cc87f7d8
RM
22438 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
22439 (elfobjdir): Move out of conditionals.
22440
b1c608fe
RM
22441 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
22442 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
22443 (__nss_lookup_function): Conditionalize label remove_from_tree on
22444 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 22445
1d9a6d96
DM
224462012-09-28 David S. Miller <davem@davemloft.net>
22447
22448 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
22449 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
22450 file.
22451 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
22452 sysdep_routines.
22453 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
22454 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
22455 when HWCAP_SPARC_CRYPTO is present.
22456
72581615
PT
224572012-09-28 Pino Toscano <toscano.pino@tiscali.it>
22458
22459 * io/tst-mknodat.c: Create a FIFO instead of a socket.
22460
715a900c
JL
224612012-09-28 Andreas Schwab <schwab@linux-m68k.org>
22462
22463 [BZ #6530]
22464 * stdio-common/vfprintf.c (process_string_arg): Revert
22465 2000-07-22 change.
22466
224672011-09-28 Jonathan Nieder <jrnieder@gmail.com>
22468
22469 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
22470 for testcase.
22471 * stdio-common/tst-sprintf.c: Include <locale.h>
22472 (main): Test sprintf's handling of incomplete multibyte
22473 characters.
22474
9bac1d86
L
224752012-09-28 H.J. Lu <hongjiu.lu@intel.com>
22476
22477 * elf/dl-runtime.c (VERSYMIDX): Removed.
22478 * elf/dl-version.c (VERSYMIDX): Likewise.
22479 * elf/do-rel.h (VERSYMIDX): Likewise.
22480 (VALIDX): Likewise.
22481 * elf/dynamic-link.h (VERSYMIDX): Likewise.
22482 * elf/rtld.c (VALIDX): Likewise.
22483 (ADDRIDX): Likewise.
9bac1d86
L
22484 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
22485 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
22486 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
22487 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
22488 (VALIDX): Likewise.
22489 (ADDRIDX): Likewise.
9bac1d86 22490
b31606c0
PT
224912012-09-28 Pino Toscano <toscano.pino@tiscali.it>
22492
22493 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
22494
11541177
JL
224952012-09-28 Dmitry V. Levin <ldv@altlinux.org>
22496
22497 [BZ #11438]
22498 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
22499 to global scope.
22500 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
22501 addresses are in the same scope as 192.0.2/24.
22502 * posix/gai.conf: Document new scope table defaults.
22503
adb26fae
SP
225042012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22505
22506 [BZ #5298]
22507 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
22508 for ftell. Compute offsets from write pointers instead.
22509 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
22510
4573c6b0
SP
225112012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22512
22513 [BZ #14543]
22514 * libio/Makefile (tests): New test case tst-fseek.
22515 * libio/tst-fseek.c: New test case to verify that fseek/ftell
22516 combination works in wide mode.
22517 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
22518 state when the external buffer state changes.
22519
aa9bbfe6
DM
225202012-09-27 David S. Miller <davem@davemloft.net>
22521
22522 [BZ #14376]
22523 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
22524 pass reloc->r_addend in as the 'high' argument to
22525 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
22526
784421e7
DM
22527 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22528
c39bc8b8
PT
225292012-09-28 Pino Toscano <toscano.pino@tiscali.it>
22530
22531 * rt/tst-aio2.c: Include <pthread.h>.
22532 * rt/tst-aio3.c: Likewise.
22533
1ccc2399
SE
225342012-09-27 Steve Ellcey <sellcey@mips.com>
22535
22536 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
22537
31ed4153
L
225382012-09-27 H.J. Lu <hongjiu.lu@intel.com>
22539
25f5f885
L
22540 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
22541 contents on [SHARED].
31ed4153 22542
b7bfe116
MP
225432012-09-26 Marek Polacek <polacek@redhat.com>
22544
22545 [BZ #14530]
22546 [BZ #13741]
22547 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
22548 for C++ and GCC <4.3 as well as for non GCC compilers.
22549
43c4edba
MT
225502012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
22551
22552 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22553
6a1bf82f
RM
225542012-09-25 Roland McGrath <roland@hack.frob.com>
22555
22556 * Makefile.in (all, install): Declare with .PHONY.
22557 Reported by Michael Hope <michael.hope@linaro.org>.
22558
8ad11b9a
TMQMF
225592012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22560
22561 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
22562 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
22563 system header.
22564 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
22565 Likewise.
22566 (sydep_routines): Add the new and the internal functions.
22567 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
22568 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
22569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
22570 (GLIBC_2.17): Add the new function.
22571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
22572 (GLIBC_2.17): Likewise.
22573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
22574 (GLIBC_2.17): Likewise.
22575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
22576 (GLIBC_2.17): Likewise.
22577 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
22578
7e2fca8d
AM
225792012-09-25 Alan Modra <amodra@gmail.com>
22580
22581 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
22582 Add release barrier before setting once_control to say
22583 initialisation is done. Add hints on lwarx. Use macro in
22584 place of isync.
22585 (clear_once_control): Add release barrier.
22586
b87c4b24
JM
225872012-09-25 Joseph Myers <joseph@codesourcery.com>
22588
d032e0d2
JM
22589 [BZ #13629]
22590 * math/s_clog.c (__clog): Handle more values close to |z| = 1
22591 specially.
22592 * math/s_clog10.c (__clog10): Likewise.
22593 * math/s_clog10f.c (__clog10f): Likewise.
22594 * math/s_clog10l.c (__clog10l): Likewise.
22595 * math/s_clogf.c (__clogf): Likewise.
22596 * math/s_clogl.c (__clogl): Likewise.
22597 * math/Makefile (libm-calls): Add x2y2m1.
22598 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
22599 (__x2y2m1): Likewise.
22600 (__x2y2m1l): Likewise.
22601 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
22602 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
22603 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
22604 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
22605 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
22606 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
22607 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
22608 * sysdeps/i386/fpu/libm-test-ulps: Update.
22609 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22610
b87c4b24
JM
22611 [BZ #14621]
22612 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
22613 int as type of variable DEPTH.
22614 (glob): Use size_t instead of int as type of variables NEWCOUNT
22615 and OLD_PATHC.
22616
6d3bf199
LD
226172012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22618
22bf5c17
LD
22619 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
22620 Add s_sincosf-sse2.
22621 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
22622 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
22623 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
22624 macros for using routine as __sincosf_ia32.
22625 Use macro for function declaration and weak_alias.
22626 * sysdeps/i386/fpu/libm-test-ulps: Update.
22627
22628 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
22629 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22630
22631 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
22632 subnormal argument.
22633 * math/s_cexpf.c (__cexpf): Likewise.
22634 * math/s_csinf.c (__csinf): Likewise.
22635 * math/s_csinhf.c (__csinhf): Likewise.
22636 * math/s_ctanf.c (__ctanf): Likewise.
22637 * math/s_ctanhf.c (__ctanhf): Likewise.
22638 * math/s_ccosh.c (__ccoshf): Likewise.
22639 * math/s_cexp.c (__cexpl): Likewise.
22640 * math/s_csin.c (__csin): Likewise.
22641 * math/s_csinh.c (__csinh): Likewise.
22642 * math/s_ctan.c (__ctan): Likewise.
22643 * math/s_ctanh.c (ctanh): Likewise.
22644 * math/s_ccoshl.c (__ccoshl): Likewise.
22645 * math/s_cexpl.c (__cexpl): Likewise.
22646 * math/s_csinl.c (__csinl): Likewise.
22647 * math/s_csinhl.c (__csinhl): Likewise.
22648 * math/s_ctanl.c (__ctanl): Likewise.
22649 * math/s_ctanhl.c (__ctanhl): Likewise.
22650
203e5603
JM
226512012-09-25 Joseph Myers <joseph@codesourcery.com>
22652
22653 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
22654 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
22655 (_IO_off_t): Define to __off_t, not _G_off_t.
22656 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
22657 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
22658 (_IO_wint_t): Define to wint_t, not _G_wint_t.
22659 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
22660 type of __dummy and __dummy2 fields.
22661 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
22662 (_G_ssize_t): Likewise.
22663 (_G_off_t): Likewise.
22664 (_G_pid_t): Likewise.
22665 (_G_uid_t): Likewise.
22666 (_G_wchar_t): Likewise.
22667 (_G_wint_t): Likewise.
22668 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
22669 (_G_ssize_t): Likewise.
22670 (_G_off_t): Likewise.
22671 (_G_pid_t): Likewise.
22672 (_G_uid_t): Likewise.
22673 (_G_wchar_t): Likewise.
22674 (_G_wint_t): Likewise.
22675 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
22676 (_G_ssize_t): Likewise.
22677 (_G_off_t): Likewise.
22678 (_G_pid_t): Likewise.
22679 (_G_uid_t): Likewise.
22680 (_G_wchar_t): Likewise.
22681 (_G_wint_t): Likewise.
22682
9fab36eb
SP
226832012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
22684
22685 * malloc/arena.c: Include malloc-sysdep.h.
22686 (shrink_heap): Use check_may_shrink_heap to decide if madvise
22687 is sufficient to shrink the heap or an unmap is needed.
22688 * sysdeps/generic/malloc-sysdep.h: New file. Define
22689 new function check_may_shrink_heap.
22690 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
22691 new function check_may_shrink_heap.
22692
2b4f00d1
SP
226932012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
22694
22695 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
22696 comments.
22697
9a9028b1
DL
226982012-09-24 Dmitry V. Levin <ldv@altlinux.org>
22699
57c69bef
DL
22700 * catgets/test-gencat.sh: Add "set -e".
22701 * elf/tst-pathopt.sh: Likewise.
22702 * grp/tst_fgetgrent.sh: Likewise.
22703 * iconvdata/run-iconv-test.sh: Likewise.
22704 * intl/tst-gettext.sh: Likewise.
22705 * intl/tst-gettext2.sh: Likewise.
22706 * intl/tst-gettext4.sh: Likewise.
22707 * intl/tst-gettext6.sh: Likewise.
22708 * intl/tst-translit.sh: Likewise.
22709 * io/ftwtest-sh: Likewise.
22710 * libio/test-freopen.sh: Likewise.
22711 * malloc/tst-mtrace.sh: Likewise.
22712 * posix/globtest.sh: Likewise.
22713 * posix/tst-getconf.sh: Likewise.
22714 * posix/wordexp-tst.sh: Likewise.
22715 * stdio-common/tst-printf.sh: Likewise.
22716 * stdio-common/tst-unbputc.sh: Likewise.
22717 * stdlib/tst-fmtmsg.sh: Likewise.
22718 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
22719 * catgets/Makefile: Do not specify -e option when running
22720 testsuite shell scripts.
22721 * elf/Makefile: Likewise.
22722 * grp/Makefile: Likewise.
22723 * iconvdata/Makefile: Likewise.
22724 * intl/Makefile: Likewise.
22725 * io/Makefile: Likewise.
22726 * libio/Makefile: Likewise.
22727 * malloc/Makefile: Likewise.
22728 * posix/Makefile: Likewise.
22729 * stdio-common/Makefile: Likewise.
22730 * stdlib/Makefile: Likewise.
22731 * sysdeps/x86_64/Makefile: Likewise.
22732
9a9028b1
DL
22733 * io/ftwtest-sh: Add copyright header.
22734 * posix/globtest.sh: Likewise.
22735 * posix/tst-getconf.sh: Likewise.
22736 * posix/wordexp-tst.sh: Likewise.
22737 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
22738
ced6f16e
L
227392012-09-24 H.J. Lu <hongjiu.lu@intel.com>
22740
94b32c39
L
22741 [BZ #13679]
22742 * Makeconfig (+link): Defined as $(+link-static) if
22743 $(build-shared) isn't yes.
22744 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
22745 isn't yes.
22746 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
22747
189e935b
L
22748 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
22749
ced6f16e
L
22750 [BZ #14562]
22751 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
22752 new chunk size with MALLOC_ALIGN_MASK.
22753
a9f8e53a
JM
227542012-09-24 Joseph Myers <joseph@codesourcery.com>
22755
22756 [BZ #5044]
22757 * stdio-common/printf_fphex.c: Include <stdbool.h> and
22758 <rounding-mode.h>.
22759 (__printf_fphex): Determine rounding using get_rounding_mode and
22760 round_away.
22761 * stdio-common/tst-printf-round.c (struct hex_test): New
22762 structure.
22763 (hex_tests): New variable.
22764 (test_hex_in_one_mode): New function.
22765 (do_test): Also run tests for hex float output.
22766
43153109
JM
227672012-09-21 Joseph Myers <joseph@codesourcery.com>
22768
22769 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
22770 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
22771 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
22772 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
22773 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
22774 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
22775 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
22776 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
22777
8a26625d
JM
227782012-09-20 Joseph Myers <joseph@codesourcery.com>
22779
22780 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
22781 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
22782 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
22783 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
22784
f3fd569c
DL
227852012-09-19 Dmitry V. Levin <ldv@altlinux.org>
22786
22787 [BZ #14579]
22788 * elf/rtld.c (dl_main): Limit the check for self loading to normal
22789 mode only.
22790 * elf/tst-rtld-load-self.sh: New test.
22791 * elf/Makefile: Run it.
22792
63bbedd4
JM
227932012-09-18 Joseph Myers <joseph@codesourcery.com>
22794
22795 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
22796 (tst-writev-ENV): Remove.
22797 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
22798
626f8b6a
CM
227992012-09-17 Chris Metcalf <cmetcalf@tilera.com>
22800
22801 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
22802
b7aaa4d6
JM
228032012-09-17 Joseph Myers <joseph@codesourcery.com>
22804
22805 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
22806 unconditional.
22807 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
22808 Likewise.
22809 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
22810 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
22811 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
22812 Likewise.
22813
65513990
L
228142012-09-14 H.J. Lu <hongjiu.lu@intel.com>
22815
22816 [BZ #14587]
22817 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
22818 * config.make.in (have-cpp-asm-debuginfo): Removed.
22819 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
22820 * configure: Regenerated.
22821
784761be
JM
228222012-09-14 Joseph Myers <joseph@codesourcery.com>
22823
22824 [BZ #5044]
22825 * stdio-common/printf_fp.c: Include <stdbool.h> and
22826 <rounding-mode.h>.
22827 (___printf_fp): Determine rounding using get_rounding_mode and
22828 round_away.
22829 * stdio-common/tst-printf-round.c: New file.
22830 * stdio-common/Makefile (tests): Add tst-printf-round.
22831 (link-libm): New variable.
22832 ($(objpfx)tst-printf-round): Depend in $(link-libm).
22833
9503345f
L
228342012-09-13 H.J. Lu <hongjiu.lu@intel.com>
22835
22836 [BZ #14576]
22837 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
22838 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
22839 Likewise.
22840 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
22841 Likewise.
22842
ad35fc00
JM
228432012-09-13 Joseph Myers <joseph@codesourcery.com>
22844
22845 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
22846 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
22847 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
22848 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
22849
6c9b0f68
JM
228502012-09-12 Joseph Myers <joseph@codesourcery.com>
22851
22852 [BZ #14518]
22853 * include/rounding-mode.h: New file.
22854 * sysdeps/generic/get-rounding-mode.h: Likewise.
22855 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
22856 * stdlib/strtod_l.c: Include <rounding-mode.h>.
22857 (MAX_VALUE): New macro.
22858 (MIN_VALUE): Likewise.
22859 (overflow_value): New function.
22860 (underflow_value): Likewise.
22861 (round_and_return): Use overflow_value and underflow_value to
22862 determine return values in overflow and underflow cases. Use
22863 round_away to determine rounding depending on rounding mode.
22864 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
22865 determine return values in overflow and underflow cases.
22866 * stdlib/tst-strtod-round.c: Include <fenv.h>.
22867 (struct test_results): New structure.
22868 (struct test): Use struct test_results to store expected results
22869 for all rounding modes.
22870 (TEST): Include expected results for all rounding modes.
22871 (test_in_one_mode): New function.
22872 (do_test): Use test_in_one_mode to compute and check results.
22873 Check results for all rounding modes.
22874 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
22875 $(link-libm).
22876
19fcedd5
AM
228772012-12-09 Allan McRae <allan@archlinux.org>
22878
1e9d84cd 22879 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 22880
8bbfd2f1
JM
228812012-09-11 Joseph Myers <joseph@codesourcery.com>
22882
22883 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
22884 (_G_int32_t): Likewise.
22885 (_G_uint16_t): Likewise.
22886 (_G_uint32_t): Likewise.
22887 (_G_HAVE_BOOL): Likewise.
22888 (_G_HAVE_ATEXIT): Likewise.
22889 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
22890 (_G_HAVE_IO_FILE_OPEN): Likewise.
22891 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
22892 (_G_int32_t): Likewise.
22893 (_G_uint16_t): Likewise.
22894 (_G_uint32_t): Likewise.
22895 (_G_HAVE_BOOL): Likewise.
22896 (_G_HAVE_ATEXIT): Likewise.
22897 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
22898 (_G_HAVE_IO_FILE_OPEN): Likewise.
22899 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
22900 (_G_int32_t): Likewise.
22901 (_G_uint16_t): Likewise.
22902 (_G_uint32_t): Likewise.
22903 (_G_HAVE_BOOL): Likewise.
22904 (_G_HAVE_ATEXIT): Likewise.
22905 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
22906 (_G_HAVE_IO_FILE_OPEN): Likewise.
22907
b1dc5912
L
229082012-09-11 H.J. Lu <hongjiu.lu@intel.com>
22909
22910 * csu/libc-tls.c: Update copyright years.
22911
0e886ef9
JM
229122012-09-10 Joseph Myers <joseph@codesourcery.com>
22913
28361c5e
JM
22914 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
22915 [!_G_USING_THUNKS]: Remove conditional code.
22916 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
22917 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
22918
0e886ef9
JM
22919 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
22920 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
22921 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
22922 (_G_VTABLE_LABEL_PREFIX): Likewise.
22923 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
22924 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
22925 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
22926 (_G_VTABLE_LABEL_PREFIX): Likewise.
22927 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
22928 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
22929 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
22930 (_G_VTABLE_LABEL_PREFIX): Likewise.
22931 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
22932
bcba7aa2
L
229332012-09-10 H.J. Lu <hongjiu.lu@intel.com>
22934
22935 * libio/Makefile: Include ../Makeconfig before tests.
22936 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
22937 only if $(build-shared) is yes.
22938
06585ee8
L
22939 * iconv/gconv_db.c: Update copyright years.
22940
80ccd52c
LD
229412012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22942
22943 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
22944 unwind info if defined PIC. Fix special cases description.
22945 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
22946
22947 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
22948 DP_HI_MASK entry.
22949 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
22950
691bc9c1
L
229512012-09-07 H.J. Lu <hongjiu.lu@intel.com>
22952
3d9b46b3
L
22953 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
22954
de2139a9
L
22955 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
22956 is NULL.
22957
5ca78dd0
L
22958 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
22959 (LDLIBS-tst-chk4): This.
22960 (LDFLAGS-tst-chk5): Renamed to ...
22961 (LDLIBS-tst-chk5): This.
22962 (LDFLAGS-tst-chk6): Renamed to ...
22963 (LDLIBS-tst-chk6): This.
22964 (LDFLAGS-tst-lfschk4): Renamed to ...
22965 (LDLIBS-tst-lfschk4): This.
22966 (LDFLAGS-tst-lfschk5): Renamed to ...
22967 (LDLIBS-tst-lfschk5): This.
22968 (LDFLAGS-tst-lfschk6): Renamed to ...
22969 (LDLIBS-tst-lfschk6): This.
22970
691bc9c1
L
22971 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
22972 on $(common-objpfx)soversions.mk.
22973
65cafb1c
JM
229742012-09-07 Joseph Myers <joseph@codesourcery.com>
22975
22976 [BZ #10014]
22977 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
22978 example host name.
22979
c78ab094
SP
229802012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
22981
22982 * malloc/arena.c (arena_get_retry): New function that gets
22983 another arena for the caller to try its request on.
22984 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
22985 current arena cannot fulfill the request.
22986 (__libc_memalign): Likewise.
22987 (__libc_memalign): Likewise.
22988 (__libc_pvalloc): Likewise.
22989 (__libc_calloc): Likewise.
22990
01f49f59
JT
229912012-09-05 John Tobey <john.tobey@gmail.com>
22992
22993 [BZ #13542]
22994 * manual/arith.texi (Operations on Complex): Fix description
22995 of carg branch cut.
22996
4c23fed5
JM
229972012-09-06 Joseph Myers <joseph@codesourcery.com>
22998
1d3c8572
JM
22999 [BZ #10014]
23000 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
23001 host name.
23002
4c23fed5
JM
23003 [BZ #10038]
23004 * manual/memory.texi (Memory): Make order of menu items match
23005 order of sections.
23006
04570aaa
L
230072012-09-06 H.J. Lu <hongjiu.lu@intel.com>
23008
23009 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
23010 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
23011 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
23012
b80af2f4
L
230132012-09-06 H.J. Lu <hongjiu.lu@intel.com>
23014
23015 * csu/libc-tls.c (static_dtv): Renamed to ...
23016 (_dl_static_dtv): This. Make it global.
23017 (_dl_initial_dtv): Removed.
23018 (__libc_setup_tls): Updated.
23019 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
23020 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
23021 DL_INITIAL_DTV.
23022
2abe9f15
PM
230232012-09-06 Petr Machata <pmachata@redhat.com>
23024
23025 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
23026 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
23027 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
23028 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
23029
0948c3af
L
230302012-09-06 H.J. Lu <hongjiu.lu@intel.com>
23031
23032 [BZ #14545]
23033 * csu/libc-tls.c (_dl_initial_dtv): New variable.
23034 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
23035 freeing dtv[-1].
23036
a5055ad1
L
230372012-09-06 H.J. Lu <hongjiu.lu@intel.com>
23038
23039 [BZ #14544]
23040 * Makeconfig (link-static-before-libc): Replace $(+prector)
23041 with $(+prectorT).
23042 (link-static-after-libc): Replace $(+postctor) with
23043 $(+postctorT).
23044 (link-bounded): Replace $(+prector)/$(+postctor) with
23045 $(+prectorT)/$(+postctorT).
23046 (+prectorT): New macro.
23047 (+postctorT): Likewise.
23048
ed8c2ecd
JM
230492012-09-06 Joseph Myers <joseph@codesourcery.com>
23050
23051 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
23052 (round_str): Handle values above the maximum for IBM long double
23053 as inexact.
23054 * stdlib/tst-strtod-round.c (tests): Regenerated.
23055
14c996c8
AK
230562012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23057
23058 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
23059 assembler flag.
23060 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
23061 zarch_nohighgprs around the zarch optimized routines.
23062 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
23063 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
23064 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
23065 for zarch.
23066
430d6ce6
DM
230672012-09-05 David S. Miller <davem@davemloft.net>
23068
23069 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23070
ff04dda4
DM
23071 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
23072 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
23073 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
23074 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
23075 entries.
23076
24d4e01b
AO
230772012-09-05 Alexandre Oliva <aoliva@redhat.com>
23078
23079 * malloc/arena.c: Fold copyright years.
23080 * malloc/mcheck.c, malloc/memusage.c: Likewise.
23081
61d58174
AO
230822012-09-05 Alexandre Oliva <aoliva@redhat.com>
23083
23084 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
23085
20196a5e
AO
230862012-09-05 Alexandre Oliva <aoliva@redhat.com>
23087
23088 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
23089
5c447383
AO
230902012-09-05 Alexandre Oliva <aoliva@redhat.com>
23091
23092 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
23093 change internal state upon failure.
23094
fad64255
AO
230952012-09-05 Alexandre Oliva <aoliva@redhat.com>
23096
23097 * malloc/mcheck.c (mcheck_check_all): Fix typo.
23098 * malloc/memusage.c (mmap): Likewise.
23099 (mmap64, mremap): Likewise. Adjust name in comment.
23100
1ffb8c90
SP
231012012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
23102
23103 * libio/fileops.c: Fix typos in comments.
23104 * libio/oldfileops.c: Likewise.
23105 * libio/wfileops.c: Likewise.
23106
6ef9cc37
SP
231072012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
23108
23109 [BZ #1349]
23110 * malloc/Makefile (tests): Add tst-malloc-usable test case.
23111 (tst-malloc-usable-ENV): Set environment for test case.
23112 * malloc/hooks.c (malloc_check_get_size): New function to get
23113 requested size.
23114 * malloc/malloc.c (musable): Use malloc_check_get_size.
23115 * malloc/tst-malloc-usable.c: New test case.
23116
4d038ae3
AS
231172012-09-05 Andreas Schwab <schwab@linux-m68k.org>
23118
23119 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
23120
c4e85184
AM
231212012-09-05 Allan McRae <allan@archlinux.org>
23122
b9dafc56 23123 [BZ #13966]
c4e85184
AM
23124 * configure.in (CXX_SYSINCLUDES): Use compiler output to
23125 determine header location.
23126 * configure: Regenerated.
23127
e1343020
AS
231282012-09-05 Andreas Schwab <schwab@linux-m68k.org>
23129
23130 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
23131 float format.
23132 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
23133 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
23134 format.
e1343020
AS
23135 (test): Regenerate.
23136
0a9f1987
DM
231372012-09-04 David S. Miller <davem@davemloft.net>
23138
23139 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
23140 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
23141 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
23142
29237804
FW
231432012-09-04 Florian Weimer <fweimer@redhat.com>
23144
23145 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
23146 failures.
23147
edb3cb88
FW
23148 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
23149
60160d83
JM
231502012-09-04 Joseph Myers <joseph@codesourcery.com>
23151
23152 [BZ #9914]
23153 * libio/iogetdelim.c: Include <limits.h>.
23154 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
23155 + len + 1 would overflow.
23156
bcd6c8dc
AJ
231572012-09-03 Andreas Jaeger <aj@suse.de>
23158
23159 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23160 * sysdeps/i386/fpu/libm-test-ulps: Update.
23161
4ffffbd2
LD
231622012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23163
23164 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
23165 Add s_sinf-sse2, s_conf-sse2.
23166
23167 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
23168 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
23169 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
23170 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
23171
23172 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
23173 for using routine as __sinf_ia32.
23174 Use macro for function declaration and weak_alias.
23175 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
23176 for using routine as __cosf_ia32.
23177 Use macro for function declaration and weak_alias.
23178
23179 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
23180 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
23181
23182 * sysdeps/x86_64/fpu/s_sinf.S: New file.
23183 * sysdeps/x86_64/fpu/s_cosf.S: New file.
23184 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23185
23186 * math/libm-test.inc (cos_test): Add more test cases.
23187 (sin_test): Likewise.
23188 (sincos_test): Likewise.
23189
511fa286
AK
231902012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23191
23192 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
23193 (IFUNC_RESOLVE): Make pointers to the specialized implementations
23194 hidden.
23195 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
23196
5f30cfec
L
231972012-09-02 H.J. Lu <hongjiu.lu@intel.com>
23198
23199 [BZ #14538]
23200 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
23201 first element of the GOT.
23202 (elf_machine_load_address): Return the difference between
23203 the runtime address of _DYNAMIC and elf_machine_dynamic ().
23204
0786794f
AM
232052012-09-01 Allan McRae <allan@archlinux.org>
23206
5f30cfec
L
23207 [BZ #13412]
23208 * configure.in (AWK): Require gawk version 3.0 or later.
23209 * configure: Regenerated.
0786794f 23210
26889eac
JM
232112012-09-01 Joseph Myers <joseph@codesourcery.com>
23212
23213 * sysdeps/unix/sysv/linux/kernel-features.h
23214 (__ASSUME_POSIX_CPU_TIMERS): Remove.
23215 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
23216 [__NR_clock_getres]: Make code unconditional.
23217 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
23218 (clock_getcpuclockid): Remove code left unreachable by removal of
23219 conditionals.
23220 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
23221 code unconditional.
23222 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
23223 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
23224 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
23225 Make code unconditional.
23226 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
23227 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
23228 * sysdeps/unix/sysv/linux/clock_settime.c
23229 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
23230 conditional code.
23231 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
23232 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
23233
d22e28b0
L
232342012-08-29 H.J. Lu <hongjiu.lu@intel.com>
23235
23236 [BZ #14476]
23237 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
23238 scripts/test-installation.pl.
23239
23240 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
23241 and $ld_so_version if it is set.
23242
050af9c4
SP
232432012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
23244
23245 [BZ #14516]
23246 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
23247 failure if reading from procfs failed.
23248 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
23249
ad845c0b
JM
232502012-08-27 Joseph Myers <joseph@codesourcery.com>
23251
23252 * sysdeps/unix/sysv/linux/kernel-features.h
23253 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
23254 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
23255 Remove conditional code.
23256 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23257 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
23258 Remove conditional code.
23259 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23260 * sysdeps/unix/sysv/linux/i386/fxstat.c
23261 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
23262 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23263 * sysdeps/unix/sysv/linux/i386/fxstatat.c
23264 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
23265 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23266 * sysdeps/unix/sysv/linux/i386/lxstat.c
23267 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
23268 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23269 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
23270 Remove conditional code.
23271 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23272 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
23273 Remove conditional code.
23274 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23275 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
23276 <kernel-features.h>.
23277 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
23278 Remove.
23279 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
23280 Remove conditional code.
23281 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23282 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
23283 Remove conditional.
23284
5dbf56af
MF
232852012-08-27 Mike Frysinger <vapier@gentoo.org>
23286
23287 [BZ #5400]
23288 * NEWS: Add fixed bug number.
23289
d6e70f43
JM
232902012-08-27 Joseph Myers <joseph@codesourcery.com>
23291
7efb4737
JM
23292 [BZ #14519]
23293 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
23294 underflowing exponent in case of negative sign.
23295 * stdlib/tst-strtod-round-data: Add more tests.
23296 * stdlib/tst-strtod-round.c (tests): Regenerated.
23297
af92131a
JM
23298 [BZ #3479]
23299 * stdlib/strtod_l.c (NDIG): Remove.
23300 (HEXNDIG): Likewise.
23301 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
23302 smallest representable value.
23303 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
23304 lie within an exact representation of 1/2 ulp of the result.
23305 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
23306 unconditionally.
23307 (TENS_P9_IDX): Define unconditionally.
23308 (TENS_P9_SIZE): Likewise.
23309 (TENS_P10_IDX): Likewise.
23310 (TENS_P10_SIZE): Likewise.
23311 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
23312 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
23313 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
23314 entries for 10^2^13 and 10^2^14.
23315 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
23316 (TENS_P13_IDX): Define.
23317 (TENS_P13_SIZE): Likewise.
23318 (TENS_P14_IDX): Likewise.
23319 (TENS_P14_SIZE): Likewise.
23320 (_fpioconst_pow10): Change array size to
23321 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
23322 unconditional.
23323 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
23324 1024]: Add entries for 10^2^13 and 10^2^14.
23325 [LAST_POW10 > _LAST_POW10]: Remove #error.
23326 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
23327 (_fpioconst_pow10): Change array size to
23328 FPIOCONST_POW10_ARRAY_SIZE.
23329 * stdlib/gen-fpioconst.c: New file.
23330 * stdlib/gen-tst-strtod-round.c: Likewise.
23331 * stdlib/tst-strtod-round-data: Likewise.
23332 * stdlib/tst-strtod-round.c: Likewise.
23333 * stdlib/Makefile (tests): Add tst-strtod-round.
23334
d6e70f43
JM
23335 [BZ #14459]
23336 * stdlib/strtod_l.c: Include <stdint.h>.
23337 (NDEBUG): Do not define.
23338 (round_and_return): Change EXPONENT parameter to type intmax_t.
23339 Rearrange calculations to avoid internal overflow possibilities.
23340 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
23341 Rearrange calculations to avoid internal overflow possibilities.
23342 Assert that number fits inside MPNSIZE limbs.
23343 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
23344 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
23345 calculations and add assertions to avoid internal overflow
23346 possibilities. Add casts to avoid signed/unsigned operations.
23347 * stdlib/tst-strtod-overflow.c: New file.
23348 * stdlib/Makefile (tests): Add tst-strtod-overflow.
23349
1f529f7d
MP
233502012-08-25 Marek Polacek <polacek@redhat.com>
23351
23352 * time/time.h: Fix some typos in comments.
23353
59a629f1
RM
233542012-08-23 Roland McGrath <roland@hack.frob.com>
23355
23356 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
23357 * posix/tst-rfc3484-2.c: Likewise.
23358 * posix/tst-rfc3484-3.c: Likewise.
23359
d3bafbc9
SM
233602012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
23361
23362 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
23363 (EF_ARM_ABI_FLOAT_HARD): Likewise.
23364
4efcc022
JM
233652012-08-23 Joseph Myers <joseph@codesourcery.com>
23366
23367 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
23368 #include of fxstatat64.c.
23369
3cc3ef96
RM
233702012-08-22 Roland McGrath <roland@hack.frob.com>
23371
f04e2132
RM
23372 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
23373 * shadow/getspent_r.c: Likewise.
23374 * shadow/getspnam.c: Likewise.
23375 * shadow/getspnam_r.c: Likewise.
23376 * gshadow/getsgent.c: Likewise.
23377 * gshadow/getsgent_r.c: Likewise.
23378 * gshadow/getsgnam.c: Likewise.
23379 * gshadow/getsgnam_r.c: Likewise.
23380 * inet/getnetbyad.c: Likewise.
23381 * inet/getnetbyad_r.c: Likewise.
23382 * inet/getnetbynm.c: Likewise.
23383 * inet/getnetbynm_r.c: Likewise.
23384 * inet/getnetent.c: Likewise.
23385 * inet/getnetent_r.c: Likewise.
23386 * inet/getproto.c: Likewise.
23387 * inet/getproto_r.c: Likewise.
23388 * inet/getprtent.c: Likewise.
23389 * inet/getprtent_r.c: Likewise.
23390 * inet/getprtname.c: Likewise.
23391 * inet/getprtname_r.c: Likewise.
23392 * inet/getrpcbyname.c: Likewise.
23393 * inet/getrpcbyname_r.c: Likewise.
23394 * inet/getrpcbynumber.c: Likewise.
23395 * inet/getrpcbynumber_r.c: Likewise.
23396 * inet/getrpcent.c: Likewise.
23397 * inet/getrpcent_r.c: Likewise.
23398 * inet/getaliasent.c: Likewise.
23399 * inet/getaliasent_r.c: Likewise.
23400 * inet/getaliasname.c: Likewise.
23401 * inet/getaliasname_r.c: Likewise.
23402 * nscd/getgrgid_r.c: Likewise.
23403 * nscd/getgrnam_r.c: Likewise.
23404 * nscd/gethstbyad_r.c: Likewise.
23405 * nscd/gethstbynm3_r.c: Likewise.
23406 * nscd/getpwnam_r.c: Likewise.
23407 * nscd/getpwuid_r.c: Likewise.
23408 * nscd/getsrvbynm_r.c: Likewise.
23409 * nscd/getsrvbypt_r.c: Likewise.
23410 * nscd/gai.c: Likewise.
23411
c53d909c
RM
23412 * configure.in (build_nscd): New substituted variable, set
23413 by --disable-build-nscd and defaults to $use_nscd.
23414 * configure: Regenerated.
23415 * config.make.in (build-nscd): New substituted variable.
23416 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
23417 Change conditional to require [$(build-nscd) = yes] as well.
23418 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
23419
3cc3ef96
RM
23420 [BZ# 13696]
23421 * configure.in (use_nscd): New substituted variable, set by
23422 --disable-nscd. If enabled, define USE_NSCD.
23423 * configure: Regenerated.
23424 * config.h.in: Add USE_NSCD.
23425 * config.make.in (use-nscd): New substituted variable.
23426 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
23427 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
23428 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
23429 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
23430 (CFLAGS-getgrnam_r.c): Likewise.
23431 (CFLAGS-initgroups.c): Likewise.
23432 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
23433 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
23434 Variables removed.
23435 * inet/getnetgrent_r.c
23436 (nscd_setnetgrent): New function, broken out of ...
23437 (setnetgrent): ... here. Call it.
23438 (innetgr): Conditionalize nscd bits on [USE_NSCD].
23439 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
23440 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
23441 * nscd/Makefile (routines, aux): Move definitions after include of
23442 Makeconfig. Conditionalize on [$(use-nscd) != no].
23443 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
23444 Conditionalize on [USE_NSCD].
23445 (is_nscd, nscd_init_cb): Likewise.
23446 (nss_load_library): Conditionalize init callback on [USE_NSCD].
23447 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
23448 * nss/nss_db/db-init.c: Likewise.
23449 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
23450 [USE_NSCD].
23451 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
23452 (make_request): Use it.
23453 (cache_valid_p): New function.
23454 (__check_pf): Use it.
23455 * NEWS: Add item for --disable-nscd.
23456
07e51550
DL
234572012-08-22 Dmitry V. Levin <ldv@altlinux.org>
23458
23459 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
23460 to support sed >= 4.2.1-20-ga9bf076.
23461 * configure: Regenerated.
23462
35a5b08b
RM
234632012-08-22 Roland McGrath <roland@hack.frob.com>
23464
23465 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
23466 Conditionalize whole body on [IREL].
23467
8479f23a
JL
234682012-08-22 Jeff Law <law@redhat.com>
23469
23470 [BZ #14505]
23471 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
23472 if the family is PF_UNSPEC.
23473
48da0b21
MF
234742012-08-22 Mike Frysinger <vapier@gentoo.org>
23475
23476 * Makerules (lib-version): Rename from V.
23477 (install-lib-nosubdir): Change V to lib-version.
23478
15d0da8c
WS
234792012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
23480
23481 [BZ #14252]
23482 * powerpc32/power6/wcschr.c: New file.
23483 * powerpc32/power6/wcscpy.c: New file.
23484 * powerpc32/power6/wcsrchr.c: New file.
23485 * powerpc64/power6/wcschr.c: New file.
23486 * powerpc64/power6/wcscpy.c: New file.
23487 * powerpc64/power6/wcsrchr.c: New file.
23488
bcca0895
MK
234892012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
23490
23491 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
23492 (two_way_short_needle): Use it.
5a4aaa33
RM
23493 * string/strstr.c (AVAILABLE1_USES_J): Define.
23494 * string/strcasestr.c: Likewise.
99677e57
MK
23495
23496 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
23497 array references.
23498 * string/strcasestr.c (TOLOWER): Make side-effect safe.
23499
400726de
MK
23500 [BZ #11607]
23501 * NEWS: Add an entry.
23502 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
23503 define their defaults.
23504 (two_way_short_needle): Detect end-of-string on-the-fly.
23505 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
23506 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
23507 * string/bug-strcasestr1.c: New test.
23508 * string/Makefile: Run it.
23509
20a71f2c
MK
235102012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
23511
23512 [BZ #11607]
23513 * string/str-two-way.h (two_way_short_needle): Optimize matching of
23514 the first character.
23515
21ad0558
RM
235162012-08-21 Roland McGrath <roland@hack.frob.com>
23517
23518 * csu/elf-init.c (__libc_csu_irel): Function removed.
23519 * csu/libc-start.c (apply_irel): New function.
23520 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
23521
0e1d9911
JM
235222012-08-21 Joseph Myers <joseph@codesourcery.com>
23523
23524 * sysdeps/unix/sysv/linux/kernel-features.h
23525 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
23526 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
23527 <kernel-features.h>.
23528 [__NR_fadvise64_64]: Make code unconditional.
23529 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
23530 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
23531 !__NR_fadvise64_64)]: Likewise.
23532 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
23533 !__NR_fadvise64_64))]: Likewise.
23534 [__NR_fadvise64]: Make code unconditional.
23535 [!__NR_fadvise64]: Remove conditional code.
23536 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
23537 <kernel-features.h>.
23538 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
23539 unconditional.
23540 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
23541 conditional code.
23542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
23543 not include <kernel-features.h>.
23544 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
23545 unconditional.
23546 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
23547 conditional code.
23548 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
23549 include <kernel-features.h>.
23550 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
23551 unconditional.
23552 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
23553 conditional code.
23554
14a50c9d
WS
235552012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
23556
23557 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
23558 slight instruction rearrangements per scrollpipe analysis.
23559 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
23560
c0f4faf0
RM
235612012-08-20 Roland McGrath <roland@hack.frob.com>
23562
696da859
RM
23563 * manual/syslog.texi (syslog; vsyslog, closelog):
23564 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
23565 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
23566
c0f4faf0
RM
23567 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
23568 DSOCAPS to match condition on defining it.
23569
348363b2
JM
235702012-08-20 Joseph Myers <joseph@codesourcery.com>
23571
a35cbf28
JM
23572 * sysdeps/unix/sysv/linux/kernel-features.h
23573 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
23574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
23575 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
23576 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
23577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
23578 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
23579 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
23580 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
23581 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
23582 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
23583
445f7ecd
JM
23584 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
23585 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
23586
348363b2
JM
23587 * sysdeps/unix/sysv/linux/kernel-features.h
23588 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
23589 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
23590 unconditional.
23591 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
23592 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
23593 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
23594 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
23595 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
23596 Make code unconditional.
23597 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
23598 (__mmap64) [!__NR_mmap2]: Likewise.
23599 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
23600 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
23601 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
23602 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
23603 [__NR_mmap2]: Make code unconditional.
23604 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
23605 (__mmap64) [!__NR_mmap2]: Likewise.
23606
bc5bc0e5
AK
236072012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23608
23609 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
23610
88d506de
AJ
236112012-08-18 Andreas Jaeger <aj@suse.de>
23612
23613 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
23614
493387d2
MF
236152012-08-18 Mike Frysinger <vapier@gentoo.org>
23616
23617 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
23618 * include/unistd.h (__have_sock_cloexec): Likewise.
23619 (__have_pipe2): Likewise.
23620 (__have_dup3): Likewise.
23621
a277af22
MF
236222012-08-18 Mike Frysinger <vapier@gentoo.org>
23623
23624 [BZ #9685]
23625 * include/unistd.h (__have_pipe2): Change define into an extern int.
23626 (__have_dup3): Likewise.
23627 * socket/have_sock_cloexec.c: Include fcntl.h.
23628 (__have_pipe2): New variable.
23629 (__have_dup3): Likewise.
23630
fdab8fd3
MF
236312012-08-17 Mike Frysinger <vapier@gentoo.org>
23632
23633 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
23634
31035e80
MP
236352012-08-17 Marek Polacek <polacek@redhat.com>
23636
23637 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
23638 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
23639
3bd9e993
RM
236402012-08-17 Roland McGrath <roland@hack.frob.com>
23641
c91c505f
RM
23642 * configure.in: Add AC_SUBST for sysheaders.
23643 * configure: Regenerated.
23644 * config.make.in (sysheaders): New substituted variable.
23645
7c6f9d53
RM
23646 * sysdeps/unix/mkfifo.c: Moved ...
23647 * sysdeps/posix/mkfifo.c: ... here.
23648 * sysdeps/unix/mkfifoat.c: Moved ...
23649 * sysdeps/posix/mkfifoat.c: ... here.
23650
23651 * sysdeps/unix/utime.c: Moved ...
23652 * sysdeps/posix/utime.c: ... here.
23653
23654 * sysdeps/unix/time.c: Moved ...
23655 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
23656 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
23657 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
23658
23659 * sysdeps/unix/nice.c: Moved ...
23660 * sysdeps/posix/nice.c: ... here.
23661
23662 * sysdeps/unix/alarm.c: Moved ...
23663 * sysdeps/posix/alarm.c: ... here.
23664
3bd9e993
RM
23665 * intl/Makefile ($(codeset_mo)): Depend on the input file.
23666
d1f09384
JL
236672012-08-17 Jeff Law <law@redhat.com>
23668
23669 * intl/Makefile (codeset_mo): New variable.
23670 ($(codeset_mo)): New target.
23671 (tst-codeset.out): Depend on that. Remove explicit rule.
23672 (tst-gettext3.out, tst-gettext5.out): Likewise.
23673 (LOCPATH-ENV, tst-codeset-ENV): New variables.
23674 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
23675 * intl/tst-codeset.sh: Remove.
23676 * intl/tst-gettext3.sh: Likewise.
23677 * intl/tst-gettext5.sh: Likewise.
23678
2ae1ae5c
RM
236792012-08-17 Roland McGrath <roland@hack.frob.com>
23680
c31fdb83
RM
23681 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
23682 * sysdeps/unix/syscalls.list: ... here.
23683
a0844057
RM
23684 * sysdeps/posix/getaddrinfo.c
23685 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
23686 (gaiconf_init, gaiconf_reload): Use them.
23687 [!_STATBUF_ST_NSEC]
23688 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
23689 Define using time_t rather than struct timespec.
23690
750c1f2a
RM
23691 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
23692 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
23693 Macros removed.
23694 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
23695 [!NO_THREADS].
23696 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
23697 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
23698 Likewise.
23699
2ae1ae5c
RM
23700 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
23701 __libc_cleanup_push argument.
23702
e66a42f5
RM
23703 * bits/param.h: New file.
23704 * misc/sys/param.h: New file.
23705 * include/sys/param.h: New file.
23706 * misc/Makefile (headers): Add bits/param.h.
23707 * sysdeps/generic/sys/param.h: File removed.
23708 * sysdeps/unix/sysv/linux/bits/param.h: New file.
23709 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
23710 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 23711 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 23712
b7c08a66
RM
23713 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
23714 last change.
23715
b2e1c562
RM
23716 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
23717 [_IO_MTSAFE_IO].
23718 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
23719 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
23720 New macros.
23721
c75ccd4c
RM
23722 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
23723 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
23724 rather than -D_IO_MTSAFE_IO conditionally.
23725 * stdio-common/Makefile (CPPFLAGS): Likewise.
23726 * wcsmbs/Makefile (CPPFLAGS): Likewise.
23727 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
23728 Use $(libio-mtsafe).
23729 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
23730 of -D_IO_MTSAFE_IO.
23731 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
23732 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
23733 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
23734 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
23735 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
23736 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
23737 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
23738 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
23739 (CFLAGS-fread_u_chk.c): Likewise.
23740 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
23741 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
23742 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
23743 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
23744 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
23745 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
23746 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
23747 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
23748 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
23749
23750 * libio/Makefile: Test [$(libc-reentrant) = yes]
23751 instead of [$(filter %REENTRANT, $(defines)) nonempty].
23752
23753 * Makeconfig
23754 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
23755 * sysdeps/pthread/configure: File removed.
23756 * sysdeps/pthread/Makeconfig: New file.
23757 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
23758 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
23759
d9195db8
GB
237602012-08-16 Gary Benson <gbenson@redhat.com>
23761
23762 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
23763 unmapping the first object in a namespace.
23764
86466cd9
RM
237652012-08-16 Roland McGrath <roland@hack.frob.com>
23766
23767 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
23768 (__internal_setnetgrent): ... this. Add internal_function to
23769 definition. Add libc_hidden_def.
23770 (setnetgrent): Update caller.
23771 (internal_endnetgrent): Renamed to ...
23772 (__internal_endnetgrent): ... this. Add internal_function to
23773 definition. Add libc_hidden_def.
23774 (endnetgrent): Update caller.
23775 (internal_getnetgrent_r): Renamed to ...
23776 (__internal_getnetgrent_r): ... this. Add internal_function to
23777 definition. Add libc_hidden_def.
23778 (__getnetgrent_r): Update caller.
23779 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
23780
c3c8283c
JM
237812012-08-16 Joseph Myers <joseph@codesourcery.com>
23782
23783 * stdlib/longlong.h: Update from GCC.
23784
db1ee0a8
RM
237852012-08-16 Roland McGrath <roland@hack.frob.com>
23786
23787 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
23788 on _QL, which is set by umul_ppmm but never used.
23789 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
23790 variables, which are set by GMP macros but never used.
23791 * stdio-common/_itowa.c (_itowa): Likewise.
23792 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
23793 * stdlib/mod_1.c (mpn_mod_1): Likewise.
23794
30f69637
CD
237952012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
23796
23797 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
23798 struct La_sh_regs is not constant.
23799 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
23800 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
23801 and struct La_sparc64_regs are not constant.
23802
93a78ac4
JM
238032012-08-16 Joseph Myers <joseph@codesourcery.com>
23804
23805 * sysdeps/unix/sysv/linux/kernel-features.h
23806 (__ASSUME_POSIX_TIMERS): Remove.
23807 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
23808 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
23809 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
23810 Make code unconditional.
23811 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
23812 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
23813 Make code unconditional.
23814 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
23815 * sysdeps/unix/sysv/linux/clock_nanosleep.c
23816 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
23817 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
23818 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
23819 Make code unconditional.
23820 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
23821 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
23822 (__libc_missing_posix_timers): Remove.
23823
dd924cd7
RM
238242012-08-15 Roland McGrath <roland@hack.frob.com>
23825
4b4f2771
RM
23826 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
23827 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
23828
601c888b
RM
23829 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
23830
176790a7
RM
23831 * elf/dl-sym.c: Include <stdlib.h>.
23832
329bc018
RM
23833 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
23834 constants, which avoids warnings in 32-bit builds.
23835
e04e272d
RM
23836 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
23837 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
23838
952bf94a
RM
23839 * misc/lseek.c: File moved to ...
23840 * io/lseek.c: ... here.
23841
7c99b50a
RM
23842 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
23843
dd924cd7
RM
23844 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
23845 shifting LEN more than 31 bits at once.
23846
b3f479a8
LD
238472012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23848
23849 [BZ #14195]
8c4ae0d4
RM
23850 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
23851 segmentation fault for a case of two empty input strings.
b3f479a8
LD
23852 * string/test-strncasecmp.c (check1): Renamed to...
23853 (bz12205): ...this.
23854 (bz14195): Add new testcase for two empty input strings and N > 0.
23855 (test_main): Call new testcase, adapt for renamed function.
23856
9c55864e
AJ
238572012-08-15 Andreas Jaeger <aj@suse.de>
23858
23859 [BZ #14090]
23860 * crypt/md5test2.c: New test, based on test supplied by Serge
23861 Belyshev <belyshev@depni.sinp.msu.ru>.
23862 * crypt/Makefile (xtests): Add md5test-giant..
23863 * crypt/Makefile ($(objpfx)md5test-giant): Add.
23864
02dcb6c5
PE
238652012-08-15 Paul Eggert <eggert@cs.ucla.edu>
23866
23867 [BZ #14090]
23868 * crypt/md5.c (md5_process_block): Don't assume the buffer
23869 length is less than 2**32.
23870 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
23871 length is less than 2**64.
23872
a3f95dcc
RM
238732012-08-15 Roland McGrath <roland@hack.frob.com>
23874
be75d758
RM
23875 * string/str-two-way.h: Include <sys/param.h>.
23876 (MAX): Macro removed.
23877
7312ca90
RM
23878 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
23879 Move #define and #undef of memmove to just before and after
23880 including <string.h>.
23881
9a0a5486
RM
23882 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
23883 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
23884 and after including <string.h>. Move declarations of
23885 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
23886 to before #include "string/memmove.c".
23887
67cc348d
RM
23888 * include/dirent.h: Declare __getdirentries.
23889
a3f95dcc
RM
23890 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
23891 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
23892
ca98e171
MF
238932012-08-14 Mike Frysinger <vapier@gentoo.org>
23894
23895 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
23896 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
23897 * sysdeps/i386/configure: Regenerated.
23898 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
23899 STABS_CURRENT_FILE, and STABS_FUN.
23900 (END): Remove call to STABS_FUN_END.
23901 (STABS_CURRENT_FILE1): Delete.
23902 (STABS_CURRENT_FILE): Likewise.
23903 (STABS_FUN): Likewise.
23904 (STABS_FUN_END): Likewise.
23905 (STABS_FUN2): Likewise.
23906 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
23907 * sysdeps/x86_64/configure: Regenerated.
23908
5908bf46
RM
239092012-08-14 Roland McGrath <roland@hack.frob.com>
23910
23911 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 23912 * elf/dl-lookup.c: Likewise.
5908bf46 23913
f2c05b9e
JM
239142012-08-14 Joseph Myers <joseph@codesourcery.com>
23915
23916 * sysdeps/unix/sysv/linux/kernel-features.h
23917 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
23918 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
23919 unconditionally.
23920 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
23921 unconditionally.
23922 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
23923 condition on __ASSUME_CLONE_THREAD_FLAGS.
23924
e11f5155
AJ
239252012-08-14 Andreas Jaeger <aj@suse.de>
23926
23927 * sysdeps/i386/fpu/libm-test-ulps: Update.
23928
51a9ba86
MK
239292012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
23930
2fdd4f78
AJ
23931 * include/atomic.h (atomic_exchange_and_add): Split into ...
23932 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
23933 New atomic macros.
51a9ba86 23934
ba6cba9e
MT
239352012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
23936
23937 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23938
42443a47
JL
239392012-08-13 Jeff Law <law@redhat.com>
23940
23941 * manual/stdio.texi (snprintf): Clarify handling of the trailing
23942 null byte in the output string.
23943
121dce05
JM
239442012-08-10 Joseph Myers <joseph@codesourcery.com>
23945
23946 * sysdeps/unix/sysv/linux/kernel-features.h
23947 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
23948 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
23949 (__ASSUME_ARG_MAX_STACK_BASED): Define.
23950 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
23951 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
23952 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
23953 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
23954
bf51f568
JL
239552012-08-09 Jeff Law <law@redhat.com>
23956
23957 [BZ #13939]
23958 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
23959 When avoid_arena is set, don't retry in the that arena. Pick the
23960 next one, whatever it might be.
23961 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
23962 (arena_lock): Pass in new parameter to arena_get2.
23963 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
23964 arena_get2.
23965 (__libc_malloc): Unify retrying after main arena failure with
23966 __libc_memalign version.
23967 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
23968
f85fa270
L
239692012-08-09 H.J. Lu <hongjiu.lu@intel.com>
23970
23971 [BZ #14166]
23972 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
23973 to __redirect_strstr.
23974 (__strstr_sse42): Use typeof __redirect_strstr.
23975 (__strstr_ia32): Likewise.
23976 (__libc_strstr): New prototype.
23977 (strstr): Renamed to ...
23978 (__libc_strstr): This.
23979 (strstr): New strong alias of __libc_strstr.
23980 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
23981 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
23982 __redirect_time.
23983 Include <time.h>.
23984 (__libc_time): New prototype.
23985 (time_ifunc): Replace time with __libc_time.
23986 (time): New strong alias and hidden definition of __libc_time.
23987 (__GI_time): Remove strong alias.
23988 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
23989 Include <stddef.h>.
23990 (memmove): Redefined to __redirect_memmove.
23991 (__memmove_sse2): Use typeof __redirect_memmove.
23992 (__memmove_ssse3): Likewise.
23993 (__memmove_ssse3_back): Likewise.
23994 (__libc_memmove): New prototype.
23995 (memmove): Renamed to ...
23996 (__libc_memmove): This.
23997 (memmove): New strong alias of __libc_memmove.
23998
33b4a91e
MS
239992012-08-08 Mark Salter <msalter@redhat.com>
24000
24001 * elf/elf.h
24002 (R_MN10300_TLS_GD): Define.
24003 (R_MN10300_TLS_LD): Likewise.
24004 (R_MN10300_TLS_LDO): Likewise.
24005 (R_MN10300_TLS_GOTIE): Likewise.
24006 (R_MN10300_TLS_IE): Likewise.
24007 (R_MN10300_TLS_LE): Likewise.
24008 (R_MN10300_TLS_DTPMOD): Likewise.
24009 (R_MN10300_TLS_DTPOFF): Likewise.
24010 (R_MN10300_TLS_TPOFF): Likewise.
24011 (R_MN10300_SYM_DIFF): Likewise.
24012 (R_MN10300_ALIGN): Likewise.
24013 (R_MN10300_NUM): Update.
24014
b36137f1
JM
240152012-08-08 Joseph Myers <joseph@codesourcery.com>
24016
24017 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
24018 Remove.
24019
cdd915fd
RM
240202012-08-08 Roland McGrath <roland@hack.frob.com>
24021
a2433aac
RM
24022 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
24023
cdd915fd
RM
24024 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
24025 sysdeps/unix -> sysdeps/posix move.
24026 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
24027
bf9b740a
AM
240282012-08-07 Allan McRae <allan@archlinux.org>
24029
24030 [BZ #14303]
24031 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
24032 (SUNOS_CPP): Likewise.
24033 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
24034 not found.
24035 (open_input): Call CPP using execvp.
24036
93df14ee
JM
240372012-08-07 Joseph Myers <joseph@codesourcery.com>
24038
24039 * sysdeps/unix/sysv/linux/kernel-features.h
24040 (__ASSUME_PROT_GROWSUPDOWN): Remove.
24041 (__ASSUME_NO_CLONE_DETACHED): Likewise.
24042 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
24043 (__ASSUME_WAITID_SYSCALL): Likewise.
24044 * sysdeps/unix/sysv/linux/dl-execstack.c
24045 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
24046 code unconditional.
24047 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
24048 conditional code.
24049 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
24050 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
24051 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
24052 code.
24053 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
24054 unconditional.
24055 [__ASSUME_WAITID_SYSCALL]: Likewise.
24056 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
24057
d34689de
RM
240582012-08-07 Roland McGrath <roland@hack.frob.com>
24059
a281decc
RM
24060 * sysdeps/unix/closedir.c: Renamed to ...
24061 * sysdeps/posix/closedir.c: ... here.
24062 * sysdeps/unix/dirfd.c: Renamed to ...
24063 * sysdeps/posix/dirfd.c: ... here.
24064 * sysdeps/unix/dirstream.h: Renamed to ...
24065 * sysdeps/posix/dirstream.h: ... here.
24066 * sysdeps/unix/fdopendir.c: Renamed to ...
24067 * sysdeps/posix/fdopendir.c: ... here.
24068 * sysdeps/unix/opendir.c: Renamed to ...
24069 * sysdeps/posix/opendir.c: ... here.
24070 * sysdeps/unix/readdir.c: Renamed to ...
24071 * sysdeps/posix/readdir.c: ... here.
24072 * sysdeps/unix/readdir_r.c: Renamed to ...
24073 * sysdeps/posix/readdir_r.c: ... here.
24074 * sysdeps/unix/rewinddir.c: Renamed to ...
24075 * sysdeps/posix/rewinddir.c: ... here.
24076 * sysdeps/unix/seekdir.c: Renamed to ...
24077 * sysdeps/posix/seekdir.c: ... here.
24078 * sysdeps/unix/telldir.c: Renamed to ...
24079 * sysdeps/posix/telldir.c: ... here.
24080 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
24081 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
24082 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
24083 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
24084
22895b47
RM
24085 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
24086 * bits/fcntl.h: ... here.
24087
707a53b6
RM
24088 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
24089 not 0.
24090 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
24091 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
24092 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
24093 (struct flock): Move l_start, l_len to the beginning.
24094 Use __pid_t for l_pid.
24095 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
24096 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
24097 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
24098 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
24099 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
24100 [__USE_LARGEFILE64] (struct flock64): New type.
24101 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
24102
f0bd3e25
RM
24103 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
24104 * bits/dirent.h: ... here.
24105
d34689de
RM
24106 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
24107 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
24108
6dad2c06
JM
241092012-08-07 Joseph Myers <joseph@codesourcery.com>
24110
24111 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
24112 Change from 2.6.0 to 2.6.16.
24113 * sysdeps/unix/sysv/linux/configure: Regenerated.
24114 * sysdeps/unix/sysv/linux/kernel-features.h
24115 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
24116 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
24117 version.
24118 (__ASSUME_UTIMES): Likewise.
24119 (__ASSUME_CLONE_STOPPED): Remove.
24120 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
24121 architectures, not kernel version.
24122 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
24123 (__ASSUME_NO_CLONE_DETACHED): Likewise.
24124 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
24125 (__ASSUME_WAITID_SYSCALL): Likewise.
24126 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
24127 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
24128 * README: State 2.6.16 as minimum Linux kernel version. Do not
24129 refer to older versions.
24130
03af9520
RM
241312012-08-06 Roland McGrath <roland@hack.frob.com>
24132
8e49df1d
RM
24133 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
24134 Define alphasort64 as an alias.
24135 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
24136 Define versionsort64 as an alias.
24137 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
24138 Define scandir64 as an alias.
24139 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
24140 Define scandirat64 as an alias.
24141 * dirent/alphasort64.c (alphasort64):
24142 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
24143 * dirent/versionsort64.c: Likewise.
24144 * dirent/scandir64.c: Likewise.
24145 * dirent/scandirat64.c: Likewise.
24146 * sysdeps/wordsize-64/alphasort.c: File removed.
24147 * sysdeps/wordsize-64/alphasort64.c: File removed.
24148 * sysdeps/wordsize-64/scandir.c: File removed.
24149 * sysdeps/wordsize-64/scandir64.c: File removed.
24150 * sysdeps/wordsize-64/scandirat.c: File removed.
24151 * sysdeps/wordsize-64/scandirat64.c: File removed.
24152 * sysdeps/wordsize-64/versionsort.c: File removed.
24153 * sysdeps/wordsize-64/versionsort64.c: File removed.
24154 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
24155 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
24156 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
24157 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
24158 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
24159 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
24160 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
24161 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
24162
24163 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
24164 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
24165 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
24166 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24167 [defined __arch64__ || defined __sparcv9]
24168 (__INO_T_MATCHES_INO64_T): New macro.
24169 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
24170 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
24171 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
24172 * sysdeps/unix/sysv/linux/bits/dirent.h
24173 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
24174 (_DIRENT_MATCHES_DIRENT64): New macro.
24175
03af9520
RM
24176 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
24177 Define lockf64 as an alias.
24178 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
24179 Define fseeko64 as an alias.
24180 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
24181 Define ftello64 as an alias.
24182 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
24183 Define _IO_fgetpos64 and fgetpos64 as aliases.
24184 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
24185 Define _IO_fsetpos64 and fsetpos64 as aliases.
24186 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
24187 Conditionalize body on this.
24188 * libio/fseeko64.c: Likewise.
24189 * libio/ftello64.c: Likewise.
24190 * libio/iofgetpos64.c: Likewise.
24191 * libio/iofsetpos64.c: Likewise.
24192 * sysdeps/wordsize-64/lockf.c: File removed.
24193 * sysdeps/wordsize-64/lockf64.c: File removed.
24194 * sysdeps/wordsize-64/fseeko.c: File removed.
24195 * sysdeps/wordsize-64/fseeko64.c: File removed.
24196 * sysdeps/wordsize-64/ftello.c: File removed.
24197 * sysdeps/wordsize-64/ftello64.c: File removed.
24198 * sysdeps/wordsize-64/iofgetpos.c: File removed.
24199 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
24200 * sysdeps/wordsize-64/iofsetpos.c: File removed.
24201 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
24202 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
24203 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
24204 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
24205 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
24206 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
24207 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
24208 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
24209 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
24210 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
24211 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
24212
24213 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
24214 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
24215 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
24216 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24217 [defined __arch64__ || defined __sparcv9]
24218 (__OFF_T_MATCHES_OFF64_T): New macro.
24219 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
24220 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
24221 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24222 (__OFF_T_MATCHES_OFF64_T): New macro.
24223
c5757acd
L
242242012-08-06 H.J. Lu <hongjiu.lu@intel.com>
24225
24226 * stdlib/secure-getenv.c (__secure_getenv): Replace
24227 GLIBC_2_16 with GLIBC_2_17.
24228
3a31811e
L
242292012-08-06 H.J. Lu <hongjiu.lu@intel.com>
24230
24231 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
24232 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
24233
faa2bccb
DM
242342012-08-03 David S. Miller <davem@davemloft.net>
24235
24236 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24237
85fe1997
JM
242382012-08-03 Joseph Myers <joseph@codesourcery.com>
24239
24240 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
24241 Remove.
24242 (__ASSUME_CORRECT_SI_PID): Likewise.
24243 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
24244 (__ASSUME_TMPFS_NAME): Likewise.
24245 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
24246 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
24247 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
24248 (HAVE_AUX_SECURE): Make definition unconditional.
24249 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
24250 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
24251
4f75b7a0
RM
242522012-08-03 Roland McGrath <roland@hack.frob.com>
24253
24254 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
24255 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
24256 * sysdeps/mach/hurd/eloop-threshold.h: New file.
24257 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
24258 __eloop_threshold instead of SYMLOOP_MAX.
24259
24260 * sysdeps/generic/eloop-threshold.h: New file.
24261 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
24262 of MAXSYMLINKS.
24263 * elf/chroot_canon.c (chroot_canon): Likewise.
24264
7aab07e4
JM
242652012-08-03 Joseph Myers <joseph@codesourcery.com>
24266
24267 [BZ #13717]
24268 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
24269 Change to 2.6.0 everywhere.
24270 * sysdeps/unix/sysv/linux/configure: Regenerated.
24271 * sysdeps/unix/sysv/linux/kernel-features.h
24272 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
24273 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
24274 kernel versions.
24275 (__ASSUME_POSIX_TIMERS): Define unconditionally.
24276 (__ASSUME_FUTEX_REQUEUE): Remove.
24277 (__ASSUME_STATFS64): Define unconditionally.
24278 (__ASSUME_AT_SECURE): Likewise.
24279 (__ASSUME_CORRECT_SI_PID): Likewise.
24280 (__ASSUME_TGKILL): Define without depending on kernel version for
24281 i386.
24282 (__ASSUME_UTIMES): Likewise.
24283 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
24284 kernel version.
24285 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
24286 (__ASSUME_TMPFS_NAME): Likewise.
24287 * README: Update reference to Linux kernel versions.
24288
b67e9372
MP
242892012-08-02 Marek Polacek <polacek@redhat.com>
24290
1f529f7d 24291 [BZ# 14150]
b67e9372
MP
24292 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
24293 libc_cv_asm_type_prefix with %.
24294 * configure: Regenerated.
d2441631
RM
24295 * include/libc-symbols.h: Remove comment about
24296 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
24297 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
24298 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
24299 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
24300 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
24301 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
24302 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
24303 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
24304 * elf/tst-unique2mod1.c: Likewise.
24305 * elf/tst-unique1mod2.c: Likewise.
24306 * elf/tst-unique1mod1.c: Likewise.
24307 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
24308 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
24309 Replace ASM_TYPE_DIRECTIVE with .type.
24310 * sysdeps/s390/s390-64/sysdep.h: Likewise.
24311 * sysdeps/i386/sysdep.h: Likewise.
24312 * sysdeps/x86_64/sysdep.h: Likewise.
24313 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
24314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
24315 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 24316 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
24317 * sysdeps/powerpc/powerpc32/sysdep.h:
24318 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
24319 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
24320 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
24321 * sysdeps/i386/fpu/e_powf.S: Likewise.
24322 * sysdeps/i386/fpu/e_expl.S: Likewise.
24323 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
24324 * sysdeps/i386/fpu/e_acosh.S: Likewise.
24325 * sysdeps/i386/fpu/e_pow.S: Likewise.
24326 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
24327 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
24328 * sysdeps/i386/fpu/s_expm1.S: Likewise.
24329 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
24330 * sysdeps/i386/fpu/e_log2.S: Likewise.
24331 * sysdeps/i386/fpu/e_log2l.S: Likewise.
24332 * sysdeps/i386/fpu/e_scalb.S: Likewise.
24333 * sysdeps/i386/fpu/e_powl.S: Likewise.
24334 * sysdeps/i386/fpu/e_log10f.S: Likewise.
24335 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
24336 * sysdeps/i386/fpu/e_logl.S: Likewise.
24337 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
24338 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
24339 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
24340 * sysdeps/i386/fpu/e_log2f.S: Likewise.
24341 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
24342 * sysdeps/i386/fpu/e_log.S: Likewise.
24343 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
24344 * sysdeps/i386/fpu/e_logf.S: Likewise.
24345 * sysdeps/i386/fpu/e_log10l.S: Likewise.
24346 * sysdeps/i386/fpu/e_atanh.S: Likewise.
24347 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
24348 * sysdeps/i386/fpu/e_log10.S: Likewise.
24349 * sysdeps/i386/fpu/s_frexp.S: Likewise.
24350 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
24351 * sysdeps/i386/fpu/s_asinh.S: Likewise.
24352 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
24353 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
24354 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
24355 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
24356 * sysdeps/i386/i686/strtok.S: Likewise.
24357 * sysdeps/i386/i386-mcount.S: Likewise.
24358 * sysdeps/i386/strtok.S: Likewise.
24359 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
24360 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
24361 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
24362 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
24363 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
24364 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
24365 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
24366 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
24367 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
24368 * sysdeps/x86_64/_mcount.S: Likewise.
24369 * sysdeps/x86_64/strtok.S: Likewise.
24370 * sysdeps/sh/_mcount.S: Likewise.
24371
2747bf9a
RM
243722012-08-01 Roland McGrath <roland@hack.frob.com>
24373
24374 * libio/iofopen.c: Include <fcntl.h>.
24375 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
24376 (_IO_fopen64, fopen64): Define as aliases.
24377 * libio/iofopen64.c: Include <fcntl.h>.
24378 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
24379 Conditionalize body on this.
24380 * sysdeps/wordsize-64/iofopen.c: File removed.
24381 * sysdeps/wordsize-64/iofopen64.c: File removed.
24382
3fb791b8
MP
243832012-08-01 Marek Polacek <polacek@redhat.com>
24384
24385 * libc/Makeconfig: Use elf in place of binfmt-subdir.
24386 Use dlfcn directly instead of a variable.
24387 (binfmt-subdir): Do not define.
24388 (dlfcn): Likewise.
24389
a9f1039f
JM
243902012-08-01 Joseph Myers <joseph@codesourcery.com>
24391
23bddc06
JM
24392 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
24393 Remove all definitions.
24394 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
24395 <kernel-features.h>.
24396 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
24397 (miss_F_GETOWN_EX): Remove all definitions.
24398 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
24399 macro definition.
24400 [!__ASSUME_FCNTL64]: Remove conditional code.
24401 [__ASSUME_FCNTL64]: Make code unconditional.
24402 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
24403 <kernel-features.h>.
24404 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
24405 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
24406 (lockf64) [__NR_fcntl64]: Make code unconditional.
24407 (lockf64) [__ASSUME_FCNTL64]: Likewise.
24408
a9f1039f
JM
24409 * sysdeps/unix/sysv/linux/kernel-features.h
24410 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
24411 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
24412 Make code unconditional.
24413 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
24414 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
24415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
24416 [__NR_vfork]: Make code unconditional.
24417 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
24418 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
24419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
24420 [__NR_vfork]: Make code unconditional.
24421 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
24422 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
24423
09c0ee5f
RM
244242012-08-01 Roland McGrath <roland@hack.frob.com>
24425
48aec5b9
RM
24426 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
24427 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
24428
cd97c966
RM
24429 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
24430 Define mkstemp64 as an alias.
3f55550c
RM
24431 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
24432 Define mkstemps64 as an alias.
cd97c966
RM
24433 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
24434 Define mkostemp64 as an alias.
b8625cfc
RM
24435 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
24436 Define mkostemps64 as an alias.
cd97c966
RM
24437 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
24438 Conditionalize body on this.
24439 * misc/mkostemp64.c: Likewise.
b8625cfc 24440 * misc/mkostemps64.c: Likewise.
3f55550c 24441 * misc/mkstemps64.c: Likewise.
cd97c966
RM
24442 * sysdeps/wordsize-64/mkstemp64.c: File removed.
24443 * sysdeps/wordsize-64/mkostemp64.c: File removed.
24444 * sysdeps/wordsize-64/mkostemp.c: File removed.
24445 * sysdeps/wordsize-64/mkstemp.c: File removed.
24446 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
24447 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
24448 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
24449 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
24450
09c0ee5f
RM
24451 [BZ #14138]
24452 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
24453 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
24454 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
24455 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
24456
24457 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
24458 compat_symbol macros from <shlib-compat.h> rather than the underlying
24459 default_symbol_version and symbol_version macros, so that DEFAULT
24460 lines in shlib-versions are respected.
24461 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
24462
7e66ee51
FW
244632012-08-01 Florian Weimer <fweimer@redhat.com>
24464
24465 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
24466 Declare with warn_unused_result.
24467 (setgid, setregid, setegid, setresgid): Likewise.
24468 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
24469 Likewise.
24470 * WUR-REPORT: Remove set*id functions.
24471
d2a54255
PT
244722012-07-31 Pino Toscano <toscano.pino@tiscali.it>
24473
24474 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
24475
7ecdb005
RM
244762012-07-31 Roland McGrath <roland@hack.frob.com>
24477
b4180a5e 24478 [BZ #10191]
789bd351
RM
24479 * include/sys/socket.h (__libc_accept, __libc_accept4):
24480 Add attribute_hidden.
24481 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
24482
40ce302d
RM
24483 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
24484 use of PTR_MANGLE.
24485 * inet/getnetgrent_r.c (setup): Likewise.
24486
7ecdb005
RM
24487 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
24488
e2eabb2c
DM
244892012-07-31 David S. Miller <davem@davemloft.net>
24490
24491 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24492
d0419dbf
JM
244932012-07-31 Joseph Myers <joseph@codesourcery.com>
24494
24495 [BZ #13629]
24496 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
24497 value between 1.0 and 2.0 and smaller part has absolute value less
24498 than 1.0.
24499 * math/s_clog10.c (__clog10): Likewise.
24500 * math/s_clog10f.c (__clog10f): Likewise.
24501 * math/s_clog10l.c (__clog10l): Likewise.
24502 * math/s_clogf.c (__clogf): Likewise.
24503 * math/s_clogl.c (__clogl): Likewise.
24504 * math/libm-test.inc (clog_test): Add more tests.
24505 (clog10_test): Likewise.
24506 * sysdeps/i386/fpu/libm-test-ulps: Update.
24507 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24508
2bc13872
FW
245092012-07-31 Florian Weimer <fweimer@redhat.com>
24510
24511 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
24512 Exit with zero in case no suitable GID is found, and write a
24513 message to standard error.
24514
bea9b193
RM
245152012-07-30 Roland McGrath <roland@hack.frob.com>
24516
24517 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
24518 rather than to 1.
24519 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
24520 (MAXPATHLEN): Removed.
24521 (NOGROUP, NODEV): New macros.
24522 (setbit, clrbit, isset, isclr): New macros.
24523 (howmany, roundup, powerof2): New macros.
24524 (DEV_BSIZE): New macro.
24525
24526 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
24527 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
24528
24529 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
24530 definition on [!__NO_LONG_DOUBLE_MATH].
24531
24532 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
24533 PTR_MANGLE and PTR_DEMANGLE.
24534
24535 * socket/accept4.c (accept4): Rename to __libc_accept4.
24536 Define accept4 as a weak alias.
24537
24538 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
24539 on [_DIRENT_HAVE_D_TYPE].
24540 * io/ftw.c (ftw_dir): Likewise.
24541
24542 * io/xmknod.c (__xmknod): Don't check PATH for being null.
24543
24544 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
24545
24546 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
24547 Use the BSD numbers rather than the arbitrary ones we had.
24548 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
24549 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
24550 (SIGXCPU, SIGXFSZ): New macros.
24551 (_NSIG): Now 32.
24552
24553 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
24554 initializer on [_LIBC_REENTRANT].
24555
24556 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
24557 definitions inside [_POSIX_MAPPED_FILES].
24558
24559 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
24560
24561 * dirent/opendir.c: Include <fcntl.h>.
24562
24563 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
24564 (__libc_getspecific): Likewise.
24565 (__libc_key_create): Likewise.
24566
24567 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
24568 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
24569 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
24570 (tmpfile64): Define as alias.
24571 * sysdeps/wordsize-64/tmpfile.c: File removed.
24572 * sysdeps/wordsize-64/tmpfile64.c: File removed.
24573 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
24574 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
24575
24576 * stdio-common/vfscanf.c: Include <stdbool.h>.
24577 * nss/makedb.c: Likewise.
24578 * stdio-common/_i18n_number.h: Likewise.
24579 * argp/argp-help.c: Likewise.
24580 * posix/wordexp.c: Likewise.
24581 * sysdeps/posix/spawni.c: Likewise.
24582 * nss/nss_files/files-initgroups.c: Likewise.
24583 * stdio-common/reg-modifier.c: Include <stdlib.h>.
24584 * nss/nss_files/files-initgroups.c: Likewise.
24585 * nss/nss_db/db-netgrp.c: Likewise.
24586 * nss/nss_db/db-initgroups.c: Likewise.
24587 * io/fchmodat.c: Include <sys/stat.h>.
24588
24589 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
24590 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
24591
24592 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
24593 [HAVE_MMAP].
24594
24595 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
24596 Add multiple inclusion protection.
24597
e5abc686
DM
245982012-07-27 David S. Miller <davem@davemloft.net>
24599
24600 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24601
815e6fa3
GB
246022012-07-27 Gary Benson <gbenson@redhat.com>
24603
24604 [BZ #14298]
24605 * elf/rtld.c: Include <stap-probe.h>.
24606 (dl_main): Added static probes "init_start" and "init_complete".
24607 * elf/dl-load.c: Include <stap-probe.h>.
24608 (lose): Take new parameter "nsid".
24609 Added static probe "map_failed".
24610 (_dl_map_object_from_fd): Pass namespace id to lose.
24611 Added static probe "map_start".
24612 (open_verify): Pass namespace id to lose.
24613 * elf/dl-open.c: Include <stap-probe.h>.
24614 (dl_open_worker) Added static probes "map_complete", "reloc_start"
24615 and "reloc_complete".
24616 * elf/dl-close.c: Include <stap-probe.h>.
24617 (_dl_close_worker): Added static probes "unmap_start" and
24618 "unmap_complete".
24619 * elf/rtld-debugger-interface.txt: New file documenting the above.
24620
9f98c16c
RM
246212012-07-26 Roland McGrath <roland@hack.frob.com>
24622
24623 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
24624 rather than a string variable.
24625 * sunrpc/rpc_main.c (h_output): Likewise.
24626 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
24627
f3c22df3
PT
246282012-07-26 Pino Toscano <toscano.pino@tiscali.it>
24629
24630 * inet/check_native.c: New file.
24631
3129cfc6
JM
246322012-07-26 Joseph Myers <joseph@codesourcery.com>
24633
da865e95
JM
24634 [BZ #13629]
24635 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
24636 if larger part has absolute value 1.0.
24637 * math/s_clog10.c (__clog10): Likewise.
24638 * math/s_clog10f.c (__clog10f): Likewise.
24639 * math/s_clog10l.c (__clog10l): Likewise.
24640 * math/s_clogf.c (__clogf): Likewise.
24641 * math/s_clogl.c (__clogl): Likewise.
24642 * math/libm-test.inc (clog_test): Add more tests.
24643 (clog10_test): Likewise.
24644 * sysdeps/i386/fpu/libm-test-ulps: Update.
24645 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24646
3129cfc6
JM
24647 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
24648 (pltexit): Likewise.
24649 (La_regs): Likewise.
24650 (La_retval): Likewise.
24651 (int_retval): Likewise.
24652 Update #error for removed macros to refer only to definitions in
24653 tst-audit.h.
24654 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
24655 macro.
24656 (pltexit): Likewise.
24657 (La_regs): Likewise.
24658 (La_retval): Likewise.
24659 (int_retval): Likewise.
24660 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
24661 macro.
24662 (pltexit): Likewise.
24663 (La_regs): Likewise.
24664 (La_retval): Likewise.
24665 (int_retval): Likewise.
24666 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
24667 macro.
24668 (pltexit): Likewise.
24669 (La_regs): Likewise.
24670 (La_retval): Likewise.
24671 (int_retval): Likewise.
24672 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
24673 macro.
24674 (pltexit): Likewise.
24675 (La_regs): Likewise.
24676 (La_retval): Likewise.
24677 (int_retval): Likewise.
24678 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
24679 macro.
24680 (pltexit): Likewise.
24681 (La_regs): Likewise.
24682 (La_retval): Likewise.
24683 (int_retval): Likewise.
24684 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
24685 macro.
24686 (pltexit): Likewise.
24687 (La_regs): Likewise.
24688 (La_retval): Likewise.
24689 (int_retval): Likewise.
24690 * sysdeps/generic/tst-audit.h: Update comment to refer only to
24691 macro definitions in tst-audit.h.
24692 * sysdeps/i386/tst-audit.h: New file.
24693 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
24694 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
24695 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
24696 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
24697 * sysdeps/sh/tst-audit.h: Likewise.
24698 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
24699 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
24700 * sysdeps/x86_64/tst-audit.h: Likewise.
24701
bfc07087
AJ
247022012-07-26 Andreas Jaeger <aj@suse.de>
24703
b1b2aaf8
AJ
24704 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
24705 ptrace.
24706
24707 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
24708 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
24709 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
24710 PTRACE_O_MASK.
24711 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
24712 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
24713 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
24714
bfc07087
AJ
24715 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
24716 value.
24717
24718 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
24719 _sigsys.
24720 (si_call_addr, si_syscall, si_arch): Define new macro.
24721 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
24722 _sigsys.
24723 (si_call_addr, si_syscall, si_arch): Define new marcro.
24724 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
24725 _sigsys.
24726 (si_call_addr, si_syscall, si_arch): Define new macro.
24727 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
24728 _sigsys.
24729 (si_call_addr, si_syscall, si_arch): Define new macro.
24730
89b4b02f
JM
247312012-07-25 Joseph Myers <joseph@codesourcery.com>
24732
24733 [BZ #13717]
24734 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
24735 Change to 2.4.21 where previously 2.4.1.
24736 * sysdeps/unix/sysv/linux/configure: Regenerated.
24737 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
24738 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
24739 Linux kernel version.
24740 (__ASSUME_STD_AUXV): Remove.
24741 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
24742 kernel version.
24743 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
24744 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
24745 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
24746 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
24747 (__ASSUME_NETLINK_SUPPORT): Likewise.
24748 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
24749 (__no_netlink_support): Remove conditional definition.
24750 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
24751 Remove.
24752 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
24753 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
24754 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
24755 (if_nameindex_ioctl): Remove.
24756 (if_nameindex_netlink): Do not handle __no_netlink_support.
24757 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
24758 code.
24759 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
24760 Remove conditional code.
24761 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
24762 code.
24763 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
24764 unconditional.
24765 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
24766 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
24767 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
24768 Remove.
24769 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
24770 [!__ASSUME_STD_AUXV]: Remove conditional code.
24771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
24772 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
24773 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
24774 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
24775 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
24776 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
24777 code.
24778 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
24779 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
24780 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
24781 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
24782 conditional code.
24783 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
24784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
24785 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
24786 code.
24787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
24788 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
24789 conditional code.
24790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
24791 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
24792 code unconditional.
24793 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
24794 conditional code.
24795 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
24796 unconditional.
24797 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
24798 conditional code.
24799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
24800 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
24801 unconditional.
24802 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
24803 conditional code.
24804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
24805 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
24806 code unconditional.
24807 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
24808 conditional code.
24809 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
24810 unconditional.
24811 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
24812 conditional code.
24813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
24814 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
24815 code unconditional.
24816 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
24817 conditional code.
24818 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
24819 unconditional.
24820 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
24821 conditional code.
24822
842a39cd
AS
248232012-07-25 Andreas Schwab <schwab@linux-m68k.org>
24824
24825 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
24826 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
24827 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
24828 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
24829 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
24830 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
24831 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
24832 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
24833 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
24834 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
24835 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
24836 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
24837 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
24838 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
24839 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
24840 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
24841 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
24842 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
24843 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
24844 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
24845 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
24846 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
24847 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
24848
84b3fd84
FW
248492012-07-25 Florian Weimer <fweimer@redhat.com>
24850
24851 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
24852 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
24853 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
24854 Introduce __libc_secure_getenv.
0c7936d5
FW
24855 * stdlib/Versions (2.17): Add secure_getenv
24856 (GLIBC_PRIVATE): Add __libc_secure_getenv.
24857 * stdlib/secure-getenv.c: Rename __secure_getenv to
24858 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
24859 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
24860 * stdlib/tst-secure-getenv.c: New.
24861 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
24862 * manual/startup.texi (Environment Access): Document
24863 secure_getenv.
84b3fd84
FW
24864 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
24865 __libc_secure_getenv.
24866 * inet/ruserpass.c (ruserpass): Likewise.
24867 * malloc/mtrace.c (mtrace): Likewise.
24868 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 24869 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
24870 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
24871 * sysdeps/posix/tempname.c: Likewise. Evaluate
24872 HAVE_SECURE_GETENV.
24873 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 24874 __secure_getenv to __libc_secure_getenv.
84b3fd84 24875 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
24876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24877 Likewise.
24878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24879 Likewise.
24880 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
24881 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
24882 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
24883 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
24884 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
24885 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
24886 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 24887
56e49b71
JM
248882012-07-25 Joseph Myers <joseph@codesourcery.com>
24889
24890 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
24891 (struct La_i86_retval): Likewise.
24892 (struct La_x86_64_regs): Likewise.
24893 (struct La_x86_64_retval): Likewise.
24894 (struct La_x32_regs): Likewise.
24895 (struct La_x32_retval): Likewise.
24896 (struct La_ppc32_regs): Likewise.
24897 (struct La_ppc32_retval): Likewise.
24898 (struct La_ppc64_regs): Likewise.
24899 (struct La_ppc64_retval): Likewise.
24900 (struct La_sh_regs): Likewise.
24901 (struct La_sh_retval): Likewise.
24902 (struct La_s390_32_regs): Likewise.
24903 (struct La_s390_32_retval): Likewise.
24904 (struct La_s390_64_regs): Likewise.
24905 (struct La_s390_64_retval): Likewise.
24906 (struct La_sparc32_regs): Likewise.
24907 (struct La_sparc32_retval): Likewise.
24908 (struct La_sparc64_regs): Likewise.
24909 (struct La_sparc64_retval): Likewise.
24910 (struct audit_ifaces): Remove architecture-specific pltenter and
24911 pltexit members.
24912 * sysdeps/i386/ldsodefs.h: New file.
24913 * sysdeps/powerpc/ldsodefs.h: Likewise.
24914 * sysdeps/s390/ldsodefs.h: Likewise.
24915 * sysdeps/sh/ldsodefs.h: Likewise.
24916 * sysdeps/sparc/ldsodefs.h: Likewise.
24917 * sysdeps/x86_64/ldsodefs.h: Likewise.
24918
354691b7
MP
249192012-07-25 Marek Polacek <polacek@redhat.com>
24920
24921 [BZ #6808]
24922 * math/libm-test.inc (yn_test): Add another test.
24923 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
24924 to ERANGE when the result is +-Inf.
24925 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
24926 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
24927 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
24928 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
24929
bf9e2071
JM
249302012-07-24 Joseph Myers <joseph@codesourcery.com>
24931
24932 * conform/data/time.h-data (NULL): Use macro-constant. Require
24933 equal to 0.
24934 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
24935 clock_t.
24936 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
24937
57633811
TS
249382012-07-23 Thomas Schwinge <thomas@codesourcery.com>
24939
24940 * configure.in <sysdeps resolving>: Correct printing
24941 Implies_before.
24942 * configure: Regenerate.
24943
c23c33b0
TS
249442012-07-22 Thomas Schwinge <thomas@codesourcery.com>
24945
24946 * math/w_ilogb.c: Include <limits.h>.
24947 * math/w_ilogbl.c: Likewise.
24948
b5982523
JM
249492012-07-20 Joseph Myers <joseph@codesourcery.com>
24950
24951 * manual/lang.texi (__va_copy): Document primarily as ISO C99
24952 va_copy. Document allowing for unavailable va_copy only as
24953 pre-C99 compatibility.
24954 * manual/string.texi (Copying and Concatenation): Use va_copy
24955 instead of __va_copy in concat example.
24956
ac4ea442
PT
249572012-07-20 Pino Toscano <toscano.pino@tiscali.it>
24958
24959 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
24960 (__sendto): Use create_address_port. Initialize APORT and deallocate
24961 it if not null.
24962
f98eafbd
PT
24963 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
24964 with O_NOLINK passed to __file_name_lookup.
24965
898c7aab
PT
24966 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
24967 with O_NOLINK passed to __file_name_lookup.
24968
0ced335a
PT
24969 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
24970 negative N or less than NGIDS.
24971
b3404dbd
PT
24972 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
24973 type to string_t. Set ERANGE as errno and return it if NAME is not big
24974 enough. Use memcpy instead of strncpy.
24975
0f48659e
JM
249762012-07-20 Joseph Myers <joseph@codesourcery.com>
24977
24978 * elf/Makefile (check-data): Remove.
24979 (localplt.data): New vpath directive.
24980 ($(objpfx)check-localplt.out): Use localplt.data from vpath
24981 instead of $(check-data).
24982 * scripts/data/localplt-generic.data: Move to ...
24983 * sysdeps/generic/localplt.data: ... here.
24984 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
24985 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
24986 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
24987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
24988 ... here.
24989 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
24990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
24991 ... here.
24992 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
24993 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
24994 ... here.
24995 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
24996 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
24997 ... here.
24998 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
24999 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
25000 ... here.
25001 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
25002 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
25003 ... here.
25004
d37cbdaa
AZ
250052012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25006
25007 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
25008 PPC32 and PPC64 files.
25009 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
25010 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
25011
46f85fc2
AK
250122012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25013
25014 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
25015 __makecontext_ret to ...
25016 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
25017 ... here and call exit if uc_link is NULL. New file.
25018 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
25019 __makecontext_ret.S.
25020 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
25021 __makecontext_ret to ...
25022 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
25023 ... here and call exit if uc_link is NULL. New file.
25024 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
25025 __makecontext_ret.S.
25026
08f43f9b
AK
250272012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25028
25029 * elf/elf.h (R_390_IRELATIVE): New definition.
25030 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
25031 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
25032 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
25033 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
25034 (elf_machine_lazy_rel): Likewise.
25035 * sysdeps/s390/dl-irel.h: New file.
25036 * sysdeps/s390/s390-64/memcpy.S: New asm code.
25037 * sysdeps/s390/s390-64/memset.S: New asm code.
25038 * sysdeps/s390/s390-64/memcmp.S: New asm code.
25039 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
25040 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
25041 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
25042 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
25043 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
25044 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
25045 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
25046 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
25047 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
25048 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
25049 * sysdeps/s390/s390-32/memcpy.S: New asm code.
25050 * sysdeps/s390/s390-32/memset.S: New asm code.
25051 * sysdeps/s390/s390-32/memcmp.S: New asm code.
25052
3b05db33
MP
250532012-07-17 Marek Polacek <polacek@redhat.com>
25054
25055 [BZ #14349]
25056 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
25057 * sysdeps/s390/s390-64/configure.in: Likewise.
25058 * sysdeps/sparc/configure.in: Likewise.
25059 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
25060 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
25061 * sysdeps/i386/configure.in: Likewise.
25062 * sysdeps/x86_64/configure.in: Likewise.
25063 * sysdeps/sh/configure.in: Likewise.
25064 * sysdeps/s390/s390-32/configure: Regenerated.
25065 * sysdeps/s390/s390-64/configure: Likewise.
25066 * sysdeps/x86_64/configure: Likewise.
25067 * sysdeps/sh/configure: Likewise.
25068 * sysdeps/powerpc/powerpc64/configure: Likewise.
25069 * sysdeps/powerpc/powerpc32/configure: Likewise.
25070 * sysdeps/sparc/configure: Likwise.
25071 * sysdeps/i386/configure: Likewise.
25072
a66877c6
MP
25073 * elf/dl-open.c: Comment fixes.
25074
cfc82fd8
JM
250752012-07-17 Joseph Myers <joseph@codesourcery.com>
25076
bd29910a
JM
25077 * Makefile [CXX] (check-data): Remove.
25078 [CXX] (c++-types.data): New vpath directive.
25079 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
25080 vpath. Do not allow for C++ type data being missing.
25081 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
25082 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
25083 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
25084 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
25085 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
25086 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
25087 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
25088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
25089 ... here.
25090 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
25091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
25092 ... here.
25093 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
25094 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
25095 ... here.
25096 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
25097 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
25098 ... here.
25099 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
25100 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
25101 ... here.
25102 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
25103 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
25104 ... here.
25105 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
25106 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
25107 ... here.
25108 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
25109 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
25110
cfc82fd8
JM
25111 * elf/tls-macros.h (TLS_LE): Move architecture-specific
25112 definitions to architecture-specific files.
25113 (TLS_IE): Likewise.
25114 (TLS_LD): Likewise.
25115 (TLS_GD): Likewise.
25116 * sysdeps/i386/tls-macros.h: New file.
25117 * sysdeps/powerpc/tls-macros.h: Likewise.
25118 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
25119 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
25120 * sysdeps/sh/tls-macros.h: Likewise.
25121 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
25122 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
25123 * sysdeps/x86_64/tls-macros.h: Likewise.
25124
f7db3170
TS
251252012-07-17 Thomas Schwinge <thomas@codesourcery.com>
25126
07cbfc23
TS
25127 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
25128 zero value for regular exit case.
25129
f7db3170
TS
25130 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
25131 (__start_context): Preserve zero value for regular exit case.
25132
dc97c227
TS
251332012-07-17 Thomas Schwinge <thomas@codesourcery.com>
25134 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25135
25136 * manual/setjmp.texi (setcontext): Clarify normal process
25137 termination when uc_link is the null pointer.
25138 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
25139 exit call.
25140
d0cd7d02
AS
251412012-07-16 Andreas Schwab <schwab@linux-m68k.org>
25142
25143 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
25144 preprocessor. Test for each exception mask separately.
25145
dd318934
AJ
251462012-07-16 Andreas Jaeger <aj@suse.de>
25147
25148 * po/ru.po: Update from translation team.
25149
8048311a
JM
251502012-07-15 Joseph Myers <joseph@codesourcery.com>
25151
25152 * conform/data/string.h-data (NULL): Use macro-constant. Require
25153 equal to 0.
25154 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
25155 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
25156 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
25157 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
25158 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25159
b637d46e
AJ
251602012-07-13 Andreas Jaeger <aj@suse.de>
25161
25162 * po/fr.po: Update from translation team.
25163
541428fe
MP
251642012-07-12 Marek Polacek <polacek@redhat.com>
25165
25166 [BZ #14173]
25167 * math/libm-test.inc (yn_test): Add test for BZ #14173.
25168 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
25169 loop condition.
25170
ec332e94
JM
251712012-07-12 Joseph Myers <joseph@codesourcery.com>
25172
25173 [BZ #13717]
25174 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25175 Change to 2.4.1 where previously 2.4.0.
25176 * sysdeps/unix/sysv/linux/configure: Regenerated.
25177 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
25178 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
25179 version.
25180 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
25181 (__ASSUME_AT_CLKTCK): Remove.
25182 (__ASSUME_AT_PAGESIZE): Likewise.
25183 (__ASSUME_AT_XID): Likewise.
25184 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
25185 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
25186 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
25187 unconditionally.
25188 (HAVE_AUX_PAGESIZE): Likewise.
25189 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
25190 [__ASSUME_AT_CLKTCK]: Make code unconditional.
25191 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
25192
7b6e99be
JB
251932012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
25194
25195 [BZ #14307]
25196 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
25197 the temporary buffer used to invoke __gethostbyname2_r,
25198 __gethostbyaddr_r and gethostbyname4_r to make room for struct
25199 host_data / struct gaih_addrtuple.
25200 * resolv/nss_dns/dns-host.c (global scope): Move definition of
25201 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
25202 header file nss/nsswitch.h.
25203 * nss/nsswitch.h (global scope): Add definition of implementation
25204 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
25205 resolv/nss_dns/dns-host.c).
25206
608404eb
AJ
252072012-07-11 Andreas Jaeger <aj@suse.de>
25208
25209 * po/fr.po: Update from translation team.
25210
71220aca
AJ
25211 * po/sv.po: Update from translation team
25212 * po/fr.po: Another update from translation team.
25213
28cfe843
AZ
252142012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25215
25216 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
25217 for subnormals or multiply small sinh result by itself.
25218 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
25219 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25220
6b90f981
DM
252212012-07-11 David S. Miller <davem@davemloft.net>
25222
25223 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25224
c6825772
AS
252252012-07-10 Andreas Schwab <schwab@linux-m68k.org>
25226
25227 [BZ #14347]
25228 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
25229 (INTERNAL_MARK): Shift it here.
25230
7b8e0d49
MP
252312012-07-10 Marek Polacek <polacek@redhat.com>
25232
25233 [BZ #14151]
25234 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
25235 libc_cv_asm_global_directive with .globl.
25236 * configure: Regenerated.
25237 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
25238 with .globl.
25239 * sysdeps/i386/configure: Regenerated.
25240 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
25241 with .globl.
25242 * sysdeps/x86_64/configure: Regenerated.
25243 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
25244 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
25245 * elf/tst-unique2mod2.c: Likewise.
25246 * elf/tst-unique2mod1.c: Likewise.
25247 * elf/tst-unique1mod2.c: Likewise.
25248 * elf/tst-unique1mod1.c: Likewise.
25249 * sysdeps/s390/s390-32/sysdep.h: Likewise.
25250 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
25251 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25252 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
25253 * sysdeps/mach/sysdep.h: Likewise.
25254 * sysdeps/i386/sysdep.h: Likewise.
25255 * sysdeps/i386/i386-mcount.S: Likewise.
25256 * sysdeps/x86_64/_mcount.S: Likewise.
25257 * sysdeps/x86_64/sysdep.h: Likewise.
25258 * sysdeps/sh/_mcount.S: Likewise.
25259 * sysdeps/sh/sysdep.h: Likewise.
25260 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
25261 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
25262 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
25263 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
25264 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
25265 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
25266 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
25267 * locale/localeinfo.h: Likewise.
25268 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
25269 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
25270
6c55cda3
RM
252712012-07-09 Roland McGrath <roland@hack.frob.com>
25272
25273 [BZ #14336]
25274 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
25275 system".
25276 * manual/message.texi (The Uniforum approach): Likewise.
25277 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
25278 (glibc iconv Implementation): Likewise.
25279
638a572e
JM
252802012-07-09 Joseph Myers <joseph@codesourcery.com>
25281
25282 [BZ #14337]
25283 * math/s_clog.c (__clog): Avoid scaling a value down where that
25284 could result in underflow.
25285 * math/s_clog10.c (__clog10): Likewise.
25286 * math/s_clog10f.c (__clog10f): Likewise.
25287 * math/s_clog10l.c (__clog10l): Likewise.
25288 * math/s_clogf.c (__clogf): Likewise.
25289 * math/s_clogl.c (__clogl): Likewise.
25290 * math/libm-test.inc (clog_test): Add more tests.
25291 (clog10_test): Likewise.
25292 * sysdeps/i386/fpu/libm-test-ulps: Update.
25293 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25294
261f4859
AS
252952012-07-06 Andreas Schwab <schwab@linux-m68k.org>
25296
0abaf3e4
AS
25297 [BZ #14283]
25298 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
25299 by 7 not 8 to examine high bit of fractional part.
25300
261f4859
AS
25301 [BZ #14042]
25302 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
25303 for call to __mcount_internal.
25304 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
25305 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
25306 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
25307
f17ac40d
JM
253082012-07-06 Joseph Myers <joseph@codesourcery.com>
25309
9ad63c23
JM
25310 [BZ #14154]
25311 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
25312 approximation for values within 0x1p-13f of an odd multiple of
25313 pi/4.
25314 * math/libm-test.inc (tan_test): Do not allow spurious underflow
25315 exception. Add more tests.
25316 * sysdeps/i386/fpu/libm-test-ulps: Update.
25317
f17ac40d
JM
25318 [BZ #6778]
25319 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
25320 inputs and return -1 for them. Do not check for +Inf in case not
25321 reachable for +Inf.
25322 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
25323 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not 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 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
25328 define.
25329 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
25330 and return -1 for them. Do not check for +Inf in case not
25331 reachable for +Inf.
25332 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
25333 spurious underflow.
25334 * sysdeps/i386/fpu/libm-test-ulps: Update.
25335 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25336
fb21f89b
MF
253372012-07-06 Mike Frysinger <vapier@gentoo.org>
25338
25339 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
25340
cdfe2c5e
JM
253412012-07-05 Joseph Myers <joseph@codesourcery.com>
25342
25343 [BZ #14157]
25344 [BZ #14331]
25345 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
25346 could result in spurious underflow. Scale down values above
25347 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
25348 * math/s_csqrtf.c (__csqrtf): Likewise.
25349 * math/s_csqrtl.c (__csqrtl): Likewise.
25350 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
25351 spurious underflow.
25352 * sysdeps/i386/fpu/libm-test-ulps: Update.
25353 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25354
70d35b67
AS
253552012-07-04 Andreas Schwab <schwab@linux-m68k.org>
25356
704bc459
AS
25357 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
25358 xopen-msg.sed.
25359 * catgets/xopen-msg.awk: New file.
25360 * catgets/xopen-msg.sed: Removed.
25361
70d35b67
AS
25362 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
25363 po2text.sed.
25364 * intl/po2test.awk: New file.
25365 * intl/po2test.sed: Removed.
25366
ca61cf32
JM
253672012-07-04 Joseph Myers <joseph@codesourcery.com>
25368
25369 [BZ #14328]
25370 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
25371 or multiply small sinh result by itself.
25372 * math/s_ctanf.c (__ctanf): Likewise.
25373 * math/s_ctanh.c (__ctanh): Likewise.
25374 * math/s_ctanhf.c (__ctanhf): Likewise.
25375 * math/s_ctanhl.c (__ctanhl): Likewise.
25376 * math/s_ctanl.c (__ctanl): Likewise.
25377 * math/libm-test.inc (ctan_test_tonearest): New function.
25378 (ctan_test_towardzero): Likewise.
25379 (ctan_test_downward): Likewise.
25380 (ctan_test_upward): Likewise.
25381 (ctanh_test_tonearest): Likewise.
25382 (ctanh_test_towardzero): Likewise.
25383 (ctanh_test_downward): Likewise.
25384 (ctanh_test_upward): Likewise.
25385 (main): Call these new functions.
25386 * sysdeps/i386/fpu/libm-test-ulps: Update.
25387 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25388
ca48a46a
MF
253892012-07-03 Mike Frysinger <vapier@gentoo.org>
25390
25391 * .gitignore: Delete /ports entry.
25392
9d63d37d
AJ
253932012-07-03 Andreas Jaeger <aj@suse.de>
25394
25395 * po/bg.po: Update from translation team.
25396 * po/cs.po: Likewise.
25397 * po/de.po: Likewise.
25398 * po/hr.po: Likewise.
25399 * po/nl.pl: Likewise.
25400 * po/pl.po: Likewise.
25401 * po/vi.po: Likewise.
25402
370ca3d2
JM
254032012-07-03 Joseph Myers <joseph@codesourcery.com>
25404
95f5a9a8
JM
25405 * Makeconfig [!+link] (+link-before-libc): New variable.
25406 [!+link] (+link-after-libc): Likewise.
25407 [!+link] (+link-tests): Likewise.
25408 [!+link] (+link): Define in terms of $(+link-before-libc) and
25409 $(+link-after-libc).
25410 [!+link-static] (+link-static-before-libc): New variable.
25411 [!+link-static] (+link-static-after-libc): Likewise.
25412 [!+link-static] (+link-static-tests): Likewise.
25413 [!+link-static] (+link-static): Define in terms of
25414 $(+link-static-before-libc) and $(+link-static-after-libc).
25415 [build-shared] (link-libc-before-gnulib): New variable.
25416 [build-shared] (link-libc-tests): Likewise.
25417 [build-shared] (link-libc): Define in terms of
25418 $(link-libc-before-gnulib).
25419 [!build-shared] (link-libc-tests): New variable.
25420 (link-libc-static-tests): New variable.
25421 [!gnulib] (gnulib-arch): New variable.
25422 [!gnulib] (gnulib-tests): Likewise.
25423 [!gnulib] (static-gnulib-arch): Likewise.
25424 [!gnulib] (static-gnulib-tests): Likewise.
25425 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
25426 Define with "=" instead of ":=".
25427 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
25428 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
25429 * Rules (binaries-all-notests): New variable.
25430 (binaries-all-tests): Likewise.
25431 (binaries-static-notests): Likewise.
25432 (binaries-static-tests): Likewise.
25433 (binaries-all): Define using $(binaries-all-notests) and
25434 $(binaries-all-tests).
25435 (binaries-static): Define using $(binaries-static-notests) and
25436 $(binaries-static-tests).
25437 (binaries-shared-tests): New variable.
25438 (binaries-shared-notests): Likewise.
25439 (binaries-shared): Remove variable.
25440 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
25441 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
25442 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
25443 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
25444 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
25445 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
25446 * elf/Makefile (sln-modules): New variable.
25447 (extra-objs): Add $(sln-modules:=.o).
25448 (ldconfig-modules): Add static-stubs.
25449 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
25450 * elf/static-stubs.c: New file.
25451
7a845b2c
JM
25452 [BZ #14283]
25453 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
25454 by 7 not 8 to examine high bit of fractional part. Use volatile
25455 variables when splitting into final array of floats if
25456 __FLT_EVAL_METHOD__ != 0.
25457 * math/libm-test.inc (cos_test): Add another test.
25458 (sin_test): Likewise.
25459 * sysdeps/i386/fpu/libm-test-ulps: Update.
25460
e2283f38
JM
25461 [BZ #14273]
25462 * math/libm-test.inc (cosh_test): Add more tests.
25463
370ca3d2
JM
25464 * version.h (RELEASE): Set to "development".
25465 (VERSION): Set to "2.16.90".
25466
ee9247c3
CD
254672012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
25468
25469 * NEWS: Update copyright. Remove last-updated date.
25470 Mention math library bug fixes and timezone data changes.
25471 * README: Mention GNU/Hurd, x32, and HPPA support status.
25472
4648c381
TS
254732012-06-28 Thomas Schwinge <thomas@codesourcery.com>
25474
25475 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
25476
aac78a43
AJ
254772012-06-27 Andreas Jaeger <aj@suse.de>
25478
25479 * manual/contrib.texi (Contributors): Add Samuel Thibault.
25480
ed3dbfad
AJ
254812012-06-25 Andreas Jaeger <aj@suse.de>
25482
25483 * sysdeps/s390/fpu/libm-test-ulps: Update.
25484
4d0ee855
AS
254852012-06-23 Andreas Schwab <schwab@linux-m68k.org>
25486 Thomas Schwinge <thomas@codesourcery.com>
25487
25488 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
25489 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
25490 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
25491 fanotify_mark.
25492
af1bce34
TS
254932012-06-23 Thomas Schwinge <thomas@codesourcery.com>
25494
a9fa33ba
TS
25495 * sysdeps/mach/start.c: Remove file.
25496 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
25497 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
25498 * sysdeps/sh/init-first.c: Likewise.
25499
58f902b8
TS
25500 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
25501 registers for frame unwinding purposes, add CFI directives.
25502 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
25503 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
25504 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
25505 Likewise.
25506
1518f58b
TS
25507 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
25508 __fortify_fail returning.
25509 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
25510
db9b5059
TS
25511 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
25512 sysdeps/sh/____longjmp_chk.S.
25513 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
25514 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
25515 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
25516 (gen-as-const-headers): Append sigaltstack-offsets.sym.
25517
967705fe
TS
25518 * sysdeps/sh/abort-instr.h: New file.
25519 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
25520 process in case exit returns.
25521
a9def8c4
TS
25522 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
25523 initialize the GOT register before use.
25524
2a649725
TS
25525 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
25526 calculation of ARGC > 4.
25527
af1bce34
TS
25528 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
25529 meaningful names to some local labels.
25530
d230f50a
KK
255312012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
25532 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25533
25534 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
25535 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
25536 (__arch_compare_and_exchange_val_16_acq): Likewise.
25537 (__arch_compare_and_exchange_val_32_acq): Likewise.
25538 (atomic_exchange_and_add): Fix gUSA sequence.
25539 (atomic_add): Likewise.
25540 (atomic_add_negative): Likewise.
25541 (atomic_add_zero): Likewise.
25542 (atomic_bit_test_set): Likewise.
25543
0479b305
AS
255442012-06-22 Andreas Schwab <schwab@redhat.com>
25545
25546 [BZ #13579]
25547 * include/link.h (struct link_map): Add l_free_initfini.
25548 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
25549 l_initfini.
25550 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
25551 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
25552 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
25553 set.
25554
0e3933b9
CD
255552012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
25556
25557 * configure.in: Use AC_LANG_SOURCE.
25558 * configure: Regenerate.
25559
4248b1b1
RM
255602012-06-22 Roland McGrath <roland@hack.frob.com>
25561
25562 * configure.in (libc_cv_localstatedir): New substituted variable.
25563 * configure: Regenerated.
25564 * config.make.in (localstatedir): New variable, substituted from
25565 libc_cv_localstatedir.
25566 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
25567 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
25568 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
25569 * sysdeps/gnu/configure: Regenerated.
25570
006dd861
JL
255712012-06-21 Jeff Law <law@redhat.com>
25572
25573 [BZ #14277]
25574 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
25575 free. Simplify list management for _LIBC case.
25576
79662d42
JM
255772012-06-21 Joseph Myers <joseph@codesourcery.com>
25578
b7abb4bf
JM
25579 [BZ #14273]
25580 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
25581 Clear sign bit of 64-bit integer value before comparing against
25582 overflow value.
25583
79662d42
JM
25584 * sysdeps/mach/configure: Regenerated.
25585
1f150908
L
255862012-06-21 H.J. Lu <hongjiu.lu@intel.com>
25587
25588 [BZ #14278]
25589 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
25590
28363bbf
JL
255912012-06-21 Jeff Law <law@redhat.com>
25592
25593 [BZ #13882]
25594 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
25595 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 25596 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
25597 * elf/dl-open.c (dl_open_worker): Likewise.
25598
09615db4
CD
255992012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
25600
25601 * scripts/list-sources.sh: Scan PORTS for translations.
25602 * po/libc.pot: Regenerated.
25603
2174c6dd
AJ
256042012-06-21 Andreas Jaeger <aj@suse.de>
25605
25606 [BZ #12194]
25607 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
25608 warning.
25609 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
25610 * bits/byteswap-16.h (__bswap_16): Likewise.
25611 * bits/byteswap.h (__bswap_constant_16): Likewise.
25612
3ee947b1
L
256132012-06-18 H.J. Lu <hongjiu.lu@intel.com>
25614
25615 [BZ #14117]
a2f34833
L
25616 * sysdeps/i386/fpu_control.h: Removed.
25617 * sysdeps/x86_64/fpu_control.h: Moved to ...
25618 * sysdeps/x86/fpu_control.h: Here.
25619
3ee947b1
L
25620 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
25621 (_FPU_SETCW): Likewise.
25622
ed1825f8
L
256232012-06-15 H.J. Lu <hongjiu.lu@intel.com>
25624
25f1282a
L
25625 [BZ #14117]
25626 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
25627 * sysdeps/x86/fpu/bits/mathinline.h: This.
25628 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
25629
ed1825f8
L
25630 [BZ #14050]
25631 [BZ #14117]
25632 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
25633 functions if __x86_64__ is defined.
25634
36d54b74
CLT
256352012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
25636
25637 * string/endian.h: Add !__ASSEMBLER__ condition for including
25638 conversion interfaces.
25639
10285c21
JM
256402012-06-15 Joseph Myers <joseph@codesourcery.com>
25641
25642 [BZ #14241]
25643 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
25644 of ABS(x) in calculating zero to negative powers other than odd
25645 integers.
25646 * math/libm-test.inc (pow_test): Add more tests.
25647
06c5abbd
AJ
256482012-06-15 Andreas Jaeger <aj@suse.de>
25649
25650 * manual/contrib.texi (Contributors): Update entry of Liubov
25651 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
25652 Machado Filho.
25653
a3aeac40
CH
256542012-06-15 Cyril Hrubis <metan@ucw.cz>
25655
25656 * string/string.h: Add __wur to GNU version of strerror_r.
25657
49bdf4c1
L
256582012-06-14 H.J. Lu <hongjiu.lu@intel.com>
25659
25660 [BZ #14229]
25661 * string/Makefile (tests): Add tst-strtok_r.
25662 * string/tst-strtok_r.c: New file.
25663 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
25664 RAX_LP/RDX_LP on SAVE_PTR.
25665
834f9b8d
RM
256662012-06-14 Roland McGrath <roland@hack.frob.com>
25667
25668 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
25669
75fa1921
JM
256702012-06-14 Joseph Myers <joseph@codesourcery.com>
25671
25672 * libm_test.inc (csqrt_test): Allow more spurious underflow
25673 exceptions.
25674 (j0_test): Likewise.
25675 (j1_test): Likewise.
25676 (y0_test): Likewise.
25677 (y1_test): Likewise.
25678
771766df
CD
256792012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
25680
25681 * po/Makefile (libc.pot): Use UTF-8 charset.
25682
ceb9e56b
PP
256832012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
25684
25685 [BZ #14210]
25686 Suppress sign-conversion warning from FD_SET.
25687 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
25688 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
25689 not unsigned long int.
25690 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
25691
ddb28975
L
256922012-06-12 H.J. Lu <hongjiu.lu@intel.com>
25693
25694 [BZ #14050]
25695 [BZ #14117]
25696 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
25697 __extern_always_inline instead of __extern_inline.
25698 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
25699 (__signbit): Likewise.
25700 (__signbitl): Support C++ namespace.
25701 (lrintf): New inline function.
25702 (lrint): Likewise.
25703 (llrintf): Likewise.
25704 (llrint): Likewise.
25705 (fmaxf): Likewise.
25706 (fmax): Likewise.
25707 (fminf): Likewise.
25708 (fmin): Likewise.
25709 (rint): Likewise.
25710 (rintf): Likewise.
25711 (ceil): Likewise.
25712 (ceilf): Likewise.
25713 (floor): Likewise.
25714 (floorf): Likewise.
25715 (nearbyint): Likewise.
25716 (nearbyintf): Likewise.
25717
d7b4fb26
TS
257182012-06-12 Thomas Schwinge <thomas@codesourcery.com>
25719
25720 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
25721 non-default versions.
25722
eb55f5c2
RM
257232012-06-11 Roland McGrath <roland@hack.frob.com>
25724
25725 [BZ #14218]
25726 * manual/argp.texi (Argp): Reword argp_parse description slightly.
25727
366af02c
TS
257282012-06-09 Thomas Schwinge <thomas@codesourcery.com>
25729
99ff6e5c
TS
25730 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
25731 (FE_UPWARD, FE_DOWNWARD): Don't define.
25732 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
25733 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
25734
366af02c
TS
25735 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
25736 reading it.
25737 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
25738 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
25739
793ea851
KK
257402012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25741
25742 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
25743 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
25744 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
25745 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
25746
a728a38f
L
257472012-06-06 H.J. Lu <hongjiu.lu@intel.com>
25748
25749 [BZ #14117]
c08010c7
L
25750 * sysdeps/i386/fpu/bits/fenv.h: Removed.
25751 * sysdeps/i386/fpu/Implies: New file.
25752 * sysdeps/x86_64/fpu/Implies: Likewise.
25753 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
25754 * sysdeps/x86/fpu/bits/fenv.h: This.
25755
a728a38f
L
25756 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
25757 __SSE_MATH__.
25758
6e230d11
SP
257592012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
25760
25761 [BZ #14134]
25762 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
25763 character 0xffff that matches the last element of the
25764 conversion table.
25765
1b671feb
AZ
257662012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25767
25768 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
25769 fmodl commit.
25770
6043738b
AZ
257712012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25772
25773 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
25774 values higher than 25.6283.
25775
34ae0b32
AZ
257762012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25777
25778 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
25779 subnormal exponent extraction and add some __builtin_expect.
25780 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
25781 Fix for subnormal mantissa calculation.
25782
1214ec8f
MF
257832012-06-04 Mike Frysinger <vapier@gentoo.org>
25784
25785 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
25786 cpu2 is -1 and errno is not ENOSYS.
25787
f3d1f93c
L
257882012-06-04 H.J. Lu <hongjiu.lu@intel.com>
25789
25790 [BZ #14117]
0e4a3cd7
L
25791 * sysdeps/i386/i486/bits/string.h: Renamed to ...
25792 * sysdeps/x86/bits/string.h: This.
25793 * sysdeps/x86_64/bits/string.h: Removed.
25794
6704c645
L
25795 * sysdeps/i386/i486/bits/string.h: Define inline functions only
25796 if not compiling for x86-64, but compiling for >= i486.
25797
48495318
L
25798 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
25799 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
25800
14adcbfc
L
25801 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
25802 New macro from Linux kernel 3.4.0.
25803 (FP_XSTATE_MAGIC2): Likewise.
25804 (FP_XSTATE_MAGIC2_SIZE): Likewise.
25805 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
25806 (struct _fpx_sw_bytes): New struct.
25807 (struct _xsave_hdr): Likewise.
25808 (struct _ymmh_state): Likewise.
25809 (struct _xstate): Likewise.
25810
68e408ab
L
25811 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
25812 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
25813 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
25814 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
25815 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
25816 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
25817
f3d1f93c
L
25818 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
25819 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
25820 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
25821 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
25822 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
25823 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
25824
d9dc34cd
TMQMF
258252012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25826
25827 [BZ #13743]
25828 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
25829 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
25830 (sysdep_headers): Include sys/platform/ppc.h.
25831 * sysdeps/powerpc/test-gettimebase.c: Test for
25832 __ppc_get_timebase() to catch future ISA opcode/insn changes.
25833 * manual/Makefile (appendices): Include platform.texi.
25834 * manual/contrib.texi (Contributors): Update @node pointers.
25835 * manual/maint.texi (Maintenance): Likewise.
25836 (Platform): New node.
25837 * manual/platform.texi: New file. Document the new features.
25838
4af3879c
SP
258392012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
25840 Jakub Jelinek <jakub@redhat.com>
25841
25842 [BZ #14188]
25843 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
25844 where __builtin_expect is unavailable.
25845
2fd6ff13
DM
258462012-06-03 David S. Miller <davem@davemloft.net>
25847
25848 * stdlib/longlong.h: Updated from GCC.
25849
173f7220
AS
258502012-06-02 Andreas Schwab <schwab@linux-m68k.org>
25851
25852 [BZ #14042]
25853 * sysdeps/powerpc/powerpc32/mcount.c: New file.
25854 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
25855 __mcount_internal.
25856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
25857 (GLIBC_2.16): Likewise.
25858
f34a1c6f
L
258592012-06-01 H.J. Lu <hongjiu.lu@intel.com>
25860
25861 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
25862
88a4576f
JM
258632012-06-01 Joseph Myers <joseph@codesourcery.com>
25864
ea32bcdd
JM
25865 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
25866 (default-abi): New variable.
25867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
25868 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
25869 variable.
25870 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
25871 Likewise.
25872 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
25873 Likewise.
25874 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
25875 Likewise.
25876
88a4576f
JM
25877 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
25878 definition. Document in comment.
25879
402fe938
DM
258802012-06-01 David S. Miller <davem@davemloft.net>
25881
25882 * stdlib/longlong.h: Updated from GCC.
25883
3553723f
L
258842012-06-01 H.J. Lu <hongjiu.lu@intel.com>
25885
25886 [BZ #14117]
3bd872c4
L
25887 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
25888 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
25889 sys/debugreg.h sys/io.h here.
25890 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
25891 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
25892 sys/io.h.
25893 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
25894 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
25895 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
25896 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
25897 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
25898 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
25899
3553723f
L
25900 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
25901 Define only if __x86_64__ is defined.
25902
4842e4fe
JM
259032012-06-01 Joseph Myers <joseph@codesourcery.com>
25904
c5bfe3d5
JM
25905 [BZ #14048]
25906 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
25907 Use int64_t for variable i.
25908 * math/libm-test.inc (fmod_test): Add more tests.
25909
4842e4fe
JM
25910 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
25911 z computation is not scheduled after fetestexcept.
25912 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
25913 Use math_force_eval instead of asm to ensure calculation scheduled
25914 before exception test.
25915 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
25916 Ensure a1 + u.d computation is not scheduled after fetestexcept.
25917
efb73488
AJ
259182012-06-01 Aurelien Jarno <aurelien@aurel32.net>
25919
25920 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
25921 computation is not scheduled after fetestexcept.
25922
29bcce7c
L
259232012-06-01 H.J. Lu <hongjiu.lu@intel.com>
25924
25925 [BZ #14117]
25926 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
25927 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
25928
73a68f94
AZ
259292012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25930
25931 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
25932 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
25933
67b6df78
L
259342012-05-31 H.J. Lu <hongjiu.lu@intel.com>
25935
edf2933a 25936 [BZ #14117]
ebc64a18
L
25937 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
25938 <bits/wordsize.h>.
25939 (__WCHAR_MIN): Support __WORDSIZE == 64.
25940 (__WCHAR_MAX): Likewise.
25941
edf2933a
L
25942 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
25943 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
25944
57c6cf40
L
25945 [BZ #14183]
25946 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
25947 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
25948
67b6df78 25949 [BZ #14117]
8eb6281e
L
25950 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
25951 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
25952
aac639f4
L
25953 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
25954 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
25955
67b6df78
L
25956 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
25957 Defined to 1 if __x86_64__ isn't defined.
25958 (_STAT_VER_LINUX_OLD): New.
25959 (st_atime): Remove duplicate.
25960 (st_mtime): Likewise.
25961 (st_ctime): Likewise.
25962
1c2cfe81
DM
259632012-05-31 David S. Miller <davem@davemloft.net>
25964
25965 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
25966 entries.
25967
5be8418c
AS
259682012-06-01 Andreas Schwab <schwab@linux-m68k.org>
25969
e7725326
AS
25970 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
25971 gen-libm-test.pl.
25972
5be8418c
AS
25973 [BZ #14132]
25974 * elf/dl-reloc.c: Include <_itoa.h>.
25975 (_dl_reloc_bad_type): Remove use of INTUSE.
25976 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
25977 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
25978 * stdio-common/psiginfo.c (psiginfo): Likewise.
25979 * stdio-common/psignal.c (psignal): Likewise.
25980 * string/strsignal.c (strsignal): Likewise.
25981 * include/signal.h (_sys_siglist): Declare hidden proto.
25982 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
25983 INTVARDEF with libc_hidden_data_def.
25984 * stdio-common/itoa-udigits.c: Likewise.
25985 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
25986 (_itoa_lower_digits_internal): Remove declaration.
25987 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
25988 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
25989 (_sys_sigabbrev_internal): Remove aliases.
25990 (_sys_siglist): Define hidden alias.
25991
507352f1
MT
259922012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
25993
25994 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25995 bits/sysctl.h.
25996
42bbb1c3
L
259972012-05-31 H.J. Lu <hongjiu.lu@intel.com>
25998
25999 [BZ #14117]
6bd784b6
L
26000 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
26001 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
26002
8bca20f0
L
26003 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
26004 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
26005 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
26006 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
26007 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
26008 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
26009
f9e890a9
L
26010 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
26011 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
26012 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
26013
471101a1
L
26014 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
26015 with __addr.
26016 (insw): Likewise.
26017 (insl): Likewise.
26018 (outsb): Likewise.
26019 (outsw): Likewise.
26020 (outsl): Likewise.
26021
6451c862
L
26022 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
26023 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
26024 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
26025
a254b8c9
L
26026 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
26027 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
26028 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
26029 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
26030 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
26031 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
26032
b8dfdd92
L
26033 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
26034 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
26035
578cd270
L
26036 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
26037 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
26038
de662f5f
L
26039 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
26040 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
26041 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
26042
25653439
L
26043 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
26044 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
26045 to ...
26046 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
26047
6bad24a0
L
26048 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
26049 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
26050 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
26051
42bbb1c3
L
26052 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
26053 for x86-64.
26054 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
26055
2d10d547
JM
260562012-05-31 Joseph Myers <joseph@codesourcery.com>
26057
26058 * math/math.h (M_El): Use two more decimal places.
26059 (M_LOG2El): Likewise.
26060 (M_LOG10El): Likewise.
26061 (M_LN2l): Likewise.
26062 (M_LN10l): Likewise.
26063 (M_PIl): Likewise.
26064 (M_PI_2l): Likewise.
26065 (M_PI_4l): Likewise.
26066 (M_1_PIl): Likewise.
26067 (M_2_PIl): Likewise.
26068 (M_2_SQRTPIl): Likewise.
26069 (M_SQRT2l): Likewise.
26070 (M_SQRT1_2l): Likewise.
26071
f230c29b
DM
260722012-05-31 David S. Miller <davem@davemloft.net>
26073
26074 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
26075 values between float registers.
26076 * sysdeps/sparc/sparc64/memset.S: Likewise.
26077 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
26078
fed806c3
MF
260792012-05-31 Mike Frysinger <vapier@gentoo.org>
26080
26081 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
26082 -D_FORTIFY_SOURCE=1.
26083 (CPPFLAGS-tst-longjmp_chk.c): Define.
26084 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
26085 (CPPFLAGS-tst-longjmp_chk2.c): Define.
26086 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
26087 CFLAGS-tst-wchar-h.c.
26088
30917259
MP
260892012-05-31 Marek Polacek <polacek@redhat.com>
26090
26091 [BZ #14132]
26092 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
26093 __endmntent_internal): Remove declaration.
26094 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
26095 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
26096 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
26097
1c58d5dc
DM
260982012-05-30 David S. Miller <davem@davemloft.net>
26099
26100 * sysdeps/sparc/sparc32/soft-fp/q_util.c
26101 (___Q_simulate_exceptions): Use real FP ops rather than writing
26102 into the %fsr.
26103 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
26104 Likewise.
26105
7dc00e0d
L
261062012-05-30 H.J. Lu <hongjiu.lu@intel.com>
26107
26108 [BZ #14117]
0bd53985
L
26109 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
26110 * sysdeps/x86/bits/xtitypes.h: This.
26111
3a257e66
L
26112 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
26113 * sysdeps/x86/bits/wordsize.h: This.
26114
62f62904
L
26115 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
26116 * sysdeps/x86/bits/huge_vall.h: This.
26117
404fe9d9
L
26118 * sysdeps/i386/bits/select.h: Removed.
26119 * sysdeps/x86_64/bits/select.h: Renamed to ...
26120 * sysdeps/x86/bits/select.h: This.
26121
d48d0446
L
26122 * sysdeps/i386/bits/setjmp.h: Removed.
26123 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
26124 * sysdeps/x86/bits/setjmp.h: This.
26125
7dc00e0d
L
26126 * sysdeps/i386/bits/mathdef.h: Removed.
26127 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
26128 * sysdeps/x86/bits/mathdef.h: This.
26129
03277f8f
AS
261302012-05-30 Andreas Schwab <schwab@linux-m68k.org>
26131
26132 [BZ #14132]
26133 * include/sys/socket.h (__connect_internal)
26134 (__libc_sa_len_internal): Remove declaration.
26135 (__connect, __libc_sa_len): Declare hidden_proto.
26136 (SA_LEN): Remove use of INTUSE.
26137 * socket/connect.c: Add libc_hidden_def.
26138 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
26139 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
26140 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
26141 alias.
26142 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
26143 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
26144 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
26145 of adding _internal alias.
26146
13764867
L
261472012-05-30 H.J. Lu <hongjiu.lu@intel.com>
26148
26149 [BZ #14117]
6bd97696
L
26150 * sysdeps/i386/bits/link.h: Removed.
26151 * sysdeps/i386/bits/linkmap.h: Likewise.
26152 * sysdeps/x86_64/bits/link.h: Renamed to ...
26153 * sysdeps/x86/bits/link.h: This.
26154 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
26155 * sysdeps/x86/bits/linkmap.h: This.
26156
f726f0bb
L
26157 * sysdeps/i386/bits/endian.h: Removed.
26158 * sysdeps/x86_64/bits/endian.h: Renamed to ...
26159 * sysdeps/x86/bits/endian.h: This.
26160
13764867
L
26161 * sysdeps/i386/bits/byteswap.h: Removed.
26162 * sysdeps/i386/bits/byteswap-16.h: Likewise.
26163 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
26164 * sysdeps/x86/bits/byteswap.h: This.
26165 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
26166 * sysdeps/x86/bits/byteswap-16.h: This.
26167 * sysdeps/i386/Implies: Add x86.
26168 * sysdeps/x86_64/Implies: Likewise.
26169
ae251b0b
DM
261702012-05-30 David S. Miller <davem@davemloft.net>
26171
26172 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
26173 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
26174 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
26175 (FP_TRAPPING_EXCEPTIONS): Define.
26176 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
26177 (FP_TRAPPING_EXCEPTIONS): Define.
26178 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
26179 subnormals only when inexact has been signalled or underflow
26180 exceptions are enabled.
26181 (_FP_PACK_CANONICAL): Likewise.
26182
d5c90867
L
261832012-05-30 H.J. Lu <hongjiu.lu@intel.com>
26184
26185 [BZ #14183]
26186 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
26187 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
26188
63f1549e
RH
261892012-05-30 Richard Henderson <rth@twiddle.net>
26190
8d8f2279
RH
26191 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
26192 with #ifndef NOT_IN_libc.
26193
63f1549e
RH
26194 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
26195 marked to avoid plt entry.
26196
0ab0291b
L
261972012-05-30 H.J. Lu <hongjiu.lu@intel.com>
26198
26199 [BZ #14112]
26200 * Makeconfig (default-abi): New macro.
26201 (abi-includes): Likewise.
26202 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
26203 $(abi-$(default-abi)-lib-soname) for soname if defined.
26204 ($(common-objpfx)gnu/lib-names.stmp): Generate from
26205 abi-variants.
26206 * Makefile (installed-stubs): Likewise.
26207 * include/stubs-biarch.h: Removed.
26208 * scripts/lib-names.awk: Only handle one library at a time.
26209 * scripts/soversions.awk: Remove WORDSIZE support.
26210 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
26211 entries.
26212 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
26213 Removed.
26214 (syscall-list-default-condition): Likewise.
26215 (syscall-list-default-condition): Likewise.
26216 (syscall-list-includes): Likewise.
26217 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
26218 syscall-list-* with abi-*. Handle undefined abi-variants.
26219 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
26220 * sysdeps/unix/sysv/linux/i386/Implies: New file.
26221 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
26222 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
26223 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
26224 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
26225 Removed.
26226 (syscall-list-32-options): Likewise.
26227 (syscall-list-32-condition): Likewise.
26228 (syscall-list-64-options): Likewise.
26229 (syscall-list-64-condition): Likewise.
26230 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
26231 macro.
26232 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
26233 Renamed to ...
26234 (abi-*): This.
26235 (abi-64-ld-soname): New macro.
26236 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
26237 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
26238 Renamed to ...
26239 (abi-*): This.
26240 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
26241 * sysdeps/x86_64/x32/shlib-versions: Likewise.
26242
4da0431d
JM
262432012-05-30 Joseph Myers <joseph@codesourcery.com>
26244
3a85279c
JM
26245 * sysdeps/unix/sysv/linux/kernel-features.h
26246 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
26247 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
26248 include <kernel-features.h>.
26249 [!__NR_ftruncate64]: Remove conditional code.
26250 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26251 [__NR_ftruncate64]: Make code unconditional.
26252 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26253 * sysdeps/unix/sysv/linux/truncate64.c: Do not
26254 include <kernel-features.h>.
26255 [!__NR_ftruncate64]: Remove conditional code.
26256 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26257 [__NR_ftruncate64]: Make code unconditional.
26258 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26259 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
26260 include <kernel-features.h>.
26261 [!__NR_ftruncate64]: Remove conditional code.
26262 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26263 [__NR_ftruncate64]: Make code unconditional.
26264 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26265 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
26266 include <kernel-features.h>.
26267 [!__NR_ftruncate64]: Remove conditional code.
26268 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26269 [__NR_ftruncate64]: Make code unconditional.
26270 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26271
4da0431d
JM
26272 * configure.in (libc_cv_fpie): Weaken to a compile test using
26273 LIBC_TRY_CC_OPTION.
26274 * configure: Regenerated.
26275
11ef492c
AK
262762012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26277
26278 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
26279 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
26280 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
26281 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
26282 Refreshed.
26283 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
26284 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
26285 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
26286 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
26287 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
26288 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
26289 Refreshed.
26290
d66ef399
DM
262912012-05-27 David S. Miller <davem@davemloft.net>
26292
26293 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
26294 (___Q_zero): New.
26295 (__Q_simulate_exceptions): Return void. Change to simulate
26296 exceptions by writing into the %fsr.
26297 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
26298 (__Qp_handle_exceptions): Likewise.
26299 (numbers): Delete.
26300 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
26301 __Qp_handle_exceptions.
26302 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
26303 __Qp_handle_exceptions.
26304 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
26305 as unused and give dummy FP_RND_NEAREST initializer.
26306 (FP_INHIBIT_RESULTS): Define.
26307 (___Q_simulate_exceptions): Update declaration.
26308 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
26309 formatting.
26310 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
26311 as unused and give dummy FP_RND_NEAREST initializer.
26312 (__Qp_handle_exceptions): Update declaration.
26313 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
26314 formatting.
26315
04fb54b5
TS
263162012-05-27 Thomas Schwinge <thomas@codesourcery.com>
26317
26318 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
26319 the temporary FPU control word.
26320 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
26321 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
26322 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
26323 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
26324 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
26325 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
26326 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
26327 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
26328 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
26329 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
26330 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
26331
3f99608f
KK
263322012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26333
26334 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
26335 fields.
26336
65a4de4e
CLT
263372012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
26338
26339 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
26340 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
26341 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
26342 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
26343 Likewise.
26344 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
26345 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
26346 Likewise.
26347
15749d40
UD
263482012-05-27 Ulrich Drepper <drepper@gmail.com>
26349
26350 * po/h.po: Update from translation team.
26351
25dbcb27
AS
263522012-05-26 Andreas Schwab <schwab@linux-m68k.org>
26353
3d3f8e55
AS
26354 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
26355
25dbcb27
AS
26356 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
26357 handling of denormals.
26358 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
26359 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
26360 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
26361 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
26362 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
26363 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
26364 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
26365 Likewise.
26366
7ad47a80 263672012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
26368
26369 [BZ #14152]
26370 * math/libm-test.inc (fma_test): Don't always expect underflow
26371 exception.
26372
9c6ea9fa
SP
263732012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26374
26375 [BZ #12416]
26376 * elf/tst-execstack.c: Include stackinfo.h.
26377 (do_test): Adjust test case to ensure that pthread_getattr_np
26378 behaviour remains the same after marking stack executable.
26379
a8239222
JM
263802012-05-25 Joseph Myers <joseph@codesourcery.com>
26381
26382 * sysdeps/unix/sysv/linux/kernel-features.h
26383 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
26384 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
26385 kernel-features.h.
26386 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
26387 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
26388 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
26389 kernel-features.h.
26390 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
26391 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
26392
918b5606
L
263932012-05-25 H.J. Lu <hongjiu.lu@intel.com>
26394
26395 * configure.in: Define the default includes to being none.
26396 * configure: Regenerated.
26397
3a097cc7
RM
263982012-05-25 Roland McGrath <roland@hack.frob.com>
26399
8422c9a5
RM
26400 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
26401 * sysdeps/x86_64/setjmp.S: Likewise.
26402 * sysdeps/i386/bsd-setjmp.S: Likewise.
26403 * sysdeps/i386/bsd-_setjmp.S: Likewise.
26404 * sysdeps/i386/setjmp.S: Likewise.
26405 * sysdeps/i386/__longjmp.S: Likewise.
26406 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
26407 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
26408
3a097cc7
RM
26409 * include/stap-probe.h: New file.
26410 * configure.in: Handle --enable-systemtap.
26411 * configure: Regenerated.
26412 * config.h.in (USE_STAP_PROBE): New #undef.
26413 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
26414 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
26415 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
26416
21708942
JM
264172012-05-25 Joseph Myers <joseph@codesourcery.com>
26418
26419 [BZ #13717]
26420 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
26421 to 2.4.0 where earlier.
26422 * sysdeps/unix/sysv/linux/configure: Regenerated.
26423 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
26424 <kernel-features.h>.
26425 [__ASSUME_32BITUIDS]: Make code unconditional.
26426 [!__ASSUME_32BITUIDS]: Remove conditional code.
26427 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
26428 <kernel-features.h>.
26429 [__ASSUME_32BITUIDS]: Make code unconditional.
26430 [!__ASSUME_32BITUIDS]: Remove conditional code.
26431 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
26432 [__ASSUME_32BITUIDS]: Make code unconditional.
26433 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
26434 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
26435 <kernel-features.h>.
26436 [__ASSUME_32BITUIDS]: Make code unconditional.
26437 [!__ASSUME_32BITUIDS]: Remove conditional code.
26438 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
26439 <kernel-features.h>.
26440 [__ASSUME_32BITUIDS]: Make code unconditional.
26441 [!__ASSUME_32BITUIDS]: Remove conditional code.
26442 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
26443 <kernel-features.h>.
26444 [__ASSUME_32BITUIDS]: Make code unconditional.
26445 [!__ASSUME_32BITUIDS]: Remove conditional code.
26446 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
26447 <kernel-features.h>.
26448 [__ASSUME_32BITUIDS]: Make code unconditional.
26449 [!__ASSUME_32BITUIDS]: Remove conditional code.
26450 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
26451 <kernel-features.h>.
26452 [__ASSUME_32BITUIDS]: Make code unconditional.
26453 [!__ASSUME_32BITUIDS]: Remove conditional code.
26454 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
26455 <kernel-features.h>.
26456 [__ASSUME_32BITUIDS]: Make code unconditional.
26457 [!__ASSUME_32BITUIDS]: Remove conditional code.
26458 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
26459 <kernel-features.h>.
26460 [__ASSUME_32BITUIDS]: Make code unconditional.
26461 [!__ASSUME_32BITUIDS]: Remove conditional code.
26462 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
26463 <kernel-features.h>.
26464 [__ASSUME_32BITUIDS]: Make code unconditional.
26465 [!__ASSUME_32BITUIDS]: Remove conditional code.
26466 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
26467 <kernel-features.h>.
26468 [__ASSUME_32BITUIDS]: Make code unconditional.
26469 [!__ASSUME_32BITUIDS]: Remove conditional code.
26470 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
26471 <kernel-features.h>.
26472 [__ASSUME_32BITUIDS]: Make code unconditional.
26473 [!__ASSUME_32BITUIDS]: Remove conditional code.
26474 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
26475 <kernel-features.h>.
26476 [__NR_setresgid] (__setresgid): Do not declare.
26477 [__ASSUME_32BITUIDS]: Make code unconditional.
26478 [!__ASSUME_32BITUIDS]: Remove conditional code.
26479 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
26480 <kernel-features.h>.
26481 [__NR_setresuid] (__setresuid): Do not declare.
26482 [__ASSUME_32BITUIDS]: Make code unconditional.
26483 [!__ASSUME_32BITUIDS]: Remove conditional code.
26484 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
26485 <kernel-features.h>.
26486 [__ASSUME_32BITUIDS]: Make code unconditional.
26487 [!__ASSUME_32BITUIDS]: Remove conditional code.
26488 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
26489 <kernel-features.h>.
26490 [__ASSUME_32BITUIDS]: Make code unconditional.
26491 [!__ASSUME_32BITUIDS]: Remove conditional code.
26492 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
26493 <kernel-features.h>.
26494 [__ASSUME_32BITUIDS]: Make code unconditional.
26495 [!__ASSUME_32BITUIDS]: Remove conditional code.
26496 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
26497 <kernel-features.h>.
26498 [__ASSUME_32BITUIDS]: Make code unconditional.
26499 [!__ASSUME_32BITUIDS]: Remove conditional code.
26500 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
26501 <kernel-features.h>.
26502 [__ASSUME_32BITUIDS]: Make code unconditional.
26503 [!__ASSUME_32BITUIDS]: Remove conditional code.
26504 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
26505 <kernel-features.h>.
26506 [__ASSUME_32BITUIDS]: Make code unconditional.
26507 [!__ASSUME_32BITUIDS]: Remove conditional code.
26508 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
26509 <kernel-features.h>.
26510 [__ASSUME_32BITUIDS]: Make code unconditional.
26511 [!__ASSUME_32BITUIDS]: Remove conditional code.
26512 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
26513 <kernel-features.h>.
26514 [__ASSUME_32BITUIDS]: Make code unconditional.
26515 [!__ASSUME_32BITUIDS]: Remove conditional code.
26516 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
26517 <kernel-features.h>.
26518 [__ASSUME_32BITUIDS]: Make code unconditional.
26519 [!__ASSUME_32BITUIDS]: Remove conditional code.
26520 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
26521 <kernel-features.h>.
26522 [__ASSUME_32BITUIDS]: Make code unconditional.
26523 [!__ASSUME_32BITUIDS]: Remove conditional code.
26524 * sysdeps/unix/sysv/linux/kernel-features.h
26525 (__ASSUME_SETRESUID_SYSCALL): Remove.
26526 (__ASSUME_SETRESGID_SYSCALL): Likewise.
26527 (__ASSUME_32BITUIDS): Likewise.
26528 (__ASSUME_LDT_WORKS): Likewise.
26529 (__ASSUME_O_DIRECTORY): Likewise.
26530 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
26531 architecture but not kernel version.
26532 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
26533 (__ASSUME_MMAP2_SYSCALL): Likewise.
26534 (__ASSUME_STAT64_SYSCALL): Likewise.
26535 (__ASSUME_IPC64): Likewise.
26536 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
26537 <kernel-features.h>.
26538 [__ASSUME_32BITUIDS]: Make code unconditional.
26539 [!__ASSUME_32BITUIDS]: Remove conditional code.
26540 * sysdeps/unix/sysv/linux/opendir.c: Do not include
26541 <kernel-features.h>.
26542 [__ASSUME_O_DIRECTORY]: Make code unconditional.
26543 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
26544 132096]: Remove conditional code.
26545 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
26546 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
26547 <kernel-features.h>.
26548 [__ASSUME_32BITUIDS]: Make code unconditional.
26549 [!__ASSUME_32BITUIDS]: Remove conditional code.
26550 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
26551 <kernel-features.h>.
26552 [__ASSUME_32BITUIDS]: Make code unconditional.
26553 [!__ASSUME_32BITUIDS]: Remove conditional code.
26554 * sysdeps/unix/sysv/linux/setegid.c: Do not include
26555 <kernel-features.h>.
26556 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
26557 unconditional.
26558 (__setresgid): Do not declare.
26559 [__ASSUME_32BITUIDS]: Make code unconditional.
26560 [!__ASSUME_32BITUIDS]: Remove conditional code.
26561 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
26562 <kernel-features.h>.
26563 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
26564 unconditional.
26565 (__setresuid): Do not declare.
26566 [__ASSUME_32BITUIDS]: Make code unconditional.
26567 [!__ASSUME_32BITUIDS]: Remove conditional code.
26568 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
26569 <kernel-features.h>.
26570 [__ASSUME_32BITUIDS]: Make code unconditional.
26571 [!__ASSUME_32BITUIDS]: Remove conditional code.
26572 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
26573 <kernel-features.h>.
26574 [__ASSUME_32BITUIDS]: Make code unconditional.
26575 [!__ASSUME_32BITUIDS]: Remove conditional code.
26576
a386f1cc
RH
265772012-05-25 Richard Henderson <rth@twiddle.net>
26578
26579 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
26580 dl_hwcap to ifunc resolver.
26581 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
26582 elf_ifunc_invoke.
26583 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
26584 dl_hwcap to ifunc resolver.
26585 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
26586
b6550497
JM
265872012-05-24 Joseph Myers <joseph@codesourcery.com>
26588
26589 [BZ #14153]
26590 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
26591 for |x| <= 2**-26, not 2**-57.
26592 * math/libm-test.inc (acos_test): Do not allow spurious underflow
26593 exception.
26594
b0bc23a1
JL
265952012-05-24 Jeff Law <law@redhat.com>
26596
26597 * stdio-common/Makefile (tests): Add bug25.
26598 * stdio-common/bug25.c: New test.
26599
347c92e9
L
266002012-05-24 H.J. Lu <hongjiu.lu@intel.com>
26601
26602 [BZ #13576]
26603 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
26604 multiple of MALLOC_ALIGNMENT in size.
26605 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
26606
6bcc8b3f
JM
266072012-05-24 Joseph Myers <joseph@codesourcery.com>
26608
26609 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
26610 Require >= 256.
26611 (FILENAME_MAX): Use macro-int-constant.
26612 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
26613 (_IOFBF): Use macro-int-constant.
26614 (_IOLBF): Likewise.
26615 (_IONBF): Likewise.
26616 (SEEK_CUR): Likewise.
26617 (SEEK_END): Likewise.
26618 (SEEK_SET): Likewise.
26619 (TMP_MAX): Likewise.
26620 (EOF): Use macro-int-constant. Require < 0.
26621 (NULL): Use macro-constant. Require == 0.
26622 (stdin): Require type to be FILE *.
26623 (stdout): Likewise.
26624 (stderr): Likewise.
26625 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
26626 macro-int-constant.
26627 (EXIT_SUCCESS): Likewise.
26628 (NULL): Use macro-constant. Require == 0.
26629 (RAND_MAX): Use macro-int-constant.
26630 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
26631 [C99-based standards] (strtof): Require function.
26632 [C99-based standards] (strtold): Likewise.
26633 [C99-based standards] (strtoll): Likewise.
26634 [C99-based standards] (strtoull): Likewise.
26635 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
26636 [ISO || ISO99 || ISO11] (limits.h): Likewise.
26637 [ISO || ISO99 || ISO11] (math.h): Likewise.
26638 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
26639 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
26640 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26641
d18ea0c5
AS
266422012-05-24 Andreas Schwab <schwab@linux-m68k.org>
26643
26644 [BZ #14132]
56d25bb8
AS
26645 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
26646 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
26647 * intl/dgettext.c (DCGETTEXT): Likewise.
26648 * intl/gettext.c (DCGETTEXT): Likewise.
26649 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
26650 * posix/regex_internal.h (gettext): Likewise.
26651 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
26652 Remove declaration.
26653 * include/argz.h (__argz_count_internal)
26654 (__argz_stringify_internal): Remove declaration.
26655 (__argz_count, __argz_stringify): Declare hidden proto.
26656 * intl/dcgettext.c: Remove use of INTDEF.
26657 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
26658 * string/argz-stringify.c: Likewise.
26659 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
26660 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
26661 Declare hidden proto.
d18ea0c5
AS
26662 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
26663 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
26664 Declare hidden proto.
26665 * include/stdio.h (__asprintf_internal): Don't declare.
26666 (__asprintf): Don't define as macro. Declare hidden proto.
26667 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
26668 (__fsetlocking): Declare hidden proto.
26669 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
26670 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
26671 hidden proto.
26672 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
26673 (_IO_setlinebuf): Remove use of INTUSE.
26674 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
26675 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
26676 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
26677 Remove declaration.
26678 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
26679 (_IO_do_flush): Remove use of INTUSE.
26680 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
26681 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
26682 (_IO_adjust_column, _IO_least_wmarker)
26683 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
26684 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
26685 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
26686 (_IO_default_doallocate, _IO_wdefault_doallocate)
26687 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
26688 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
26689 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
26690 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
26691 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
26692 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
26693 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
26694 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
26695 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
26696 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
26697 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
26698 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
26699 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
26700 proto.
26701 (_IO_flush_all_internal, _IO_adjust_column_internal)
26702 (_IO_default_uflow_internal, _IO_default_finish_internal)
26703 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
26704 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
26705 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
26706 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
26707 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
26708 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
26709 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
26710 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
26711 (_IO_file_close_internal, _IO_file_close_it_internal)
26712 (_IO_file_underflow_internal, _IO_file_overflow_internal)
26713 (_IO_file_init_internal, _IO_file_attach_internal)
26714 (_IO_file_fopen_internal, _IO_file_read_internal)
26715 (_IO_file_sync_internal, _IO_file_seek_internal)
26716 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
26717 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
26718 (_IO_str_underflow_internal, _IO_str_overflow_internal)
26719 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
26720 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
26721 (_IO_list_all_internal, _IO_link_in_internal)
26722 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
26723 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
26724 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
26725 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
26726 (_IO_do_write_internal, _IO_padn_internal)
26727 (_IO_getline_info_internal, _IO_getline_internal)
26728 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
26729 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
26730 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
26731 (_IO_vfscanf_internal, _IO_vfprintf_internal)
26732 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
26733 (_IO_init_internal, _IO_un_link_internal): Don't declare.
26734 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
26735 with libc_hidden_ver, remove use of INTUSE.
26736 * libio/genops.c: Likewise.
26737 * libio/freopen.c: Likewise.
26738 * libio/freopen64.c: Likewise.
26739 * libio/iofclose.c: Likewise.
26740 * libio/iofdopen.c: Likewise.
26741 * libio/iofflush.c: Likewise.
26742 * libio/iofflush_u.c: Likewise.
26743 * libio/iofgets.c: Likewise.
26744 * libio/iofgets_u.c: Likewise.
26745 * libio/iofopen.c: Likewise.
26746 * libio/iofopncook.c: Likewise.
26747 * libio/iofread.c: Likewise.
26748 * libio/iofread_u.c: Likewise.
26749 * libio/ioftell.c: Likewise.
26750 * libio/iofwrite.c: Likewise.
26751 * libio/iogetline.c: Likewise.
26752 * libio/iogets.c: Likewise.
26753 * libio/iogetwline.c: Likewise.
26754 * libio/iopadn.c: Likewise.
26755 * libio/iopopen.c: Likewise.
26756 * libio/ioseekoff.c: Likewise.
26757 * libio/ioseekpos.c: Likewise.
26758 * libio/iosetbuffer.c: Likewise.
26759 * libio/iosetvbuf.c: Likewise.
26760 * libio/ioungetc.c: Likewise.
26761 * libio/ioungetwc.c: Likewise.
26762 * libio/iovdprintf.c: Likewise.
26763 * libio/iovsprintf.c: Likewise.
26764 * libio/iovsscanf.c: Likewise.
26765 * libio/memstream.c: Likewise.
26766 * libio/obprintf.c: Likewise.
26767 * libio/oldfileops.c: Likewise.
26768 * libio/oldiofclose.c: Likewise.
26769 * libio/oldiofdopen.c: Likewise.
26770 * libio/oldiofopen.c: Likewise.
26771 * libio/oldiopopen.c: Likewise.
26772 * libio/oldstdfiles.c: Likewise.
26773 * libio/putc.c: Likewise.
26774 * libio/setbuf.c: Likewise.
26775 * libio/setlinebuf.c: Likewise.
26776 * libio/stdfiles.c: Likewise.
26777 * libio/strops.c: Likewise.
26778 * libio/vasprintf.c: Likewise.
26779 * libio/vscanf.c: Likewise.
26780 * libio/vsnprintf.c: Likewise.
26781 * libio/vswprintf.c: Likewise.
26782 * libio/wfiledoalloc.c: Likewise.
26783 * libio/wfileops.c: Likewise.
26784 * libio/wgenops.c: Likewise.
26785 * libio/wmemstream.c: Likewise.
26786 * libio/wstrops.c: Likewise.
26787 * libio/__fpurge.c: Likewise.
26788 * libio/__fsetlocking.c: Likewise.
26789 * assert/assert.c: Likewise.
26790 * debug/fgets_chk.c: Likewise.
26791 * debug/fgets_u_chk.c: Likewise.
26792 * debug/fread_chk.c: Likewise.
26793 * debug/fread_u_chk.c: Likewise.
26794 * debug/gets_chk.c: Likewise.
26795 * debug/obprintf_chk.c: Likewise.
26796 * debug/vasprintf_chk.c: Likewise.
26797 * debug/vdprintf_chk.c: Likewise.
26798 * debug/vsnprintf_chk.c: Likewise.
26799 * debug/vsprintf_chk.c: Likewise.
26800 * malloc/mtrace.c: Likewise.
26801 * misc/error.c: Likewise.
26802 * misc/syslog.c: Likewise.
26803 * stdio-common/asprintf.c: Likewise.
26804 * stdio-common/fxprintf.c: Likewise.
26805 * stdio-common/getw.c: Likewise.
26806 * stdio-common/isoc99_fscanf.c: Likewise.
26807 * stdio-common/isoc99_scanf.c: Likewise.
26808 * stdio-common/isoc99_vfscanf.c: Likewise.
26809 * stdio-common/isoc99_vscanf.c: Likewise.
26810 * stdio-common/isoc99_vsscanf.c: Likewise.
26811 * stdio-common/printf-prs.c: Likewise.
26812 * stdio-common/printf_fp.c: Likewise.
26813 * stdio-common/printf_fphex.c: Likewise.
26814 * stdio-common/printf_size.c: Likewise.
26815 * stdio-common/putw.c: Likewise.
26816 * stdio-common/scanf.c: Likewise.
26817 * stdio-common/sprintf.c: Likewise.
26818 * stdio-common/tmpfile.c: Likewise.
26819 * stdio-common/vfprintf.c: Likewise.
26820 * stdio-common/vfscanf.c: Likewise.
26821 * stdlib/strfmon_l.c: Likewise.
26822 * sunrpc/openchild.c: Likewise.
26823 * sunrpc/xdr_stdio.c: Likewise.
26824 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
26825 * sysdeps/mach/hurd/tmpfile.c: Likewise.
26826
d6c33fda
RM
268272012-05-24 Roland McGrath <roland@hack.frob.com>
26828
c1487492
RM
26829 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
26830
26831 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
26832 in the third column, to generate for the shared library an IFUNC
26833 that uses _dl_vdso_vsym.
26834 * Makerules (COMPILE.c, compile-stdin.c): New variables.
26835 * Makeconfig (object-suffixes-noshared): New variable.
26836
26837 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
26838 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
26839 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
26840 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
26841
d6c33fda
RM
26842 [BZ #14132]
26843 * include/sys/time.h (__gettimeofday): Remove macro.
26844 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
26845 * time/gettimeofday.c (__gettimeofday): Remove #undef.
26846 Remove INTDEF.
26847 (__gettimeofday): Add libc_hidden_def.
26848 (gettimeofday): Add libc_hidden_weak.
26849 * sysdeps/mach/gettimeofday.c: Likewise.
26850 * sysdeps/posix/gettimeofday.c: Likewise.
26851 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
26852 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
26853 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
26854 (__gettimeofday_internal): Remove strong_alias.
26855 (__gettimeofday): Add libc_hidden_def.
26856 (gettimeofday): Add libc_hidden_weak.
26857 * sysdeps/unix/syscalls.list (gettimeofday):
26858 Remove __gettimeofday_internal alias.
26859
b5a2bbe6
L
268602012-05-24 Daniel Jacobowitz <drow@false.org>
26861 H.J. Lu <hongjiu.lu@intel.com>
26862
26863 [BZ #12495]
26864 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
26865 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
26866 (largebin_index_32_big): New.
26867 (largebin_index): Use it for 16-byte alignment.
26868 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
26869 correction with front_misalign.
26870
cfba4fda
L
268712012-05-24 H.J. Lu <hongjiu.lu@intel.com>
26872
7f907421
L
26873 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
26874 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
26875 Likewise.
26876 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
26877 Likewise.
26878 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
26879 Likewise.
26880 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
26881 Likewise.
26882 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
26883 Likewise.
26884 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
26885 Likewise.
26886 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
26887 Likewise.
26888 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
26889 Likewise.
26890 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
26891 Likewise.
26892 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
26893 Likewise.
26894 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
26895 Likewise.
26896 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
26897 Likewise.
26898
cfba4fda
L
26899 * scripts/data/c++-types-x32-linux-gnu.data: New file.
26900 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
26901
80bad0cc
JM
269022012-05-24 Joseph Myers <joseph@codesourcery.com>
26903
7a25eb06
JM
26904 [BZ #10846]
26905 [BZ #14036]
26906 * math/libm-test.inc (exp_test): Add test from bug 14036.
26907 (pow_test): Add test from bug 10846.
26908
795405f9
JM
26909 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
26910 and other flags.
26911 (special_function): Do not include flags in test name.
26912 (parse_args): Likewise.
26913 * sysdeps/i386/fpu/libm-test-ulps: Update.
26914 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26915 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
26916 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
26917 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26918
80bad0cc
JM
26919 * math/gen-libm-test.pl (%beautify): Add entries for underflow
26920 exceptions.
26921 * math/libm-test.inc ("Philosophy"): Update comment about
26922 exception testing.
26923 (UNDERFLOW_EXCEPTION): New macro.
26924 (UNDERFLOW_EXCEPTION_OK): Likewise.
26925 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
26926 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
26927 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
26928 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
26929 (INVALID_EXCEPTION_OK): Update value.
26930 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
26931 (OVERFLOW_EXCEPTION_OK): Likewise.
26932 (IGNORE_ZERO_INF_SIGN): Likewise.
26933 (test_exceptions): Handle underflow exceptions.
26934 (acos_test): Update for underflow exception expectations.
26935 (cexp_test): Likewise.
26936 (clog_test): Likewise.
26937 (clog10_test): Likewise.
26938 (csqrt_test): Likewise.
26939 (ctan_test): Likewise.
26940 (ctanh_test): Likewise.
26941 (exp_test): Likewise.
26942 (exp10_test): Likewise.
26943 (exp2_test): Likewise.
26944 (expm1_test): Likewise.
26945 (fma_test): Likewise.
26946 (j0_test): Likewise.
26947 (jn_test): Likewise.
26948 (nexttoward_test): Likewise.
26949 (pow_test): Likewise.
26950 (scalbn_test): Likewise.
26951 (scalbln_test): Likewise.
26952 (tan_test): Likewise.
26953 (y1_test): Likewise.
26954 * sysdeps/i386/fpu/libm-test-ulps: Update.
26955 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26956
9e0e3d0b
DM
269572012-05-23 David S. Miller <davem@davemloft.net>
26958
26959 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
26960 (__libc_sigaction): Remove unused local variables.
26961
ccd0a08f
L
269622012-05-23 H.J. Lu <hongjiu.lu@intel.com>
26963
26964 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
26965
62bdf9a6
PE
269662012-05-23 Paul Eggert <eggert@cs.ucla.edu>
26967
f8591f80
PE
26968 mktime: avoid signed integer overflow
26969 * time/mktime.c (__mktime_internal): Do not mishandle the case
26970 where diff == INT_MIN.
26971
94c7d826
PE
26972 mktime: simplify computation of average
26973 * time/mktime.c (ranged_convert): Use new time_t_avg function
26974 instead of rolling our own (probably-slower) code.
26975
ce73d683
PE
26976 mktime: do not assume signed right shift propagates sign bit
26977 * time/mktime.c (isdst_differ): New static function.
26978 (__mktime_internal): No need to normalize tm_isdst now.
26979 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
26980 tm_isdst values.
26981
72a22e59
PE
26982 mktime: merge another wrapv change from gnulib
26983 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
26984 from some compilers.
26985
68605433
PE
26986 mktime: remove incorrect attempt at unusual arithmetics
26987 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
26988 The code didn't really work on such machines anyway.
26989 (TYPE_MINIMUM): Assume two's complement.
26990 (twos_complement_arithmetic): Verify that long_int and time_t
26991 are two's complement (or unsigned, in the latter case).
26992
03cf7fe3
PE
26993 mktime: check signed shifts on long_int and time_t, too
26994 * time/mktime.c (SHR): Check that shifts work as desired
26995 on the types long_int and time_t too, as SHR is used on
26996 such types.
26997
f04dfbc2
PE
26998 mktime: do not assume 'long' is wide enough
26999 * time/mktime.c (verify): Move decl up.
27000 (long_int): New type.
27001 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
27002 to remove assumption in the code that 'long' is wide enough to
27003 store year values. This assumption is not true on x32 and on
27004 some non-glibc platforms.
27005
62bdf9a6
PE
27006 mktime: merge wrapv change from gnulib
27007 * time/mktime.c (WRAPV): New macro.
27008 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
27009 (guess_time_tm, __mktime_internal): Do not assume that signed
27010 integer overflow wraps around; modern compilers generate code
27011 where this assumption is no longer valid.
27012
5e292e4f
L
270132012-05-23 H.J. Lu <hongjiu.lu@intel.com>
27014
27015 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
27016 Replace "jmp L(pseudo_end)" with "ret".
27017 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
27018 Likewise.
27019
8caf8c87
AJ
270202012-05-23 Andreas Jaeger <aj@suse.de>
27021
27022 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
27023 * sysdeps/unix/sysv/linux/poll.c: Remove file.
27024
1a09dc56
AJ
270252012-05-23 Andreas Jaeger <aj@suse.de>
27026 Maximilian Attems <max@stro.at>
27027
27028 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
27029 New macros.
27030
1c87aba0
L
270312012-05-23 H.J. Lu <hongjiu.lu@intel.com>
27032
27033 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
27034 code so that pseudo_end is just ret and the stack pointer is
27035 correct also for static library in error case.
27036
40e45bd5
JM
270372012-05-23 Joseph Myers <joseph@codesourcery.com>
27038
c2670533
JM
27039 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
27040 move to syscalls.list.
27041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
27042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
27043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
27044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
27045
40e45bd5
JM
27046 * manual/install.texi (Running make install): Do not mention Linux
27047 kernel version for which pt_chown is not needed.
27048 (Linux): Do not mention problems with nscd with 2.0 kernels.
27049 * INSTALL: Regenerated.
27050
be08eda5
AJ
270512012-05-23 Andreas Jaeger <aj@suse.de>
27052
27053 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
27054 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
27055 macro.
27056 * sysdeps/unix/sysv/linux/s390/bits/mman.h
27057 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27058 * sysdeps/unix/sysv/linux/sh/bits/mman.h
27059 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27060 * sysdeps/unix/sysv/linux/i386/bits/mman.h
27061 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27062 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
27063 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27064 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
27065 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27066 * sysdeps/unix/sysv/linux/bits/in.h
27067 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
27068
a6a056bb
RM
270692012-05-22 Roland McGrath <roland@hack.frob.com>
27070
27071 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
27072 (PREPARE_VERSION): Just use assert instead, it will be elided
27073 under [NDEBUG] anyway.
27074
c9009328
L
270752012-05-22 H.J. Lu <hongjiu.lu@intel.com>
27076
27077 * sysdeps/unix/sysv/linux/Makefile: Include
27078 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 27079 (sysdep_routines): Remove sysctl.
c9009328
L
27080 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
27081 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
27082 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
27083 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
27084 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
27085
73338355
AJ
270862012-05-22 Andreas Jaeger <aj@suse.de>
27087
27088 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
27089 that pseudo_end is just ret and the stack pointer is correct also
27090 for static library in error case.
27091
d44638b0
PP
270922012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
27093
27094 [BZ #14122]
27095 * nss/nsswitch.c (defconfig_entries): New variable.
27096 (__nss_database_lookup): Don't leak defconfig entries.
27097 (nss_parse_service_list): Don't leak on error paths.
27098 (free_database_entries): New function.
27099 (free_defconfig): New function.
27100 (free_mem): Move common code to free_database_entries.
27101
31a39bd8
L
271022012-05-22 H.J. Lu <hongjiu.lu@intel.com>
27103
da0331a8
L
27104 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
27105 Add arch_prctl.
27106 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
27107
31a39bd8
L
27108 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
27109 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
27110 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
27111 New macro.
27112 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
27113 (INTERNAL_SYSCALL_TYPES): Likewise.
27114 (LOAD_ARGS_TYPES_[1-6]): Likewise.
27115 (LOAD_REGS_TYPES_[1-6]): Likewise.
27116 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
27117 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
27118
45470df3
AZ
271192012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27120
27121 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
27122 copysignl for GLIBC_2_0.
27123 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
27124 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
27125 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
27126 logbl for GLIBC_2_0.
27127 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
27128 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
27129
98a61bcb
L
271302012-05-22 H.J. Lu <hongjiu.lu@intel.com>
27131
a4f6e481
L
27132 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
27133 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
27134
f63d5db6
L
27135 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
27136 Use "neg %eax".
27137
98a61bcb
L
27138 * time/mktime.c: Update copyright years.
27139
95770f14
PE
271402012-05-22 Paul Eggert <eggert@cs.ucla.edu>
27141
6226efbd
PE
27142 mktime: merge comment-quoting-style change from gnulib
27143 * time/mktime.c: Quote 'like this' in comments.
27144 The GNU coding standards suggest that we no longer quote `like this',
27145 as "`" and "'" are typically rendered asymmetrically nowadays.
27146 The typical gnulib style is to quote 'like this' when quoting
27147 code, and "like this" when quoting English.
27148
b99e4f78
PE
27149 * time/mktime.c (compile-command): Add "-I.".
27150
643e01e6
PE
27151 mktime: merge mktime-internal.h change from gnulib
27152 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
27153
2554247d
PE
27154 mktime: merge time_r change from gnulib
27155 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
27156
826dd0ab
PE
27157 mktime: merge DEBUG change from gnulib
27158 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
27159 case system <time.h> has a #define.
27160
bd83aabe
PE
27161 mktime: merge <sys/types.h> change from gnulib
27162 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
27163 since <time.t> is now guaranteed to define time_t.
27164
95770f14
PE
27165 mktime: merge HAVE_CONFIG_H change from gnulib
27166 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
27167
5e1a27a9
L
271682012-05-22 H.J. Lu <hongjiu.lu@intel.com>
27169
0e44a77e
L
27170 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
27171 Use "neg %eax".
27172
5e1a27a9
L
27173 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
27174 __rlim_t cast.
27175 (struct rusage): Use anonymous union to pad each field to
27176 __syscall_slong_t.
27177
46259bec
DM
271782012-05-21 David S. Miller <davem@davemloft.net>
27179
27180 * Makefules (o-iterator): Remove .s cases.
27181 (compile-command.s): Delete.
27182 (COMPILE.s): Delete.
27183 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
27184
59f0c22e
JM
271852012-05-21 Joseph Myers <joseph@codesourcery.com>
27186
27187 * configure.in (libc_cv_predef_stack_protector): Only consider
27188 "foobar" and "__stack_chk_fail" lines in libc_undefs.
27189 * configure: Regenerated.
27190
20c07380
L
271912012-05-21 H.J. Lu <hongjiu.lu@intel.com>
27192
bbb3154b
L
27193 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
27194 New macro. Use R*LP on int and pointer.
27195 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
27196 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
27197 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
27198 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
27199
20c07380
L
27200 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
27201 [__WORDSIZE_TIME64_COMPAT32] instead of
27202 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
27203 (struct utmp): Likewise.
27204 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
27205 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
27206 Renamed to ...
27207 (__WORDSIZE_TIME64_COMPAT32): This.
27208 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
27209 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
27210 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
27211 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
27212 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
27213 (__WORDSIZE_TIME64_COMPAT32): New macro.
27214
d8d1017e
AJ
272152012-05-21 Andreas Jaeger <aj@suse.de>
27216
27217 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
27218 only if [SHARED]. Add prototype for __wcschr_ia32.
27219
6c7fb145
RM
272202012-05-21 Roland McGrath <roland@hack.frob.com>
27221
27222 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
27223 of %rbp unmolested in the jmp_buf while mangling the low bits.
27224 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
27225 unmolested high bits of %rbp while demangling the low bits.
27226 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
27227
66274218
AJ
272282012-05-21 Andreas Jaeger <aj@suse.de>
27229
07c58f8f
AJ
27230 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
27231 * sunrpc/svc_simple.c: Use it for registerrpc.
27232 * sunrpc/xcrypt.c: Use it for passwd2des.
27233
66274218
AJ
27234 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
27235
61f65140
L
272362012-05-21 H.J. Lu <hongjiu.lu@intel.com>
27237
27238 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
27239 Don't define if [__SYSCALL_WORDSIZE != 32].
27240 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
27241 New macro.
27242
5fefb436
AJ
272432012-05-21 Bruno Haible <bruno@clisp.org>
27244 Andreas Jaeger <aj@suse.de>
27245
27246 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
27247 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
27248 inptr and inend for must_buffer_ch.
27249 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
27250 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
27251 * stdio-common/Makefile (tests): Remove bug15.
27252 (bug15-ENV): Remove macro.
27253 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
27254 anymore.
27255
d8e272ab
AJ
272562012-05-19 Andreas Jaeger <aj@suse.de>
27257 Roland McGrath <roland@hack.frob.com>
27258
27259 * manual/contrib.texi: Completely rewritten. It contains now an
27260 alphabetical list of contributors and their contributions.
27261
4a56a162
RH
272622012-05-21 Richard Henderson <rth@twiddle.net>
27263
27264 * misc/getauxval.c (__getauxval): Use unsigned long int.
27265 * misc/sys/auxv.h: Include <sys/cdefs.h>.
27266 (getauxval): Use unsigned long int.
27267
d024d23c
L
272682012-05-21 H.J. Lu <hongjiu.lu@intel.com>
27269
27270 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
27271
cbc00a03
RM
272722012-05-21 Roland McGrath <roland@hack.frob.com>
27273
27274 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
27275 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
27276 __alignof__ (long double).
27277
478143fa
AZ
272782012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27279
27280 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27281
c7683a6d
RH
272822012-05-20 Richard Henderson <rth@twiddle.net>
27283
27284 * misc/getauxval.c: New file.
27285 * misc/sys/auxv.h: New file.
27286 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
27287 (routines): Add getauxval.
27288 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
27289 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
27290 * elf/dl-sysdep.c (_dl_auxv): Remove.
27291 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
27292 * elf/dl-support.c (_dl_auxv): New variable.
27293 (_dl_aux_init): Initialize it.
27294 * manual/startup.texi (Auxiliary Vector): New node.
27295 * sysdeps/generic/bits/hwcap.h: New file.
27296 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
27297 * sysdeps/powerpc/sysdep.h: ... here. Include it.
27298 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
27299 * sysdeps/sparc/sysdep.h: ... here. Include it.
27300 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
27301 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
27302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27303 Update.
c7683a6d
RH
27304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
27305 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
27306 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
27307 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
27308 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
27309 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
27310 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
27311 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
27312
a6f1845d
AZ
273132012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27314
27315 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27316
cbcbe830
DM
273172012-05-19 David S. Miller <davem@davemloft.net>
27318
27319 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27320
e0b16cc2
JM
273212012-05-19 Joseph Myers <joseph@codesourcery.com>
27322
27323 [BZ #14123]
27324 * math/s_ccosh.c: Include <float.h>
27325 (__ccosh): Avoid internal overflow calculating sinh and cosh
27326 values before multiplying by sin and cos values.
27327 * math/s_ccoshf.c: Likewise.
27328 * math/s_ccoshl.c: Likewise.
27329 * math/s_csin.c: Likewise.
27330 * math/s_csinf.c: Likewise.
27331 * math/s_csinl.c: Likewise.
27332 * math/s_csinh.c: Likewise.
27333 * math/s_csinhf.c: Likewise.
27334 * math/s_csinhl.c: Likewise.
27335 * math/libm-test.inc (ccos_test): Add more tests.
27336 (ccosh_test): Likewise.
27337 (csin_test): Likewise.
27338 (csinh_test): Likewise.
27339 * sysdeps/i386/fpu/libm-test-ulps: Update.
27340 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27341
6ad13e08
L
273422012-05-19 H.J. Lu <hongjiu.lu@intel.com>
27343
f66f0ce8
L
27344 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
27345 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
27346
6ad13e08
L
27347 * sysdeps/x86_64/x32/_itoa.h: Add comment.
27348
b1d072a7
JM
273492012-05-19 Joseph Myers <joseph@codesourcery.com>
27350
27351 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
27352 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
27353 * sysdeps/powerpc/soft-fp/Versions: Likewise.
27354 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
27355 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
27356 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
27357 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
27358 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
27359 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
27360 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
27361 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
27362 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
27363 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
27364 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
27365 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
27366 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
27367 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
27368 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
27369 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
27370 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
27371 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
27372 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
27373 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
27374 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
27375 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
27376 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
27377 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
27378 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
27379 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
27380 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
27381 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
27382
9eae47cb
AJ
273832012-05-18 Andreas Jaeger <aj@suse.de>
27384
27385 * csu/.gitignore: Delete.
27386
bb07f69f
L
273872012-05-18 H.J. Lu <hongjiu.lu@intel.com>
27388
27389 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
27390 (timex): Use __syscall_slong_t.
27391
e6bdb741
AJ
273922012-05-18 Andreas Jaeger <aj@suse.de>
27393 Carlos O'Donell <carlos_odonell@mentor.com>
27394
27395 * manual/install.texi (Configuring and compiling): Update
27396 description about files modified in the source directory.
d6c33fda 27397 * INSTALL: Regenerated.
e6bdb741 27398
1b74487e
L
273992012-05-18 H.J. Lu <hongjiu.lu@intel.com>
27400
27401 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
27402 value. Use "or" to set return value to -1.
27403 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
27404 negate return value.
27405
a88b64b9
TMQMF
274062012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27407
27408 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
27409 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
27410 failure if the compiler has Graphite support disabled.
27411 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
27412 Likewise.
27413 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
27414 CFLAGS-memmove.c): Likewise.
27415 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
27416 Likewise.
27417
3707636e
L
274182012-05-18 H.J. Lu <hongjiu.lu@intel.com>
27419
610b8622
L
27420 * sysdeps/x86_64/x32/_itoa.h: New file.
27421
7cd195df
L
27422 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
27423 getdents system call only if kernel and user dirents have the
27424 same d_ino and d_off.
27425
94b07d20
L
27426 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
27427 LLONG_MAX != LONG_MAX.
27428 (_itoa_word): Use _ITOA_WORD_TYPE on value.
27429 (_fitoa_word): Likewise.
27430
18298070
L
27431 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
27432 years.
27433 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
27434 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
27435 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
27436
553c7ea4
L
27437 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
27438 include <bits/wordsize.h>. Check __x86_64__ instead of
27439 __WORDSIZE.
27440 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
27441 if __x86_64__ is defined. Use anonymous union on fpstate.
27442
3707636e
L
27443 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
27444 anonymous union.
27445
b53ef01a
AS
274462012-05-18 Andreas Schwab <schwab@linux-m68k.org>
27447
37fb1dc0
AS
27448 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
27449 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
27450 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
27451 Refer to _rtld_local_ro instead of _rtld_global_ro.
27452 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
27453 Likewise.
27454 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
27455 Likewise.
27456 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
27457 Likewise.
27458 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
27459 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
27460 of _rtld_global, and rtld_progname instead of _dl_argv[0].
27461
b53ef01a
AS
27462 * sysdeps/powerpc/powerpc32/dl-machine.c
27463 (__elf_machine_runtime_setup) [PROF]: Don't reference
27464 _dl_prof_resolve.
27465
7a185db2
AJ
274662012-05-18 Andreas Jaeger <aj@suse.de>
27467
27468 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
27469 function only available for GCCs before 3.4 since GCC 3.4
27470 introduced a builtin.
27471 (lrint): Likewise.
27472 (llrintf): Likewise.
27473 (llrint): Likewise.
27474 (fmaxf): Likewise.
27475 (fmax): Likewise.
27476 (fminf): Likewise.
27477 (fmin): Likewise.
27478 (rint): Likewise.
27479 (rintf): Likewise.
27480 (nearbyint): Likewise.
27481 (nearbyintf): Likewise.
27482 (ceil): Likewise.
27483 (ceilf): Likewise.
27484 (floor): Likewise.
27485 (floorf): Likewise.
27486
3e5aef87
L
274872012-05-17 H.J. Lu <hongjiu.lu@intel.com>
27488
428bd707
L
27489 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
27490 on both fields and cast pointer to __syscall_ulong_t.
27491
3e5aef87
L
27492 * bits/types.h (__fsword_t): New type.
27493 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
27494 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
27495 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27496 (__FSWORD_T_TYPE): Likewise.
27497 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
27498 (__FSWORD_T_TYPE): Likewise.
27499 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27500 (__FSWORD_T_TYPE): Likewise.
27501 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
27502 (__FSWORD_T_TYPE): Likewise.
27503 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
27504 __SWORD_TYPE with __fsword_t.
27505 (statfs64): Likewise.
27506
1ba7c3dc
DM
275072012-05-17 David S. Miller <davem@davemloft.net>
27508
27509 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
27510
59910343
AJ
275112012-05-17 Andreas Jaeger <aj@suse.de>
27512
27513 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
27514 warning.
27515
2e4c1e9e
L
275162012-05-17 H.J. Lu <hongjiu.lu@intel.com>
27517
27518 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
27519
de7f5ce7
AJ
275202012-05-17 Andreas Jaeger <aj@suse.de>
27521
27522 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
27523 when it is used.
27524
286abc3d
CM
275252012-05-17 Chris Metcalf <cmetcalf@tilera.com>
27526
27527 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
27528
477cc68e
L
275292012-05-17 H.J. Lu <hongjiu.lu@intel.com>
27530
27531 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
27532 * sysdeps/x86_64/tst-mallocalign1.c: New file.
27533
1a0994f5
CD
275342012-05-17 Andreas Jaeger <aj@suse.de>
27535 Carlos O'Donell <carlos_odonell@mentor.com>
27536
27537 [BZ #14059]
27538 * sysdeps/x86_64/multiarch/init-arch.h
27539 (bit_YMM_Usable): Rename to...
27540 (bit_AVX_Usable): ... this.
27541 (bit_FMA4_Usable): New macro.
27542 (bit_XMM_state): New macro.
27543 (bit_YMM_state): New macro.
27544 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
27545 [__ASSEMBLER__] (index_AVX_Usable): ... this.
27546 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
27547 (CPUID_OSXSAVE): New macro.
27548 (CPUID_AVX): New macro.
27549 (CPUID_FMA4): New macro.
27550 (index_YMM_Usable): Rename to...
27551 (index_AVX_Usable): ... this.
27552 (HAS_AVX): Use HAS_ARCH_FEATURE.
27553 (HAS_FMA4): Likewise.
27554 (HAS_YMM_USABLE): Remove.
27555 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27556 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
27557 are present.
27558 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
27559 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
27560 * sysdeps/x86_64/multiarch/Makefile: Likewise.
27561 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
27562 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
27563
0af797de
CM
275642012-05-17 Chris Metcalf <cmetcalf@tilera.com>
27565
27566 * math/libm-test.c: Support platforms without multiple rounding modes.
27567 * math/bug-nextafter.c: Support platforms without FP exceptions.
27568 * math/bug-nexttoward.c: Likewise.
27569 * math/test-fenv.c: Likewise.
27570 * math/test-misc.c: Likewise.
27571 * stdlib/bug-getcontext.c: Likewise.
27572
e39745ff
AJ
275732012-05-17 Andreas Jaeger <aj@suse.de>
27574
27575 * manual/examples/search.c (critter_cmp): Change signature to
27576 avoid warnings.
27577 * manual/string.texi (Collation Functions): Likewise.
27578
48970aba
L
275792012-05-16 H.J. Lu <hongjiu.lu@intel.com>
27580
27581 * bits/types.h: Fold copyright years.
27582 * bits/typesizes.h: Likewise.
27583 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
27584 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
27585 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
27586 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
27587 * time/time.h: Likewise.
27588
bedee953
PP
275892012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
27590
27591 [BZ #208]
27592 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
27593 in instead of returning them. Return void.
27594 (__libc_mallinfo): Accumulate over all arenas.
27595 (__malloc_stats): Adjust for change in int_mallinfo interface.
27596
61653dfb
RM
275972012-05-16 Roland McGrath <roland@hack.frob.com>
27598
30b99d79
RM
27599 [BZ #10375]
27600 * configure.in (NM): Add AC_CHECK_TOOL for it.
27601 (libc_extra_cflags): New substituted variable.
27602 Check for -fstack-protector being used implicitly.
27603 * configure: Regenerated.
27604 * config.make.in (config-extra-cflags): New variable,
27605 gets @libc_extra_cflags@.
27606 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
27607
61653dfb
RM
27608 [BZ #10375]
27609 * configure.in: Check for _FORTIFY_SOURCE being predefined.
27610 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
27611 * configure: Regenerated.
27612 * config.make.in (CPPUNDEFS): New substituted variable.
27613 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
27614 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
27615 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
27616
661768bb
L
276172012-05-16 H.J. Lu <hongjiu.lu@intel.com>
27618
27619 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
27620 (mq_attr): Use __syscall_slong_t.
27621
d4261567
L
276222012-05-16 H.J. Lu <hongjiu.lu@intel.com>
27623
27624 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
27625 Check __x86_64__ instead of __WORDSIZE.
27626 (_STAT_VER_LINUX): Likewise.
27627 (stat): Check __x86_64__ instead of __WORDSIZE. Use
27628 __syscall_ulong_t and __syscall_slong_t.
27629 (stat64): Likewise.
27630
cf3ff365
L
276312012-05-16 H.J. Lu <hongjiu.lu@intel.com>
27632
27633 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
27634
76cf3e4d
L
276352012-05-16 H.J. Lu <hongjiu.lu@intel.com>
27636
27637 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
27638
a637753a
L
276392012-05-16 H.J. Lu <hongjiu.lu@intel.com>
27640
27641 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
27642 __syscall_ulong_t.
27643
d5e05119
L
27644 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
27645 include <bits/wordsize.h>. Check __x86_64__ instead of
27646 __WORDSIZE.
27647 (greg_t): Use "__extension__ long long int" if __x86_64__ is
27648 defined.
27649 (mcontext_t): Replace "unsigned long" with "unsigned long long".
27650
f62ee380
L
27651 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
27652 include <bits/wordsize.h>. Check __x86_64__ instead of
27653 __WORDSIZE.
27654 (user_regs_struct): Use "__extension__ unsigned long long"
27655 instead of "unsigned long" if __x86_64__ is defined.
27656 (user): Likewise. Pad after pointer field if __ILP32__ is
27657 defined.
27658
4e124ced
JM
276592012-05-16 Joseph Myers <joseph@codesourcery.com>
27660
6a3951a0
JM
27661 * configure.in (makeinfo): Require version 4.5 or later. Allow
27662 versions 5 to 9.
27663 * configure: Regenerated.
27664 * manual/install.texi (texinfo): Increase version requirement to
27665 4.5 or later.
27666 * INSTALL: Regenerated.
27667
4e124ced
JM
27668 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
27669
953ca31a
L
276702012-05-16 H.J. Lu <hongjiu.lu@intel.com>
27671
27672 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
27673
617aca05
L
27674 * sysdeps/x86_64/x32/ffs.c: New file.
27675
5762f7ae
L
27676 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
27677 __syscall_ulong_t.
27678 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
27679 defined. Use __syscall_ulong_t.
27680 (shminfo): Use __syscall_ulong_t.
27681 (shm_info): Likewise.
27682
a26b6856
L
27683 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
27684 __syscall_ulong_t.
27685
cb2b9ef7
L
27686 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
27687 <bits/wordsize.h>.
27688 (msgqnum_t): Use __syscall_ulong_t.
27689 (msglen_t): Likewise.
27690 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
27691 __syscall_ulong_t.
27692
34683bb0
L
27693 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
27694 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
27695
84a68786
L
27696 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
27697
48baa5f1
L
27698 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
27699 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
27700
180be88b
L
27701 * sysvipc/sys/msg.h (msgbuf): Replace long int with
27702 __syscall_slong_t.
27703
5e90c8ad
L
27704 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
27705 include <bits/wordsize.h>. Check __x86_64__ instead of
27706 __WORDSIZE.
27707
23dfb58b
L
27708 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
27709 "unsigned long long int" if __x86_64__ is defined.
27710 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
27711
ce5d54b0
L
27712 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
27713 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
27714 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
27715
13dc9eac
L
27716 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
27717 <stdint.h>.
27718 (GET_PC): Cast to uintptr_t first.
27719 (GET_FRAME): Likewise.
27720 (GET_STACK): Likewise.
27721
a7895d15
L
27722 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
27723 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
27724 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
27725 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
27726 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
27727 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
27728 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
27729 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
27730 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
27731 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
27732 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
27733 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
27734 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
27735 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
27736 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
27737 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
27738 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
27739 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
27740 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
27741 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
27742 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
27743 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
27744 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
27745 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
27746 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
27747 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
27748 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
27749 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
27750 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
27751
656416c9
AS
277522012-05-16 Andreas Schwab <schwab@linux-m68k.org>
27753
5bd66283
AS
27754 * Makerules (+depfiles): Also collect depfiles from .oS in
27755 $(extra-objs).
27756 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
27757 .oS, $(libnldbl-routines)).
27758
656416c9
AS
27759 * Makerules (native-compile-mkdep-flags): Define.
27760 * sunrpc/Makefile (extra-objs): Add $(addprefix
27761 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
27762 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
27763 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
27764 calling $(make-target-directory).
27765
a46f2169
L
277662012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27767
27768 * bits/types.h (__snseconds_t): Removed.
27769 * time/time.h (struct timespec): Replace __snseconds_t with
27770 __syscall_slong_t.
27771 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
27772 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
27773 Likewise.
27774 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27775 (__SNSECONDS_T_TYPE): Likewise.
27776 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
27777 (__SNSECONDS_T_TYPE): Likewise.
27778 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27779 (__SNSECONDS_T_TYPE): Likewise.
27780
6af6528b
L
277812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27782
27783 * sysdeps/mach/hurd/bits/typesizes.h
27784 (__SYSCALL_SLONG_TYPE): New macro.
27785 (__SYSCALL_ULONG_TYPE): Likewise.
27786
de986b56
L
277872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27788
27789 * bits/types.h (__syscall_slong_t): New type.
27790 (__syscall_ulong_t): Likewise.
27791
27792 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
27793 (__SYSCALL_ULONG_TYPE): Likewise.
27794 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27795 (__SYSCALL_SLONG_TYPE): Likewise.
27796 (__SYSCALL_ULONG_TYPE): Likewise.
27797 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
27798 (__SYSCALL_SLONG_TYPE): Likewise.
27799 (__SYSCALL_ULONG_TYPE): Likewise.
27800 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27801 (__SYSCALL_SLONG_TYPE): Likewise.
27802 (__SYSCALL_ULONG_TYPE): Likewise.
27803
85736dc7
L
278042012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27805
27806 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
27807 Add sigaltstack-offsets.sym.
27808 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
27809 <sigaltstack-offsets.h>.
27810 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
27811 longjmp_msg pointer.
27812 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
27813 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
27814 signal stack.
27815 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
27816
cc03b296
JM
278172012-05-15 Joseph Myers <joseph@codesourcery.com>
27818
a9538892
JM
27819 * elf/stackguard-macros.h: Remove file.
27820 * sysdeps/generic/stackguard-macros.h: New file.
27821 * sysdeps/i386/stackguard-macros.h: Likewise.
27822 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
27823 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
27824 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
27825 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
27826 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
27827 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
27828 * sysdeps/x86_64/stackguard-macros.h: Likewise.
27829 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
27830 <elf/stackguard-macros.h>.
27831
cc03b296
JM
27832 [BZ #14109]
27833 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
27834 __aligned__ in attribute.
27835 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
27836 (gregset_t): Likewise.
27837
93171016
L
278382012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27839
27840 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
27841 * sysdeps/x86_64/64/Implies-after: Here. New file.
27842 * sysdeps/x86_64/x32/Implies-after: New file.
27843
d86813a0
L
278442012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27845
27846 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
27847 and access return value for _dl_profile_fixup. Use R10_LP to
27848 load frame size.
27849
2953ec75
L
278502012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27851
27852 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
27853
3b550e9e
L
278542012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27855
27856 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
27857 * sysdeps/x86_64/x32/sysdep.h: New file.
27858
eda41706
L
278592012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27860
27861 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
27862 * sysdeps/x86_64/setjmp.S: Likewise.
27863
9ea01d93
AZ
278642012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27865
27866 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
27867 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
27868 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
27869 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
27870 remove unused global constant.
27871
02a91938
CM
278722012-05-15 Chris Metcalf <cmetcalf@tilera.com>
27873
27874 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
27875 include of <not-cancel.h>.
27876
6540185f
RM
278772012-05-15 Roland McGrath <roland@hack.frob.com>
27878
27879 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
27880
509072a0
AJ
278812012-05-15 Jeff Law <law@redhat.com>
27882 Andreas Jaeger <aj@suse.de>
27883
27884 [BZ #13594]
27885 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
27886 out from...
27887 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
27888 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
27889 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
27890 code changing __hst_map_handle.map.
27891
ba75122d
RM
278922012-05-15 Roland McGrath <roland@hack.frob.com>
27893
27894 * configure.in (sysnames): Look for Implies-before and Implies-after
27895 files.
27896 * configure: Regenerated.
27897
890d8bd8
L
278982012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27899
27900 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
27901 8-byte data alignment with LP_SIZE alignment.
27902
f6ee6623
L
279032012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27904
27905 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
27906 into R10_LP.
27907
ea2626f6
L
279082012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27909
27910 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
27911
085f715e
L
279122012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27913
27914 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
27915 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
27916 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
27917 Likewise.
27918 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
27919
be8498fc
L
279202012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27921
27922 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
27923 (stackinfo_sub_sp): Likewise.
27924
70bc83b9
L
279252012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27926
27927 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
27928 RAX_LP.
27929
9bc0b730
L
279302012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27931
27932 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
27933 into R*_LP.
27934
6d2850e7
L
279352012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27936
27937 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
27938 sizes into R*_LP.
27939
3cb84561
L
279402012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27941
27942 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
27943
54e2ed81
L
279442012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27945
27946 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
27947 into R11_LP and load __x86_64_shared_cache_size_half into
27948 R8_LP.
27949
8a17f349
L
279502012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27951
27952 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
27953 R8_LP.
27954
777b1eea
AZ
279552012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27956
27957 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
27958 logb for POWER7.
27959 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
27960 logbf for POWER7.
27961 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
27962 logbl for POWER7.
27963 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
27964 powerpc32/power7/fpu/s_logb.c via #include.
27965 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
27966 powerpc32/power7/fpu/s_logbf.c via #include.
27967 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
27968 powerpc32/power7/fpu/s_logbl.c via #include.
27969
d20d4ac2
JM
279702012-05-15 Joseph Myers <joseph@codesourcery.com>
27971
27972 * README.libm: Remove file.
27973
6cdef1ab
L
279742012-05-14 H.J. Lu <hongjiu.lu@intel.com>
27975
27976 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
27977 count for x32. Use R*_LP and omit operand-size suffix.
27978
0b254d8f
L
279792012-05-14 H.J. Lu <hongjiu.lu@intel.com>
27980
27981 * shlib-versions: Move x86_64-.*-linux.* entries to ...
27982 * sysdeps/x86_64/64/shlib-versions: Here. New file.
27983 * sysdeps/x86_64/x32/shlib-versions: New file.
27984
ceb809dc
RM
279852012-05-14 Roland McGrath <roland@hack.frob.com>
27986
27987 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
27988 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
27989 Use _dl_fatal_printf instead.
27990
37f1abd4
JM
279912012-05-14 Joseph Myers <joseph@codesourcery.com>
27992
27993 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
27994 set if not set by the user. Do not allow for being unset.
27995 * sysdeps/unix/sysv/linux/configure: Regenerated.
27996
11de3a33
L
279972012-05-14 H.J. Lu <hongjiu.lu@intel.com>
27998
27999 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
28000 the `q' suffix from lea and replace .quad with ASM_ADDR.
28001
e02f153a
L
280022012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28003
28004 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
28005 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
28006 instead of $17.
28007 (PTR_DEMANGLE): Likewise.
28008
520ae0fd
L
280092012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28010
28011 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
28012 (LP_OP): Likewise.
28013 (ASM_ADDR): Likewise.
28014 (RAX_LP): Likewise.
28015 (RBP_LP): Likewise.
28016 (RBX_LP): Likewise.
28017 (RCX_LP): Likewise.
28018 (RDI_LP): Likewise.
28019 (RSI_LP): Likewise.
28020 (RSP_LP): Likewise.
28021 (R8_LP): Likewise.
28022 (R9_LP): Likewise.
28023 (R10_LP): Likewise.
28024 (R10_LP): Likewise.
28025 (R11_LP): Likewise.
28026 (R12_LP): Likewise.
28027 (R13_LP): Likewise.
28028 (R14_LP): Likewise.
28029 (R15_LP): Likewise.
28030
b985be81
L
280312012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28032
28033 * sysdeps/x86_64/x32/dl-machine.h: New file.
28034
6a4888ff
AJ
280352012-05-14 Andreas Jaeger <aj@suse.de>
28036
28037 * manual/Makefile (subdir): Remove export of subdir.
28038 (all): Remove target.
28039 (.PHONY): Remove all from list.
28040 (mkinstalldirs): Remove.
28041 (.PHONY): Remove installdirs from list.
28042 ($(inst_infodir)/libc.info): Use make-target-directory.
28043 (installdirs): Remove.
28044 (subdir_%): Remove.
28045 (glibc-targets): Remove.
28046 (lib): Remove.
28047 (stubs): Remove.
28048 ($(objpfx)stubs ../po/manual.pot): Remove.
28049 ($(objpfx)stamp%): Remove.
28050 (make-target-directory): Remove.
28051 (subdir_install): Remove.
28052 (routines): Remove.
28053 (aux): Remove.
28054 (sources): Remove.
28055 (objects): Remove.
28056 (headers): Remove.
28057
28058 [BZ #13750]
28059 * manual/.gitignore: Remove, it's not needed anymore.
28060 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
28061 all files in it.
28062 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
28063 directory.
28064 (texis): Renamed to $(objpfx)texis.
28065 (texis-path): New, contains path to generated files.
28066 (chapters.%): Use texis-path for complete path, add extra argument
28067 libc-texinfo.sh.
28068 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
28069 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
28070 (summary,texi, stamp-summary): Use complete path of
28071 files. Generate files in build dir.
28072 (dir-add.texi): Build in build dir.
28073 (libm-err.texi,stamp-libm-err): Likewise.
28074 (version.texi, stamp-version): Likewise.
28075 (.%c.texi): Likewise.
28076 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
28077 (mostlyclean): Remove target.
28078 (realclean): Remove target.
28079 (generated): Add new variable with contents from mostlyclean and
28080 realclean, remove entries duplicated in common-mostlyclean, add
28081 stamp-libm-err and stamp-version.
28082 (generated-dirs): Add libc directory.
28083 ($(inst_infodir)/libc.info): Install files from build dir.
28084
28085 * manual/install.texi (Configuring and compiling): Adjust since
28086 the info files are not part of the tar ball anymore.
28087
7ac77294
AJ
280882012-05-14 Andreas Jaeger <aj@suse.de>
28089
28090 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
28091 variable.
28092
ffb7875d
JM
280932012-05-14 Joseph Myers <joseph@codesourcery.com>
28094
28095 [BZ #13717]
28096 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
28097 to 2.2.0 where earlier.
28098 * sysdeps/unix/sysv/linux/configure: Regenerated.
28099 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
28100 Remove conditional code.
28101 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
28102 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
28103 Remove conditional code.
28104 [!__NR_lchown]: Likewise.
28105 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
28106 [__NR_lchown]: Likewise.
28107 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
28108 comment referencing __ASSUME_LCHOWN_SYSCALL.
28109 * sysdeps/unix/sysv/linux/i386/sigaction.c
28110 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28111 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28112 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
28113 Remove conditional code.
28114 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
28115 (__protocol_available): Remove #if 0 code.
28116 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
28117 conditional code.
28118 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
28119 * sysdeps/unix/sysv/linux/kernel-features.h
28120 (__ASSUME_GETCWD_SYSCALL): Don't define.
28121 (__ASSUME_REALTIME_SIGNALS): Likewise.
28122 (__ASSUME_PREAD_SYSCALL): Likewise.
28123 (__ASSUME_PWRITE_SYSCALL): Likewise.
28124 (__ASSUME_POLL_SYSCALL): Likewise.
28125 (__ASSUME_LCHOWN_SYSCALL): Likewise.
28126 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
28127 non-SPARC.
28128 (__ASSUME_SIOCGIFNAME): Don't define.
28129 (__ASSUME_MSG_NOSIGNAL): Likewise.
28130 (__ASSUME_SENDFILE): Define unconditionally.
28131 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
28132 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
28133 conditional code.
28134 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
28135 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
28136 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
28137 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
28138 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
28139 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
28140 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
28141 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
28142 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
28143 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28144 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
28145 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
28146 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28147 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
28148 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28149 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28150 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
28151 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28152 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
28154 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
28155 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
28157 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
28158 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
28160 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28161 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
28163 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28164 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28165 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
28166 Remove conditional code.
28167 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28168 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
28169 Remove conditional code.
28170 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28171 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
28172 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
28173 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
28174 Remove conditional code.
28175 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28176 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
28177 Remove conditional code.
28178 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28179 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
28180 Remove conditional code.
28181 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28182 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
28183 Remove conditional code.
28184 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28185 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
28186 Remove conditional code.
28187 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28188 * sysdeps/unix/sysv/linux/sh/pwrite64.c
28189 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28190 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28191 * sysdeps/unix/sysv/linux/sigaction.c
28192 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28193 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28194 * sysdeps/unix/sysv/linux/sigpending.c
28195 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28196 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28197 * sysdeps/unix/sysv/linux/sigprocmask.c
28198 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28199 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28200 * sysdeps/unix/sysv/linux/sigsuspend.c
28201 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28202 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28203 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
28204 (__libc_missing_rt_sigs): Remove.
28205 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
28206 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
28207 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
28208 Remove conditional code.
28209 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
28210 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
28211 return 1.
28212 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
28213 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
28214 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
28215 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
28216
1bfb7291
AJ
282172012-05-14 Andreas Jaeger <aj@suse.de>
28218
caae5a81
AJ
28219 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
28220 it's not used in glibc.
28221 (__coshm1): Likewise.
28222 (__acosh1p): Likewise.
28223 (__sgn): Likewise.
28224
1bfb7291
AJ
28225 * manual/string.texi (Copying and Concatenation): Add missing
28226 variable in concat example.
28227 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
28228
c044d724
L
282292012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28230
144c5467 28231 [BZ #14103]
c044d724
L
28232 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
28233 __builtin_clzl with __builtin_clzll.
28234
2523c62b
L
282352012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28236
28237 [BZ #14104]
28238 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
28239 libc_freeres_ptr.
28240
d7bb4c42
LD
282412012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28242
28243 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
28244 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
28245 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
28246 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
28247
9dc4e1fb
MF
282482012-05-14 Mike Frysinger <vapier@gentoo.org>
28249
28250 * NEWS: Update ia64 info.
28251
c7df0112
AS
282522012-05-12 Andreas Schwab <schwab@linux-m68k.org>
28253
28254 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
28255 used as bcopy.
28256
dc70356c
TS
282572012-05-12 Thomas Schwinge <thomas@codesourcery.com>
28258
28259 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
28260 * sysdeps/unix/syscalls.list (dup3): Likewise.
28261 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
28262 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
28263
9fb1a21f
L
282642012-05-11 H.J. Lu <hongjiu.lu@intel.com>
28265
28266 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
28267 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
28268
4822a2a5
L
282692012-05-11 H.J. Lu <hongjiu.lu@intel.com>
28270
28271 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
28272 thread pointer.
28273 (TLS_IE): Use mov/add instead of movq/addq to load thread
28274 pointer.
28275 (TLS_GD_PREFIX): New.
28276 (TLS_GD): Use it.
28277
842b81d6
DM
282782012-05-11 David S. Miller <davem@davemloft.net>
28279
28280 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
28281 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
28282 (_FPU_SETCW): Likewise.
28283
1cf463cd
L
282842012-05-10 H.J. Lu <hongjiu.lu@intel.com>
28285
28286 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
28287 is 32-byte aligned.
28288
60cc4a18
AS
282892012-05-11 Andreas Schwab <schwab@linux-m68k.org>
28290
28291 [BZ #11837]
28292 * iconvdata/gb18030.c: Update tables.
28293 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
28294 characters specially.
28295 (BODY for TO_LOOP): Add encoding of missing ranges.
28296
febb44a4
TS
282972012-05-11 Thomas Schwinge <thomas@codesourcery.com>
28298
28299 [BZ #13673]
28300 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
28301 * sysdeps/mach/hurd/dup3.c: Likewise.
28302 * sysdeps/mach/hurd/readlinkat.c: Likewise.
28303 * sysdeps/powerpc/memmove.c:: Likewise.
28304
0a10fb9e
L
283052012-05-10 H.J. Lu <hongjiu.lu@intel.com>
28306
28307 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
28308 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
28309
df8a552f
L
283102012-05-10 H.J. Lu <hongjiu.lu@intel.com>
28311
28312 * elf/elf.h (R_X86_64_RELATIVE64): New.
28313 (R_X86_64_NUM): Updated.
28314 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
28315 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
28316 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
28317 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
28318 tst-quad1pie tst-quad2pie
28319 (modules-names): Add tst-quadmod1 tst-quadmod2.
28320 ($(objpfx)tst-quad1): New dependency.
28321 ($(objpfx)tst-quad2): Likewise.
28322 ($(objpfx)tst-quad1pie): Likewise.
28323 ($(objpfx)tst-quad2pie): Likewise.
28324 * sysdeps/x86_64/tst-quad1.c: New file.
28325 * sysdeps/x86_64/tst-quad1pie.c: New file.
28326 * sysdeps/x86_64/tst-quad2.c: Likewise.
28327 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
28328 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
28329 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
28330 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
28331 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
28332
f34d6f84
ST
283332012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28334
f42d41d1
ST
28335 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
28336 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
28337 * streams/stropts.h (t_scalar_t): Define type.
28338
3c3571fc
ST
28339 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
28340 (_PATH_PRESERVE): Set to "/var/lib".
28341 (_PATH_RWHODIR): Set to "/var/spool/rwho".
28342
61f06bd3
ST
28343 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
28344 instead of int.
28345
918d4d71
ST
28346 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
28347 if __dir_mkfile succeeded.
28348
f34d6f84
ST
28349 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
28350 checking for _hurd_dtablesize. Unlock it right after having
28351 finished _hurd_dtable allocation.
28352
10589b4a
TS
283532012-05-10 Thomas Schwinge <thomas@schwinge.name>
28354
674cdbc7
TS
28355 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
28356 * sysdeps/mach/hurd/configure: Regenerated.
28357 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
28358 special-casing to...
28359 * sysdeps/gnu/configure.in: ... this new file.
28360 * sysdeps/unix/sysv/linux/configure: Regenerated.
28361 * sysdeps/gnu/configure: New generated file.
28362
8e41b99f
TS
28363 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
28364 for Linux: use nsec instead of usec, as well as:
28365 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
28366 members of type struct timespec.
28367 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
28368 New macros.
28369 (struct stat64): Likewise.
28370 (_STATBUF_ST_NSEC): New macro.
28371 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
28372
10589b4a
TS
28373 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
28374 __strtoul_internal rather than strtoul.
28375
63643c85
PT
283762012-05-10 Pino Toscano <toscano.pino@tiscali.it>
28377
28378 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
28379 and reject them.
28380
3faebe6a
ST
283812012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28382
28383 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
28384 which preserves existing values.
28385 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
28386
c6474b07
PT
283872012-05-10 Pino Toscano <toscano.pino@tiscali.it>
28388
28389 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
28390 TIMEOUT values. Return EINVAL for NFDS values either negative or
28391 greater than FD_SETSIZE.
28392
1043890b
ST
283932012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28394
28395 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
28396 allocated, call __vm_protect to finish enabling the existing space, and
28397 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
28398 allocate the remainder.
28399
37ed8b9b
PT
284002012-05-10 Pino Toscano <toscano.pino@tiscali.it>
28401
28402 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
28403 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
28404
db653660
ST
284052012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28406
37ed8b9b
PT
28407 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
28408 sysdeps/mach/hurd/readlink.c.
b29d4053 28409
db653660
ST
28410 * posix/tst-sysconf.c (posix_options): Only use
28411 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
28412 _POSIX_SYNCHRONIZED_IO when they are defined
28413 * sysdeps/mach/hurd/bits/posix_opt.h:
28414 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
28415 (_XOPEN_REALTIME): Undefine macro.
28416 (_XOPEN_REALTIME_THREADS): Undefine macro.
28417 (_XOPEN_SHM): Undefine macro.
28418 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
28419 macro to -1.
28420 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
28421 macro to -1.
28422 (_POSIX_ASYNC_IO): Undefine macro.
28423 (_POSIX_PRIORITIZED_IO): Undefine macro.
28424 (_POSIX_SPIN_LOCKS): Define macro to -1.
28425
ee16e894
ST
28426 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
28427 SA_NODEFER, SA_RESETHAND.
28428 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
28429 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
28430 F_DUPFD_CLOEXEC.
28431
6103ae3b
TS
284322012-05-10 Thomas Schwinge <thomas@schwinge.name>
28433
28434 * elf/Makefile (pldd-modules): Define unconditionally.
28435
80b4e5f3
TS
284362012-05-10 Thomas Schwinge <thomas@schwinge.name>
28437
28438 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
28439
edadcbd6
ST
284402012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28441
28442 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
28443 Return ENOENT when name is empty.
28444 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
28445
80694780
TS
284462012-05-10 Thomas Schwinge <thomas@schwinge.name>
28447
1792c087
TS
28448 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
28449
80694780
TS
28450 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
28451
6b645f0d
ST
284522012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28453
80694780
TS
28454 Fix mlock in all cases except non-readable pages.
28455 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
28456 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 28457
6b645f0d
ST
28458 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
28459 (__mkdir): When path is `/', just fail with EEXIST.
28460 * sysdeps/mach/hurd/mkdirat.c: Likewise.
28461
e468f8a3
TS
284622012-05-10 Thomas Schwinge <thomas@schwinge.name>
28463
28464 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
28465 <sys/uio.h> (for writev).
28466 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
28467 and <sys/param.h> (for MIN).
28468
a4186cff
PT
284692012-05-10 Pino Toscano <toscano.pino@tiscali.it>
28470
28471 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
28472 REQUESTED_TIME. Properly set the remaining time and return EINTR
28473 if interrupted.
28474
510bbf14
TS
284752012-05-10 Thomas Schwinge <thomas@schwinge.name>
28476
28477 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
28478 Depend on against $(link-rpcuserlibs).
28479
5d5722e8
ST
284802012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28481
a4186cff
PT
28482 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
28483 (__libc_stack_end): Do not use attribute_relro.
28484 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
28485 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 28486 to libthread-provided value.
a4186cff
PT
28487 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
28488 attribute_relro.
5d5722e8 28489
37233df9
TS
284902012-05-10 Thomas Schwinge <thomas@schwinge.name>
28491
be971a2b
TS
28492 [BZ #3748]
28493 * bits/libc-lock.h (__libc_once_get): New macro.
28494 * sysdeps/mach/bits/libc-lock.h: Likewise.
28495 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
28496 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
28497 instead of using implementation details.
28498
37233df9
TS
28499 * libio/fileops.c: Unconditionally include <kernel-features.h>.
28500 * libio/freopen.c: Likewise.
28501 * libio/freopen64.c: Likewise.
28502 * misc/syslog.c: Likewise.
28503 * nscd/connections.c: Likewise.
28504 * nscd/netgroupcache.c: Likewise.
28505 * sysdeps/posix/getcwd.c: Likewise.
28506
38de94a5
RM
285072012-05-10 Roland McGrath <roland@hack.frob.com>
28508
28509 * math/w_ilogbf.c: Add #include <limits.h>.
28510
67530489
ST
285112012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28512
a4186cff 28513 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
28514 path instead of returning without unlocking.
28515
67530489
ST
28516 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
28517 immediate-write ioctls.
28518 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
28519
5aa3a74a
TS
285202012-05-10 Thomas Schwinge <thomas@schwinge.name>
28521
18bad2ae
TS
28522 * sysdeps/mach/hurd/i386/init-first.c (init): Use
28523 __builtin_frame_address instead of making assumptions about the
28524 location of the return address relative to DATA. Force early load of
28525 the return address.
28526 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
28527 __builtin_frame_address.
28528
5aa3a74a
TS
28529 dup3 for GNU Hurd.
28530 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
28531 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
28532 implement dup3 and do some further code clean-ups.
28533 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
28534 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
28535
ecd0de9a
ST
285362012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28537
cd9fa985
ST
28538 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
28539
a4186cff
PT
28540 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
28541 HURD_CRITICAL_END around holding _hurd_dtable_lock.
28542 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
28543 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
28544 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
28545 d->port.lock.
802ca5a5 28546
a4186cff
PT
28547 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
28548 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
28549 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 28550
bcf55240
TS
285512012-05-10 Thomas Schwinge <thomas@schwinge.name>
28552
6960eb42
TS
28553 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
28554 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
28555 definitions.
28556
eb43375f
TS
28557 accept4 for GNU Hurd.
28558 * include/sys/socket.h (__libc_accept4): New prototype.
28559 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
28560 to implement __libc_accept4.
28561 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
28562 __libc_accept4.
28563 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
28564
bcf55240
TS
28565 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
28566 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
28567 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
28568 signal-defines.sym.
28569
6178c55b
ST
285702012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28571
a4186cff 28572 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 28573
6f080c2f
TS
285742012-05-10 Thomas Schwinge <thomas@schwinge.name>
28575
28576 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
28577 assertion on O_CLOEXEC flag.
28578 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
28579 * hurd/intern-fd.c: Likewise.
28580 * hurd/port2fd.c: Likewise.
28581
bcfe3a54
ST
285822012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28583
28584 [BZ #3906]
28585 * bits/in.h (IPV6_PKTINFO): Define new macro.
28586 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
28587
89c9aa49
AZ
285882012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28589
28590 [BZ #13954]
28591 [BZ #13955]
28592 [BZ #13956]
28593 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
28594 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
28595 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
28596 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
28597 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
28598 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
28599 * math/libm-test.inc (logb_test) : Additional logb tests.
28600
021db4be
AJ
286012012-05-09 Andreas Schwab <schwab@linux-m68k.org>
28602 Andreas Jaeger <aj@suse.de>
28603
28604 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
28605 * configure: Regenerated.
28606 * config.h.in (LINK_OBSOLETE_RPC): New macro.
28607 * config.make.in (link-obsolete-rpc): New substituted variable.
28608 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
28609 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
28610 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
28611 (shared-only-routines): Don't set it under [link-obsolete-rpc],
28612 so that libc.a contains the symbols.
28613 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
28614 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
28615 * sunrpc/auth_none.c: Likewise.
28616 * sunrpc/auth_unix.c: Likewise.
28617 * sunrpc/authdes_prot.c: Likewise.
28618 * sunrpc/authuxprot.c: Likewise.
28619 * sunrpc/clnt_gen.c: Likewise.
28620 * sunrpc/clnt_perr.c: Likewise.
28621 * sunrpc/clnt_raw.c: Likewise.
28622 * sunrpc/clnt_simp.c: Likewise.
28623 * sunrpc/clnt_tcp.c: Likewise.
28624 * sunrpc/clnt_udp.c: Likewise.
28625 * sunrpc/clnt_unix.c: Likewise.
28626 * sunrpc/des_crypt.c: Likewise.
28627 * sunrpc/des_soft.c: Likewise.
28628 * sunrpc/get_myaddr.c: Likewise.
28629 * sunrpc/key_call.c: Likewise.
28630 * sunrpc/key_prot.c: Likewise.
28631 * sunrpc/netname.c: Likewise.
28632 * sunrpc/pm_getmaps.c: Likewise.
28633 * sunrpc/pm_getport.c: Likewise.
28634 * sunrpc/pmap_clnt.c: Likewise.
28635 * sunrpc/pmap_prot.c: Likewise.
28636 * sunrpc/pmap_prot2.c: Likewise.
28637 * sunrpc/pmap_rmt.c: Likewise.
28638 * sunrpc/publickey.c: Likewise.
28639 * sunrpc/rpc_cmsg.c: Likewise.
28640 * sunrpc/rpc_common.c: Likewise.
28641 * sunrpc/rpc_dtable.c: Likewise.
28642 * sunrpc/rpc_prot.c: Likewise.
28643 * sunrpc/rpc_thread.c: Likewise.
28644 * sunrpc/rtime.c: Likewise.
28645 * sunrpc/svc.c: Likewise.
28646 * sunrpc/svc_auth.c: Likewise.
28647 * sunrpc/svc_raw.c: Likewise.
28648 * sunrpc/svc_run.c: Likewise.
28649 * sunrpc/svc_tcp.c: Likewise.
28650 * sunrpc/svc_udp.c: Likewise.
28651 * sunrpc/svc_unix.c: Likewise.
28652 * sunrpc/svcauth_des.c: Likewise.
28653 * sunrpc/xcrypt.c: Likewise.
28654 * sunrpc/xdr.c: Likewise.
28655 * sunrpc/xdr_array.c: Likewise.
28656 * sunrpc/xdr_float.c: Likewise.
28657 * sunrpc/xdr_intXX_t.c: Likewise.
28658 * sunrpc/xdr_mem.c: Likewise.
28659 * sunrpc/xdr_rec.c: Likewise.
28660 * sunrpc/xdr_ref.c: Likewise.
28661 * sunrpc/xdr_sizeof.c: Likewise.
28662 * sunrpc/xdr_stdio.c: Likewise.
28663
b5c086a2
RM
286642012-05-10 Roland McGrath <roland@hack.frob.com>
28665
28666 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
28667 change. Update copyright years.
28668
6d74dd09
JM
286692012-05-10 Joseph Myers <joseph@codesourcery.com>
28670
28671 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
28672
28e72501
MK
286732012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
28674 Joseph Myers <joseph@codesourcery.com>
28675 Paul Pluzhnikov <ppluzhnikov@google.com>
28676
28677 [BZ #14012]
28678 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
28679 requiring rpcgen.
28680 [cross-compiling] (extra-libs): Likewise.
28681 [cross-compiling] (extra-libs-others): Likewise.
28682 [cross-compiling] (librpcsvc-routines): Likewise.
28683 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
28684 [cross-compiling] (omit-deps): Likewise.
28685 (sunrpc-CPPFLAGS): New variable.
28686 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
28687 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
28688 (cross-rpcgen-objs): New variable.
28689 (extra-objs): Append $(cross-rpcgen-objs).
28690 ($(cross-rpcgen-objs)): New rule.
28691 ($(objpfx)cross-rpcgen): Likewise.
28692 (rpcgen-cmd): Define to use $(built-program-file). Expand
28693 comment.
28694 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
28695 ($(objpfx)x%.stmp): Likewise.
28696 * sunrpc/proto.h [IS_IN_build] (_): Define.
28697 [IS_IN_build] (_libc_intl_domainname): Likewise.
28698
c8c59454
L
286992012-05-10 H.J. Lu <hongjiu.lu@intel.com>
28700
28701 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
28702 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
28703 and R_X86_64_TPOFF64.
28704
6f27cd16
JM
287052012-05-10 Joseph Myers <joseph@codesourcery.com>
28706
28707 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
28708 sysdeps/unix/sysv/syscalls.list.
28709 (stime): Likewise.
28710 (utime): Likewise.
28711 * sysdeps/unix/sysv/syscalls.list: Remove file.
28712
02467e1c
PE
287132012-05-10 Paul Eggert <eggert@cs.ucla.edu>
28714
28715 [BZ #3440]
28716 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
28717 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
28718 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
28719 (__LC_IDENTIFICATION): Make these macros useful in #if
28720 expressions, as required by C99.
28721
da392631
AS
287222012-05-10 Andreas Schwab <schwab@linux-m68k.org>
28723
28724 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
28725 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
28726 after this.
28727
8115f29b
L
287282012-05-09 H.J. Lu <hongjiu.lu@intel.com>
28729
28730 * stdlib/longlong.h: Updated from GCC.
28731
bdd74070
AJ
287322012-05-09 Andreas Jaeger <aj@suse.de>
28733
edfe0dbe
AJ
28734 * nscd/nscd.c (run_modes): Make named enum, reorder so that
28735 default is first entry.
28736 (run_mode): Set type.
28737 (main): Remove informal message about syslog.
28738 (options): Fix typo.
28739
bcfe3a54
ST
28740 [BZ #14053]
28741 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 28742 to asm.
bcfe3a54
ST
28743 (lrint): Likewise.
28744 (llrintf): Likewise.
28745 (llrint): Likewise.
28746 (rint): Likewise.
28747 (rintf): Likewise.
28748 (nearbyint): Likewise.
28749 (nearbyintf): Likewise.
bdd74070 28750
91d8d69e
AJ
287512012-05-09 Andreas Jaeger <aj@suse.de>
28752 Pedro Alves <palves@redhat.com>
28753
28754 * nscd/nscd.c (run_mode): Use enum.
28755 (main): Cleanup coding style issue.
28756
bb90b80b
AJ
287572012-05-09 Alexandre Oliva <aoliva@redhat.com>
28758 Andreas Jaeger <aj@suse.de>
28759
bcfe3a54
ST
28760 * nscd/nscd.c (go_background): Replaced with...
28761 (run_mode): ... this.
bb90b80b 28762 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
28763 (options): Add -F --foreground.
28764 (main): Implement it.
28765 (parse_opt): Parse it.
bb90b80b 28766
1a4b75a1
AJ
287672012-05-09 Andreas Jaeger <aj@suse.de>
28768
28769 [BZ #14083]
28770 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
28771 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
28772 -Wconversion warning.
28773 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
28774 Likewise.
28775
b1cc2472
JM
287762012-05-09 Joseph Myers <joseph@codesourcery.com>
28777
28778 * conform/data/locale.h-data (NULL): Use macro-constant. Require
28779 == 0.
28780 (LC_ALL): Use macro-int-constant.
28781 (LC_COLLATE): Likewise.
28782 (LC_CTYPE): Likewise.
28783 (LC_MESSAGES): Likewise.
28784 (LC_MONETARY): Likewise.
28785 (LC_NUMERIC): Likewise.
28786 (LC_TIME): Likewise.
28787 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
28788 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
28789 [ISO || ISO99 || ISO11] (*_t): Do not allow.
28790 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
28791 Specify type.
28792 [C99-based standards] (float_t): Expect type.
28793 [C99-based standards] (double_t): Expect type.
28794 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
28795 type.
28796 [C99-based standards] (HUGE_VALL): Likewise.
28797 [C99-based standards] (INFINITY): Likewise.
28798 [C99-based standards] (NAN): Likewise.
28799 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
28800 [C99-based standards] (FP_NAN): Likewise.
28801 [C99-based standards] (FP_NORMAL): Likewise.
28802 [C99-based standards] (FP_SUBNORMAL): Likewise.
28803 [C99-based standards] (FP_ZERO): Likewise.
28804 [C99-based standards] (FP_FAST_FMA): Use
28805 optional-macro-int-constant. Specify type. Require == 1.
28806 [C99-based standards] (FP_FAST_FMAF): Likewise.
28807 [C99-based standards] (FP_FAST_FMAL): Likewise.
28808 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
28809 [C99-based standards] (FP_ILOGBNAN): Likewise.
28810 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
28811 Specify type.
28812 [C99-based standards] (MATH_ERREXCEPT): Likewise.
28813 [C99-based standards] (math_errhandling): Specify type.
28814 [ISO99 || ISO11] (signgam): Do not allow.
28815 [non-C99-based standards] (copysignf): Do not allow.
28816 [non-C99-based standards] (exp2f): Likewise.
28817 [non-C99-based standards] (log2f): Likewise.
28818 [non-C99-based standards] (modff): Allow.
28819 [non-C99-based standards] (erff): Do not allow.
28820 [non-C99-based standards] (erfcf): Likewise.
28821 [non-C99-based standards] (gammaf): Likewise.
28822 [non-C99-based standards] (hypotf): Likewise.
28823 [non-C99-based standards] (j0f): Likewise.
28824 [non-C99-based standards] (j1f): Likewise.
28825 [non-C99-based standards] (jnf): Likewise.
28826 [non-C99-based standards] (lgammaf): Likewise.
28827 [non-C99-based standards] (tgammaf): Likewise.
28828 [non-C99-based standards] (y0f): Likewise.
28829 [non-C99-based standards] (y1f): Likewise.
28830 [non-C99-based standards] (ynf): Likewise.
28831 [non-C99-based standards] (isnanf): Likewise.
28832 [non-C99-based standards] (acoshf): Likewise.
28833 [non-C99-based standards] (asinhf): Likewise.
28834 [non-C99-based standards] (atanhf): Likewise.
28835 [non-C99-based standards] (cbrtf): Likewise.
28836 [non-C99-based standards] (expm1f): Likewise.
28837 [non-C99-based standards] (ilogbf): Likewise.
28838 [non-C99-based standards] (log1pf): Likewise.
28839 [non-C99-based standards] (logbf): Likewise.
28840 [non-C99-based standards] (nextafterf): Likewise.
28841 [non-C99-based standards] (remainderf): Likewise.
28842 [non-C99-based standards] (rintf): Likewise.
28843 [non-C99-based standards] (scalbf): Likewise.
28844 [non-C99-based standards] (copysignl): Likewise.
28845 [non-C99-based standards] (exp2l): Likewise.
28846 [non-C99-based standards] (log2l): Likewise.
28847 [non-C99-based standards] (modfl): Allow.
28848 [non-C99-based standards] (erfl): Do not allow.
28849 [non-C99-based standards] (erfcl): Likewise.
28850 [non-C99-based standards] (gammal): Likewise.
28851 [non-C99-based standards] (hypotl): Likewise.
28852 [non-C99-based standards] (j0l): Likewise.
28853 [non-C99-based standards] (j1l): Likewise.
28854 [non-C99-based standards] (jnl): Likewise.
28855 [non-C99-based standards] (lgammal): Likewise.
28856 [non-C99-based standards] (tgammal): Likewise.
28857 [non-C99-based standards] (y0l): Likewise.
28858 [non-C99-based standards] (y1l): Likewise.
28859 [non-C99-based standards] (ynl): Likewise.
28860 [non-C99-based standards] (isnanl): Likewise.
28861 [non-C99-based standards] (acoshl): Likewise.
28862 [non-C99-based standards] (asinhl): Likewise.
28863 [non-C99-based standards] (atanhl): Likewise.
28864 [non-C99-based standards] (cbrtl): Likewise.
28865 [non-C99-based standards] (expm1l): Likewise.
28866 [non-C99-based standards] (ilogbl): Likewise.
28867 [non-C99-based standards] (log1pl): Likewise.
28868 [non-C99-based standards] (logbl): Likewise.
28869 [non-C99-based standards] (nextafterl): Likewise.
28870 [non-C99-based standards] (remainderl): Likewise.
28871 [non-C99-based standards] (rintl): Likewise.
28872 [non-C99-based standards] (scalbl): Likewise.
28873 [ISO || ISO99 || ISO11] (*_t): Do not allow.
28874 [non-C99-based standards] (FP_*): Do not allow.
28875 [C99-based standards] (FP_*): Change to
28876 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
28877 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
28878 allow.
28879 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
28880 (SIG_ERR): Likewise.
28881 [X/Open-based standards] (SIG_HOLD): Likewise.
28882 (SIG_IGN): Likewise.
28883 (SIGABRT): Use macro-int-constant. Specify type. Require
28884 positive value.
28885 (SIGFPE): Likewise.
28886 (SIGILL): Likewise.
28887 (SIGINT): Likewise.
28888 (SIGSEGV): Likewise.
28889 (SIGTER): Likewise.
28890 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
28891 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
28892 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
28893 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
28894 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
28895 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
28896 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
28897 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
28898 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
28899 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
28900 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
28901 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
28902 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
28903 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
28904 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
28905 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
28906 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
28907 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
28908 [X/Open-based standards] (SIGTRAP): Likewise.
28909 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
28910 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
28911 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
28912 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
28913 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
28914 allow.
28915
b9f1922d
IW
289162012-05-08 Ian Wienand <ianw@vmware.com>
28917
28918 [BZ #14080]
28919 * time/tzset.c (__tzset_parse_tz): Update default rules for
28920 daylight time changes in the Energy Policy Act of 2005.
28921
1db86e88
AJ
289222012-05-09 Andreas Jaeger <aj@suse.de>
28923
28924 [BZ #13983]
28925 * elf/ldconfig.c (parse_conf): Change string to make clear that
28926 ldconfig only issued a warning if ld.so.conf does not exist.
28927
dee4a4e3
DM
289282012-05-08 David S. Miller <davem@davemloft.net>
28929
ee0db190
DM
28930 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
28931 movxtod instead of popping the value on the stack.
28932
dee4a4e3
DM
28933 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28934
6a43ec98
CD
289352012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
28936
28937 * config.h.in: Add HAVE_ARM_PCS_VFP.
28938
05c2c961
RMG
289392012-05-08 Roland Mc Grath <roland@hack.frob.com>
28940
bcfe3a54
ST
28941 [BZ #13979]
28942 * include/features.h: Warn if user requests __FORTIFY_SOURCE
28943 checking but the checks are disabled for any reason.
05c2c961 28944
4b30f61a
L
289452012-05-08 H.J. Lu <hongjiu.lu@intel.com>
28946
28947 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
28948 and ELF64_R_TYPE with ELFW(R_TYPE).
28949
eee2bc67
JM
289502012-05-08 Joseph Myers <joseph@codesourcery.com>
28951
7ea5391a
JM
28952 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
28953 (ulimit): Likewise.
28954
eee2bc67
JM
28955 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
28956 (settimeofday): Likewise.
28957
abb66a67
MF
289582012-05-08 Mike Frysinger <vapier@gentoo.org>
28959
28960 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
28961 a struct th_u2 inside the union, and move tu_block/tu_code into
28962 a new th_u3 union of tu_block/tu_code inside of that. Move
28963 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
28964 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
28965 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
28966 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
28967 (th_stuff): Change to th_u1.tu_stuff.
28968 (th_data): Define.
28969 (th_msg): Change to th_u1.th_u2.tu_data.
28970
7f18b530
DM
289712012-05-07 David S. Miller <davem@davemloft.net>
28972
05760585
DM
28973 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28974
7f18b530
DM
28975 [BZ #14074]
28976 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
28977 (SETUP_PIC_REG): Use it.
28978 (SETUP_PIC_REG_LEAF): Use it.
28979
495fd99f
JM
289802012-05-07 Joseph Myers <joseph@codesourcery.com>
28981
28982 [BZ #13885]
28983 [BZ #13923]
28984 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
28985 USE_AS_EXPM1L.
28986 (EXPL_FINITE): Likewise.
28987 (FLDLOG): Likewise.
28988 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
28989 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
28990 e_expl.S.
28991 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
28992 USE_AS_EXPM1L.
28993 (EXPL_FINITE): Likewise.
28994 (FLDLOG): Likewise.
28995 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
28996 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
28997 e_expl.S.
28998 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
28999 test of -max_value argument for long double.
29000 * sysdeps/i386/fpu/libm-test-ulps: Update.
29001 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29002
6693d694
DM
290032012-05-06 David S. Miller <davem@davemloft.net>
29004
29005 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
29006 quad soft-float symbols whose references which are compiler
29007 generated.
29008 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
29009
6c23e11c
JM
290102012-05-06 Joseph Myers <joseph@codesourcery.com>
29011
d8b82cad
JM
29012 [BZ #13884]
29013 [BZ #13914]
29014 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
29015 USE_AS_EXP10L.
29016 (EXPL_FINITE): Likewise.
29017 (FLDLOG): Likewise.
29018 (c0): Likewise.
29019 (c1): Likewise.
29020 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
29021 Adjust comments for base varying.
29022 (__expl_finite): Change alias to EXPL_FINITE.
29023 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
29024 e_expl.S.
29025 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
29026 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
29027 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
29028 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
29029 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
29030 USE_AS_EXP10L.
29031 (EXPL_FINITE): Likewise.
29032 (FLDLOG): Likewise.
29033 (c0): Likewise.
29034 (c1): Likewise.
29035 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
29036 Adjust comments for base varying.
29037 (__expl_finite): Change alias to EXPL_FINITE.
29038 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
29039 tests for bugs.
29040 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29041
6c23e11c
JM
29042 [BZ #14064]
29043 * math/libm-test.inc (check_float_internal): Correct ulp
29044 calculation for subnormal expected results.
29045
29ba805c
AJ
290462012-05-06 Andreas Jaeger <aj@suse.de>
29047
29048 * Makeconfig (+math-flags): New, set to -frounding-math.
29049 (+cflags): Add +math-flags so that all of glibc gets compiled with
29050 it.
29051
29052 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
29053
7b17aeda
JM
290542012-05-05 Joseph Myers <joseph@codesourcery.com>
29055
5779f134
JM
29056 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
29057 Disable one test.
29058
41498f4d
JM
29059 [BZ #13787]
29060 [BZ #13922]
29061 [BZ #14036]
29062 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
29063 (__ieee754_expl): Allow for and saturate large arguments.
29064 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
29065 (u_threshold): Likewise.
29066 (__exp): Call __ieee754_exp before checking for overflow and
29067 underflow.
29068 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
29069 (u_threshold): Likewise.
29070 (__expf): Call __ieee754_expf before checking for overflow and
29071 underflow.
29072 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
29073 (u_threshold): Likewise.
29074 (__expl): Call __ieee754_expl before checking for overflow and
29075 underflow.
29076 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
29077 (__ieee754_expl): Allow for and saturate large arguments.
29078 * math/libm-test.inc (exp_test): Add another test. Do not allow
29079 missing overflow exception on overflow.
29080 (expm1_test): Do not allow missing overflow exception on overflow.
29081
6698b8bf
JM
29082 * sysdeps/i386/fpu/e_expl.c: Move to ...
29083 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
29084 rather than using inline asm.
29085 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
29086 * sysdeps/x86_64/fpu/e_expl.S: Copy from
29087 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
29088
7b17aeda
JM
29089 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
29090 (nice): Likewise.
29091 (poll): Likewise.
29092 (signal): Likewise.
29093 (time): Likewise.
29094 (times): Likewise.
29095
f7c85819
JM
290962012-05-04 Joseph Myers <joseph@codesourcery.com>
29097
29098 * sysdeps/unix/syscalls.list (adjtime): Add entry from
29099 sysdeps/unix/common/syscalls.list.
29100 (fchmod): Likewise.
29101 (fchown): Likewise.
29102 (ftruncate): Likewise.
29103 (getrusage): Likewise.
29104 (gettimeofday): Likewise.
29105 (setpgid): Likewise.
29106 (setregid): Likewise.
29107 (setreuid): Likewise.
29108 (sigaction): Likewise.
29109 (truncate): Likewise.
29110 (vhangup): Likewise.
29111 * sysdeps/unix/common/syscalls.list: Remove file.
29112 * sysdeps/unix/bsd/Implies: Don't include unix/common.
29113 * sysdeps/unix/sysv/linux/Implies: Likewise.
29114
336270d0
L
291152012-05-04 H.J. Lu <hongjiu.lu@intel.com>
29116
29117 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
29118 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
29119 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
29120 Moved to ...
29121 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
29122 Here.
29123 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
29124 to ...
29125 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
29126 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
29127 to ...
29128 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
29129 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
29130 to ...
29131 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
29132 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
29133 to ...
29134 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
29135 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
29136 to ...
29137 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
29138 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
29139 to ...
29140 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
29141 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
29142 to ...
29143 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
29144 Here.
29145 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
29146 to ...
29147 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
29148 Here.
29149 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
29150 to ...
29151 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
29152 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
29153 Moved to ...
29154 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
29155 Here.
29156 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
29157 to ...
29158 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
29159
d128e450
JM
291602012-05-04 Joseph Myers <joseph@codesourcery.com>
29161
fa8ee516
JM
29162 * sysdeps/unix/common/bits/dirent.h: Remove file.
29163 * sysdeps/unix/common/bits/fcntl.h: Likewise.
29164
d128e450
JM
29165 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
29166 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
29167 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
29168 * sysdeps/unix/bsd/isatty.c: Likewise.
29169 * sysdeps/unix/bsd/tcdrain.c: Likewise.
29170 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
29171 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
29172
ff8faaf0 291732012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 29174
62881be4 29175 [BZ #13563]
31dc8730
AZ
29176 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
29177 long double comparison inaccuracies.
29178 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
29179 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29180
6fef930c
AS
291812012-05-04 Andreas Schwab <schwab@linux-m68k.org>
29182
29183 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
29184 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
29185
8f203e6c
JM
291862012-05-04 Joseph Myers <joseph@codesourcery.com>
29187
29188 [BZ #14049]
29189 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
29190 nonzero digits before rounding a hex value.
29191 * stdlib/tst-strtod.c (tests): Add another test.
29192
5197d9c2
AK
291932012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29194
29195 * sysdeps/s390/fpu/libm-test-ulps: Update.
29196
f0c1dedf
AJ
291972012-05-03 Andreas Jaeger <aj@suse.de>
29198
29199 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
29200 does not get optimized out.
29201 (malloc_opt_barrier): New.
29202
a65ef2ae 292032012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 29204 Roland McGrath <roland@hack.frob.com>
a65ef2ae 29205
2b942cb7 29206 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 29207 intermediate file deletion.
2b942cb7 29208 (generated): Add .symlist files.
a65ef2ae 29209
54b71e02
JM
292102012-05-03 Joseph Myers <joseph@codesourcery.com>
29211
29212 [BZ #13775]
29213 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
29214 Redirect under this condition.
29215 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
29216 [__USE_GNU] (__dprintf_chk): Not under this condition.
29217 [__USE_GNU] (__vdprintf_chk): Likewise.
29218 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
29219 under this condition.
29220 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
29221 [__USE_XOPEN2K8] (dprintf): Define under this condition.
29222 [__USE_XOPEN2K8] (vdprintf): Likewise.
29223 [__USE_GNU] (__dprintf_chk): Not under this condition.
29224 [__USE_GNU] (__vdprintf_chk): Likewise.
29225 [__USE_GNU] (dprintf): Likewise.
29226 [__USE_GNU] (vdprintf): Likewise.
29227
d3dfcc41
RM
292282012-05-03 Roland McGrath <roland@hack.frob.com>
29229
29230 * elf/Makefile (common-generated): Set this instead of generated for
29231 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
29232 $(all-built-dso)-derived lists.
29233
7ac30cc5
AJ
292342012-05-03 Andreas Jaeger <aj@suse.de>
29235
0c51e550
AJ
29236 * sysdeps/i386/fpu/libm-test-ulps: Update.
29237
7ac30cc5
AJ
29238 * FAQ: Removed.
29239 * FAQ.in: Likewise.
29240 * scripts/gen-FAQ.pl: Likewise.
29241 * manual/install.texi (Installation): Point to online location of
29242 FAQ.
29243 * Makefile (files-for-dist): Remove FAQ.
29244 (FAQ): Remove.
29245
d4c2917f
AM
292462012-05-02 Allan McRae <allan@archlinux.org>
29247
29248 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
29249 (LDFLAGS-reldepmod5.so): Likewise.
29250 (LDFLAGS-reldep6mod1.so): Likewise.
29251 (LDFLAGS-reldep6mod4.so): Likewise.
29252 (LDFLAGS-reldep8mod3.so): Likewise.
29253 (LDFLAGS-unload4mod1.so): Likewise.
29254 (LDFLAGS-unload4mod2.so): Likewise.
29255 (LDFLAGS-tst-initorder): Likewise.
29256 (LDFLAGS-tst-initordera2.so): Likewise.
29257 (LDFLAGS-tst-initordera3.so): Likewise.
29258 (LDFLAGS-tst-initordera4.so): Likewise.
29259 (LDFLAGS-tst-initorderb2.so): Likewise.
29260 (LDFLAGS-noload): Likewise.
29261 (LDFLAGS-next): Likewise.
29262 (LDFLAGS-order2mod1.so): Likewise.
29263 (LDFLAGS-order2mod2.so): Likewise.
29264 (LDFLAGS-tst-initorder2): Likewise.
29265 (LDFLAGS-tst-initorder2a.so): Likewise.
29266 (LDFLAGS-tst-initorder2b.so): Likewise.
29267 (LDFLAGS-tst-initorder2c.so): Likewise.
29268 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
29269
d77f993f
DM
292702012-05-02 David S. Miller <davem@davemloft.net>
29271
29272 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29273
171a70b4
PP
292742012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
29275
29276 [BZ #14055]
29277 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
29278
0be196ad
AJ
292792012-05-02 Andreas Jaeger <aj@suse.de>
29280
29281 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
29282 since we manipulate rounding mode.
29283 (CPPFLAGS-test-idouble.c): Likewise.
29284 (CPPFLAGS-test-ifloat.c): Likewise.
29285 (CFLAGS-test-ldouble.c): Likewise.
29286 (CFLAGS-test-double.c): Likewise.
29287 (CFLAGS-test-float.c): Likewise.
29288 (CFLAGS-test-misc.c): Likewise.
29289 (CFLAGS-test-test-fenv.c): Likewise.
29290
4f9d04aa
AZ
292912012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29292
2b942cb7
RM
29293 [BZ #2550]
29294 [BZ #2570]
29295 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
29296 comparisons to determine direction to adjust input.
4f9d04aa 29297
82a79e7d
RM
292982012-05-01 Roland McGrath <roland@hack.frob.com>
29299
f5a01ca9
RM
29300 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
29301 output to the target.
29302
90fe4186
RM
29303 * scripts/localplt.awk: New file.
29304 * elf/Makefile ($(objpfx)check-localplt): Target removed.
29305 (check-localplt-CFLAGS): Variable removed.
29306 ($(all-built-dso:=.jmprel)): New static pattern rule.
29307 (generated): Add those targets.
29308 (localplt-built-dso): New variable.
29309 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
29310
29311 * elf/check-localplt.c: File removed.
29312
82397ed6
RM
29313 * scripts/check-execstack.awk: New file.
29314 * elf/Makefile ($(objpfx)check-execstack): Target removed.
29315 (check-execstack-CFLAGS): Variable removed.
29316 ($(objpfx)check-execstack.h): Target removed.
29317 ($(objpfx)execstack-default): New target.
29318 (generated): Add that instead of check-execstack.h.
29319 ($(all-built-dso:=.phdr)): New static pattern rule.
29320 (generated): Add those targets.
29321 * elf/check-execstack.c: File removed.
29322
82a79e7d
RM
29323 * scripts/check-textrel.awk: New file.
29324 * elf/Makefile ($(objpfx)check-textrel): Target removed.
29325 (check-textrel-CFLAGS): Variable removed.
29326 (all-built-dso): Use := to define.o
29327 ($(all-built-dso:=.dyn)): New static pattern rule.
29328 (generated): Add those targets.
29329 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
29330 * config.make.in (READELF): New substituted variable.
29331 * elf/check-textrel.c: File removed.
29332
62fde54f 293332012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 29334
615605c9
JM
29335 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
29336 allow.
29337 * conform/data/ctype.h-data [C99-based standards] (isblank):
29338 Expect function.
29339 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
29340 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
29341 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29342 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
29343 Specify type. Require positive value.
29344 (EILSEQ): Likewise.
29345 (ERANGE): Likewise.
29346 [ISO || POSIX] (EILSEQ): Do not expect.
29347 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
29348 Specify type. Require positive value.
29349 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
29350 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
29351 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
29352 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
29353 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
29354 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
29355 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
29356 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
29357 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
29358 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
29359 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
29360 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
29361 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
29362 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
29363 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
29364 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
29365 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
29366 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
29367 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
29368 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
29369 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
29370 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
29371 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
29372 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
29373 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
29374 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
29375 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
29376 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
29377 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
29378 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
29379 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
29380 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
29381 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
29382 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
29383 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
29384 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
29385 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
29386 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
29387 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
29388 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
29389 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
29390 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
29391 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
29392 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
29393 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
29394 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
29395 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
29396 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
29397 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
29398 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
29399 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
29400 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
29401 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
29402 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
29403 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
29404 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
29405 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
29406 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
29407 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
29408 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
29409 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
29410 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
29411 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
29412 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
29413 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
29414 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
29415 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
29416 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
29417 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
29418 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
29419 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
29420 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
29421 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
29422 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
29423 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
29424 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
29425 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
29426 Require >= 2.
29427 (FLT_ROUNDS): Expect as macro, not constant.
29428 (FLT_MANT_DIG): Use macro-int-constant.
29429 (DBL_MANT_DIG): Likewise.
29430 (LDBL_MANT_DIG): Likewise.
29431 (FLT_DIG): Likewise.
29432 (DBL_DIG): Likewise.
29433 (LDBL_DIG): Likewise.
29434 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
29435 (DBL_MIN_EXP): Likewise.
29436 (LDBL_MIN_EXP): Likewise.
29437 (FLT_MAX_EXP): Use macro-int-constant.
29438 (DBL_MAX_EXP): Likewise.
29439 (LDBL_MAX_EXP): Likewise.
29440 (FLT_MAX_10_EXP): Likewise.
29441 (DBL_MAX_10_EXP): Likewise.
29442 (LDBL_MAX_10_EXP): Likewise.
29443 (FLT_MAX): Use macro-constant.
29444 (DBL_MAX): Likewise.
29445 (LDBL_MAX): Likewise.
29446 (FLT_EPSILON): Use macro-constant. Give upper bound.
29447 (DBL_EPSILON): Likewise.
29448 (LDBL_EPSILON): Likewise.
29449 (FLT_MIN): Likewise.
29450 (DBL_MIN): Likewise.
29451 (LDBL_MIN): Likewise.
29452 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
29453 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
29454 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
29455 [ISO11] (FLT_HAS_SUBNORM): Likewise.
29456 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
29457 [ISO11] (DBL_DECIMAL_DIG): Likewise.
29458 [ISO11] (FLT_DECIMAL_DIG): Likewise.
29459 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
29460 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
29461 [ISO11] (FLT_TRUE_MIN): Likewise.
29462 [ISO11] (LDBL_TRUE_MIN): Likewise.
29463 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29464 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
29465 (SCHAR_MIN): Use macro-int-constant. Specify type.
29466 (SCHAR_MAX): Likewise.
29467 (UCHAR_MAX): Likewise.
29468 (CHAR_MIN): Likewise.
29469 (CHAR_MAX): Likewise.
29470 (MB_LEN_MAX): Use macro-int-constant.
29471 (SHRT_MIN): Use macro-int-constant. Specify type.
29472 (SHRT_MAX): Likewise.
29473 (USHRT_MAX): Likewise.
29474 (INT_MAX): Likewise.
29475 (INT_MIN): Use macro-int-constant. Specify type. Make upper
29476 bound negative.
29477 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
29478 bound with "U".
29479 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
29480 bound with "L".
29481 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
29482 bound negative. Suffix upper bound with "L".
29483 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
29484 bound with "UL".
29485 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
29486 Specify type.
29487 [C99-based standards] (LLONG_MAX): Likewise.
29488 [C99-based standards] (ULLONG_MAX): Likewise.
29489 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
29490 == 0.
29491 [ISO11] (max_align_t): Require type.
29492 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29493
c9140a62
JM
29494 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
29495 from $CFLAGS, without defining away __attribute__ calls.
29496 (checknamespace): Use $CFLAGS_namespace.
29497
9af0bf29
JM
29498 * conform/conformtest.pl (@keywords): Only include C99 keywords
29499 for standards based on C99 or C11.
29500
343222a2
JM
29501 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
29502 Disable tests.
29503 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
29504 UNIX98]: Likewise.
29505
661f8cf0
JM
29506 * conform/conformtest.pl: Handle "macro-int-constant" and test for
29507 usability of symbols in #if.
29508
ee74b9cb
JM
29509 * conform/conformtest.pl: If macro or constant types start
29510 "promoted:", expect the symbol to be of the following type
29511 promoted by the integer promotions.
62fde54f 29512
aafc49b3
JM
29513 * conform/conformtest.pl: Parse all "constant" and "macro" lines
29514 in one place. Also handle "macro-constant".
29515
fefdf574
JM
29516 * conform/conformtest.pl: Only accept expected macro values with
29517 "==". Parse all "macro" lines in one place.
29518 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
29519
f2d922fe
JM
29520 * conform/conformtest.pl: Handle braced types on "constant" lines
29521 instead of handling "typed-constant".
29522 * conform/data/signal.h-data: Use "constant" instead of
29523 "typed-constant".
29524
d22956c9
JM
29525 * conform/conformtest.pl: Handle "optional-" at start of lines in
29526 one place rather than duplicating several cases. Handle each
29527 format of "macro" line with initial "optional-".
29528
028e2e38
JM
29529 * conform/conformtest.pl: Only accept expected constant or
29530 optional-constant values with "==". Parse all "constant" lines in
29531 one place. Parse all "optional-constant" lines in one place.
29532 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
29533 * conform/data/fmtmsg.h-data: Likewise.
29534 * conform/data/netinet/in.h-data: Likewise.
29535 * conform/data/tar.h-data: Likewise.
29536 * conform/data/limits.h-data: Use "==" form on "constant" and
29537 "optional-constant" lines.
29538
1b8f2850
JM
29539 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
29540 Use -std=c99 for XOPEN2K.
29541 (@knownproblems): Remove.
29542 (newtoken): Don't check %isknown.
29543
a05a144b
JM
29544 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
29545 Do not expect macro.
29546 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
29547 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
29548 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
29549 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
29550 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
29551 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
29552 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
29553 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
29554 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
29555 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
29556 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
29557 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
29558 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
29559 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
29560 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
29561 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
29562 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
29563 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
29564 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
29565 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
29566 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
29567 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
29568 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
29569 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
29570 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
29571 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
29572 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
29573 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
29574 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
29575 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
29576 [XPG3] (acosh): Likewise.
29577 [XPG3] (asinh): Likewise.
29578 [XPG3] (atanh): Likewise.
29579 [XPG3] (cbrt): Likewise.
29580 [XPG3] (expm1): Likewise.
29581 [XPG3] (ilogb): Likewise.
29582 [XPG3] (log1p): Likewise.
29583 [XPG3] (logb): Likewise.
29584 [XPG3] (nextafter): Likewise.
29585 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
29586 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
29587 [XPG3] (remainder): Likewise.
29588 [XPG3] (rint): Likewise.
29589 [XPG3 || XPG4 || UNIX98] (round): Likewise.
29590 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
29591 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
29592 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
29593 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
29594 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
29595 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
29596 [UNIX98 || XOPEN2K] (scalb): Expect.
29597 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
29598 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
29599 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
29600 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
29601 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
29602 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
29603 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
29604 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
29605 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
29606 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
29607 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
29608 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
29609 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
29610 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
29611 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
29612 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
29613 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
29614 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
29615 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
29616 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
29617 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
29618 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
29619 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
29620 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
29621 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
29622 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
29623 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
29624 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
29625 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
29626 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
29627 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
29628 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
29629 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
29630 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
29631 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
29632 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
29633 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
29634 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
29635 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
29636 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
29637 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
29638 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
29639 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
29640 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
29641 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
29642 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
29643 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
29644 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
29645 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
29646 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
29647 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
29648 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
29649 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
29650 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
29651 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
29652 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
29653 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
29654 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
29655 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
29656 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
29657 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
29658 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
29659 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
29660 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
29661 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
29662 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
29663 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
29664 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
29665 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
29666 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
29667 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
29668 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
29669 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
29670 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
29671 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
29672 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
29673 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
29674 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
29675 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
29676 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
29677 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
29678 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
29679 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
29680 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
29681 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
29682 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
29683 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
29684 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
29685 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
29686 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
29687 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
29688 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
29689 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
29690 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
29691 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
29692 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
29693 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
29694 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
29695 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
29696 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
29697 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
29698 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
29699 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
29700 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
29701 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
29702 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
29703 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
29704 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
29705 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
29706 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
29707 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
29708 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
29709 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
29710 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
29711 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
29712 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
29713 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
29714 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
29715 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
29716 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
29717 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
29718 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
29719 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
29720 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
29721 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
29722 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
29723 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
29724 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
29725 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
29726 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
29727 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
29728 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
29729 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
29730 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
29731 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
29732 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
29733 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
29734
73c5ebe3
JM
29735 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
29736 _XOPEN_SOURCE_EXTENDED for XPG4.
29737
39c33b6c
JM
29738 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
29739
62fde54f
JM
29740 * Makeconfig (localtime): Remove variable.
29741 (inst_localtime-file): Likewise.
29742
0741d64c
AS
297432012-05-01 Andreas Schwab <schwab@linux-m68k.org>
29744
29745 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
29746 Update.
29747 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29748 Update.
29749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
29750 Update.
29751 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
29752 Update.
29753 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
29754 Update.
29755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
29756 Update.
29757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29758 Update.
29759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
29760 Update.
29761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
29762 Update.
29763
7cb029ee
JM
297642012-05-01 Joseph Myers <joseph@codesourcery.com>
29765
29766 [BZ #2550]
29767 [BZ #2570]
29768 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
29769 comparisons to determine direction to adjust input.
29770 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
29771 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
29772 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
29773 Likewise.
29774 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
29775 Likewise.
29776 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
29777 Likewise.
29778 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
29779 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
29780 Likewise.
29781 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
29782 Likewise.
29783 * math/libm-test.inc (nexttoward_test): Add more tests.
29784
412bd966
AS
297852012-05-01 Andreas Schwab <schwab@linux-m68k.org>
29786
29787 [BZ #14040]
29788 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
29789 in version GLIBC_2.1, not GLIBC_2.0.
29790 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
29791 Likewise.
29792
9568c0c2
JM
297932012-04-30 Joseph Myers <joseph@codesourcery.com>
29794
adfbc8ac
JM
29795 [BZ #13942]
29796 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
29797 (1 - x) * (1 + x).
29798 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
29799 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
29800 * math/libm-test.inc (acos_test): Add more tests.
29801 (asin_test): Likewise.
29802 * sysdeps/i386/fpu/libm-test-ulps: Update.
29803 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29804
5ba3cc69
JM
29805 [BZ #14034]
29806 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
29807 of square root.
29808 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
29809 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
29810 * math/libm-test.inc (acos_test_tonearest): New function.
29811 (acos_test_towardzero): Likewise.
29812 (acos_test_downward): Likewise.
29813 (acos_test_upward): Likewise.
29814 (asin_test_tonearest): Likewise.
29815 (asin_test_towardzero): Likewise.
29816 (asin_test_downward): Likewise.
29817 (asin_test_upward): Likewise.
29818 (main): Call the new functions.
29819 * sysdeps/i386/fpu/libm-test-ulps: Update.
29820 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29821
9568c0c2
JM
29822 [BZ #13884]
29823 [BZ #13924]
29824 * math/e_exp10.c: Include <float.h>.
29825 (__ieee754_exp10): Handle underflow here rather than multiplying
29826 large negative argument by M_LN10.
29827 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
29828 of __ieee754_expf.
29829 * math/e_exp10l.c: Include <float.h>.
29830 (__ieee754_exp10l): Handle underflow here rather than multiplying
29831 large negative argument by M_LN10l.
29832 * math/libm-test.inc (exp10_test): Add another test. Do not allow
29833 spurious overflow exception on underflow.
29834
5ac3ea17
MP
298352012-04-29 Marek Polacek <polacek@redhat.com>
29836
29837 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
29838 (__fortify_function): New macro.
29839 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
29840 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
29841 __extern_always_inline.
29842 * libio/bits/stdio2.h: Likewise.
29843 * libio/bits/stdio.h: Likewise.
29844 * string/string.h: Likewise.
29845 * string/bits/string3.h: Likewise.
29846 * include/stdio.h: Likewise.
29847 * stdlib/bits/stdlib.h: Likewise.
29848 * stdlib/stdlib.h: Likewise.
29849 * rt/bits/mqueue2.h: Likewise.
29850 * rt/mqueue.h: Likewise.
29851 * posix/bits/unistd.h: Likewise.
29852 * posix/unistd.h: Likewise.
29853 * io/bits/poll2.h: Likewise.
29854 * io/bits/fcntl2.h: Likewise.
29855 * io/fcntl.h: Likewise.
29856 * io/sys/poll.h: Likewise.
29857 * misc/bits/syslog.h: Likewise.
29858 * misc/bits/syslog-ldbl.h: Likewise.
29859 * misc/sys/syslog.h: Likewise.
29860 * socket/bits/socket2.h: Likewise.
29861 * socket/sys/socket.h: Likewise.
29862 * debug/tst-chk1.c: Likewise.
29863 * wcsmbs/bits/wchar2.h: Likewise.
29864 * wcsmbs/bits/wchar-ldbl.h: Likewise.
29865 * wcsmbs/wchar.h: Likewise.
29866
ecf0ebfb
AJ
298672012-04-29 Andreas Jaeger <aj@suse.de>
29868
29869 * Makerules (tests): Remove enable-check-abi protection.
29870 (check-abi-warn): Remove.
29871 (check-abi-%): Remove check-abi-warn usage.
29872
29873 * configure.in: Remove check-abi configure option.
29874 * configure: Regenerated.
29875 * config.make.in (enable-check-abi): Remove.
29876
6d5c57fa
AS
298772012-04-28 Andreas Schwab <schwab@linux-m68k.org>
29878
24c5d07e 29879 [BZ #14033]
ded5180a
AS
29880 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
29881 double functions to double *_finite functions.
29882
7e0d315d
AS
29883 [BZ #13941]
29884 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
29885 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
29886 LDBL_MIN_EXP.
29887 * stdio-common/Makefile (tests): Add tst-sprintf3.
29888 * stdio-common/tst-sprintf3.c: New file.
29889
6d5c57fa
AS
29890 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
29891 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
29892
0749ff8b
JM
298932012-04-28 Joseph Myers <joseph@codesourcery.com>
29894
29895 * conform/conformtest.pl: Remove duplicate typed-constant
29896 handling.
29897
8dbd5d7b
DM
298982012-04-28 David S. Miller <davem@davemloft.net>
29899
29900 * Makerules (%.abilist): Add vpath on sysdep_dirs.
29901 (check-abi-%): Remove AWK script prerequisite and explicit
29902 abilist directory.
29903 (check-abi): Rewrite to just diff the symlist with the abilist.
29904 (config-tls, config-abi-config): Delete, no longer used.
29905 (update-abi-%): Remove AWK script and explicit abilist directory.
29906 (update-abi): Rewrite to simply compare and conditionally copy the
29907 symlist and the sysdep abilist file. Remove update-abi-config
29908 checks.
29909 * abilist/ld.abilist: Remove.
29910 * abilist/libBrokenLocale.abilist: Remove.
29911 * abilist/libanl.abilist: Remove.
29912 * abilist/libcrypt.abilist: Remove.
29913 * abilist/libdl.abilist: Remove.
29914 * abilist/librt.abilist: Remove.
29915 * abilist/libthread_db.abilist: Remove.
29916 * abilist/libutil.abilist: Remove.
29917 * scripts/extract-abilist.awk: Remove.
29918 * scripts/merge-abilist.awk: Remove.
29919 * sysdeps/generic/libcidn.abilist: New file.
29920 * sysdeps/generic/libnss_compat.abilist: New file.
29921 * sysdeps/generic/libnss_db.abilist: New file.
29922 * sysdeps/generic/libnss_dns.abilist: New file.
29923 * sysdeps/generic/libnss_files.abilist: New file.
29924 * sysdeps/generic/libnss_hesiod.abilist: New file.
29925 * sysdeps/generic/libnss_nis.abilist: New file.
29926 * sysdeps/generic/libnss_nisplus.abilist: New file.
29927 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
29928 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
29929 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
29930 file.
29931 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
29932 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
29933 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
29934 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
29935 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
29936 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
29937 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
29938 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
29939 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
29940 file.
29941 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
29942 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
29943 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
29944 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
29945 file.
29946 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
29947 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
29948 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
29949 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
29950 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
29951 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
29952 file.
29953 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
29954 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
29955 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
29956 file.
29957 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
29958 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
29959 New file.
29960 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
29961 New file.
29962 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
29963 New file.
29964 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
29965 New file.
29966 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
29967 New file.
29968 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
29969 New file.
29970 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
29971 New file.
29972 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
29973 New file.
29974 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
29975 New file.
29976 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
29977 New file.
29978 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
29979 New file.
29980 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
29981 New file.
29982 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
29983 New file.
29984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
29985 file.
29986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
29987 New file.
29988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
29989 New file.
29990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
29991 file.
29992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
29993 New file.
29994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
29995 New file.
29996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
29997 file.
29998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
29999 New file.
30000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
30001 New file.
30002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
30003 New file.
30004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
30005 New file.
30006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
30007 New file.
30008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
30009 New file.
30010 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
30011 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
30012 file.
30013 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
30014 New file.
30015 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
30016 file.
30017 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
30018 file.
30019 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
30020 file.
30021 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
30022 file.
30023 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
30024 file.
30025 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
30026 New file.
30027 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
30028 file.
30029 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
30030 file.
30031 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
30032 New file.
30033 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
30034 file.
30035 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
30036 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
30037 file.
30038 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
30039 New file.
30040 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
30041 file.
30042 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
30043 file.
30044 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
30045 file.
30046 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
30047 file.
30048 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
30049 file.
30050 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
30051 New file.
30052 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
30053 file.
30054 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
30055 file.
30056 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
30057 New file.
30058 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
30059 file.
30060 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
30061 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
30062 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
30063 file.
30064 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
30065 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
30066 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
30067 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
30068 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
30069 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
30070 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
30071 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
30072 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
30073 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
30074 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
30075 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
30076 file.
30077 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
30078 New file.
30079 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
30080 file.
30081 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
30082 file.
30083 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
30084 file.
30085 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
30086 file.
30087 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
30088 file.
30089 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
30090 New file.
30091 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
30092 New file.
30093 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
30094 file.
30095 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
30096 New file.
30097 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
30098 file.
30099 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
30100 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
30101 file.
30102 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
30103 New file.
30104 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
30105 file.
30106 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
30107 file.
30108 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
30109 file.
30110 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
30111 file.
30112 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
30113 file.
30114 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
30115 New file.
30116 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
30117 New file.
30118 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
30119 file.
30120 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
30121 New file.
30122 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
30123 file.
30124
41d73a1b
JM
301252012-04-28 Joseph Myers <joseph@codesourcery.com>
30126
30127 * conform/conformtest.pl: Fix typo in handling typed-constant from
30128 allow-header.
30129
28aeeda4
JM
301302012-04-27 Joseph Myers <joseph@codesourcery.com>
30131
adae8f5e
JM
30132 * README: Cut down references to pre-2.6 Linux kernels and
30133 Linuxthreads. Update lists of configurations in libc and ports
30134 and sort alphabetically. Say "or newer" with Linux kernel version
30135 requirements.
30136
28aeeda4
JM
30137 * config.h.in [IS_IN_build]: Allow compiling without optimization.
30138
a462cb63
RA
301392012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
30140
30141 [BZ #887]
30142 * math/libm-test.inc (logb_test_downward): New test to expose
30143 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
30144 rounding mode.
30145
6ad3493e
JM
301462012-04-27 Joseph Myers <joseph@codesourcery.com>
30147
30148 [BZ #14027]
30149 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
30150 to be done.
30151 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
30152 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
30153
2ce4f015
JM
301542012-04-26 Joseph Myers <joseph@codesourcery.com>
30155
5aeb141a
JM
30156 * sysdeps/unix/i386/brk.S: Remove file.
30157 * sysdeps/unix/i386/dl-brk.S: Likewise.
30158 * sysdeps/unix/i386/pipe.S: Likewise.
30159 * sysdeps/unix/i386/sigreturn.S: Likewise.
30160 * sysdeps/unix/i386/syscall.S: Likewise.
30161 * sysdeps/unix/i386/vfork.S: Likewise.
30162 * sysdeps/unix/i386/wait.S: Likewise.
30163
7143acae
JM
30164 * sysdeps/unix/common/tcsendbrk.c: Move to ...
30165 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
30166
2ce4f015
JM
30167 * configure.in (arm*-none*): Do not allow without
30168 --enable-hacker-mode.
30169 (netbsd*): Remove case setting base_os.
30170 (386bsd*): Likewise.
30171 (freebsd*): Likewise.
30172 (bsdi*): Likewise.
30173 (osf*): Likewise.
30174 (sunos*): Likewise.
30175 (ultrix*): Likewise.
30176 (newsos*): Likewise.
30177 (dynix*): Likewise.
30178 (*bsd*): Likewise.
30179 (sysv*): Likewise.
30180 (isc*): Likewise.
30181 (esix*): Likewise.
30182 (sco*): Likewise.
30183 (minix*): Likewise.
30184 (irix4*): Likewise.
30185 (irix6*): Likewise.
30186 (solaris[2-9]*): Likewise.
30187 (none): Likewise.
30188 * configure: Regenerated.
30189
0ac229c8
AZ
301902012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30191
30192 [BZ #11521]
30193 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
30194 overflow or cancellation in calculating denominator.
30195 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
30196 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
30197 down expression to avoid unexpected rounding in newer GCCs.
30198 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
30199
33f244f4
DM
302002012-04-26 David S. Miller <davem@davemloft.net>
30201
30202 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
30203 long-double compat symbols.
30204 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
30205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
30206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
30207 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
30208 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
30209 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
30210 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
30211 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
30212 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
30213 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
30214 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
30215 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
30216 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
30217
cfa1f3e8
DM
302182012-04-25 David S. Miller <davem@davemloft.net>
30219
30220 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
30221 HWCAP_* values only after the memory barriers have been defined.
30222 (atomic_full_barrier): Define.
30223 (atomic_read_barrier): Define.
30224 (atomic_write_barrier): Define.
30225
6e236b92
SP
302262012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
30227
30228 * shlib-versions: Add libgcc_s version information.
30229 * sysdeps/generic/libgcc_s.h: Remove.
30230 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
30231 libgcc_s.h.
30232 * sysdeps/gnu/unwind-resume.c: Likewise.
30233 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
30234
aab39a09
DM
302352012-04-25 David S. Miller <davem@davemloft.net>
30236
30237 * sysdeps/unix/sparc/brk.S: Delete.
30238 * sysdeps/unix/sparc/dl-brk.S: Delete.
30239 * sysdeps/unix/sparc/pipe.S: Delete.
30240 * sysdeps/unix/sparc/sysdep.S: Delete.
30241 * sysdeps/unix/sparc/sysdep.h: Delete.
30242 * sysdeps/unix/sparc/vfork.S: Delete.
30243 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
30244 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
30245 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
30246 ret_ERRVAL, r0, r1, MOVE): Define.
30247 (JUMPTARGET): Remove.
30248 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
30249 sysdeps/unix/sparc/sysdep.h
30250 (ENTRY, END): Remove.
30251 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30252
a3cc4f48
JM
302532012-04-25 Joseph Myers <joseph@codesourcery.com>
30254
2ed8cda2
JM
30255 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
30256 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
30257 -DIS_IN_build.
30258
35d76d59
JM
30259 * timezone/README: Update upstream location and email address for
30260 tzcode and tzdata.
30261 * timezone/zdump.c: Update from tzcode 2012b.
30262 * timezone/zic.c: Likewise.
30263
a3cc4f48
JM
30264 * configure.in (libc_cv_as_needed): Remove test.
30265 * configure: Regenerated.
30266 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
30267 conditional definition.
30268 [$(have-as-needed) != yes] (no-as-needed): Likewise.
30269 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
30270 * config.make.in (have-as-needed): Remove variable.
30271
ceab42c3
SP
302722012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
30273 Paul Pluzhnikov <ppluzhnikov@google.com>
30274
30275 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
30276 strings correctly.
30277
3ce2865f
CLT
302782012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
30279
30280 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
30281 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
30282 * sysdeps/sh/strlen.S: Likewise.
30283
f37e0d68
JM
302842012-04-24 Joseph Myers <joseph@codesourcery.com>
30285
ae186e9a
JM
30286 * sysdeps/unix/fork.S: Remove file.
30287 * sysdeps/unix/i386/fork.S: Likewise.
30288 * sysdeps/unix/sparc/fork.S: Likewise.
30289
b96914af
JM
30290 * sysdeps/unix/system.c: Remove file.
30291 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
30292
f37e0d68
JM
30293 * sysdeps/unix/getegid.S: Remove file.
30294 * sysdeps/unix/geteuid.S: Likewise.
30295
87ef29ca
RM
302962012-04-24 Roland McGrath <roland@hack.frob.com>
30297
83bcd236
RM
30298 * scripts/check-localplt.awk: New file.
30299 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
30300 of diff.
30301 * scripts/data/localplt-generic.data: Add a comment.
30302
87ef29ca
RM
30303 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
30304 NODE when __dir_mkfile failed.
30305 * sysdeps/mach/hurd/symlinkat.c: Likewise.
30306 Reported by Ludovic Courtès <ludo@gnu.org>.
30307
e5a6e567
AJ
303082012-04-24 Andreas Jaeger <aj@suse.de>
30309
30310 * Makerules (common-clean): Also remove gen-as-const-headers
30311 files.
30312
c1820385
JM
303132012-04-24 Joseph Myers <joseph@codesourcery.com>
30314
30315 * Makerules (native-compile): Do not change working directory for
30316 build. Use $(OUTPUT_OPTION) in command.
30317 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
30318
94e02fc4
AZ
303192012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30320
30321 [BZ #13886]
30322 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
30323 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
30324 * math/libm-test.inc (floor_test): Add more tests.
30325 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
30326
3a533ca3
JM
303272012-04-24 Joseph Myers <joseph@codesourcery.com>
30328
940ab4b3
JM
30329 * sysdeps/unix/getdents.c: Remove file.
30330 * sysdeps/unix/sysv/getdents.c: Likewise.
30331 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
30332
90e037bd
JM
30333 * sysdeps/unix/syscalls.list (madvise): Add syscall from
30334 sysdeps/unix/mman/syscalls.list.
30335 (mmap): Likewise.
30336 (mprotect): Likewise.
30337 (msync): Likewise.
30338 (munmap): Likewise.
30339 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
30340 * sysdeps/unix/mman/syscalls.list: Remove.
30341 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
30342
3a533ca3
JM
30343 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
30344 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
30345 * configure: Regenerated.
30346 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
30347 $(libgcc_s_suffix).
30348 * config.make.in (libgcc_s_suffix): Remove variable.
30349
1ad743de
JM
303502012-04-23 Joseph Myers <joseph@codesourcery.com>
30351
4ad451e2
JM
30352 * sysdeps/unix/sysv/gethostname.c: Move to ...
30353 * sysdeps/posix/gethostname.c: ... here.
30354
5e37ce39
JM
30355 * sysdeps/unix/execve.S: Remove file.
30356
1ad743de
JM
30357 * sysdeps/unix/_exit.S: Remove file.
30358
4e681b5b
AJ
303592012-04-23 Andreas Jaeger <aj@suse.de>
30360
30361 [BZ #13739]
30362 * manual/Makefile: Remove make dist support, there's no
30363 need for a stand-alone documentation tar ball.
30364 (TEXI2DVI): Define always, it's not in Makeconfig.
30365 (dist): Removed.
30366 (tar-it): Removed.
30367 (edition): Removed.
30368 (glibc-doc-$(edition).tar): Removed
30369 (%.Z): Removed.
30370 (%.gz): Removed.
30371 (%.uu): Removed.
30372 (ETAGS): Remove, it's in Makeconfig.
30373 (move-if-change): Remove, it's in Makeconfig.
30374
38686a03 303752012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
30376
30377 [BZ #13970]
30378 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
30379 (strtod, strtof, strtold, strtol, strtoul, strtoq)
30380 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
30381 (strtod_l, strtof_l, strtold_l): Remove __wur.
30382 It is not necessarily an error to ignore strtol's return value.
30383 One can reliably look at the stored endptr to decide whether
30384 the number had valid syntax.
30385
7c0616fa
AJ
303862012-04-21 Andreas Jaeger <aj@suse.de>
30387
803cb6b7 30388 [BZ #13739]
7c0616fa
AJ
30389 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
30390
b0fe253f
JM
303912012-04-21 Joseph Myers <joseph@codesourcery.com>
30392
30393 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
30394 * sysdeps/unix/sysv/Versions: Remove file.
30395
8280f22d
MT
303962012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
30397
30398 [BZ #13927]
30399 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30400
75ce411f 304012012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
30402
30403 [BZ #7064]
30404 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
30405 version from __vm86.
30406
097d59fa
JM
304072012-04-20 Joseph Myers <joseph@codesourcery.com>
30408
a90f3bcb
JM
30409 * sysdeps/unix/common/lxstat.c: Remove file.
30410 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
30411
edc7ea78
JM
30412 * sysdeps/unix/sysv/Makefile: Remove file.
30413
cb78c221
JM
30414 * sysdeps/unix/sysv/direct.h: Remove file.
30415
efa6a45f
JM
30416 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
30417 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
30418 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
30419 * sysdeps/unix/sysv/bits/signum.h: Likewise.
30420 * sysdeps/unix/sysv/bits/stat.h: Likewise.
30421 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
30422 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
30423
9c9f2d0c
JM
30424 * sysdeps/unix/sysv/setrlimit.c: Remove file.
30425
4541c83b
JM
30426 * sysdeps/unix/xmknod.c: Remove file.
30427 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
30428
f5d153a0
JM
30429 * sysdeps/unix/sysv/settimeofday.c: Remove file.
30430
aa746595
JM
30431 * sysdeps/unix/sysv/i386/time.S: Remove file.
30432
cce5905e
JM
30433 * sysdeps/unix/fxstat.c: Remove file.
30434 * sysdeps/unix/xstat.c: Likewise.
30435 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
30436
37fa3841
JM
30437 * sysdeps/unix/sysv/sigaction.c: Remove file.
30438
ff1962a3
JM
30439 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
30440 (sysdep_headers): Remove variable.
30441 [termio.h not in sysdep_headers] (generated): Likewise.
30442 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
30443 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
30444 * sysdeps/unix/sysv/tcdrain.c: Likewise.
30445 * sysdeps/unix/sysv/tcflow.c: Likewise.
30446 * sysdeps/unix/sysv/tcflush.c: Likewise.
30447 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
30448 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
30449 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
30450 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
30451 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
30452
e7740d31
JM
30453 * sysdeps/unix/siglist.c: Remove file.
30454
ee06f18b
JM
30455 * sysdeps/unix/getppid.S: Remove file.
30456
097d59fa
JM
30457 * sysdeps/unix/mkdir.c: Remove file.
30458 * sysdeps/unix/rmdir.c: Likewise.
30459
ff3d51ec
AS
304602012-04-19 Andreas Schwab <schwab@linux-m68k.org>
30461
30462 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
30463 ERR_MAX value.
30464 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
30465 errlist-compat value.
30466
50f81fd7
DM
304672012-04-18 David S. Miller <davem@davemloft.net>
30468
30469 * sysdeps/generic/memcopy.h (reg_char): Delete.
30470 * debug/strcat_chk.c: Use char, not reg_char.
30471 * debug/strcpy_chk.c: Likewise.
30472 * debug/strncat_chk.c: Likewise.
30473 * debug/strncpy_chk.c: Likewise.
30474 * string/memchr.c: Likewise.
30475 * string/memrchr.c: Likewise.
30476 * string/rawmemchr.c: Likewise.
30477 * string/strcat.c: Likewise.
30478 * string/strchr.c: Likewise.
30479 * string/strchrnul.c: Likewise.
30480 * string/strcmp.c: Likewise.
30481 * string/strcpy.c: Likewise.
30482 * string/strncat.c: Likewise.
30483 * string/strncmp.c: Likewise.
30484 * string/strncpy.c: Likewise.
30485
8ff41c46
WS
304862012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
30487
30488 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
30489 __builtin_memcopy is called when src and dest ranges are known to not
30490 overlap.
30491
6b652f46
WS
304922012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
30493
30494 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
30495 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
30496 fwd_align_merge macro call.
30497 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
30498 bwd_align_merge macro call.
30499 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
30500
b282631e
WS
305012012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
30502
30503 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
30504 bwd_align_merge macros.
30505 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
30506 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
30507 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
30508
95aa737c
DM
305092012-04-18 David S. Miller <davem@davemloft.net>
30510
30511 * sysdeps/sparc/sparc64/memcopy.h: Delete.
30512
7a99a614
AJ
305132012-04-18 Andreas Jaeger <aj@suse.de>
30514
30515 [BZ# 6794]
30516 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
30517 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
30518 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
30519
30520 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
30521 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
30522 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
30523
30524 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
30525 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
30526 Adjust for changed ldbl-128 files.
30527
30528 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
30529 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
30530 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
30531
e5270c23
DM
305322012-04-17 David S. Miller <davem@davemloft.net>
30533
30534 * sysdeps/sparc/sparc32/memcopy.h: Delete.
30535
fb5e92c9
AS
305362012-04-17 Andreas Schwab <schwab@linux-m68k.org>
30537
30538 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
30539 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
30540 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
30541 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
30542 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
30543 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
30544
76da7265
AZ
305452012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30546
30547 [BZ #6794]
30548 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
30549 * math/libm-test.inc: Add ilogb errno and exception tests.
30550 * math/w_ilogb.c: New file: ilogb wrapper.
30551 * math/w_ilogbf.c: New file: ilogbf wrapper.
30552 * math/w_ilogbl.c: New file: ilogbl wrapper.
30553 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
30554 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
30555 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
30556 exception being thrown with 0.0 as argument.
30557 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
30558 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
30559 exception being thrown with 0.0 as argument.
30560 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
30561 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
30562 exception being thrown with 0.0 as argument.
30563 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
30564 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
30565 exception being thrown with 0.0 as argument.
30566 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
30567 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 30568 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
30569 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
30570 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
30571 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
30572 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
30573 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
30574 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
30575
0396e69d
PB
305762012-04-17 Petr Baudis <pasky@ucw.cz>
30577
30578 * include/sys/uio.h: Change __vector to __iovec to avoid clash
30579 with altivec.
30580
750b5926
MP
305812012-04-16 Marek Polacek <polacek@redhat.com>
30582
30583 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
30584
751728a1
MP
305852012-04-16 Marek Polacek <polacek@redhat.com>
30586
30587 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
30588 operands of fdivp instruction.
30589
34a27407
L
305902012-04-13 H.J. Lu <hongjiu.lu@intel.com>
30591
30592 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
30593 * elf/tst-auditmod3b.c: Likewise.
30594 * elf/tst-auditmod4b.c: Likewise.
30595 * elf/tst-auditmod5b.c: Likewise.
30596 * elf/tst-auditmod6b.c: Likewise.
30597 * elf/tst-auditmod6c.c: Likewise.
30598 * elf/tst-auditmod7b.c: Likewise.
30599 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
30600 * sysdeps/x86_64/preconfigure.in: Likewise.
30601 * sysdeps/x86_64/preconfigure: Regenerated.
30602
7e73e17d
L
306032012-04-13 H.J. Lu <hongjiu.lu@intel.com>
30604
30605 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
30606 __ILP32__.
30607
c7a6ab72
AB
306082012-04-13 Antoine Balestrat <merkil33@gmail.com>
30609
30610 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
30611 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
30612
a9e8e0e0
CL
306132012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
30614
30615 [BZ #13973]
30616 * locale/iso-639.def: Fix gl language name. Spotted by
30617 Yaron Shahrabani.
30618
ec98af7d
RM
306192012-04-12 Roland McGrath <roland@hack.frob.com>
30620
30621 [BZ #2074]
30622 * libio/libio.h (__io_write_fn): Update comment.
30623
247c3ede
PB
306242012-04-12 Petr Baudis <pasky@ucw.cz>
30625
30626 [BZ #2074]
30627 * stdio.texi (Hook Functions): The user provided writer function
30628 is not allowed to return -1.
30629
55939d6d
DM
306302012-04-11 David S. Miller <davem@davemloft.net>
30631
30632 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30633
90020f5a
MF
306342012-04-11 Mike Frysinger <vapier@gentoo.org>
30635
30636 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
30637 Add a leading slash to rtkaio.
30638
288f9098
JM
306392012-04-11 Jim Meyering <meyering@redhat.com>
30640
90020f5a
MF
30641 [BZ #11959]
30642 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
30643 It is not necessarily an error to ignore fwrite's return
30644 value. One can reliably use ferror to test for errors after
30645 the fact.
288f9098 30646
4be2b570
L
306472012-04-10 H.J. Lu <hongjiu.lu@intel.com>
30648
30649 * bits/types.h (__snseconds_t): New type.
30650 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
30651
30652 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
30653 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30654 (__SNSECONDS_T_TYPE): Likewise.
30655 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30656 (__SNSECONDS_T_TYPE): Likewise.
30657 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30658 (__SNSECONDS_T_TYPE): Likewise.
30659
288f9098 306602012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
30661
30662 [BZ #2636]
30663 * manual/time.texi (Processor Time): Return type of times is
30664 elapsed real time since an arbitrary point in the past.
30665 (CPU Time): Move CLK_TCK from here...
30666 (Processor Time): ...to here. Correct description.
30667 * manual/conf.texi (Constants for Sysconf): Correct description of
30668 _SC_CLK_TCK.
30669
d7dd4413
DM
306702012-04-10 David S. Miller <davem@davemloft.net>
30671
30672 [BZ #13967]
30673 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
30674 where the is a gap between DT_REL(A) and DT_JMPREL.
30675
b46068fc
L
306762012-04-10 H.J. Lu <hongjiu.lu@intel.com>
30677
30678 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
30679 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
30680 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
30681
73d65cc3
SP
306822012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
30683
30684 * elf/dl-support.c (_dl_inhibit_cache): New variable.
30685 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
30686 (dl_main): Handle --inhibit-cache.
30687 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
30688 _dl_inhibit_cache.
30689 * elf/dl-load.c (_dl_map_object): Use it.
30690 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
30691
bcc8d661
JM
306922012-04-09 Joseph Myers <joseph@codesourcery.com>
30693
8f9a2fae
JM
30694 [BZ #13872]
30695 * sysdeps/i386/fpu/e_powl.S (p78): New object.
30696 (__ieee754_powl): Saturate large exponents rather than testing for
30697 overflow of y*log2(x).
30698 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30699 * math/libm-test.inc (pow_test): Do not permit spurious overflow
30700 exceptions.
30701
bcc8d661
JM
30702 [BZ #11521]
30703 * math/s_ctan.c: Include <float.h>.
30704 (__ctan): Avoid internal overflow or cancellation in calculating
30705 denominator.
30706 * math/s_ctanf.c: Likewise.
30707 * math/s_ctanl.c: Likewise.
30708 * math/s_ctanh.c: Likewise.
30709 * math/s_ctanhf.c: Likewise.
30710 * math/s_ctanhl.c: Likewise.
30711 * math/libm-test.inc (ctan_test): Add more tests.
30712 (ctanh_test): Likewise.
30713 * sysdeps/i386/fpu/libm-test-ulps: Update.
30714 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30715
823fbbb4
AJ
307162012-04-09 Andreas Jaeger <aj@suse.de>
30717
03879793
AJ
30718 [BZ #6894]
30719 * manual/filesys.texi (Directory Entries): Mention that d_namlen
30720 is an optional BSD extension.
30721
823fbbb4
AJ
30722 [BZ #10254]
30723 * manual/stdio.texi (Opening Streams): Document additional fopen
30724 parameters.
30725
8de131cb
RM
307262012-04-09 Roland McGrath <roland@hack.frob.com>
30727
30728 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
30729 %eax without telling the compiler.
30730
c0ed9d7d
CD
307312012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
30732
30733 [BZ # 13963]
30734 * manual/install.texi: Use sourceware.org.
30735
c483f6b4
JM
307362012-04-09 Joseph Myers <joseph@codesourcery.com>
30737
d7dd9453
JM
30738 [BZ #13873]
30739 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
30740 (__ieee754_pow): Generate overflow and underflow using huge*huge
30741 and tiny*tiny rather than just returning constant infinity or zero
30742 for large exponents.
30743 * math/libm-test.inc (pow_test): Require overflow exceptions for
30744 applicable cases of large exponents.
30745
c483f6b4
JM
30746 [BZ #706]
30747 * sysdeps/i386/fpu/e_pow.S (p10): New object.
30748 (__ieee754_pow): Use iterative multiplication algorithm only for
30749 integer exponents with absolute value below 1024. Check for odd
30750 integer exponents when using algorithm for real exponents.
30751 * math/libm-test.inc (pow_test): Add more tests.
30752 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30753
d2de7579
JM
307542012-04-08 Joseph Myers <joseph@codesourcery.com>
30755
30756 [BZ #13705]
30757 * math/libm-test.inc (exp_test): Do not allow overflow exception
30758 on underflow test.
30759
f77f1232
AJ
307602012-04-08 Aurelien Jarno <aurelien@aurel32.net>
30761
30762 [BZ #13705]
30763 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
30764 instead of __kernel_standard_f.
30765
3884932b
MF
307662012-04-08 Mike Frysinger <vapier@gentoo.org>
30767
30768 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
30769 * sysdeps/x86_64/memset_chk.S: Likewise.
30770
54472e9c
AJ
307712012-04-08 Andreas Jaeger <aj@suse.de>
30772
6ab0fbfc
AJ
30773 [BZ #10153]
30774 * manual/startup.texi (Environment Access): Describe return value
30775 for putenv and setenv.
30776
61efba8c
AJ
30777 [BZ #6895]
30778 * manual/filesys.texi (Directory Entries): Add description for
30779 DT_LNK.
30780
95c3f29a
AJ
30781 [BZ #6890]
30782 * manual/filesys.texi (Directory Entries): Clarify that it's file
30783 system not operating system in the description of DT_UNKNOWN.
30784
54472e9c
AJ
30785 [BZ #6578]
30786 * manual/syslog.texi (closelog): Fix reference, it's openlog.
30787
624254b1
SC
307882012-04-08 Stephen Compall <s11@member.fsf.org>
30789
30790 [BZ #6649]
30791 * manual/llio.texi (Opening and Closing Files): Add cross
30792 reference to explain mode argument.
30793
1e4920e0
MF
307942012-04-07 Mike Frysinger <vapier@gentoo.org>
30795
30796 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
30797 * sysdeps/x86_64/memset_chk.S: Likewise.
30798
5ed848f3
DM
307992012-04-07 David S. Miller <davem@davemloft.net>
30800
30801 * elf/elf.h (R_SPARC_WDISP10): Define.
30802 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
30803 R_SPARC_SIZE32.
30804 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
30805 R_SPARC_SIZE64 and R_SPARC_H34.
30806
96154cd8
CD
308072012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
30808
30809 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
30810 conditions and remove no longer applicable assertion.
30811
9904dc47
L
308122012-04-06 H.J. Lu <hongjiu.lu@intel.com>
30813
30814 * bits/byteswap.h: Include <features.h>.
30815 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
30816 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
30817
f8887d0a
L
308182012-04-06 H.J. Lu <hongjiu.lu@intel.com>
30819
30820 * bits/byteswap.h (__bswap_16): Removed.
30821 Include <bits/byteswap-16.h> to get __bswap_16.
30822 * sysdeps/i386/bits/byteswap.h: Likewise.
30823 * sysdeps/s390/bits/byteswap.h: Likewise.
30824 * sysdeps/x86_64/bits/byteswap.h: Likewise.
30825 * bits/byteswap-16.h: New file.
30826 * sysdeps/i386/bits/byteswap-16.h: Likewise.
30827 * sysdeps/s390/bits/byteswap-16.h: Likewise.
30828 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
30829 * string/Makefile (headers): Add bits/byteswap-16.h.
30830
62470f60
PP
308312012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
30832
30833 [BZ #13895]
30834 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
30835 extra indirection.
30836 * nss/Makefile (tests-static, tests): Add tst-nss-static.
30837 * nss/tst-nss-static.c: New.
30838
4dad7bab
RM
308392012-04-06 Robert Millan <rmh@gnu.org>
30840
30841 [BZ #6486]
30842 * manual/llio.texi (File Position Primitive): lseek
30843 refers to WHENCE when it really means OFFSET.
30844
e9142a17
AJ
308452012-04-06 Andreas Jaeger <aj@suse.de>
30846
2c040eff
AJ
30847 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
30848 strncmp declarations.
30849
e9142a17
AJ
30850 * abilist/libc.abilist: Add __poll and __ppoll.
30851
ff9f1c5f
DM
308522012-04-05 David S. Miller <davem@davemloft.net>
30853
dcd2ae90
DM
30854 * scripts/check-local-headers.sh: Accept a host triplet in the
30855 path matched by the exclude regexp.
30856
993eb054
DM
30857 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
30858 definition.
30859 * sysdeps/powerpc/powerpc32/dl-machine.h
30860 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
30861 * sysdeps/s390/s390-32/dl-machine.h
30862 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
30863 * sysdeps/sparc/sparc32/dl-machine.h
30864 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
30865 * sysdeps/sparc/sparc64/dl-machine.h
30866 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
30867
ff9f1c5f
DM
30868 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
30869 lazy binding.
48e2e132 30870 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
30871 undefined symbol errors.
30872
48e2e132 30873 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
30874 DT_NEEDED entries.
30875
e80d6f94
MM
308762012-04-05 Michael Matz <matz@suse.de>
30877
30878 [BZ #13592]
30879 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
30880
349fa79f
AJ
308812012-04-05 Andreas Jaeger <aj@suse.de>
30882
30883 [BZ #13908]
30884 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
30885 comment.
30886
f402708f
KK
308872012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
30888
30889 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
30890 which ROUND is no valid rounding mode.
30891
2ecccfc9
KK
308922012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
30893
30894 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
30895 read again.
30896 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
30897
8a53f50f
KK
308982012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
30899
30900 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
30901 an exception using FPU order intentionally.
30902
309032012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
30904
30905 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
30906 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
30907 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
30908 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
30909
d653abb7
SJ
309102012-04-05 Simon Josefsson <simon@josefsson.org>
30911
30912 [BZ #12340]
30913 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
30914 EINVAL when BUFLEN is too smal.
30915
c3b1bf7d
TS
309162012-04-05 Thomas Schwinge <thomas@codesourcery.com>
30917
30918 [BZ #13553]
30919 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
30920 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
30921
b1aa60f3
AJ
309222012-04-03 Andreas Jaeger <aj@suse.de>
30923
c3b1bf7d 30924 [BZ #13938]
67f60a26
AJ
30925 * manual/setjmp.texi (System V contexts): Fix sentence.
30926
b1aa60f3
AJ
30927 [BZ #13926]
30928 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
30929 New macro for this case.
30930 [!__GNUC__] (__bswap_64): New inline function for this case.
30931 * sysdeps/x86_64/bits/byteswap.h: Likewise.
30932 * bits/byteswap.h: Likewise.
30933 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
30934 ull, guard with __GLIBC_HAVE_LONG_LONG.
30935
30936 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
30937 __GLIBC_HAVE_LONG_LONG.
30938
30939 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
30940 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
30941
39c59c35
TMQMF
309422012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30943
30944 [BZ #13691]
30945 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
30946 inptr and inend, rather than using last_ch.
30947
135ffda8
DM
309482012-04-02 David S. Miller <davem@davemloft.net>
30949
30950 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
30951 * stdio-common/printf-parse.h (read_int): Change return type to
30952 'int', return -1 on INT_MAX overflow.
30953 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
30954 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
30955 overflows INT_MAX. Check for overflow of in-format-string precision
30956 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
30957 SIZE_MAX not INT_MAX for integer overflow test.
30958 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
30959 skip the construct in the format string but do not record anything.
30960 * stdio-common/bug22.c: Adjust to test both width/prevision
30961 INT_MAX overflow as well as total length INT_MAX overflow. Check
30962 explicitly for proper errno values.
30963
228c019e
TS
309642012-04-02 Thomas Schwinge <thomas@codesourcery.com>
30965
302cadd3
TS
30966 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
30967 CHAR_MAX.
30968 * string/test-strcmp.c [! WIDE]: Likewise.
30969 * time/tst-mktime2.c: Likewise for INT_MAX.
30970 * string/test-string.h: #include <sys/param.h> for MIN.
30971
228c019e
TS
30972 * csu/init-first.c (__libc_init_first): Call __ctype_init.
30973 * sysdeps/i386/init-first.c (init): Likewise.
30974 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
30975 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
30976 * sysdeps/sh/init-first.c (init): Likewise.
30977
cfa633f5
UD
309782012-04-01 Ulrich Drepper <drepper@gmail.com>
30979
30980 * po/ru.po: Update from translation team.
d1635ef8 30981 * po/vi.po: Likewise.
cfa633f5 30982
6cd0a5ea
SP
309832012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
30984
30985 * resolv/nss_dns/dns-host.c: Merge copyright years.
30986
4b43400f
LD
309872012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30988
30989 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
30990 Optimize memcpy with prefetch if
30991 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
30992 src, dst pointers have unequal 16 byte alignments.
30993
48c41d04
SP
309942012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
30995
30996 [BZ #13928]
30997 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
30998 from a CNAME entry and return the minimum ttl for the query.
30999 (gaih_getanswer_slice): Likewise.
31000
b8dc394d
JL
310012012-03-30 Jeff Law <law@redhat.com>
31002
31003 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
31004 due to long keys.
31005 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
31006 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
31007
2f5a5ed0
JL
31008 * resolv/nss_dns/dns-host.c: Update copyright year.
31009
1d39e359
UD
310102012-03-30 Ulrich Drepper <drepper@gmail.com>
31011
c030f70c 31012 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 31013 requests to save a system call. Fix check that all bytes are sent.
c030f70c 31014
1d39e359
UD
31015 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
31016 comments for sendmmsg.
31017
310182012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
31019
31020 [BZ #13691]
31021 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
31022 with only 1 character between 0x0041 and 0x01b0.
31023 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
31024 * wcsmbs/tst-mbsnrtowcs.c: New file.
31025
20fde227
DM
310262012-03-29 David S. Miller <davem@davemloft.net>
31027
31028 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
31029 small copies by hand.
31030
984a4237
JL
310312012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
31032
31033 [BZ #13761]
31034 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
31035 _nss_compat_initgroups_dyn): Fall back to malloc/free
31036 for large group memberships.
31037
18c9d62b
DM
310382012-03-28 David S. Miller <davem@davemloft.net>
31039
88d85d4f
DM
31040 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
31041 that branches into memcpy.
31042 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
31043 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
31044 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
31045 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
31046 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
31047 bits.
31048 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
31049 implementation too.
31050 * sysdeps/sparc/mempcpy.S: New file.
31051
e5aa83e1
DM
31052 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
31053 the IFUNC routine in the libc case.
31054 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
31055
88570753
DM
31056 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
31057 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
31058 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
31059 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
31060 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
31061 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
31062 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
31063 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
31064
249d7567
DM
31065 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
31066 loop to 256 bytes instead of 64 bytes and fix test signedness.
31067
18c9d62b
DM
31068 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
31069 * sysdeps/sparc/sparc32/Makefile: rather than here...
31070 * sysdeps/sparc/sparc64/Makefile: and here.
31071
05f3d1f6
UD
310722012-03-28 Ulrich Drepper <drepper@gmail.com>
31073
31074 * malloc/mallocbug.c: Avoid warnings about unused variables.
31075
86ae07a8
JL
310762012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
31077
31078 [BZ #13760]
31079 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
31080 in the right place. Discard and retry query if response is
31081 larger than input buffer size.
31082
41bf21a1
JM
310832012-03-28 Joseph Myers <joseph@codesourcery.com>
31084
d6270972
JM
31085 [BZ #369]
31086 [BZ #2678]
31087 [BZ #3866]
31088 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
31089 x for large integer exponent.
31090 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
31091 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
31092 sign of result as needed afterwards.
31093 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
31094 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
31095 result for underflowing pow the same as for overflow.
31096 (__kernel_standard_l): Handle powl overflow and underflow here
31097 rather than calling __kernel_standard.
31098 * math/libm-test.inc (pow_test): Add more tests.
31099
414fca03 31100 [BZ #3868]
41bf21a1
JM
31101 [BZ #13879]
31102 [BZ #13910]
31103 [BZ #13911]
31104 [BZ #13912]
31105 [BZ #13913]
31106 [BZ #13915]
31107 [BZ #13916]
31108 [BZ #13917]
31109 [BZ #13918]
31110 [BZ #13919]
31111 [BZ #13920]
31112 [BZ #13921]
31113 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
31114 * sysdeps/ieee754/k_standard.c: Include <float.h>.
31115 (__kernel_standard_l): New function.
31116 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
31117 __kernel_standard.
31118 * math/w_acosl.c (__acosl): Likewise.
31119 * math/w_asinl.c (__asinl): Likewise.
31120 * math/w_atan2l.c (__atan2l): Likewise.
31121 * math/w_atanhl.c (__atanhl): Likewise.
31122 * math/w_coshl.c (__coshl): Likewise.
31123 * math/w_exp10l.c (__exp10l): Likewise.
31124 * math/w_exp2l.c (__exp2l): Likewise.
31125 * math/w_fmodl.c (__fmodl): Likewise.
31126 * math/w_hypotl.c (__hypotl): Likewise.
31127 * math/w_j0l.c (__j0l, __y0l): Likewise.
31128 * math/w_j1l.c (__j1l, __y1l): Likewise.
31129 * math/w_jnl.c (__jnl, __ynl): Likewise.
31130 * math/w_lgammal.c (__lgammal): Likewise.
31131 * math/w_log10l.c (__log10l): Likewise.
31132 * math/w_log2l.c (__log2l): Likewise.
31133 * math/w_logl.c (__logl): Likewise.
31134 * math/w_powl.c (__powl): Likewise.
31135 * math/w_remainderl.c (__remainderl): Likewise.
31136 * math/w_scalbl.c (sysv_scalbl): Likewise.
31137 * math/w_sinhl.c (__sinhl): Likewise.
31138 * math/w_sqrtl.c (__sqrtl): Likewise.
31139 * math/w_tgammal.c (__tgammal): Likewise.
31140 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
31141 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
31142 * math/libm-test.inc (acos_test): Add more tests.
31143 (acosh_test): Likewise.
31144 (asin_test): Likewise.
31145 (atanh_test): Likewise.
31146 (exp_test): Likewise.
31147 (exp10_test): Likewise.
31148 (exp2_test): Likewise.
31149 (expm1_test): Likewise.
31150 (lgamma_test): Likewise.
31151 (log_test): Likewise.
31152 (log10_test): Likewise.
31153 (log1p_test): Likewise.
31154 (log2_test): Likewise.
31155 (pow_test): Do not allow some spurious overflow exceptions.
31156 (sqrt_test): Add more tests.
31157 (tgamma_test): Likewise.
31158 (y0_test): Likewise.
31159 (y1_test): Likewise.
31160 (yn_test): Likewise.
31161
dd62fda6
AB
311622012-03-27 Anton Blanchard <anton@samba.org>
31163
31164 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
31165 MAP_HUGETLB.
31166 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
31167 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
31168 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
31169
1e3cdfda
AJ
311702012-03-27 David S. Miller <davem@davemloft.net>
31171
b855ab85
DM
31172 * conform/Makefile: Run run-conformtest.sh using $(BASH).
31173
1e3cdfda
AJ
31174 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
31175 have-as-vis3 check.
31176
311772012-03-27 Andreas Jaeger <aj@suse.de>
31178
31179 * sysdeps/x86_64/elf/configure.in: Moved to ...
31180 * sysdeps/x86_64/configure.in: ... here.
31181 * sysdeps/x86_64/elf/start.S: Moved to ...
31182 * sysdeps/x86_64/start.S: ... here.
31183 * sysdeps/x86_64/elf/configure: Delete.
31184
31185 * sysdeps/x86_64/configure.in: Merge contents from
31186 sysdeps/i386/configure.in (without i686 check).
31187
31188 * sysdeps/i386/elf/Versions: Merge into ...
31189 * sysdeps/i386/Versions: ... this.
31190 * sysdeps/i386/elf/Versions: Delete file.
31191 * sysdeps/i386/elf/start.S: Moved to ...
31192 * sysdeps/i386/start.S: ...here.
31193 * sysdeps/i386/elf/configure.in: Merge into...
31194 * sysdeps/i386/configure.in: ...here.
31195 * sysdeps/i386/elf/configure.in: Delete file.
31196 * sysdeps/i386/elf/configure: Delete file.
31197
31198 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
31199 * debug/backtracesyms.c: ... here.
31200 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
31201 * debug/backtracesymsfd.c: ... here.
31202 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
31203 * sysdeps/generic/ifunc-sel.h: ... here.
31204
31205 * sysdeps/unix/i386/start.c: Delete file.
31206 * sysdeps/unix/sparc/start.c: Delete file.
31207 * sysdeps/unix/start.c: Delete file.
31208
31209 * sysdeps/sh/elf/configure.in: Moved to ...
31210 * sysdeps/sh/configure.in: ... here.
31211 * sysdeps/sh/elf/start.S: Moved to ...
31212 * sysdeps/sh/start.S: ... here.
31213 * sysdeps/sh/elf/configure: Delete file.
31214
31215 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
31216 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
31217 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
31218 * sysdeps/powerpc/powerpc64/entry.h: ... here.
31219 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
31220 * sysdeps/powerpc/powerpc64/start.S: here.
31221 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
31222 * sysdeps/powerpc/powerpc64/Makefile: ... this.
31223 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
31224 * sysdeps/powerpc/powerpc64/configure.in: ... this.
31225 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
31226
31227 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
31228 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
31229 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
31230 * sysdeps/powerpc/powerpc32/start.S: ... here.
31231 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
31232 * sysdeps/powerpc/powerpc32/configure.in: ... this.
31233 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
31234
31235 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
31236 * sysdeps/powerpc/ifunc-sel.h: ... here.
31237 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
31238 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
31239
31240 * sysdeps/sparc/elf/configure.in: Moved to ...
31241 * sysdeps/sparc/configure.in: ... here.
31242 * sysdeps/sparc/elf/configure: Delete file.
31243 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
31244 * sysdeps/sparc/sparc32/start.S: ... here.
31245 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
31246 * sysdeps/sparc/sparc64/start.S: ... here.
31247 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
31248 * sysdeps/sparc/sparc32/Makefile: ... this.
31249 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
31250 * sysdeps/sparc/sparc64/Makefile: ... this.
31251
31252 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
31253 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
31254 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
31255 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
31256 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
31257 * sysdeps/s390/s390-32/setjmp.S: ... here.
31258 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
31259 * sysdeps/s390/s390-32/configure.in: ... here.
31260 * sysdeps/s390/s390-32/elf/configure: Delete file.
31261 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
31262 * sysdeps/s390/s390-32/start.S: ... here.
31263
31264 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
31265 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
31266 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
31267 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
31268 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
31269 * sysdeps/s390/s390-64/setjmp.S: ... here.
31270 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
31271 * sysdeps/s390/s390-64/configure.in: ... here
31272 * sysdeps/s390/s390-64/elf/configure: Delete file.
31273 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
31274 * sysdeps/s390/s390-64/start.S: ... here.
31275 * sysdeps/s390/s390-64/elf/configure: Delete.
31276
31277 * configure.in: Remove support for elf directories in sysdeps.
31278
31279 * configure: Regenerated.
31280 * sysdeps/i386/configure: Regenerated.
31281 * sysdeps/powerpc/powerpc32/configure: Regenerated.
31282 * sysdeps/powerpc/powerpc64/configure: Regenerated.
31283 * sysdeps/s390/s390-32/configure: Regenerated.
31284 * sysdeps/s390/s390-64/configure: Regenerated.
31285 * sysdeps/sh/configure: Regenerated.
31286 * sysdeps/sparc/configure: Regenerated.
31287 * sysdeps/x86_64/configure: Regenerated.
31288
a3f61311
AS
312892012-03-26 Andreas Schwab <schwab@linux-m68k.org>
31290
c876e002
AS
31291 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31292
a3f61311
AS
31293 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
31294 denormal result into account.
31295
ac4c54f0
RM
312962012-03-25 Roland McGrath <roland@hack.frob.com>
31297
31298 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
31299 Reported by Allan McRae <allan@archlinux.org>.
31300
6a9b9c02
JL
313012012-03-23 Jeff Law <law@redhat.com>
31302
31303 * nss/getnssent.c (__nss_getent): Fix typo.
31304
4c42a0c1
DM
313052012-03-23 David S. Miller <davem@davemloft.net>
31306
31307 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31308
1532c7ac
L
313092012-03-23 H.J. Lu <hongjiu.lu@intel.com>
31310
31311 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
31312 to pad to uint64_t for each field.
31313 (dl_tls_index): Replace unsigned long with uint64_t.
31314
3ff42526
PP
313152012-03-23 Daniel Jacobowitz <dmj@google.com>
31316 Paul Pluzhnikov <ppluzhnikov@google.com>
31317
31318 [BZ #6528]
31319 * grp/Makefile (otherlibs): Don't set it.
31320 * inet/Makefile (otherlibs): Likewise.
31321 * login/Makefile (otherlibs): Likewise.
31322 * nscd/Makefile (otherlibs): Likewise.
31323 * posix/Makefile (otherlibs): Likewise.
31324 * pwd/Makefile (otherlibs): Likewise.
31325 * rt/Makefile (otherlibs): Likewise.
31326 * sunrpc/Makefile (otherlibs): Likewise.
31327 * nss/Makefile (otherlibs): Likewise.
31328 Add libnss_files to routines and static-only-routines.
31329 ($(objpfx)getent): Remove rule.
31330 * resolv/Makefile: Add libnss_dns and libresolv to routines and
31331 static-only-routines.
31332
7c69cd14
JM
313332012-03-22 Joseph Myers <joseph@codesourcery.com>
31334
31335 [BZ #13892]
31336 * math/s_cexp.c: Include <float.h>.
31337 (__cexp): Handle exp result overflowing not necessarily
31338 overflowing both real and imaginary parts of result.
31339 * math/s_cexpf.c: Likewise.
31340 * math/s_cexpl.c: Likewise.
31341 * math/libm-test.inc (cexp_test): Add more tests.
31342 * sysdeps/i386/fpu/libm-test-ulps: Update.
31343 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31344
81b035fe
L
313452012-03-22 H.J. Lu <hongjiu.lu@intel.com>
31346
31347 * include/link.h (ELFW): New macro.
31348 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
31349 Replace ELF64_R_TYPE with ELFW(R_TYPE).
31350
1da7940c
L
313512012-03-22 H.J. Lu <hongjiu.lu@intel.com>
31352
31353 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
31354 with uint64_t.
31355
b749dbb9
L
313562012-03-22 H.J. Lu <hongjiu.lu@intel.com>
31357
31358 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
31359 declaration.
31360 (struct La_x32_retval): Likewise.
31361
2ff87f3f
L
313622012-03-22 H.J. Lu <hongjiu.lu@intel.com>
31363
31364 * sysdeps/x86_64/preconfigure.in: New file.
31365 * sysdeps/x86_64/preconfigure: New generated file.
31366
c0df8e69
JM
313672012-03-22 Joseph Myers <joseph@codesourcery.com>
31368
48e44791
JM
31369 [BZ #13824]
31370 * math/e_exp2l.c: Include <float.h>.
31371 (__ieee754_exp2l): Handle overflow and underflow cases
31372 separately. Only pass fractional part of argument to
31373 __ieee754_expl.
31374 * math/libm-test.inc (exp2_test): Add more tests.
31375
c0df8e69
JM
31376 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
31377 negating x to take absolute value.
31378 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
31379 Likewise.
31380 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
31381 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
31382 Likewise.
31383 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
31384 computing low part if x was negated.
31385 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
31386
c8e43ba7
L
313872012-03-21 H.J. Lu <hongjiu.lu@intel.com>
31388
31389 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
31390 la_x32_gnu_pltexit.
31391 (pltexit): Cast int_retval to ptrdiff_t.
31392 * elf/tst-auditmod3b.c: Likewise.
31393 * elf/tst-auditmod4b.c: Likewise.
31394 * elf/tst-auditmod5b.c: Likewise.
31395 * elf/tst-auditmod6b.c: Likewise.
31396 * elf/tst-auditmod6c.c: Likewise.
31397 * elf/tst-auditmod7b.c: Likewise.
31398
31399 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
31400 and x32_gnu_pltexit.
31401
31402 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
31403 __ELF_NATIVE_CLASS.
31404 (La_x32_regs): New macro.
31405 (La_x32_retval): Likewise.
31406 (la_x32_gnu_pltenter): New function prototype.
31407 (la_x32_gnu_pltexit): Likewise.
31408
7998fa78
AS
314092012-03-21 Andreas Schwab <schwab@linux-m68k.org>
31410
dcb33988
AS
31411 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
31412 exponent.
31413
233fc563
AS
31414 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31415
7998fa78
AS
31416 * configure.in (libc_cv_cc_nofma): Check for option to disable
31417 generation of FMA instructions.
31418 * configure: Regenerate.
31419 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
31420 * sysdeps/ieee754/dbl-64/Makefile: New file.
31421 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
31422 Remove brandred-fma4.
31423 (CFLAGS-brandred-fma4.c): Remove.
31424 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
31425 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
31426 define.
31427 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
31428 define.
31429
8e95c99a
L
314302012-03-21 H.J. Lu <hongjiu.lu@intel.com>
31431
31432 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
31433 LLONG_MAX != LONG_MAX.
31434 (_itoa_word): Use _ITOA_WORD_TYPE on value.
31435 (_fitoa_word): Likewise.
31436 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
31437 LLONG_MAX != LONG_MAX.
31438 * stdio-common/_itowa.h: Include <_itoa.h>.
31439 (_itowa_word): Use _ITOA_WORD_TYPE on value.
31440 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
31441 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
31442 only if not defined.
31443 (_ITOA_WORD_TYPE): Likewise.
31444 (_itoa_word): Use _ITOA_WORD_TYPE on value.
31445 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
31446
6f4db457
DM
314472012-03-21 David S. Miller <davem@davemloft.net>
31448
31449 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31450
7785fe5a
L
314512012-03-21 H.J. Lu <hongjiu.lu@intel.com>
31452
31453 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
31454 of x86_64 when setting libc_cv_slibdir, libdir and
31455 libc_cv_localedir.
31456 * sysdeps/unix/sysv/linux/configure: Regenerated.
31457
4535cd55
JM
314582012-03-21 Joseph Myers <joseph@codesourcery.com>
31459
31460 * manual/lang.texi (Old Varargs): Remove section.
31461 (How Variadic): Update menu.
31462 (va_start): Do not mention varargs.h.
31463
17228132
TS
314642012-03-21 Thomas Schwinge <thomas@codesourcery.com>
31465 Joseph Myers <joseph@codesourcery.com>
31466
31467 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
31468 link test.
31469 * configure: Regenerated.
31470
8149f976
TS
314712012-03-21 Thomas Schwinge <thomas@codesourcery.com>
31472
05f3d1f6
UD
31473 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
31474 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
31475 conformtest.pl
8149f976 31476
1a4ac776
JM
314772012-03-21 Joseph Myers <joseph@codesourcery.com>
31478
be22ce65
JM
31479 * NOTES: Remove.
31480 * Makefile (files-for-dist): Remove NOTES.
31481 (NOTES): Remove rule.
31482 * README: Don't refer to NOTES.
31483 * manual/creature.texi: Don't include macros.texi.
31484 * manual/intro.texi (creature.texi): Remove comment referring to
31485 NOTES.
31486
40b601fb
JM
31487 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
31488 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
31489 * configure: Regenerated.
31490 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
31491 LIBC_TRY_CC_OPTION.
31492 (libc_cv_as_i686): Likewise.
31493 (libc_cv_cc_avx): Likewise.
31494 (libc_cv_cc_sse2avx): Likewise.
31495 (libc_cv_cc_fma4): Likewise.
31496 (libc_cv_cc_novzeroupper): Likewise.
31497 * sysdeps/i386/configure: Regenerated.
31498
1a4ac776
JM
31499 [BZ #13883]
31500 * sysdeps/i386/fpu/s_cexp.S: Remove.
31501 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
31502 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
31503 * math/libm-test.inc (cexp_test): Add more tests.
31504 * sysdeps/i386/fpu/libm-test-ulps: Update.
31505 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31506
a458e7fe
AM
315072012-03-21 Allan McRae <allan@archlinux.org>
31508
31509 * timezone/Makefile: Do not install iso3166.tab and zone.tab
31510
0cb7efc5
JM
315112012-03-21 Joseph Myers <joseph@codesourcery.com>
31512
31513 [BZ #13871]
31514 * math/w_exp2.c: Do not include <float.h>.
31515 (o_threshold, u_threshold): Remove.
31516 (__exp2): Calculate result before checking finiteness and calling
31517 __kernel_standard.
31518 * math/w_exp2f.c: Likewise.
31519 * math/w_exp2l.c: Likewise.
31520 * math/libm-test.inc (exp2_test): Require overflow exception for
31521 1e6 input.
2460d3aa
JM
31522
31523 [BZ #3866]
31524 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
31525 range of signed 64-bit integers before using fistpll. Remove
31526 checks for whether integers fit in mantissa bits.
31527 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
31528 the range of signed 32-bit integers before using fistpl. Remove
31529 checks for whether integers fit in mantissa bits.
31530 * sysdeps/i386/fpu/e_powl.S (p64): New object.
31531 (__ieee754_powl): Test for y outside the range of signed 64-bit
31532 integers before using fistpll. Reduce 64-bit values to 63-bit
31533 ones as needed.
31534 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
31535 divide-by-zero is raised for zero to large negative powers.
31536 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
31537 (__ieee754_powl): Test for y outside the range of signed 64-bit
31538 integers before using fistpll. Reduce 64-bit values to 63-bit
31539 ones as needed.
31540 * math/libm-test.inc (pow_test): Add more tests.
31541
eb96ffb0
L
315422012-03-20 H.J. Lu <hongjiu.lu@intel.com>
31543
31544 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
31545 <stdio-common/_itoa.h>.
31546 * debug/segfault.c: Likewise.
31547 * elf/dl-cache.c: Likewise.
31548 * elf/dl-minimal.c: Likewise.
31549 * elf/dl-misc.c: Likewise.
31550 * elf/dl-sysdep.c: Likewise.
31551 * elf/dl-version.c: Likewise.
31552 * elf/rtld.c: Likewise.
31553 * hurd/hurdsock.c: Likewise.
31554 * hurd/lookup-retry.c: Likewise.
31555 * malloc/malloc.c: Likewise.
31556 * malloc/mtrace.c: Likewise.
31557 * nscd/nscd_getgr_r.c: Likewise.
31558 * nscd/nscd_getpw_r.c: Likewise.
31559 * nscd/nscd_getserv_r.c: Likewise.
31560 * posix/getopt_init.c: Likewise.
31561 * posix/wordexp.c: Likewise.
31562 * stdio-common/_itoa.c: Likewise.
31563 * stdio-common/printf_fphex.c: Likewise.
31564 * stdio-common/vfprintf.c: Likewise.
31565 * string/_strerror.c: Likewise.
31566 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
31567 * sysdeps/i386/i686/hp-timing.h: Likewise.
31568 * sysdeps/mach/_strerror.c: Likewise.
31569 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
31570 * sysdeps/mach/hurd/sethostid.c: Likewise.
31571 * sysdeps/mach/hurd/xmknodat.c: Likewise.
31572 * sysdeps/mach/xpg-strerror.c: Likewise.
31573 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
31574 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
31575 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
31576 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
31577 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
31578 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
31579 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
31580 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
31581 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
31582 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
31583 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
31584 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
31585 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
31586 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
31587 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
31588 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
31589 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
31590 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
31591 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
31592 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
31593 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
31594
31595 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
31596
31597 * stdio-common/_itoa.h: Moved to ...
31598 * sysdeps/generic/_itoa.h: Here.
31599
31600 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
31601
31602 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
31603 instead of "_itoa.h" and "_itowa.h".
31604 * stdio-common/vfprintf.: Likewise.
31605
d1af992d
L
316062012-03-20 H.J. Lu <hongjiu.lu@intel.com>
31607
31608 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
31609 <bits/wordsize.h>.
31610 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
31611 (__signbit): Likwise.
31612 (llrintf): Likwise.
31613 (llrint): Likwise.
31614
114883e0
L
316152012-03-20 H.J. Lu <hongjiu.lu@intel.com>
31616
31617 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
31618 __WORDSIZE != 64.
31619
c135cc1b
JM
316202012-03-20 Joseph Myers <joseph@codesourcery.com>
31621
31622 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
31623 OVERFLOW_EXCEPTION_OK.
31624 * math/libm-test.inc ("Philosophy"): Update comment about
31625 exception testing.
31626 (OVERFLOW_EXCEPTION): Define.
31627 (OVERFLOW_EXCEPTION_OK): Likewise.
31628 (INVALID_EXCEPTION_OK): Renumber.
31629 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
31630 (IGNORE_ZERO_INF_SIGN): Likewise.
31631 (test_exceptions): Handle FE_OVERFLOW.
31632 (exp10_test): Expect overflow exceptions.
31633 (exp2_test): Likewise.
31634 (expm1_test): Likewise.
31635 (nextafter_test): Likewise.
31636 (pow_test): Likewise.
31637 (scalbn_test): Likewise.
31638 (scalbln_test): Likewise.
31639
95443d88
L
316402012-03-19 H.J. Lu <hongjiu.lu@intel.com>
31641
31642 * sysdeps/x86_64/bits/atomic.h
31643 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
31644 64bit integer.
31645 (atomic_exchange_acq): Likewise.
31646 (__arch_exchange_and_add_body): Likewise.
31647 (__arch_add_body): Likewise.
31648 (atomic_add_negative): Likewise.
31649 (atomic_add_zero): Likewise.
31650
490df6c4
L
316512012-03-19 H.J. Lu <hongjiu.lu@intel.com>
31652
c2722551 31653 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
31654 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
31655
5e52b189
L
316562012-03-19 H.J. Lu <hongjiu.lu@intel.com>
31657
31658 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
31659 Check __x86_64__ instead of __WORDSIZE.
31660
a9879d4c
L
316612012-03-19 H.J. Lu <hongjiu.lu@intel.com>
31662
31663 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
31664
5df98260
DM
316652012-03-19 David S. Miller <davem@davemloft.net>
31666
e1497744
DM
31667 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31668
5df98260
DM
31669 * sysdeps/sparc/fpu/fenv_private.h: New file.
31670 * sysdeps/sparc/fpu/math_private.h: Use it.
31671 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
31672 Remove.
31673 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
31674 (libc_feholdexcept_setroundl): Remove.
31675 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
31676 Remove.
31677 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
31678 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
31679
b4c35121
L
316802012-03-19 H.J. Lu <hongjiu.lu@intel.com>
31681
31682 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
31683 int64_t instead of long int.
31684 (INSERT_WORDS64): Likwise.
31685
56965fd7
L
316862012-03-19 H.J. Lu <hongjiu.lu@intel.com>
31687
31688 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
31689 _Unwind_GetCFA return to _Unwind_Ptr first.
31690
83d1aec8
JM
316912012-03-19 Joseph Myers <joseph@codesourcery.com>
31692
1897ad44
JM
31693 [BZ #13629]
31694 * math/s_clog.c: Include <float.h>.
31695 (__clog): Scale large or subnormal inputs.
31696 * math/s_clogf.c: Likewise.
31697 * math/s_clogl.c: Likewise.
31698 * math/s_clog10.c: Include <float.h>.
31699 (M_LOG10_2): Define.
31700 (__clog10): Scale large or subnormal inputs.
31701 * math/s_clog10f.c: Likewise.
31702 * math/s_clog10l.c: Likewise.
31703 * math/libm-test.inc (clog_test): Add more tests.
31704 (clog10_test): Likewise.
31705 * sysdeps/i386/fpu/libm-test-ulps: Update.
31706 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31707
7726d6a9
JM
31708 [BZ #11451]
31709 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
31710 x and y.
31711 * math/libm-test.inc (atan2_test): Add another test.
31712
83d1aec8
JM
31713 * Makerules (common-objdir-compile): Remove.
31714 * sysdeps/unix/Makefile (config-generated): Do not add
31715 $(unix-generated) to variable.
31716 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
31717 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
31718 Remove rule.
31719 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
31720 Likewise.
31721 [generic bits/local_lim.h] (before-compile): Do not append to
31722 variable.
31723 [generic bits/local_lim.h] (common-generated): Likewise.
31724 [generic sys/param.h] (before-compile): Do not append to variable.
31725 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
31726 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
31727 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
31728 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
31729 include.
31730 [generic sys/param.h] (sys/param.h-includes): Remove variable.
31731 [generic sys/param.h] (sys/param.h-includes): Remove rule.
31732 [generic sys/param.h] ($(addprefix
31733 $(common-objpfx),$(sys/param.h-includes))): Likewise.
31734 [generic sys/param.h] (common-generated): Do not append to
31735 variable.
31736 [generic sys/param.h] (sysdep_headers): Likewise.
31737 [generic bits/errno.h] (before-compile): Do not append to
31738 variable.
31739 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
31740 rule.
31741 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
31742 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
31743 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
31744 [generic bits/errno.h] (common-generated): Do not append to
31745 variable.
31746 [generic bits/ioctls.h] (before-compile): Do not append to
31747 variable.
31748 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
31749 rule.
31750 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
31751 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
31752 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
31753 rule.
31754 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
31755 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
31756 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
31757 [generic bits/ioctls.h] (common-generated): Do not append to
31758 variable.
31759 [generic sys/syscall.h] (syscall.h): Remove variable.
31760 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
31761 rule.
31762 [generic sys/syscall.h] (before-compile): Do not append to
31763 variable.
31764 [generic sys/syscall.h] (common-generated): Likewise.
31765 * sysdeps/unix/errnos-tmpl.c: Remove file.
31766 * sysdeps/unix/errnos.awk: Likewise.
31767 * sysdeps/unix/ioctls-tmpl.c: Likewise.
31768 * sysdeps/unix/ioctls.awk: Likewise.
31769 * sysdeps/unix/mk-local_lim.c: Likewise.
31770 * sysdeps/unix/snarf-ioctls: Likewise.
31771
4851a949
RH
317722012-03-19 Richard Henderson <rth@twiddle.net>
31773
bd37f2ee
RH
31774 * sysdeps/i386/fpu/fenv_private.h: New file.
31775 * sysdeps/i386/fpu/math_private.h: Use it.
31776 (math_opt_barrier, math_force_eval): Remove.
31777 (libc_feholdexcept_setround_53bit): Remove.
31778 (libc_feupdateenv_53bit): Remove.
31779 * sysdeps/x86_64/fpu/math_private.h: Likewise.
31780 (math_opt_barrier, math_force_eval): Remove.
31781 (libc_feholdexcept): Remove.
31782 (libc_feholdexcept_setround): Remove.
31783 (libc_fetestexcept, libc_fesetenv): Remove.
31784 (libc_feupdateenv_test): Remove.
31785 (libc_feupdateenv, libc_feholdsetround): Remove.
31786 (libc_feresetround): Remove.
31787
d0adc922
RH
31788 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
31789 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
31790
0fe0f1f8
RH
31791 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
31792 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
31793 (libc_feupdateenv_testl): New.
31794 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
31795 (libc_feupdateenv_testf): New.
31796 (libc_feupdateenv): Use libc_feupdateenv_test.
31797 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
31798 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
31799
eb92c487
RH
31800 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
31801 (libc_feholdsetroundf, libc_feholdsetroundl): New.
31802 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
31803 (libc_feresetround_noex): New.
31804 (libc_feresetround_noexf): New.
31805 (libc_feresetround_noexl): New.
31806 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
31807 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
31808 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
31809 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
31810 SET_RESTORE_ROUND.
31811 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
31812 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
31813 (__cos): Likewise.
31814 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
31815 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
31816 SET_RESTORE_ROUND_NOEX.
31817 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
31818 SET_RESTORE_ROUND_NOEXF.
31819 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
31820 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
31821 (libc_feholdsetroundf): New.
31822 (libc_feresetround, libc_feresetroundf): New.
31823
7d2e8012
RH
31824 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
31825 (libc_feholdexcept_setround_53bit): Convert from macro to function.
31826 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
31827
b4dabbb4
RH
31828 * sysdeps/generic/math_private.h: Include <fenv.h>.
31829 (default_libc_feholdexcept): New.
31830 (default_libc_feholdexcept_setround): New.
31831 (default_libc_fesetenv, default_libc_feupdateenv): New.
31832 (libc_feholdexcept): Only define if undefined.
31833 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
31834 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
31835 (libc_feholdexcept_setroundl): Likewise.
31836 (libc_feholdexcept_setround_53bit): Likewise.
31837 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
31838 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
31839 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
31840 (libc_feupdateenv_53bit): Likewise.
31841 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
31842 (libc_feholdexcept): Convert from macro to inline function.
31843 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
31844 (libc_fesetenv, libc_feupdateenv): Likewise.
31845
4851a949
RH
31846 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
31847 not previously defined.
31848 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
31849 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
31850 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
31851 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
31852 * sysdeps/ieee754/flt-32/math_private.h: New file.
31853 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
31854 math_private.h below SET_FLOAT_WORD.
31855 (__isnan, __isinf_ns, __finite): Remove.
31856 (__isnanf, __isinf_nsf, __finitef): Remove.
31857
e79d442e
AS
318582012-03-18 Andreas Schwab <schwab@linux-m68k.org>
31859
31860 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31861
90b80344
DM
318622012-03-17 David S. Miller <davem@davemloft.net>
31863
31864 [BZ #6471]
31865 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
31866 for 2.16.
31867
edc21804
DM
318682012-03-16 David S. Miller <davem@davemloft.net>
31869
77e927af
DM
31870 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
31871 warnings.
31872
374976dd
DM
31873 [BZ #6471]
31874 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
31875 properly.
31876 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
31877 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
31878 sysdep_routines when subdir is sysvipc.
31879 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
31880 __getshmlba helper.
31881
edc21804
DM
31882 * sysdeps/sparc/fpu/libm-test/ulps: Update.
31883
473c3ef3
L
318842012-03-16 H.J. Lu <hongjiu.lu@intel.com>
31885
31886 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
31887 [__LP64__].
31888
eb0f39b6
L
318892012-03-16 H.J. Lu <hongjiu.lu@intel.com>
31890
31891 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
31892 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
31893 (__lround): Renamed to ...
31894 (__llround): This. Replace long int with long long int.
31895 Define lround functions as aliases of llround functions.
31896 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
31897
6b6cd74b
L
318982012-03-16 H.J. Lu <hongjiu.lu@intel.com>
31899
31900 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
31901 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
31902 adresses to uintptr_t. Replace "long int" and "unsigned long
31903 int" with "greg_t" on va_arg.
31904
f1a77b01
L
319052012-03-16 H.J. Lu <hongjiu.lu@intel.com>
31906
31907 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
31908 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
31909
31910 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
31911 Move e_machine check before EI_CLASS check. Handle x32
31912 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
31913 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
31914 SKIP_EM_IA_64 and include
31915 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
31916
31917 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
31918 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
31919 (add_system_dir): New macro.
31920
31921 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
31922 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
31923
11b90b9f
JM
319242012-03-16 Joseph Myers <joseph@codesourcery.com>
31925
c36e1d23
JM
31926 [BZ #2551]
31927 [BZ #2552]
31928 [BZ #2553]
31929 [BZ #2554]
31930 [BZ #2562]
31931 [BZ #2563]
31932 [BZ #2565]
31933 [BZ #2566]
31934 [BZ #2576]
31935 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
31936 (y0): Likewise.
31937 * math/w_j0f.c (j0f): Likewise.
31938 (y0f): Likewise.
31939 * math/w_j0l.c (__j0l): Likewise.
31940 (__y0l): Likewise.
31941 * math/w_j1.c (j1): Likewise.
31942 (y1): Likewise.
31943 * math/w_j1f.c (j1f): Likewise.
31944 (y1f): Likewise.
31945 * math/w_j1l.c (__j1l): Likewise.
31946 (__y1l): Likewise.
31947 * math/w_jn.c (jn): Likewise.
31948 (yn): Likewise.
31949 * math/w_jnf.c (jnf): Likewise.
31950 (ynf): Likewise.
31951 * math/w_jnl.c (__jnl): Likewise.
31952 (__ynl): Likewise.
31953 * math/libm-test.inc (j0_test): Add more tests.
31954 (j1_test): Likewise.
31955 (jn_test): Likewise. Add trailing semicolon to existing test.
31956 (y0_test): Likewise.
31957 (y1_test): Likewise.
31958 * sysdeps/i386/fpu/libm-test-ulps: Update.
31959 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31960
11b90b9f
JM
31961 [BZ #13851]
31962 [BZ #13854]
31963 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
31964 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
31965 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
31966 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
31967 (__tanl): Set errno for infinite argument.
31968 * sysdeps/i386/fpu/mptan.c: Remove.
31969 * sysdeps/i386/fpu/s_tan.S: Likewise.
31970 * sysdeps/i386/fpu/s_tanl.S: Likewise.
31971 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
31972 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
31973 * math/libm-test.inc (tan_test): Add more tests and enable more
31974 tests for double and long double.
31975 * sysdeps/i386/fpu/libm-test-ulps: Update.
31976 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31977
6a1bd2a1
JK
319782012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
31979
31980 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
31981 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
31982
10a803e0
RM
319832012-03-16 Roland McGrath <roland@hack.frob.com>
31984
31985 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
31986 * configure.in: Use it for both main tree and add-ons.
31987 * configure: Regenerated.
31988
f196c7f7
L
319892012-03-16 H.J. Lu <hongjiu.lu@intel.com>
31990
31991 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
31992
8848d99d
JM
319932012-03-16 Joseph Myers <joseph@codesourcery.com>
31994
96cbe7f4
JM
31995 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
31996 in comment.
31997
8848d99d
JM
31998 [BZ #13851]
31999 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
32000 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
32001 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
32002 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
32003 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
32004 infinite argument.
32005 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
32006 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
32007 != 0 for prec == 2.
32008 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
32009 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
32010 * sysdeps/i386/fpu/s_cosl.S: Likewise.
32011 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
32012 * sysdeps/i386/fpu/s_sinl.S: Likewise.
32013 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
32014 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
32015 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
32016 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
32017 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
32018 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
32019 * math/libm-test.inc (cos_test): Add more tests and enable more
32020 tests for long double.
32021 (sin_test): Likewise.
32022 (sincos_test): Likewise.
32023 * sysdeps/i386/fpu/libm-test-ulps: Update.
32024 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32025
dd7f4703
DM
320262012-03-16 David S. Miller <davem@davemloft.net>
32027
32028 * sysdeps/sparc/fpu/math_private.h: New file.
32029
006f1daa
DM
320302012-03-15 David S. Miller <davem@davemloft.net>
32031
c0c83bc8
DM
32032 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
32033 file.
e6a62e18 32034 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
32035 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
32036 file.
e6a62e18
DM
32037 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
32038 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
32039 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
32040 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
32041 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
32042 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
32043 sysdep routines.
32044 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
32045
88cb87d9
DM
32046 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
32047 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
32048
006f1daa 32049 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
32050 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
32051 sparc-ifunc.h
006f1daa 32052 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
32053 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
32054 Likewise.
32055 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
32056 Likewise.
006f1daa
DM
32057 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
32058 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
32059 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
32060 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
32061 Likewise.
006f1daa
DM
32062 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
32063 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
32064 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
32065 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
32066 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
32067 Likewise.
32068 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
32069 Likewise.
006f1daa
DM
32070 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
32071 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
32072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
32073 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
32074 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
32075 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
32076 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
32077 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
32078 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
32079 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
32080 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
32081 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
32082 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
32083 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
32084 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
32085 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
32086 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
32087 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
32088 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
32089 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
32090 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
32091 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
32092 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
32093 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
32094
11e0098e
AS
320952012-03-15 Andreas Schwab <schwab@linux-m68k.org>
32096
32097 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
32098 scaling.
32099 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32100
e85b09d0
AJ
321012012-03-15 Andreas Jaeger <aj@suse.de>
32102
32103 [BZ #13852]
32104 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
32105 ieee754/flt-32 implementation for sin, cos and sincos.
32106 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
32107 * sysdeps/i386/fpu/s_cosf.S: Likewise.
32108 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
32109 * sysdeps/i386/fpu/s_sinf.S: Likewise.
32110 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
32111 ieee754/flt-32 implementation for tan.
32112
32113 * math/libm-test.inc (cos_test): Enable some large input tests for
32114 float as well
32115 (sin_test): Likewise.
32116 (sincos_test): Likewise.
32117 (tan_test): Add tests for large input.
32118
32119 * sysdeps/i386/fpu/libm-test-ulps: Update.
32120
81c64153
AJ
321212012-03-15 Andreas Jaeger <aj@suse.de>
32122
32123 [BZ #13658]
32124 * math/libm-test.inc (cos_test): Add more test cases.
32125 (sin_test): Likewise.
32126 (sincos_test): Likewise.
32127
7bbfa5c6
AJ
321282012-03-15 Andreas Jaeger <aj@suse.de>
32129
32130 [BZ #13837]
32131 * math/libm-test.inc (cos_test): Add a test case for large input
32132 value.
32133 (sin_test): Likewise.
32134 (sincos_test): Likewise.
32135
321362012-03-15 Andreas Jaeger <aj@suse.de>,
32137 Joseph Myers <joseph@codesourcery.com>
32138
32139 [BZ #13658]
0671f479 32140 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
32141 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
32142 * sysdeps/i386/fpu/branred.c: Likewise.
32143 * sysdeps/i386/fpu/dosincos.c: Likewise.
32144 * sysdeps/i386/fpu/mpa.c: Likewise.
32145 * sysdeps/i386/fpu/s_cos.S: Likewise.
32146 * sysdeps/i386/fpu/s_sin.S: Likewise.
32147 * sysdeps/i386/fpu/s_sincos.S: Likewise.
32148 * sysdeps/i386/fpu/sincos32.c: Likewise.
32149
32150 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
32151 Define.
32152 (libc_feupdateenv_53bit): Define.
32153 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
32154 Define.
32155 (libc_feupdateenv_53bit): Define.
32156
32157 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
32158 53 bit (without extend i386 double precision).
32159
32160 * math/libm-test.inc (sincos_test): Add tests for large input.
32161 (sin): Likewise.
32162 (cos): Likewise.
32163
32164 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
32165
9cad04ea
AS
321662012-03-15 Andreas Schwab <schwab@linux-m68k.org>
32167
32168 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32169
f7062b9a
DM
321702012-03-15 David S. Miller <davem@davemloft.net>
32171
32172 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
32173 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
32174 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
32175 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
32176 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
32177 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
32178 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
32179 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
32180 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
32181 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
32182 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
32183 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
32184 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
32185 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
32186 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
32187 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
32188 file.
f7062b9a 32189 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
32190 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
32191 file.
f7062b9a 32192 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
32193 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
32194 file.
f7062b9a 32195 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
32196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
32197 file.
f7062b9a
DM
32198 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
32199 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
32200 fmin/fmax sysdep routines.
32201 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
32202
7bd951ff
DM
322032012-03-14 David S. Miller <davem@davemloft.net>
32204
559398ab
DM
32205 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
32206 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
32207 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
32208 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
32209 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
32210 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
32211 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
32212 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
32213 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
32214 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
32215 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
32216 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
32217 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
32218 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
32219 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
32220 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
32221 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
32222 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
32223 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
32224 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
32225 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
32226 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
32227 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
32228 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
32229 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
32230 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
32231 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
32232 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
32233 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
32234 routines.
32235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
32236 file.
559398ab 32237 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
32238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
32239 file.
559398ab 32240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
32241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
32242 file.
559398ab 32243 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
32244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
32245 file.
559398ab 32246 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
32247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
32248 file.
559398ab 32249 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
32250 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
32251 file.
32252 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
32253 file.
32254 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
32255 file.
32256 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
32257 file.
32258 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
32259 New file.
32260 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
32261 file.
32262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
32263 file.
559398ab 32264 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
32265 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
32266 file.
559398ab 32267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
32268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
32269 file.
559398ab 32270 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
32271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
32272 file.
559398ab 32273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
32274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
32275 VIS3 routines.
559398ab
DM
32276
32277 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
32278 New file.
32279
5a1c1e32
DM
32280 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32281
eae47a36
DM
32282 * sysdeps/sparc/configure.in: New file.
32283 * sysdeps/sparc/configure: Generate.
32284 * configure.in (libc_cv_sparc_as_vis3): Substitute.
32285 * configure: Regenerate.
32286 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
32287 * config.make.in (have-as-vis3): New.
32288 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
32289 available use -Av9d instead of -Av9a.
32290 * sysdeps/sparc/sparc64/Makefile: Likewise.
32291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
32292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
32293 New file.
32294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
32295 file.
32296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
32297 New file.
32298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
32299 file.
eae47a36
DM
32300 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
32301 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
32302 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
32303 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
32304 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
32305
c0c83bc8
DM
32306 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
32307 fzeros/fnegs to load 0x80000000 into a float register instead of
32308 using the stack.
7bd951ff
DM
32309 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
32310
bd951ccb
JM
323112012-03-14 Joseph Myers <joseph@codesourcery.com>
32312
32313 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32314 bits/syscall.h.
32315 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
32316 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
32317 ($(inst_includedir)/bits/syscall.h): Remove rule.
32318 ($(objpfx)bits/syscall.d): Include instead of
32319 $(objpfx)syscall-list.d.
32320 (generated): Change syscall-list.h and syscall-list.d to
32321 bits/syscall.h and bits/syscall.d.
32322
bb4e6db2
RM
323232012-03-14 Roland McGrath <roland@hack.frob.com>
32324
32325 [BZ #13846]
32326 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
32327
aa4a2ae1
JM
323282012-03-14 Joseph Myers <joseph@codesourcery.com>
32329
e456826d
JM
32330 [BZ #13841]
32331 * math/s_csqrt.c: Include <float.h>.
32332 (__csqrt): Scale large or subnormal inputs.
32333 * math/s_csqrtf.c: Likewise.
32334 * math/s_csqrtl.c: Likewise.
32335 * math/libm-test.inc (csqrt_test): Add more tests.
32336 * sysdeps/i386/fpu/libm-test-ulps: Update.
32337 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32338
aa4a2ae1
JM
32339 [BZ #13840]
32340 * math/libm-test.inc (hypot_test): Add more tests.
32341
7c10fd35
DM
323422012-03-13 David S. Miller <davem@davemloft.net>
32343
32344 [BZ #13840]
32345 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
32346 double-precision for the calculation instead of scaling.
32347
f453b98b
JM
323482012-03-13 Joseph Myers <joseph@codesourcery.com>
32349
32350 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
32351 manipulate bits before adding and subtracting TWO52[sx].
32352 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
32353 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
32354 Likewise.
32355 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
32356
09a3453f
DM
323572012-03-13 David S. Miller <davem@davemloft.net>
32358
8e59da90
DM
32359 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
32360 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
32361 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
32362 rtld-global-offsets.h
32363 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
32364
2a8ab7f2
DM
32365 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
32366 large parameters.
32367
10f62770
DM
32368 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
32369
5f0bdb18
DM
32370 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
32371 'err' in the ifdef scope in which it is actually used.
32372
09a3453f
DM
32373 * nss/nss_db/db-init.c: Include string.h
32374
b4b2eb5e
DM
323752012-03-12 David S. Miller <davem@davemloft.net>
32376
98bb2f1c
DM
32377 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
32378 masking out of the most significant byte of random value used.
32379 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32380 Fix coding style in previous change.
32381
b4b2eb5e
DM
32382 * sysdeps/unix/sysv/linux/kernel-features.h
32383 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
32384 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
32385 expression.
32386 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
32387 later.
32388
6e226b09
DM
323892012-03-11 David S. Miller <davem@davemloft.net>
32390
a1bcbd40
DM
32391 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
32392 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
32393 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
32394 for 'resultvar' otherwise things get truncated on 64-bit.
32395
cb9d6174
DM
32396 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32397 Fix masking out of the most significant byte of random value used.
32398
6e226b09
DM
32399 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32400
058c132d
AS
324012012-03-10 Andreas Schwab <schwab@linux-m68k.org>
32402
32403 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32404
2d2cd515
DM
324052012-03-09 David S. Miller <davem@davemloft.net>
32406
32407 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
32408 variables with appropriate CPP guards.
32409 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
32410 frame pointer, not the stack pointer. Correct layout comments. Fix test
32411 on resulting framesize and the management of the outregs buffer for pltexit.
32412 Preserve floating point return values across _dl_call_pltexit call.
32413 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
32414 framesize and the management of the outregs buffer for pltexit.
32415 Preserve floating point return values across _dl_call_pltexit
32416 call.
32417 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
32418 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
32419 (print_exit): Fix format string for return register value.
32420
9a07f9d0
JM
324212012-03-10 Joseph Myers <joseph@codesourcery.com>
32422
32423 * sunrpc/Makefile (others): Add rpcgen.
32424 ($(objpfx)rpcgen): Remove special build rule and dependency on
32425 libc.
32426 * sunrpc/rpcgen.c: New file.
32427
547b5e30
PE
324282012-03-09 Paul Eggert <eggert@cs.ucla.edu>
32429
c524201a
PE
32430 [BZ #13673]
32431 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
32432 * stdio-common/bug-vfprintf-nargs.c: Likewise.
32433 * sysdeps/i386/crti.S: Likewise.
32434 * sysdeps/i386/crtn.S: Likewise.
32435 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
32436 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
32437 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
32438 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
32439 * sysdeps/sh/crti.S: Likewise.
32440 * sysdeps/sh/crtn.S: Likewise.
32441 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
32442
7b6235f2
PE
32443 [BZ #13673]
32444 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
32445 with URL.
32446 * locale/programs/locfile-kw.gperf: Likewise.
32447 * locale/programs/charmap-kw.h: Regenerated.
32448 * locale/programs/locfile-kw.h: Likewise.
32449
547b5e30
PE
32450 [BZ #13673]
32451 * intl/plural.y: Replace FSF snail mail address with URL.
32452 * intl/plural.c: Regenerated.
32453
5f0a5dae
RH
324542012-03-09 Richard Henderson <rth@twiddle.net>
32455
32456 * include/math_private.h: Remove file.
32457 * math/math_private.h: Move file ...
32458 * sysdeps/generic/math_private.h: ... here.
32459
b8c03620
RH
32460 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
32461 * sysdeps/powerpc/fpu/math_private.h: Likewise.
32462 * sysdeps/x86_64/fpu/math_private.h: Likewise.
32463
4e234f5d 32464 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
32465 and <math_private.h>.
32466 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
32467 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
32468 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
32469 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
32470 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
32471 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
32472 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
32473 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32474 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
32475 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32476 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32477 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
32478 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
32479 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32480 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
32481 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
32482 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
32483 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
32484 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
32485 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
32486 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32487 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
32488 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
32489 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32490 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
32491 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
32492 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
32493 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
32494 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32495 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
32496 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
32497 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32498 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
32499 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
32500 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
32501 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
32502 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
32503 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
32504 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
32505 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32506 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
32507 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
32508 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
32509 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
32510 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
32511 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
32512 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
32513 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
32514 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
32515 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
32516 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
32517 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
32518 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
32519 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
32520 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
32521 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
32522 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32523 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
32524 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
32525 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
32526 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
32527 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
32528 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32529 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
32530 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
32531 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
32532 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
32533 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
32534 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
32535 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
32536 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
32537 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
32538 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
32539 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32540 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
32541 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
32542 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
32543 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
32544 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
32545 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
32546 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
32547 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
32548 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
32549 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
32550 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
32551 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
32552 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
32553 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
32554 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
32555 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
32556 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
32557 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
32558 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
32559 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
32560 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
32561 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
32562 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
32563 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
32564 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
32565 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
32566 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
32567 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
32568 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
32569 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
32570 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
32571 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
32572 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
32573 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
32574 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
32575 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
32576 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
32577 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
32578 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
32579 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
32580 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
32581 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
32582 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
32583 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
32584 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
32585 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
32586 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
32587 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
32588 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
32589 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
32590 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
32591 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
32592 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
32593 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
32594 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
32595 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
32596 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
32597 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
32598 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
32599 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
32600 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
32601 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
32602 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
32603 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
32604 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
32605 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
32606 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
32607 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
32608 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
32609 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
32610 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
32611 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
32612 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
32613 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
32614 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
32615 * sysdeps/ieee754/k_standard.c: Likewise.
32616 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
32617 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
32618 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
32619 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
32620 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
32621 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
32622 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
32623 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
32624 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
32625 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
32626 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
32627 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
32628 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
32629 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
32630 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
32631 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
32632 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
32633 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
32634 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
32635 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
32636 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
32637 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
32638 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
32639 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
32640 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
32641 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
32642 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
32643 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
32644 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
32645 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
32646 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
32647 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
32648 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
32649 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
32650 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
32651 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
32652 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
32653 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
32654 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
32655 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
32656 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
32657 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
32658 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
32659 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
32660 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
32661 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
32662 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
32663 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
32664 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
32665 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
32666 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
32667 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
32668 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
32669 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
32670 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
32671 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
32672 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
32673 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
32674 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
32675 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
32676 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
32677 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
32678 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
32679 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
32680 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
32681 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
32682 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
32683 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
32684 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
32685 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
32686 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
32687 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
32688 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
32689 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
32690 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
32691 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
32692 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
32693 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
32694 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
32695 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
32696 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
32697 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
32698 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
32699 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
32700 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
32701 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
32702 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
32703 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
32704 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
32705 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
32706 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
32707 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
32708 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
32709 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
32710 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
32711 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
32712 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
32713 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
32714 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
32715 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
32716 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
32717 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
32718 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
32719 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
32720 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
32721 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
32722 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
32723 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
32724 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
32725 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
32726 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
32727 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
32728 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
32729 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
32730 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
32731 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
32732 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
32733 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
32734 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
32735 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
32736 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
32737 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
32738 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
32739 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
32740 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
32741 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
32742 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
32743 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
32744 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
32745 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
32746 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
32747 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
32748 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
32749 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
32750 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
32751 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
32752 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
32753 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
32754 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
32755 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
32756 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
32757 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
32758 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
32759 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
32760 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
32761 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
32762 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
32763 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
32764 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
32765 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
32766 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
32767 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
32768 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
32769 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
32770 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
32771 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
32772 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
32773 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
32774 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
32775 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
32776 * sysdeps/ieee754/s_lib_version.c: Likewise.
32777 * sysdeps/ieee754/s_matherr.c: Likewise.
32778 * sysdeps/ieee754/s_signgam.c: Likewise.
32779 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
32780 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
32781 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
32782 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
32783 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
32784 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
32785 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
32786 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
32787 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
32788 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
32789 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
32790 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
32791 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
32792 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
32793 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
32794 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
32795 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
32796 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
32797 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
32798 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
32799 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 32800
1991fa03
JM
328012012-03-09 Joseph Myers <joseph@codesourcery.com>
32802
32803 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
32804 * sunrpc/rpc_main.c: Likewise.
32805 * sunrpc/rpc_svcout.c: Likewise.
32806
60d6f5a6
DM
328072012-03-09 David S. Miller <davem@davemloft.net>
32808
32809 * include/math_private.h: New file.
32810
4962050e
JM
328112012-03-09 Joseph Myers <joseph@codesourcery.com>
32812
02a6f887
JM
32813 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
32814 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
32815 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
32816 from <bits/socket_type.h>.
32817 (enum __socket_type): Don't define here.
32818 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
32819 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32820 bits/socket_type.h.
32821
c6e013c1
JM
32822 [BZ #13566]
32823 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
32824 checking __USE_GNU.
32825
4962050e
JM
32826 * Makerules ($(inst_includedir)/%.h): New rule.
32827 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
32828 (install-others): Remove variable setting.
32829 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
32830
38842f45
RH
328312012-03-08 Richard Henderson <rth@twiddle.net>
32832
67bb6da6
RH
32833 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
32834 from macro to inline function; merge with the
32835 !__LIBC_INTERNAL_MATH_INLINES version.
32836 (__ieee754_sqrtf): Likewise.
32837
15194b4b
RH
32838 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
32839 to inline function.
32840 (__rintf, __floor, __floorf): Likewise.
32841
64e21ede
RH
32842 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
32843 macro to inline function.
32844 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
32845
38842f45
RH
32846 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
32847 not <math/math_private.h>.
32848
c64bf5fe
DM
328492012-03-08 David S. Miller <davem@davemloft.net>
32850
32851 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
32852 copyright year.
32853 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
32854
82d86f28
TS
328552012-03-08 Thomas Schwinge <thomas@codesourcery.com>
32856
32857 * resolv/gai_misc.c (handle_requests): Fix struct timespec
32858 normalization.
32859 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
32860 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
32861
aea5d727
UD
328622012-03-08 Ulrich Drepper <drepper@gmail.com>
32863
32864 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
32865 be defined individually, they must be defined as a block. Define
32866 S for printing a string instead of hidint the different by using a
32867 macro for adding the 'l'.
32868 * stdio-common/tst-fphex-wide.c: Adjust.
32869
70bca0a3
MP
328702012-03-07 Marek Polacek <polacek@redhat.com>
32871
32872 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
32873
65b81130
MP
328742012-03-08 Marek Polacek <polacek@redhat.com>
32875
32876 [BZ #13806]
32877 * stdio-common/Makefile (tests): Add tst-fphex-wide.
32878 * stdio-common/tst-fphex.c: Define a few macros to make the
32879 test reusable. Use them.
32880 * stdio-common/tst-fphex-wide.c: New file.
32881
07037eeb
JM
328822012-03-08 Joseph Myers <joseph@codesourcery.com>
32883
a7a93d50
JM
32884 [BZ #6911]
32885 * manual/macros.texi (gnusystems): New macro.
32886 (nongnusystems): Likewise.
32887 (gnulinuxhurdsystems): Likewise.
32888 (gnuhurdsystems): Likewise..
32889 (gnulinuxsystems): Likewise.
32890 * manual/charset.texi: Use new macros or @theglibc{} to refer to
32891 variants of the GNU system, not "GNU system".
32892 * manual/conf.texi: Likewise.
32893 * manual/errno.texi: Likewise. Update example of errno macro
32894 expansion.
32895 * manual/filesys.texi: Likewise.
32896 (getumask): Document as specific to GNU/Hurd.
32897 * manual/install.texi: Likewise. Reword some references to
32898 GNU/Linux.
32899 * manual/intro.texi: Likewise.
32900 * manual/io.texi: Likewise.
32901 (File Name Portability): Detail which constraints are inapplicable
32902 to all GNU systems and which are only inapplicable to GNU/Hurd.
32903 * manual/job.texi: Likewise.
32904 * manual/llio.texi: Likewise.
32905 (O_NOCTTY): Document as present on GNU/Linux.
32906 * manual/maint.texi: Likewise.
32907 * manual/memory.texi: Likewise.
32908 * manual/pattern.texi: Likewise.
32909 * manual/pipe.texi: Likewise.
32910 * manual/process.texi: Likewise.
32911 * manual/resource.texi: Likewise.
32912 (RUSAGE_CHILDREN): Remove statement about specifying a particular
32913 child on GNU/Hurd.
32914 * manual/setjmp.texi: Likewise.
32915 * manual/signal.texi: Likewise.
32916 * manual/startup.texi: Likewise.
32917 * manual/stdio.texi: Likewise.
32918 * manual/terminal.texi: Likewise.
32919 (ONLCR): Document as POSIX.
32920 (OXTABS): Document availability on GNU/Linux as XTABS.
32921 (ONOEOT): Document availability separately from other bits.
32922 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
32923 * manual/time.texi: Likewise.
32924 * manual/users.texi: Likewise.
32925 * INSTALL: Regenerated.
32926 * sysdeps/gnu/errlist.c: Regenerated.
32927
07037eeb
JM
32928 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
32929 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
32930 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
32931 puts.
32932 * configure: Regenerated.
32933
d1d3431a
JM
329342012-03-07 Joseph Myers <joseph@codesourcery.com>
32935
af6a1e37
JM
32936 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
32937 default includes instead of AC_HEADER_CHECK.
32938 * sysdeps/i386/configure: Regenerated.
32939
d1d3431a
JM
32940 [BZ #10716]
32941 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
32942 * math/s_cacoshf.c (__cacoshf): Likewise.
32943 * math/s_cacoshl.c (__cacoshl): Likewise.
32944 * math/s_casinh.c (__casinh): Set signs of result from argument.
32945 * math/s_casinhf.c (__casinhf): Likewise.
32946 * math/s_casinhl.c (__casinhl): Likewise.
32947 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
32948 (casinh_test): Add more tests.
32949 * sysdeps/i386/fpu/libm-test-ulps: Update.
32950 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32951
482ff4da
UD
329522012-03-07 Ulrich Drepper <drepper@gmail.com>
32953
872fda05
UD
32954 * po/zh_TW.po: Update from translation team.
32955
a4300c7a
UD
32956 * login/Makefile (distribute): Remove variable.
32957 * catgets/Makefile: Likewise.
32958 * mach/Makefile: Likewise.
32959 * malloc/Makefile: Likewise.
32960 * misc/Makefile: Likewise.
32961 * iconv/Makefile: Likewise.
32962 * nscd/Makefile: Likewise.
32963 * hurd/Makefile: Likewise.
32964 * manual/Makefile: Likewise.
32965 * locale/Makefile: Likewise.
32966 * intl/Makefile: Likewise.
32967 * conform/Makefile: Likewise.
32968 * nss/Makefile: Likewise.
32969 * time/Makefile: Likewise.
32970 * soft-fp/Makefile: Likewise.
32971 * dirent/Makefile: Likewise.
32972 * gmon/Makefile: Likewise.
32973 * po/Makefile: Likewise.
32974 * rt/Makefile: Likewise.
32975 * socket/Makefile: Likewise.
32976 * math/Makefile: Likewise.
32977 * signal/Makefile: Likewise.
32978 * debug/Makefile: Likewise.
32979 * elf/Makefile: Likewise.
32980 * timezone/Makefile: Likewise.
32981 * stdlib/Makefile: Likewise.
32982 * iconvdata/Makefile: Likewise.
32983 * sunrpc/Makefile: Likewise.
32984 * io/Makefile: Likewise.
32985 * argp/Makefile: Likewise.
32986 * inet/Makefile: Likewise.
32987 * hesiod/Makefile: Likewise.
32988 * grp/Makefile: Likewise.
32989 * csu/Makefile: Likewise.
32990 * wctype/Makefile: Likewise.
32991 * crypt/Makefile: Likewise.
32992 * libio/Makefile: Likewise.
32993 * string/Makefile: Likewise.
32994 * nis/Makefile: Likewise.
32995 * resolv/Makefile: Likewise.
32996 * stdio-common/Makefile: Likewise.
32997 * wcsmbs/Makefile: Likewise.
32998 * dlfcn/Makefile: Likewise.
32999 * posix/Makefile: Likewise.
33000
3b7c4e74 33001 [BZ #6959]
482ff4da
UD
33002 * timezone/Makefile: Don't install timezone files, just the programs
33003 and scripts.
33004
f72ed77d
UD
330052012-03-06 Ulrich Drepper <drepper@gmail.com>
33006
a000466f
UD
33007 * nss/databases.def: Add missing gshadow entry.
33008
f72ed77d
UD
33009 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
33010
a53b7a4e
MP
330112012-03-06 Marek Polacek <polacek@redhat.com>
33012
33013 [BZ #13726]
33014 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
33015 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
33016 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
33017 * stdio-common/tst-long-dbl-fphex.c: New file.
33018
e9258400
DM
330192012-03-06 David S. Miller <davem@davemloft.net>
33020
33021 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33022 (set_obp_int): New function.
33023 (get_obp_int): New function.
33024 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
33025 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
33026 Avoid unused variable warnings on 'val' and use builtin_expect.
33027 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
33028 __builtin_expect.
e9258400
DM
33029 (INLINE_CLONE_SYSCALL): Likewise.
33030
3bd2c723
DM
330312012-03-05 David S. Miller <davem@davemloft.net>
33032
33033 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33034
bbb78d03
AS
330352012-03-05 Andreas Schwab <schwab@linux-m68k.org>
33036
884c5db4
AS
33037 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33038
bbb78d03
AS
33039 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
33040 only for |x| >= 40.
33041 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33042
1c9f702a 330432012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
33044
33045 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
33046 Replace gettimeofday with __vdso_gettimeofday.
33047
7be16f82
RM
33048 * sysdeps/unix/sysv/linux/x86_64/init-first.c
33049 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
33050 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
33051
33052 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
33053 time with __vdso_time.
33054
ed58a00f
JM
330552012-03-05 Joseph Myers <joseph@codesourcery.com>
33056
33057 * manual/lang.texi (size_t): Note types to which size_t may be
33058 equivalent with the GNU C Library, but do not describe when
33059 differences between them are significant.
33060
30ee4ced
AJ
330612012-03-05 Andreas Jaeger <aj@suse.de>
33062
33063 * sysdeps/i386/fpu/libm-test-ulps: Update.
33064
b7cd39e8
JM
330652012-03-05 Joseph Myers <joseph@codesourcery.com>
33066
33067 [BZ #3976]
33068 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
33069 (__ieee754_pow): Save and restore rounding mode and use
33070 round-to-nearest for main computations.
33071 * math/libm-test.inc (pow_test_tonearest): New function.
33072 (pow_test_towardzero): Likewise.
33073 (pow_test_downward): Likewise.
33074 (pow_test_upward): Likewise.
33075 (main): Call the new functions.
33076 * sysdeps/i386/fpu/libm-test-ulps: Update.
33077 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
33078
33079 [BZ #3976]
33080 * math/libm-test.inc (cosh_test_tonearest): New function.
33081 (cosh_test_towardzero): Likewise.
33082 (cosh_test_downward): Likewise.
33083 (cosh_test_upward): Likewise.
33084 (sinh_test_tonearest): Likewise.
33085 (sinh_test_towardzero): Likewise.
33086 (sinh_test_downward): Likewise.
33087 (sinh_test_upward): Likewise.
33088 (main): Call the new functions.
33089 * sysdeps/i386/fpu/libm-test-ulps: Update.
33090 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33091
6c6a98c9
TV
330922012-03-05 Tom de Vries <tom@codesourcery.com>
33093
33094 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
33095 default stack guard is set in last bytes.
33096 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
33097
21bb2d2e 330982012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 33099
21bb2d2e 33100 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 33101
21bb2d2e
AJ
33102 [BZ #13656]
33103 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
33104 possibly allocate from heap instead of stack.
33105 * stdio-common/bug-vfprintf-nargs.c: New file.
33106 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 33107
c6922934
AS
331082012-03-03 Andreas Schwab <schwab@linux-m68k.org>
33109
33110 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33111
bc957d53
MP
331122012-03-03 Marek Polacek <polacek@redhat.com>
33113
33114 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
33115 * math/math_private.h: Likewise.
33116 * stdlib/tst-strtod.c: Likewise.
33117 * sysdeps/i386/i486/bits/atomic.h: Likewise.
33118 * sysdeps/x86_64/bits/atomic.h: Likewise.
33119
6358490d
DM
331202012-03-02 David S. Miller <davem@davemloft.net>
33121
33122 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
33123 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
33124 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
33125 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
33126 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
33127 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
33128 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
33129 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
33130
01ae168d
RM
331312012-03-02 Roland McGrath <roland@hack.frob.com>
33132
d9a17c07
RM
33133 [BZ #13792]
33134 * manual/examples/README: New file, says the example source files
33135 can be used under GPL>=2.
33136 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
33137 line containing just "*/".
33138 * manual/examples/add.c: Add copyright header (GPL>=2).
33139 * manual/examples/argp-ex1.c: Likewise.
33140 * manual/examples/argp-ex2.c: Likewise.
33141 * manual/examples/argp-ex3.c: Likewise.
33142 * manual/examples/argp-ex4.c: Likewise.
33143 * manual/examples/atexit.c: Likewise.
33144 * manual/examples/db.c: Likewise.
33145 * manual/examples/dir.c: Likewise.
33146 * manual/examples/dir2.c: Likewise.
33147 * manual/examples/execinfo.c: Likewise.
33148 * manual/examples/filecli.c: Likewise.
33149 * manual/examples/filesrv.c: Likewise.
33150 * manual/examples/fmtmsgexpl.c: Likewise.
33151 * manual/examples/genpass.c: Likewise.
33152 * manual/examples/inetcli.c: Likewise.
33153 * manual/examples/inetsrv.c: Likewise.
33154 * manual/examples/isockad.c: Likewise.
33155 * manual/examples/longopt.c: Likewise.
33156 * manual/examples/memopen.c: Likewise.
33157 * manual/examples/memstrm.c: Likewise.
33158 * manual/examples/mkfsock.c: Likewise.
33159 * manual/examples/mkisock.c: Likewise.
33160 * manual/examples/mygetpass.c: Likewise.
33161 * manual/examples/pipe.c: Likewise.
33162 * manual/examples/popen.c: Likewise.
33163 * manual/examples/rprintf.c: Likewise.
33164 * manual/examples/search.c: Likewise.
33165 * manual/examples/select.c: Likewise.
33166 * manual/examples/setjmp.c: Likewise.
33167 * manual/examples/sigh1.c: Likewise.
33168 * manual/examples/sigusr.c: Likewise.
33169 * manual/examples/stpcpy.c: Likewise.
33170 * manual/examples/strdupa.c: Likewise.
33171 * manual/examples/strftim.c: Likewise.
33172 * manual/examples/strncat.c: Likewise.
33173 * manual/examples/subopt.c: Likewise.
33174 * manual/examples/swapcontext.c: Likewise.
33175 * manual/examples/termios.c: Likewise.
33176 * manual/examples/testopt.c: Likewise.
33177 * manual/examples/testpass.c: Likewise.
33178 * manual/examples/timeval_subtract.c: Likewise.
33179
01ae168d
RM
33180 [BZ #13792]
33181 * manual/time.texi (Elapsed Time): Move timeval_subtract example
33182 function to ...
33183 * manual/timeval_subtract.c.texi: ... here, new file.
33184
49efa33d
DM
331852012-03-02 David S. Miller <davem@davemloft.net>
33186
33187 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
33188
28afd92d
JM
331892012-03-02 Joseph Myers <joseph@codesourcery.com>
33190
804360ed
JM
33191 [BZ #3976]
33192 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
33193 (__sin): Save and restore rounding mode and use round-to-nearest
33194 for all computations.
33195 (__cos): Save and restore rounding mode and use round-to-nearest
33196 for all computations.
33197 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
33198 <fenv.h>.
33199 (tan): Save and restore rounding mode and use round-to-nearest for
33200 all computations.
33201 * math/libm-test.inc (cos_test_tonearest): New function.
33202 (cos_test_towardzero): Likewise.
33203 (cos_test_downward): Likewise.
33204 (cos_test_upward): Likewise.
33205 (sin_test_tonearest): Likewise.
33206 (sin_test_towardzero): Likewise.
33207 (sin_test_downward): Likewise.
33208 (sin_test_upward): Likewise.
33209 (tan_test_tonearest): Likewise.
33210 (tan_test_towardzero): Likewise.
33211 (tan_test_downward): Likewise.
33212 (tan_test_upward): Likewise.
33213 (main): Call the new functions.
33214 * sysdeps/i386/fpu/libm-test-ulps: Update.
33215 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33216
a6d06d7b
JM
33217 [BZ #10135]
33218 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
33219 small n, then large n, before computing and testing k+n.
33220 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
33221 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
33222 Likewise.
33223 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
33224 Likewise.
33225 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
33226 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
33227 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
33228 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
33229 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
33230 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
33231 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
33232 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
33233 * math/libm-test.inc (scalbn_test): Add more tests.
33234 (scalbln_test): Likewise.
33235
07e12bb3
JM
33236 * manual/filesys.texi (mode_t): Describe constraints on size and
33237 signedness, not exact equivalence to a particular type.
33238 (ino_t): Likewise.
33239 (ino64_t): Likewise.
33240 (dev_t): Likewise.
33241 (nlink_t): Likewise.
33242 (blkcnt_t): Likewise.
33243 (blkcnt64_t): Likewise.
33244 * manual/llio.texi (off_t): Likewise.
33245
28afd92d
JM
33246 [BZ #3976]
33247 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
33248 (__ieee754_exp): Save and restore rounding mode and use
33249 round-to-nearest for all computations.
33250 * math/libm-test.inc (exp_test_tonearest): New function.
33251 (exp_test_towardzero): Likewise.
33252 (exp_test_downward): Likewise.
33253 (exp_test_upward): Likewise.
33254 (main): Call the new functions.
33255 * sysdeps/i386/fpu/libm-test-ulps: Update.
33256 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33257
b1eeb65d
CD
332582012-03-01 Chris Demetriou <cgd@google.com>
33259
33260 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
33261 have predictable order.
33262
53362a4b
DM
332632012-03-01 David S. Miller <davem@davemloft.net>
33264
3c969083
DM
33265 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
33266
759707de
DM
33267 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
33268 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
33269 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
33270 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
33271
dfdb8ff2
DM
33272 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
33273 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
33274 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
33275 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
33276 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
33277 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
33278 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
33279 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
33280 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
33281
ead89f96
DM
33282 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33283
7f66bd07
DM
33284 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
33285 * sysdeps/sparc/fpu/libm-test-ulps: to here.
33286 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
33287
53362a4b
DM
33288 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
33289 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
33290 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
33291 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
33292 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
33293 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
33294 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
33295 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
33296 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
33297 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
33298 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
33299 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
33300 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
33301 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
33302 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
33303 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33304 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
33305 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
33306 * sysdeps/sparc/elf/configure: Regenerated.
33307
7b1902cb
JM
333082012-03-01 Joseph Myers <joseph@codesourcery.com>
33309
bec039bc
JM
33310 * configure.in (AS, LD): Require binutils 2.20 or later.
33311 * configure: Regenerated.
33312 * manual/install.texi (Tools for Compilation): Give binutils 2.20
33313 as required minimum version.
33314 * INSTALL: Regenerated.
33315
7b1902cb
JM
33316 [BZ #2541]
33317 [BZ #4108]
33318 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
33319 before squaring exponent.
33320 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
33321 bottom long double and 27 bits of top long double before squaring
33322 exponent.
33323 * math/libm-test.inc (erfc_test): Add more tests.
33324 * sysdeps/i386/fpu/libm-test-ulps: Update.
33325 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33326 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33327
f775c276
KT
333282012-03-01 Kai Tietz <ktietz@redhat.com>
33329
33330 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
33331 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
33332 containing bit-fields.
33333 * soft-fp/extended.h (_FP_UNION_E): Likewise.
33334 * soft-fp/single.h (_FP_UNION_S): Likewise.
33335 * soft-fp/double.h (_FP_UNION_D): Likewise.
33336
5b8a4d4a
JM
333372012-02-29 Joseph Myers <joseph@codesourcery.com>
33338
0bab47b6
JM
33339 [BZ #13786]
33340 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
33341 not include ../strcmp.S.
33342 [USE_AS_STRNCASECMP_L]: Likewise.
33343 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
33344 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
33345 * sysdeps/i386/i686/multiarch/strncase_l-c.c
33346 (__strncasecmp_l_ia32): Define as alias to
33347 __strncasecmp_l_nonascii.
33348
0fcad3e2
JM
33349 [BZ #5794]
33350 * math/libm-test.inc (expm1_test): Add test for bug 5794.
33351 * sysdeps/i386/fpu/libm-test-ulps: Update.
33352 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33353
5b8a4d4a
JM
33354 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
33355 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33356
8fdceb2e
JL
333572012-02-29 Jeff Law <law@redhat.com>
33358
33359 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
33360 out of bounds read.
33361
1f393a11
MP
333622012-02-29 Marek Polacek <polacek@redhat.com>
33363
33364 [BZ #13706]
33365 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
33366 * elf/Makefile: Add rules to run tst-unused-dep.out.
33367
8847f037
DM
333682012-02-28 David S. Miller <davem@davemloft.net>
33369
33370 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
33371 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
33372 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
33373 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
33374 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
33375 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
33376
169d7f11
JM
333772012-02-29 Joseph Myers <joseph@codesourcery.com>
33378
33379 * math/libm-test.inc (llround_test): Move one test from
33380 lround_test. Use TEST_f_L in moved test.
33381 (lround_test): Move misplaced test to llround_test. Add testcase
33382 from bug 2561.
33383
39adf059
UD
333842012-02-28 Ulrich Drepper <drepper@gmail.com>
33385
33386 * sysdeps/x86_64/fpu/e_expf.S: New file.
33387 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
33388
71b5d1c5
SB
333892012-02-28 Stanislav Brabec <sbrabec@suse.cz>
33390
33391 [BZ #13637]
33392 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
33393 of remain_len that may cause incomplete multi-byte character and
33394 false match.
33395 * posix/bug-regex33.c: New file.
33396 * posix/Makefile (tests): Add bug-regex33.
33397
1f77f049
JM
333982012-02-28 Joseph Myers <joseph@codesourcery.com>
33399
33400 * manual/macros.texi: New file.
33401 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
33402 * manual/libc.texinfo: Include macros.texi.
33403 * manual/creatute.texi: Likewise.
33404 * manual/install.texi: Likewise.
33405 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
33406 @glibcadj{} in references to the GNU C Library.
33407 * manual/charset.texi: Likewise.
33408 * manual/conf.texi: Likewise.
33409 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
33410 when not using those macros.
33411 * manual/creature.texi: Likewise.
33412 * manual/crypt.texi: Likewise.
33413 * manual/errno.texi: Likewise.
33414 * manual/filesys.texi: Likewise.
33415 * manual/header.texi: Likewise.
33416 * manual/install.texi: Likewise.
33417 * manual/intro.texi: Likewise.
33418 * manual/io.texi: Likewise.
33419 * manual/job.texi: Likewise.
33420 * manual/lang.texi: Likewise.
33421 * manual/libc.texiinfo: Likewise.
33422 * manual/llio.texi: Likewise.
33423 * manual/locale.texi: Likewise.
33424 * manual/maint.texi: Likewise.
33425 * manual/math.texi: Likewise.
33426 * manual/memory.texi: Likewise.
33427 * manual/message.texi: Likewise.
33428 * manual/nss.texi: Likewise.
33429 * manual/pattern.texi: Likewise.
33430 * manual/process.texi: Likewise.
33431 * manual/resource.texi: Likewise.
33432 * manual/search.texi: Likewise.
33433 * manual/setjmp.texi: Likewise.
33434 * manual/signal.texi: Likewise.
33435 * manual/socket.texi: Likewise.
33436 * manual/startup.texi: Likewise.
33437 * manual/stdio.texi: Likewise.
33438 * manual/string.texi: Likewise.
33439 * manual/sysinfo.texi: Likewise.
33440 * manual/syslog.texi: Likewise.
33441 * manual/terminal.texi: Likewise.
33442 * manual/time.texi: Likewise.
33443 * manual/users.texi: Likewise.
33444 * INSTALL: Regenerated.
33445 * NOTES: Regenerated.
d40c5d54 33446 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 33447
450bf206
AS
334482012-02-28 Andreas Schwab <schwab@linux-m68k.org>
33449
33450 * include/dirent.h: Include <dirstream.h> before
33451 <dirent/dirent.h>.
33452
741a235b
DM
334532012-02-28 David S. Miller <davem@davemloft.net>
33454
33455 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
33456 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
33457 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
33458 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
33459
d6b5aa58
DM
334602012-02-27 David S. Miller <davem@davemloft.net>
33461
1aff59a3
DM
33462 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
33463 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
33464 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
33465 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
33466
d6b5aa58
DM
33467 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
33468 frame pointer instead of stack pointer relative arg slot.
33469 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
33470 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
33471 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
33472
433f48bf
CD
334732012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
33474
33475 [BZ #3992]
33476 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
33477
d674b76d
DM
334782012-02-27 David S. Miller <davem@davemloft.net>
33479
33480 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
33481 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
33482 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
33483 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
33484 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
33485 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
33486 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
33487 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
33488
0e7727f7
JM
334892012-02-27 Joseph Myers <joseph@codesourcery.com>
33490
33491 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
33492 later. Allow versions 5-9.
43be4ca2 33493 * configure: Regenerated.
0e7727f7
JM
33494 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
33495 required minimum version and 4.6 as recommended version. Do not
33496 mention bugs in GCC 2.7 and 2.8.
43be4ca2 33497 * INSTALL: Regenerated.
0e7727f7 33498
a78bc654
DM
334992012-02-27 David S. Miller <davem@davemloft.net>
33500
428d5830
DM
33501 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
33502 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
33503 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
33504 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
33505 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
33506 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
33507 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
33508 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
33509
a78bc654
DM
33510 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
33511 manipulate bits before adding and subtracting TWO112[sx].
33512 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
33513
4579f81c
RM
335142012-02-27 Roland McGrath <roland@hack.frob.com>
33515
36c8acb4
RM
33516 [BZ #13775]
33517 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
33518 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
33519 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
33520 being in POSIX, because they are in 1003.1-2008.
33521
84ad622b
RM
33522 * rt/tst-aio.c: Include <fcntl.h>.
33523 * rt/tst-aio7.c: Likewise.
33524 * rt/tst-aio64.c: Likewise.
33525
4579f81c
RM
33526 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
33527
abd923db
JM
335282012-02-27 Joseph Myers <joseph@codesourcery.com>
33529
33530 * manual/install.texi (--with-headers): Describe headers as
33531 interface headers, not private headers.
33532 (Specific advice for GNU/Linux systems): Describe use of headers
33533 from "make headers_install", not private headers from older
33534 kernels.
43be4ca2 33535 * INSTALL: Regenerated.
abd923db
JM
33536 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
33537 Change to 2.6.19.
33538 * sysdeps/unix/sysv/linux/configure: Regenerated.
33539
6664049b
JM
33540 * manual/llio.texi (fclean): Remove documentation.
33541
bb8b6697
JM
33542 * manual/Makefile (libc-texi-generated): New variable. Include
33543 version.texi.
33544 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
33545 $(libc-texi-generated), not duplicated list of files.
33546 (version.texi, stamp-version): New rules.
33547 (realclean): Remove $(libc-texi-generated), not individual files
33548 from that list. Do not remove dir-add.texinfo.
33549 * manual/libc.texinfo: Comment out uses of edition numbers and
33550 references to printed manual. Remove last-updated dates.
33551 (EDITION): Comment out.
33552 (ISBN): Likewise.
33553 (VERSION, UPDATED): Remove.
33554 (version.texi): Include.
33555
12e5c3b9
AS
335562012-02-27 Andreas Schwab <schwab@linux-m68k.org>
33557
33558 * sysdeps/posix/spawni.c: Include <signal.h>.
33559 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
33560 * sysdeps/pthread/aio_fsync.c: Likewise.
33561
4efeffc1 335622012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 33563
ba63ba08
UD
33564 * conform/Makefile (tests): Run only when not cross-compiling and
33565 when fast-check is not defined.
33566
d94a4670
UD
33567 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
33568 * conform/data/limits.h-data: Fixes for POSIX2008.
33569 * conform/run-conformtest.sh: Run all tests.
33570 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
33571 headers.
33572 * include/bits/dlfcn.h: Likewise.
33573 * include/langinfo.h: Likewise.
33574 * include/monetary.h: Likewise.
33575 * include/sys/poll.h: Likewise.
33576
33577 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
33578 for __USE_GNU.
33579 * posix/spawn.h: Define __need_sigset_t.
33580 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
33581 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
33582 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
33583 to get sigevent_t only.
33584 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
33585 only for __USE_GNU.
33586 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
33587 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
33588 process_vm_writev only for __USE_GNU.
33589 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
33590
33591 * conform/Makefile: For now ignore errors from run-conformtest.
33592 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
33593 POSIX to avoid namespace pollution. Don't prepend headers.
33594 * conform/data/aio.h-data: Fixes for POSIX testing.
33595 * conform/data/fcntl.h-data: Likewise.
33596 * conform/data/glob.h-data: Likewise.
33597 * conform/data/grp.h-data: Likewise.
33598 * conform/data/pthread.h-data: Likewise.
33599 * conform/data/pwd.h-data: Likewise.
33600 * conform/data/signal.h-data: Likewise.
33601 * conform/data/spawn.h-data: Likewise.
33602 * conform/data/stdio.h-data: Likewise.
33603 * conform/data/stdlib.h-data: Likewise.
33604 * conform/data/stropts.h-data: Likewise.
33605 * conform/data/sys/mman.h-data: Likewise.
33606 * conform/data/sys/stat.h-data: Likewise.
33607 * conform/data/sys/types.h-data: Likewise.
33608 * conform/data/sys/wait.h-data: Likewise.
33609 * conform/data/time.h-data: Likewise.
33610 * conform/data/unistd.h-data: Likewise.
33611 * conform/data/utime.h-data: Likewise.
33612
33613 * io/sys/stat.h: fchmod was always in POSIX.
33614 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
33615 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
33616 * rt/aio.h: Define __need_timespec before including <time.h>.
33617 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
33618 struct. Add forward declaration of pthread_attr_t and use it in
33619 sigevent.
33620 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
33621 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
33622 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
33623 always remove CLK_TCK definition.
33624
c20105c3
AS
336252012-02-26 Andreas Schwab <schwab@linux-m68k.org>
33626
33627 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
33628
7a270350
UD
336292012-02-25 Ulrich Drepper <drepper@gmail.com>
33630
31341567
UD
33631 * conform/run-conformtest.sh: New file.
33632 * conform/Makefile: Run run-conformtest for tests.
33633 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
33634 support.
33635
33636 * conform/data/uchar.h-data: New file.
33637 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
33638 * conform/data/arpa/inet.h-data: Likewise.
33639 * conform/data/assert.h-data: Likewise.
33640 * conform/data/complex.h-data: Likewise.
33641 * conform/data/cpio.h-data: Likewise.
33642 * conform/data/ctype.h-data: Likewise.
33643 * conform/data/dirent.h-data: Likewise.
33644 * conform/data/dlfcn.h-data: Likewise.
33645 * conform/data/errno.h-data: Likewise.
33646 * conform/data/fcntl.h-data: Likewise.
33647 * conform/data/float.h-data: Likewise.
33648 * conform/data/fmtmsg.h-data: Likewise.
33649 * conform/data/fnmatch.h-data: Likewise.
33650 * conform/data/ftw.h-data: Likewise.
33651 * conform/data/glob.h-data: Likewise.
33652 * conform/data/grp.h-data: Likewise.
33653 * conform/data/iconv.h-data: Likewise.
33654 * conform/data/inttypes.h-data: Likewise.
33655 * conform/data/langinfo.h-data: Likewise.
33656 * conform/data/libgen.h-data: Likewise.
33657 * conform/data/limits.h-data: Likewise.
33658 * conform/data/locale.h-data: Likewise.
33659 * conform/data/math.h-data: Likewise.
33660 * conform/data/monetary.h-data: Likewise.
33661 * conform/data/mqueue.h-data: Likewise.
33662 * conform/data/ndbm.h-data: Likewise.
33663 * conform/data/net/if.h-data: Likewise.
33664 * conform/data/netdb.h-data: Likewise.
33665 * conform/data/netinet/in.h-data: Likewise.
33666 * conform/data/nl_types.h-data: Likewise.
33667 * conform/data/poll.h-data: Likewise.
33668 * conform/data/pthread.h-data: Likewise.
33669 * conform/data/pwd.h-data: Likewise.
33670 * conform/data/regex.h-data: Likewise.
33671 * conform/data/sched.h-data: Likewise.
33672 * conform/data/search.h-data: Likewise.
33673 * conform/data/semaphore.h-data: Likewise.
33674 * conform/data/setjmp.h-data: Likewise.
33675 * conform/data/signal.h-data: Likewise.
33676 * conform/data/spawn.h-data: Likewise.
33677 * conform/data/stdarg.h-data: Likewise.
33678 * conform/data/stdio.h-data: Likewise.
33679 * conform/data/stdlib.h-data: Likewise.
33680 * conform/data/string.h-data: Likewise.
33681 * conform/data/strings.h-data: Likewise.
33682 * conform/data/stropts.h-data: Likewise.
33683 * conform/data/sys/ipc.h-data: Likewise.
33684 * conform/data/sys/mman.h-data: Likewise.
33685 * conform/data/sys/msg.h-data: Likewise.
33686 * conform/data/sys/resource.h-data: Likewise.
33687 * conform/data/sys/select.h-data: Likewise.
33688 * conform/data/sys/sem.h-data: Likewise.
33689 * conform/data/sys/shm.h-data: Likewise.
33690 * conform/data/sys/socket.h-data: Likewise.
33691 * conform/data/sys/stat.h-data: Likewise.
33692 * conform/data/sys/statvfs.h-data: Likewise.
33693 * conform/data/sys/time.h-data: Likewise.
33694 * conform/data/sys/timeb.h-data: Likewise.
33695 * conform/data/sys/times.h-data: Likewise.
33696 * conform/data/sys/types.h-data: Likewise.
33697 * conform/data/sys/uio.h-data: Likewise.
33698 * conform/data/sys/un.h-data: Likewise.
33699 * conform/data/sys/utsname.h-data: Likewise.
33700 * conform/data/sys/wait.h-data: Likewise.
33701 * conform/data/syslog.h-data: Likewise.
33702 * conform/data/tar.h-data: Likewise.
33703 * conform/data/termios.h-data: Likewise.
33704 * conform/data/utime.h-data: Likewise.
33705 * conform/data/utmpx.h-data: Likewise.
33706 * conform/data/varargs.h-data: Likewise.
33707 * conform/data/wchar.h-data: Likewise.
33708 * conform/data/wctype.h-data: Likewise.
33709 * conform/data/wordexp.h-data: Likewise.
33710
33711 * include/stropts.h: New file.
33712 * include/uchar.h: New file.
33713 * include/aio.h: Changes to allow conformtest.pl to use the headers.
33714 * include/assert.h: Likewise.
33715 * include/ctype.h: Likewise.
33716 * include/dirent.h: Likewise.
33717 * include/dlfcn.h: Likewise.
33718 * include/fcntl.h: Likewise.
33719 * include/fnmatch.h: Likewise.
33720 * include/glob.h: Likewise.
33721 * include/grp.h: Likewise.
33722 * include/libio.h: Likewise.
33723 * include/locale.h: Likewise.
33724 * include/math.h: Likewise.
33725 * include/net/if.h: Likewise.
33726 * include/netdb.h: Likewise.
33727 * include/netinet/in.h: Likewise.
33728 * include/pthread.h: Likewise.
33729 * include/pwd.h: Likewise.
33730 * include/regex.h: Likewise.
33731 * include/sched.h: Likewise.
33732 * include/search.h: Likewise.
33733 * include/setjmp.h: Likewise.
33734 * include/signal.h: Likewise.
33735 * include/stdio.h: Likewise.
33736 * include/stdlib.h: Likewise.
33737 * include/string.h: Likewise.
33738 * include/sys/cdefs.h: Likewise.
33739 * include/sys/mman.h: Likewise.
33740 * include/sys/msg.h: Likewise.
33741 * include/sys/resource.h: Likewise.
33742 * include/sys/select.h: Likewise.
33743 * include/sys/socket.h: Likewise.
33744 * include/sys/stat.h: Likewise.
33745 * include/sys/statvfs.h: Likewise.
33746 * include/sys/time.h: Likewise.
33747 * include/sys/times.h: Likewise.
33748 * include/sys/uio.h: Likewise.
33749 * include/sys/utsname.h: Likewise.
33750 * include/sys/wait.h: Likewise.
33751 * include/termios.h: Likewise.
33752 * include/time.h: Likewise.
33753 * include/ulimit.h: Likewise.
33754 * include/unistd.h: Likewise.
33755 * include/utime.h: Likewise.
33756 * include/wchar.h: Likewise.
33757 * include/wctype.h: Likewise.
33758 * include/wordexp.h: Likewise.
33759
33760 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
33761
7a270350
UD
33762 * time/time.h: TIME_UTC must be a macro.
33763 Make timespec_get available for ISO C11 only as well.
33764
7724defc
UD
337652012-02-24 Ulrich Drepper <drepper@gmail.com>
33766
33767 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
33768 Reported by Peng Haitao <penght@cn.fujitsu.com>.
33769
6b1d1d46
JM
337702012-02-24 Joseph Myers <joseph@codesourcery.com>
33771
33772 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 33773
0f8bbd69
JM
337742012-02-24 Joseph Myers <joseph@codesourcery.com>
33775
33776 * manual/texinfo.tex: Update to version 2012-01-19.16.
33777
66ab80bc
JM
337782012-02-24 Joseph Myers <joseph@codesourcery.com>
33779
33780 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
33781
74981cc5
RM
337822012-02-24 Roland McGrath <roland@hack.frob.com>
33783
ee968201
RM
33784 [BZ #13738]
33785 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
33786 * manual/fdl-1.3.texi: New file.
33787 * manual/fdl-1.1.texi: File removed.
33788
74981cc5
RM
33789 [BZ #13738]
33790 * manual/libc.texinfo (FDL_VERSION): New @set.
33791 Use it for mention of FDL in cover text.
33792 (Documentation License): Use it in @include file name.
33793
7bb764bc
JM
337942012-02-22 Joseph Myers <joseph@codesourcery.com>
33795 Roland McGrath <roland@hack.frob.com>
33796
33797 [BZ #5461]
33798 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
33799 not LONG_LONG_MAX and LONG_LONG_MIN.
33800 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
33801 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
33802 name.
33803 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
33804
6cbeae47
JM
338052012-02-22 Joseph Myers <joseph@codesourcery.com>
33806
33807 [BZ #2547]
33808 [BZ #11365]
33809 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
33810 manipulate bits before adding and subtracting TWO23[sx].
33811 * math/libm-test.inc (nearbyint_test): Add more tests.
33812
fe45ce09
JM
338132012-02-22 Joseph Myers <joseph@codesourcery.com>
33814
33815 [BZ #2548]
33816 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
33817 bits before adding and subtracting TWO23[sx].
33818 * math/libm-test.inc (rint_test): Add more tests.
33819 (rint_test_tonearest): Likewise.
33820 (rint_test_towardzero): Likewise.
33821 (rint_test_downward): Likewise.
33822 (rint_test_upward: Likewise.
33823
ff3b3d82
JM
338242012-02-22 Joseph Myers <joseph@codesourcery.com>
33825
33826 [BZ #10110]
33827 * include/stdc-predef.h: New file. Extracted from features.h.
33828 * include/features.h: Include stdc-predef.h.
33829 * Makefile (headers): Add stdc-predef.h.
33830 * CONFORMANCE (Compiler limitations): Update.
33831
ef0aab35
JM
338322012-02-22 Joseph Myers <joseph@codesourcery.com>
33833
33834 * manual/libc.texinfo (VERSION, UPDATED): Revert.
33835
58639409
DM
338362012-02-21 David S. Miller <davem@davemloft.net>
33837
33838 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
33839 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
33840
c0e70b25
DM
338412012-02-20 David S. Miller <davem@davemloft.net>
33842
33843 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
33844 using a normal save/restore sequence, rather than allocating a
33845 dummy stack frame just to store a frame pointer and restore.
33846 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
33847
fb06851d
JM
338482012-02-21 Joseph Myers <joseph@codesourcery.com>
33849
33850 * manual/install.texi: Fix stray word in line-wrapped comment.
33851
7a8b71c3
DM
338522012-02-20 David S. Miller <davem@davemloft.net>
33853
d510c123
DM
33854 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
33855 both binutils and gcc support GOTDATA.
33856
0722d7c2
DM
33857 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
33858 "rd %pc" in the PIC register setup sequences.
33859
3d2b3019
DM
33860 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
33861 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
33862 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
33863 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
33864 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
33865 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
33866 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
33867 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
33868 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
33869 (SYSCALL_ERROR_HANDLER): Likewise.
33870 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
33871 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
33872 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
33873 (SYSCALL_ERROR_HANDLER): Likewise.
33874
c80098a9
DM
33875 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
33876 (HAVE_GCC_GOTDATA): New.
33877 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
33878 relocation support in both binutils and gcc.
33879 * sysdeps/sparc/elf/configure: Regenerate.
33880
3a2545a0
DM
33881 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
33882 * sysdeps/sparc/sparc32/elf/configure: Delete.
33883 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
33884 * sysdeps/sparc/sparc64/elf/configure: Delete.
33885 * sysdeps/sparc/elf/configure.in: New file.
33886 * sysdeps/sparc/elf/configure: Generate.
33887
7a8b71c3
DM
33888 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
33889 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
33890 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
33891 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
33892 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
33893
f1e86fca
JM
338942012-02-21 Joseph Myers <joseph@codesourcery.com>
33895
33896 * manual/install.texi: Do not mention specific glibc version
33897 numbers.
33898 * manual/libc.texinfo (VERSION, UPDATED): Update.
33899 (@copying): Use @copyright{} and range of years.
33900
0e7dfaef
JM
339012012-02-21 Joseph Myers <joseph@codesourcery.com>
33902
33903 [BZ #13695]
33904 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
33905 [crti.S not in sysdirs] (generated): Do not append.
33906 [crti.S not in sysdirs] (omit-deps): Likewise.
33907 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
33908 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
33909 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
33910 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
33911 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
33912 Likewise.
33913 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
33914 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
33915 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
33916 * csu/defs.awk: Remove file.
33917 * sysdeps/generic/initfini.c: Likewise.
33918 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
33919 variable.
33920 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
33921 Likewise.
33922
599af3ca
JM
339232012-02-20 Joseph Myers <joseph@codesourcery.com>
33924
33925 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
33926 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
33927 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
33928 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
33929 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
33930 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
33931 <bits/epoll.h>.
33932 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
33933 (__EPOLL_PACKED): Define to empty if not defined by
33934 <bits/epoll.h>.
33935 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
33936 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33937 bits/epoll.h.
33938
0e499750
JM
339392012-02-20 Joseph Myers <joseph@codesourcery.com>
33940
33941 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
33942 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
33943 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
33944 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
33945 <bits/timerfd.h>.
33946 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
33947 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33948 bits/timerfd.h.
33949
5ad91f6e
JM
339502012-02-20 Joseph Myers <joseph@codesourcery.com>
33951
33952 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
33953 in C locale.
33954 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33955 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
33956 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
33957 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33958
06b99b02
AJ
339592012-02-20 Aurelien Jarno <aurelien@aurel32.net>
33960
33961 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33962 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
33963
7638c0fd
AS
339642012-02-19 Andreas Schwab <schwab@linux-m68k.org>
33965
33966 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
33967 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
33968 defined.
33969 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
33970 Likewise.
33971 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
33972 entry for 2.16.
33973
92221550
AJ
339742012-02-19 Aurelien Jarno <aurelien@aurel32.net>
33975
33976 * math/w_acos.c: Use non-signaling floating-point comparisons.
33977 * math/w_acosf.c: Likewise.
33978 * math/w_acosh.c: Likewise.
33979 * math/w_acoshf.c: Likewise.
33980 * math/w_acoshl.c: Likewise.
33981 * math/w_acosl.c: Likewise.
33982 * math/w_asin.c: Likewise.
33983 * math/w_asinf.c: Likewise.
33984 * math/w_asinl.c: Likewise.
33985 * math/w_atanh.c: Likewise.
33986 * math/w_atanhf.c: Likewise.
33987 * math/w_atanhl.c: Likewise.
33988 * math/w_exp2.c: Likewise.
33989 * math/w_exp2f.c: Likewise.
33990 * math/w_exp2l.c: Likewise.
33991 * math/w_j0.c: Likewise.
33992 * math/w_j0f.c: Likewise.
33993 * math/w_j0l.c: Likewise.
33994 * math/w_j1.c: Likewise.
33995 * math/w_j1f.c: Likewise.
33996 * math/w_j1l.c: Likewise.
33997 * math/w_jn.c: Likewise.
33998 * math/w_jnf.c: Likewise.
33999 * math/w_log.c: Likewise.
34000 * math/w_log10.c: Likewise.
34001 * math/w_log10f.c: Likewise.
34002 * math/w_log10l.c: Likewise.
34003 * math/w_log2.c: Likewise.
34004 * math/w_log2f.c: Likewise.
34005 * math/w_log2l.c: Likewise.
34006 * math/w_logf.c: Likewise.
34007 * math/w_logl.c: Likewise.
34008 * math/w_sqrt.c: Likewise.
34009 * math/w_sqrtf.c: Likewise.
34010 * math/w_sqrtl.c: Likewise.
34011 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
34012 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
34013 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
34014 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
34015 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
34016
ebaf36eb
JM
340172012-02-19 Joseph Myers <joseph@codesourcery.com>
34018
34019 [BZ #9739]
34020 * manual/string.texi (strnlen): Use correct parameter name in
34021 equivalent expression.
34022
71c254a6
JM
340232012-02-19 Joseph Myers <joseph@codesourcery.com>
34024
34025 [BZ #11174]
34026 * manual/users.texi (seteuid): Consistently use neweuid for
34027 argument name.
34028
16d2c631
JM
340292012-02-19 Joseph Myers <joseph@codesourcery.com>
34030
34031 [BZ #13704]
34032 * manual/nss.texi (Services in the NSS configuration): Correct
34033 list of services in example configuration file.
34034
cd837b09
NB
340352012-02-19 Nick Bowler <nbowler@draconx.ca>
34036
34037 [BZ #11322]
34038 * manual/arith.texi: Remove statements about negative zero
34039 behaving identically to zero.
34040
02c4bbad
JM
340412012-02-18 Joseph Myers <joseph@codesourcery.com>
34042
34043 [BZ #5993]
34044 * manual/install.texi: Do not document upgrading from libc5.
34045
366842e7
JM
340462012-02-18 Joseph Myers <joseph@codesourcery.com>
34047
34048 [BZ #4596]
34049 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
34050
dd54084d
DM
340512012-02-18 David S. Miller <davem@davemloft.net>
34052
34053 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
34054 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
34055 %o7 across the call.
34056 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
34057 instead.
34058 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
34059 SETUP_PIC_REG_LEAF.
34060 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34061 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
34062 * sysdeps/sparc/crtn.S: Likewise.
34063
2bcc53a3
UD
340642012-02-17 Ulrich Drepper <drepper@gmail.com>
34065
34066 * aout/Makefile: Remove.
34067
09c093b5
RK
340682012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
34069
34070 [BZ #13058]
34071 * manual/examples/argp-ex1.c (main): Format definition in GNU
34072 style.
34073 * manual/examples/argp-ex2.c (main): Likewise.
34074 * manual/examples/argp-ex3.c (main): Likewise.
34075 * manual/examples/argp-ex4.c (main): Likewise.
34076 * manual/examples/longopt.c (main): Use new-style prototype
34077 definition.
34078 * manual/examples/strncat.c (main): Specify return type and use
34079 (void) for arguments.
34080 * manual/examples/subopt.c (main): Use char **argv argument.
34081
2ee633a2
JM
340822012-02-17 Joseph Myers <joseph@codesourcery.com>
34083
34084 [BZ #5077]
34085 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
34086 rounding modes.
34087
0520adde
FB
340882012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
34089
34090 [BZ #6907]
34091 * manual/string.texi (strchr): Change when strchrnul is
34092 recommended.
34093
3f4081cd
DGM
340942012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
34095
34096 [BZ #174]
34097 * manual/locale.texi (setlocale): Document LOCPATH.
34098
d1b10e78
JM
340992012-02-17 Joseph Myers <joseph@codesourcery.com>
34100
34101 [BZ #10210]
34102 * manual/process.texi (execle): Move @dots{} before last argument.
34103
79c6869c
PB
341042012-02-17 Paul Bolle <pebolle@tiscali.nl>
34105
34106 [BZ #12047]
34107 * manual/charset.texi (Generic Charset Conversion): Fix typo
34108 (LC_TYPE -> LC_CTYPE).
34109
cc6e48bc
NB
341102012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
34111
34112 [BZ #5805]
34113 * manual/arith.texi (scalbn): Use @var{} on parameter names.
34114 (scalbnf): Likewise.
34115 (scalbnl): Likewise.
34116 (scalbln): Likewise.
34117 (scalblnf): Likewise.
34118 (scalblnl): Likewise.
34119 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
34120 (vwarnx): Likewise.
34121 (verr): Likewise.
34122 (verrx): Likewise.
34123 * manual/filesys.texi (telldir): Use braces around return type.
34124 * manual/llio.texi (mmap): Add space after comma.
34125 (mmap64): Likewise.
34126 * manual/math.texi (jn): Use @var{} on parameter names.
34127 (jnf): Likewise.
34128 (jnl): Likewise.
34129 (yn): Likewise.
34130 (ynf): Likewise.
34131 (ynl): Likewise.
34132 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
34133 line.
34134 * manual/resource.texi (ulimit): Use @dots{} instead of literal
34135 "...".
34136 (sched_get_priority_min): Remove semicolon on @deftypefun line.
34137 (sched_get_priority_max): Likewise.
34138 * manual/signal.texi (sigvec): Add space after comma.
34139 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
34140 names.
34141 (if_indextoname): Likewise.
34142 (if_freenameindex): Likewise.
34143 (sendto): Use ',' instead of '.' in prototype.
34144 * manual/startup.texi (syscall): Use @dots{} instead of literal
34145 "...".
34146 * manual/stdio.texi (__fpending): Separate initial words of
34147 paragraph from @deftypefun line.
34148 * manual/syslog.texi (syslog): Use @dots{} instead of literal
34149 "...".
34150 (vsyslog): Use @var{} on parameter names.
34151 * manual/terminal.texi (stty): Use @var{} on parameter names.
34152 * manual/users.texi (getutmp): Use @var{} on parameter names.
34153 (getutmpx): Likewise.
34154
5b23062f
JM
341552012-02-17 Joseph Myers <joseph@codesourcery.com>
34156
34157 [BZ #6884]
34158 * manual/stdio.texi (fopen): Fix typos in description of
34159 ",ccs=STRING".
34160
8dee4833
AJ
341612012-02-17 Aurelien Jarno <aurelien@aurel32.net>
34162
34163 [BZ #4026]
34164 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
34165 get clock_id definition.
34166
9078ce93
TS
341672012-02-17 Thomas Schwinge <thomas@schwinge.name>
34168
34169 [BZ #4822]
34170 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
34171 (madvise): Cast every argument to void on its own.
34172
3835c55f
JM
341732012-02-17 Joseph Myers <joseph@codesourcery.com>
34174
34175 [BZ #9902]
34176 * manual/startup.texi (Exit Status): Fix typo.
34177
35c47e37
JM
341782012-02-17 Joseph Myers <joseph@codesourcery.com>
34179
34180 [BZ #10140]
34181 * manual/examples/argp-ex1.c: Include <stdlib.h>.
34182 * manual/examples/argp-ex2.c: Likewise.
34183 * manual/examples/argp-ex3.c: Likewise.
34184
e3b69ca7
RH
341852012-02-16 Richard Henderson <rth@redhat.com>
34186
34187 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
34188 * sysdeps/s390/s390-32/initfini.c: Remove.
34189 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
34190 * sysdeps/s390/s390-64/initfini.c: Remove.
34191
df83af67
KK
341922012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
34193
34194 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
34195 compiler output for sysdeps/generic/initfini.c.
34196 * sysdeps/sh/elf/initfini.c: Remove file.
34197
f63f3380
DM
341982012-02-16 David S. Miller <davem@davemloft.net>
34199
fb59b3a4
DM
34200 [BZ #11494]
34201 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
34202
f63f3380
DM
34203 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
34204 * sysdeps/sparc/crti.S: New file.
34205 * sysdeps/sparc/crtn.S: New file.
34206 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
34207 * sysdeps/sparc/sparc64/Makefile: Likewise.
34208
df6a4a4a
MF
342092012-02-15 Mike Frysinger <vapier@gentoo.org>
34210
6dd8f3dc 34211 [BZ #3335]
df6a4a4a
MF
34212 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
34213
1cac7236
RM
342142012-02-15 Roland McGrath <roland@hack.frob.com>
34215
d2c736f8
RM
34216 [BZ #4822]
34217 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
34218
1cac7236
RM
34219 * mach/devstream.c (cookie_io_functions_t): Macro removed.
34220 (write, read, close): Likewise.
34221 Patch by Aurelien Jarno <aurelien@aurel32.net>.
34222
8e475601
JM
342232012-02-15 Joseph Myers <joseph@codesourcery.com>
34224
34225 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
34226 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
34227 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
34228 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
34229 <bits/signalfd.h>.
34230 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
34231 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34232 bits/signalfd.h.
34233
ed656b40
MP
342342012-02-14 Marek Polacek <polacek@redhat.com>
34235
34236 * sysdeps/x86_64/crti.S: New file.
34237 * sysdeps/x86_64/crtn.S: New file.
34238 * sysdeps/x86_64/elf/initfini.c: Remove file.
34239
2a979d3a
JM
342402012-02-13 Joseph Myers <joseph@codesourcery.com>
34241
34242 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
34243 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
34244 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
34245 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
34246 <bits/inotify.h>.
34247 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
34248 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34249 bits/inotify.h.
34250
2a418ac3
JM
342512012-02-13 Joseph Myers <joseph@codesourcery.com>
34252
34253 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
34254 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
34255 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
34256 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
34257 <bits/eventfd.h>.
34258 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
34259 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34260 bits/eventfd.h.
34261
fb779be7
TS
342622012-02-10 Thomas Schwinge <thomas@codesourcery.com>
34263
e19e83c5
RM
34264 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
34265 __feraiseexcept instead of feraiseexcept.
7c35ffed 34266
fb779be7
TS
34267 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
34268 nanosleep invocations.
34269 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
34270 strings, and add error checking for a nanosleep invocations.
34271
59ba27a6
PE
342722012-02-09 Paul Eggert <eggert@cs.ucla.edu>
34273
34274 Replace FSF snail mail address with URLs, as per GNU coding standards.
34275 Most of the snail mail addresses were wrong anyway, and omitting
34276 them makes the source code easier to maintain. Almost all of the
34277 changes are to license notices and to locale LC_IDENTIFICATION
34278 addresses, except for this one:
34279 * manual/libc.texinfo: In "Published by", give the FSF's URL,
34280 not its snail mail address.
34281
57b957eb
RH
342822012-02-09 Richard Henderson <rth@twiddle.net>
34283
af850b1c
RH
34284 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
34285 of kernel-features.h.
34286
57b957eb
RH
34287 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
34288
6b73181a
MP
342892012-02-08 Marek Polacek <polacek@redhat.com>
34290
34291 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
34292 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
34293 * sysdeps/gnu/_G_config.h: Likewise.
34294 * sysdeps/generic/_G_config.h: Likewise.
34295
26ecc33a
AS
342962012-02-08 Andreas Schwab <schwab@linux-m68k.org>
34297
6c6dbc63
AS
34298 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
34299 tests.
34300 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34301
e216c012
AS
34302 * sysdeps/powerpc/powerpc32/crti.S: New file.
34303 * sysdeps/powerpc/powerpc32/crtn.S: New file.
34304 * sysdeps/powerpc/powerpc64/crti.S: New file.
34305 * sysdeps/powerpc/powerpc64/crtn.S: New file.
34306
26ecc33a
AS
34307 * Makeconfig (have-initfini): Don't set.
34308 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
34309 * configure.in (nopic_initfini): Don't substitute.
34310 * config.h.in (HAVE_INITFINI): Don't #undef.
34311 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
34312 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
34313
3add8e13
JM
343142012-02-08 Joseph Myers <joseph@codesourcery.com>
34315
34316 Support crti.S and crtn.S provided directly by architectures.
34317 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
34318 [crti.S in sysdirs] (omit-deps): Likewise.
34319 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
34320 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
34321 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
34322 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
34323 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
34324 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
34325 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
34326 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
34327 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
34328 compiler output for sysdeps/generic/initfini.c.
34329 * sysdeps/i386/elf/Makefile: Remove file.
34330 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
34331
a22f12b4
MP
343322012-02-07 Marek Polacek <polacek@redhat.com>
34333
34334 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
34335 * sysdeps/gnu/_G_config.h: Likewise.
34336 * sysdeps/mach/hurd/_G_config.h: Likewise.
34337
148cf100
MP
343382012-02-07 Marek Polacek <polacek@redhat.com>
34339
34340 * math/Makefile (tests): Add tst-CMPLX2.
34341 * math/tst-CMPLX2.c: New file.
34342
cfdc0dd7
AS
343432012-02-07 Andreas Schwab <schwab@linux-m68k.org>
34344
84ba42c4
AS
34345 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34346
cfdc0dd7
AS
34347 * math/libm-test.inc (jn_test): Add missing L suffix.
34348
622c86f4
MP
343492012-02-06 Marek Polacek <polacek@redhat.com>
34350
34351 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
34352 * sysdeps/i386/fpu/e_powf.S: Likewise.
34353 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
34354 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
34355 * sysdeps/i386/fpu/e_acosh.S: Likewise.
34356 * sysdeps/i386/fpu/e_pow.S: Likewise.
34357 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
34358 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
34359 * sysdeps/i386/fpu/s_expm1.S: Likewise.
34360 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
34361 * sysdeps/i386/fpu/e_log2.S: Likewise.
34362 * sysdeps/i386/fpu/e_log2l.S: Likewise.
34363 * sysdeps/i386/fpu/e_scalb.S: Likewise.
34364 * sysdeps/i386/fpu/e_powl.S: Likewise.
34365 * sysdeps/i386/fpu/s_log1p.S: Likewise.
34366 * sysdeps/i386/fpu/e_log10f.S: Likewise.
34367 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
34368 * sysdeps/i386/fpu/e_logl.S: Likewise.
34369 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
34370 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
34371 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
34372 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
34373 * sysdeps/i386/fpu/e_log2f.S: Likewise.
34374 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
34375 * sysdeps/i386/fpu/e_log.S: Likewise.
34376 * sysdeps/i386/fpu/s_cexp.S: Likewise.
34377 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
34378 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
34379 * sysdeps/i386/fpu/e_logf.S: Likewise.
34380 * sysdeps/i386/fpu/e_log10l.S: Likewise.
34381 * sysdeps/i386/fpu/e_atanh.S: Likewise.
34382 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
34383 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
34384 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
34385 * sysdeps/i386/fpu/e_log10.S: Likewise.
34386 * sysdeps/i386/fpu/s_frexp.S: Likewise.
34387 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
34388 * sysdeps/i386/fpu/s_asinh.S: Likewise.
34389 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
34390 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
34391 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
34392 * sysdeps/i386/asm-syntax.h: Likewise.
34393 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
34394 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
34395 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
34396 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
34397 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
34398 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
34399 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
34400 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
34401 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
34402 * sysdeps/powerpc/sysdep.h: Likewise.
34403 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
34404 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
34405
d4a54ac6
JM
344062012-02-06 Joseph Myers <joseph@codesourcery.com>
34407
34408 [BZ #411]
34409 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
34410
314054ea
JM
344112012-02-06 Joseph Myers <joseph@codesourcery.com>
34412
34413 * sysdeps/i386/sysdep.h: Include <features.h>.
34414 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
34415 version.
34416
d8e0ca50
JM
344172012-02-05 Joseph Myers <joseph@codesourcery.com>
34418
34419 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
34420 Define.
34421 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
34422 LOAD_PIC_REG_STR.
34423
b1da7dd9
JM
344242012-02-03 Joseph Myers <joseph@codesourcery.com>
34425
34426 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
34427 (SETUP_PIC_REG): Use GET_PC_THUNK.
34428 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
34429 macro.
34430
9a1d9254
JM
344312012-02-03 Joseph Myers <joseph@codesourcery.com>
34432
34433 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
34434 for non-PIC compilation.
34435 (SETUP_PIC_REG): Add .p2align directive.
34436 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
34437 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
34438 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
34439 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
34440 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
34441 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
34442 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
34443 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
34444 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
34445 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
34446 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
34447 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
34448 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
34449 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
34450 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
34451 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
34452 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
34453 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
34454 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
34455 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
34456 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
34457 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
34458 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
34459 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
34460 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
34461 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
34462 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
34463 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
34464 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
34465 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
34466 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
34467 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
34468 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
34469 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
34470 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
34471 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
34472 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
34473 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
34474 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
34475 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
34476 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
34477
65dc3b75
JM
344782012-02-03 Joseph Myers <joseph@codesourcery.com>
34479
34480 * math/tst-CMPLX.c: Include <stdio.h>.
34481
d55bf177
JM
344822012-01-31 Joseph Myers <joseph@codesourcery.com>
34483
34484 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
34485 float.
34486 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
34487 * sysdeps/sparc/bits/mathdef.h: Likewise.
34488
69db4f8f
MP
344892012-01-31 Marek Polacek <polacek@redhat.com>
34490
34491 * libio/libio.h: Don't define _PARAMS.
34492 * locale/programs/config.h: Don't define PARAMS.
34493 * stdlib/strtol_l.c: Likewise.
34494 (__strtol_l): Remove PARAMS from the prototype.
34495
41b81892
UD
344962012-01-31 Ulrich Drepper <drepper@gmail.com>
34497
3b49edc0
UD
34498 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
34499 names. Just use the correct names. Remove unnecessary wrapper
34500 functions.
34501 * malloc/arena.c: Likewise.
34502 * malloc/hooks.c: Likewise.
34503
41b81892
UD
34504 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
34505 ARENA_TEST says not to. Simplify test for creation of a new arena.
34506 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
34507
27a25b6e
UD
345082012-01-30 Ulrich Drepper <drepper@gmail.com>
34509
34510 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
34511 into tail calls.
34512 (update_get_addr): New function.
34513 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
34514 GET_ADDR_MODULE parameter.
34515
c8a89e7d
JM
345162012-01-30 Joseph Myers <joseph@codesourcery.com>
34517
34518 * crypt/cert.c: Remove __STDC__ conditionals.
34519 * crypt/crypt-entry.c: Likewise.
34520 * crypt/crypt_util.c: Likewise.
34521 * libio/filedoalloc.c: Likewise.
34522 * libio/fileops.c: Likewise.
34523 * libio/genops.c: Likewise.
34524 * libio/iofclose.c: Likewise.
34525 * libio/iofdopen.c: Likewise.
34526 * libio/iofopen.c: Likewise.
34527 * libio/iofopen64.c: Likewise.
34528 * libio/iogetdelim.c: Likewise.
34529 * libio/iopopen.c: Likewise.
34530 * libio/obprintf.c: Likewise.
34531 * libio/oldfileops.c: Likewise.
34532 * libio/oldiofclose.c: Likewise.
34533 * libio/oldiofdopen.c: Likewise.
34534 * libio/oldiofopen.c: Likewise.
34535 * libio/oldiopopen.c: Likewise.
34536 * libio/wfiledoalloc.c: Likewise.
34537 * libio/wgenops.c: Likewise.
34538 * locale/programs/xmalloc.c: Likewise.
34539 * misc/syslog.c: Likewise.
34540 * stdio-common/xbug.c: Likewise.
34541 * string/memchr.c: Likewise.
34542 * string/memcmp.c: Likewise.
34543 * string/memrchr.c: Likewise.
34544 * string/rawmemchr.c: Likewise.
34545 * sysdeps/posix/getcwd.c: Likewise.
34546 * time/strftime_l.c: Likewise.
34547
3b100462
JM
345482012-01-30 Joseph Myers <joseph@codesourcery.com>
34549
34550 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
34551 * config.make.in (config-cflags-sse2avx): Define.
34552 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
34553 Fix typo.
34554
607998af
CM
345552012-01-29 Chris Metcalf <cmetcalf@tilera.com>
34556
34557 * scripts/config.guess: Update from upstream config git repository.
34558 * scripts/config.sub: Likewise.
34559
3601428f
CM
345602012-01-28 Chris Metcalf <cmetcalf@tilera.com>
34561
3ac8b282
CM
34562 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
34563 (EM_NUM): Update.
34564 (R_TILEPRO_*, R_TILEGX_*): New macros.
34565
e034841e
CM
34566 * scripts/firstversions.awk: Fix bug in version range handling.
34567
540d7568
CM
34568 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
34569
3601428f
CM
34570 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
34571
463de862
CM
34572 * include/sys/epoll.h: New file.
34573 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
34574 libc_hidden_def.
34575
73139a76
UD
345762012-01-28 Ulrich Drepper <drepper@gmail.com>
34577
96bc5b45
UD
34578 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
34579 Avoid unnecessary __WORDSIZE == 64 test.
34580 (fmaxf): Use VEX format if possible.
34581 (fmax): Likewise.
34582 (fminf): Likewise.
34583 (fmin): Likewise.
34584
56f6f6a2
UD
34585 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
34586 * math/math_private.h: Remove libc_fegetround* and
34587 libc_fesetround*.
34588 * sysdeps/i386/configure.in: Check for -msse2avx.
34589 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
34590 also if SSE2AVX is defined.
34591 Remove libc_fegetround* and libc_fesetround*.
34592 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
34593 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
34594 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
34595 of HAS_YMM_USABLE.
34596 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
34597 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
34598 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
34599 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
34600 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
34601
73139a76
UD
34602 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
34603
d73f93a4
AZ
346042012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34605
34606 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
34607 size is not set.
34608 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
34609
6ee65ed6
UD
346102012-01-27 Ulrich Drepper <drepper@gmail.com>
34611
34612 [BZ #13618]
34613 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
34614 relocation.
34615 * Makeconfig (libm): Define.
34616 * elf/Makefile: Add rules to build and run tst-relsort1.
34617 * elf/tst-relsort1.c: New file.
34618 * elf/tst-relsort1mod1.c: New file.
34619 * elf/tst-relsort1mod2.c: New file.
34620
8db21882
JM
346212012-01-27 Joseph Myers <joseph@codesourcery.com>
34622
34623 * math/s_ldexp.c: Remove __STDC__ conditionals.
34624 * math/s_ldexpf.c: Likewise.
34625 * math/s_ldexpl.c: Likewise.
34626 * math/s_nextafter.c: Likewise.
34627 * math/s_nexttowardf.c: Likewise.
34628 * math/s_significand.c: Likewise.
34629 * math/s_significandf.c: Likewise.
34630 * math/s_significandl.c: Likewise.
34631 * math/w_jnl.c: Likewise.
34632 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
34633 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
34634 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
34635 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
34636 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
34637 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
34638 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
34639 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
34640 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
34641 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
34642 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
34643 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
34644 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
34645 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
34646 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
34647 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
34648 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
34649 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
34650 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
34651 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
34652 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
34653 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
34654 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
34655 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
34656 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
34657 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
34658 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
34659 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
34660 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
34661 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
34662 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
34663 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
34664 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
34665 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
34666 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
34667 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
34668 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
34669 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
34670 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
34671 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
34672 * sysdeps/ieee754/k_standard.c: Likewise.
34673 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
34674 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
34675 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
34676 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
34677 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
34678 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
34679 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
34680 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
34681 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
34682 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
34683 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
34684 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
34685 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
34686 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
34687 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
34688 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
34689 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
34690 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
34691 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
34692 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
34693 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
34694 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
34695 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
34696 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
34697 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
34698 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
34699 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
34700 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
34701 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
34702 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
34703 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
34704 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
34705 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
34706 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
34707 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
34708 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
34709 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
34710 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
34711 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
34712 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
34713 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
34714 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
34715 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
34716 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
34717 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
34718 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
34719 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
34720 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
34721 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
34722 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
34723 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
34724 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
34725 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
34726 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
34727 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
34728 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
34729 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
34730 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
34731 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
34732 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
34733 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
34734 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
34735 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
34736 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
34737 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
34738 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
34739 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
34740 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
34741 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
34742 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
34743 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
34744 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
34745 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
34746 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
34747 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
34748 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
34749 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
34750 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
34751 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
34752 * sysdeps/ieee754/s_matherr.c: Likewise.
34753 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
34754 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
34755 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
34756 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
34757
965a54a4
JM
347582012-01-26 Joseph Myers <joseph@codesourcery.com>
34759
34760 * crypt/md5.h: Remove __STDC__ conditionals.
34761 * libio/libioP.h: Likewise.
34762 * locale/programs/config.h: Likewise.
34763 * sysdeps/generic/sysdep.h: Likewise.
34764 * sysdeps/i386/asm-syntax.h: Likewise.
34765 * sysdeps/s390/asm-syntax.h: Likewise.
34766 * sysdeps/unix/sysdep.h: Likewise.
34767 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
34768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
34769
7071ad79
JM
347702012-01-26 Joseph Myers <joseph@codesourcery.com>
34771
34772 * libio/libio.h: Remove __STDC__ conditionals.
34773 * malloc/obstack.h: Likewise.
34774 * math/complex.h: Likewise.
34775 * math/math.h: Likewise.
34776 * sysdeps/generic/_G_config.h: Likewise.
34777 * sysdeps/gnu/_G_config.h: Likewise.
34778 * sysdeps/mach/hurd/_G_config.h: Likewise.
34779 * sysdeps/powerpc/bits/mathdef.h: Likewise.
34780 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
34781 * sysdeps/sparc/bits/mathdef.h: Likewise.
34782
afc5ed09
UD
347832012-01-26 Ulrich Drepper <drepper@gmail.com>
34784
34785 [BZ #13583]
34786 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 34787 Clean up HAS_* macros.
afc5ed09 34788 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
34789 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
34790 possible.
34791 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
34792 HAS_AVX.
34793 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
34794 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
34795 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
34796 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
34797 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 34798
bdb6de1d
JM
347992012-01-25 Joseph Myers <joseph@codesourcery.com>
34800
34801 * elf/tst-unique3.cc (gets): Remove declaration.
34802 * elf/tst-unique3lib.cc (gets): Likewise.
34803 * elf/tst-unique3lib2.cc (gets): Likewise.
34804 * elf/tst-unique4.cc (gets): Likewise.
34805
b15549e6
UD
348062012-01-24 Ulrich Drepper <drepper@gmail.com>
34807
34808 * include/stdio.h: Add C++ protection. Add gets declarations and
34809 definitions.
34810 * debug/tst-chk1.c: Don't declare gets here.
34811 * stdio-common/tst-gets.c: Likewise.
34812
a037381f
JM
348132012-01-24 Joseph Myers <joseph@codesourcery.com>
34814
34815 * posix/glob: Remove directory.
34816
f1d4aa75
JM
348172012-01-24 Joseph Myers <joseph@codesourcery.com>
34818
34819 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
34820
81c0c964
PT
348212012-01-22 Pino Toscano <toscano.pino@tiscali.it>
34822
34823 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
34824 of the non-standard EPFNOSUPPORT.
34825
0ea698ae
ST
348262011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
34827
34828 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
34829 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
34830 ANYWHERE set to 1 only on KERN_NO_SPACE error.
34831
d220b117
UD
348322012-01-21 Ulrich Drepper <drepper@gmail.com>
34833
34834 * wcsmbs/uchar.h: Test __STDC_VERSION__.
34835
3e1aa84e
UD
348362012-01-20 Ulrich Drepper <drepper@gmail.com>
34837
34838 * nscd/aicache.c (addhstaiX): Do not cache negative results of
34839 transient errors.
34840 * nscd/grpcache.c (cache_addgr): Likewise.
34841 * nscd/hstcache.c (cache_addhst): Likewise.
34842 * nscd/initgrcache.c (addinitgroupsX): Likewise.
34843 * nscd/pwdcache.c (cache_addpw): Likewise.
34844 * nscd/servicescache.c (cache_addserv): Likewise.
34845
400aa020
UD
348462012-01-16 Ulrich Drepper <drepper@gmail.com>
34847
d77e7869
UD
34848 * malloc/malloc.c: Various cleanups.
34849 * malloc/hooks.c: Likewise.
34850
400aa020
UD
34851 * stdlib/Makefile (tests): Add bug-fmtmsg1.
34852 * stdlib/bug-fmtmsg1.c: New file.
34853
34854 * stdlib/fmtmsg.c (init): Add missing unlock.
34855 Patch by Peng Haitao <penght@cn.fujitsu.com>.
34856
e0a309cf
MP
348572012-01-12 Marek Polacek <polacek@redhat.com>
34858
34859 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
34860 and _GNU_SOURCE.
34861
929d11c7
WS
348622012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
34863
34864 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
34865 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
34866 macro to ensure uniqueness of label name.
34867 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
34868 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
34869
41d0e869
UD
348702012-01-11 Ulrich Drepper <drepper@gmail.com>
34871
0cc5ed3b
UD
34872 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
34873
41d0e869
UD
34874 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
34875 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
34876 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
34877 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
34878
a47a831a
UD
348792012-01-10 Ulrich Drepper <drepper@gmail.com>
34880
daa891c0
UD
34881 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
34882
34883 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
34884 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
34885 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
34886
e58ef0f2
UD
34887 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
34888
a47a831a 34889 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
34890 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
34891 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 34892 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
34893
34894 * math/bits/math-finite.h: Add ldexp support.
34895
a0bfc9c7
MP
348962012-01-10 Marek Polacek <polacek@redhat.com>
34897
34898 * locale/programs/localedef.h (show_archive_content): Add noreturn
34899 attribute.
34900
d6e97a1d
UD
349012012-01-09 Ulrich Drepper <drepper@gmail.com>
34902
34903 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
34904
d5835c26
UD
349052012-01-08 Ulrich Drepper <drepper@gmail.com>
34906
e5f484c6
UD
34907 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
34908
d5835c26
UD
34909 * io/Makefile (headers): Add bits/poll2.h.
34910
d1f741e9
WS
349112011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
34912
34913 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
34914 typo #include statement.
34915
ec09c1c4
UD
349162012-01-08 Ulrich Drepper <drepper@gmail.com>
34917
34918 * include/sys/cdefs.h: Define __attribute_alloc_size.
34919 * catgets/gencat.c: Add alloc_size attribute and apply consistently
34920 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
34921 * elf/pldd.c: Likewise.
34922 * iconv/iconv_charmap.c: Likewise.
34923 * iconv/iconvconfig.c: Likewise.
34924 * iconv/strtab.c: Likewise.
34925 * locale/programs/locale.c: Likewise.
34926 * locale/programs/localedef.h: Likewise.
34927 * locale/programs/simple-hash.c: Likewise.
34928 * nscd/nscd.h: Likewise.
34929 * nss/makedb.c: Likewise.
34930 * sysdeps/generic/ldconfig.h: Likewise.
34931 * locale/programs/localedef.c: Remove xmalloc prototype.
34932 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
34933
20b38e03
PP
349342012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
34935
34936 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
34937 appropriate.
34938
a0da5fe1
UD
349392012-01-08 Ulrich Drepper <drepper@gmail.com>
34940
1d5a644a 34941 * math/Makefile (tests): Add tst-CMPLX.
669704fd 34942 * math/tst-CMPLX.c: New file.
1d5a644a 34943
8784a6db
UD
34944 * math/complex.h (CMPLXL): Fix typo.
34945
d9a216c0
UD
34946 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
34947 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
34948 GLIBC_2.16.
34949 * debug/tst-chk1.c: Add poll and ppoll tests.
34950 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
34951 * include/sys/poll.h: Add hidden proto for ppoll.
34952 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
34953 * sysdeps/mach/hurd/ppoll.c: Likewise.
34954 * io/ppoll.c: Likewise.
34955 * debug/poll_chk.c: New file.
34956 * debug/ppoll_chk.c: New file.
34957 * include/bits/poll2.h: New file.
34958 * io/bits/poll2.h: New file.
34959
ac097f5c
UD
34960 [BZ #1350]
34961 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
34962
2119dcfa
UD
34963 * configure.in: static is always set to yes. Remove.
34964 * config.make.in: Don't set build-static.
34965 * Makeconfig: Remove use of build-static.
34966 * dlfcn/Makefile: Likewise.
34967 * elf/Makefile: Likewise.
34968 * math/Makefile: Likewise.
34969 * misc/Makefile: Likewise.
34970 * nptl/Makefile: Likewise.
34971 * sysdeps/mach/hurd/Makefile: Likewise.
34972
121766a9
UD
34973 * configure.in: PWD_P is not used anymore.
34974 * config.make.in: Remove PWD_P entry.
34975
51a1d39c 34976 * configure.in: Remove last remnants of RANLIB.
8720d066 34977 No need to check for signed size_t anymore.
215f4bdc
UD
34978 Don't set libc_commonpagesize and libc_relro_required here for Alpha
34979 and IA-64.
3857022a 34980 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
34981 * aclocal.m4: Likewise.
34982
d3ed7225
UD
34983 * wcsmbs/mbrtoc16.c: Implement using towc function.
34984 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
34985 * wcsmbs/wcsmbsload.c: Likewise.
34986 * iconv/gconv_simple.c: Likewise.
34987 * iconv/gconv_int.h: Likewise.
34988 * iconv/gconv_builtin.h: Likewise.
34989 * iconv/iconv_prog.c: Remove CHAR16 handling.
34990
34991 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
34992
34993 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
34994
a0da5fe1
UD
34995 * configure.in: Remove --with-elf and --enable-bounded options.
34996 Dont set base_machine for ia64. More non-ELF conditions removed.
34997 Remove testing and setting of leading underscore information.
34998 * config.make.in (build-bounded): Set to no.
34999 * config.h.in: Remove NO_UNDERSCORES entry.
35000 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
35001 them.
35002 * csu/start.c: Remove !NO_UNDERSCORE code.
35003 * locale/localeinfo.h: Likewise.
35004 * sysdeps/generic/machine-gmon.h: Likewise.
35005 * sysdeps/generic/sysdep.h: Likewise.
35006 * sysdeps/i386/sysdep.h: Likewise.
35007 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
35008 * sysdeps/mach/sysdep.h: Likewise.
35009 * sysdeps/s390/s390-32/sysdep.h: Likewise.
35010 * sysdeps/s390/s390-64/sysdep.h: Likewise.
35011 * sysdeps/sh/sysdep.h: Likewise.
35012 * sysdeps/sparc/sparc32/alloca.S: Likewise.
35013 * sysdeps/unix/i386/sysdep.S: Likewise.
35014 * sysdeps/unix/sparc/start.c: Likewise.
35015 * sysdeps/unix/sparc/sysdep.S: Likewise.
35016 * sysdeps/unix/sparc/sysdep.h: Likewise.
35017 * sysdeps/unix/start.c: Likewise.
35018 * sysdeps/unix/x86_64/sysdep.S: Likewise.
35019 * sysdeps/x86_64/sysdep.h: Likewise.
35020
df78418a
UD
350212012-01-07 Ulrich Drepper <drepper@gmail.com>
35022
a784e502
UD
35023 [BZ #13553]
35024 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
35025 for non-gcc.
35026 * argp/argp-fmtstream.h: Use const instead __const.
35027 * argp/argp.h: Likewise.
35028 * assert/assert.h: Likewise.
35029 * bits/fenv.h: Likewise.
35030 * bits/sched.h: Likewise.
35031 * bits/sigset.h: Likewise.
35032 * bits/sigthread.h: Likewise.
35033 * catgets/nl_types.h: Likewise.
35034 * conform/data/pthread.h-data: Likewise.
35035 * crypt/crypt-private.h: Likewise.
35036 * crypt/crypt.h: Likewise.
35037 * crypt/crypt_util.c: Likewise.
35038 * ctype/ctype.h: Likewise.
35039 * debug/execinfo.h: Likewise.
35040 * debug/mbsnrtowcs_chk.c: Likewise.
35041 * debug/mbsrtowcs_chk.c: Likewise.
35042 * debug/wcsnrtombs_chk.c: Likewise.
35043 * debug/wcsrtombs_chk.c: Likewise.
35044 * debug/wcstombs_chk.c: Likewise.
35045 * dirent/dirent.h: Likewise.
35046 * dlfcn/dlfcn.h: Likewise.
35047 * elf/neededtest4.c: Likewise.
35048 * grp/grp.h: Likewise.
35049 * gshadow/gshadow.h: Likewise.
35050 * iconv/gconv.h: Likewise.
35051 * iconv/gconv_int.h: Likewise.
35052 * iconv/gconv_simple.c: Likewise.
35053 * iconv/iconv.h: Likewise.
35054 * iconv/loop.c: Likewise.
35055 * iconv/skeleton.c: Likewise.
35056 * include/aio.h: Likewise.
35057 * include/aliases.h: Likewise.
35058 * include/argz.h: Likewise.
35059 * include/arpa/inet.h: Likewise.
35060 * include/assert.h: Likewise.
35061 * include/dirent.h: Likewise.
35062 * include/dlfcn.h: Likewise.
35063 * include/execinfo.h: Likewise.
35064 * include/fcntl.h: Likewise.
35065 * include/fenv.h: Likewise.
35066 * include/glob.h: Likewise.
35067 * include/grp.h: Likewise.
35068 * include/libintl.h: Likewise.
35069 * include/mntent.h: Likewise.
35070 * include/netdb.h: Likewise.
35071 * include/pwd.h: Likewise.
35072 * include/rpc/netdb.h: Likewise.
35073 * include/sched.h: Likewise.
35074 * include/search.h: Likewise.
35075 * include/shadow.h: Likewise.
35076 * include/signal.h: Likewise.
35077 * include/stdio.h: Likewise.
35078 * include/stdlib.h: Likewise.
35079 * include/string.h: Likewise.
35080 * include/sys/socket.h: Likewise.
35081 * include/sys/stat.h: Likewise.
35082 * include/sys/statfs.h: Likewise.
35083 * include/sys/statvfs.h: Likewise.
35084 * include/sys/syslog.h: Likewise.
35085 * include/sys/time.h: Likewise.
35086 * include/sys/uio.h: Likewise.
35087 * include/time.h: Likewise.
35088 * include/unistd.h: Likewise.
35089 * include/utmp.h: Likewise.
35090 * include/wchar.h: Likewise.
35091 * include/wctype.h: Likewise.
35092 * inet/aliases.h: Likewise.
35093 * inet/arpa/inet.h: Likewise.
35094 * inet/netinet/ether.h: Likewise.
35095 * inet/netinet/in.h: Likewise.
35096 * intl/libintl.h: Likewise.
35097 * io/bits/fcntl2.h: Likewise.
35098 * io/fcntl.h: Likewise.
35099 * io/ftw.h: Likewise.
35100 * io/sys/poll.h: Likewise.
35101 * io/sys/stat.h: Likewise.
35102 * io/sys/statfs.h: Likewise.
35103 * io/sys/statvfs.h: Likewise.
35104 * io/utime.h: Likewise.
35105 * libio/bits/stdio.h: Likewise.
35106 * libio/bits/stdio2.h: Likewise.
35107 * libio/libio.h: Likewise.
35108 * libio/libioP.h: Likewise.
35109 * libio/stdio.h: Likewise.
35110 * locale/lc-ctype.c: Likewise.
35111 * locale/locale.h: Likewise.
35112 * login/utmp.h: Likewise.
35113 * malloc/arena.c: Likewise.
35114 * malloc/malloc.c: Likewise.
35115 * malloc/malloc.h: Likewise.
35116 * malloc/mcheck.c: Likewise.
35117 * malloc/mtrace.c: Likewise.
35118 * math/bits/mathcalls.h: Likewise.
35119 * math/fenv.h: Likewise.
35120 * math/math_private.h: Likewise.
35121 * misc/bits/error.h: Likewise.
35122 * misc/bits/syslog.h: Likewise.
35123 * misc/err.h: Likewise.
35124 * misc/error.h: Likewise.
35125 * misc/fstab.h: Likewise.
35126 * misc/mntent.h: Likewise.
35127 * misc/regexp.h: Likewise.
35128 * misc/search.h: Likewise.
35129 * misc/sgtty.h: Likewise.
35130 * misc/sys/mman.h: Likewise.
35131 * misc/sys/syslog.h: Likewise.
35132 * misc/sys/uio.h: Likewise.
35133 * misc/sys/xattr.h: Likewise.
35134 * misc/ttyent.h: Likewise.
35135 * nis/rpcsvc/ypclnt.h: Likewise.
35136 * nss/nss.h: Likewise.
35137 * posix/bits/unistd.h: Likewise.
35138 * posix/fnmatch.h: Likewise.
35139 * posix/glob.h: Likewise.
35140 * posix/sched.h: Likewise.
35141 * posix/spawn.h: Likewise.
35142 * posix/sys/wait.h: Likewise.
35143 * posix/unistd.h: Likewise.
35144 * posix/wordexp.h: Likewise.
35145 * pwd/pwd.h: Likewise.
35146 * resolv/netdb.h: Likewise.
35147 * resource/sys/resource.h: Likewise.
35148 * rt/aio.h: Likewise.
35149 * rt/bits/mqueue2.h: Likewise.
35150 * rt/mqueue.h: Likewise.
35151 * shadow/shadow.h: Likewise.
35152 * signal/signal.h: Likewise.
35153 * socket/send.c: Likewise.
35154 * socket/sendto.c: Likewise.
35155 * socket/sys/socket.h: Likewise.
35156 * stdio-common/printf.h: Likewise.
35157 * stdlib/bits/stdlib.h: Likewise.
35158 * stdlib/fmtmsg.h: Likewise.
35159 * stdlib/monetary.h: Likewise.
35160 * stdlib/stdlib.h: Likewise.
35161 * stdlib/ucontext.h: Likewise.
35162 * streams/stropts.h: Likewise.
35163 * string/argz.h: Likewise.
35164 * string/bits/string2.h: Likewise.
35165 * string/string.h: Likewise.
35166 * string/strings.h: Likewise.
35167 * sunrpc/rpc/auth.h: Likewise.
35168 * sunrpc/rpc/auth_des.h: Likewise.
35169 * sunrpc/rpc/clnt.h: Likewise.
35170 * sunrpc/rpc/netdb.h: Likewise.
35171 * sunrpc/rpc/pmap_clnt.h: Likewise.
35172 * sunrpc/rpc/xdr.h: Likewise.
35173 * sysdeps/generic/inttypes.h: Likewise.
35174 * sysdeps/generic/net/if.h: Likewise.
35175 * sysdeps/generic/sys/swap.h: Likewise.
35176 * sysdeps/gnu/net/if.h: Likewise.
35177 * sysdeps/gnu/utmpx.h: Likewise.
35178 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
35179 * sysdeps/i386/i486/bits/string.h: Likewise.
35180 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
35181 * sysdeps/s390/bits/string.h: Likewise.
35182 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
35183 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
35184 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
35185 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
35186 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
35187 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
35188 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
35189 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
35190 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
35191 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
35192 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
35193 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
35194 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
35195 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
35196 * sysdeps/unix/sysv/linux/readv.c: Likewise.
35197 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
35198 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
35199 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
35200 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
35201 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
35202 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
35203 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
35204 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
35205 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
35206 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
35207 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
35208 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
35209 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
35210 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
35211 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
35212 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
35213 * sysvipc/sys/ipc.h: Likewise.
35214 * sysvipc/sys/msg.h: Likewise.
35215 * sysvipc/sys/sem.h: Likewise.
35216 * sysvipc/sys/shm.h: Likewise.
35217 * termios/termios.h: Likewise.
35218 * time/sys/time.h: Likewise.
35219 * time/time.h: Likewise.
35220 * wcsmbs/bits/wchar2.h: Likewise.
35221 * wcsmbs/uchar.h: Likewise.
35222 * wcsmbs/wchar.h: Likewise.
35223 * wctype/wctype.h: Likewise.
35224
0269750c
UD
35225 [BZ #13551]
35226 * Makeconfig: Remove all but ELF support including AIX support.
35227 * Makerules: Likewise.
35228 * config.h.in: Likewise.
35229 * config.make.in: Likewise.
35230 * configure: Likewise.
35231 * configure.in: Likewise.
35232 * csu/Makefile: Likewise.
35233 * csu/version.c: Likewise.
35234 * debug/Makefile: Likewise.
35235 * dlfcn/Makefile: Likewise.
35236 * elf/Makefile: Likewise.
35237 * extra-lib.mk: Likewise.
35238 * iconv/Makefile: Likewise.
35239 * include/libc-symbols.h: Likewise.
35240 * include/shlib-compat.h: Likewise.
35241 * resolv/Makefile: Likewise.
35242 * resolv/res_libc.c: Likewise.
35243 * rt/Makefile: Likewise.
35244 * sysdeps/i386/asm-syntax.h: Likewise.
35245 * sysdeps/i386/sysdep.h: Likewise.
35246 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
35247 * sysdeps/mach/sysdep.h: Likewise.
35248 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
35249 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
35250 * sysdeps/s390/asm-syntax.h: Likewise.
35251 * sysdeps/s390/s390-32/sysdep.h: Likewise.
35252 * sysdeps/s390/s390-64/sysdep.h: Likewise.
35253 * sysdeps/sh/sysdep.h: Likewise.
35254 * sysdeps/unix/sparc/sysdep.h: Likewise.
35255 * sysdeps/wordsize-32/divdi3.c: Likewise.
35256 * sysdeps/x86_64/sysdep.h: Likewise.
35257
00bbd29b
UD
35258 * argp/Versions: Remove _argp_unlock_xxx.
35259
35260 [BZ #13559]
35261 * abilist/ld.abilist: Update. Adjust for removal of tls option.
35262 * abilist/libBrokenLocale.abilist: Likewise.
35263 * abilist/libanl.abilist: Likewise.
35264 * abilist/libc.abilist: Likewise.
35265 * abilist/libcrypt.abilist: Likewise.
35266 * abilist/libdl.abilist: Likewise.
35267 * abilist/libm.abilist: Likewise.
35268 * abilist/libnsl.abilist: Likewise.
35269 * abilist/libpthread.abilist: Likewise.
35270 * abilist/libresolv.abilist: Likewise.
35271 * abilist/librt.abilist: Likewise.
35272 * abilist/libthread_db.abilist: Likewise.
35273 * abilist/libutil.abilist: Likewise.
35274 * abilist/libnss_db.abilist: New file.
35275
35276 * scripts/abilist.awk: Add support for indirect functions.
35277
a2693a0e
UD
35278 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
35279
3f05895f
UD
35280 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
35281
ecb6fb48
UD
35282 * shlib-versions: Remove entries for ports architectures.
35283
664f8cb9
UD
35284 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
35285 files in ports.
35286 * elf/stackguard-macros.h: Remove support for IA-64.
35287 * elf/tst-auditmod1.c: Likewise.
35288 * sysdeps/generic/ldsodefs.h: Likewise.
35289
7ae81d88
UD
35290 * sysdeps/unix/sysv/linux/configure.in: Ports should define
35291 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
35292 configure files.
35293
bdeba135
UD
35294 [BZ #13552]
35295 * configure.in: Remove --enable-omitfp support.
35296 * FAQ.in: Adjust.
35297 * config.make.in: Likewise.
35298 * Makeconfig: Likewise.
35299 * manual/install.texi: Likewise.
35300
d75a0a62
UD
35301 In case anyone cares, the IA-64 architecture could move to ports.
35302 * sysdeps/ia64/*: Removed.
35303 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 35304 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 35305
dcc9756b
UD
35306 [BZ #13555]
35307 * configure.in: Remove entries for unsupported architectures.
35308
d3761ebc 35309 [BZ #13533]
9954432e
UD
35310 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
35311 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
35312 routines.
35313 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
35314 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
35315 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
35316 fall back to using wcrtomb.
35317 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
35318 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
35319 renaming.
35320 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
35321 * wcsmbs/tst-c16c32-1.c: New file.
35322
35323 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
35324 local variable.
35325
c3a87236
UD
35326 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
35327
28926a1b
UD
35328 * elf/tst-unique3.cc: Add explicit declaration of gets.
35329 * elf/tst-unique3lib.cc: Likewise.
35330 * elf/tst-unique3lib2.cc: Likewise.
35331 * elf/tst-unique4.cc: Likewise.
35332
df78418a
UD
35333 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
35334
8ecd6b2a
JM
353352012-01-06 Joseph Myers <joseph@codesourcery.com>
35336
35337 [BZ #13566]
35338 * assert/assert.h (static_assert): Don't define for C++.
35339 * libio/stdio.h (gets): Do declare for C++ <= C++11.
35340 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
35341
9f115170
UD
353422012-01-03 Ulrich Drepper <drepper@gmail.com>
35343
5e0d0300
UD
35344 * iconv/loop.c (single loop): Fix assertion in storing of
35345 remaining bytes.
35346
9f115170
UD
35347 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
35348
81fb02b0
UD
353492012-01-01 Ulrich Drepper <drepper@gmail.com>
35350
35351 * posix/getconf.c: Update copyright year.
35352 * nss/getent.c: Likewise.
a316c1f6 35353 * nss/makedb.c: Likewise.
81fb02b0
UD
35354 * iconv/iconvconfig.c: Likewise.
35355 * iconv/iconv_prog.c: Likewise.
35356 * elf/ldconfig.c: Likewise.
a316c1f6
UD
35357 * elf/pldd.c: Likewise.
35358 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
35359 * catgets/gencat.c: Likewise.
35360 * csu/version.c: Likewise.
35361 * elf/ldd.bash.in: Likewise.
35362 * elf/sprof.c (print_version): Likewise.
35363 * locale/programs/locale.c: Likewise.
35364 * locale/programs/localedef.c: Likewise.
a316c1f6 35365 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
35366 * nscd/nscd.c (print_version): Likewise.
35367 * debug/xtrace.sh: Likewise.
35368 * malloc/memusage.sh: Likewise.
35369 * malloc/mtrace.pl: Likewise.
35370 * debug/catchsegv.sh: Likewise.
35371
2ba92745
JJ
353722011-12-30 Jakub Jelinek <jakub@redhat.com>
35373
35374 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
35375 pure attribute.
35376
dadebdae
UD
353772011-12-24 Ulrich Drepper <drepper@gmail.com>
35378
d3761ebc 35379 [BZ #13533]
db6af3eb
UD
35380 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
35381 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
35382 transformations.
35383 * iconv/gconv_int.h: Likewise.
35384 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
35385 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
35386 from libc for GLIBC_2.16.
35387 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
35388 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
35389 * wcsmbs/uchar.h: Really define mbstate_t.
35390 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
35391 * wcsmbs/c16rtomb.c: New file.
35392 * wcsmbs/mbrtoc16.c: New file.
35393 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
35394 for C/POSIX locale.
35395 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
35396 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
35397
dadebdae
UD
35398 * wcsmbs/wchar.h: Add missing __restrict.
35399
67371b56
UD
354002011-12-23 Ulrich Drepper <drepper@gmail.com>
35401
74033a25
UD
35402 [BZ #13532]
35403 * time/Makefile (routines): Add timespec_get.
35404 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
35405 * time/time.h: Define TIME_UTC and declare timespec_get. Define
35406 timespec for ISO C11.
35407 * time/timespec_get.c: New file.
35408 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
35409 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
35410
380d7e87
UD
35411 [BZ #13531]
35412 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
35413 * stdlib/stdlib.h: Declare aligned_alloc.
35414 * Versions.def: Add GLIBC_2.16 for libc.
35415 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
35416
4e9e7a35
UD
35417 [BZ 13527]
35418 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
35419 ISO C11.
35420
380d7e87 35421 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
35422 code.
35423
03a71829
UD
35424 [BZ #13528]
35425 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
35426
839e283e
UD
35427 [BZ #13529]
35428 * assert/assert.h (static_assert): Define.
35429
ce5294e2 35430 * version.h: Update for 2.16 development version.
90fa7312 35431
8d44e150 35432 [BZ #13526]
d7809905
UD
35433 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
35434 _ISOC11_SOURCE.
35435
c0da14cd
UD
35436 * version.h (RELEASE): Bump for 2.15 release.
35437 * include/features.h (__GLIBC_MINOR__): Bump to 15.
35438
530a3249
MP
35439 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
35440 Patch by Marek Polacek <mpolacek@redhat.com>.
35441
67371b56
UD
35442 * bits/byteswap.h: Protect long long constants with __extension__.
35443 * sysdeps/i386/bits/byteswap.h: Likewise.
35444 * sysdeps/ia64/bits/byteswap.h: Likewise.
35445 * sysdeps/s390/bits/byteswap.h: Likewise.
35446 * sysdeps/x86_64/bits/byteswap.h: Likewise.
35447
15db4de1
LD
354482011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35449
35450 [BZ #13540]
bbe315ea
LD
35451 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
35452 destination buffer.
15db4de1
LD
35453 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
35454
2b2596b1
MP
354552011-12-23 Marek Polacek <polacek@redhat.com>
35456
35457 * elf/dl-addr.c (determine_info): Add inline keyword.
35458 * elf/tst-auditmod4b.c (check_avx): Likewise.
35459 * elf/tst-auditmod6b.c (check_avx): Likewise.
35460 * elf/tst-auditmod6c.c (check_avx): Likewise.
35461 * elf/tst-auditmod7b.c (check_avx): Likewise.
35462
70c6c246
UD
354632011-12-23 Ulrich Drepper <drepper@gmail.com>
35464
35465 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
35466 !__SSE_MATH__.
35467
c044cf14
LD
354682011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35469
15db4de1 35470 [BZ #13540]
c044cf14
LD
35471 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
35472 processing for last bytes.
35473
6b13d9d9
BH
354742011-08-06 Bruno Haible <bruno@clisp.org>
35475
d455f537
BH
35476 [BZ #13061]
35477 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
35478 U+0385, not to U+1FEE.
35479
6b13d9d9
BH
35480 [BZ #13062]
35481 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
35482 entry for U+00A5 U+0301.
35483
db910efd
UD
354842011-12-22 Ulrich Drepper <drepper@gmail.com>
35485
27deeafc
UD
35486 [BZ #13166]
35487 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
35488 buffer for the output is too small.
35489
aed9d171
UD
35490 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
35491 optimization.
35492
db910efd
UD
35493 [BZ #13185]
35494 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
35495 SSE flags if possible.
35496
2bd779ae
LD
354972011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35498
e7f9dac3 35499 [BZ #13540]
2bd779ae
LD
35500 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
35501 processing for last bytes.
35502
154bfc16
JM
355032011-12-22 Joseph Myers <joseph@codesourcery.com>
35504
35505 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
35506 (syscall-list-default-options, syscall-list-default-condition)
35507 (syscall-list-includes): Define.
35508 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
35509 list of ABIs and options and #if conditions for each ABI. Do not
35510 handle common syscalls between ABIs specially.
35511 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
35512 Remove.
35513 (syscall-list-variants, syscall-list-32bit-options)
35514 (syscall-list-32bit-condition, syscall-list-64bit-options)
35515 (syscall-list-64bit-condition): Define.
35516 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): 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/sparc/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 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
35526 Remove.
35527 (syscall-list-variants, syscall-list-32bit-options)
35528 (syscall-list-32bit-condition, syscall-list-64bit-options)
35529 (syscall-list-64bit-condition): Define.
35530
21eaf3a5
UD
355312011-12-22 Ulrich Drepper <drepper@gmail.com>
35532
16c6f992
UD
35533 * locale/iso-639.def: Add brx entry.
35534
41043168
UD
35535 [BZ #13328]
35536 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
35537 Proposed by Mariusz_Cukr <marcukr@op.pl>.
35538
21eaf3a5
UD
35539 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
35540 __feraiseexcept_renamed.
35541
e3a851a2
UD
355422011-12-21 Ulrich Drepper <drepper@gmail.com>
35543
4920765e
UD
35544 [BZ #13538]
35545 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
35546 EPOLLET with unsigned values.
35547 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
35548 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
35549
e3a851a2
UD
35550 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
35551 to large cancellation.
35552 * math/s_cacoshf.c: Likewise.
35553 * math/s_cacoshl.c: Likewise.
35554
b27e24b8
RK
355552011-11-18 Richard B. Kreckel <kreckel@ginac.de>
35556
35557 [BZ #13305]
aebefeee 35558 [BZ #12786]
b27e24b8
RK
35559 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
35560 * math/s_cacoshf.c: Likewise.
35561 * math/s_cacoshl.c: Likewise.
35562
ee190f67
UD
355632011-12-21 Ulrich Drepper <drepper@gmail.com>
35564
35565 [BZ #13439]
35566 * iconv/gconv.h: Define __GCONV_SWAP.
35567 * iconvdata/unicode.c: The swap bit must be stored in __flags.
35568 * iconvdata/utf-16.c: Likewise.
35569 * iconvdata/utf-32.c: Likewise.
35570
707f25df
AS
355712011-12-21 Andreas Schwab <schwab@linux-m68k.org>
35572
35573 [BZ #13524]
35574 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
35575 numerator after shifting it by one limb.
35576
d2daaa1e
RÁE
355772011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
35578
35579 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
35580 under [__USE_EXTERN_INLINES].
35581
a4647e72
UD
355822011-12-17 Ulrich Drepper <drepper@gmail.com>
35583
35584 [BZ #13446]
35585 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
35586
f0b264f1
AZ
355872011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35588
35589 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
35590 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
35591 optimized code.
35592 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
35593 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
35594 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
35595 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
35596 for strncasecmp/strncasecmp_l compilation.
35597 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
35598 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
35599
8ef4f244
MP
356002011-12-08 Marek Polacek <mpolacek@redhat.com>
35601
35602 [BZ #13484]
35603 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
35604 of __asm__.
35605
97ac2654
UD
356062011-12-17 Ulrich Drepper <drepper@gmail.com>
35607
35608 [BZ #13506]
35609 * time/tzfile.c (__tzfile_read): Check values from file header.
35610
91d2a845
WS
356112011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
35612
35613 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
35614 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
35615 * powerpc/powerpc32/dl-start.S: Likewise.
35616 * powerpc/powerpc32/elf/start.S: Likewise.
35617 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
35618 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
35619 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
35620 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
35621 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
35622 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
35623 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
35624 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
35625 * powerpc/powerpc32/fpu/s_round.S: Likewise.
35626 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
35627 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
35628 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
35629 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
35630 * powerpc/powerpc32/memset.S: Likewise.
35631 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
35632 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
35633 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
35634 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
35635 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
35636 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
35637 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
35638 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
35639 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
35640 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
35641 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
35642 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
35643 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
35644
a1267ba1
AZ
356452011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35646
35647 * math/libm-test.inc: Added more nearbyint tests.
35648 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
35649 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
35650 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
35651 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
35652
ad8ac1bd
RL
356532011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
35654
35655 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
35656 FD_CLOEXEC.
35657
1d3e4b61
UD
356582011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35659
35660 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
35661 Add wcscpy-ssse3 wcscpy-c.
35662 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
35663 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
35664 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
35665 * sysdeps/x86_64/wcschr.S: New file.
35666 * sysdeps/x86_64/wcsrchr.S: New file.
35667 * string/test-strcmp.c: Remove checking of wcscmp function for
35668 wrong alignments.
35669 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
35670 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
35671 wcsrchr-sse2 wcsrchr-c.
35672 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
35673 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
35674 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
35675 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
35676 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
35677 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
35678 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
35679 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
35680 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
35681 * wcsmbc/wcschr.c (WCSCHR): New macro.
35682
5b330a2d
UD
356832011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35684
35685 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
35686 * wcsmbs/test-wcsrchr.c: New file.
35687 * string/test-strrchr.c: Add wcsrchr support.
35688 (WIDE): New macro.
35689 * wcsmbs/test-wcscpy.c: New file.
35690 * string/test-strcpy.c: Add wcscpy support.
35691 (WIDE): New macro.
26428b7c 35692
f039c043
UD
356932011-12-10 Ulrich Drepper <drepper@gmail.com>
35694
35695 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
35696 the inner loop.
35697
850fb039
AS
356982011-12-06 Andreas Schwab <schwab@linux-m68k.org>
35699
35700 [BZ #13472]
35701 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
35702
4efbd5cb
UD
357032011-12-04 Ulrich Drepper <drepper@gmail.com>
35704
52ff5dd0 35705 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 35706 Minor optimizations.
52ff5dd0 35707
4efbd5cb
UD
35708 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
35709 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
35710 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
35711
8a426e12
UD
357122011-12-03 Ulrich Drepper <drepper@gmail.com>
35713
aff2453d
UD
35714 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
35715 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
35716 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
35717 for gcc to avoid warnings.
35718 * inet/Makefile (tests): Add tst-checks.
35719 * inet/tst-checks.c: New file.
35720
35721 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
35722 warning.
35723
35724 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
35725 __wmemcmp_sse2.
35726
35727 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
35728 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
35729
8a426e12
UD
35730 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
35731
9bea3473
UD
357322011-12-02 Ulrich Drepper <drepper@gmail.com>
35733
3a965496
UD
35734 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
35735 problem.
35736
9bea3473
UD
35737 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
35738
f101631b
UD
357392011-11-29 Joseph Myers <joseph@codesourcery.com>
35740
35741 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
35742 conditional on GCC version.
35743 (__arch_compare_and_exchange_val_8_acq)
35744 (__arch_compare_and_exchange_val_16_acq)
35745 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
35746 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
35747 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
35748
a98275aa
UD
357492011-12-02 Joseph Myers <joseph@codesourcery.com>
35750
35751 * sysdeps/sh/backtrace.c: New file.
35752
d4cc29a2
AS
357532011-12-02 Andreas Schwab <schwab@redhat.com>
35754
35755 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
35756 parenthesis.
35757
6257af2d
AS
357582011-12-01 Andreas Schwab <schwab@redhat.com>
35759
35760 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
35761 falling back to utime.
35762
b5f44c1a
AS
357632011-11-30 Andreas Schwab <schwab@redhat.com>
35764
35765 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
35766 expectations for float.
35767
f3a6cc0a
AS
357682011-11-29 Andreas Schwab <schwab@redhat.com>
35769
35770 * locale/weight.h (findidx): Add parameter len.
35771 * locale/weightwc.h (findidx): Likewise.
35772 * posix/fnmatch_loop.c (FCT): Adjust caller.
35773 * posix/regcomp.c (build_equiv_class): Likewise.
35774 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
35775 * posix/regexec.c (check_node_accept_bytes): Likewise.
35776 * string/strcoll_l.c (STRCOLL): Likewise.
35777 * string/strxfrm_l.c (STRXFRM): Likewise.
35778
9d65ea3a
UD
357792011-11-17 Ulrich Drepper <drepper@gmail.com>
35780
35781 * Makefile.in: Remove CVSOPT handling.
35782 * configure.in: Remove use of AC_REVISION.
35783 * iconvdata/Makefile (distribute): No need to filter out CVS.
35784 * scripts/list-sources.sh: Remove CVS, subversion and monotone
35785 handling.
35786
5583a086
AS
357872011-11-16 Andreas Schwab <schwab@redhat.com>
35788
35789 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
35790 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
35791 [USE_AS_STRNCASECMP_L]: Likewise.
35792 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
35793 NO_TLS_DIRECT_SEG_REFS.
35794 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
35795 Fix argument offsets for non-PIC.
35796 [USE_AS_STRNCASECMP_L]: Likewise.
35797 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
35798 NO_TLS_DIRECT_SEG_REFS.
35799
d62a8200
UD
358002011-11-15 Ulrich Drepper <drepper@gmail.com>
35801
9d65ea3a 35802 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
35803 O_CLOEXEC.
35804 * locale/loadlocale.c (_nl_load_locale): Likewise.
35805
09f93bd3
AS
358062011-11-15 Andreas Schwab <schwab@redhat.com>
35807
446514f9
AS
35808 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
35809 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
35810 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
35811 (SYSCALL_GETTIME): Set errno on error.
35812
09f93bd3
AS
35813 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
35814 count references to noai6ai_cached.
35815
312be3f9
UD
358162011-11-15 Ulrich Drepper <drepper@gmail.com>
35817
35818 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
35819
35820 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
35821 FD_CLOEXEC for /proc/self/maps.
35822
35823 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
35824 FD_CLOEXEC for /proc/meminfo.
35825
35826 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
35827 gai.conf.
35828
35829 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
35830 FD_CLOEXEC for given file.
35831
35832 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
35833
35834 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
35835 FD_CLOEXEC for /etc/hosts.
35836 (_gethtent): Likewise.
35837
35838 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
35839
35840 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
35841 cancellation and set FD_CLOEXEC for /etc/netgroup.
35842
35843 * nss/nss_files/files-key.c (search): Don't allow cancellation when
35844 reading /etc/publickey.
35845
35846 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
35847 allow cancellation when reading /etc/group.
35848
35849 * nss/nss_files/files-alias.c (internal_setent): Don't allow
35850 cancellation.
35851 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
35852
35853 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
35854 when using data file.
35855
35856 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
35857
35858 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
35859 (write_nis_obj): Use "c" and "e" in fopen.
35860
35861 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
35862
35863 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
35864
35865 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
35866
35867 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
35868
35869 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
35870 locale.alias.
35871
35872 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
35873
35874 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
35875
35876 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
35877
35878 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
35879 file parsing and set FD_CLOEXEC.
35880
82af0fa8
UD
358812011-11-14 Ulrich Drepper <drepper@gmail.com>
35882
35883 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
35884
a5fb313c
AS
358852011-11-14 Andreas Schwab <schwab@redhat.com>
35886
35887 * malloc/arena.c (arena_get2): Don't call reused_arena when
35888 _int_new_arena failed.
35889
6abf3465
UD
358902011-11-14 Ulrich Drepper <drepper@gmail.com>
35891
35892 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
35893 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
35894 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
35895 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
35896 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
35897 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
35898 to compile strcasecmp and strncasecmp.
35899 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
35900 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
35901
35902 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
35903
76e3966e
UD
359042011-11-13 Ulrich Drepper <drepper@gmail.com>
35905
35906 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
35907 locale-defines.sym to gen-as-const-headers.
35908 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
35909 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
35910 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
35911 to compile strcasecmp and strncasecmp.
35912 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
35913 strcasecmp_l and strncasecmp_l.
35914 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
35915 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
35916 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
35917 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
35918 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
35919 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
35920 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
35921 * sysdeps/i386/i686/multiarch/strncase.S: New file.
35922 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
35923 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
35924 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
35925
ab26144e
UD
359262011-11-12 Ulrich Drepper <drepper@gmail.com>
35927
7edb22ef
UD
35928 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
35929 result of SYSDEP_GETTIME_CPU to retval.
35930 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
35931 parameter list to macro. Remove trailing semicolon. Adjust users.
35932
9694fc44
UD
35933 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
35934 variable.
35935
8ad89ef8
UD
35936 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
35937 mantissa words.
35938 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
35939
0c822ef9
UD
35940 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
35941 from unused variable.
35942
874e0564
UD
35943 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
35944 DWARF definitions.
35945 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
35946 for assembling.
35947
3a2edc79
UD
35948 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
35949 over namespaces.
35950
f3c2577f
UD
35951 * sunrpc/rpc_prot.c (rejected): Fix case value.
35952
294ce126
UD
35953 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
35954 unsigned long long int to avoid warnings in shift.
35955
5e2b63c6
UD
35956 * posix/regex_internal.c (re_string_reconstruct): Actually use result
35957 of use of trans.
35958 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
35959 variable tmp.
35960
e7f4b08e
UD
35961 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
35962 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
35963 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
35964
ab26144e
UD
35965 * nis/nis_table.c (nis_list): Use variable of correct type for
35966 result of __follow_path call.
35967
8a6d5255
AZ
359682011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35969
35970 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
35971 of math functions ceil, trunc, floor, round, and sqrt, when
35972 avaliable on the platform.
35973 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
35974 name clash.
35975 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
35976 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
35977 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
35978
aaddc98c
MP
359792011-10-30 Marek Polacek <mpolacek@redhat.com>
35980
35981 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
35982 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
35983
95b7042b
RM
359842011-11-11 Roland McGrath <roland@hack.frob.com>
35985
35986 * include/unistd.h: Fix __readlink return type.
35987 Reported by Chris Metcalf <cmetcalf@tilera.com>.
35988
57769839
UD
359892011-11-11 Ulrich Drepper <drepper@gmail.com>
35990
35991 * stdlib/ucontext.h: Undo last change for makecontext.
35992
edc5984d
AS
359932011-11-11 Andreas Schwab <schwab@redhat.com>
35994
98591e58
AS
35995 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
35996
edc5984d
AS
35997 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
35998 * setjmp/setjmp.h: Mark functions as non-leaf.
35999 * setjmp/bits/setjmp2.h: Likewise.
36000 * stdlib/ucontext.h: Likewise.
36001
77cdc054
AS
360022011-11-10 Andreas Schwab <schwab@redhat.com>
36003
36004 * malloc/arena.c (_int_new_arena): Don't increment narenas.
36005 (reused_arena): Don't check arena limit.
36006 (arena_get2): Atomically check arena limit.
36007
fe72eebd
UD
360082011-11-08 Ulrich Drepper <drepper@gmail.com>
36009
5f078c32
UD
36010 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
36011 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
36012
fe72eebd
UD
36013 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
36014 instructions.
36015
ae1bc2fa
AS
360162011-11-07 Andreas Schwab <schwab@redhat.com>
36017
7583a88d
AS
36018 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
36019 handler when locking.
36020
ae1bc2fa
AS
36021 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
36022 Fix size of allocated buffer.
36023
10fb0bfa
AS
360242011-11-04 Andreas Schwab <schwab@redhat.com>
36025
998832a4
AS
36026 [BZ #10103]
36027 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
36028 declarations for long double functions.
36029 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
36030
10fb0bfa
AS
36031 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
36032
3d7ba52b
AS
360332011-11-03 Andreas Schwab <schwab@redhat.com>
36034
a9ae54a1
AS
36035 * nscd/nscd.c (main): Don't start AVC thread until credentials are
36036 installed.
36037
3d7ba52b
AS
36038 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
36039 is disabled.
36040
bc8db248
ST
360412011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
36042
36043 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
36044
45b96dd6
AS
360452011-11-01 Andreas Schwab <schwab@linux-m68k.org>
36046
647776f6
AS
36047 * include/alloca.h (stackinfo_alloca_round): Define.
36048 (extend_alloca): Use it.
36049 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
36050 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
36051 here.
36052
d91a8b93
AS
36053 * scripts/check-local-headers.sh: Ignore libaudit.h.
36054
45b96dd6
AS
36055 * nscd/Makefile (extra-objs): Make recursively expanded.
36056
432d41ce
UD
360572011-11-01 Ulrich Drepper <drepper@gmail.com>
36058
34372fc6
UD
36059 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
36060 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
36061
fadb59f8
UD
36062 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
36063 * posix/tst-rfc3484-2.c: Likewise.
36064 * posix/tst-rfc3484-3.c: Likewise.
36065
78239589
UD
36066 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
36067 process_vm_writev.
36068 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
36069 process_vm_writev.
36070 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
36071 process_vm_writev from libc using GLIBC_2.15 version.
36072
432d41ce
UD
36073 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
36074
02f9c6cf
PP
360752011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
36076
36077 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
36078 stack usage.
36079
3a2c0242
UD
360802011-10-31 Ulrich Drepper <drepper@gmail.com>
36081
f4ec4833
UD
36082 [BZ #13367]
36083 * nss/getent.c (initgroups_keys): Show error message in case no group
36084 names are given.
36085
3a2c0242
UD
36086 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
36087 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
36088 __bump_nl_timestamp.
36089 * nscd/connections (nscd_init): When host database is served open
36090 netlink socket and request notification about configuration changes.
36091 (main_loop_poll): Track netlink file descriptor and bump timestamp
36092 in case data becomes available.
36093 (main_loop_epoll): Likewise.
36094 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
36095 (database_pers_head): Add extra_data fileds.
36096 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
36097 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
36098 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
36099 Adjust caller.
36100 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
36101 in6ai data, call __free_in6ai.
36102 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
36103 Add -DHAVE_NETLINK.
36104 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
36105 interface information. Reuse previous data if netlink timestamp
36106 is not changed.
36107 (__bump_nl_timestamp): New function.
36108 (__free_in6ai): New function.
36109
636064eb
UD
361102011-10-30 Ulrich Drepper <drepper@gmail.com>
36111
36112 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
36113 close_not_cancel_no_status here.
36114 (__check_pf): Reorganize code a bit to not call close twice if OOM.
36115
9beb2334
UD
361162011-10-29 Ulrich Drepper <drepper@gmail.com>
36117
6ef76f3b
UD
36118 [BZ #13276]
36119 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
36120 return value.
36121
0ffc4f3e 36122 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
36123 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
36124 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
36125
cb95113e
UD
361262011-07-03 Andreas Jaeger <aj@suse.de>
36127
36128 [BZ #10709]
36129 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
36130 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
36131 * math/libm-test.inc (sin_test): Add test case.
36132
a1b560ff
UD
361332011-10-29 Ulrich Drepper <drepper@gmail.com>
36134
c9aaface
UD
36135 [BZ #13337]
36136 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
36137 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
36138
d272e7f1
UD
36139 * elf/chroot_canon.c (chroot_canon): Cleanups.
36140
1bc33071
UD
36141 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
36142
1760874d
TJ
36143 [BZ #13335]
36144 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
36145 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
36146
51d91b18
UD
36147 * string/test-strchr.c: Make usable for strchrnul testing.
36148 * string/test-strchrnul.c: New file.
36149 * string/Makefile (strop-tests): Add strchrnul.
36150
a1b560ff 36151 * po/it.po: Update from translation team.
b611fb81 36152 * po/es.po: Likewise.
a1b560ff 36153
a5b81e1f
UD
361542011-10-28 Ulrich Drepper <drepper@gmail.com>
36155
fd52bc6d
UD
36156 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
36157 the three constants needed as parameters. Drop the others.
36158 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
36159 __m128i_strloadu_tolower.
52e4b9eb
UD
36160 Create and initialize variable zero and use it in all the places
36161 where _mm_setzero_si128 was used.
fd52bc6d 36162
a5b81e1f
UD
36163 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
36164 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
36165 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
36166 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
36167 anymore.
36168 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
36169 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
36170 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
36171 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
36172 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
36173 __mpranred, __mptan.
36174 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
36175 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
36176 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
36177 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
36178 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
36179 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
36180 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
36181 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
36182 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
36183
b4343346
AS
361842011-10-28 Andreas Schwab <schwab@redhat.com>
36185
0c92d8a8
AS
36186 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
36187 redefine if SHARED.
36188 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
36189
b4343346
AS
36190 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
36191 wide char related routines to wcsmbs subdir.
36192
3871f58f
AS
361932011-10-27 Andreas Schwab <schwab@redhat.com>
36194
36195 [BZ #13344]
36196 * misc/sys/cdefs.h (__THROWNL): Define.
36197 * posix/unistd.h: Use __THREADNL instead of __THREAD
36198 for memory synchronization functions.
36199
94d44d9f
RM
362002011-10-26 Roland McGrath <roland@hack.frob.com>
36201
21b64b15 36202 [BZ #13349]
94d44d9f
RM
36203 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
36204 doesn't exist.
36205 * manual/stdio.texi (Obstack Streams): Node removed.
36206
f6ce9294
AS
362072011-10-26 Andreas Schwab <schwab@redhat.com>
36208
80479147
AS
36209 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
36210 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
36211 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
36212
f6ce9294
AS
36213 * math/math_private.h (math_force_eval): Allow non-addressable
36214 arguments.
36215 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
36216
618280a1
UD
362172011-10-25 Ulrich Drepper <drepper@gmail.com>
36218
e0016b11
UD
36219 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
36220 file is not needed.
36221
36222 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
36223 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
36224 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
36225 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
36226 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
36227 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
36228 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
36229 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
36230 Add AVX variants.
36231 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
36232 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
36233 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
36234 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
36235 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
36236 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
36237 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
36238 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
36239 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
36240 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
36241 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
36242 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
36243 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
36244 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
36245 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
36246 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
36247 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
36248 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
36249 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
36250
36251 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
36252 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
36253
618280a1
UD
36254 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
36255 place. Use VEX encoding when compiling for AVX.
36256
37822576
AS
362572011-10-25 Andreas Schwab <schwab@redhat.com>
36258
1f1e1947
AS
36259 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
36260 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
36261
37822576
AS
36262 * string/test-strchr.c (do_test): Don't generate NUL bytes.
36263
31ea014d
UD
362642011-10-25 Ulrich Drepper <drepper@gmail.com>
36265
d7826aa1 36266 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 36267 useless if() expression.
d7826aa1
UD
36268 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
36269 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
36270 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
36271 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
36272 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
36273 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
36274 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
36275 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
36276 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
36277 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
36278 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
36279 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
36280 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
36281 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
36282 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
36283 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
36284 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
36285 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
36286 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
36287
31ea014d
UD
36288 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
36289
16437fec
AS
362902011-10-25 Andreas Schwab <schwab@redhat.com>
36291
36292 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
36293 condition.
36294 * elf/dl-fini.c (_dl_sort_fini): Likewise.
36295
31d3cc00
UD
362962011-10-25 Ulrich Drepper <drepper@gmail.com>
36297
36298 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
36299 .text section. Avoid duplicate constants.
36300 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
36301 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36302 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
36303 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36304 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36305 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36306 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36307 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36308 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
36309 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
36310 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
36311 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
36312 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
36313 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
36314 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
36315 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
36316 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
36317 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
36318 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
36319 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36320 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
36321 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
36322 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
36323 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
36324 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
36325 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
36326 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
36327 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
36328 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
36329 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
36330 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
36331 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
36332 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
36333 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
36334 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
36335 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
36336 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
36337 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
36338 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
36339 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
36340 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
36341 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
36342 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
36343 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
36344 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
36345
58985aa9
UD
363462011-10-24 Ulrich Drepper <drepper@gmail.com>
36347
202c9deb
UD
36348 * sysdeps/x86_64/dla.h: Move to ...
36349 * sysdeps/x86_64/fpu/dla.h: ...here.
36350 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
36351 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 36352
af968f62
UD
36353 * config.make.in: Add have-mfma4 entry.
36354 * configure.in: Substitute libc_cv_cc_fma4.
36355 * math/Makefile (dbl-only-routines): Add sincostab.
36356 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
36357 Use __sincostab not sincos.
36358 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
36359 name is a macro.
36360 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36361 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36362 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36363 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
36364 using __copysign.
36365 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
36366 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
36367 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
36368 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
36369 and __inv.
36370 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
36371 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
36372 __copysign.
36373 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
36374 define aliases when function name is a macro.
36375 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
36376 sysdeps/ieee754/dbl-64/sincos.tbl.
36377 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
36378 fma4-enabled routines.
36379 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
36380 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
36381 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
36382 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
36383 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
36384 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
36385 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
36386 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
36387 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
36388 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
36389 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
36390 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
36391 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
36392 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
36393 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
36394 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
36395 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
36396 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
36397 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
36398 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
36399 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
36400 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
36401 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
36402 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
36403 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
36404 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
36405 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
36406 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
36407 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
36408 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
36409
58985aa9
UD
36410 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
36411 rename.
36412 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36413 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36414 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36415 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36416 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36417 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36418 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
36419 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36420
a201fbcf
AS
364212011-10-24 Andreas Schwab <schwab@redhat.com>
36422
36423 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
36424
fc2ee42a
LD
364252011-10-23 Ulrich Drepper <drepper@gmail.com>
36426
bb3129bd
UD
36427 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
36428
0275fff8
UD
36429 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
36430 prediction.
36431 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
36432
2fa2ae85
UD
36433 * string/strnlen.c: Don't define STRNLEN, reverse logic.
36434 Remove unused variable magic_bits.
36435 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
36436
fc2ee42a
LD
36437 * string/strnlen.c: Define and use STRNLEN macro.
36438 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
36439 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
36440 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
36441 * wcsmbs/wcslen.c: Define and use WCSLEN.
36442 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
36443 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
36444 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
36445 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
36446 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
36447 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
36448 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
36449
ce7dd29f
LD
364502011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36451
36452 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36453 strnlen-sse2-no-bsf.
36454 Rename strlen-no-bsf to strlen-sse2-no-bsf.
36455 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
36456 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
36457 Add strnlen support.
36458 (USE_AS_STRNLEN): New macro.
36459 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
36460 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
36461 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
36462 * sysdeps/x86_64/wcslen.S: New file.
36463
979c70a3
MZ
364642011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
36465
36466 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
36467 XMM-moves are used for copying on small sizes.
36468
2d09f82f
LD
364692011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36470
36471 * wcsmbs/Makefile (strop-tests): Add wcschr.
36472 * wcsmbs/test-wcschr.c: New file.
36473 * string/test-strchr.c: Update.
36474 Add wcschr support.
36475 (WIDE): New macro.
36476
619fccca
LD
364772011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36478
2d09f82f 36479 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
36480 * wcsmbs/test-wcslen.c: New file.
36481 * string/test-strlen.c: Update.
36482 Add wcslen support.
36483 (WIDE): New macro.
36484
09f699ea
UD
364852011-10-23 Ulrich Drepper <drepper@gmail.com>
36486
36487 * po/it.po: Update from translation team.
36488
95584d3b
LD
364892011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36490
36491 * sysdeps/x86_64/wcscmp.S: Update.
36492 Fix wrong comparison semantics.
36493 wcscmp shall use signed comparison not unsigned.
36494 Don't use substraction to avoid overflow bug.
36495 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
36496 * wcsmbc/wcscmp.c: Likewise.
36497 * string/test-strcmp.c: Likewise.
36498 Add new tests to check cases with negative values.
36499
c8b3296b
UD
365002011-10-23 Ulrich Drepper <drepper@gmail.com>
36501
36502 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
36503 * sysdeps/x86_64/dla.h: ...here. New file.
36504 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
36505 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36506 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36507 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36508 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36509 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
36510 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36511 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
36512 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36513
246ad57a
AS
365142011-10-23 Andreas Schwab <schwab@linux-m68k.org>
36515
36516 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
36517 __ynl_finite aliases.
36518
a1a87169
UD
365192011-10-22 Ulrich Drepper <drepper@gmail.com>
36520
0d355eb7
UD
36521 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36522
a1a87169
UD
36523 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
36524 define DLA_FMA.
36525 [DLA_FMA] (EMULV): Use DLA_FMA.
36526 [DLA_FMA] (MUL12): Use EMULV.
36527 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
36528 that are not needed.
36529 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36530 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36531 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36532 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36533 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36534 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
36535 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36536
ee2aafe0
AS
365372011-10-22 Andreas Schwab <schwab@linux-m68k.org>
36538
36539 * math/s_nan.c: Undef __nan.
36540 * math/s_nanf.c: Undef __nanf.
36541 * math/s_nanl.c: Undef __nanl.
36542 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
36543 "math_private.h".
36544
bc62c2fb
UD
365452011-10-22 Ulrich Drepper <drepper@gmail.com>
36546
77425c63
UD
36547 * math/s_catan.c: Add branch predictions.
36548 * math/s_catanf.c: Likewise.
36549 * math/s_catanh.c: Likewise.
36550 * math/s_catanhf.c: Likewise.
36551 * math/s_catanhl.c: Likewise.
36552 * math/s_catanl.c: Likewise.
36553 * math/s_cexp.c: Likewise.
36554 * math/s_cexpf.c: Likewise.
36555 * math/s_cexpl.c: Likewise.
36556 * math/s_clog.c: Likewise.
36557 * math/s_clog10.c: Likewise.
36558 * math/s_clog10f.c: Likewise.
36559 * math/s_clog10l.c: Likewise.
36560 * math/s_clogf.c: Likewise.
36561 * math/s_clogl.c: Likewise.
36562 * math/s_csqrt.c: Likewise.
36563 * math/s_csqrtf.c: Likewise.
36564 * math/s_csqrtl.c: Likewise.
36565 * math/s_ctanf.c: Likewise.
36566 * math/s_ctanh.c: Likewise.
36567 * math/s_ctanhf.c: Likewise.
36568 * math/s_ctanhl.c: Likewise.
36569 * math/s_ctanl.c: Likewise.
36570
bc62c2fb
UD
36571 * math/math_private.h: Define __nan, __nanf, __nanl.
36572 * math/s_cacosh.c: Include <math_private.h>.
36573 * math/s_cacoshl.c: Likewise.
36574 * math/s_casinh.c: Likewise.
36575 * math/s_casinhf.c: Likewise.
36576 * math/s_casinhl.c: Likewise.
36577 * math/s_ccos.c: Rely entire on ccosh.
36578 * math/s_ccosf.c: Rely entire on ccoshf.
36579 * math/s_ccosl.c: Rely entirely on ccoshl.
36580 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
36581 Remove tests for FE_INVALID.
36582 * math/s_ccoshf.c: Likewise.
36583 * math/s_ccoshl.c: Likewise.
36584 * math/s_csin.c: Likewise.
36585 * math/s_csinf.c: Likewise.
36586 * math/s_csinh.c Likewise.
36587 * math/s_csinhf.c: Likewise.
36588 * math/s_csinhl.c: Likewise.
36589 * math/s_csinl.c: Likewise.
36590 * math/s_ctan.c: Likewise.
36591 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
36592 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
36593 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
36594
8ec250a4
UD
365952011-10-21 Ulrich Drepper <drepper@gmail.com>
36596
c196fed8
UD
36597 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
36598 compilation problems.
36599
8ec250a4
UD
36600 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
36601 __builtin_expect.
36602
8d4f46c6
UD
366032011-10-20 Ulrich Drepper <drepper@gmail.com>
36604
ed72b654
UD
36605 * sysdeps/i386/configure.in: Test for -mfma4 option.
36606 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
36607 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
36608 COMMON_CPUID_INDEX_80000001.
36609 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
36610 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
36611 use it if FMA3 is not supported.
36612 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
36613
8d4f46c6
UD
36614 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
36615 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
36616
d45c60c2
AS
366172011-10-20 Andreas Schwab <schwab@redhat.com>
36618
36619 [BZ #12892]
36620 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
36621 it would create a cycle with a link time dependency.
36622
d9a4d2ab
UD
366232011-10-19 Ulrich Drepper <drepper@gmail.com>
36624
855d1560
UD
36625 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
36626 instruction.
36627 * string/Makefile (strop-tests): Add rawmemchr.
36628 * string/test-rawmemchr.c: New file.
36629
d9a4d2ab
UD
36630 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
36631 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
36632 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
36633 when compiling str{,n}casecmp and when AVX is available. Hook up
36634 new optimized code in initializers.
36635
8f3b1ffe
AS
366362011-10-19 Andreas Schwab <schwab@redhat.com>
36637
36638 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
36639 __feraiseexcept instead of feraiseexcept.
36640
d38f1dba
UD
366412011-10-18 Ulrich Drepper <drepper@gmail.com>
36642
d9a8d0ab
UD
36643 * math/math_private.h: Define defaults for libc_fetestexcept and
36644 libc_feupdateenv.
36645 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
36646 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
36647 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
36648 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
36649 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
36650 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
36651 libc_fetestexcept and libc_feupdateenv.
36652
4855e3dd
UD
36653 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
36654 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
36655 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
36656 * sysdeps/x86_64/fpu/math_private.h: Define special version of
36657 libc_feholdexcept_setround.
36658
581d30e3
UD
36659 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
36660 Add s_nearbyint-c and s_nearbyintf-c.
36661 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
36662 nearbyintf inlines.
36663 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
36664 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
36665 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
36666 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
36667
d38f1dba
UD
36668 * math/math_private.h: Define defaults for libc_fegetround,
36669 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
36670 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
36671 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
36672 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
36673 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
36674 standard functions.
36675 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
36676 Remove comments and hacks for old compiler versions.
36677 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
36678 libc_fegetround, libc_fesetround, libc_feholdexcept, and
36679 libc_feholdexceptl.
36680
caa6c9d8
AS
366812011-10-18 Andreas Schwab <schwab@redhat.com>
36682
36683 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
36684 (__feraiseexcept_renamed): Add __NTH.
36685 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
36686 namespace violations.
36687
97c066e6
UD
366882011-10-17 Ulrich Drepper <drepper@gmail.com>
36689
99ce7b04
UD
36690 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
36691
1004d182
UD
36692 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
36693
228a984d
UD
36694 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
36695 recently added interfaces.
36696 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
36697
c8553a6a
UD
36698 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
36699 about macro parameter expansion.
36700
ed22dcf6
UD
36701 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
36702 __NO_MATH_INLINES is defined. Cleanups.
36703
36704 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
36705 and __floorf is target has SSE4.1.
36706 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
36707 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
36708 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
36709 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
36710
b171c137
UD
36711 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
36712 name.
36713 (floorf): Likewise.
36714
97c066e6
UD
36715 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
36716
629f62ef
AS
367172011-10-17 Andreas Schwab <schwab@redhat.com>
36718
49a43d80
AS
36719 * misc/sys/cdefs.h: Fix last change.
36720
629f62ef
AS
36721 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
36722 database lookup.
36723
e453f6cd
UD
367242011-10-16 Ulrich Drepper <drepper@gmail.com>
36725
aa78043a
UD
36726 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
36727
ad0f5cad
UD
36728 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
36729 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
36730 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
36731 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
36732 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
36733 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
36734 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
36735 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
36736 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
36737 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
36738 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
36739 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
36740 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
36741 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
36742 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
36743 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
36744 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
36745 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
36746 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
36747 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
36748 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
36749 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
36750
36751 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
36752 ceil, ceilf, floor, floorf.
36753
36754 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
36755 Perform IRELATIVE relocations last.
36756
e453f6cd
UD
36757 * elf/do-rel.h: Add another parameter nrelative, replacing the
36758 local variable with the same name. Change name of the function
36759 to end in Rel or Rela (uppercase).
36760 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
36761 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
36762 elf_dynamic_do_##reloc function.
36763
fd5bdc09
UD
367642011-10-15 Ulrich Drepper <drepper@gmail.com>
36765
79b195b5
UD
36766 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
36767 is sufficient, at least on modern CPUs.
36768
d4a28569
UD
36769 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
36770
b61099b5
UD
36771 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
36772 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
36773
bcf01e6d
UD
36774 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
36775 __expl_finite.
36776 * math/bits/math-finite.h: Add entries for exp.
36777 * math/e_expl.c: Add __*_finite alias.
36778 * sysdeps/i386/fpu/e_exp.S: Likewise.
36779 * sysdeps/i386/fpu/e_expf.S: Likewise.
36780 * sysdeps/i386/fpu/e_expl.c: Likewise.
36781 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36782 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
36783 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
36784 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
36785 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
36786 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
36787 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
36788
ba1a0d59
UD
36789 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
36790 is sufficient, at least on modern CPUs.
36791
fd5bdc09
UD
36792 * ctype/ctype-info.c (__ctype_init): Define.
36793 * include/ctype.h (__ctype_init): Declare.
36794 (__ctype_b_loc): The variable is always initialized.
36795 (__ctype_toupper_loc): Likewise.
36796 (__ctype_tolower_loc): Likewise.
36797 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
36798 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
36799
7872cfb0
AS
368002011-10-15 Andreas Schwab <schwab@linux-m68k.org>
36801
b468825a
AS
36802 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
36803
7872cfb0
AS
36804 * configure.in: Also look in $cxxmachine/include for C++ system
36805 headers.
36806
be13f7bf
LD
368072011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36808
36809 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
36810 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
36811 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
36812 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
36813 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
36814 (USE_AS_WMEMCMP): New macro.
36815 Fixing indents.
36816 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
36817 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
36818 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
36819 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
36820 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36821 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
36822 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
36823 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
36824 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
36825 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
36826 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
36827 (USE_AS_WMEMCMP): New macro.
36828 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
36829 * sysdeps/string/test-memcmp.c: Update.
36830 Fix simple_wmemcmp.
36831 Add new tests.
36832 * wcsmbs/wmemcmp.c: Update.
36833 (WMEMCMP): New macro.
36834 Fix overflow bug.
36835
556a2007
AJ
368362011-10-12 Andreas Jaeger <aj@suse.de>
36837
36838 [BZ #13268]
36839 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
36840
538faaa7
UD
368412011-10-15 Ulrich Drepper <drepper@gmail.com>
36842
ab6737ff
UD
36843 * libio/iofwide.c (do_length): Avoid warning.
36844
538faaa7
UD
36845 * ctype/ctype.h (__isctype_f): Add missing __THROW.
36846
396a21b1
UD
368472011-10-14 Ulrich Drepper <drepper@gmail.com>
36848
cdf2901f
UD
36849 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
36850
38ad40ce
UD
36851 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
36852 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
36853 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
36854 * sysdeps/i386/i686/fpu/e_log.S: New file.
36855 * sysdeps/i386/i686/fpu/e_logf.S: New file.
36856 * sysdeps/i386/i686/fpu/e_logl.S: New file.
36857
396a21b1
UD
36858 * ctype/ctype.h: Add support for inlined isXXX functions when
36859 compiling C++ code.
36860
6b1f68c9
AS
368612011-10-14 Andreas Schwab <schwab@redhat.com>
36862
349290c0
AS
36863 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
36864
6b1f68c9
AS
36865 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
36866
f2282d42
RM
368672011-10-13 Roland McGrath <roland@hack.frob.com>
36868
36869 [BZ #13291]
36870 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
36871
5298ffa8
AS
368722011-10-13 Andreas Schwab <schwab@redhat.com>
36873
714fad23
AS
36874 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
36875 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
36876 feraiseexcept.
36877
81dcc7fb
AS
36878 * sysdeps/x86_64/memrchr.S: Check for zero size.
36879
5298ffa8
AS
36880 * string/stratcliff.c: Add memrchr tests.
36881
951fbcec
LD
368822011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36883
36884 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36885 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
36886 rawmemchr-sse2 rawmemchr-sse2-bsf.
36887 * sysdeps/i386/i686/multiarch/memchr.S: New file.
36888 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
36889 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
36890 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
36891 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
36892 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
36893 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
36894 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
36895 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
36896 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
36897 * string/memrchr.c (MEMRCHR): New macro.
36898
0ac5ae23
UD
368992011-10-12 Ulrich Drepper <drepper@gmail.com>
36900
36901 Add integration with gcc's -ffinite-math-only and optimize wrapper
36902 functions in libm.
36903 * Versions.def: Define GLIBC_2.15 version for libm.
36904 * math/Makefile (headers): Add bits/math-finite.h.
36905 * math/bits/math-finite.h: New file.
36906 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
36907 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
36908 * math/e_acoshl.c: Add __*_finite alias.
36909 * math/e_acosl.c: Likewise.
36910 * math/e_asinl.c: Likewise.
36911 * math/e_atan2l.c: Likewise.
36912 * math/e_atanhl.c: Likewise.
36913 * math/e_coshl.c: Likewise.
36914 * math/e_exp10.c: Likewise.
36915 * math/e_exp10f.c: Likewise.
36916 * math/e_exp10l.c: Likewise.
36917 * math/e_exp2l.c: Likewise.
36918 * math/e_fmodl.c: Likewise.
36919 * math/e_gammal_r.c: Likewise.
36920 * math/e_hypotl.c: Likewise.
36921 * math/e_j0l.c: Likewise.
36922 * math/e_j1l.c: Likewise.
36923 * math/e_jnl.c: Likewise.
36924 * math/e_lgammal_r.c: Likewise.
36925 * math/e_log10l.c: Likewise.
36926 * math/e_log2l.c: Likewise.
36927 * math/e_logl.c: Likewise.
36928 * math/e_powl.c: Likewise.
36929 * math/e_sinhl.c: Likewise.
36930 * math/e_sqrtl.c: Likewise.
36931 * math/e_scalb.c: Completely rewritten and optimized.
36932 * math/e_scalbf.c: Likewise.
36933 * math/e_scalbl.c: Likewise.
36934 * math/w_acos.c: Likewise.
36935 * math/w_acosf.c: Likewise.
36936 * math/w_acosl.c: Likewise.
36937 * math/w_acosh.c: Likewise.
36938 * math/w_acoshf.c: Likewise.
36939 * math/w_acoshl.c: Likewise.
36940 * math/w_asin.c: Likewise.
36941 * math/w_asinf.c: Likewise.
36942 * math/w_asinl.c: Likewise.
36943 * math/w_atan2.c: Likewise.
36944 * math/w_atan2f.c: Likewise.
36945 * math/w_atan2l.c: Likewise.
36946 * math/w_atanh.c: Likewise.
36947 * math/w_atanhf.c: Likewise.
36948 * math/w_atanhl.c: Likewise.
36949 * math/w_exp10.c: Likewise.
36950 * math/w_exp10f.c: Likewise.
36951 * math/w_exp10l.c: Likewise.
36952 * math/w_fmod.c: Likewise.
36953 * math/w_fmodf.c: Likewise.
36954 * math/w_fmodl.c: Likewise.
36955 * math/w_j0.c: Likewise.
36956 * math/w_j0f.c: Likewise.
36957 * math/w_j0l.c: Likewise.
36958 * math/w_j1.c: Likewise.
36959 * math/w_j1f.c: Likewise.
36960 * math/w_j1l.c: Likewise.
36961 * math/w_jn.c: Likewise.
36962 * math/w_jnf.c: Likewise.
36963 * math/w_log.c: Likewise.
36964 * math/w_logf.c: Likewise.
36965 * math/w_logl.c: Likewise.
36966 * math/w_log10.c: Likewise.
36967 * math/w_log10f.c: Likewise.
36968 * math/w_log10l.c: Likewise.
36969 * math/w_log2.c: Likewise.
36970 * math/w_log2f.c: Likewise.
36971 * math/w_log2l.c: Likewise.
36972 * math/w_pow.c: Likewise.
36973 * math/w_powf.c: Likewise.
36974 * math/w_powl.c: Likewise.
36975 * math/w_remainder.c: Likewise.
36976 * math/w_remainderf.c: Likewise.
36977 * math/w_remainderl.c: Likewise.
36978 * math/w_scalb.c: Likewise.
36979 * math/w_scalbf.c: Likewise.
36980 * math/w_scalbl.c: Likewise.
36981 * math/w_sqrt.c: Likewise.
36982 * math/w_sqrtf.c: Likewise.
36983 * math/w_sqrtl.c: Likewise.
36984 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
36985 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
36986 used.
36987 * math/math_private.h: Declare __kernel_standard_f.
36988 * math/w_cosh.c: Remove cruft and optimize a bit.
36989 * math/w_coshf.c: Likewise.
36990 * math/w_coshl.c: Likewise.
36991 * math/w_exp2.c: Likewise.
36992 * math/w_exp2f.c: Likewise.
36993 * math/w_exp2l.c: Likewise.
36994 * math/w_hypot.c: Likewise.
36995 * math/w_hypotf.c: Likewise.
36996 * math/w_hypotl.c: Likewise.
36997 * math/w_lgamma.c: Likewise.
36998 * math/w_lgamma_r.c: Likewise.
36999 * math/w_lgammaf.c: Likewise.
37000 * math/w_lgammaf_r.c: Likewise.
37001 * math/w_lgammal.c: Likewise.
37002 * math/w_lgammal_r.c: Likewise.
37003 * math/w_sinh.c: Likewise.
37004 * math/w_sinhf.c: Likewise.
37005 * math/w_sinhl.c: Likewise.
37006 * math/w_tgamma.c: Likewise.
37007 * math/w_tgammaf.c: Likewise.
37008 * math/w_tgammal.c: Likewise.
37009 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
37010 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37011 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
37012 Minor optimizations. Pretty printing. Remove cruft.
37013 * sysdeps/i386/fpu/e_acosf.S: Likewise.
37014 * sysdeps/i386/fpu/e_acosh.S: Likewise.
37015 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
37016 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
37017 * sysdeps/i386/fpu/e_acosl.c: Likewise.
37018 * sysdeps/i386/fpu/e_asin.S: Likewise.
37019 * sysdeps/i386/fpu/e_asinf.S: Likewise.
37020 * sysdeps/i386/fpu/e_atan2.S: Likewise.
37021 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
37022 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
37023 * sysdeps/i386/fpu/e_atanh.S: Likewise.
37024 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
37025 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
37026 * sysdeps/i386/fpu/e_exp10.S: Likewise.
37027 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
37028 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
37029 * sysdeps/i386/fpu/e_exp2.S: Likewise.
37030 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
37031 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
37032 * sysdeps/i386/fpu/e_fmod.S: Likewise.
37033 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
37034 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
37035 * sysdeps/i386/fpu/e_hypot.S: Likewise.
37036 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
37037 * sysdeps/i386/fpu/e_log.S: Likewise.
37038 * sysdeps/i386/fpu/e_log10.S: Likewise.
37039 * sysdeps/i386/fpu/e_log10f.S: Likewise.
37040 * sysdeps/i386/fpu/e_log10l.S: Likewise.
37041 * sysdeps/i386/fpu/e_log2.S: Likewise.
37042 * sysdeps/i386/fpu/e_log2f.S: Likewise.
37043 * sysdeps/i386/fpu/e_log2l.S: Likewise.
37044 * sysdeps/i386/fpu/e_logf.S: Likewise.
37045 * sysdeps/i386/fpu/e_logl.S: Likewise.
37046 * sysdeps/i386/fpu/e_pow.S: Likewise.
37047 * sysdeps/i386/fpu/e_powf.S: Likewise.
37048 * sysdeps/i386/fpu/e_powl.S: Likewise.
37049 * sysdeps/i386/fpu/e_remainder.S: Likewise.
37050 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
37051 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
37052 * sysdeps/i386/fpu/e_scalb.S: Likewise.
37053 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
37054 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
37055 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
37056 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
37057 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
37058 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
37059 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
37060 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37061 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
37062 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
37063 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
37064 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
37065 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
37066 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
37067 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
37068 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
37069 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
37070 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37071 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
37072 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
37073 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37074 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
37075 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
37076 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37077 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37078 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
37079 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
37080 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
37081 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
37082 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
37083 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
37084 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
37085 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
37086 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
37087 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
37088 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
37089 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
37090 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
37091 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
37092 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
37093 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
37094 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
37095 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
37096 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
37097 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
37098 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
37099 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
37100 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
37101 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
37102 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
37103 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
37104 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
37105 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
37106 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
37107 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
37108 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
37109 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
37110 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
37111 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
37112 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
37113 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
37114 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
37115 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
37116 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
37117 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
37118 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
37119 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
37120 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
37121 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
37122 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
37123 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
37124 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
37125 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
37126 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
37127 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
37128 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
37129 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
37130 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
37131 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
37132 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
37133 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
37134 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
37135 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
37136 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
37137 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
37138 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
37139 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
37140 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
37141 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
37142 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
37143 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
37144 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
37145 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
37146 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
37147 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
37148 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
37149 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
37150 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
37151 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
37152 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
37153 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
37154 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
37155 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
37156 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
37157 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
37158 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
37159 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
37160 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
37161 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
37162 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
37163 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
37164 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
37165 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
37166 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
37167 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
37168 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
37169 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
37170 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
37171 (__isnanf): Likewise.
37172 (__isinf_ns): Likewise.
37173 (__isinf_nsf): Likewise.
37174 (__finite): Likewise.
37175 (__finitef): Likewise.
37176 (__ieee754_sqrt): Define as macro.
37177 (__ieee754_sqrtf): Define as macro.
37178 (__ieee754_sqrtl): Define as macro.
37179 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
37180 inlined copy.
37181 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
37182 __FINITE_MATH_ONLY__ consistent.
37183 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
37184
12cc2fcd
AS
371852011-10-10 Andreas Schwab <schwab@linux-m68k.org>
37186
a843a204
AS
37187 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
37188 of rawmemchr.
37189
12cc2fcd
AS
37190 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
37191
c853acd5
UD
371922011-10-09 Ulrich Drepper <drepper@gmail.com>
37193
37194 * po/ja.po: Update from translation team.
37195
c658d255
RM
371962011-10-08 Roland McGrath <roland@hack.frob.com>
37197
110946e4
RM
37198 * locale/programs/locarchive.c (prepare_address_space): New function.
37199 (create_archive, enlarge_archive, open_archive): Use it.
37200
50604220
RM
37201 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
37202 inside [SHARED], where it is used.
37203
c658d255
RM
37204 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
37205
37206 * nss/getent.c (netgroup_keys): Remove unused variable.
37207 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
37208
6a621eb7
UD
372092011-10-08 Ulrich Drepper <drepper@gmail.com>
37210
7edb55ce
UD
37211 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
37212 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
37213 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
37214 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
37215 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
37216 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
37217 * math/Makefile (libm-calls): Add s_isinf_ns.
37218 * math/divtc3.c: Use __isinf_nsl instead of isinf.
37219 * math/multc3.c: Likewise.
37220 * math/s_casin.c: Likewise.
37221 * math/s_casinf.c: Likewise.
37222 * math/s_casinl.c: Likewise.
37223 * math/s_ccos.c: Likewise.
37224 * math/s_ccosf.c: Likewise.
37225 * math/s_ccosl.c: Likewise.
37226 * math/s_ctan.c: Likewise.
37227 * math/s_ctanf.c: Likewise.
37228 * math/s_ctanh.c: Likewise.
37229 * math/s_ctanhf.c: Likewise.
37230 * math/s_ctanhl.c: Likewise.
37231 * math/s_ctanl.c: Likewise.
37232 * math/w_fmod.c: Likewise.
37233 * math/w_fmodf.c: Likewise.
37234 * math/w_fmodl.c: Likewise.
37235 * math/w_remainder.c: Likewise.
37236 * math/w_remainderf.c: Likewise.
37237 * math/w_remainderl.c: Likewise.
37238 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
37239 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
37240 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
37241 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
37242 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
37243 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
37244 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
37245 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
37246
187da0ae
UD
37247 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
37248 of the number.
37249 * stdio-common/printf_fphex.c: Likewise.
37250 * stdio-common/printf_size.c: Likewise.
37251
9277c064
UD
37252 * math/e_exp10.c: Include math_private.h using <...> not "...".
37253 * math/e_exp10f.c: Likewise.
37254 * math/e_exp10l.c: Likewise.
37255 * math/e_exp2l.c: Likewise.
37256 * math/e_j0l.c: Likewise.
37257 * math/e_j1l.c: Likewise.
37258 * math/e_jnl.c: Likewise.
37259 * math/e_lgammal_r.c: Likewise.
37260 * math/e_rem_pio2l.c: Likewise.
37261 * math/e_scalb.c: Likewise.
37262 * math/e_scalbf.c: Likewise.
37263 * math/e_scalbl.c: Likewise.
37264 * math/k_cosl.c: Likewise.
37265 * math/k_sinl.c: Likewise.
37266 * math/k_tanl.c: Likewise.
37267 * math/s_cacoshf.c: Likewise.
37268 * math/s_catan.c: Likewise.
37269 * math/s_catanf.c: Likewise.
37270 * math/s_catanh.c: Likewise.
37271 * math/s_catanhf.c: Likewise.
37272 * math/s_catanhl.c: Likewise.
37273 * math/s_catanl.c: Likewise.
37274 * math/s_ccosh.c: Likewise.
37275 * math/s_ccoshf.c: Likewise.
37276 * math/s_ccoshl.c: Likewise.
37277 * math/s_cexp.c: Likewise.
37278 * math/s_cexpf.c: Likewise.
37279 * math/s_cexpl.c: Likewise.
37280 * math/s_clog.c: Likewise.
37281 * math/s_clog10.c: Likewise.
37282 * math/s_clog10f.c: Likewise.
37283 * math/s_clog10l.c: Likewise.
37284 * math/s_clogf.c: Likewise.
37285 * math/s_clogl.c: Likewise.
37286 * math/s_csin.c: Likewise.
37287 * math/s_csinf.c: Likewise.
37288 * math/s_csinh.c: Likewise.
37289 * math/s_csinhf.c: Likewise.
37290 * math/s_csinhl.c: Likewise.
37291 * math/s_csinl.c: Likewise.
37292 * math/s_csqrt.c: Likewise.
37293 * math/s_csqrtf.c: Likewise.
37294 * math/s_csqrtl.c: Likewise.
37295 * math/s_ctan.c: Likewise.
37296 * math/s_ctanf.c: Likewise.
37297 * math/s_ctanh.c: Likewise.
37298 * math/s_ctanhf.c: Likewise.
37299 * math/s_ctanhl.c: Likewise.
37300 * math/s_ctanl.c: Likewise.
37301 * math/s_ldexp.c: Likewise.
37302 * math/s_ldexpf.c: Likewise.
37303 * math/s_ldexpl.c: Likewise.
37304 * math/s_significand.c: Likewise.
37305 * math/s_significandf.c: Likewise.
37306 * math/s_significandl.c: Likewise.
37307 * math/w_acos.c: Likewise.
37308 * math/w_acosf.c: Likewise.
37309 * math/w_acosh.c: Likewise.
37310 * math/w_acoshf.c: Likewise.
37311 * math/w_acoshl.c: Likewise.
37312 * math/w_acosl.c: Likewise.
37313 * math/w_asin.c: Likewise.
37314 * math/w_asinf.c: Likewise.
37315 * math/w_asinl.c: Likewise.
37316 * math/w_atan2.c: Likewise.
37317 * math/w_atan2f.c: Likewise.
37318 * math/w_atan2l.c: Likewise.
37319 * math/w_atanh.c: Likewise.
37320 * math/w_atanhf.c: Likewise.
37321 * math/w_atanhl.c: Likewise.
37322 * math/w_cosh.c: Likewise.
37323 * math/w_coshf.c: Likewise.
37324 * math/w_coshl.c: Likewise.
37325 * math/w_dremf.c: Likewise.
37326 * math/w_exp10.c: Likewise.
37327 * math/w_exp10f.c: Likewise.
37328 * math/w_exp10l.c: Likewise.
37329 * math/w_exp2.c: Likewise.
37330 * math/w_exp2f.c: Likewise.
37331 * math/w_fmod.c: Likewise.
37332 * math/w_fmodf.c: Likewise.
37333 * math/w_fmodl.c: Likewise.
37334 * math/w_hypot.c: Likewise.
37335 * math/w_hypotf.c: Likewise.
37336 * math/w_hypotl.c: Likewise.
37337 * math/w_j0.c: Likewise.
37338 * math/w_j0f.c: Likewise.
37339 * math/w_j0l.c: Likewise.
37340 * math/w_j1.c: Likewise.
37341 * math/w_j1f.c: Likewise.
37342 * math/w_j1l.c: Likewise.
37343 * math/w_jn.c: Likewise.
37344 * math/w_jnf.c: Likewise.
37345 * math/w_jnl.c: Likewise.
37346 * math/w_lgamma.c: Likewise.
37347 * math/w_lgamma_r.c: Likewise.
37348 * math/w_lgammaf.c: Likewise.
37349 * math/w_lgammaf_r.c: Likewise.
37350 * math/w_lgammal.c: Likewise.
37351 * math/w_lgammal_r.c: Likewise.
37352 * math/w_log.c: Likewise.
37353 * math/w_log10.c: Likewise.
37354 * math/w_log10f.c: Likewise.
37355 * math/w_log10l.c: Likewise.
37356 * math/w_log2.c: Likewise.
37357 * math/w_log2f.c: Likewise.
37358 * math/w_log2l.c: Likewise.
37359 * math/w_logf.c: Likewise.
37360 * math/w_logl.c: Likewise.
37361 * math/w_pow.c: Likewise.
37362 * math/w_powf.c: Likewise.
37363 * math/w_powl.c: Likewise.
37364 * math/w_remainder.c: Likewise.
37365 * math/w_remainderf.c: Likewise.
37366 * math/w_remainderl.c: Likewise.
37367 * math/w_scalb.c: Likewise.
37368 * math/w_scalbf.c: Likewise.
37369 * math/w_scalbl.c: Likewise.
37370 * math/w_sinh.c: Likewise.
37371 * math/w_sinhf.c: Likewise.
37372 * math/w_sinhl.c: Likewise.
37373 * math/w_sqrt.c: Likewise.
37374 * math/w_sqrtf.c: Likewise.
37375 * math/w_sqrtl.c: Likewise.
37376 * math/w_tgamma.c: Likewise.
37377 * math/w_tgammaf.c: Likewise.
37378 * math/w_tgammal.c: Likewise.
37379
6a621eb7
UD
37380 * po/ja.po: Update from translation team.
37381
bf582445
AJ
373822011-09-29 Andreas Jaeger <aj@suse.de>
37383
f9efbf3a
AJ
37384 [BZ #13179]
37385 * sunrpc/netname.c (netname2host): Fix logic.
37386
bf582445
AJ
37387 [BZ #6779]
37388 [BZ #6783]
37389 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
37390 correctly.
37391 * math/w_remainder.c (__remainder): Likewise.
37392 * math/w_remainderf.c (__remainderf): Likewise.
37393 * math/libm-test.inc (remainder_test): Add test cases.
37394
48693bea
AK
373952011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37396
37397 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
37398 sdiv_qrnnd.
37399
42622229
LD
374002011-10-07 Ulrich Drepper <drepper@gmail.com>
37401
37402 * string/test-memcmp.c: Avoid unncessary #defines.
37403 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
37404
093ecf92
LD
374052011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37406
37407 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
37408 Use new sse2 version for core i3 - i7 as it's faster
37409 than sse42 version.
37410 (bit_Prefer_PMINUB_for_stringop): New.
37411 * sysdeps/x86_64/rawmemchr.S: Update.
37412 Replace with faster SSE2 version.
37413 * sysdeps/x86_64/memrchr.S: New file.
37414 * sysdeps/x86_64/memchr.S: Update.
37415 Replace with faster SSE2 version.
37416
fde56e5c
MP
374172011-09-12 Marek Polacek <mpolacek@redhat.com>
37418
37419 * elf/dl-load.c (lose): Add cast to avoid warning.
37420
21fd49a9
UD
374212011-10-07 Ulrich Drepper <drepper@gmail.com>
37422
5a06e643
UD
37423 * po/ca.po: Update from translation team.
37424
684ae515
UD
37425 * inet/getnetgrent_r.c: Hook up nscd.
37426 * nscd/Makefile (routines): Add nscd_netgroup.
37427 (nscd-modules): Add netgroupcache.
37428 (CFLAGS-netgroupcache.c): Define.
37429 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
37430 (cache_search): Add const to second parameter.
37431 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
37432 INNETGR.
37433 (dbs): Add netgrdb entry.
37434 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
37435 (verify_persistent_db): Handle netgrdb.
37436 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
37437 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
37438 GETFDNETGR.
37439 (netgroup_response_header): Define.
37440 (innetgroup_response_header): Define.
37441 (datahead): Add netgroup_response_header and innetgroup_response_header
37442 elements.
37443 * nscd/nscd.conf: Add entries for netgroup cache.
37444 * nscd/nscd.h (dbtype): Add netgrdb.
37445 (_PATH_NSCD_NETGROUP_DB): Define.
37446 (netgroup_iov_disabled): Declare.
37447 (xmalloc, xcalloc, xrealloc): Move declarations here.
37448 (cache_search): Adjust prototype.
37449 Add netgroup-related prototypes.
37450 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
37451 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
37452 (__nscd_innetgr): Declare.
37453 * nscd/selinux.c (perms): Use access_vector_t as element type and
37454 add netgroup-related initializers.
37455 * nscd/netgroupcache.c: New file.
37456 * nscd/nscd_netgroup.c: New file.
37457 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
37458 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
37459 For four parameters use innetgr.
37460 * nss/nss_files/files-init.c: Add definition and callback for netgr.
37461 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
37462 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
37463 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
37464
21fd49a9
UD
37465 * nscd/connections.c (register_traced_file): Don't register file
37466 for disabled databases.
37467
054c0457
UD
374682011-10-06 Ulrich Drepper <drepper@gmail.com>
37469
32b63198
UD
37470 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
37471
054c0457
UD
37472 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
37473 from tree and freeing node.
37474
64031225
JO
374752011-09-25 Jiri Olsa <jolsa@redhat.com>
37476
37477 * nss/nsswitch.c (__nss_database_lookup): Handle
37478 nss_parse_service_list out of memory case.
37479
0490345c
JO
374802011-09-15 Jiri Olsa <jolsa@redhat.com>
37481
37482 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
37483 out of memory case.
37484
3a62d00d
AS
374852011-10-04 Andreas Schwab <schwab@redhat.com>
37486
37487 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
37488 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
37489 pass it down.
37490 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
37491 elf_machine_rela, elf_machine_lazy_rel.
37492 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
37493 (ELF_DYNAMIC_DO_REL): Likewise.
37494 (ELF_DYNAMIC_DO_RELA): Likewise.
37495 (ELF_DYNAMIC_RELOCATE): Likewise.
37496 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
37497 to ELF_DYNAMIC_DO_REL.
37498 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
37499 (dl_main): In trace mode always set __RTLD_NOIFUNC.
37500 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
37501 elf_machine_rela.
37502 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
37503 skip_ifunc, don't call ifunc function if non-zero.
37504 (elf_machine_rela): Likewise.
37505 (elf_machine_lazy_rel): Likewise.
37506 (elf_machine_lazy_rela): Likewise.
37507 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
37508 (elf_machine_lazy_rel): Likewise.
37509 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
37510 Likewise.
37511 (elf_machine_lazy_rel): Likewise.
37512 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
37513 Likewise.
37514 (elf_machine_lazy_rel): Likewise.
37515 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
37516 (elf_machine_lazy_rel): Likewise.
37517 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
37518 (elf_machine_lazy_rel): Likewise.
37519 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
37520 (elf_machine_lazy_rel): Likewise.
37521 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
37522 (elf_machine_lazy_rel): Likewise.
37523 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
37524 (elf_machine_lazy_rel): Likewise.
37525 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
37526 (elf_machine_lazy_rel): Likewise.
37527
68577918
UD
375282011-09-28 Ulrich Drepper <drepper@gmail.com>
37529
37530 * nss/nss_files/files-init.c (_nss_files_init): Use static
37531 initialization for all the *_traced_file variables.
37532
68822d74
AS
375332011-09-28 Andreas Schwab <schwab@redhat.com>
37534
37535 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
37536
2056100b
RM
375372011-09-27 Roland McGrath <roland@hack.frob.com>
37538
37539 [BZ #13226]
37540 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
37541
32c76b63
AS
375422011-09-27 Andreas Schwab <schwab@redhat.com>
37543
37544 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
37545 Reread the line before reparsing it.
37546
bf972c9d
AS
375472011-09-26 Andreas Schwab <schwab@redhat.com>
37548
37549 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
37550
e057a1b5
JM
375512011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
37552 Maxim Kuvyrkov <maxim@codesourcery.com>
37553 Joseph Myers <joseph@codesourcery.com>
37554
37555 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
37556 if needed for __stack_chk_guard.
37557
bc7e1c36
RM
375582011-09-19 Roland McGrath <roland@hack.frob.com>
37559
ecb1482f
RM
37560 * sysdeps/posix/spawni.c (script_execute): Always define it.
37561 It will be optimized away if unused.
37562 (maybe_script_execute): New function.
37563 (__spawni): Call it.
37564
bc7e1c36
RM
37565 * Makerules: Don't include tls.make.
37566 (config-tls): Always set to thread.
37567 * tls.make.c: File removed.
37568
1c3b002b
MF
375692011-09-19 Mike Frysinger <vapier@gentoo.org>
37570
37571 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
37572 * config.make.in (CPPFLAGS-config): New substituted variable.
37573
2840865d
UD
375742011-09-15 Ulrich Drepper <drepper@gmail.com>
37575
88738eb6
UD
37576 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
37577
cbf645a6 37578 [BZ #13192]
2840865d
UD
37579 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
37580 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
37581
b402e91a
RM
375822011-09-15 Roland McGrath <roland@hack.frob.com>
37583
37584 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
37585 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
37586 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
37587 (CALL_FAIL): Likewise.
37588 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
37589 (CALL_FAIL): Macro removed.
37590 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
37591
4c1a1f71
UD
375922011-09-15 Ulrich Drepper <drepper@gmail.com>
37593
37594 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
37595 for __FINITE_MATH_ONLY__ == 1.
37596
edc121be
AS
375972011-09-15 Andreas Schwab <schwab@redhat.com>
37598
37599 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
37600 __ieee754_sqrt instead of sqrt.
37601 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
37602 __ieee754_sqrtf instead of sqrtf.
37603 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
37604 __floorf instead of floorf.
37605 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
37606 __floorf, __truncf instead of floorf, truncf.
37607
cd205654
UD
376082011-09-14 Ulrich Drepper <drepper@gmail.com>
37609
ee4d0315
UD
37610 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
37611
cd205654
UD
37612 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
37613 __extern_always_inline.
37614 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
37615 32-bit.
37616
48b67d71
AS
376172011-09-14 Andreas Schwab <schwab@redhat.com>
37618
37619 * elf/rtld.c (dl_main): Also relocate in dependency order when
37620 doing symbol dependency testing.
37621
1ae12c75
AS
376222011-09-13 Andreas Schwab <schwab@linux-m68k.org>
37623
37624 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
37625 Always define `refsym'.
37626
995a80df
AS
376272011-09-13 Andreas Schwab <schwab@redhat.com>
37628
e529793b
AS
37629 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
37630 (__FD_ELT): Renamed from __FDELT.
37631 * misc/bits/select2.h (__FD_ELT): Likewise.
37632 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
37633 __FD_MASK instead of __FDELT, __FDMASK.
37634 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
37635 Likewise.
37636 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
37637 Likewise.
37638
52d4fef8
AS
37639 * elf/Makefile (gen-ldd): Fix pattern.
37640
995a80df
AS
37641 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
37642 (init_tls): Likewise.
37643
8682f8b0
UD
376442011-09-12 Ulrich Drepper <drepper@gmail.com>
37645
37646 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
37647
de82006d
AS
376482011-09-12 Andreas Schwab <schwab@redhat.com>
37649
a7c8e6a1
AS
37650 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
37651 `struct cmsghdr *' instead of `void *'.
37652 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
37653 Likewise.
37654
0f31fe77
AS
376552011-09-11 Andreas Schwab <schwab@linux-m68k.org>
37656
37657 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
37658 if non-absolute.
37659 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
37660 ldd_rewrite_script.
0f31fe77 37661
32b4c839
UD
376622011-09-11 Ulrich Drepper <drepper@gmail.com>
37663
83cd1420
UD
37664 * configure.in: Remove --with-tls option.
37665 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
37666 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
37667 out in case it is missing.
37668 * sysdeps/ia64/elf/configure.in: Likewise.
37669 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
37670 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
37671 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
37672 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
37673 * sysdeps/sh/elf/configure.in: Likewise.
37674 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
37675 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
37676 * sysdeps/x86_64/elf/configure.in: Likewise.
37677 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
37678 * sysdeps/mach/hurd/tls.h: Likewise.
37679
633f745d
UD
37680 [BZ #13067]
37681 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
37682
f318beb8
UD
37683 [BZ #13090]
37684 * configure.in: Fix use of AC_INIT.
37685
32b4c839
UD
37686 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
37687
3ce1f295
UD
376882011-09-10 Ulrich Drepper <drepper@gmail.com>
37689
bb016596
UD
37690 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
37691 __set_errno.
8e58439c
UD
37692 * malloc/hooks.c: Likewise.
37693
aebae053 37694 [BZ #11929]
02d46fc4
UD
37695 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
37696 variables statically.
37697 (narenas): Initialize.
37698 (list_lock): Initialize.
bb016596
UD
37699 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
37700 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
37701 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
37702 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
37703 Add initializers to main_arena and mp_.
37704 (malloc_state): Remove pagesize member. Change all users to use
37705 GLRO(dl_pagesize).
37706
37707 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
37708 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
37709 is always initialized.
37710
22a89187
UD
37711 * malloc/malloc.c: Removed unused configurations and dead code.
37712 * malloc/arena.c: Likewise.
37713 * malloc/hooks.c: Likewise.
02d46fc4 37714 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 37715
d063d164
UD
37716 * include/tls.h: Removed. USE___THREAD must always be defined.
37717 * bits/libc-tsd.h: Don't handle !USE___THREAD.
37718 * elf/dl-libc.c: Likewise.
37719 * elf/dl-tsd.c: Likewise.
37720 * include/errno.h: Likewise.
37721 * include/netdb.h: Likewise.
37722 * include/resolv.h: Likewise.
37723 * inet/herrno-loc.c: Likewise.
37724 * inet/herrno.c: Likewise.
37725 * malloc/arena.c: Likewise.
37726 * malloc/hooks.c: Likewise.
37727 * malloc/malloc.c: Likewise.
37728 * resolv/res-state.c: Likewise.
37729 * resolv/res_libc.c: Likewise.
37730 * sysdeps/i386/dl-machine.h: Likewise.
37731 * sysdeps/ia64/dl-machine.h: Likewise.
37732 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
37733 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
37734 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
37735 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
37736 * sysdeps/sh/dl-machine.h: Likewise.
37737 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
37738 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
37739 * sysdeps/unix/i386/sysdep.S: Likewise.
37740 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
37741 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
37742 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
37743 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
37744 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
37745 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
37746 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
37747 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
37748 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37749 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
37750 * sysdeps/unix/x86_64/sysdep.S: Likewise.
37751 * sysdeps/x86_64/dl-machine.h: Likewise.
37752 * tls.make.c: Likewise.
37753
3ce1f295
UD
37754 * configure.in: Remove --with-__thread option. Make tests for
37755 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
37756 tls_model attribute fail if no support is available. Remove
37757 USE_IN_LIBIO.
37758 * Makeconfig: Adjust for dropped configure option. All features are
37759 now mandatory.
37760 * Makerules: Likewise.
37761 * Versions.def: Likewise.
37762 * argp/argp-fmtstream.c: Likewise.
37763 * argp/argp-fmtstream.h: Likewise.
37764 * argp/argp-help.c: Likewise.
37765 * assert/assert.c: Likewise.
37766 * config.h.in: Likewise.
37767 * config.make.in: Likewise.
37768 * configure: Likewise.
37769 * configure.in: Likewise.
37770 * csu/Versions: Likewise.
37771 * csu/init.c: Likewise.
37772 * elf/tst-audit2.c: Likewise.
37773 * elf/tst-tls10.c: Likewise.
37774 * elf/tst-tls10.h: Likewise.
37775 * elf/tst-tls11.c: Likewise.
37776 * elf/tst-tls12.c: Likewise.
37777 * elf/tst-tls14.c: Likewise.
37778 * elf/tst-tlsmod11.c: Likewise.
37779 * elf/tst-tlsmod12.c: Likewise.
37780 * elf/tst-tlsmod13.c: Likewise.
37781 * elf/tst-tlsmod13a.c: Likewise.
37782 * elf/tst-tlsmod14a.c: Likewise.
37783 * elf/tst-tlsmod15b.c: Likewise.
37784 * elf/tst-tlsmod16a.c: Likewise.
37785 * elf/tst-tlsmod16b.c: Likewise.
37786 * elf/tst-tlsmod7.c: Likewise.
37787 * elf/tst-tlsmod8.c: Likewise.
37788 * elf/tst-tlsmod9.c: Likewise.
37789 * gmon/gmon.c: Likewise.
37790 * grp/fgetgrent_r.c: Likewise.
37791 * grp/putgrent.c: Likewise.
37792 * hurd/fopenport.c: Likewise.
37793 * include/libc-symbols.h: Likewise.
37794 * include/tls.h: Likewise.
37795 * intl/gettextP.h: Likewise.
37796 * intl/loadinfo.h: Likewise.
37797 * locale/global-locale.c: Likewise.
37798 * locale/localeinfo.h: Likewise.
37799 * mach/devstream.c: Likewise.
37800 * malloc/arena.c: Likewise.
37801 * malloc/set-freeres.c: Likewise.
37802 * misc/err.c: Likewise.
37803 * misc/getttyent.c: Likewise.
37804 * misc/mntent_r.c: Likewise.
37805 * posix/getopt.c: Likewise.
37806 * posix/wordexp.c: Likewise.
37807 * pwd/fgetpwent_r.c: Likewise.
37808 * resolv/Versions: Likewise.
37809 * resolv/res_hconf.c: Likewise.
37810 * shadow/fgetspent_r.c: Likewise.
37811 * shadow/putspent.c: Likewise.
37812 * stdio-common/printf_fphex.c: Likewise.
37813 * stdio-common/tmpfile.c: Likewise.
37814 * stdlib/abort.c: Likewise.
37815 * stdlib/fmtmsg.c: Likewise.
37816 * sunrpc/auth_unix.c: Likewise.
37817 * sunrpc/clnt_perr.c: Likewise.
37818 * sunrpc/clnt_tcp.c: Likewise.
37819 * sunrpc/clnt_udp.c: Likewise.
37820 * sunrpc/clnt_unix.c: Likewise.
37821 * sunrpc/openchild.c: Likewise.
37822 * sunrpc/svc_simple.c: Likewise.
37823 * sunrpc/svc_tcp.c: Likewise.
37824 * sunrpc/svc_udp.c: Likewise.
37825 * sunrpc/svc_unix.c: Likewise.
37826 * sunrpc/xdr.c: Likewise.
37827 * sunrpc/xdr_array.c: Likewise.
37828 * sunrpc/xdr_rec.c: Likewise.
37829 * sunrpc/xdr_ref.c: Likewise.
37830 * sunrpc/xdr_stdio.c: Likewise.
37831
1248c1c4
PB
378322011-09-09 Ulrich Drepper <drepper@gmail.com>
37833
37834 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
37835
378362011-07-03 Andreas Jaeger <aj@suse.de>
37837
37838 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
37839 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
37840 regenerate with gen-libm-tests.pl.
37841
378422010-05-12 Petr Baudis <pasky@suse.cz>
37843
37844 [BZ #11589]
37845 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
37846 around j0() zero points by switching to j1().
37847 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
37848 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
37849 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
37850 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
37851
f22e1074
UD
378522011-09-09 Ulrich Drepper <drepper@gmail.com>
37853
f19009c1
UD
37854 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
37855 instead of 0.
37856 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 37857 instead of 0.
f19009c1
UD
37858 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
37859 Patch in part by Pavel Roskin <proski@gnu.org>.
37860
3f8cc204
UD
37861 [BZ #13138]
37862 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
37863 realloc.
37864 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
37865 Free memory block if necessary.
37866
f22e1074
UD
37867 [BZ #12847]
37868 * libio/genops.c (INTDEF): For string streams the _lock pointer can
37869 be NULL. Don't lock in this case.
37870
0a2349f9
RM
378712011-09-09 Roland McGrath <roland@hack.frob.com>
37872
37873 * elf/elf.h (ELFOSABI_GNU): New macro.
37874 (ELFOSABI_LINUX): Define to that.
37875
f3cdd467
DZ
378762011-07-29 Denis Zaitceff <zaitceff@gmail.com>
37877
37878 * string/strncat.c (strncat): Undef the symbol in case it has been
37879 defined in bits/string.h.
37880
74718d13
UD
378812011-09-09 Ulrich Drepper <drepper@gmail.com>
37882
633e9e0f
UD
37883 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
37884
0a2349f9 37885 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
37886 link map.
37887
f9924780
AJ
378882011-08-17 Andreas Jaeger <aj@suse.de>
37889
37890 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
37891
7f5517aa
PP
378922011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
37893 Ian Lance Taylor <iant@google.com>
37894
37895 * math/libm-test.inc (lround_test): New testcase.
37896 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
37897
762011fe
UD
378982011-09-08 Ulrich Drepper <drepper@gmail.com>
37899
92963737
UD
37900 * Makefile: Remove support for automatic cvs check-ins.
37901 * Makerules: Likewise.
37902 * config.make.in: Likewise.
37903 * configure.in: Likewise.
37904 * intl/Makefile: Likewise.
37905 * locale/Makefile: Likewise.
37906 * po/Makefile: Likewise.
37907 * posix/Makefile: Likewise.
37908 * sysdeps/gnu/Makefile: Likewise.
37909 * sysdeps/mach/hurd/Makefile: Likewise.
37910 * sysdeps/sparc/sparc32/Makefile: Likewise.
37911
b0727fd8
JS
37912 [BZ #13118]
37913 * posix/Makefile (bug-regex32-ENV): Define.
37914 Patch by John Stanley <jpsinthemix@verizon.net>.
37915
a0f33f99
UD
37916 * misc/Makefile (headers): Add bits/select2.h.
37917 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
37918 * misc/bits/select2.h: New file.
37919 * include/bits/select2.h: New file.
37920 * debug/Makefile (routines): Add fdelt_chk.
37921 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
37922 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
37923 FD_ISSET.
37924 * debug/fdelt_chk.c: New file.
37925
762011fe
UD
37926 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
37927 * wcsmbs/test-wmemcmp.c: Likewise.
37928 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 37929 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
37930
379312011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37932
37933 * string/Makefile (strop-tests): Add memcmp.
37934 * string/test-wmemcmp.c: New file.
37935 * string/test-memcmp.c: Add wmemcmp support.
37936
7f513ec8
RM
379372011-09-08 Roland McGrath <roland@hack.frob.com>
37938
0442afb4
RM
37939 [BZ #13153]
37940 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
37941 2011-07-19 change.
37942
7f513ec8
RM
37943 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
37944 garbage value in a __mach_port_mod_refs call in the cases of the
37945 task-self and thread-self ports.
37946
a12b2239
ST
379472011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
37948
37949 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
37950
610f9ab4
AS
379512011-09-08 Andreas Schwab <schwab@redhat.com>
37952
7f513ec8 37953 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 37954
48882a1a
LD
379552011-09-07 Ulrich Drepper <drepper@gmail.com>
37956
b49865be
UD
37957 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
37958
fdc86bc9
UD
37959 * elf/dl-libc.c (dlerror_run): Pass back error code from
37960 dl_catch_error.
37961
c966526a
UD
37962 [BZ #13123]
37963 * elf/dl-load.c (lose): Free l_origin if it is valid.
37964
48882a1a
LD
37965 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
37966 names.
37967 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
37968 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
37969 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
37970 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
37971 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
37972 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
37973
77a2a8b4
AZ
379742011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37975
37976 * sysdeps/powerpc/fpu/e_hypot.c: New file.
37977 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
37978 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
37979 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
37980 * sysdeps/powerpc/fpu/k_cosf.c: New file.
37981 * sysdeps/powerpc/fpu/k_sinf.c: New file.
37982 * sysdeps/powerpc/fpu/s_cosf.c: New file.
37983 * sysdeps/powerpc/fpu/s_sinf.c: New file.
37984 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
37985 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
37986
24f579d8
AM
379872011-08-15 Alan Modra <amodra@gmail.com>
37988
37989 [BZ #13092]
37990 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
37991 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
37992 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
37993 ppc_mcount to static-only-routines.
37994 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
37995 __mcount_internal.
37996 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
37997 __mcount_internal with usual JUMPTARGET. Remove useless nop.
37998
3d4837df
UD
379992011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
38000
38001 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
38002 for finite and infinity parameters.
38003
22700377
WS
380042011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
38005
38006 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
38007 and add nop instructions for throughput optimization.
38008 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
38009
5025581e
WS
380102011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
38011
38012 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
38013 aligned copy for power7 with vector-scalar instructions.
38014 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
38015
08a300c9
L
380162011-07-24 H.J. Lu <hongjiu.lu@intel.com>
38017
38018 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
38019 AVX check.
38020
59178ef9
AS
380212011-09-07 Andreas Schwab <schwab@redhat.com>
38022
38023 [BZ #13144]
38024 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
38025 last change.
38026
e38ba7ab
UD
380272011-09-07 Ulrich Drepper <drepper@gmail.com>
38028
38029 * sysdeps/unix/sysv/linux/x86_64/init-first.c
38030 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
38031 syscall wrapper around clock_gettime in __vdso_clock_gettime.
38032 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
38033 clock_gettime.
38034
d53a73ac
UD
380352011-09-06 Ulrich Drepper <drepper@gmail.com>
38036
fc8bffcc
UD
38037 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
38038 Forgot to demangle the pointer.
38039
ceaa0c5d
UD
38040 * sysdeps/i386/sysdep.h: Define atom_text_section.
38041 * sysdeps/x86_64/sysdep.h: Likewise.
38042 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
38043 section with atom_text_section.
38044 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
38045 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
38046 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
38047 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
38048 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
38049
a77d3c17
UD
38050 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
38051 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
38052 already be defined. Change to take two parameters and don't assign
38053 result to variable. Adjust all users.
38054 Define INTERNAL_GETTIME if not already defined.
38055 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
38056 call.
38057 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
38058 HAVE_CLOCK_GETTIME_VSYSCALL.
38059 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
38060
d53a73ac
UD
38061 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
38062 gettimeofday vsyscall, just use time.
38063
a8f84144
AS
380642011-09-06 Andreas Schwab <schwab@redhat.com>
38065
38066 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
38067 <errno.h>.
38068
ef606249
UD
380692011-09-06 Ulrich Drepper <drepper@gmail.com>
38070
38071 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
38072 syscall on x86-64.
38073 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
38074 syscall.
38075 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
38076 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
38077 syscall if possible.
38078
6585cb60
UD
380792011-09-05 Ulrich Drepper <drepper@gmail.com>
38080
38081 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
38082 e_ident. Don't pass to find_mapsXX.
38083 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
38084
a5f524e4
LD
380852011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
38086
38087 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38088 strchr-sse2-no-bsf strrchr-sse2-no-bsf
38089 * sysdeps/x86_64/multiarch/strchr.S: Update.
38090 Check bit_slow_BSF bit.
38091 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
38092 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
38093 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
38094
554881ef
UD
380952011-09-05 Ulrich Drepper <drepper@gmail.com>
38096
d96de963
UD
38097 [BZ #13134]
38098 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
38099 before glibc 2.15.
38100 (tryshell): Define.
38101 (__spawni): Change last parameter to be flag. Test
38102 SPAWN_XFLAGS_USE_PATH flag to use path or not.
38103 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
38104 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
38105 * posix/spawni.c: Likewise.
38106 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
38107 * posix/spawnp.c: Likewise. Change normal version to use
38108 SPAWN_XFLAGS_USE_PATH.
38109 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
38110 SPAWN_XFLAGS_TRY_SHELL.
38111
d48e5868
UD
38112 [BZ #13150]
38113 * posix/glob.h: Remove gcc 1.x support.
38114
554881ef
UD
38115 [BZ #13068]
38116 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
38117
693fb948
LD
381182011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
38119
38120 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38121 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
38122 strrchr-sse2-bsf
38123 * sysdeps/i386/i686/multiarch/strchr.S: New file.
38124 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
38125 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
38126 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
38127 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
38128 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
38129
1b48c537
UD
381302011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38131
49d42c37
UD
38132 * sysdeps/x86_64/wcscmp.S: New file.
38133
1b48c537
UD
38134 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
38135 wcscmp-c wcscmp-sse2
38136 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
38137 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
38138 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
38139 * wcsmbs/wcscmp.c: Allow renaming.
38140
15c95c5d
DM
381412011-09-05 David S. Miller <davem@davemloft.net>
38142
38143 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
38144 stack slot, rather than the struct return pointer slot.
38145 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
38146 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
38147 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
38148 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
38149
2f0ad8f3
UD
381502011-09-05 Ulrich Drepper <drepper@gmail.com>
38151
d88ae418
UD
38152 * po/ja.po: Update from translation team.
38153
2f0ad8f3
UD
38154 [BZ #13144]
38155 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
38156 kernel in 64-bit binaries.
38157
5f4318d1
DM
381582011-09-01 David S. Miller <davem@davemloft.net>
38159
38160 * elf/elf.h (HWCAP_SPARC_*): Move to..
38161 * sysdeps/sparc/sysdep.h: this new file and add new values.
38162 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
38163 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
38164 _DL_HWCAP_COUNT to 24.
38165 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
38166 entries.
38167 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
38168 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
38169 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
38170 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
38171 instead of magic constants.
38172 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
38173
3ba57516
DM
381742011-08-31 David S. Miller <davem@davemloft.net>
38175
38176 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
38177 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
38178 Reimplement to do errno handling inline.
38179 (SYSCALL_ERROR_HANDLER): New macro.
38180 (__SYSCALL_STRING): Do not do errno handling in asm.
38181 (__CLONE_SYSCALL_STRING): Delete.
38182 (__INTERNAL_SYSCALL_STRING): Delete.
38183 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
38184 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
38185 (PSEUDO): Reimplement to do errno handling inline.
38186 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
38187 (SYSCALL_ERROR_HANDLER): New macro.
38188 (__SYSCALL_STRING): Do not do errno handling in asm.
38189 (__CLONE_SYSCALL_STRING): Delete.
38190 (__INTERNAL_SYSCALL_STRING): Delete.
38191 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
38192 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
38193 i386.
38194 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
38195 (inline_syscall*): Add 'err' argument.
38196 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
38197 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
38198 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
38199 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
38200
38201 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
38202 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
38203
2bc17433
AS
382042011-08-30 Andreas Schwab <schwab@redhat.com>
38205
38206 * elf/rtld.c (dl_main): Relocate objects in dependency order.
38207
fbeb5f4d
JO
382082011-08-29 Jiri Olsa <jolsa@redhat.com>
38209
38210 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
38211 directive.
38212
ad69cc26
DM
382132011-08-24 David S. Miller <davem@davemloft.net>
38214
38215 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
38216
39dd69df
AS
382172011-08-24 Andreas Schwab <schwab@redhat.com>
38218
38219 * elf/Makefile: Add rules to build and run unload8 test.
38220 * elf/unload8.c: New file.
38221 * elf/unload8mod1.c: New file.
38222 * elf/unload8mod1x.c: New file.
38223 * elf/unload8mod2.c: New file.
38224 * elf/unload8mod3.c: New file.
38225
38226 * elf/dl-close.c (_dl_close_worker): Reset private search list if
38227 it wasn't used.
38228
2c0b250a
DM
382292011-08-23 David S. Miller <davem@davemloft.net>
38230
38231 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
38232 subtract stack bias.
38233 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
38234 %sp not %fp in calculations.
38235 (_JMPBUF_UNWINDS_ADJ): Likewise.
38236
22044b48
DM
38237 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
38238 (aio_suspend): Call it to force an exception region around the
38239 AIO_MISC_WAIT() invocation.
38240
2cae4995
AS
382412011-08-23 Andreas Schwab <schwab@redhat.com>
38242
38243 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
38244 backslash.
38245
873a772e
AJ
382462011-07-04 Aurelien Jarno <aurelien@aurel32.net>
38247
38248 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
38249 protection macro.
38250 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
38251 and <dl-machine.h>.
38252 (Elf64_FuncDesc): Remove.
38253
25ad0df1
DM
382542011-08-22 David S. Miller <davem@davemloft.net>
38255
38256 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
38257 sigaltstack check, add missing cfi directives.
38258 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
38259 missing cfi directives, and sigaltstack handling.
38260
e888bcbe
AS
382612011-08-16 Andreas Schwab <schwab@redhat.com>
38262
38263 [BZ #11724]
38264 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
38265 object is seen twice.
38266 * elf/dl-fini.c (_dl_sort_fini): Likewise.
38267
38268 * elf/Makefile (distribute): Add tst-initorder2.c.
38269 (tests): Add tst-initorder2.
38270 (modules-names): Add tst-initorder2a tst-initorder2b
38271 tst-initorder2c tst-initorder2d. Add rules to build them.
38272 ($(objpfx)tst-initorder2.out): New rule.
38273 * elf/tst-initorder2.c: New file.
38274 * elf/tst-initorder2.exp: New file.
38275
87162f46
AS
382762011-08-22 Andreas Schwab <schwab@redhat.com>
38277
70538b7f
AS
38278 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
38279
f55ffe58
AS
38280 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
38281 dependencies back to end of function.
38282
87162f46
AS
38283 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
38284 $(elfobjdir)/ld.so.
38285
91b392a4
UD
382862011-08-21 Ulrich Drepper <drepper@gmail.com>
38287
38288 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
38289 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
38290 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
38291 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
38292 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
38293 of __vdso_gettimeofday.
38294 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
38295 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
38296 attribute_hidden.
38297 (_libc_vdso_platform_setup): Remove initialization of
38298 __vdso_gettimeofday and __vdso_time.
38299
5c43483f
UD
383002011-08-20 Ulrich Drepper <drepper@gmail.com>
38301
775a77e7
UD
38302 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
38303 and fgetc_unlocked.
38304 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
38305 getc_unlocked.
89f447ed 38306
49c74ba9
UD
38307 * elf/dl-open.c (add_to_global): Report additions to the global scope
38308 for LD_DEBUG=scopes.
38309 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 38310 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 38311
5c43483f
UD
38312 [BZ #13114]
38313 * stdio-common/Makefile (tests): Add bug24.
38314 * stdio-common/bug24.c: New file.
38315
a101b025
AJ
383162011-08-19 Andreas Jaeger <aj@suse.de>
38317
38318 [BZ #13114]
38319 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
38320 non-existant file when using close-on-exec mode.
38321
c88f1766
UD
383222011-08-20 Ulrich Drepper <drepper@gmail.com>
38323
0276a718
UD
38324 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
38325 the very first instruction.
38326
c88f1766
UD
38327 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
38328 the CFI state in the end.
38329 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
38330 inclusion of dl-trampoline.h.
38331 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
38332
51ccffa0
AS
383332011-08-19 Andreas Schwab <schwab@redhat.com>
38334
94d7165f
AS
38335 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
38336 expectations for long double.
38337
51ccffa0
AS
38338 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
38339 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
38340
fd708658 383412011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
38342
38343 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
38344 artificual limit depends upon the system page size.
38345
44f0a71e
UD
383462011-08-17 Ulrich Drepper <drepper@gmail.com>
38347
38348 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
38349 * resolv/Makefile: Define CFLAGS-libresolv.
38350
8de79a24
AS
383512011-08-17 Andreas Schwab <schwab@redhat.com>
38352
38353 * nss/makedb.c (compute_tables): Make variables used in nested
38354 function static.
38355
27724598
UD
383562011-08-17 Ulrich Drepper <drepper@gmail.com>
38357
c5305d88
UD
38358 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
38359 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
38360 if buffer was too small.
38361
27724598
UD
38362 * elf/pldd.c (main): Attach to all threads in the process.
38363 Rewrite /proc handling to use *at functions.
38364
076fe015
UD
383652011-08-16 Ulrich Drepper <drepper@gmail.com>
38366
174baab3
UD
38367 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
38368 specifies first scope to show.
38369 (dl_open_worker): Update callers. Move printing scope of new
38370 object to before the relocation.
44f0a71e 38371 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
38372 * sysdeps/generic/ldsodefs.h: Update declaration.
38373
076fe015
UD
38374 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
38375 string for the scope number.
38376
a60df2c3
UD
383772011-08-14 Ulrich Drepper <drepper@gmail.com>
38378
38379 * nscd/servicescache.c (cache_addserv): Make sure written is always
38380 initialized.
38381
5e4287d1
RM
383822011-08-14 Roland McGrath <roland@hack.frob.com>
38383
85ae0589
RM
38384 * sysdeps/i386/i486/bits/atomic.h
38385 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
38386 statement expression, so as to suppress "set but not used" warning.
38387 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
38388
69f63097
RM
38389 * string/strncat.c (STRNCAT): Use prototype definition.
38390
675456ef
RM
38391 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
38392 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
38393 -Iprograms here.
38394 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
38395 (localedef-modules): Add localedef.
38396 (locale-modules): Add locale.
38397
5e4287d1
RM
38398 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
38399 * elf/rtld.c (dl_main): Invert order of assignment in last change,
38400 to avoid a warning.
38401
9c96ff23
DM
384022011-08-14 David S. Miller <davem@davemloft.net>
38403
38404 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
38405 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
38406
f9ddf089
UD
384072011-08-13 Ulrich Drepper <drepper@gmail.com>
38408
44f0a71e 38409 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
38410 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
38411 * elf/rtld.c (dl_main): Set l_name of vDSO.
38412 Call _dl_show_scope when DL_DEBUG_SCOPES.
38413 (process_dl_debug): Recognize scopes flag and also set it for all.
38414 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
38415 Declare _dl_show_scope.
38416
1dc27704
UD
38417 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
38418 (do_dlopen): Pass caller_dlopen to dl_open.
38419 (__libc_dlopen_mode): Initialize caller_dlopen.
38420
f9ddf089
UD
38421 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
38422 of libc. Make tolower call locale-independent. Optimize a bit by
38423 using isdigit instead of isalnum.
38424 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
38425
9ac533d3
UD
384262011-08-12 Ulrich Drepper <drepper@gmail.com>
38427
38428 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
38429 was a dependency or dynamically loaded.
38430
89edf2e9
UD
384312011-08-11 Ulrich Drepper <drepper@gmail.com>
38432
8e999d29
UD
38433 * intl/l10nflist.c: Allow architecture-specific pop function.
38434 * sysdeps/x86_64/l10nflist.c: New file.
38435
89edf2e9
UD
38436 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
38437 classification.
38438
14d96785
AS
384392011-08-10 Andreas Schwab <schwab@redhat.com>
38440
38441 * include/dirent.h: Add libc_hidden_proto for scandirat and
38442 scandirat64. Don't declare __scandirat64.
38443 * dirent/scandirat.c: Add libc_hidden_def.
38444 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
38445 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
38446
6761ac04
DM
384472011-08-10 David S. Miller <davem@davemloft.net>
38448
38449 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
38450 enum.
38451 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
38452 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
38453 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
38454
c55fbd1e
UD
384552011-08-09 Ulrich Drepper <drepper@gmail.com>
38456
38457 * Versions.def [libc]: Add GLIBC_2.15.
38458 * dirent/Makefile (routines): Add scandirat and scandirat64.
38459 * dirent/Versions [libc]: Export scandirat and scandirat64 for
38460 GLIBC_2.15.
38461 * dirent/dirent.h: Declare scandirat and scandirat64.
38462 * dirent/scandirat.c: New file.
38463 * dirent/scandirat64.c: New file.
38464 * sysdeps/wordsize-64/scandirat.c: New file.
38465 * sysdeps/wordsize-64/scandirat64.c: New file.
38466 * dirent/opendir.c: Define opendirat.
38467 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
38468 using scandirat.
38469 * dirent/scandir64.c: Adjust for scandir.c change.
38470 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
38471 __scandirat64, and __scandir_cancel_handler.
38472 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
38473 additional parameter and use openat instead of open (outside of ld.so).
38474 Add new __opendir as wrapper around __opendirat.
38475 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
38476 here without requiring old scandirat implementation.
38477
879165f2
UD
384782011-08-08 Ulrich Drepper <drepper@gmail.com>
38479
38480 * dirent/scandir.c (cancel_handler): Renamed to
38481 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
38482 defined. Adjust users.
38483 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
38484 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
38485
cb7e923b
UD
384862011-08-04 Ulrich Drepper <drepper@gmail.com>
38487
16292edd
UD
38488 * string/test-string.h (IMPL): Use __STRING to expand name and then
38489 stringify it.
38490
cb7e923b
UD
38491 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
38492 of cleanups.
38493
cff82933
LD
384942011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38495
38496 * string/Makefile: Update.
38497 (strop-tests): Append strncat.
38498 * string/test-wcscmp.c: New file.
38499 New comprehensive test for wcscmp.
38500 * string/test-strcmp.c: Update.
38501 (WIDE): New define.
38502
9be9bfcc
AS
385032011-07-22 Andreas Schwab <schwab@redhat.com>
38504
38505 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
38506 line.
38507
2e96f1c7
AS
385082011-07-26 Andreas Schwab <schwab@redhat.com>
38509
38510 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
38511 encoding to ACE if AI_IDN.
38512
85188888
JJ
385132011-08-01 Jakub Jelinek <jakub@redhat.com>
38514
38515 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
38516 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
38517
5fa16e9b
LD
385182011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
38519
38520 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
38521 Fix overflow bug in strncat.
38522 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
38523
38524 * string/test-strncat.c: Update.
38525 Add new tests for checking overflow bugs.
38526
385272011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
38528
38529 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38530 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
38531 * sysdeps/i386/i686/multiarch/strcat.S: New file.
38532 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
38533 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
38534 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
38535 * sysdeps/i386/i686/multiarch/strncat.S: New file.
38536 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
38537 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
38538
38539 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
38540 (USE_AS_STRCAT): Define.
38541 Add strcat and strncat support.
38542 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
38543
8c1a459f
AS
385442011-07-25 Andreas Schwab <schwab@redhat.com>
38545
38546 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
38547 __n bigger than INT_MAX+1.
38548 (__strncmp_g): Likewise.
38549
bba33c28
UD
385502011-07-23 Ulrich Drepper <drepper@gmail.com>
38551
798be72d
UD
38552 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
38553 * libio/stido.h: Likewise.
38554
8accd4dc
UD
38555 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
38556 (AF_NFC): Define.
38557 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
38558 (AF_NFC): Define.
38559
cbff0d96
UD
38560 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
38561 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
38562 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
38563 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
38564 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
38565
9191c04a
UD
38566 [BZ #13021]
38567 * scripts/test-installation.pl: Don't expect libnss_test1 to be
38568 installed.
38569
bba33c28
UD
38570 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
38571 typo.
38572 (_dl_x86_64_save_sse): Likewise.
38573
90f139dd
UD
385742011-07-22 Ulrich Drepper <drepper@gmail.com>
38575
1aae088a
UD
38576 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
38577 OSXSAVE.
38578 (_dl_x86_64_save_sse): Likewise.
38579
8e2045f5
UD
38580 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
38581
90f139dd
UD
38582 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
38583
1d002f25
AS
385842011-07-21 Andreas Schwab <schwab@redhat.com>
38585
38586 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
38587 change.
38588 (_dl_x86_64_save_sse): Use correct AVX check.
38589
21137f89
UD
385902011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38591
38592 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
38593 bug in strncpy/strncat.
38594 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
38595
a65c0b7a
UD
385962011-07-21 Ulrich Drepper <drepper@gmail.com>
38597
38598 * string/tester.c (test_strcat): Add tests for different alignments
38599 of source and destination.
38600 (test_strncat): Likewise.
38601
6986b98a
UD
386022011-07-20 Ulrich Drepper <drepper@gmail.com>
38603
90bb2039
UD
38604 [BZ #12852]
38605 * posix/glob.c (glob): Check passed in values before using them in
38606 expressions to avoid some overflows.
38607 (glob_in_dir): Likewise.
38608
5644ef54
UD
38609 [BZ #13007]
38610 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
38611 check for AVX enablement so that we don't crash with old kernels and
38612 new hardware.
38613 * elf/tst-audit4.c: Add same checks here.
38614 * elf/tst-audit6.c: Likewise.
38615
38616 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 38617
bfc9dc9b
AS
386182011-07-09 Andreas Schwab <schwab@linux-m68k.org>
38619
38620 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
38621
702e64bb
UD
386222011-07-20 Ulrich Drepper <drepper@gmail.com>
38623
38624 * po/cs.po: Update from translation team.
38625 * po/bg.po: Likewise.
38626
295e904f
MP
386272011-07-12 Marek Polacek <mpolacek@redhat.com>
38628
38629 * misc/sys/cdefs.h: Add support for const attribute.
38630 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
38631 to gnu_dev_{major,minor,makedev} functions.
38632
3ff94596
MP
386332011-07-20 Marek Polacek <mpolacek@redhat.com>
38634
38635 * intl/dcigettext.c (get_output_charset): Add missing bracket.
38636
28b59fca
AS
386372011-07-20 Andreas Schwab <schwab@redhat.com>
38638
38639 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
38640 strlen results.
38641
19df733e
AK
386422011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38643
38644 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
38645 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
38646 register in order to avoid conflicts with the soft frame pointer
38647 being held in r11 when necessary.
38648 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
38649 (INTERNAL_VSYSCALL_NCS): Likewise.
38650
c8835729
MP
386512011-07-14 Marek Polacek <mpolacek@redhat.com>
38652
38653 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
38654 * elf/dl-fini.c (_dl_fini): Adjust caller.
38655 * elf/dl-close.c (_dl_close_worker): Likewise.
38656 * sysdeps/generic/ldsodefs.h: Adjust declaration.
38657
b902330c
MP
386582011-07-15 Marek Polacek <mpolacek@redhat.com>
38659
8991e135
MP
38660 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
38661 "aux_cache->nlibs < 0".
38662
b902330c
MP
38663 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
38664 in the reload-count case.
38665
99710781
LD
386662011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
38667
38668 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38669 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
38670 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
38671 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
38672 * sysdeps/x86_64/multiarch/strcat.S: New file.
38673 * sysdeps/x86_64/multiarch/strncat.S: New file.
38674 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
38675 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
38676 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
38677 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
38678 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
38679 (USE_AS_STRCAT): Define.
38680 Add strcat and strncat support.
38681 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
38682 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
38683 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
38684 * string/strncat.c: Update.
38685 (USE_AS_STRNCAT): Define.
38686 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38687 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
38688 and i7.
38689 * sysdeps/x86_64/multiarch/init-arch.h
38690 (bit_Prefer_PMINUB_for_stringop): New.
38691 (index_Prefer_PMINUB_for_stringop): Likewise.
38692 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
38693 bit_Prefer_PMINUB_for_stringop.
38694
7dc6bd90
UD
386952011-07-19 Ulrich Drepper <drepper@gmail.com>
38696
38697 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
38698 buffer64.
38699 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
38700 of casting of buffer.
38701 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
38702 buffer32 and buffer64.
38703 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
38704 writes instead of casting of buffer.
38705 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
38706 buffer32.
38707 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
38708 casting of buffer.
38709
e0e72284
AS
387102011-07-19 Andreas Schwab <schwab@redhat.com>
38711
38712 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
38713
feb1eb0b
UD
387142011-07-19 Ulrich Drepper <drepper@gmail.com>
38715
38716 * nscd/nscd.c (termination_handler): Don't do anything for a database
38717 if it has not yet been initialized.
38718
298711ff
UD
387192011-07-18 Ulrich Drepper <drepper@gmail.com>
38720
38721 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
38722
387232011-07-15 Marek Polacek <mpolacek@redhat.com>
38724
38725 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
38726
f9d68389
UD
387272011-07-18 Ulrich Drepper <drepper@gmail.com>
38728
38729 * po/nl.po: Update from translation team.
38730 * po/sv.po: Likewise.
38731
db290cf5
RM
387322011-07-16 Roland McGrath <roland@hack.frob.com>
38733
38734 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
38735 now disallowed by GCC.
5c550700 38736
fd5e21c7
RM
38737 * configure.in (use-default-link): Default to yes if a test -shared
38738 link meets our qualifications.
38739 * configure: Regenerated.
38740
5c550700
RM
38741 * config.make.in (output-format): New variable.
38742 * configure.in: Check for ld --print-output-format support.
38743 * configure: Regenerated.
38744 * Makerules ($(common-objpfx)format.lds)
38745 [$(output-format) != unknown]: Just use $(output-format),
38746 instead of the linker-script munging.
38747
9fa2c032
RM
387482011-07-14 Roland McGrath <roland@hack.frob.com>
38749
a6928d51
RM
38750 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
38751 of $(common-objpfx)shlib.lds.
38752 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
38753
661607b3
RM
38754 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
38755 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
38756
9fa2c032
RM
38757 * configure.in (-z relro check): Adjust test code to add a large
38758 writable data section after it.
38759 * configure: Regenerated.
38760
defe9061
RM
387612011-07-11 Roland McGrath <roland@hack.frob.com>
38762
38763 * configure.in (-z relro check): Fix test code to make the variable
38764 truly const.
38765 * configure: Regenerated.
38766
319b9ad4
UD
387672011-07-11 Ulrich Drepper <drepper@gmail.com>
38768
38769 * nscd/nscd.h (struct traced_file): Define.
38770 (struct database_dyn): Remove inotify_descr, reset_res, and filename
38771 elements. Add traced_files.
38772 (inotify_fd): Declare.
38773 (register_traced_file): Declare.
38774 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
38775 (inotify_fd): Export.
38776 (resolv_conf_descr): Remove.
38777 (nscd_init): Move inotify descriptor creation to main.
38778 Don't register files for notification here.
38779 (register_traced_file): New function.
38780 (invalidate_cache): Don't use reset_res to determine whether to call
38781 res_init, go through the list of registered files.
38782 (main_loop_poll): The inotify descriptors are now stored in the
38783 structures for the traced files.
38784 (main_loop_epoll): Likewise
38785 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
38786 to __nss_disable_nscd.
38787 * nscd/cache.c (prune_cache): There is no single inotify descriptor
38788 for a database anymore. Check the records for all the registered
38789 files instead.
38790 * nss/Makefile (libnss_files-routines): Add files-init.
38791 (libnss_db-routines): Add db-init.
38792 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
38793 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
38794 * nss/nss_db/db-init.c: New file.
38795 * nss/nss_files/files-init.c: New file.
38796 * nss/nsswitch.c (nss_load_library): New function. Broken out of
38797 __nss_lookup_function.
38798 (__nss_lookup_function): Call nss_load_library.
38799 (nss_load_all_libraries): New function.
38800 (__nss_disable_nscd): Take parameter with callback function for files
38801 to register. Set is_nscd. Load all the DSOs for the NSS modules
38802 used for the cached services.
38803 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
38804 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
38805 options for features to all the files in nscd.
38806
38807 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
38808
23bee3e8
RM
388092011-07-10 Roland McGrath <roland@hack.frob.com>
38810
38811 * csu/elf-init.c (__libc_csu_init): Comment typo.
38812
46a5b7f0
UD
388132011-07-09 Ulrich Drepper <drepper@gmail.com>
38814
38815 * po/pl.po: Update from translation team.
38816 * po/ja.po: Likewise.
38817 * po/ru.po: Likewise.
38818 * po/ko.po: Likewise.
38819 * po/fr.po: Likewise.
38820
d30cf5bb
RM
388212011-07-09 Roland McGrath <roland@hack.frob.com>
38822
113ddea4
RM
38823 * configure.in (.ctors/.dtors header and trailer check):
38824 Use an empirical test on a built program.
38825 * configure: Regenerated.
38826
574920b4
RM
38827 * configure.in (-z relro check): Use an empirical test on a built DSO.
38828 Detect, but do not require, on ia64.
38829 * configure: Regenerated.
38830
d30cf5bb
RM
38831 * configure.in (READELF): Find it with AC_CHECK_TOOL.
38832 Update tests that use readelf to use $READELF instead.
38833 * configure: Regenerated.
38834
8538fdb3
UD
388352011-07-08 Ulrich Drepper <drepper@gmail.com>
38836
38837 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
38838 if the result is not used.
38839
04d08991
AJ
388402011-07-05 Andreas Jaeger <aj@suse.de>
38841
38842 [BZ#9696]
38843 * stdlib/tst-strtod.c: Add testcase.
38844
de283087
AD
388452011-07-07 Ulrich Drepper <drepper@gmail.com>
38846
4e5f31c8 38847 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 38848 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
38849 The latter has a higher limit. Take additional parameter to pass to
38850 the new function.
38851 (__pathconf): Pass file to __statfs_link_max.
38852 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
38853 __statfs_link_max.
38854 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
38855 __statfs_link_max.
38856
de283087
AD
38857 [BZ #12868]
38858 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
38859 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
38860 Handle Lustre.
38861 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
38862 (__statfs_filesize_max): Likewise.
38863 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
38864
c75fa153
AJ
388652011-07-05 Andreas Jaeger <aj@suse.de>
38866
38867 * resolv/res_comp.c (dn_skipname): Remove unused variable.
38868
1a544854
UD
388692011-07-06 Marek Polacek <mpolacek@redhat.com>
38870
38871 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
38872 `status' variable.
38873 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
38874 Likewise.
38875
6f0eec67
UD
388762011-07-04 H.J. Lu <hongjiu.lu@intel.com>
38877
38878 * Makefile (strop-tests): Add strncat.
38879 * string/test-strncat.c: New file.
38880
aae30307
UD
388812011-06-30 Marek Polacek <mpolacek@redhat.com>
38882
38883 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
38884
c0cfb5eb
UD
388852011-06-21 Andreas Jaeger <aj@suse.de>
38886
38887 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
38888 Copy rule from iconvdata/Makefile.
38889
01636b21
UD
388902011-07-06 Ulrich Drepper <drepper@gmail.com>
38891
38892 [BZ #12922]
38893 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
38894 but no long options are defined, just return 'W'.
38895
9895c8bc
UD
388962011-06-22 Marek Polacek <mpolacek@redhat.com>
38897
38898 [BZ #9696]
38899 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
38900
5d4cf042
UD
389012011-07-06 Ulrich Drepper <drepper@gmail.com>
38902
38903 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
38904 netgroups to read.
960e5535 38905 (innetgr): Likewise.
5d4cf042 38906
751eb97e
RM
389072011-07-05 Roland McGrath <roland@hack.frob.com>
38908
38909 * config.make.in (install_root): Default to $(DESTDIR).
38910
f15f1e45
UD
389112011-07-05 Ulrich Drepper <drepper@gmail.com>
38912
38913 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
38914
4e34ac6a
RM
389152011-07-02 Roland McGrath <roland@hack.frob.com>
38916
5e9b6af4
RM
38917 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
38918
84f9ea0f
RM
38919 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
38920 containing directory rather than embedding absolute directory names.
38921
ea5ee9f7
RM
38922 * scripts/check-local-headers.sh: Rewritten using awk.
38923 Match by word, not by line. Print error messages for matches.
38924 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
38925
1b74661a
RM
38926 * Makerules [shlib-lds-flags empty]:
38927 ($(common-objpfx)libc_pic.opts): New target.
38928 ($(common-objpfx)libc_pic.os.clean): New target.
38929 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
38930
38931 * config.make.in (OBJCOPY): New variable.
38932 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
38933 * configure: Regenerated.
38934
f781ef40
RM
38935 * config.make.in (use-default-link): New variable.
38936 * configure.in (use_default_link): Grok --with-default-link to set it.
38937 * configure: Regenerated.
38938 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
38939 (shlib-lds, shlib-lds-flags): Define to empty.
38940
2d4fa81e
RM
38941 * Makerules (shlib-lds): New variable.
38942 (shlib-lds-flags): New variable.
38943 (build-shlib, build-moduile, build-module-asneeded): Use it.
38944 ($(common-objpfx)libc.so): Use $(shlib-lds).
38945 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
38946 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
38947
31fffa6b
RM
38948 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
38949 DT_FLAGS/DT_FLAGS_1 with zero flags.
38950
4e34ac6a
RM
38951 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
38952 linker script munging.
38953
fcfc776b
UD
389542011-07-02 Ulrich Drepper <drepper@gmail.com>
38955
38956 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
38957 as 128-bit value.
38958 * crypt/sha512.c (sha512_process_block): Perform total addition using
38959 128-bit if possible.
38960 (__sha512_finish_ctx): Likewise.
38961 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
38962 as 64-bit value.
38963 * crypt/sha256.c (SWAP64): Define.
38964 (sha256_process_block): Perform total addition using 64-bit if
38965 possible.
38966 (__sha256_finish_ctx): Likewise.
38967
99231d9a
UD
389682011-07-01 Ulrich Drepper <drepper@gmail.com>
38969
38970 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
38971 * nscd/initgrcache.c (addinitgroupsX): Likewise.
38972 * nscd/hstcache.c (cache_addhst): Likewise.
38973 * nscd/grpcache.c (cache_addgr): Likewise.
38974 * nscd/aicache.c (addhstaiX): Likewise
38975 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
38976
445b4a53
TK
389772011-07-01 Thorsten Kukuk <kukuk@suse.de>
38978
38979 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
38980 * nscd/initgrcache.c (addinitgroupsX): Likewise.
38981 * nscd/hstcache.c (cache_addhst): Likewise.
38982 * nscd/grpcache.c (cache_addgr): Likewise.
38983 * nscd/aicache.c (addhstaiX): Likewise
38984
6d4d8e8e
AS
389852011-07-01 Andreas Schwab <schwab@redhat.com>
38986
38987 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
38988 domain only when needed.
38989
89f654c5
AS
389902011-06-30 Andreas Schwab <schwab@redhat.com>
38991
38992 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
38993 is always restored.
38994
cf3b23ff
UD
389952011-06-29 Ulrich Drepper <drepper@gmail.com>
38996
38997 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
38998 are re-adding the entry.
38999 * nscd/servicescache.c (cache_addserv): Likewise.
39000
751626f9
AJ
390012011-06-30 Aurelien Jarno <aurelien@aurel32.net>
39002
39003 * sysdeps/generic/dl-irel.h: fix protection against multiple
39004 inclusions.
39005 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
39006
9113ea1f
UD
390072011-06-28 Ulrich Drepper <drepper@gmail.com>
39008
5c0b8d90
UD
39009 [BZ #12935]
39010 * malloc/memusage.sh: Fix quoting in message.
39011 * debug/xtrace.sh: Likewise.
39012
9113ea1f
UD
39013 * configure.in: Remove support for --experimental-malloc option, make
39014 it the default.
39015 * config.make.in: Likewise.
39016 * malloc/Makefile: Likewise.
39017
a4172181
AS
390182011-06-27 Andreas Schwab <schwab@redhat.com>
39019
39020 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
39021 two-byte characters.
39022
78a7eee7
RM
390232011-06-27 Roland McGrath <roland@hack.frob.com>
39024
62bede13
RM
39025 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
39026 AC_CACHE_CHECK invocation.
39027 * configure: Regenerated.
39028
78a7eee7
RM
39029 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
39030
5ce33a62
UD
390312011-06-27 Ulrich Drepper <drepper@gmail.com>
39032
034807a9
UD
39033 [BZ #12350]
39034 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
39035 bit from old_res_options.
39036
4902da17
UD
39037 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
39038
5ce33a62
UD
39039 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
39040 value type for setfct.
39041
c2344f56
L
390422011-06-23 H.J. Lu <hongjiu.lu@intel.com>
39043
39044 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
39045 __gettimeofday instead of gettimeofday.
39046
68468076
UD
390472011-06-26 Ulrich Drepper <drepper@gmail.com>
39048
39049 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
39050
acb0d739
L
390512011-06-24 H.J. Lu <hongjiu.lu@intel.com>
39052
39053 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
39054
39055 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
39056 info.
39057
8912479f
L
390582011-06-22 H.J. Lu <hongjiu.lu@intel.com>
39059
39060 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39061 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
39062 strcpy-sse2-unaligned strncpy-sse2-unaligned
39063 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
39064 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
39065 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
39066 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
39067 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
39068 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
39069 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
39070 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
39071 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
39072 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
39073 (STRCPY): Support SSE2 and SSSE3 versions.
39074
d5495a11
UD
390752011-06-24 Ulrich Drepper <drepper@gmail.com>
39076
39077 [BZ #12874]
39078 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
39079 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
39080 kernels which artificially limit size of requests.
39081
0b1cbaae
L
390822011-06-22 H.J. Lu <hongjiu.lu@intel.com>
39083
39084 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39085 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
39086 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
39087 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
39088 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
39089 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
39090 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
39091 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
39092 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
39093 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
39094 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
39095 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
39096 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
39097 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
39098 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
39099 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39100 Enable unaligned load optimization for Intel Core i3, i5 and i7
39101 processors.
39102 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
39103 Define.
39104 (index_Fast_Unaligned_Load): Define.
39105 (HAS_FAST_UNALIGNED_LOAD): Define.
39106
07f494a0
MP
391072011-06-23 Marek Polacek <mpolacek@redhat.com>
39108
39109 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
39110
fa3fc0fe
UD
391112011-06-22 Ulrich Drepper <drepper@gmail.com>
39112
39113 [BZ #12907]
39114 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
39115 until it is clear that the information is realy needed.
39116 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
39117
e12df166
AS
391182011-06-22 Andreas Schwab <schwab@redhat.com>
39119
39120 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
39121
852eb34d
UD
391222011-06-22 Ulrich Drepper <drepper@gmail.com>
39123
84e2a551
UD
39124 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
39125 /sys/devices/system/cpu/online if it is usable.
39126
852eb34d
UD
39127 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
39128 reading the information from the /proc filesystem to once a second.
39129
6e502e19
UD
391302011-06-21 Andreas Jaeger <aj@suse.de>
39131
39132 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
39133 NULL after inclusion of kernel headers.
39134
75d39ff2
UD
391352011-06-21 Ulrich Drepper <drepper@gmail.com>
39136
51f9aa6a
UD
39137 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
39138 calls to internal_setent.
39139
c0244a9d
UD
39140 [BZ #12885]
39141 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
39142 addresses using gethostbyname4_r ignore IPv4 addresses.
39143
c5e3c2ae
UD
39144 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
39145 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
39146
75d39ff2
UD
39147 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
39148
42675c6f
DM
391492011-06-20 David S. Miller <davem@davemloft.net>
39150
39151 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
39152 inclusions.
39153 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
39154
39155 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
39156 (elf_irel): Use it.
39157 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
39158 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
39159 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
39160 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
39161 * sysdeps/x86_64/dl-irel.h: Likewise.
39162
39163 * elf/dl-runtime.c: Use elf_ifunc_invoke.
39164 * elf/dl-sym.c: Likewise.
39165
57912a71
UD
391662011-06-15 Ulrich Drepper <drepper@gmail.com>
39167
39168 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
39169 need to dereference resplen2.
39170
ee22793d
AS
391712011-06-14 Andreas Schwab <schwab@redhat.com>
39172
39173 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
39174
a9e836b0
UD
391752011-06-15 Ulrich Drepper <drepper@gmail.com>
39176
77fb9117
UD
39177 * Makeconfig: Define vardbdir and inst_vardbdir.
39178 * nss/Makefile: Add rules to install db-Makefile.
39179
40c1b22c
UD
39180 * nss/nss_db/db-XXX.c: Cleanup.
39181
9f2da732
UD
39182 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
39183 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
39184 GLIBC_PRIVATE.
39185 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
39186 * nss/makedb.c: Implement -g option to specify that value strings
39187 are generated and should not be added to table iterated over for
39188 get*ent calls.
39189 * nss/nss_db/db-initgroups.c: New file.
39190
82e9a1f7
UD
39191 * nss/getent.c: Add support for initgroups lookups through getgrouplist
39192 interface.
39193
c41af17e
UD
39194 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
39195 (internal_getgrouplist): Adjust to name change.
39196 Update use_initgroups_entry if this is not the first call.
39197 * nss/databases.def: Add initgroups entry.
39198
a9e836b0
UD
39199 * nss/makedb.c (compute_tables): Check result of multiple hash table
39200 sizes to minimize maximum chain length.
39201
2666d441
UD
392022011-06-14 Ulrich Drepper <drepper@gmail.com>
39203
39204 * Versions.def: Add entry for libnss_db.
39205 * shlib-versions: Likewise.
39206 * nss/Makefile: Add rules to build libnss_db.
39207 * nss/Versions: Add libnss_db information. Organize libnss_files
39208 entries better.
39209 * nss/db-Makefile: Add gshadow support. Change rules for the new
39210 makedb progra. Some minor improvements to generate smaller files.
39211 * nss/nss_db/nss_db.h: Move NSS database header data structures to
39212 here from...
39213 * nss/makedb.c: ...here.
39214 Improve database format to be smaller and require less memory at
39215 runtime.
39216 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
39217 db anymore.
39218 * nss/nss_db/db-netgrp.c: Likewise.
39219 * nss/nss_db/db-open.c: Likewise.
39220 * nss/nss_files/flies-XXX.x: Adjust comments.
39221 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
39222 * nss/nss_files/files-grp.c: Likewise.
39223 * nss/nss_files/files-hosts.c: Likewise.
39224 * nss/nss_files/files-network.c: Likewise.
39225 * nss/nss_files/files-proto.c: Likewise.
39226 * nss/nss_files/files-pwd.c: Likewise.
39227 * nss/nss_files/files-rpc.c: Likewise.
39228 * nss/nss_files/files-service.c: Likewise.
39229 * nss/nss_files/files-sgrp.c: Likewise.
39230 * nss/nss_files/files-spwd.c: Likewise.
39231 * nss/nss_db/db-alias.c: Removed.
39232 * nss/nss_db/dummy-db.h: Removed.
39233
9ee76b5a
UD
392342011-06-02 Ulrich Drepper <drepper@gmail.com>
39235
39236 * nss/makedb.c: Rewritten to not use database library.
39237 * nss/Makefile: Update to build new makedb program.
39238
c71ca1f8
AJ
392392011-06-14 Andreas Jaeger <aj@suse.de>
39240
39241 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
39242 memset declaration.
39243
3154bfb8
UD
392442011-06-10 Andreas Schwab <schwab@redhat.com>
39245
39246 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
39247 tmpbuf.
39248
b350afab
RM
392492011-06-10 Roland McGrath <roland@hack.frob.com>
39250
decd4e50
RM
39251 * Makerules (shlib.lds): Fail if the linker script comes out empty.
39252 * elf/Makefile ($(objpfx)ld.so): Likewise.
39253
5615eaf2
RM
39254 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
39255 Don't list ld.so twice in dependencies.
39256
39257 * posix/bug-regex31.c: Include <stdlib.h>.
39258
39259 * nscd/hstcache.c (cache_addhst): Remove unused variable.
39260
39261 * nis/nss_compat/compat-spwd.c
39262 (getspent_next_nss_netgr): Remove unused variable.
39263 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
39264
39265 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
39266 nonmembers" output to use the right array.
39267
39268 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
39269
39270 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
39271
39272 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
39273 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
39274 * catgets/gencat.c (read_input_file): Likewise.
39275 * locale/programs/locarchive.c (enlarge_archive): Likewise.
39276
39277 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
39278 variable definition inside #if's controlling its use.
39279
39280 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
39281
39282 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
39283
39284 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
39285
39286 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
39287 unreachable code.
39288
39289 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
39290
b68e08db
RM
39291 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
39292 * configure: Regenerated.
39293
b350afab
RM
39294 * Makerules: Revert last change.
39295 * elf/Makefile: Likewise.
39296
28368601
RM
392972011-06-09 Roland McGrath <roland@hack.frob.com>
39298
39299 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
39300 * elf/Makefile ($(objpfx)librtld.os): Likewise.
39301 (reloc-link): Likewise.
39302
11988f8f
UD
393032011-06-09 Ulrich Drepper <drepper@gmail.com>
39304
39305 * elf/Makefile: Add rules to build pldd.
39306 * elf/pldd.c: New file.
39307 * elf/pldd-xx.c: New file.
39308
e80fab37
UD
393092011-06-07 Ulrich Drepper <drepper@gmail.com>
39310
39311 * version.h: Update for 2.15 development version.
39312
9b849836
DM
393132011-06-07 David S. Miller <davem@davemloft.net>
39314
39315 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
39316 ifuncs.
39317 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
39318 elf_machine_lazy_rel): Likewise.
39319 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
39320 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
39321 elf_machine_lazy_rel): Likewise.
39322 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
39323 dl_hwcap via passed in argument.
39324 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
39325 Likewise.
39326
5a31b283
AK
393272011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39328
39329 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
39330
069e52f8
RM
393312011-06-06 Roland McGrath <roland@hack.frob.com>
39332
39333 [BZ #12849]
39334 * manual/fdl-1.1.texi: New file, verbatim from:
39335 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
39336 * manual/lgpl-2.1.texi: New file, verbatim from:
39337 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
39338 * manual/Makefile (licenses): New variable, list those new file names.
39339 (texis): Use it.
39340 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
39341
39342 * manual/fdl.texi: File removed.
39343 * manual/lesser.texi: File removed.
39344 * manual/libc.texinfo (Copying, Documentation License):
39345 Use new @include file names, put @appendix directive before @include.
39346
f16846a5
JJ
393472011-06-04 Jakub Jelinek <jakub@redhat.com>
39348
39349 [BZ #12841]
39350 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
39351 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
39352 (mq_open): Add __NTH.
39353
3d29045b
L
393542011-06-02 H.J. Lu <hongjiu.lu@intel.com>
39355
39356 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39357 Assume Intel Core i3/i5/i7 processor if AVX is available.
39358
8c297311
UD
393592011-05-31 Ulrich Drepper <drepper@gmail.com>
39360
39361 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
39362 typo.
39363
c8fc0c91
UD
393642011-05-31 Andreas Schwab <schwab@redhat.com>
39365
39366 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
39367 memory. Use alloca_account. Fix memory leak when retrying.
39368
5b27a807
UD
393692011-05-31 Ulrich Drepper <drepper@gmail.com>
39370
356f8bc6
UD
39371 * version.h (RELEASE): Bump for 2.14 release.
39372 * include/features.h (__GLIBC_MINOR__): Bump to 14.
39373
5b27a807
UD
39374 * config.make.in (RANLIB): Remove entry.
39375
01f16ab0
UD
393762011-05-30 Ulrich Drepper <drepper@gmail.com>
39377
41fce8bd
UD
39378 * po/Makefile (po-sed-cmd): Add ksh to extensions.
39379 (libc.pot): Work around missing support for .ksh extension in xgettext.
39380
4769ae77
UD
39381 [BZ #12684]
39382 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
39383 if both request failed.
39384 (send_dg): In case of server errors clear resplen or *resplen2.
39385
6b1e7d19
UD
39386 [BZ #12454]
39387 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
39388 when there are multiple maps.
39389 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
39390 (_dl_fini): Remove test here.
39391
01f16ab0
UD
39392 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
39393
b1ebd700
UD
393942011-05-29 Ulrich Drepper <drepper@gmail.com>
39395
7ae22829
UD
39396 [BZ #12350]
39397 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
39398 bit from old_res_options.
39399 (gaih_inet): Likewise.
39400
553149f6 39401 [BZ #11099]
18a84741 39402 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
39403 as signed.
39404
652ffab1
UD
39405 * resolv/res_init.c (res_setoptions): Make the code more compact.
39406
16985fd0
UD
39407 [BZ #11558]
39408 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
39409 set RES_USEVC.
39410
0464f746
UD
39411 [BZ #11634]
39412 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
39413
7d17596c
UD
39414 * malloc/malloc.h: Mark malloc hook variables as deprecated.
39415
cf6bbbd7
UD
39416 [BZ #11781]
39417 * malloc/malloc.h: Declare malloc hook variables as volatile.
39418
13f1ab36
UD
39419 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
39420 in last patch.
39421
b1ebd700
UD
39422 [BZ #11799]
39423 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 39424 raise in the comment.
80e2212d
UD
39425 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
39426 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
39427 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 39428
ce67228d
UD
394292011-05-28 Ulrich Drepper <drepper@gmail.com>
39430
8887a920
UD
39431 [BZ #12811]
39432 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
39433 grow the buffers more if it already has to be sufficient.
39434 (build_wcs_upper_buffer): Likewise.
39435 * posix/regexec.c (check_matching): Likewise.
39436 (clean_state_log_if_needed): Likewise.
39437 (extend_buffers): Don't enlarge buffers beyond size of the input
39438 buffer.
39439 Patches mostly by Emil Wojak <emil@wojak.eu>.
39440 * posix/bug-regex32.c: New file.
39441 * posix/Makefile (tests): Add bug-regex32.
39442
4f031072
UD
39443 * locale/findlocale.c (_nl_find_locale): Return right away if
39444 _nl_explode_name failed.
39445 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
39446
d0478f0c
UD
39447 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
39448
de81b246
UD
39449 * debug/xtrace.sh: Unify messages.
39450 * malloc/memusage.sh: Likewise.
39451
c738465a
UD
39452 [BZ #12813]
39453 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
39454 time symbol from vDSO. Substitute with vsyscall if not available.
39455 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
39456 __vdso_time.
39457
f1f929d7
UD
39458 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
39459 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
39460 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
39461 Add sendmmsg and internal_sendmmsg.
39462 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
39463 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
39464 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
39465
ce67228d
UD
39466 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
39467 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
39468 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
39469
e57420c6
UD
394702011-05-27 Ulrich Drepper <drepper@gmail.com>
39471
a8509ca5
UD
39472 [BZ #12813]
39473 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
39474 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
39475 available.
39476 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
39477 __vdso_getcpu.
39478
e57420c6
UD
39479 [BZ #12814]
39480 * iconvdata/Makefile (tests): Add bug-iconv9.
39481 * iconvdata/bug-iconv9.c: New file.
39482
4d07db15
AS
394832011-05-27 Andreas Schwab <schwab@redhat.com>
39484
39485 [BZ #12814]
39486 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
39487
ea486f69
JJ
394882011-05-25 Jakub Jelinek <jakub@redhat.com>
39489
39490 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
39491 (struct user_regs_struct): Change intcs field back to cs.
39492
6f038433
UD
394932011-05-25 Ulrich Drepper <drepper@gmail.com>
39494
39495 * po/ja.po: Update from translation team.
39496
67f86a25
UD
394972011-05-23 Ulrich Drepper <drepper@gmail.com>
39498
39499 [BZ #12795]
39500 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
39501 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
39502
def7fbd6
AS
395032011-05-20 Andreas Schwab <schwab@redhat.com>
39504
39505 * stdlib/longlong.h: Update from GCC.
39506
f50ef8f1
AS
395072011-05-23 Andreas Schwab <schwab@redhat.com>
39508
39509 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
39510 parameter name.
39511 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
39512 Add parameter name.
39513 (__sysconf): Pass it down.
39514
de7ce8f1
UD
395152011-05-22 Ulrich Drepper <drepper@gmail.com>
39516
f2962a71
UD
39517 [BZ #12671]
39518 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
39519 some situations.
39520 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
39521 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
39522 add in in __libc_use_alloca calls. Adjust callers.
39523 (glob): Use malloc in some situations.
39524
de7ce8f1
UD
39525 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
39526 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
39527 pltexit.
39528
aec84f53
UD
395292011-05-21 Ulrich Drepper <drepper@gmail.com>
39530
05bb4a68
UD
39531 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
39532 and CLOCK_BOOTTIME_ALARM.
39533
7ea72f99
UD
39534 [BZ #12782]
39535 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
39536 is returned.
39537
7e4afad5
UD
39538 * string/_strerror.c (__strerror_r): Print negative errors as signed
39539 numbers.
39540
8e211fec
UD
39541 [BZ #12777]
39542 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
39543 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
39544 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
39545
f7d82dc9
UD
39546 * configure.in: Fix typo in redirection and correct removal of test
39547 files in two cases.
39548
cc9e536d
UD
39549 [BZ #12788]
39550 * locale/setlocale.c (new_composite_name): Fix test to check for
39551 identical name of all categories.
39552
aec84f53
UD
39553 [BZ #12792]
39554 * libio/filedoalloc.c (local_isatty): New function.
39555 (_IO_file_doallocate): Use local_isatty.
39556 * stdio-common/perror.c (perror): In case a new stream is used
39557 forward the stream error.
39558 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
39559 error flag.
39560
78e64fdc
RT
395612011-05-20 Ulrich Drepper <drepper@gmail.com>
39562
34a9094f
UD
39563 [BZ #11869]
39564 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
39565 alloca.
39566 * include/alloca.h (extend_alloca_account): Define.
39567
78e64fdc
RT
39568 [BZ #11857]
39569 * posix/regex.h: Fix comments with documentation of user-accessible
39570 fields after compilation and describe correct free'ing of pattern
39571 after re_compile_pattern.
39572 Patch by Reuben Thomas <rrt@sc3d.org>.
39573
457bddfc
RA
395742011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
39575
39576 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
39577 and -mno-altivec to prevent the compiler from using Altivec and/or
39578 VSX instructions when the corresponding registers are not available.
39579
a4527b51
AS
395802011-05-19 Andreas Schwab <schwab@redhat.com>
39581
39582 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
39583
ed690b2f
UD
395842011-05-19 Ulrich Drepper <drepper@gmail.com>
39585
39586 * libio/freopen.c (freopen): Use __dup2, not dup2.
39587 * libio/freopen64.c (freopen64): Likewise.
39588
8db73634
L
395892011-05-17 H.J. Lu <hongjiu.lu@intel.com>
39590
39591 [BZ #12775]
39592 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
39593 * math/Makefile (tests): Add test-powl.
39594 (CFLAGS-test-powl.c): Define.
39595 * math/test-powl.c: New file.
39596
0a197a9d
L
395972011-05-16 H.J. Lu <hongjiu.lu@intel.com>
39598
39599 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
39600
ee30c380
UD
396012011-05-17 Ulrich Drepper <drepper@gmail.com>
39602
39603 [BZ #11837]
39604 * iconvdata/gb18030.c: Update to GB18020-2005.
39605
6ce75379
UD
396062011-05-16 Ulrich Drepper <drepper@gmail.com>
39607
a4b89fd8
AR
39608 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
39609 RE_SYNTAX_POSIX_AWK): Update to match recent development.
39610 Patch by Aharon Robbins <arnold@skeeve.com>.
39611
ea389b12
UD
39612 [BZ #11892]
39613 * stdlib/putenv.c (putenv): Don't always create copy of the variable
39614 on the stack.
39615
68a3f91f
UD
39616 [BZ #11895]
39617 * misc/pselect.c (__pselect): Handle timeout value errors hidden
39618 through underflows.
39619
15cc7dd1
UD
39620 [BZ #12766]
39621 * misc/error.c (error_at_line): Ensure file_name and old_file_name
39622 point to strings before performing equality test for error_one_per_line
39623 mode.
39624
f3799213
UD
39625 [BZ #11697]
39626 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
39627
d79a9c94
UD
39628 [BZ #11820]
39629 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
39630 (struct user_fpregs_struct): Avoid __uint*_t types.
39631
56e5eb46
UD
39632 [BZ #6420]
39633 * malloc/mtrace.c (tr_where): Add additional parameter to point to
39634 symbol info. Use it instead of calling _dl_addr locally.
39635 (lock_and_info): New function.
39636 (tr_freehook): Call lock_and_info and pass symbol info as additional
39637 parameter to tr_where.
39638 (tr_mallochook): Likewise.
39639 (tr_reallochook): Likewise.
39640 (tr_memalignhook): Likewise.
39641
6ce75379
UD
39642 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
39643 used and couldn't be at all thread-safe.
39644
f8a3b5bf
UD
396452011-05-15 Ulrich Drepper <drepper@gmail.com>
39646
94b7cc37
UD
39647 * libio/freopen.c (freopen): Don't close old file descriptor
39648 before the new one is opened. Instead dup the new file descriptor
39649 to the old one after the new stream is created.
39650 * libio/freopen64.c (freopen64): Likewise.
39651 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
39652 * libio/fileops.c (_IO_new_file_close_it): Handle new
39653 _IO_FLAGS2_NOCLOSE flag.
39654 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
39655 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
39656 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
39657 _IO_FLAGS2_NOCLOSE flag.
39658 * include/unistd.h: Add hidden_proto for dup3.
39659 Define __have_dup3.
39660 * io/dup3.c: Define hidden symbol.
39661 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
39662
bd25564e
UD
39663 [BZ #7101]
39664 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
39665 when an incomplete long option is used.
39666 * posix/tst-getopt_long1.c: New file.
39667 * posix/Makefile (tests): Add tst-getopt_long1.
39668
c84cfef4
UD
39669 [BZ #10138]
39670 * scripts/config.guess: Update from autoconf-2.68.
39671 * scripts/config.sub: Likewise.
39672
3b85df27
UD
39673 [BZ #10157]
39674 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
39675 tests into ...
39676 (has_cpuclock): ...this. New function.
39677 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
39678 macro here based on has_cpuclock code.
39679
15a856b1
UD
39680 [BZ #10149]
39681 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
39682 First byte (not low byte) is now always NUL.
39683 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
39684
05f399e6
UD
39685 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
39686 Use non-cancelable interfaces.
39687
10a52685 39688 [BZ #9809]
94ecc67d
UD
39689 * locale/iso-639.def: Add entry for Sorani.
39690
f8a3b5bf
UD
39691 [BZ #11901]
39692 * include/stdlib.h: Move include protection to the right place.
39693 Define abort_msg_s. Declare __abort_msg with it.
39694 * stdlib/abort.c (__abort_msg): Adjust type.
39695 * assert/assert.c (__assert_fail_base): New function. Majority
39696 of code from __assert_fail. Allocate memory for __abort_msg with
39697 mmap.
39698 (__assert_fail): Now call __assert_fail_base.
39699 * assert/assert-perr.c: Remove bulk of implementation. Use
39700 __assert_fail_base.
39701 * include/assert.hL Declare __assert_fail_base.
39702 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
39703 mmap.
39704 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
39705
1af4e298
UD
397062011-05-14 Ulrich Drepper <drepper@gmail.com>
39707
f8a3b5bf 39708 [BZ #11952]
d26dfc60
MG
39709 [BZ #12453]
39710 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
39711 until all modules are registered in the DTV.
39712 * elf/Makefile: Add rules to build and run tst-tls19.
39713 * elf/tst-tls19.c: New file.
39714 * elf/tst-tls19mod1.c: New file.
39715 * elf/tst-tls19mod2.c: New file.
39716 * elf/tst-tls19mod3.c: New file.
39717 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
39718
2fc54d6f
UD
39719 [BZ #12083]
39720 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
39721 correctly.
39722
98d76b46
UD
39723 [BZ #12601]
39724 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
39725 two-byte sequence errors.
39726 * iconvdata/Makefile (tests): Add bug-iconv8.
39727 * iconvdata/bug-iconv8.c: New file.
39728
da3c19ef
UD
39729 [BZ #12626]
39730 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
39731 buf2 definition.
39732
ca408c15
UD
39733 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
39734
d6f67f7d
UD
39735 [BZ #12432]
39736 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
39737 (dummy_getcfa): New function.
39738 (init): Get _Unwind_GetCFA address, use dummy if not found.
39739 (backtrace_helper): In recursion check, also check whether CFA changes.
39740 (__backtrace): Completely initialize arg.
39741
1af4e298 39742 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
39743 storing incomplete byte sequence in state object. Avoid testing for
39744 guaranteed too small input if we know there is enough data available.
1af4e298 39745
da62f81b
AS
397462011-05-11 Andreas Schwab <schwab@redhat.com>
39747
39748 * Makeconfig (+link-pie): Indent.
39749 * Rules (binaries-pie): Define if $(have-fpie) and
39750 $(build-shared).
39751 (binaries-shared): Also filter out $(binaries-pie).
39752 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
39753 * nscd/Makefile (others-pie): Add nscd.
39754 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
39755 ($(objpfx)nscd): Remove command override.
39756 * login/Makefile (others-pie): Add pt_chown.
39757 ($(objpfx)pt_chown): Remove command override.
39758 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
39759 remove command overrides.
39760
fcabc0f8
UD
397612011-05-13 Ulrich Drepper <drepper@gmail.com>
39762
20030ae6
UD
39763 * libio/tst_putwc.c: Fix error messages.
39764
fcabc0f8
UD
39765 [BZ #12724]
39766 * libio/fileops.c (_IO_new_file_close_it): Always flush when
39767 currently writing and seek to current position when not.
39768 * libio/Makefile (tests): Add bug-fclose1.
39769 * libio/bug-fclose1.c: New file.
39770
320a5dc0
PB
397712011-05-12 Ulrich Drepper <drepper@gmail.com>
39772
39773 [BZ #12511]
39774 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
39775 don't set DF_1_NODELETE here.
39776 (do_lookup_x): When entering new entry test for copy relocation
39777 and if necessary set DF_1_NODELETE flag.
39778 * elf/tst-unique4.cc: New file.
39779 * elf/tst-unique4.h: New file.
39780 * elf/tst-unique4lib.cc: New file.
39781 * elf/Makefile: Add rules to build and run tst-unique4.
39782 Patch by Piotr Bury <pbury@goahead.com>.
39783
22836f52
UD
397842011-05-11 Ulrich Drepper <drepper@gmail.com>
39785
f574184a
UD
39786 [BZ #12052]
39787 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
39788
e1fb097f
UD
39789 [BZ #12625]
39790 * misc/mntent_r.c (addmntent): Flush the stream after the output
39791
22836f52
UD
39792 [BZ #12393]
39793 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
39794 (is_trusted_path_normalize): Skip initial colon. Append slash
39795 to empty buffer. Duplicate is_trusted_path code but allow
39796 constructed patch to be prefix.
39797 (is_dst): Allow $ORIGIN followed by /.
39798 (_dl_dst_substitute): Correct clearing of check_for_trusted.
39799 Correct testing of result of is_trusted_path_normalize
39800 (decompose_rpath): Fix warning.
39801
7b3b0b2a
UD
398022011-05-10 Ulrich Drepper <drepper@gmail.com>
39803
39804 [BZ #11257]
39805 * grp/initgroups.c (internal_getgrouplist): When we found the service
39806 list through the initgroups entry in nsswitch.conf do not always
39807 continue on a successful lookup. Don't always use the
eac80ce2 39808 __nss_group_database value if it is set.
7b3b0b2a
UD
39809 * nss/nsswitch.conf (initgroups): Change action for successful db
39810 lookup to continue for compatibility.
39811
2a81eaa5
UD
398122011-05-09 Ulrich Drepper <drepper@gmail.com>
39813
be97a69e
UD
39814 [BZ #11532]
39815 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
39816 and CP774 modules.
39817 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
39818 and CP774 modules.
39819 * iconvdata/tst-tables.sh: Likewise.
39820 * iconvdata/cp770.c: New file.
39821 * iconvdata/cp771.c: New file.
39822 * iconvdata/cp772.c: New file.
39823 * iconvdata/cp773.c: New file.
39824 * iconvdata/cp774.c: New file.
39825 * iconvdata/testdata/CP770: New file.
39826 * iconvdata/testdata/CP770..UTF8: New file.
39827 * iconvdata/testdata/CP771: New file.
39828 * iconvdata/testdata/CP771..UTF8: New file.
39829 * iconvdata/testdata/CP772: New file.
39830 * iconvdata/testdata/CP772..UTF8: New file.
39831 * iconvdata/testdata/CP773: New file.
39832 * iconvdata/testdata/CP773..UTF8: New file.
39833 * iconvdata/testdata/CP774: New file.
39834 * iconvdata/testdata/CP774..UTF8: New file.
39835
39836 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
39837 END CHARMAP line.
39838 * iconvdata/gen-8bit-gap.sh: Likewise.
39839 * iconvdata/gen-8bit.sh: Likewise.
39840
c1e9e399
UD
39841 * locale/iso-639.def: Add ary entry.
39842
24c55fb3 39843 [BZ #11258]
96b4b1b0
UD
39844 * locale/C-translit.h.in: Add U20A1 transliteration.
39845
bdc2f971
KB
39846 [BZ #12178]
39847 * locale/iso-639.def: Add wae entry.
39848 Patch by Kevin Bortis <bortis@translate-wae.ch>.
39849
2952b117
UD
39850 [BZ #12545]
39851 * locale/programs/localedef.c (construct_output_path): Use ssize_t
39852 for n.
39853
2a81eaa5
UD
39854 [BZ #12711]
39855 * locale/C-translit.h.in: Add entry for U20B9.
39856 Patch by pravin.d.s@gmail.com.
39857
28377d1b
UD
398582011-05-08 Ulrich Drepper <drepper@gmail.com>
39859
7fb90fb8
UD
39860 [BZ #12713]
39861 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
39862 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
39863 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
39864 in rtld. Use *stat64.
7fb90fb8 39865 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 39866 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 39867 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
39868 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
39869 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
39870 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
39871 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
39872 __fstatat64 macros.
7fb90fb8
UD
39873 * include/dirent.h: Add libc_hidden_proto for rewinddir.
39874 * dirent/rewinddir.c: Add libc_hidden_def.
39875 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 39876 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 39877
28377d1b
UD
39878 * include/dirent.h (__alloc_dir): Add flags parameter.
39879 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
39880 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
39881 __alloc_dir.
39882 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
39883 from fdopendir if O_CLOEXEC is already set.
39884
66bdbaa4
AM
398852011-03-15 Alan Modra <amodra@gmail.com>
39886
39887 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
39888 l_tls_firstbyte_offset non-zero. Save padding offset in
39889 l_tls_firstbyte_offset for later use.
39890 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
39891 freeing static tls block.
39892
95721191
JN
398932011-03-05 Jonathan Nieder <jrnieder@gmail.com>
39894
39895 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
39896 where #ifdef was intended. The intent is to prevent ARG_MAX from
39897 being defined by the kernel headers.
39898
f87dfb1f
UD
398992011-05-07 Ulrich Drepper <drepper@gmail.com>
39900
39901 [BZ #12734]
39902 * resolv/resolv.h: Define RES_NOTLDQUERY.
39903 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
39904 no-tld-query and set RES_NOTLDQUERY.
39905 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
39906 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
39907 modern BIND to search name as TLD unless forbidden.
39908
47c3cd7a
UD
399092011-05-07 Petr Baudis <pasky@suse.cz>
39910 Ulrich Drepper <drepper@gmail.com>
39911
39912 [BZ #12393]
39913 * elf/dl-load.c (fillin_rpath): Move trusted path check...
39914 (is_trusted_path): ...to here.
c1e9ea35 39915 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 39916 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 39917 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 39918
8a35c912
PP
399192011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
39920
39921 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
39922 __BEGIN/__END_DECLS.
39923
acd41f47
UD
399242011-05-06 Ulrich Drepper <drepper@gmail.com>
39925
39926 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
39927 NSS_STATUS_NOTFOUND if no record was found.
39928
597df647
AS
399292011-05-05 Andreas Schwab <schwab@redhat.com>
39930
39931 * sunrpc/Makefile (headers): Add rpc/netdb.h.
39932 (headers-not-in-tirpc): Remove rpc/netdb.h
39933 * resolv/netdb.h: Revert last change.
39934
b9af1301
PP
399352011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
39936
39937 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
39938 circular dependency between libgcc.a and libc.a.
39939
4e34d5f5
AS
399402011-05-05 Andreas Schwab <schwab@redhat.com>
39941
39942 * resolv/netdb.h: Don't include <rpc/netdb.h>.
39943 * nis/Makefile: Don't install rpcsvc/*.
39944 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
39945 instead of <rpc/types.h>.
39946 (MAXHOSTNAMELEN): Define.
39947
00ee369c
AS
399482011-05-03 Andreas Schwab <schwab@redhat.com>
39949
39950 * elf/ldconfig.c (add_dir): Don't crash on empty path.
39951
0b592a30
MB
399522011-04-28 Maciej Babinski <mbabinski@google.com>
39953
39954 [BZ #12714]
39955 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
39956 gethostbyname4_r when IPv6 results are possible.
39957
6e04cbbe
UD
399582011-05-02 Ulrich Drepper <drepper@gmail.com>
39959
39960 [BZ #12723]
39961 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
39962 _PC_PIPE_BUF handling.
39963
e4ecafe0
BH
399642011-04-30 Bruno Haible <bruno@clisp.org>
39965
39966 [BZ #12717]
39967 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
39968 * resolv/netdb.h (getnameinfo): Change type of flags parameter
39969 to 'int'.
39970 * inet/getnameinfo.c (getnameinfo): Likewise.
39971
125ee683
UD
399722011-04-29 Ulrich Drepper <drepper@gmail.com>
39973
39974 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
39975 to groups setting in database lookup.
39976 * nss/nsswitch.conf: Add initgroups entry.
39977
b722481a
EB
399782011-04-22 Ulrich Drepper <drepper@gmail.com>
39979
39980 [BZ #12685]
39981 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
39982 mode string.
39983 Patch by Eric Blake <eblake@redhat.com>.
39984
4df46dbd
L
399852011-04-20 H.J. Lu <hongjiu.lu@intel.com>
39986
39987 * sunrpc/Makefile (need-export-routines): Add svc_run.
39988 (routines): Remove svc_run.
39989 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
39990 * sunrpc/clnt_perr.c (clnt_perrno): Export.
39991 * sunrpc/svc_run.c (svc_run): Likewise.
39992 * sunrpc/svc_udp.c (svcudp_create): Likewise.
39993
e84142d2
UD
399942011-04-21 Ulrich Drepper <drepper@gmail.com>
39995
39996 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
39997 problem in reallocation in last patch.
39998
877175d8
UD
399992011-04-20 Ulrich Drepper <drepper@gmail.com>
40000
40001 * sunrpc/Makefile: Move inclusion of Rules.
40002
ab8eed78
UD
400032011-04-19 Ulrich Drepper <drepper@gmail.com>
40004
40005 * nss/nss_files/files-initgroups.c: New file.
40006 * nss/Makefile (libnss_files-routines): Add files-initgroups.
40007 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
40008 _nss_files_initgroups_dyn.
40009
e3d8f584
RS
400102011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
40011
40012 * elf/elf.h (R_ARM_IRELATIVE): Define.
40013
af190f45
UD
400142011-04-19 Ulrich Drepper <drepper@gmail.com>
40015
40016 * po/ru.po: Update from translation team.
40017
53cf59ef
UD
400182011-04-17 Ulrich Drepper <drepper@gmail.com>
40019
40020 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
40021 dependencies.
40022
4c559bcd
MF
400232011-02-06 Mike Frysinger <vapier@gentoo.org>
40024
40025 [BZ #12653]
40026 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
40027 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
40028 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
40029 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
40030 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
40031
4420675c
AS
400322011-03-28 Andreas Schwab <schwab@linux-m68k.org>
40033
40034 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
40035 differing bytes.
40036 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
40037 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
40038 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
40039
75ea32ab
UD
400402011-04-17 Ulrich Drepper <drepper@gmail.com>
40041
40042 [BZ #12420]
40043 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
40044 storing it.
40045 * stdlib/bug-getcontext.c: New file.
40046 * stdlib/Makefile: Add rules to build and run bug-getcontext.
40047
27390476
AK
400482011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40049
40050 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
40051 instructions into .machine "z9-109".
40052 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
40053 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
40054
10442705
AK
400552011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40056
40057 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
40058 between environment variables and auxiliary vector.
40059
7b57bfe5
UD
400602011-04-16 Ulrich Drepper <drepper@gmail.com>
40061
40062 * Makefile: Add rules to build linkobj/libc.so.
40063 * include/libc-symbols.h: Define libc_hidden_nolink.
40064 * include/rpc/auth.h: Mark functions which are to be hidden.
40065 * include/rpc/auth_des.h: Likewise.
40066 * include/rpc/auth_unix.h: Likewise.
40067 * include/rpc/clnt.h: Likewise.
40068 * include/rpc/des_crypt.h: Likewise.
40069 * include/rpc/key_prot.h: Likewise.
40070 * include/rpc/pmap_clnt.h: Likewise.
40071 * include/rpc/pmap_prot.h: Likewise.
40072 * include/rpc/pmap_rmt.h: Likewise.
40073 * include/rpc/rpc_msg.h: Likewise.
40074 * include/rpc/svc.h: Likewise.
40075 * include/rpc/svc_auth.h: Likewise.
40076 * include/rpc/xdr.h: Likewise.
40077 * nis/Makefile: Link all DSOs against linkobj/libc.so.
40078 * nss/Makefile: Likewise.
40079 * sunrpc/Makefile: Don't install headers. Build library with normal
40080 entry points. Don't build rpcinfo. Link RPC tests appropriately.
40081 * sunrpc/auth_des.c: Hide exported symbols by default, export some
40082 for the compat linking library. Remove use of INTDEF/INTUSE.
40083 * sunrpc/auth_none.c: Likewise.
40084 * sunrpc/auth_unix.c: Likewise.
40085 * sunrpc/authdes_prot.c: Likewise.
40086 * sunrpc/authuxprot.c: Likewise.
40087 * sunrpc/clnt_gen.c: Likewise.
40088 * sunrpc/clnt_perr.c: Likewise.
40089 * sunrpc/clnt_raw.c: Likewise.
40090 * sunrpc/clnt_simp.c: Likewise.
40091 * sunrpc/clnt_tcp.c: Likewise.
40092 * sunrpc/clnt_udp.c: Likewise.
40093 * sunrpc/clnt_unix.c: Likewise.
40094 * sunrpc/des_crypt.c: Likewise.
40095 * sunrpc/des_soft.c: Likewise.
40096 * sunrpc/get_myaddr.c: Likewise.
40097 * sunrpc/key_call.c: Likewise.
40098 * sunrpc/key_prot.c: Likewise.
40099 * sunrpc/netname.c: Likewise.
40100 * sunrpc/pm_getmaps.c: Likewise.
40101 * sunrpc/pm_getport.c: Likewise.
40102 * sunrpc/pmap_clnt.c: Likewise.
40103 * sunrpc/pmap_prot.c: Likewise.
40104 * sunrpc/pmap_prot2.c: Likewise.
40105 * sunrpc/pmap_rmt.c: Likewise.
40106 * sunrpc/publickey.c: Likewise.
40107 * sunrpc/rpc_cmsg.c: Likewise.
40108 * sunrpc/rpc_common.c: Likewise.
40109 * sunrpc/rpc_dtable.c: Likewise.
40110 * sunrpc/rpc_prot.c: Likewise.
40111 * sunrpc/rpc_thread.c: Likewise.
40112 * sunrpc/rtime.c: Likewise.
40113 * sunrpc/svc.c: Likewise.
40114 * sunrpc/svc_auth.c: Likewise.
40115 * sunrpc/svc_authux.c: Likewise.
40116 * sunrpc/svc_raw.c: Likewise.
40117 * sunrpc/svc_run.c: Likewise.
40118 * sunrpc/svc_simple.c: Likewise.
40119 * sunrpc/svc_tcp.c: Likewise.
40120 * sunrpc/svc_udp.c: Likewise.
40121 * sunrpc/svc_unix.c: Likewise.
40122 * sunrpc/svcauth_des.c: Likewise.
40123 * sunrpc/xcrypt.c: Likewise.
40124 * sunrpc/xdr.c: Likewise.
40125 * sunrpc/xdr_array.c: Likewise.
40126 * sunrpc/xdr_float.c: Likewise.
40127 * sunrpc/xdr_intXX_t.c: Likewise.
40128 * sunrpc/xdr_mem.c: Likewise.
40129 * sunrpc/xdr_rec.c: Likewise.
40130 * sunrpc/xdr_ref.c: Likewise.
40131 * sunrpc/xdr_sizeof.c: Likewise.
40132 * sunrpc/xdr_stdio.c: Likewise.
40133
e6c61494
UD
401342011-04-10 Ulrich Drepper <drepper@gmail.com>
40135
40136 [BZ #12650]
40137 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
40138 * sysdeps/ia64/dl-tls.h: Likewise.
40139 * sysdeps/powerpc/dl-tls.h: Likewise.
40140 * sysdeps/s390/dl-tls.h: Likewise.
40141 * sysdeps/sh/dl-tls.h: Likewise.
40142 * sysdeps/sparc/dl-tls.h: Likewise.
40143 * sysdeps/x86_64/dl-tls.h: Likewise.
40144 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
40145
34fe483e
AS
401462011-03-14 Andreas Schwab <schwab@redhat.com>
40147
40148 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
40149 rpath element also skip the following colon.
40150 (expand_dynamic_string_token): Add is_path parameter and pass
40151 down to DL_DST_REQUIRED and _dl_dst_substitute.
40152 (decompose_rpath): Call expand_dynamic_string_token with
40153 non-zero is_path. Ignore empty rpaths.
40154 (_dl_map_object_from_fd): Call expand_dynamic_string_token
40155 with zero is_path.
40156
f12a32e6
AS
401572011-04-08 Andreas Schwab <schwab@linux-m68k.org>
40158
40159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
40160 Make cancelable.
40161
38a7d692
UD
401622011-04-09 Ulrich Drepper <drepper@gmail.com>
40163
40164 [BZ #12655]
40165 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
40166 Patch by Filipe David Manana <fdmanana@apache.org>.
40167
e451d22b
AS
401682011-04-07 Andreas Schwab <schwab@redhat.com>
40169
40170 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
40171 Maintain aligned stack.
40172 (CHECK_RSP): Remove unused macro.
40173
dedc7c7b
UD
401742011-04-03 Ulrich Drepper <drepper@gmail.com>
40175
40176 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
40177 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
40178
94521213
UD
401792011-04-02 Ulrich Drepper <drepper@gmail.com>
40180
40181 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
40182
8cb700c0 40183 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 40184
0354e355
L
401852011-03-26 H.J. Lu <hongjiu.lu@intel.com>
40186
40187 [BZ #12518]
40188 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
40189 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
40190 * sysdeps/x86_64/memmove.c: New file.
40191 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
40192 (memcpy): Renamed to ...
40193 (__new_memcpy): This.
40194 (memcpy): Provide GLIBC_2_14 memcpy.
40195 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
40196 (memcpy): Provide GLIBC_2_2_5 memcpy.
40197
8593482f
UD
401982011-04-01 Ulrich Drepper <drepper@gmail.com>
40199
40200 [BZ #12631]
40201 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
40202
81a5726b
AS
402032011-03-30 Andreas Schwab <schwab@redhat.com>
40204
40205 * misc/syncfs.c: New file.
40206 * misc/Makefile (routines): Add syncfs.
40207 * posix/unistd.h: Declare syncfs.
40208 * sysdeps/unix/syscalls.list: Add syncfs.
40209
00e5419f
AS
402102011-04-01 Andreas Schwab <schwab@redhat.com>
40211
40212 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
40213 open_by_handle_at.
40214 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
40215 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
40216 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
40217 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
40218 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
40219 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
40220 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
40221
748876bf
UD
402222011-04-01 Ulrich Drepper <drepper@gmail.com>
40223
658e451d
UD
40224 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
40225 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
40226 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
40227 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
40228 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
40229 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
40230 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
40231
748876bf
UD
40232 * io/Makefile: Compile fallocate.c, fallocate64.c, and
40233 sync_file_range.c with -fexceptions.
40234 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
40235 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
40236 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
40237 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
40238 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
40239 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
40240 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
40241 sync_file_range as cancellation point
40242 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
40243 now a wrapper around __call_sync_file_range with cancellation handling.
40244 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
40245 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
40246 function name to __call_sync_file_range.
40247 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
40248 Add call_sync_file_range.
748876bf 40249
6e63d5e1
AS
402502011-04-01 Andreas Schwab <schwab@redhat.com>
40251
40252 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 40253 bits/timex.h.
6e63d5e1 40254
46998f74
UD
402552011-04-01 Ulrich Drepper <drepper@gmail.com>
40256
4c1423ed
UD
40257 * iconv/iconv.h: Fix typo in comment.
40258 * io/fcntl.h: Likewise.
40259 * libio/stdio.h: Likewise.
40260 * posix/spawn.h: Likewise.
40261 * posix/unistd.h: Likewise.
40262 * stdlib/stdlib.h: Likewise.
40263 * time/time.h: Likewise.
40264 * wcsmbs/wchar.h: Likewise.
40265
158648c0
UD
40266 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
40267 open_by_handle): Add.
40268 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
40269 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
40270 Augment a few comments.
40271 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
40272 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
40273 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
40274 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
40275 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
40276 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
40277 open_by_handle.
40278
46998f74
UD
40279 * io/fcntl.h (AT_EMPTY_PATH): Define.
40280
83fe108b
UD
402812011-03-30 Ulrich Drepper <drepper@gmail.com>
40282
40283 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
40284 * sysdeps/unix/sysv/linux/bits/time.h: New file.
40285 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
40286 to...
40287 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
40288 * Versions.def: Add GLIBC_2.14.
40289 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
40290 Export.
83fe108b 40291
bb242059
UD
402922011-03-22 Ulrich Drepper <drepper@gmail.com>
40293
40294 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
40295 round counter.
40296 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
40297
c97a1282
L
402982011-03-20 H.J. Lu <hongjiu.lu@intel.com>
40299
40300 [BZ #12597]
40301 * string/test-strncmp.c (do_page_test): New function.
40302 (check2): Likewise.
40303 (test_main): Call check2.
40304 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
40305
2a115601
UD
403062011-03-20 Ulrich Drepper <drepper@gmail.com>
40307
40308 [BZ #12587]
40309 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
40310 Handle cache information in CPU leaf 4.
40311 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
40312
8126d904
UD
403132011-03-18 Ulrich Drepper <drepper@gmail.com>
40314
042c49c6 40315 [BZ #12583]
8126d904
UD
40316 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
40317 character representation.
40318 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
40319
ccfe366e
RA
403202011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
40321
40322 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
40323 END(__isnan) to END(__isnanf) to match function entry point/label
40324 EALIGN(__isnanf,...).
40325
c6e13027
JJ
403262011-03-10 Jakub Jelinek <jakub@redhat.com>
40327
40328 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
40329
33f85a3f
UD
403302011-03-10 Ulrich Drepper <drepper@gmail.com>
40331
028478fa
UD
40332 [BZ #12510]
40333 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
40334 copy from the symbol referenced in the relocation to initialize the
40335 used variable.
40336 Patch by Piotr Bury <pbury@goahead.com>.
40337 * elf/Makefile: Add rules to build and tst-unique3.
40338 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
40339 * elf/tst-unique3.cc: New file.
40340 * elf/tst-unique3.h: New file.
40341 * elf/tst-unique3lib.cc: New file.
40342 * elf/tst-unique3lib2.cc: New file.
40343
33f85a3f
UD
40344 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
40345
03592fc7
MF
403462011-03-10 Mike Frysinger <vapier@gentoo.org>
40347
40348 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
40349 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
40350 to _start.
03592fc7 40351
6a5ee102
UD
403522011-03-06 Ulrich Drepper <drepper@gmail.com>
40353
40354 * elf/dl-load.c (_dl_map_object): If we are looking for the first
40355 to-be-loaded object along a path to loader is ld.so.
40356
7e4ba49c
HJ
403572011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
40358 Ulrich Drepper <drepper@gmail.com>
40359
40360 * sysdeps/x86_64/memset.S: After aligning destination, code
40361 branches to different locations depending on the value of
40362 misalignment, when multiarch is enabled. Fix this.
40363
403642011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
40365
40366 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
40367 Set _x86_64_preferred_memory_instruction for AMD processsors.
40368 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40369 Set bit_Prefer_SSE_for_memop for AMD processors.
40370
13a804de
UD
403712011-03-04 Ulrich Drepper <drepper@gmail.com>
40372
40373 * libio/fmemopen.c (fmemopen): Optimize a bit.
40374
9d25c392
AS
403752011-03-03 Andreas Schwab <schwab@redhat.com>
40376
40377 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
40378
a5543c6a
RM
403792011-03-03 Roland McGrath <roland@redhat.com>
40380
40381 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
40382
012d35f7
DM
403832011-02-28 Aurelien Jarno <aurelien@aurel32.net>
40384
7e4ba49c 40385 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
40386 __bzero_ultra1 instead of __memset_ultra1.
40387
4bff6e01
AS
403882011-02-23 Andreas Schwab <schwab@redhat.com>
40389 Ulrich Drepper <drepper@gmail.com>
40390
40391 [BZ #12509]
40392 * include/link.h (struct link_map): Add l_orig_initfini.
40393 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
40394 returning unsuccessfully.
40395 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
40396 close of a file loaded at startup, restore the original l_initfini
40397 list.
40398 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
40399 list, store the pointer.
40400 * elf/Makefile ($(objpfx)noload-mem): New rule.
40401 (noload-ENV): Define.
40402 (tests): Add $(objpfx)noload-mem.
40403 * elf/noload.c: Include <memcheck.h>.
40404 (main): Call mtrace. Close all opened handles.
40405
f2092faf
AS
404062011-02-17 Andreas Schwab <schwab@redhat.com>
40407
40408 [BZ #12454]
40409 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
40410 dependencies are missing.
40411
6c8a2e88
ST
404122011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
40413
f2092faf 40414 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
40415 Hurd needs munmap.
40416 * sysdeps/mach/hurd/ifreq.h: New file.
40417
84a42118
PB
404182011-01-27 Petr Baudis <pasky@suse.cz>
40419 Ulrich Drepper <drepper@gmail.com>
40420
071f805e 40421 [BZ 12445]#
84a42118
PB
40422 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
40423 to extend_alloca().
40424 * stdio-common/bug23.c: New file.
40425 * stdio-common/Makefile (tests): Add bug23.
40426
e23fe25b
AS
404272010-09-28 Andreas Schwab <schwab@redhat.com>
40428 Ulrich Drepper <drepper@gmail.com>
40429
40430 [BZ #12489]
40431 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
40432 before performing relro protection. At old place add assertion
40433 to make sure nothing changed.
40434
d3f02e10
NS
404352011-02-17 Nathan Sidwell <nathan@codesourcery.com>
40436 Glauber de Oliveira Costa <glommer@gmail.com>
40437
40438 * elf/elf.h: Add new ARM TLS relocs.
40439
d55fd7a5
RA
404402011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
40441
40442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
40443 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
40444 cast from r3.
40445 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
40446 'tests' variable.
40447 * sysdeps/wordsize-64/tst-writev.c: New file.
40448
2206397e
RA
404492011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
40450
40451 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
40452 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
40453 insns in _dl_start to prevent a TOC reference before relocs are
40454 resolved.
40455
e9433893
UD
404562011-02-15 Ulrich Drepper <drepper@gmail.com>
40457
40458 [BZ #12469]
40459 * Makeconfig: Remove RANLIB definition.
40460 * Makerules: Don't use RANLIB.
40461 * aclocal.m4: Remove ranlib test.
40462 * configure.in: No need to check for ranlib.
40463 * elf/rtld-Rules: Don't use RANLIB.
40464
f75286c6
ST
404652011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
40466
8e31c82d
ST
40467 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
40468 protection macro.
40469 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
40470 inclusion protection macro.
40471
f75286c6
ST
40472 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
40473 SIGRTMIN and SIGRTMAX and print information in that case only when
40474 SIGRTMIN is defined.
40475
c1d0e639
JJ
404762011-02-11 Jakub Jelinek <jakub@redhat.com>
40477
40478 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
40479 arginfo fn returning -1.
40480
40481 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
40482 and thousands string is zero terminated.
40483
edf9294e
AS
404842011-02-03 Andreas Schwab <schwab@redhat.com>
40485
40486 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
40487 sysdeps/unix/sysv/linux/bits/socket.h.
40488
2b7e92df
ST
404892011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
40490
edf9294e
AS
40491 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
40492 (__CPU_COUNT): Remove old macros.
40493 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
40494 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
40495 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
40496 (__sched_cpualloc, __sched_cpufree): Add declarations.
40497
a4c7ea7b
UD
404982011-02-05 Ulrich Drepper <drepper@gmail.com>
40499
40500 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
40501 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
40502 * nscd/aicache.c (addhstaiX): Return timeout of added value.
40503 (readdhstai): Return value of addhstaiX call.
40504 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
40505 (addgrbyX): Return value returned by cache_addgr.
40506 (readdgrbyname): Return value returned by addgrbyX.
40507 (readdgrbygid): Likewise.
40508 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
40509 (addpwbyX): Return value returned by cache_addpw.
40510 (readdpwbyname): Return value returned by addhstbyX.
40511 (readdpwbyuid): Likewise.
40512 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
40513 (addservbyX): Return value returned by cache_addserv.
40514 (readdservbyname): Return value returned by addservbyX:
40515 (readdservbyport): Likewise.
40516 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
40517 (addhstbyX): Return value returned by cache_addhst.
40518 (readdhstbyname): Return value returned by addhstbyX.
40519 (readdhstbyaddr): Likewise.
40520 (readdhstbynamev6): Likewise.
40521 (readdhstbyaddrv6): Likewise.
40522 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
40523 (readdinitgroups): Return value returned by addinitgroupsX.
40524 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
40525 (prune_cache): Keep track of timeout value of re-added entries.
40526 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
40527 * nscd/nscd.h: Adjust prototypes of readd* functions.
40528
a0bf67cc
RM
405292011-02-04 Roland McGrath <roland@redhat.com>
40530
40531 * nis/nis_server.c (nis_servstate): Use the right name for 0.
40532 (nis_stats): Likewise.
40533 * nis/nis_modify.c (nis_modify): Likewise.
40534 * nis/nis_remove.c (nis_remove): Likewise.
40535 * nis/nis_add.c (nis_add): Likewise.
40536
40537 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
40538
40539 * posix/fnmatch_loop.c: Add some consts.
40540
40541 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
40542
435b95eb
L
405432011-02-02 H.J. Lu <hongjiu.lu@intel.com>
40544
40545 [BZ #12460]
40546 * config.make.in (config-cflags-novzeroupper): Define.
40547 * configure.in: Substitute libc_cv_cc_novzeroupper.
40548 * elf/Makefile (AVX-CFLAGS): Define.
40549 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
40550 (CFLAGS-tst-auditmod4a.c): Likewise.
40551 (CFLAGS-tst-auditmod4b.c): Likewise.
40552 (CFLAGS-tst-auditmod6b.c): Likewise.
40553 (CFLAGS-tst-auditmod6c.c): Likewise.
40554 (CFLAGS-tst-auditmod7b.c): Likewise.
40555 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
40556
8517b15e
UD
405572011-02-02 Ulrich Drepper <drepper@gmail.com>
40558
40559 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
40560 function to the callback.
40561 Patch partly by Jiri Olsa <jolsa@redhat.com>.
40562
10a656fe
AS
405632011-02-02 Andreas Schwab <schwab@redhat.com>
40564
40565 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
40566 of errno.
40567
968dad0a
UD
405682011-01-19 Ulrich Drepper <drepper@gmail.com>
40569
9f94d2ea 40570 [BZ #11724]
968dad0a
UD
40571 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
40572 of constructors.
40573 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
40574 of destructors.
40575 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
40576
40577 [BZ #11724]
40578 * elf/Makefile: Add rules to build and run new test.
40579 * elf/tst-initorder.c: New file.
40580 * elf/tst-initorder.exp: New file.
40581 * elf/tst-initordera1.c: New file.
40582 * elf/tst-initordera2.c: New file.
40583 * elf/tst-initordera3.c: New file.
40584 * elf/tst-initordera4.c: New file.
40585 * elf/tst-initorderb1.c: New file.
40586 * elf/tst-initorderb2.c: New file.
40587 * elf/tst-order-a1.c: New file.
40588 * elf/tst-order-a2.c: New file.
40589 * elf/tst-order-a3.c: New file.
40590 * elf/tst-order-a4.c: New file.
40591 * elf/tst-order-b1.c: New file.
40592 * elf/tst-order-b2.c: New file.
40593 * elf/tst-order-main.c: New file.
40594 New test case by George Gensure <werkt0@gmail.com>.
40595
86e92359
UD
405962010-10-01 Andreas Schwab <schwab@redhat.com>
40597
40598 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
40599 decoding ACE if AI_CANONIDN.
40600
5d5732b0
UD
406012011-01-18 Ulrich Drepper <drepper@gmail.com>
40602
40603 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
40604
a77e8cbc
UD
406052011-01-17 Ulrich Drepper <drepper@gmail.com>
40606
6392473f
UD
40607 * version.h (RELEASE): Bump for 2.13 release.
40608 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
40609
620a0529
UD
40610 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
40611
18ba70a5
UD
40612 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
40613 MADV_NOHUGEPAGE.
32465c3e
UD
40614 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
40615 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
40616 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
40617 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
40618 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
40619 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
40620
c0dafcf1
UD
40621 * posix/getconf.c: Update copyright year.
40622 * catgets/gencat.c: Likewise.
40623 * csu/version.c: Likewise.
40624 * debug/catchsegv.sh: Likewise.
40625 * debug/xtrace.sh: Likewise.
40626 * elf/ldconfig.c: Likewise.
40627 * elf/ldd.bash.in: Likewise.
40628 * elf/sprof.c (print_version): Likewise.
40629 * iconv/iconv_prog.c: Likewise.
40630 * iconv/iconvconfig.c: Likewise.
40631 * locale/programs/locale.c: Likewise.
40632 * locale/programs/localedef.c: Likewise.
40633 * malloc/memusage.sh: Likewise.
40634 * malloc/mtrace.pl: Likewise.
40635 * nscd/nscd.c (print_version): Likewise.
40636 * nss/getent.c: Likewise.
40637
a77e8cbc
UD
40638 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
40639 PF_CAIF, and PF_ALG.
40640 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
40641
77e8bddf
AS
406422011-01-16 Andreas Schwab <schwab@linux-m68k.org>
40643
1f20b93a
AS
40644 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
40645 (modules-names): Use them.
40646 (ifunc-test-modules, ifunc-pie-tests): Define.
40647 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
40648 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
40649 (test-extras): Likewise.
40650 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
40651 $(compile-command.c).
40652 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
40653 (all-built-dso): Define.
40654 (check-textrel.out, check-execstack.out): Depend on it.
40655
77e8bddf
AS
40656 * configure.in: Don't override --enable-multi-arch.
40657
bc425b33
UD
406582011-01-15 Ulrich Drepper <drepper@gmail.com>
40659
40660 [BZ #6812]
40661 * nscd/hstcache.c (tryagain): Define.
40662 (cache_addhst): Return tryagain not notfound for temporary errors.
40663 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
40664 failed.
40665
794c3ad3
UD
406662011-01-14 Ulrich Drepper <drepper@gmail.com>
40667
70181fdd
UD
40668 [BZ #10563]
40669 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
40670 to make the syscall.
40671 * sysdeps/unix/sysv/linux/setgroups.c: New file.
40672
794c3ad3
UD
40673 [BZ #12378]
40674 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
40675 and fall back to matching as normal character if the string ends before
40676 the matching ']' is found. This is what POSIX requires.
40677 * posix/testfnm.c: Adjust test result.
40678 * posix/globtest.sh: Adjust test result. Add new test.
40679 * posix/tst-fnmatch.input: Likewise.
40680 * posix/tst-fnmatch2.c: Add new test.
40681
68dc9497
AS
406822010-12-28 Andreas Schwab <schwab@linux-m68k.org>
40683
40684 * elf/Makefile (check-execstack): Revert last change. Depend on
40685 check-execstack.h.
40686 (check-execstack.h): New target.
40687 (generated): Add check-execstack.h.
40688 * elf/check-execstack.c: Include "check-execstack.h".
40689 (main): Revert last change.
40690 (handle_file): Return zero if GNU_STACK is absent and
40691 DEFAULT_STACK_PERMS doesn't include PF_X.
40692
451f001b
UD
406932011-01-13 Ulrich Drepper <drepper@gmail.com>
40694
cfa28e56
UD
40695 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
40696 in child fails because the descriptor is already closed.
8cf8ce17
UD
40697 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
40698 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
40699 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 40700
1086d70d
UD
40701 [BZ #12397]
40702 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
40703 syscall.
40704
451f001b
UD
40705 [BZ #10484]
40706 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
40707 temporary buffer used to handle multi lookups locally.
a85b5cb4 40708 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 40709
08769175
UD
407102011-01-12 Ulrich Drepper <drepper@gmail.com>
40711
40712 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
40713 loader is ld.so.
40714
5e49c52e
UD
407152011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
40716
40717 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
40718 alignment for SSE2.
40719
60522a5f
UD
407202011-01-12 Ulrich Drepper <drepper@gmail.com>
40721
40722 [BZ #12394]
40723 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
40724 characters. When rounding increased number of integer digits recompute
40725 number of groups.
40726 * stdio-common/tst-grouping.c: New file.
40727 * stdio-common/Makefile: Add rules to build and run tst-grouping.
40728
f257bbd7
UD
407292011-01-09 Ulrich Drepper <drepper@gmail.com>
40730
40731 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
40732 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
40733
40734 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
40735 void.
40736 * bits/select.h: Likewise.
40737
fa9c15cb
UD
407382011-01-08 Ulrich Drepper <drepper@gmail.com>
40739
40740 * po/ja.po: Update from translation team.
40741
16c2895f
DM
407422011-01-04 David S. Miller <davem@sunset.davemloft.net>
40743
40744 [BZ #11155]
40745 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
40746 implementation just like for lxstat, fxstatat, et al.
40747
2543fef2
JM
407482010-12-27 Jim Meyering <meyering@redhat.com>
40749
40750 [BZ #12348]
40751 * posix/regexec.c (build_trtable): Return failure indication upon
40752 calloc failure. Otherwise, re_search_internal could infloop on OOM.
40753
98727dbe
UD
407542010-12-25 Ulrich Drepper <drepper@gmail.com>
40755
5bd6dc5c
UD
40756 [BZ #12201]
40757 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
40758 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
40759 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
40760 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
40761
97983464
UD
40762 [BZ #12207]
40763 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
40764
98727dbe
UD
40765 [BZ #12204]
40766 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
40767 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
40768
4a531bb0
L
407692010-12-15 H.J. Lu <hongjiu.lu@intel.com>
40770
40771 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
40772 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
40773 script has SORT_BY_INIT_PRIORITY.
40774 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
40775 NO_CTORS_DTORS_SECTIONS is defined.
40776 * elf/soinit.c: Likewise.
40777 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
40778 NO_CTORS_DTORS_SECTIONS is defined.
40779 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
40780 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
40781 * sysdeps/sh/init-first.c: Likewise.
40782 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
40783
07eb4b71
UD
407842010-12-24 Ulrich Drepper <drepper@gmail.com>
40785
40786 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
40787 always use the slow path.
40788
30950a5f
RA
407892010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
40790
40791 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
40792 similar rule which adds the sysdep directories to the header search in
40793 order to pick up the correct platform stackinfo.h.
40794 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
40795 perform test if it is, otherwise return successfully without testing.
40796 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
40797 DEFAULT_STACK_PERMS define in stackinfo.h.
40798 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
40799 defined in stackinfo.h.
40800 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
40801 DEFAULT_STACK_PERMS defined in stackinfo.h.
40802 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
40803 * sysdeps/ia64/stackinfo.h: Likewise.
40804 * sysdeps/s390/stackinfo.h: Likewise.
40805 * sysdeps/sh/stackinfo.h: Likewise.
40806 * sysdeps/sparc/stackinfo.h: Likewise.
40807 * sysdeps/x86_64/stackinfo.h: Likewise.
40808 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
40809 PF_X for powerpc64. Retain PF_X for powerpc32.
40810
db753e2c
UD
408112010-12-19 Ulrich Drepper <drepper@gmail.com>
40812
14b697f7
UD
40813 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
40814 accurately.
db753e2c
UD
40815 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
40816 GETDENTS_64BIT_ALIGNED.
40817
28300719
UD
408182010-12-14 Ulrich Drepper <dreper@gmail.com>
40819
14b697f7 40820 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 40821
4f197237
AS
408222010-12-10 Andreas Schwab <schwab@redhat.com>
40823
dbb0472f
AS
40824 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
40825 _GNU_SOURCE.
40826
4f197237
AS
40827 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
40828 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
40829 Remove __restrict.
40830 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
40831 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
40832
fb88ac72
UD
408332010-12-09 Ulrich Drepper <drepper@gmail.com>
40834
40835 [BZ #11655]
40836 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
40837 are initialized.
40838
42acbb92
JJ
408392010-12-09 Jakub Jelinek <jakub@redhat.com>
40840
40841 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
40842
c038d98d
UD
408432010-12-03 Ulrich Drepper <drepper@gmail.com>
40844
40845 * po/it.po: Update from translation team.
40846
3a4a2499
L
408472010-12-01 H.J. Lu <hongjiu.lu@intel.com>
40848
40849 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
40850 unused codes.
40851
1e24cf6e
UD
408522010-11-30 Ulrich Drepper <drepper@gmail.com>
40853
40854 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
40855
a7690819
AS
408562010-11-24 Andreas Schwab <schwab@redhat.com>
40857
40858 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
40859 specially.
40860 (gaih_getanswer_slice): Likewise.
40861
3bf8d1b1
JJ
408622010-10-20 Jakub Jelinek <jakub@redhat.com>
40863
40864 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
40865
6db52fbb
PB
408662010-05-31 Petr Baudis <pasky@suse.cz>
40867
40868 [BZ #11149]
40869 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
40870 silently even in the chroot mode.
40871
eaca7569
UD
408722010-11-22 Ulrich Drepper <drepper@gmail.com>
40873
40874 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
40875 last patch a bit. Pretty printing
40876
3056dcdb
UD
408772010-05-31 Petr Baudis <pasky@suse.cz>
40878
40879 [BZ #10085]
40880 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
40881 initialization of skip_initgroups_dyn.
40882
cf7c9078
UD
408832010-11-19 Ulrich Drepper <drepper@gmail.com>
40884
40885 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
40886 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
40887
a1fb5e3e
UD
408882010-11-16 Ulrich Drepper <drepper@gmail.com>
40889
40890 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
40891
3540d66b
AS
408922010-11-11 Andreas Schwab <schwab@redhat.com>
40893
40894 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
40895 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
40896 (tst-fnmatch-ENV): Set MALLOC_TRACE.
40897 ($(objpfx)tst-fnmatch-mem): New rule.
40898 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
40899 * posix/tst-fnmatch.c (main): Call mtrace.
40900
13b69574
L
409012010-11-11 H.J. Lu <hongjiu.lu@intel.com>
40902
40903 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40904 Support Intel processor model 6 and model 0x2c.
40905
da93d214
LM
409062010-11-10 Luis Machado <luisgpm@br.ibm.com>
40907
40908 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
40909 signed comparison.
40910
8ca52c6e
L
409112010-11-09 H.J. Lu <hongjiu.lu@intel.com>
40912
40913 [BZ #12205]
40914 * string/test-strncasecmp.c (check_result): New function.
40915 (do_one_test): Use it.
40916 (check1): New function.
40917 (test_main): Use it.
40918 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
40919 Support strcasecmp and strncasecmp.
40920
69da074d
UD
409212010-11-08 Ulrich Drepper <drepper@gmail.com>
40922
40923 [BZ #12194]
40924 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
40925 * sysdeps/x86_64/bits/byteswap.h: Likewise.
40926
ff02d528
L
409272010-11-07 H.J. Lu <hongjiu.lu@intel.com>
40928
40929 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
40930 IFUNC support.
40931 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40932 memset-x86-64.
40933 * sysdeps/x86_64/multiarch/bzero.S: New file.
40934 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
40935 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
40936 * sysdeps/x86_64/multiarch/memset.S: New file.
40937 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
40938 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40939 Set bit_Prefer_SSE_for_memop for Intel processors.
40940 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
40941 Define.
40942 (index_Prefer_SSE_for_memop): Define.
40943 (HAS_PREFER_SSE_FOR_MEMOP): Define.
40944
344d0b54
LM
409452010-11-04 Luis Machado <luisgpm@br.ibm.com>
40946
40947 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
40948 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
40949
c0dde15b
UD
409502010-11-03 H.J. Lu <hongjiu.lu@intel.com>
40951
40952 [BZ #12191]
40953 * sysdeps/i386/i686/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
40958 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
40959 (__x86_64_raw_data_cache_size_half): Likewise.
40960 (__x86_64_raw_shared_cache_size): Likewise.
40961 (__x86_64_raw_shared_cache_size_half): Likewise.
40962 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
40963 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
40964 and __x86_64_raw_shared_cache_size_half. Round
40965 __x86_64_data_cache_size_half, __x86_64_data_cache_size
40966 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
40967 to multiple of 256 bytes.
40968
0e516e0e
MS
409692010-11-03 Ulrich Drepper <drepper@gmail.com>
40970
40971 [BZ #12167]
40972 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
40973 of inacessible symlinks. Verify result of symlink before returning it.
40974 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
40975 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
40976
0e012e87
ER
409772010-10-28 Erich Ritz <erichritz@gmail.com>
40978
40979 * math/math.h (isinf): Fix typo in comment.
40980
de0ff7bc
UD
409812010-11-01 Ulrich Drepper <drepper@gmail.com>
40982
40983 * po/da.po: Update from translation team.
40984
fa41c84d
UD
409852010-10-26 Ulrich Drepper <drepper@gmail.com>
40986
40987 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
40988 is added to the list.
40989
f0967738
AK
409902010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40991 Ulrich Drepper <drepper@gmail.com>
40992
40993 * elf/dl-object.c (_dl_new_object): Don't append the new object to
40994 the global list here. Move code to...
40995 (_dl_add_to_namespace_list): ...here. New function.
40996 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
40997 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
40998 * elf/dl-load.c (lose): Don't remove the element from the list.
40999 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
41000 (_dl_map_object): Likewise.
41001
410022010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
41003
41004 [BZ #12159]
41005 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
41006 into all bytes of SSE register.
41007 Patch by Richard Li <richardpku@gmail.com>.
41008
f0967738 410092010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
41010
41011 [BZ #12140]
41012 * malloc/malloc.c (_int_free): Fill correct number of bytes when
41013 perturbing.
41014
d0b9e94f
MB
410152010-10-20 Michael B. Brutman <brutman@us.ibm.com>
41016
41017 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
41018 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
41019 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
41020 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
41021 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
41022 submachine.
41023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
41024
8e9f92e9
AS
410252010-10-22 Andreas Schwab <schwab@redhat.com>
41026
41027 * include/dlfcn.h (__RTLD_SECURE): Define.
41028 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
41029 mode & __RTLD_SECURE instead.
41030 (open_path): Rename preloaded parameter to secure.
41031 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
41032 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
41033 * elf/dl-deps.c (openaux): Likewise.
41034 * elf/rtld.c (struct map_args): Remove is_preloaded.
41035 (map_doit): Don't use it.
41036 (dl_main): Likewise.
41037 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
41038 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
41039
bc96fbda
AS
410402010-09-09 Andreas Schwab <schwab@redhat.com>
41041
41042 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
41043 (sysd-rules-targets): Remove duplicates.
41044 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
41045 rtld-%.$o dependency.
41046
22cd1c9b
AS
410472010-10-18 Andreas Schwab <schwab@redhat.com>
41048
41049 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
41050 _dl_map_object do it.
41051
18edac48
UD
410522010-10-19 Ulrich Drepper <drepper@gmail.com>
41053
41054 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
41055 fast fma builtins, define the macros in the C99 standard.
41056 (FP_FAST_FMAF): Likewise.
41057 (FP_FAST_FMAL): Likewise.
41058 * sysdeps/x86_64/bits/mathdef.h: Likewise.
41059
41060 * bits/mathdef.h: Update copyright year.
41061 * sysdeps/powerpc/bits/mathdef.h: Likewise.
41062
d2050124
MM
410632010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
41064
41065 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
41066 builtins, define the macros in the C99 standard.
41067 (FP_FAST_FMAF): Likewise.
41068 (FP_FAST_FMAL): Likewise.
41069 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
41070 multiply/add.
41071 (FP_FAST_FMAF): Likewise.
41072
475facd1
JJ
410732010-10-15 Jakub Jelinek <jakub@redhat.com>
41074
41075 [BZ #3268]
41076 * math/libm-test.inc (fma_test): Some new testcases.
41077 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
41078 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
41079 y and infinite z. Do multiplication by C already in long double.
41080 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
41081 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
41082 y and infinite z. Do bitwise or of inexact bit into u.d.
41083 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
41084 * sysdeps/i386/fpu/s_fmaf.S: Removed.
41085 * sysdeps/i386/fpu/s_fma.S: Removed.
41086 * sysdeps/i386/fpu/s_fmal.S: Removed.
41087
7c08a05c
JJ
410882010-10-16 Jakub Jelinek <jakub@redhat.com>
41089
41090 [BZ #3268]
41091 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
41092 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
41093 computation is not scheduled after fetestexcept. Fix value
41094 of minimum denormal long double.
41095
f3f7372d
JJ
410962010-10-14 Jakub Jelinek <jakub@redhat.com>
41097
41098 [BZ #3268]
41099 * math/libm-test.inc (fma_test): Add some more tests.
41100 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
41101 correctly.
41102
14d43591
AS
411032010-10-15 Andreas Schwab <schwab@redhat.com>
41104
41105 * scripts/data/localplt-s390-linux-gnu.data: New file.
41106 * scripts/data/localplt-s390x-linux-gnu.data: New file.
41107
5e908464
JJ
411082010-10-13 Jakub Jelinek <jakub@redhat.com>
41109
41110 [BZ #3268]
41111 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
41112 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
41113 instead of dbl-64.
41114 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
41115 inlines.
41116 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
41117 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
41118 if one of x and y is very large and the other is subnormal.
41119 * sysdeps/s390/fpu/s_fmaf.c: New file.
41120 * sysdeps/s390/fpu/s_fma.c: New file.
41121 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
41122 * sysdeps/powerpc/fpu/s_fma.S: New file.
41123 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
41124 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
41125 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
41126
411272010-10-12 Jakub Jelinek <jakub@redhat.com>
41128
41129 [BZ #3268]
41130 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
41131 fma tests.
41132 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
41133 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
41134 * sysdeps/i386/i686/multiarch/s_fma.c: Include
41135 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
41136 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
41137 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
41138 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
41139
b833d51f
UD
411402010-10-12 Ulrich Drepper <drepper@redhat.com>
41141
41142 [BZ #12078]
41143 * posix/regcomp.c (parse_branch): One more memory leak plugged.
41144 * posix/bug-regex31.input: Add test case.
41145
1751705d
UD
411462010-10-11 Ulrich Drepper <drepper@gmail.com>
41147
e9b9cbf5
UD
41148 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
41149 * posix/bug-regex31.input: New file.
41150
41151 [BZ #12078]
41152 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
41153 (parse_sub_exp): Fix last change, use postorder.
41154
ef06edbe
UD
41155 * posix/bug-regex31.c: New file.
41156 * posix/Makefile: Add rules to build and run bug-regex31.
41157
a129c80d
UD
41158 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
41159
41160 [BZ #12078]
41161 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
41162
b76b818e
UD
41163 [BZ #12108]
41164 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
41165 to have entries in sys_siglist.
41166
1751705d
UD
41167 [BZ #12093]
41168 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
41169 be NULL.
41170
9ff8d36f
JJ
411712010-10-07 Jakub Jelinek <jakub@redhat.com>
41172
41173 [BZ #3268]
41174 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
41175 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
41176 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
41177 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
41178 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
41179 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
41180 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
41181 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
41182 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
41183 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
41184 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
41185 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
41186 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
41187 * math/ftestexcept.c (fetestexcept): Likewise.
41188 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
41189 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
41190 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
41191 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
41192 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
41193 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
41194 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
41195
af325969
UD
411962010-10-11 Ulrich Drepper <drepper@gmail.com>
41197
c579b202 41198 [BZ #12107]
af325969
UD
41199 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
41200 newline.
41201
67a67b95
UD
412022010-10-06 Ulrich Drepper <drepper@gmail.com>
41203
41204 * string/bug-strstr1.c: New file.
41205 * string/Makefile: Add rules to build and run bug-strstr1.
41206
5fb308bc
EB
412072010-10-05 Eric Blake <eblake@redhat.com>
41208
41209 [BZ #12092]
41210 * string/str-two-way.h (two_way_long_needle): Always clear memory
41211 when skipping input due to the shift table.
41212
45db99c7
UD
412132010-10-03 Ulrich Drepper <drepper@gmail.com>
41214
3b111893
UD
41215 [BZ #12005]
41216 * malloc/mcheck.c: Handle large requests.
41217
45db99c7
UD
41218 [BZ #12077]
41219 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
41220 for strncmp and strncasecmp.
41221 * string/stratcliff.c: Add tests for strcmp and strncmp.
41222 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
41223
cf7a1eb8
NI
412242010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
41225
41226 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
41227 __set_fpscr.
41228
6484ba5e
AJ
412292010-09-30 Andreas Jaeger <aj@suse.de>
41230
41231 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
41232 (CGROUP_SUPER_MAGIC): Define.
41233 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
41234 Handle btrfs and cgroup file systems.
41235 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
41236 Likewise.
41237
91c42559
LM
412382010-09-27 Luis Machado <luisgpm@br.ibm.com>
41239
41240 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
41241 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
41242
87a97932
AK
412432010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41244
41245 [BZ #12067]
41246 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
41247 trying to locate the ELF header.
41248
c21cc9bc
AS
412492010-09-27 Andreas Schwab <schwab@redhat.com>
41250
41251 [BZ #11611]
41252 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
41253 Mask out sign-bit copies when constructing f_fsid.
41254
315970f6
PB
412552010-09-24 Petr Baudis <pasky@suse.cz>
41256
41257 * debug/stack_chk_fail_local.c: Add missing licence exception.
41258 * debug/warning-nop.c: Likewise.
41259
1ac7a2c7
JM
412602010-09-15 Joseph Myers <joseph@codesourcery.com>
41261
41262 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
41263 implementing getdents64 using getdents syscall, set d_type if
41264 __ASSUME_GETDENTS32_D_TYPE.
41265
56801c50
AS
412662010-09-16 Andreas Schwab <schwab@redhat.com>
41267
41268 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
41269 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
41270
dda51327
UD
412712010-09-21 Ulrich Drepper <drepper@redhat.com>
41272
41273 [BZ #12037]
41274 * posix/unistd.h: Undo change of feature selection for ftruncate from
41275 2010-01-11.
41276
8ffcee4a
UD
412772010-09-20 Ulrich Drepper <drepper@redhat.com>
41278
a545ecd9 41279 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
41280 detection.
41281
e24f0a8b
AS
412822010-09-20 Andreas Schwab <schwab@redhat.com>
41283
41284 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
41285 fanotify_mark.
41286 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
41287
7291c56f
AS
412882010-09-14 Andreas Schwab <schwab@redhat.com>
41289
41290 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
41291 variables after CHECK_SP call.
41292 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
41293
bc5fb037
AS
412942010-09-13 Andreas Schwab <schwab@redhat.com>
41295 Ulrich Drepper <drepper@redhat.com>
41296
41297 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
41298 re-relocationg ld.so.
41299 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
41300 _dl_init_paths call.
41301 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
41302 here anymore.
41303
e66e7419
UD
413042010-09-14 Ulrich Drepper <drepper@redhat.com>
41305
41306 * resolv/res_init.c (__res_vinit): Count the default server we added.
41307
c044aa75
CLT
413082010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
41309 Ulrich Drepper <drepper@redhat.com>
41310
41311 [BZ #11968]
41312 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
41313 (____longjmp_chk): Use %ebx for saving value across system call.
41314 Add unwind info.
41315
32cf4069
AS
413162010-09-06 Andreas Schwab <schwab@redhat.com>
41317
41318 * manual/Makefile: Don't mix pattern rules with normal rules.
41319
817328ee
AS
413202010-09-05 Andreas Schwab <schwab@linux-m68k.org>
41321
41322 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
41323 operation.
41324 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
41325 * libio/iofopncook.c (_IO_cookie_init): Likewise.
41326 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
41327 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
41328 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
41329 Likewise.
41330
29fddf61
UD
413312010-09-04 Ulrich Drepper <drepper@redhat.com>
41332
41333 [BZ #11979]
41334 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
41335 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
41336
0959ffc9
UD
413372010-09-02 Ulrich Drepper <drepper@redhat.com>
41338
41339 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
41340 * sysdeps/x86_64/addmul_1.S: Likewise.
41341 * sysdeps/x86_64/lshift.S: Likewise.
41342 * sysdeps/x86_64/mul_1.S: Likewise.
41343 * sysdeps/x86_64/rshift.S: Likewise.
41344 * sysdeps/x86_64/sub_n.S: Likewise.
41345 * sysdeps/x86_64/submul_1.S: Likewise.
41346
ece29840
ST
413472010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
41348
0959ffc9
UD
41349 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
41350 Define __sched_param instead of SCHED_* and sched_param when
ece29840 41351 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 41352 * bits/sched.h [__need_schedparam]
ece29840 41353 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
41354 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
41355 (__defined_schedparam): Define to 1.
ece29840
ST
41356 (__sched_param): New structure, identical to sched_param.
41357 (__need_schedparam): Undefine.
41358
e53a31fe
MF
413592010-08-31 Mike Frysinger <vapier@gentoo.org>
41360
fdc0c10d
MF
41361 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
41362 (epoll_create1): Declare.
41363
e53a31fe
MF
41364 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
41365
a726d796
AS
413662010-08-31 Andreas Schwab <schwab@redhat.com>
41367
41368 [BZ #7066]
41369 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
41370 shifting retval into place.
41371
2f3e3dc7
UD
413722010-09-01 Ulrich Drepper <drepper@redhat.com>
41373
f2933da9
UD
41374 * nis/rpcsvc/nis.h: Update copyright notice.
41375 * nis/rpcsvc/nis.x: Likewise.
41376 * nis/rpcsvc/nis_callback.h: Likewise.
41377 * nis/rpcsvc/nis_callback.x: Likewise.
41378 * nis/rpcsvc/nis_object.x: Likewise.
41379 * nis/rpcsvc/nis_tags.h: Likewise.
41380 * nis/rpcsvc/yp.h: Likewise.
41381 * nis/rpcsvc/yp.x: Likewise.
41382 * nis/rpcsvc/ypupd.h: Likewise.
41383 * nis/yp_xdr.c: Likewise.
41384 * nis/ypupdate_xdr.c: Likewise.
41385
2f3e3dc7
UD
41386 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
41387 mainly the body of pmap_getport. Add parameters to specify timeouts.
41388 (pmap_getport): Use __libc_rpc_getport.
41389 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
41390 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
41391 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
41392
f3dcc2f9
AS
413932010-08-31 Andreas Schwab <schwab@linux-m68k.org>
41394
41395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
41396 fanotify_mark.
41397
6d34eb5b
RM
413982010-08-27 Roland McGrath <roland@redhat.com>
41399
41400 * sysdeps/i386/i686/multiarch/Makefile
41401 (CFLAGS-varshift.c): New variable.
41402
9ea3de11
UD
414032010-08-27 Ulrich Drepper <drepper@redhat.com>
41404
c96d23fc
UD
41405 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
41406 * sysdeps/i386/i686/multiarch/varshift.c: New file.
41407
9ea3de11
UD
41408 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
41409
41410 * sysdeps/x86_64/strlen.S: Minimal code improvement.
41411
623aac7f
L
414122010-08-26 H.J. Lu <hongjiu.lu@intel.com>
41413
41414 * sysdeps/x86_64/strlen.S: Unroll the loop.
41415 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41416 strlen-sse2 strlen-sse2-bsf.
41417 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
41418 __strlen_no_bsf if bit_Slow_BSF is set.
41419 (__strlen_sse42): Removed.
41420 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
41421 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
41422
8b2b7715
RM
414232010-08-25 Roland McGrath <roland@redhat.com>
41424
41425 * sysdeps/x86_64/multiarch/varshift.S: File removed.
41426 * sysdeps/x86_64/multiarch/varshift.c: New file.
41427 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
41428 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
41429 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
41430 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
41431
e73015f2
L
414322010-08-25 H.J. Lu <hongjiu.lu@intel.com>
41433
41434 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41435 strlen-sse2 strlen-sse2-bsf.
41436 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
41437 __strlen_sse2_bsf if bit_Slow_BSF is unset.
41438 (__strlen_sse2): Removed.
41439 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
41440 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
41441 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
41442 bit_Slow_BSF for Atom.
41443 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
41444 (index_Slow_BSF): Define.
41445 (HAS_SLOW_BSF): Define.
41446
df24a73e
UD
414472010-08-25 Ulrich Drepper <drepper@redhat.com>
41448
41449 [BZ #10851]
41450 * resolv/res_init.c (__res_vinit): When no server address at all
41451 is given default to loopback.
41452
f2ac4868
RM
414532010-08-24 Roland McGrath <roland@redhat.com>
41454
09055553
RM
41455 * configure.in: Remove config-name.h generation.
41456 * configure: Regenerated.
41457 * config-name.in: File removed.
41458 * scripts/config-uname.sh: New file.
41459 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
41460 ($(objdir)config-name.h): New target.
41461
f2ac4868
RM
41462 * sunrpc/rpc_parse.h: Avoid nested comment.
41463
73f27d5e
RH
414642010-08-24 Richard Henderson <rth@redhat.com>
41465 Ulrich Drepper <drepper@redhat.com>
41466 H.J. Lu <hongjiu.lu@intel.com>
41467
41468 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
41469 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
41470 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
41471 Replace _mm_srli_si128 with __m128i_shift_right. Replace
41472 _mm_alignr_epi8 with _mm_loadu_si128.
41473 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
41474 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
41475 (__m128i_shift_right): Removed.
41476 * sysdeps/i386/i686/multiarch/varshift.h: New file.
41477 * sysdeps/i386/i686/multiarch/varshift.S: New file.
41478 * sysdeps/x86_64/multiarch/varshift.h: New file.
41479 * sysdeps/x86_64/multiarch/varshift.S: New file.
41480
84b9230c
MF
414812010-08-21 Mike Frysinger <vapier@gentoo.org>
41482
41483 * configure.in: Move assembler checks to before sysdep dir checking.
41484
9bbd0ddc
PB
414852010-08-20 Petr Baudis <pasky@suse.cz>
41486
41487 * LICENSES: Sync the sunrpc license.
41488
9da4bb31
UD
414892010-08-19 Ulrich Drepper <drepper@redhat.com>
41490
a7ab6ec8
UD
41491 * sunrpc/auth_des.c: Update copyright notice once again.
41492 * sunrpc/auth_none.c: Likewise.
41493 * sunrpc/auth_unix.c: Likewise.
41494 * sunrpc/authdes_prot.c: Likewise.
41495 * sunrpc/authuxprot.c: Likewise.
41496 * sunrpc/bindrsvprt.c: Likewise.
41497 * sunrpc/clnt_gen.c: Likewise.
41498 * sunrpc/clnt_perr.c: Likewise.
41499 * sunrpc/clnt_raw.c: Likewise.
41500 * sunrpc/clnt_simp.c: Likewise.
41501 * sunrpc/clnt_tcp.c: Likewise.
41502 * sunrpc/clnt_udp.c: Likewise.
41503 * sunrpc/clnt_unix.c: Likewise.
41504 * sunrpc/des_crypt.c: Likewise.
41505 * sunrpc/des_soft.c: Likewise.
41506 * sunrpc/get_myaddr.c: Likewise.
41507 * sunrpc/getrpcport.c: Likewise.
41508 * sunrpc/key_call.c: Likewise.
41509 * sunrpc/key_prot.c: Likewise.
41510 * sunrpc/openchild.c: Likewise.
41511 * sunrpc/pm_getmaps.c: Likewise.
41512 * sunrpc/pm_getport.c: Likewise.
41513 * sunrpc/pmap_clnt.c: Likewise.
41514 * sunrpc/pmap_prot.c: Likewise.
41515 * sunrpc/pmap_prot2.c: Likewise.
41516 * sunrpc/pmap_rmt.c: Likewise.
41517 * sunrpc/rpc/auth.h: Likewise.
41518 * sunrpc/rpc/auth_unix.h: Likewise.
41519 * sunrpc/rpc/clnt.h: Likewise.
41520 * sunrpc/rpc/des_crypt.h: Likewise.
41521 * sunrpc/rpc/key_prot.h: Likewise.
41522 * sunrpc/rpc/netdb.h: Likewise.
41523 * sunrpc/rpc/pmap_clnt.h: Likewise.
41524 * sunrpc/rpc/pmap_prot.h: Likewise.
41525 * sunrpc/rpc/pmap_rmt.h: Likewise.
41526 * sunrpc/rpc/rpc.h: Likewise.
41527 * sunrpc/rpc/rpc_des.h: Likewise.
41528 * sunrpc/rpc/rpc_msg.h: Likewise.
41529 * sunrpc/rpc/svc.h: Likewise.
41530 * sunrpc/rpc/svc_auth.h: Likewise.
41531 * sunrpc/rpc/types.h: Likewise.
41532 * sunrpc/rpc/xdr.h: Likewise.
41533 * sunrpc/rpc_clntout.c: Likewise.
41534 * sunrpc/rpc_cmsg.c: Likewise.
41535 * sunrpc/rpc_common.c: Likewise.
41536 * sunrpc/rpc_cout.c: Likewise.
41537 * sunrpc/rpc_dtable.c: Likewise.
41538 * sunrpc/rpc_hout.c: Likewise.
41539 * sunrpc/rpc_main.c: Likewise.
41540 * sunrpc/rpc_parse.c: Likewise.
41541 * sunrpc/rpc_parse.h: Likewise.
41542 * sunrpc/rpc_prot.c: Likewise.
41543 * sunrpc/rpc_sample.c: Likewise.
41544 * sunrpc/rpc_scan.c: Likewise.
41545 * sunrpc/rpc_scan.h: Likewise.
41546 * sunrpc/rpc_svcout.c: Likewise.
41547 * sunrpc/rpc_tblout.c: Likewise.
41548 * sunrpc/rpc_util.c: Likewise.
41549 * sunrpc/rpc_util.h: Likewise.
41550 * sunrpc/rpcinfo.c: Likewise.
41551 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
41552 * sunrpc/rpcsvc/key_prot.x: Likewise.
41553 * sunrpc/rpcsvc/klm_prot.x: Likewise.
41554 * sunrpc/rpcsvc/mount.x: Likewise.
41555 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
41556 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
41557 * sunrpc/rpcsvc/rex.x: Likewise.
41558 * sunrpc/rpcsvc/rstat.x: Likewise.
41559 * sunrpc/rpcsvc/rusers.x: Likewise.
41560 * sunrpc/rpcsvc/sm_inter.x: Likewise.
41561 * sunrpc/rpcsvc/spray.x: Likewise.
41562 * sunrpc/rpcsvc/yppasswd.x: Likewise.
41563 * sunrpc/rtime.c: Likewise.
41564 * sunrpc/svc.c: Likewise.
41565 * sunrpc/svc_auth.c: Likewise.
41566 * sunrpc/svc_authux.c: Likewise.
41567 * sunrpc/svc_raw.c: Likewise.
41568 * sunrpc/svc_run.c: Likewise.
41569 * sunrpc/svc_simple.c: Likewise.
41570 * sunrpc/svc_tcp.c: Likewise.
41571 * sunrpc/svc_udp.c: Likewise.
41572 * sunrpc/svc_unix.c: Likewise.
41573 * sunrpc/svcauth_des.c: Likewise.
41574 * sunrpc/xcrypt.c: Likewise.
41575 * sunrpc/xdr.c: Likewise.
41576 * sunrpc/xdr_array.c: Likewise.
41577 * sunrpc/xdr_float.c: Likewise.
41578 * sunrpc/xdr_mem.c: Likewise.
41579 * sunrpc/xdr_rec.c: Likewise.
41580 * sunrpc/xdr_ref.c: Likewise.
41581 * sunrpc/xdr_sizeof.c: Likewise.
41582 * sunrpc/xdr_stdio.c: Likewise.
41583
9da4bb31
UD
41584 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
41585 handling.
41586
bdaa77bc
AS
415872010-08-19 Andreas Schwab <schwab@redhat.com>
41588
41589 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
41590
fe2f79db
LM
415912010-08-19 Luis Machado <luisgpm@br.ibm.com>
41592
41593 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
41594 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
41595 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
41596 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
41597 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
41598 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
41599 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
41600 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
41601 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
41602 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
41603 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
41604 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
41605 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
41606 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
41607
b9b42ee0
AB
416082010-07-26 Anton Blanchard <anton@samba.org>
41609
41610 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
41611 * malloc/arena.c (heap_trim): Likewise.
41612
1c06ba31
UD
416132010-08-16 Ulrich Drepper <drepper@redhat.com>
41614
41615 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
41616 here. Not...
41617 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
41618 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
41619
f8392f40
L
416202010-08-12 H.J. Lu <hongjiu.lu@intel.com>
41621
41622 * sysdeps/i386/elf/Makefile: New file.
41623
3162f12e
AS
416242010-08-14 Andreas Schwab <schwab@linux-m68k.org>
41625
41626 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
41627 from fanotify_init.
41628 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
41629 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
41630
28c90b2c
UD
416312010-08-15 Ulrich Drepper <drepper@redhat.com>
41632
41633 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
41634 of strncasecmp_l.
1feccb6c 41635 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 41636
ca6bb004
UD
416372010-08-14 Ulrich Drepper <drepper@redhat.com>
41638
e9f82e0d
UD
41639 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
41640 strncase_l-nonascii.
41641 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
41642 Add strncase_l-ssse3.
41643 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
41644 * sysdeps/x86_64/strcmp.S: Likewise.
41645 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
41646 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
41647 * sysdeps/x86_64/strncase.S: New file.
41648 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
41649 * sysdeps/x86_64/strncase_l.S: New file.
41650 * string/Makefile (strop-tests): Add strncasecmp.
41651 * string/test-strncasecmp.c: New file.
41652
41653 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
41654 warning.
41655
ca6bb004
UD
41656 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
41657 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
41658
052fa7b3
AS
416592010-08-14 Andreas Schwab <schwab@linux-m68k.org>
41660
41661 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
41662
962dba78
UD
416632010-08-12 Ulrich Drepper <drepper@redhat.com>
41664
41665 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
41666 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
41667 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
41668
bebff237
AM
416692010-05-01 Alan Modra <amodra@gmail.com>
41670
41671 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
41672 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
41673 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
41674 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
41675 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
41676 tidying. Don't tail-call __sigjmp_save for static lib.
41677 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
41678 save location.
41679 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
41680 (CALL_MCOUNT): Add eh info, and nop after bl.
41681 (TAIL_CALL_SYSCALL_ERROR): New macro.
41682 (PSEUDO_RET): Use it.
41683 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
41684 Correct save location of integer regs and cr.
41685 (_dl_profile_resolve): Correct cr save location. Delete nops
41686 after bl when SHARED. Reduce cfi size a little by better
41687 placement of cfi directives.
41688 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
41689 make a stack frame. Instead use parm save area as a temp.
41690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
41691 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
41692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
41693 Don't make a stack frame for parent, use parm save area.
41694 Increase child stack frame to 112 bytes. Don't save unused reg,
41695 and adjust reg usage. Set up cfi on error recovery and
41696 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
41697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
41698 (__makecontext): Add dummy nop after jump to exit.
41699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
41700 Use correct parm save area and cr save, reduce stack frame.
41701 Correct cfi for possible PSEUDO_RET frame setup.
41702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
41703 Branch to local label emitted by PSEUDO_RET rather than
41704 __syscall_error.
41705
02637374
AS
417062010-08-12 Andreas Schwab <schwab@redhat.com>
41707
41708 [BZ #11904]
41709 * locale/programs/locale.c (print_assignment): New function.
41710 (show_locale_vars): Use it.
41711
c3e2f19b
UD
417122010-08-11 Ulrich Drepper <drepper@redhat.com>
41713
3cdaa6ad
UD
41714 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
41715 field.
41716 (struct statfs64): Likewise.
41717 (_STATFS_F_FLAGS): Define.
41718 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
41719 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
41720 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
41721 (ST_VALID): Define locally.
41722 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
41723 __statvfs_getflags, use the provided value.
41724 * sysdeps/unix/sysv/linux/kernel-features.h: Define
41725 __ASSUME_STATFS_F_FLAGS.
41726
754f7da3
UD
41727 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
41728
10b3bedc
UD
41729 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
41730 Add sys/fanotify.h.
41731 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
41732 fanotify_mask for GLIBC_2.13.
41733 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
41734 fanotify_init and fanotify_mark.
41735 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
41736 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
41737
c08fb0d7
UD
41738 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
41739 Add prlimit.
41740 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
41741 prlimit64 for GLIBC_2.13.
41742 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
41743 prlimit64.
41744 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
41745 syscall.
41746 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
41747 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
41748 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
41749 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
41750 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
41751 add prlimit alias.
41752 * sysdeps/unix/sysv/linux/prlimit.c: New file.
41753
15bac72b
UD
41754 [BZ #11903]
41755 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
41756 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
41757
c3e2f19b
UD
41758 * nss/Makefile: Add rules to build and run tst-nss-test1.
41759 * shlib-versions: Add entry for libnss_test1.
41760 * nss/nss_test1.c: New file.
41761 * nss/tst-nss-test1.c: New file.
41762
41763 * nss/nsswitch.c (__nss_database_custom): Define new variable.
41764 (__nss_configure_lookup): Set appropriate entry in
41765 __nss_configure_lookup to true.
41766 * nss/nsswitch.h: Define enum with indeces of databases in
41767 databases and __nss_database_custom arrays. Declare
41768 __nss_database_custom.
41769 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
41770 to avoid using nscd when custom rules are installed.
41771 * nss/getXXbyYY_r.c: Likewise.
41772 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
41773
41774 * nss/nss_files/files-parse.c: Whitespace fixes.
41775
f15ce4d8
UD
417762010-08-09 Ulrich Drepper <drepper@redhat.com>
41777
41778 [BZ #11883]
41779 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
41780 * posix/fnmatch_loop.c: Likewise.
41781
d22e4cc9
AK
417822010-07-17 Andi Kleen <ak@linux.intel.com>
41783
41784 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
41785 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
41786 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
41787 * Versions.def [GLIBC_2.13]: Add.
41788
805bc17d
UD
417892010-08-06 Ulrich Drepper <drepper@redhat.com>
41790
41791 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
41792 Also fail if tpwd after pwuid call is NULL.
41793
5a42321d
ST
417942010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
41795
41796 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
41797 when converting to ms.
41798
fd3ebeda
ST
417992010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
41800
41801 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
41802 EOPNOTSUPP errors with ENOTTY.
41803 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
41804 EOPNOTSUPP errors with ENOTTY.
41805
73507d3a
UD
418062010-07-31 Ulrich Drepper <drepper@redhat.com>
41807
41808 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
41809 Add strcasecmp_l-ssse3.
41810 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
41811 strcasecmp.
41812 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
41813 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
41814 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
41815
fe36dd02
UD
418162010-07-30 Ulrich Drepper <drepper@redhat.com>
41817
66f6765a
UD
41818 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
41819
42e08a54
UD
41820 * string/Makefile (strop-tests): Add strcasecmp.
41821 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
41822 strcasecmp_l-nonascii.
41823 (gen-as-const-headers): Add locale-defines.sym.
41824 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
41825 * sysdeps/x86_64/strcasecmp.S: New file.
41826 * sysdeps/x86_64/strcasecmp_l.S: New file.
41827 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
41828 * sysdeps/x86_64/locale-defines.sym: New file.
41829 * string/test-strcasecmp.c: New file.
41830
fe36dd02
UD
41831 * string/test-strcasestr.c: Test both ends of the range of characters.
41832 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
41833
48cbc0d6
RM
418342010-07-29 Roland McGrath <roland@redhat.com>
41835
76e6d6bc 41836 [BZ #11856]
48cbc0d6
RM
41837 * manual/locale.texi (Yes-or-No Questions): Fix example code.
41838
880113d9
UD
418392010-07-27 Ulrich Drepper <drepper@redhat.com>
41840
41841 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
41842 for ld.so.
41843
deb9cabb
AS
418442010-07-27 Andreas Schwab <schwab@redhat.com>
41845
41846 * manual/memory.texi (Malloc Tunable Parameters): Document
41847 M_PERTURB.
41848
1c7570ff
RM
418492010-07-26 Roland McGrath <roland@redhat.com>
41850
41851 [BZ #11840]
41852 * configure.in (-fgnu89-inline check): Set and substitute
41853 gnu89_inline, not libc_cv_gnu89_inline.
41854 * configure: Regenerated.
41855 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
41856
24fb0f88
UD
418572010-07-26 Ulrich Drepper <drepper@redhat.com>
41858
41859 * string/test-strnlen.c: New file.
41860 * string/Makefile (strop-tests): Add strnlen.
41861 * string/tester.c (test_strnlen): Add a few more test cases.
41862 * string/tst-strlen.c: Better error reporting.
41863
41864 * sysdeps/x86_64/strnlen.S: New file.
41865
8e96b93a
UD
418662010-07-24 Ulrich Drepper <drepper@redhat.com>
41867
41868 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
41869 lower-latency instructions.
41870
dbc676d4
UD
418712010-07-23 Ulrich Drepper <drepper@redhat.com>
41872
41873 * string/test-strcasestr.c: New file.
41874 * string/test-strstr.c: New file.
41875 * string/Makefile (strop-tests): Add strstr and strcasestr.
41876 * string/str-two-way.h: Don't undefine MAX.
41877 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
41878
f6a31e0e
AS
418792010-07-21 Andreas Schwab <schwab@redhat.com>
41880
41881 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41882 strcasestr-nonascii.
41883 (CFLAGS-strcasestr-nonascii.c): Define.
41884 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
41885 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
41886 Remove unused attribute.
41887
5dbc3b6c
RM
418882010-07-20 Roland McGrath <roland@redhat.com>
41889
41890 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
41891 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
41892 ld.so.cache was broken. With it, there is no way to disable dsocaps
41893 like LD_HWCAP_MASK can disable hwcaps.
41894
23d101d8
EPM
418952010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
41896
41897 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
41898
cc9f2e47
UD
418992010-07-16 Ulrich Drepper <drepper@redhat.com>
41900
41901 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
41902 call in strcasestr.
41903 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
41904 __strcasestr_sse42_nonascii.
41905 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
41906 strcasestr-nonascii.c.
41907 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
41908
77c1b069
LM
419092010-06-15 Luis Machado <luisgpm@br.ibm.com>
41910
41911 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
41912 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
41913 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
41914 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
41915
440566c3
UD
419162010-07-09 Ulrich Drepper <drepper@redhat.com>
41917
41918 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
41919 fcntl.
41920
5be9d05d
AS
419212010-07-06 Andreas Schwab <schwab@redhat.com>
41922
c30b7ee2 41923 [BZ #11577]
5be9d05d
AS
41924 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
41925 dl_signal_cerror.
41926
8a492a67
UD
419272010-07-06 Ulrich Drepper <drepper@redhat.com>
41928
41929 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
41930 _PC_PIPE_BUF using F_GETPIPE_SZ.
41931
713df3d5
RM
419322010-07-05 Roland McGrath <roland@redhat.com>
41933
41934 * manual/arith.texi (Rounding Functions): Fix rint description
41935 implicit in round description.
41936
702e8f14
UD
419372010-07-02 Ulrich Drepper <drepper@redhat.com>
41938
41939 * elf/Makefile: Fix linking for a few tests to make recent linker
41940 happy.
41941
52ed8be9
AS
419422010-06-30 Andreas Schwab <schwab@redhat.com>
41943
41944 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
41945 $(common-objpfx)libc_nonshared.a.
41946
f47c9a11
LM
419472010-06-21 Luis Machado <luisgpm@br.ibm.com>
41948
41949 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
41950 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
41951 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
41952 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
41953 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
41954 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
41955 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
41956 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
41957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
41958 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
41959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
41960 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
41961 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
41962 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
41963 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
41964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
41965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
41966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
41967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
41968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
41969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
41970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
41971 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
41972 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
41973 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
41974 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
41975 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
41976 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
41977 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
41978 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
41979 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
41980 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
41981 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
41982 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
41983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
41984 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
41985 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
41986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
41987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
41988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
41989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
41990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
41991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
41992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
41993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
41994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
41995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
41996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
41997
6fb8cbcb
L
419982010-06-25 H.J. Lu <hongjiu.lu@intel.com>
41999
42000 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
42001 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
42002 * string/memmove.c (memmove): Renamed to ...
42003 (MEMMOVE): ...this. Default to memmove.
42004 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
42005 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
42006 (END_CHK): Define.
42007 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42008 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
42009 mempcpy-ssse3-back memmove-ssse3-back.
42010 * sysdeps/x86_64/multiarch/bcopy.S: New file .
42011 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
42012 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
42013 * sysdeps/x86_64/multiarch/memcpy.S: New file.
42014 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
42015 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
42016 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
42017 * sysdeps/x86_64/multiarch/memmove.c: New file.
42018 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
42019 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
42020 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
42021 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
42022 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
42023 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
42024 Define.
42025 (index_Fast_Copy_Backward): Define.
42026 (HAS_ARCH_FEATURE): Define.
42027 (HAS_FAST_REP_STRING): Define.
42028 (HAS_FAST_COPY_BACKWARD): Define.
42029
4e733bac 420302010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
42031
42032 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
42033 Restore proper fallback handling.
42034
63c4ed22
UD
420352010-06-19 Ulrich Drepper <drepper@redhat.com>
42036
ac2b484c
UD
42037 [BZ #11701]
42038 * posix/group_member.c (__group_member): Correct checking loop.
42039
63c4ed22
UD
42040 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
42041 OOM in getpwuid_r correctly. Return error number when the caller
42042 should return, otherwise -1.
42043 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
42044 call returning > 0 value.
42045 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
42046
765ade4b
AS
420472010-06-07 Andreas Schwab <schwab@redhat.com>
42048
42049 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
42050 libc_nonshared.a from targets in modules-names.
42051
80da2e09
KS
420522010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
42053
42054 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
42055 requires it.
42056
158db122
LM
420572010-06-10 Luis Machado <luisgpm@br.ibm.com>
42058
42059 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
42060 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
42061 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
42062 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
42063
caa78cf8
AS
420642010-06-02 Andreas Schwab <schwab@redhat.com>
42065
42066 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
42067
b2ef2c01
UD
420682010-06-14 Ulrich Drepper <drepper@redhat.com>
42069
42070 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
42071 and F_GETPIPE_SZ.
42072 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
42073 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
42074 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
42075 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42076 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
42077 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
42078
fbd643b6
RM
420792010-06-14 Roland McGrath <roland@redhat.com>
42080
42081 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
42082
f32f2869
JJ
420832010-06-07 Jakub Jelinek <jakub@redhat.com>
42084
42085 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
42086 __REDIRECT followed by __THROW.
42087 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
42088 * posix/getopt.h (getopt): Likewise.
42089
2a50c078
EPM
420902010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
42091
42092 * hurd/lookup-at.c (__file_name_lookup_at): Accept
42093 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
42094 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
42095 in AT_FLAGS.
42096 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
42097 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
42098
eb5ad2eb
LM
420992010-05-28 Luis Machado <luisgpm@br.ibm.com>
42100
42101 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
42102
3c88fe1e
L
421032010-05-26 H.J. Lu <hongjiu.lu@intel.com>
42104
42105 [BZ #11640]
42106 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42107 Properly check family and model.
42108
d2f73151
TY
421092010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
42110
42111 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
42112
ebd2e13d
LM
421132010-05-24 Luis Machado <luisgpm@br.ibm.com>
42114
42115 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
42116
b32b8b45
UD
421172010-05-21 Ulrich Drepper <drepper@redhat.com>
42118
42119 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
42120 symbol reference.
42121
9acbe24d
AS
421222010-05-19 Andreas Schwab <schwab@redhat.com>
42123
42124 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
42125 symbol reference.
42126
f0ccf6ea
AS
421272010-05-21 Andreas Schwab <schwab@redhat.com>
42128
3d04ff3a
AS
42129 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
42130 and internal_recvmmsg.
42131 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
42132 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
42133 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
42134 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
42135
f0ccf6ea
AS
42136 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
42137 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
42138 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
42139
5b08ac57
AS
421402010-05-20 Andreas Schwab <schwab@redhat.com>
42141
42142 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
42143
4828935d
LM
421442010-05-17 Luis Machado <luisgpm@br.ibm.com>
42145
42146 POWER7 optimizations.
42147 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
42148 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
42149
373d545e
UD
421502010-05-19 Ulrich Drepper <drepper@redhat.com>
42151
42152 * version.h: Update for 2.13 development version.
42153
21a2b1ae
AS
421542010-05-12 Andrew Stubbs <ams@codesourcery.com>
42155
42156 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
42157 exceptions. Return 0.
42158
3f7dcb2b
RM
421592010-05-07 Roland McGrath <roland@redhat.com>
42160
42161 * elf/ldconfig.c (main): Add a const.
42162
5f24d53a 421632010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 42164
a160f8d8
UD
42165 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
42166 (args_options): Add no-idn option.
42167 (ahosts_keys_int): Add idn_flags to ai_flags.
42168 (parse_option): Handle 'i' option to clear idn_flags.
42169
5f24d53a
UD
42170 * malloc/malloc.c (_int_free): Possible race in the most recently
42171 added check. Only act on the data if no current modification
42172 happened.
265bb1ce
UD
42173
42174See ChangeLog.17 for earlier changes.