]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Test rint and nearbyint with same inputs, in all rounding modes.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
b3620862
JM
12014-03-17 Joseph Myers <joseph@codesourcery.com>
2
3 * math/libm-test.inc (nearbyint_test_data): Include all tests used
4 for rint. Include results for all rounding modes.
5 (nearbyint_test): Use ALL_RM_TEST.
6 (rint_test_data): Include all tests used for nearbyint.
7
788bba36
WN
82014-03-17 Will Newton <will.newton@linaro.org>
9
04ec140a
WN
10 * nptl/sysdeps/pthread/pthread.h: Revert previous
11 change.
12
7579d8d5
WN
13 * sysdeps/generic/ldsodefs.h: Revert previous
14 change.
15
c15cf13a
WN
16 * libio/genops.c: Revert previous change.
17 * libio/libioP.h: Likewise.
18 * stdio-common/vfprintf.c: Likewise.
19
d0ac1324
WN
20 * sysdeps/generic/math_private.h: Revert previous
21 change.
22
9290130a
WN
23 * sysdeps/generic/math_private.h: Check whether
24 HAVE_RM_CTX is defined with #ifdef rather
25 than #if.
26
afb466fc
WN
27 * argp/argp-fmtstream.h: Check whether
28 __STRICT_ANSI__ is defined with #ifdef rather
29 than #if.
30 * argp/argp.h: Likewise.
31
f7efd7c3
WN
32 * libio/genops.c: Check whether
33 _IO_JUMPS_OFFSET is defined with #ifdef rather
34 than #if.
35 * libio/libioP.h: Likewise.
36 * stdio-common/vfprintf.c: Likewise.
37
53f1bed3
WN
38 * sysdeps/generic/ldsodefs.h: Check whether
39 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
40 than #if.
41
788bba36
WN
42 * nptl/sysdeps/pthread/pthread.h: Check
43 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
44 its value.
45
fcd89ebe
SP
462014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
47
ae42bbc5
SP
48 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
49 setting O_APPEND.
50 * libio/tst-ftell-active-handler.c (do_append_test): Add a
51 test case.
52
ea33158c
SP
53 [BZ #16680]
54 * libio/fileops.c (_IO_file_open): Seek to end of file but
55 don't cache the offset.
56 (get_file_offset): Remove function.
57 (do_ftell): Use cached offset when available.
58 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
59 don't cache the offset.
60 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
61 case.
62 (do_one_test): Call it.
63 (do_ftell_test): Fix up expected old offset for a+ mode.
64 * libio/wfileops.c (do_ftell_wide): Used cached offset when
65 available.
66
b1dbb426
SP
67 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
68 up test status with function return status.
69 (do_write_test): Likewise.
70 (do_append_test): Likewise.
71
fcd89ebe
SP
72 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
73 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
74 Remove.
75
9962a2d3
JM
762014-03-17 Joseph Myers <joseph@codesourcery.com>
77
78 * math/gen-libm-test.pl (parse_args): Handle results specified for
79 each rounding mode separately.
80 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
81 tests and results from lrint_tonearest_test_data,
82 lrint_towardzero_test_data, lrint_downward_test_data and
83 lrint_upward_test_data.
84 (lrint_test): Use ALL_RM_TEST.
85 (lrint_tonearest_test_data): Remove.
86 (lrint_test_tonearest): Likewise.
87 (lrint_towardzero_test_data): Likewise.
88 (lrint_test_towardzero): Likewise.
89 (lrint_downward_test_data): Likewise.
90 (lrint_test_downward): Likewise.
91 (lrint_upward_test_data): Likewise.
92 (lrint_test_upward): Likewise.
93 (llrint_test_data): Merge in per-rounding-mode tests and results
94 from llrint_tonearest_test_data, llrint_towardzero_test_data,
95 llrint_downward_test_data and llrint_upward_test_data.
96 (llrint_test): Use ALL_RM_TEST.
97 (llrint_tonearest_test_data): Remove.
98 (llrint_test_tonearest): Likewise.
99 (llrint_towardzero_test_data): Likewise.
100 (llrint_test_towardzero): Likewise.
101 (llrint_downward_test_data): Likewise.
102 (llrint_test_downward): Likewise.
103 (llrint_upward_test_data): Likewise.
104 (llrint_test_upward): Likewise.
105 (rint_test_data): Merge in per-rounding-mode tests and results
106 from rint_tonearest_test_data, rint_towardzero_test_data,
107 rint_downward_test_data and rint_upward_test_data. Add
108 per-rounding-mode results for tests not in those arrays.
109 (rint_test): Use ALL_RM_TEST.
110 (rint_tonearest_test_data): Remove.
111 (rint_test_tonearest): Likewise.
112 (rint_towardzero_test_data): Likewise.
113 (rint_test_towardzero): Likewise.
114 (rint_downward_test_data): Likewise.
115 (rint_test_downward): Likewise.
116 (rint_upward_test_data): Likewise.
117 (rint_test_upward): Likewise.
118 (main): Don't call removed functions.
119
5006148e
RM
1202014-03-14 Roland McGrath <roland@hack.frob.com>
121
122 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
123 "Compiled on ..." crapola. It is anti-useful.
124
d6fe5e58
JM
1252014-03-14 Joseph Myers <joseph@codesourcery.com>
126
127 * scripts/evaluate-test.sh: Handle fourth argument to determine
128 whether test run should stop on failure.
129 * Makeconfig (stop-on-test-failure): New variable.
130 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
131 $(stop-on-test-failure).
132 * Makefile (tests): Give a summary of results from testing and
133 exit with failure status if they include an ERROR or FAIL.
134 (xtests): Likewise.
135 * manual/install.texi (Configuring and compiling): Mention
136 stop-on-test-failure=y.
137 * INSTALL: Regenerated.
138
498a2233
RM
1392014-03-14 Roland McGrath <roland@hack.frob.com>
140
22dbc19d
RM
141 * scripts/versionlist.awk: New file.
142 * Makerules [$(build-shared) = yes]
143 (postclean-generated): Add Versions.def, not Versions.def.v and
144 Versions.def.v.i.
145 ($(common-objpfx)Versions.def.v.i): Target removed.
146 ($(common-objpfx)Versions.def): New target.
147 ($(common-objpfx)Versions.all): Depend on that rather that
148 $(common-objpfx)Versions.def.v.
149 * Versions.def: File removed.
150
498a2233
RM
151 * Makeconfig (+gccwarn): Add -Wundef.
152 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
153 a dl-sysdep.h breaking its contract.
154 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
155 * include/stackinfo.h: New file.
156 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
157 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
158 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
159 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
160 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
161 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
162 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
163 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
164 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
165 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
166 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
167 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
168 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
169 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
170 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
171
c7de5025
AZ
1722014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
173
174 [BZ #16707]
175 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
176 implementation.
177 * math/libm-test.inc (round_test_data): Add more tests.
178
98fb27a3
AZ
1792014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
180
181 [BZ #16706]
182 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
183 implementation.
184 * math/libm-test.inc (nearbyint_test_data): Add more tests.
185
374f7f61
AZ
1862014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
187
188 [BZ #16701]
189 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
190 implementation.
191 * math/libm-test.inc (ceil_test_data): Add more tests.
192
4655c291
AZ
1932014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
194
195 * math/libm-test.inc (trunc_test_data): Add more tests related to
196 BZ#16414.
197
d7329d4b
RM
1982014-03-14 Roland McGrath <roland@hack.frob.com>
199
200 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
201 with #if rather than #ifdef.
202 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
203
aa4de9ce
L
2042014-03-14 H.J. Lu <hongjiu.lu@intel.com>
205
206 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
207 first. Disable AVX-512 GCC support if assembler doesn't support
208 it.
209 * sysdeps/x86_64/configure: Regenerated.
210
2e03fae7
CD
2112014-03-13 Carlos O'Donell <carlos@redhat.com>
212
213 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
214 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
215 (__old_pthread_attr_setstack): Likewise.
216 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
217 [!_STACK_GROWS_DOWN]: Likewise.
218
43ca83ec
MF
2192014-03-13 Mike Frysinger <vapier@gentoo.org>
220
221 * config.make.in (have-bash2): Delete.
222 * configure.ac (libc_cv_have_bash2): Delete.
223 * configure: Regenerate.
224 * elf/Makefile (common-ldd-rewrite): Rename to ...
225 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
226 (sh-ldd-rewrite): Delete.
227 (bash-ldd-rewrite): Delete.
228 (have-bash2): Delete checks.
229 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to ldd-rewrite.
230
c66e48b4
MF
2312014-03-13 Mike Frysinger <vapier@gentoo.org>
232
233 * config.make.in (have-ksh): Delete.
234 (KSH): Delete.
235 * configure.ac (libc_cv_have_ksh): Delete.
236 * configure: Regenerate.
237
b93834ef
MF
2382014-03-13 Mike Frysinger <vapier@gentoo.org>
239
240 * elf/Makefile: Delete $(have-ksh) check.
241 ($(objpfx)sotruss): Change KSH to BASH.
242 * elf/sotruss.ksh: Rename to ...
243 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
244 function style to match POSIX. Drop ksh vim mode setting.
245
f3a4632a
MF
2462014-03-13 Mike Frysinger <vapier@gentoo.org>
247
248 * manual/time.texi (Specifying the Time Zone with TZ): Change
249 Tuesday to Thursday.
250
5896c8bd
MF
2512014-03-13 Mike Frysinger <vapier@gentoo.org>
252
253 * debug/tst-longjmp_chk2.c: Update header comment.
254 (stackoverflow_handler): Add comment. Call assert on pass value.
255
2d63a517
IZ
2562014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
257
258 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
259 (HAVE_AVX512_ASM_SUPPORT): Likewise.
260 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
261 (La_x86_64_vector): Add zmm.
262 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
263 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
264 ($(objpfx)tst-audit10): New target.
265 ($(objpfx)tst-audit10.out): Likewise.
266 (tst-audit10-ENV): New.
267 (AVX512-CFLAGS): Likewise.
268 (CFLAGS-tst-audit10.c): Likewise.
269 (CFLAGS-tst-auditmod10a.c): Likewise.
270 (CFLAGS-tst-auditmod10b.c): Likewise.
271 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
272 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
273 * sysdeps/x86_64/configure: Regenerated.
274 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
275 AVX-512 zmm register support.
276 (_dl_x86_64_save_sse): Likewise.
277 (_dl_x86_64_restore_sse): Likewise.
278 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
279 size vector registers.
280 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
281 (ZMM_SIZE): Likewise.
282 * sysdeps/x86_64/tst-audit10.c: New file.
283 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
284 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
285
44c4e5d5
RM
2862014-03-13 Roland McGrath <roland@hack.frob.com>
287
288 * configure.ac (HAVE_EHDR_START): New check.
289 * configure: Regenerated.
290 * config.h.in (HAVE_EHDR_START): New #undef.
291 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
292 assuming the lowest-addressed segment maps the start of the file.
293
acd6e389
JM
2942014-03-13 Joseph Myers <joseph@codesourcery.com>
295
296 * INSTALL: Regenerated.
297
6f918f36
WN
2982014-03-13 Will Newton <will.newton@linaro.org>
299
300 * manual/setjmp.texi (System V contexts): Improve
301 clarity and grammar of documentation.
302
798212a0
PP
3032014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
304
305 [BZ #16381]
798212a0 306 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 307 (tests-pie): Add tst-pie2.
798212a0
PP
308 * elf/tst-pie2.c: New file.
309 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
310 for ET_EXEC.
311 * elf/rtld.c (map_doit): Load executable as lt_executable.
312 (dl_main): Likewise.
313
abe6d90c
JM
3142014-03-12 Joseph Myers <joseph@codesourcery.com>
315
316 [BZ #16642]
317 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
318 (__ASSUME_PSELECT): Undefine.
319
dd3946c6
AZ
3202014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
321
322 [BZ #16689]
323 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
324 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
325 static build.
326 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
327 selector for static builds.
328
c44496df
SP
3292014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
330
331 [BZ #16695]
332 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
333 key in the buffer.
334
27c7220a
AZ
3352014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
336
337 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build IFUNC
338 selector for static builds.
339
600fa361
JM
3402014-03-11 Joseph Myers <joseph@codesourcery.com>
341
76c96cf7
JM
342 * sysdeps/mips/math_private.h [__mips_hard_float]
343 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
344 libc_feresetround_mips_ctx.
345 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
346 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
347 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
348
600fa361
JM
349 [BZ #16677]
350 * math/s_nextafter.c (__nextafter): Do not return value from
351 overflowing computation.
352 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
353 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
354 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
355 Likewise.
356 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
357 Likewise.
358 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
359 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
360
d7706c32
RM
3612014-03-11 Roland McGrath <roland@hack.frob.com>
362
363 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
364 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
365 Move sfi_sp use from the load-multiple (that no longer sets sp) to
366 the new mov targetting sp.
367
4facea47
AZ
3682014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
369
370 [BZ #16683]
371 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
372 Define it for static builds as well.
373 (NO_BZERO_IMPL): Likewise.
374
e65caf1f
VR
3752014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
376
377 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
378 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
379 multiarch strspn for PPC64.
380 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
381 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
382 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
383 (__libc_ifunc_impl_list): Likewise.
384 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
385 multiarch optimizations
386 * string/strspn.c (strspn): Using macro to redefine symbol name.
387
ba9cc071
AZ
3882014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
389 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
390
391 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
392 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
393 multiarch strncat for PPC64.
394 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
395 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
396 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
397 (__libc_ifunc_impl_list): Likewise.
398 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
399 multiarch optimizations
400
8b4ff974
SP
4012014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
402
403 [BZ #16639]
404 * nscd/nscd.service: Make service type forking.
405
54b46a4b
AZ
4062014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
407
408 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
409 sign in non default rounding modes.
410 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
411
e9996ef7
JM
4122014-03-08 Joseph Myers <joseph@codesourcery.com>
413
414 * math/libm-test.inc (ALL_RM_TEST): New macro.
415 (ceil_test): Use ALL_RM_TEST.
416 (cimag_test): Likewise.
417 (conj_test): Likewise.
418 (copysign_test): Likewise.
419 (cproj_test): Likewise.
420 (creal_test): Likewise.
421 (fabs_test): Likewise.
422 (floor_test): Likewise.
423 (fmax_test): Likewise.
424 (fmin_test): Likewise.
425 (fmod_test): Likewise.
426 (fpclassify_test): Likewise.
427 (frexp_test): Likewise.
428 (ilogb_test): Likewise.
429 (isfinite_test): Likewise.
430 (finite_test): Likewise.
431 (isgreater_test): Likewise.
432 (isgreaterequal_test): Likewise.
433 (isinf_test): Likewise.
434 (isless_test): Likewise.
435 (islessequal_test): Likewise.
436 (islessgreater_test): Likewise.
437 (isnan_test): Likewise.
438 (isnormal_test): Likewise.
439 (issignaling_test): Likewise.
440 (isunordered_test): Likewise.
441 (logb_test): Likewise.
442 (logb_downward_test_data): Remove.
443 (logb_test_downward): Likewise.
444 (lround_test): Use ALL_RM_TEST.
445 (llround_test): Likewise.
446 (modf_test): Likewise.
447 (nexttoward_test): Likewise.
448 (remainder_test): Likewise.
449 (drem_test): Likewise.
450 (remainder_tonearest_test_data): Likewise.
451 (remainder_test_tonearest): Likewise.
452 (drem_test_tonearest): Likewise.
453 (remainder_towardzero_test_data): Likewise.
454 (remainder_test_towardzero): Likewise.
455 (drem_test_towardzero): Likewise.
456 (remainder_downward_test_data): Likewise.
457 (remainder_test_downward): Likewise.
458 (drem_test_downward): Likewise.
459 (remainder_upward_test_data): Likewise.
460 (remainder_test_upward): Likewise.
461 (drem_test_upward): Likewise.
462 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
463 (round_test): Use ALL_RM_TEST.
464 (signbit_test): Likewise.
465 (trunc_test): Likewise.
466 (significand_test): Likewise.
467 (main): Don't call removed functions.
468
bc61d27c
JM
4692014-03-07 Joseph Myers <joseph@codesourcery.com>
470
5c780849
JM
471 [BZ #16674]
472 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
473 || __USE_XOPEN2K8].
474 (ILL_ILLOPN): Likewise.
475 (ILL_ILLADR): Likewise.
476 (ILL_ILLTRP): Likewise.
477 (ILL_PRVOPC): Likewise.
478 (ILL_PRVREG): Likewise.
479 (ILL_COPROC): Likewise.
480 (ILL_BADSTK): Likewise.
481 (FPE_INTDIV): Likewise.
482 (FPE_INTOVF): Likewise.
483 (FPE_FLTDIV): Likewise.
484 (FPE_FLTOVF): Likewise.
485 (FPE_FLTUND): Likewise.
486 (FPE_FLTRES): Likewise.
487 (FPE_FLTINV): Likewise.
488 (FPE_FLTSUB): Likewise.
489 (SEGV_MAPERR): Likewise.
490 (SEGV_ACCERR): Likewise.
491 (BUS_ADRALN): Likewise.
492 (BUS_ADRERR): Likewise.
493 (BUS_OBJERR): Likewise.
494 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
495 (TRAP_TRACE): Likewise.
496 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
497 __USE_XOPEN2K8].
498 (CLD_KILLED): Likewise.
499 (CLD_DUMPED): Likewise.
500 (CLD_TRAPPED): Likewise.
501 (CLD_STOPPED): Likewise.
502 (CLD_CONTINUED): Likewise.
503 (POLL_IN): Likewise.
504 (POLL_OUT): Likewise.
505 (POLL_MSG): Likewise.
506 (POLL_ERR): Likewise.
507 (POLL_PRI): Likewise.
508 (POLL_HUP): Likewise.
509 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
510 Likewise.
511 (ILL_ILLOPN): Likewise.
512 (ILL_ILLADR): Likewise.
513 (ILL_ILLTRP): Likewise.
514 (ILL_PRVOPC): Likewise.
515 (ILL_PRVREG): Likewise.
516 (ILL_COPROC): Likewise.
517 (ILL_BADSTK): Likewise.
518 (FPE_INTDIV): Likewise.
519 (FPE_INTOVF): Likewise.
520 (FPE_FLTDIV): Likewise.
521 (FPE_FLTOVF): Likewise.
522 (FPE_FLTUND): Likewise.
523 (FPE_FLTRES): Likewise.
524 (FPE_FLTINV): Likewise.
525 (FPE_FLTSUB): Likewise.
526 (SEGV_MAPERR): Likewise.
527 (SEGV_ACCERR): Likewise.
528 (BUS_ADRALN): Likewise.
529 (BUS_ADRERR): Likewise.
530 (BUS_OBJERR): Likewise.
531 (BUS_MCEERR_AR): Likewise.
532 (BUS_MCEERR_AO): Likewise.
533 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
534 (TRAP_TRACE): Likewise.
535 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
536 __USE_XOPEN2K8].
537 (CLD_KILLED): Likewise.
538 (CLD_DUMPED): Likewise.
539 (CLD_TRAPPED): Likewise.
540 (CLD_STOPPED): Likewise.
541 (CLD_CONTINUED): Likewise.
542 (POLL_IN): Likewise.
543 (POLL_OUT): Likewise.
544 (POLL_MSG): Likewise.
545 (POLL_ERR): Likewise.
546 (POLL_PRI): Likewise.
547 (POLL_HUP): Likewise.
548 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
549 (ILL_ILLOPN): Likewise.
550 (ILL_ILLADR): Likewise.
551 (ILL_ILLTRP): Likewise.
552 (ILL_PRVOPC): Likewise.
553 (ILL_PRVREG): Likewise.
554 (ILL_COPROC): Likewise.
555 (ILL_BADSTK): Likewise.
556 (FPE_INTDIV): Likewise.
557 (FPE_INTOVF): Likewise.
558 (FPE_FLTDIV): Likewise.
559 (FPE_FLTOVF): Likewise.
560 (FPE_FLTUND): Likewise.
561 (FPE_FLTRES): Likewise.
562 (FPE_FLTINV): Likewise.
563 (FPE_FLTSUB): Likewise.
564 (SEGV_MAPERR): Likewise.
565 (SEGV_ACCERR): Likewise.
566 (BUS_ADRALN): Likewise.
567 (BUS_ADRERR): Likewise.
568 (BUS_OBJERR): Likewise.
569 (BUS_MCEERR_AR): Likewise.
570 (BUS_MCEERR_AO): Likewise.
571 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
572 (TRAP_TRACE): Likewise.
573 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
574 __USE_XOPEN2K8].
575 (CLD_KILLED): Likewise.
576 (CLD_DUMPED): Likewise.
577 (CLD_TRAPPED): Likewise.
578 (CLD_STOPPED): Likewise.
579 (CLD_CONTINUED): Likewise.
580 (POLL_IN): Likewise.
581 (POLL_OUT): Likewise.
582 (POLL_MSG): Likewise.
583 (POLL_ERR): Likewise.
584 (POLL_PRI): Likewise.
585 (POLL_HUP): Likewise.
586 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
587 Likewise.
588 (ILL_ILLOPN): Likewise.
589 (ILL_ILLADR): Likewise.
590 (ILL_ILLTRP): Likewise.
591 (ILL_PRVOPC): Likewise.
592 (ILL_PRVREG): Likewise.
593 (ILL_COPROC): Likewise.
594 (ILL_BADSTK): Likewise.
595 (ILL_BADIADDR): Likewise.
596 (ILL_BREAK): Likewise.
597 (FPE_INTDIV): Likewise.
598 (FPE_INTOVF): Likewise.
599 (FPE_FLTDIV): Likewise.
600 (FPE_FLTOVF): Likewise.
601 (FPE_FLTUND): Likewise.
602 (FPE_FLTRES): Likewise.
603 (FPE_FLTINV): Likewise.
604 (FPE_FLTSUB): Likewise.
605 (FPE_DECOVF): Likewise.
606 (FPE_DECDIV): Likewise.
607 (FPE_DECERR): Likewise.
608 (FPE_INVASC): Likewise.
609 (FPE_INVDEC): Likewise.
610 (SEGV_MAPERR): Likewise.
611 (SEGV_ACCERR): Likewise.
612 (SEGV_PSTKOVF): Likewise.
613 (BUS_ADRALN): Likewise.
614 (BUS_ADRERR): Likewise.
615 (BUS_OBJERR): Likewise.
616 (BUS_MCEERR_AR): Likewise.
617 (BUS_MCEERR_AO): Likewise.
618 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
619 (TRAP_TRACE): Likewise.
620 (TRAP_BRANCH): Likewise.
621 (TRAP_HWBKPT): Likewise.
622 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
623 __USE_XOPEN2K8].
624 (CLD_KILLED): Likewise.
625 (CLD_DUMPED): Likewise.
626 (CLD_TRAPPED): Likewise.
627 (CLD_STOPPED): Likewise.
628 (CLD_CONTINUED): Likewise.
629 (POLL_IN): Likewise.
630 (POLL_OUT): Likewise.
631 (POLL_MSG): Likewise.
632 (POLL_ERR): Likewise.
633 (POLL_PRI): Likewise.
634 (POLL_HUP): Likewise.
635 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
636 (ILL_ILLOPN): Likewise.
637 (ILL_ILLADR): Likewise.
638 (ILL_ILLTRP): Likewise.
639 (ILL_PRVOPC): Likewise.
640 (ILL_PRVREG): Likewise.
641 (ILL_COPROC): Likewise.
642 (ILL_BADSTK): Likewise.
643 (FPE_INTDIV): Likewise.
644 (FPE_INTOVF): Likewise.
645 (FPE_FLTDIV): Likewise.
646 (FPE_FLTOVF): Likewise.
647 (FPE_FLTUND): Likewise.
648 (FPE_FLTRES): Likewise.
649 (FPE_FLTINV): Likewise.
650 (FPE_FLTSUB): Likewise.
651 (SEGV_MAPERR): Likewise.
652 (SEGV_ACCERR): Likewise.
653 (BUS_ADRALN): Likewise.
654 (BUS_ADRERR): Likewise.
655 (BUS_OBJERR): Likewise.
656 (BUS_MCEERR_AR): Likewise.
657 (BUS_MCEERR_AO): Likewise.
658 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
659 (TRAP_TRACE): Likewise.
660 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
661 __USE_XOPEN2K8].
662 (CLD_KILLED): Likewise.
663 (CLD_DUMPED): Likewise.
664 (CLD_TRAPPED): Likewise.
665 (CLD_STOPPED): Likewise.
666 (CLD_CONTINUED): Likewise.
667 (POLL_IN): Likewise.
668 (POLL_OUT): Likewise.
669 (POLL_MSG): Likewise.
670 (POLL_ERR): Likewise.
671 (POLL_PRI): Likewise.
672 (POLL_HUP): Likewise.
673 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
674 (ILL_ILLOPN): Likewise.
675 (ILL_ILLADR): Likewise.
676 (ILL_ILLTRP): Likewise.
677 (ILL_PRVOPC): Likewise.
678 (ILL_PRVREG): Likewise.
679 (ILL_COPROC): Likewise.
680 (ILL_BADSTK): Likewise.
681 (FPE_INTDIV): Likewise.
682 (FPE_INTOVF): Likewise.
683 (FPE_FLTDIV): Likewise.
684 (FPE_FLTOVF): Likewise.
685 (FPE_FLTUND): Likewise.
686 (FPE_FLTRES): Likewise.
687 (FPE_FLTINV): Likewise.
688 (FPE_FLTSUB): Likewise.
689 (SEGV_MAPERR): Likewise.
690 (SEGV_ACCERR): Likewise.
691 (BUS_ADRALN): Likewise.
692 (BUS_ADRERR): Likewise.
693 (BUS_OBJERR): Likewise.
694 (BUS_MCEERR_AR): Likewise.
695 (BUS_MCEERR_AO): Likewise.
696 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
697 (TRAP_TRACE): Likewise.
698 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
699 __USE_XOPEN2K8].
700 (CLD_KILLED): Likewise.
701 (CLD_DUMPED): Likewise.
702 (CLD_TRAPPED): Likewise.
703 (CLD_STOPPED): Likewise.
704 (CLD_CONTINUED): Likewise.
705 (POLL_IN): Likewise.
706 (POLL_OUT): Likewise.
707 (POLL_MSG): Likewise.
708 (POLL_ERR): Likewise.
709 (POLL_PRI): Likewise.
710 (POLL_HUP): Likewise.
711 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
712 (ILL_ILLOPN): Likewise.
713 (ILL_ILLADR): Likewise.
714 (ILL_ILLTRP): Likewise.
715 (ILL_PRVOPC): Likewise.
716 (ILL_PRVREG): Likewise.
717 (ILL_COPROC): Likewise.
718 (ILL_BADSTK): Likewise.
719 (FPE_INTDIV): Likewise.
720 (FPE_INTOVF): Likewise.
721 (FPE_FLTDIV): Likewise.
722 (FPE_FLTOVF): Likewise.
723 (FPE_FLTUND): Likewise.
724 (FPE_FLTRES): Likewise.
725 (FPE_FLTINV): Likewise.
726 (FPE_FLTSUB): Likewise.
727 (SEGV_MAPERR): Likewise.
728 (SEGV_ACCERR): Likewise.
729 (BUS_ADRALN): Likewise.
730 (BUS_ADRERR): Likewise.
731 (BUS_OBJERR): Likewise.
732 (BUS_MCEERR_AR): Likewise.
733 (BUS_MCEERR_AO): Likewise.
734 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
735 (TRAP_TRACE): Likewise.
736 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
737 __USE_XOPEN2K8].
738 (CLD_KILLED): Likewise.
739 (CLD_DUMPED): Likewise.
740 (CLD_TRAPPED): Likewise.
741 (CLD_STOPPED): Likewise.
742 (CLD_CONTINUED): Likewise.
743 (POLL_IN): Likewise.
744 (POLL_OUT): Likewise.
745 (POLL_MSG): Likewise.
746 (POLL_ERR): Likewise.
747 (POLL_PRI): Likewise.
748 (POLL_HUP): Likewise.
749 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
750 (ILL_ILLOPN): Likewise.
751 (ILL_ILLADR): Likewise.
752 (ILL_ILLTRP): Likewise.
753 (ILL_PRVOPC): Likewise.
754 (ILL_PRVREG): Likewise.
755 (ILL_COPROC): Likewise.
756 (ILL_BADSTK): Likewise.
757 (ILL_DBLFLT): Likewise.
758 (ILL_HARDWALL): Likewise.
759 (FPE_INTDIV): Likewise.
760 (FPE_INTOVF): Likewise.
761 (FPE_FLTDIV): Likewise.
762 (FPE_FLTOVF): Likewise.
763 (FPE_FLTUND): Likewise.
764 (FPE_FLTRES): Likewise.
765 (FPE_FLTINV): Likewise.
766 (FPE_FLTSUB): Likewise.
767 (SEGV_MAPERR): Likewise.
768 (SEGV_ACCERR): Likewise.
769 (BUS_ADRALN): Likewise.
770 (BUS_ADRERR): Likewise.
771 (BUS_OBJERR): Likewise.
772 (BUS_MCEERR_AR): Likewise.
773 (BUS_MCEERR_AO): Likewise.
774 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
775 (TRAP_TRACE): Likewise.
776 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
777 __USE_XOPEN2K8].
778 (CLD_KILLED): Likewise.
779 (CLD_DUMPED): Likewise.
780 (CLD_TRAPPED): Likewise.
781 (CLD_STOPPED): Likewise.
782 (CLD_CONTINUED): Likewise.
783 (POLL_IN): Likewise.
784 (POLL_OUT): Likewise.
785 (POLL_MSG): Likewise.
786 (POLL_ERR): Likewise.
787 (POLL_PRI): Likewise.
788 (POLL_HUP): Likewise.
789 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
790 (ILL_ILLOPN): Likewise.
791 (ILL_ILLADR): Likewise.
792 (ILL_ILLTRP): Likewise.
793 (ILL_PRVOPC): Likewise.
794 (ILL_PRVREG): Likewise.
795 (ILL_COPROC): Likewise.
796 (ILL_BADSTK): Likewise.
797 (FPE_INTDIV): Likewise.
798 (FPE_INTOVF): Likewise.
799 (FPE_FLTDIV): Likewise.
800 (FPE_FLTOVF): Likewise.
801 (FPE_FLTUND): Likewise.
802 (FPE_FLTRES): Likewise.
803 (FPE_FLTINV): Likewise.
804 (FPE_FLTSUB): Likewise.
805 (SEGV_MAPERR): Likewise.
806 (SEGV_ACCERR): Likewise.
807 (BUS_ADRALN): Likewise.
808 (BUS_ADRERR): Likewise.
809 (BUS_OBJERR): Likewise.
810 (BUS_MCEERR_AR): Likewise.
811 (BUS_MCEERR_AO): Likewise.
812 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
813 (TRAP_TRACE): Likewise.
814 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
815 __USE_XOPEN2K8].
816 (CLD_KILLED): Likewise.
817 (CLD_DUMPED): Likewise.
818 (CLD_TRAPPED): Likewise.
819 (CLD_STOPPED): Likewise.
820 (CLD_CONTINUED): Likewise.
821 (POLL_IN): Likewise.
822 (POLL_OUT): Likewise.
823 (POLL_MSG): Likewise.
824 (POLL_ERR): Likewise.
825 (POLL_PRI): Likewise.
826 (POLL_HUP): Likewise.
827 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
828 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
829
bc61d27c
JM
830 [BZ #16670]
831 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
832 before #include of <time.h>.
833 [!__USE_XOPEN2K] (__need_timespec): Likewise.
834 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
835 (test-xfail-UNIX98/sched.h/conform): Likewise.
836
302949e2
MS
8372014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
838
839 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
840 error absence of trapping exception support.
841 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
842
a00f522a
JM
8432014-03-07 Joseph Myers <joseph@codesourcery.com>
844
6f99f280
JM
845 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
846 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
847 * timezone/Makefile (testdata): Move definition above include of
848 Rules.
849 (test-zones): New variable.
850 (tests-special): Add zone files.
851 (build-testdata): Use $(evaluate-test).
852
0b20a9e8
JM
853 * elf/Makefile (tests-special): Rename tests to end with .out.
854 ($(objpfx)noload-mem): Likewise.
855 ($(objpfx)tst-leaks1-mem): Likewise.
856 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
857 * iconv/Makefile (xtests-special): Change test-iconvconfig to
858 $(objpfx)test-iconvconfig.out.
859 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
860 set -e inside subshell and redirect output to file.
861 * iconvdata/Makefile (generated): Rename tests to end with .out.
862 Correct type.
863 (tests-special): Rename tests to end with .out.
864 ($(objpfx)mtrace-tst-loading): Likewise.
865 * intl/Makefile (generated): Likewise.
866 (tests-special): Likewise.
867 ($(objpfx)mtrace-tst-gettext): Likewise.
868 * misc/Makefile (generated): Likewise.
869 (tests-special): Likewise.
870 ($(objpfx)tst-error1-mem): Likewise.
871 * nptl/Makefile (tests-special): Likewise.
872 ($(objpfx)tst-stack3-mem): Likewise.
873 (generated): Likewise.
874 * posix/Makefile (generated): Likewise.
875 (tests-special): Likewise.
876 (xtests-special): Likewise.
877 ($(objpfx)tst-fnmatch-mem): Likewise.
878 ($(objpfx)bug-regex2-mem): Likewise.
879 ($(objpfx)bug-regex14-mem): Likewise.
880 ($(objpfx)bug-regex21-mem): Likewise.
881 ($(objpfx)bug-regex31-mem): Likewise.
882 ($(objpfx)tst-vfork3-mem): Likewise.
883 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
884 ($(objpfx)tst-pcre-mem): Likewise.
885 ($(objpfx)tst-boost-mem): Likewise.
886 ($(objpfx)bug-ga2-mem): Likewise.
887 ($(objpfx)bug-glob2-mem): Likewise.
888 * resolv/Makefile (generate): Likewise.
889 (tests-special): Likewise.
890 (xtests-special): Likewise.
891 (generated): Likewise.
892 ($(objpfx)mtrace-tst-leaks): Likewise.
893 ($(objpfx)mtrace-tst-leaks2): Likewise.
894
265d52ab
JM
895 * scripts/merge-test-results.sh: New file.
896 * Makefile (tests-special-notdir): New variable.
897 (tests): Run merge-test-results.sh.
898 (xtests): Likewise.
899 * Rules (tests-special-notdir): New variable.
900 (xtests-special-notdir): Likewise.
901 (tests): Run merge-test-results.sh
902 (xtests): Likewise.
903
54ee292d
JM
904 * Makeconfig (test-xfail-name): New variable.
905 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
906 compute variable name for expected failures.
907 * conform/Makefile (conformtest-headers-data): New variable.
908 (conformtest-standards): Likewise.
909 (conformtest-headers-ISO): Likewise.
910 (conformtest-headers-ISO99): Likewise.
911 (conformtest-headers-ISO11): Likewise.
912 (conformtest-headers-POSIX): Likewise.
913 (conformtest-headers-XPG3): Likewise.
914 (conformtest-headers-XPG4): Likewise.
915 (conformtest-headers-UNIX98): Likewise.
916 (conformtest-headers-XOPEN2K): Likewise.
917 (conformtest-headers-POSIX2008): Likewise.
918 (conformtest-headers-XOPEN2K8): Likewise.
919 (conformtest-header-list-base): Likewise.
920 (conformtest-header-list-tests): Likewise.
921 (conformtest-header-base): Likewise.
922 (conformtest-header-tests): Likewise.
923 (tests-special): Add $(conformtest-header-list-tests). If
924 [$(fast-check) && !$(cross-compiling)], add
925 $(conformtest-header-tests) instead of
926 $(objpfx)run-conformtest.out.
927 (generated): Add $(conformtest-header-list-base). If
928 [$(fast-check) && !$(cross-compiling)], add
929 $(conformtest-header-base). Remove previous setting.
930 ($(conformtest-header-list-tests)): New target.
931 (test-xfail-run-conformtest): Remove variable.
932 ($(objpfx)run-conformtest.out): Remove target.
933 (test-xfail-ISO11/complex.h/conform): New variable.
934 (test-xfail-ISO11/stdalign.h/conform): Likewise.
935 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
936 (test-xfail-XPG3/varargs.h/conform): Likewise.
937 (test-xfail-XPG4/varargs.h/conform): Likewise.
938 (test-xfail-UNIX98/varargs.h/conform): Likewise.
939 (test-xfail-XPG4/ndbm.h/conform): Likewise.
940 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
941 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
942 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
943 (test-xfail-XPG3/fcntl.h/conform): Likewise.
944 (test-xfail-XPG3/ftw.h/conform): Likewise.
945 (test-xfail-XPG3/grp.h/conform): Likewise.
946 (test-xfail-XPG3/langinfo.h/conform): Likewise.
947 (test-xfail-XPG3/limits.h/conform): Likewise.
948 (test-xfail-XPG3/pwd.h/conform): Likewise.
949 (test-xfail-XPG3/search.h/conform): Likewise.
950 (test-xfail-XPG3/signal.h/conform): Likewise.
951 (test-xfail-XPG3/stdio.h/conform): Likewise.
952 (test-xfail-XPG3/stdlib.h/conform): Likewise.
953 (test-xfail-XPG3/string.h/conform): Likewise.
954 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
955 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
956 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
957 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
958 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
959 (test-xfail-XPG3/sys/types.h/conform): Likewise.
960 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
961 (test-xfail-XPG3/termios.h/conform): Likewise.
962 (test-xfail-XPG3/time.h/conform): Likewise.
963 (test-xfail-XPG3/unistd.h/conform): Likewise.
964 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
965 (test-xfail-XPG4/fcntl.h/conform): Likewise.
966 (test-xfail-XPG4/langinfo.h/conform): Likewise.
967 (test-xfail-XPG4/netdb.h/conform): Likewise.
968 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
969 (test-xfail-XPG4/signal.h/conform): Likewise.
970 (test-xfail-XPG4/stdio.h/conform): Likewise.
971 (test-xfail-XPG4/stdlib.h/conform): Likewise.
972 (test-xfail-XPG4/stropts.h/conform): Likewise.
973 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
974 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
975 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
976 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
977 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
978 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
979 (test-xfail-XPG4/sys/time.h/conform): Likewise.
980 (test-xfail-XPG4/sys/types.h/conform): Likewise.
981 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
982 (test-xfail-XPG4/termios.h/conform): Likewise.
983 (test-xfail-XPG4/ucontext.h/conform): Likewise.
984 (test-xfail-XPG4/unistd.h/conform): Likewise.
985 (test-xfail-XPG4/utmpx.h/conform): Likewise.
986 (test-xfail-POSIX/sched.h/conform): Likewise.
987 (test-xfail-POSIX/signal.h/conform): Likewise.
988 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
989 (test-xfail-POSIX/tar.h/conform): Likewise.
990 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
991 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
992 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
993 (test-xfail-UNIX98/netdb.h/conform): Likewise.
994 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
995 (test-xfail-UNIX98/sched.h/conform): Likewise.
996 (test-xfail-UNIX98/signal.h/conform): Likewise.
997 (test-xfail-UNIX98/stdio.h/conform): Likewise.
998 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
999 (test-xfail-UNIX98/stropts.h/conform): Likewise.
1000 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
1001 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
1002 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
1003 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
1004 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
1005 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
1006 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
1007 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
1008 (test-xfail-UNIX98/unistd.h/conform): Likewise.
1009 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
1010 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
1011 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
1012 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
1013 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
1014 (test-xfail-XOPEN2K/math.h/conform): Likewise.
1015 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
1016 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
1017 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
1018 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
1019 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
1020 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
1021 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
1022 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
1023 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
1024 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
1025 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
1026 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
1027 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
1028 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
1029 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
1030 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
1031 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
1032 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
1033 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
1034 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
1035 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
1036 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
1037 (test-xfail-POSIX2008/signal.h/conform): Likewise.
1038 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
1039 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
1040 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
1041 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
1042 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
1043 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
1044 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
1045 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
1046 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
1047 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
1048 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
1049 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
1050 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
1051 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
1052 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
1053 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
1054 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
1055 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
1056 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
1057 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
1058 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
1059 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
1060 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
1061 (conformtest-cc-flags): Likewise.
1062 ($(conformtest-header-tests): New target.
1063 * conform/check-header-lists.sh: New file.
1064 * conform/run-conformtest.sh: Remove.
1065
a00f522a
JM
1066 * conform/conformtest.pl: Allow ' and \ in values given for
1067 constants.
1068 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
1069 inclusion.
1070 [POSIX] (sys/types.h): Likewise.
1071 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
1072 inclusion.
1073 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
1074 inclusion.
1075 * conform/data/signal.h-data (SIGIO): Remove expectation.
1076 [XPG3] (SIGBUS): Do not expect.
1077 [POSIX || XPG3] (SIGPOLL): Likewise.
1078 [POSIX || XPG3] (SIGPROF): Likewise.
1079 [POSIX || XPG3] (SIGSYS): Likewise.
1080 [XPG3] (SIGTRAP): Likewise.
1081 [POSIX || XPG3] (SIGURG): Likewise.
1082 [POSIX || XPG3] (SIGVTALRM): Likewise.
1083 [POSIX || XPG3] (SIGXCPU): Likewise.
1084 [POSIX || XPG3] (SIGXFSZ): Likewise.
1085 [POSIX] (SA_SIGINFO): Expect.
1086 [XPG3] (siginfo_t): Do not expect type or contents.
1087 [POSIX] (si_pid): Do not expect element.
1088 [POSIX] (si_uid): Likewise.
1089 [POSIX] (si_addr): Likewise.
1090 [POSIX] (si_status): Likewise.
1091 [POSIX] (si_band): Likewise.
1092 [XPG4] (si_value): Likewise.
1093 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
1094 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
1095 [POSIX || XPG3] (ILL_ILLADR): Likewise.
1096 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
1097 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
1098 [POSIX || XPG3] (ILL_PRVREG): Likewise.
1099 [POSIX || XPG3] (ILL_COPROC): Likewise.
1100 [POSIX || XPG3] (ILL_BADSTK): Likewise.
1101 [POSIX || XPG3] (FPE_INTDIV): Likewise.
1102 [POSIX || XPG3] (FPE_INTOVF): Likewise.
1103 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
1104 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
1105 [POSIX || XPG3] (FPE_FLTUND): Likewise.
1106 [POSIX || XPG3] (FPE_FLTRES): Likewise.
1107 [POSIX || XPG3] (FPE_FLTINV): Likewise.
1108 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
1109 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
1110 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
1111 [POSIX || XPG3] (BUS_ADRALN): Likewise.
1112 [POSIX || XPG3] (BUS_ADRERR): Likewise.
1113 [POSIX || XPG3] (BUS_OBJERR): Likewise.
1114 [POSIX || XPG3] (CLD_EXITED): Likewise.
1115 [POSIX || XPG3] (CLD_KILLED): Likewise.
1116 [POSIX || XPG3] (CLD_DUMPED): Likewise.
1117 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
1118 [POSIX || XPG3] (CLD_STOPPED): Likewise.
1119 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
1120 [POSIX || XPG3] (POLL_IN): Likewise.
1121 [POSIX || XPG3] (POLL_OUT): Likewise.
1122 [POSIX || XPG3] (POLL_MSG): Likewise.
1123 [POSIX || XPG3] (POLL_ERR): Likewise.
1124 [POSIX || XPG3] (POLL_PRI): Likewise.
1125 [POSIX || XPG3] (POLL_HUP): Likewise.
1126 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
1127 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
1128 (SIG*): Do not allow.
1129 [XPG3] (si_*): Likewise.
1130 [XPG3] (SI_*): Likewise.
1131 [XPG3 || XPG4] (sigev_*): Likewise.
1132 [XPG3 || XPG4] (SIGEV_*): Likewise.
1133 [XPG3 || XPG4] (sival_*): Likewise.
1134 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
1135 [POSIX || XPG3] (BUS_*): Likewise.
1136 [POSIX || XPG3] (CLD_*): Likewise.
1137 [POSIX || XPG3] (FPE_*): Likewise.
1138 [POSIX || XPG3] (ILL_*): Likewise.
1139 [POSIX || XPG3] (POLL_*): Likewise.
1140 [POSIX || XPG3] (SEGV_*): Likewise.
1141 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
1142 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
1143 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
1144 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
1145 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
1146 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
1147 Specify type and value.
1148 (TVERSLEN): Likewise.
1149 (REGTYPE): Likewise.
1150 (AREGTYPE): Likewise.
1151 (LNKTYPE): Likewise.
1152 (SYMTYPE): Likewise.
1153 (CHRTYPE): Likewise.
1154 (BLKTYPE): Likewise.
1155 (DIRTYPE): Likewise.
1156 (FIFOTYPE): Likewise.
1157 (CONTTYPE): Likewise.
1158 (TSUID): Likewise.
1159 (TSGID): Likewise.
1160 (TSVTX): Likewise.
1161 (TUREAD): Likewise.
1162 (TUWRITE): Likewise.
1163 (TUEXEC): Likewise.
1164 (TGREAD): Likewise.
1165 (TGWRITE): Likewise.
1166 (TGEXEC): Likewise.
1167 (TOREAD): Likewise.
1168 (TOWRITE): Likewise.
1169 (TOEXEC): Likewise.
1170 [POSIX] (TSVTX): Expect constant.
1171
aa97dee1
JM
11722014-03-06 Joseph Myers <joseph@codesourcery.com>
1173
f214606a
JM
1174 * Makefile (tests): Change dependencies to ....
1175 (tests-special): ... additions to this variable.
1176 (tests): Depend on $(tests-special).
1177 * Makerules (check-abi-list): New variable.
1178 (check-abi): Depend on $(check-abi-list).
1179 [$(subdir) = elf] (tests-special): Add
1180 $(objpfx)check-abi-libc.out.
1181 [$(build-shared) = yes && subdir] (tests-special): Add
1182 $(check-abi-list).
1183 [$(build-shared) = yes && subdir] (tests): Do not depend on
1184 check-abi.
1185 * Rules (tests): Depend on $(tests-special).
1186 (xtests): Depend on $(xtests-special).
1187 * catgets/Makefile (tests): Change dependencies to ....
1188 (tests-special): ... additions to this variable.
1189 * conform/Makefile (tests): Change dependencies to ....
1190 (tests-special): ... additions to this variable.
1191 * elf/Makefile (tests): Change dependencies to ....
1192 (tests-special): ... additions to this variable.
1193 * grp/Makefile (tests): Change dependencies to ....
1194 (tests-special): ... additions to this variable.
1195 * iconv/Makefile (xtests): Change dependencies to ....
1196 (xtests-special): ... additions to this variable.
1197 * iconvdata/Makefile (tests): Change dependencies to ....
1198 (tests-special): ... additions to this variable.
1199 * intl/Makefile (tests): Change dependencies to ....
1200 (tests-special): ... additions to this variable. Also add
1201 $(objpfx)tst-gettext.out.
1202 * io/Makefile (tests): Change dependencies to ....
1203 (tests-special): ... additions to this variable.
1204 * libio/Makefile (tests): Change dependencies to ....
1205 (tests-special): ... additions to this variable.
1206 * malloc/Makefile (tests): Change dependencies to ....
1207 (tests-special): ... additions to this variable.
1208 * misc/Makefile (tests): Change dependencies to ....
1209 (tests-special): ... additions to this variable.
1210 * nptl/Makefile (tests): Change dependencies to ....
1211 (tests-special): ... additions to this variable.
1212 * nptl_db/Makefile (tests): Change dependencies to ....
1213 (tests-special): ... additions to this variable.
1214 * posix/Makefile (tests): Change dependencies to ....
1215 (tests-special): ... additions to this variable.
1216 (xtests): Change dependencies to ....
1217 (xtests-special): ... additions to this variable.
1218 * resolv/Makefile (tests): Change dependencies to ....
1219 (tests-special): ... additions to this variable.
1220 (xtests): Change dependencies to ....
1221 (xtests-special): ... additions to this variable.
1222 * stdio-common/Makefile (tests): Change dependencies to ....
1223 (tests-special): ... additions to this variable.
1224 (do-tst-unbputc): Remove target.
1225 (do-tst-printf): Likewise.
1226 * stdlib/Makefile (tests): Change dependencies to ....
1227 (tests-special): ... additions to this variable.
1228 * string/Makefile (tests): Change dependencies to ....
1229 (tests-special): ... additions to this variable.
1230 * sysdeps/x86/Makefile (tests): Change dependencies to ....
1231 (tests-special): ... additions to this variable.
1232
81700b53
JM
1233 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
1234 whole file.
1235 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
1236 whole file.
1237 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
1238 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
1239
2ea18461
JM
1240 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
1241 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
1242 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
1243 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
1244 * conform/data/libgen.h-data [XPG3]: Likewise.
1245 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
1246 * conform/data/ndbm.h-data [XPG3]: Likewise.
1247 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
1248 * conform/data/netdb.h-data [XPG3]: Likewise.
1249 * conform/data/netinet/in.h-data [XPG3]: Likewise.
1250 * conform/data/poll.h-data [XPG3]: Likewise.
1251 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
1252 * conform/data/strings.h-data [XPG3]: Likewise.
1253 * conform/data/stropts.h-data [XPG3]: Likewise.
1254 * conform/data/sys/mman.h-data [XPG3]: Likewise.
1255 * conform/data/sys/resource.h-data [XPG3]: Likewise.
1256 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
1257 Likewise.
1258 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
1259 * conform/data/sys/time.h-data [XPG3]: Likewise.
1260 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
1261 * conform/data/sys/uio.h-data [XPG3]: Likewise.
1262 * conform/data/sys/un.h-data [XPG3]: Likewise.
1263 * conform/data/syslog.h-data [XPG3]: Likewise.
1264 * conform/data/ucontext.h-data [XPG3]: Likewise.
1265 * conform/data/utmpx.h-data [XPG3]: Likewise.
1266 * conform/data/varargs.h-data [UNIX98]: Enable file.
1267
355bc986
JM
1268 * manual/Makefile (INSTALL_INFO): Remove variable setting.
1269
215db402
JM
1270 * math/libm-test.inc (struct test_f_f_data): Move expected results
1271 into structure for each rounding mode.
1272 (struct test_ff_f_data): Likewise.
1273 (struct test_ff_f_data_nexttoward): Likewise.
1274 (struct test_fi_f_data): Likewise.
1275 (struct test_fl_f_data): Likewise.
1276 (struct test_if_f_data): Likewise.
1277 (struct test_fff_f_data): Likewise.
1278 (struct test_c_f_data): Likewise.
1279 (struct test_f_f1_data): Likewise.
1280 (struct test_fF_f1_data): Likewise.
1281 (struct test_ffI_f1_data): Likewise.
1282 (struct test_c_c_data): Likewise.
1283 (struct test_cc_c_data): Likewise.
1284 (struct test_f_i_data): Likewise.
1285 (struct test_ff_i_data): Likewise.
1286 (struct test_f_l_data): Likewise.
1287 (struct test_f_L_data): Likewise.
1288 (struct test_fFF_11_data): Likewise.
1289 (RM_): New macro.
1290 (RM_FE_DOWNWARD): Likewise.
1291 (RM_FE_TONEAREST): Likewise.
1292 (RM_FE_TOWARDZERO): Likewise.
1293 (RM_FE_UPWARD): Likewise.
1294 (RUN_TEST_LOOP_f_f): Update references to expected results.
1295 (RUN_TEST_LOOP_2_f): Likewise.
1296 (RUN_TEST_LOOP_fff_f): Likewise.
1297 (RUN_TEST_LOOP_c_f): Likewise.
1298 (RUN_TEST_LOOP_f_f1): Likewise.
1299 (RUN_TEST_LOOP_fF_f1): Likewise.
1300 (RUN_TEST_LOOP_fI_f1): Likewise.
1301 (RUN_TEST_LOOP_ffI_f1): Likewise.
1302 (RUN_TEST_LOOP_c_c): Likewise.
1303 (RUN_TEST_LOOP_cc_c): Likewise.
1304 (RUN_TEST_LOOP_f_i): Likewise.
1305 (RUN_TEST_LOOP_f_i_tg): Likewise.
1306 (RUN_TEST_LOOP_ff_i_tg): Likewise.
1307 (RUN_TEST_LOOP_f_b): Likewise.
1308 (RUN_TEST_LOOP_f_b_tg): Likewise.
1309 (RUN_TEST_LOOP_f_l): Likewise.
1310 (RUN_TEST_LOOP_f_L): Likewise.
1311 (RUN_TEST_LOOP_fFF_11): Likewise.
1312 * math/gen-libm-test.pl (parse_args): Output four copies of
1313 expected results for each test.
1314
67737b8f
JM
1315 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
1316 (__ASSUME_UTIMES): Remove.
1317 * sysdeps/unix/sysv/linux/tile/kernel-features.h
1318 (__ASSUME_UTIMES): Likewise.
1319
aa97dee1
JM
1320 * math/gen-auto-libm-tests.c: Update comment on output format.
1321 (output_for_one_input_case): Generate before-rounding and
1322 after-rounding information as conditions on output flags not
1323 floating-point format.
1324 * math/auto-libm-test-out: Regenerated.
1325 * math/gen-libm-test.pl (cond_value): New function.
1326 (or_cond_value): Use cond_value.
1327 (generate_testfile): Handle conditional exceptions.
1328
e6b6a857
JM
13292014-03-05 Joseph Myers <joseph@codesourcery.com>
1330
2f0a0f44
JM
1331 * math/libm-test.inc (max_valid_error): New variable.
1332 (init_max_error): Take new argument specifying whether function
1333 results are exactly determined. Set max_valid_error and bound
1334 other variables for errors based on this argument.
1335 (set_max_error): Do not record results above max_valid_error.
1336 (check_float_internal): Only accept errors of up to 0.5ulps if
1337 also at most max_valid_error.
1338 (START): Take new argument EXACT and pass it to init_max_error.
1339 (acos_test): Update call to START.
1340 (acos_test_tonearest): Likewise.
1341 (acos_test_towardzero): Likewise.
1342 (acos_test_downward): Likewise.
1343 (acos_test_upward): Likewise.
1344 (acosh_test): Likewise.
1345 (asin_test): Likewise.
1346 (asin_test_tonearest): Likewise.
1347 (asin_test_towardzero): Likewise.
1348 (asin_test_downward): Likewise.
1349 (asin_test_upward): Likewise.
1350 (asinh_test): Likewise.
1351 (atan_test): Likewise.
1352 (atanh_test): Likewise.
1353 (atan2_test): Likewise.
1354 (cabs_test): Likewise.
1355 (cacos_test): Likewise.
1356 (cacosh_test): Likewise.
1357 (carg_test): Likewise.
1358 (casin_test): Likewise.
1359 (casinh_test): Likewise.
1360 (catan_test): Likewise.
1361 (catanh_test): Likewise.
1362 (cbrt_test): Likewise.
1363 (ccos_test): Likewise.
1364 (ccosh_test): Likewise.
1365 (ceil_test): Likewise.
1366 (cexp_test): Likewise.
1367 (cimag_test): Likewise.
1368 (clog_test): Likewise.
1369 (clog10_test): Likewise.
1370 (conj_test): Likewise.
1371 (copysign_test): Likewise.
1372 (cos_test): Likewise.
1373 (cos_test_tonearest): Likewise.
1374 (cos_test_towardzero): Likewise.
1375 (cos_test_downward): Likewise.
1376 (cos_test_upward): Likewise.
1377 (cosh_test): Likewise.
1378 (cosh_test_tonearest): Likewise.
1379 (cosh_test_towardzero): Likewise.
1380 (cosh_test_downward): Likewise.
1381 (cosh_test_upward): Likewise.
1382 (cpow_test): Likewise.
1383 (cproj_test): Likewise.
1384 (creal_test): Likewise.
1385 (csin_test): Likewise.
1386 (csinh_test): Likewise.
1387 (csqrt_test): Likewise.
1388 (ctan_test): Likewise.
1389 (ctan_test_tonearest): Likewise.
1390 (ctan_test_towardzero): Likewise.
1391 (ctan_test_downward): Likewise.
1392 (ctan_test_upward): Likewise.
1393 (ctanh_test): Likewise.
1394 (ctanh_test_tonearest): Likewise.
1395 (ctanh_test_towardzero): Likewise.
1396 (ctanh_test_downward): Likewise.
1397 (ctanh_test_upward): Likewise.
1398 (erf_test): Likewise.
1399 (erfc_test): Likewise.
1400 (exp_test): Likewise.
1401 (exp_test_tonearest): Likewise.
1402 (exp_test_towardzero): Likewise.
1403 (exp_test_downward): Likewise.
1404 (exp_test_upward): Likewise.
1405 (exp10_test): Likewise.
1406 (exp10_test_tonearest): Likewise.
1407 (exp10_test_towardzero): Likewise.
1408 (exp10_test_downward): Likewise.
1409 (exp10_test_upward): Likewise.
1410 (pow10_test): Likewise.
1411 (exp2_test): Likewise.
1412 (expm1_test): Likewise.
1413 (expm1_test_tonearest): Likewise.
1414 (expm1_test_towardzero): Likewise.
1415 (expm1_test_downward): Likewise.
1416 (expm1_test_upward): Likewise.
1417 (fabs_test): Likewise.
1418 (fdim_test): Likewise.
1419 (floor_test): Likewise.
1420 (fma_test): Likewise.
1421 (fma_test_towardzero): Likewise.
1422 (fma_test_downward): Likewise.
1423 (fma_test_upward): Likewise.
1424 (fmax_test): Likewise.
1425 (fmin_test): Likewise.
1426 (fmod_test): Likewise.
1427 (fpclassify_test): Likewise.
1428 (frexp_test): Likewise.
1429 (hypot_test): Likewise.
1430 (ilogb_test): Likewise.
1431 (isfinite_test): Likewise.
1432 (finite_test): Likewise.
1433 (isgreater_test): Likewise.
1434 (isgreaterequal_test): Likewise.
1435 (isinf_test): Likewise.
1436 (isless_test): Likewise.
1437 (islessequal_test): Likewise.
1438 (islessgreater_test): Likewise.
1439 (isnan_test): Likewise.
1440 (isnormal_test): Likewise.
1441 (issignaling_test): Likewise.
1442 (isunordered_test): Likewise.
1443 (j0_test): Likewise.
1444 (j1_test): Likewise.
1445 (jn_test): Likewise.
1446 (ldexp_test): Likewise.
1447 (lgamma_test): Likewise.
1448 (gamma_test): Likewise.
1449 (lrint_test): Likewise.
1450 (lrint_test_tonearest): Likewise.
1451 (lrint_test_towardzero): Likewise.
1452 (lrint_test_downward): Likewise.
1453 (lrint_test_upward): Likewise.
1454 (llrint_test): Likewise.
1455 (llrint_test_tonearest): Likewise.
1456 (llrint_test_towardzero): Likewise.
1457 (llrint_test_downward): Likewise.
1458 (llrint_test_upward): Likewise.
1459 (log_test): Likewise.
1460 (log10_test): Likewise.
1461 (log1p_test): Likewise.
1462 (log2_test): Likewise.
1463 (logb_test): Likewise.
1464 (logb_test_downward): Likewise.
1465 (lround_test): Likewise.
1466 (llround_test): Likewise.
1467 (modf_test): Likewise.
1468 (nearbyint_test): Likewise.
1469 (nextafter_test): Likewise.
1470 (nexttoward_test): Likewise.
1471 (pow_test): Likewise.
1472 (pow_test_tonearest): Likewise.
1473 (pow_test_towardzero): Likewise.
1474 (pow_test_downward): Likewise.
1475 (pow_test_upward): Likewise.
1476 (remainder_test): Likewise.
1477 (drem_test): Likewise.
1478 (remainder_test_tonearest): Likewise.
1479 (drem_test_tonearest): Likewise.
1480 (remainder_test_towardzero): Likewise.
1481 (drem_test_towardzero): Likewise.
1482 (remainder_test_downward): Likewise.
1483 (drem_test_downward): Likewise.
1484 (remainder_test_upward): Likewise.
1485 (drem_test_upward): Likewise.
1486 (remquo_test): Likewise.
1487 (rint_test): Likewise.
1488 (rint_test_tonearest): Likewise.
1489 (rint_test_towardzero): Likewise.
1490 (rint_test_downward): Likewise.
1491 (rint_test_upward): Likewise.
1492 (round_test): Likewise.
1493 (scalb_test): Likewise.
1494 (scalbn_test): Likewise.
1495 (scalbln_test): Likewise.
1496 (signbit_test): Likewise.
1497 (sin_test): Likewise.
1498 (sin_test_tonearest): Likewise.
1499 (sin_test_towardzero): Likewise.
1500 (sin_test_downward): Likewise.
1501 (sin_test_upward): Likewise.
1502 (sincos_test): Likewise.
1503 (sinh_test): Likewise.
1504 (sinh_test_tonearest): Likewise.
1505 (sinh_test_towardzero): Likewise.
1506 (sinh_test_downward): Likewise.
1507 (sinh_test_upward): Likewise.
1508 (sqrt_test): Likewise.
1509 (sqrt_test_tonearest): Likewise.
1510 (sqrt_test_towardzero): Likewise.
1511 (sqrt_test_downward): Likewise.
1512 (sqrt_test_upward): Likewise.
1513 (tan_test): Likewise.
1514 (tan_test_tonearest): Likewise.
1515 (tan_test_towardzero): Likewise.
1516 (tan_test_downward): Likewise.
1517 (tan_test_upward): Likewise.
1518 (tanh_test): Likewise.
1519 (tgamma_test): Likewise.
1520 (trunc_test): Likewise.
1521 (y0_test): Likewise.
1522 (y1_test): Likewise.
1523 (yn_test): Likewise.
1524 (significand_test): Likewise.
1525
e6b6a857
JM
1526 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
1527 individual tests in comment.
1528 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
1529 (prev_max_error): New variable.
1530 (prev_real_max_error): Likewise.
1531 (prev_imag_max_error): Likewise.
1532 (compare_ulp_data): Don't refer to test names in comment.
1533 (find_test_ulps): Remove function.
1534 (find_function_ulps): Likewise.
1535 (find_complex_function_ulps): Likewise.
1536 (init_max_error): Take function name as argument. Look up ulps
1537 for that function.
1538 (print_ulps): Remove function.
1539 (print_max_error): Use prev_max_error instead of calling
1540 find_function_ulps.
1541 (print_complex_max_error): Use prev_real_max_error and
1542 prev_imag_max_error instead of calling find_complex_function_ulps.
1543 (check_float_internal): Take max_ulp parameter instead of calling
1544 find_test_ulps. Don't call print_ulps.
1545 (check_float): Update call to check_float_internal.
1546 (check_complex): Update calls to check_float_internal.
1547 (START): Pass argument to init_max_error.
1548 * math/gen-libm-test.pl (%results): Don't include "kind"
1549 information.
1550 (parse_ulps): Don't handle ulps of individual tests.
1551 (print_ulps_file): Likewise.
1552 (output_ulps): Likewise.
1553 * math/README.libm-test: Update.
1554 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
1555 individual tests.
1556 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
1557 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
1558 * sysdeps/arm/libm-test-ulps: Likewise.
1559 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
1560 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
1561 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
1562 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
1563 * sysdeps/microblaze/libm-test-ulps: Likewise.
1564 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
1565 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1566 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1567 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
1568 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1569 * sysdeps/sh/libm-test-ulps: Likewise.
1570 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
1571 * sysdeps/tile/libm-test-ulps: Likewise.
1572 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1573
45adef3c
JM
15742014-03-04 Joseph Myers <joseph@codesourcery.com>
1575
1576 * math/libm-test.inc (print_complex_max_error): Check separately
1577 whether real and imaginary errors are within allowed range and
1578 pass 0 to print_complex_function_ulps instead of value within
1579 allowed range.
1580
000232b9
SP
15812014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1582
d4b17258
SP
1583 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
1584 formatting.
1585 (get_handles_fopen): Likewise.
1586 (do_write_test): Likewise.
1587
091eff71
SP
1588 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
1589
fa3cd248
SP
1590 * libio/fileops.c (do_ftell): Use cached offset when
1591 available.
1592 * libio/iofwide.c (do_ftell_wide): Likewise.
1593 * libio/iofdopen.c (_IO_new_fdopen): Don't use
1594 _IO_file_attach.
1595 * libio/wfileops.c (_IO_fwide): Don't cache offset.
1596
000232b9
SP
1597 [BZ #16532]
1598 * libio/libioP.h (get_file_offset): New function.
1599 * libio/fileops.c (get_file_offset): Likewise.
1600 (do_ftell): Likewise.
1601 (_IO_new_file_seekoff): Split out ftell logic.
1602 * libio/wfileops.c (do_ftell_wide): Likewise.
1603 (_IO_wfile_seekoff): Split out ftell logic.
1604 * libio/tst-ftell-active-handler.c: New test case.
1605 * libio/Makefile (tests): Add it.
1606
116f4d1a
RM
16072014-03-03 Roland McGrath <roland@hack.frob.com>
1608
1609 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
1610 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
1611
532a6035
SP
16122014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
1613
1614 [BZ #16639]
1615 * nscd/connections.c (nscd_init): Call do_exit.
1616 (start_threads): Call do_exit and notify_parent.
1617 (begin_drop_privileges): Call do_exit.
1618 (finish_drop_privileges): Likewise.
1619 * nscd/selinux.c (preserve_capabilities): Likewise.
1620 (install_real_capabilities): Likewise.
1621 (nscd_selinux_enabled): Likewise.
1622 (avc_create_thread): Likewise.
1623 (avc_alloc_lock): Likewise.
1624 (nscd_avc_init): Likewise.
1625 * nscd/nscd.c (parent_fd): New static variable.
1626 (main): Create a pipe between parent and child processes.
1627 Skip closing parent_fd.
1628 (monitor_child): New function.
1629 (do_exit): Likewise.
1630 (notify_parent): Likewise.
1631 * nscd/nscd.h (notify_parent): Likewise.
1632 (do_exit): Likewise.
1633
d6285c9f
CD
16342014-03-03 Carlos O'Donell <carlos@redhat.com>
1635
1636 * malloc/malloc.c (__libc_calloc): Revert last change.
1637
2b85d2a0
AZ
16382014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1639
1640 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1641
c7debbdf
RS
16422014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1643
1644 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
1645 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
1646 implementation.
1647 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1648 (__libc_ifunc_impl_list): Likewise.
1649 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
1650 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
1651 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
1652 * string/strrchr.c: Define STRRCHR.
1653
235eed86
OB
16542014-02-28 Ondřej Bílka <neleai@seznam.cz>
1655
1656 * benchtest/bench-strtok.c (simple_strtok): Delete.
1657 (strtok_string): Use as benchmark.
1658 * string/strtok (STRTOK): New macro.
1659
8e25d1e7
CD
16602014-02-28 Carlos O'Donell <carlos@redhat.com>
1661
ef563f92
CD
1662 * manual/threads.texi: Add header and standard comments to all
1663 functions.
1664
8e25d1e7
CD
1665 * elf/dl-lookup.c (check_match): New function.
1666 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
1667 (do_lookup_x): Remove nested function check_match. Use non-nested
1668 function check_match.
1669
ff71cc37
RM
16702014-02-28 Roland McGrath <roland@hack.frob.com>
1671
f08e9a26
RM
1672 * csu/Makefile (generated, before-compile): Use += rather than =.
1673 * catgets/Makefile (generated, generated-dirs): Likewise.
1674 * debug/Makefile (generated): Likewise.
1675 * dlfcn/Makefile (generated): Likewise.
1676 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
1677 * iconvdata/Makefile (before-compile, generated): Likewise.
1678 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
1679 * libio/Makefile (generated): Likewise.
1680 * malloc/Makefile (generated): Likewise.
1681 * manual/Makefile (generated, generated-dirs): Likewise.
1682 * misc/Makefile (generated): Likewise.
1683 * posix/Makefile (generated): Likewise.
1684 * resolv/Makefile (generated): Likewise.
1685 * sunrpc/Makefile (generated, generated-dirs): Likewise.
1686 * timezone/Makefile (generated, generated-dirs): Likewise.
1687
ff71cc37
RM
1688 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
1689
fe13a20c
AZ
16902014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1691
1692 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround power8
1693 implementation.
1694 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New file:
1695 POWER8 llround ifunc implementation.
1696 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c (__lllround): Add
1697 POWER8 implementation.
1698 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
1699 POWER8 llround implementation.
1700
1ad8950a
AZ
17012014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1702
1703 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint power8
1704 implementation.
1705 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New file:
1706 POWER8 llrint ifunc implementation.
1707 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint): Add
1708 POWER8 implementation.
1709 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
1710 POWER8 llrint implementation.
1711
cac626d6
AZ
17122014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1713
1714 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite power8
1715 implementation.
1716 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New file:
1717 POWER8 finite ifunc implementation.
1718 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite): Add
1719 POWER8 implementation.
1720 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
1721 Likewise.
1722 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
1723 POWER8 finite implementation.
1724 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
1725
4393fc11
AZ
17262014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1727
1728 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf power8
1729 implementation.
1730 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New file:
1731 POWER8 isinf ifunc implementation.
1732 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
1733 POWER8 implementation.
1734 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
1735 Likewise.
1736 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file:
1737 POWER8 isinf implementation.
1738 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
1739
487972ae
AZ
17402014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1741
1742 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h (INIT_ARCH):
1743 Add hwcap2 initialization.
1744 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan power8
1745 implementation.
1746 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New file:
1747 POWER8 isnan ifunc implementation.
1748 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
1749 POWER8 implementation.
1750 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
1751 Likewise.
1752 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file:
1753 POWER8 isnan implementation.
1754 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
1755
7d92b787
JY
17562014-02-27 Joey Ye <joey.ye@arm.com>
1757
1758 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
1759 (_FP_NANFRAC_Q): Set to zero.
1760
1cadc858
SP
17612014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1762
1763 [BZ #16623]
1764 * math/auto-libm-test-in: New test inputs.
1765 * math/auto-libm-test-out: Regenerate.
1766 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
1767 and DA.
1768 (__cos): Likewise.
1769 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
1770
f8c17e79
JM
17712014-02-27 Joseph Myers <joseph@codesourcery.com>
1772
1773 * scripts/evaluate-test.sh: Take new argument indicating whether
1774 failure is expected.
1775 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
1776 indicating whether failure is expected.
1777 * conform/Makefile (test-xfail-run-conformtest): New variable.
1778 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
1779 level.
1780 * posix/Makefile (test-xfail-annexc): New variable.
1781 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
1782
a5f891ac
JM
17832014-02-26 Joseph Myers <joseph@codesourcery.com>
1784
1785 * argp/Makefile: Include Makeconfig immediately after defining
1786 subdir.
1787 * assert/Makefile: Likewise.
1788 * benchtests/Makefile: Likewise.
1789 * catgets/Makefile: Likewise.
1790 * conform/Makefile: Likewise.
1791 * crypt/Makefile: Likewise.
1792 * csu/Makefile: Likewise.
1793 (all): Remove target.
1794 * ctype/Makefile: Include Makeconfig immediately after defining
1795 subdir.
1796 * debug/Makefile: Likewise.
1797 * dirent/Makefile: Likewise.
1798 * dlfcn/Makefile: Likewise.
1799 * gmon/Makefile: Likewise.
1800 * gnulib/Makefile: Likewise.
1801 * grp/Makefile: Likewise.
1802 * gshadow/Makefile: Likewise.
1803 * hesiod/Makefile: Likewise.
1804 * hurd/Makefile: Likewise.
1805 (all): Remove target.
1806 * iconvdata/Makefile: Include Makeconfig immediately after
1807 defining subdir.
1808 * inet/Makefile: Likewise.
1809 * intl/Makefile: Likewise.
1810 * io/Makefile: Likewise.
1811 * libio/Makefile: Likewise.
1812 (all): Remove target.
1813 * locale/Makefile: Include Makeconfig immediately after defining
1814 subdir.
1815 * login/Makefile: Likewise.
1816 * mach/Makefile: Likewise.
1817 (all): Remove target.
1818 * malloc/Makefile: Include Makeconfig immediately after defining
1819 subdir.
1820 (all): Remove target.
1821 * manual/Makefile: Include Makeconfig immediately after defining
1822 subdir.
1823 * math/Makefile: Likewise.
1824 * misc/Makefile: Likewise.
1825 * nis/Makefile: Likewise.
1826 * nss/Makefile: Likewise.
1827 * po/Makefile: Likewise.
1828 (all): Remove target.
1829 * posix/Makefile: Include Makeconfig immediately after defining
1830 subdir.
1831 * pwd/Makefile: Likewise.
1832 * resolv/Makefile: Likewise.
1833 * resource/Makefile: Likewise.
1834 * rt/Makefile: Likewise.
1835 * setjmp/Makefile: Likewise.
1836 * shadow/Makefile: Likewise.
1837 * signal/Makefile: Likewise.
1838 * socket/Makefile: Likewise.
1839 * soft-fp/Makefile: Likewise.
1840 * stdio-common/Makefile: Likewise.
1841 * stdlib/Makefile: Likewise.
1842 * streams/Makefile: Likewise.
1843 * string/Makefile: Likewise.
1844 * sunrpc/Makefile: Likewise.
1845 (all): Remove target.
1846 * sysvipc/Makefile: Include Makeconfig immediately after defining
1847 subdir.
1848 * termios/Makefile: Likewise.
1849 * time/Makefile: Likewise.
1850 * timezone/Makefile: Likewise.
1851 (all): Remove target.
1852 * wcsmbs/Makefile: Include Makeconfig immediately after defining
1853 subdir.
1854 * wctype/Makefile: Likewise.
1855
5b456e9d
SE
18562014-02-26 Steve Ellcey <sellcey@mips.com>
1857
1858 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
1859 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
1860 (libc_feholdexcept_setround_mips): Ditto.
1861 (libc_feholdsetround): New.
1862 (libc_feholdsetroundf): New.
1863 (libc_feholdsetroundl): New.
1864 (libc_feupdateenv_test_mips): New.
1865 (libc_feupdateenv_test): New.
1866 (libc_feupdateenv_testf): New.
1867 (libc_feupdateenv_testl): New.
1868 (libc_feresetround): New.
1869 (libc_feresetroundf): New.
1870 (libc_feresetroundl): New.
1871 (libc_fetestexcept_mips): New.
1872 (libc_fetestexcept): New.
1873 (libc_fetestexceptf): New.
1874 (libc_fetestexceptl): New.
1875 (HAVE_RM_CTX): New.
1876 (libc_feholdexcept_setround_mips_ctx): New.
1877 (libc_feholdexcept_setround_ctx): New.
1878 (libc_feholdexcept_setroundf_ctx): New.
1879 (libc_feholdexcept_setroundl_ctx): New.
1880 (libc_fesetenv_mips_ctx): New.
1881 (libc_fesetenv_ctx): New.
1882 (libc_fesetenv_ctxf): New.
1883 (libc_fesetenv_ctxl): New.
1884 (libc_feupdateenv_mips_ctx): New.
1885 (libc_feupdateenv_ctx): New.
1886 (libc_feupdateenvf_ctx): New.
1887 (libc_feupdateenvl_ctx): New.
1888 (libc_feholdsetround_mips_ctx): New.
1889 (libc_feholdsetround_ctx): New.
1890 (libc_feholdsetroundf_ctx): New.
1891 (libc_feholdsetroundl_ctx): New.
1892 (libc_feresetround_mips_ctx): New.
1893 (libc_feresetround_ctx): New.
1894 (libc_feresetroundf_ctx): New.
1895 (libc_feresetroundl_ctx): New.
1896
085d0e35
CD
18972014-02-26 Carlos O'Donell <carlos@redhat.com>
1898
f067bf1f
CD
1899 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
1900
085d0e35
CD
1901 * manual/ipc.texi: New file.
1902 * manual/Makefile (chapters): Add ipc.
1903 * manual/job.texi: Add "Inter-Process Communication" to next.
1904 * manual/process.texi: Add "Inter-Process Communication" to prev.
1905
86e58c08
AZ
19062014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1907
1908 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1909
4248f0da
OB
19102014-02-26 Ondřej Bílka <neleai@seznam.cz>
1911
1912 * malloc/malloc.c (__libc_calloc): Simplify implementation.
1913
cf822e3c
OB
1914 * manual/arith.texi: Fix spaces after sentences.
1915 * manual/charset.texi: Likewise.
1916 * manual/errno.texi: Likewise.
1917 * manual/install.texi: Likewise.
1918 * manual/llio.texi: Likewise.
1919 * manual/locale.texi: Likewise.
1920 * manual/maint.texi: Likewise.
1921 * manual/math.texi: Likewise.
1922 * manual/memory.texi: Likewise.
1923 * manual/message.texi: Likewise.
1924 * manual/probes.texi: Likewise.
1925 * manual/resource.texi: Likewise.
1926 * manual/signal.texi: Likewise.
1927 * manual/socket.texi: Likewise.
1928 * manual/stdio.texi: Likewise.
1929 * manual/string.texi: Likewise.
1930 * manual/time.texi: Likewise.
1931 * manual/users.texi: Likewise.
1932
ade40b10
CD
19332014-02-25 Carlos O'Donell <carlos@redhat.com>
1934
1935 [BZ #16632]
1936 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
1937 _DEFAULT_SOURCE is defined.
1938
d0503676
CD
19392014-02-25 Ulrich Drepper <drepper@gmail.com>
1940 Carlos O'Donell <carlos@redhat.com>
1941
1942 [BZ #16613]
1943 * elf/dl-tls.c (_dl_count_modids): New function.
1944 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
1945 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
1946 audit library and increment generation counter.
1947 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
1948 * elf/tst-audit9.c: New file.
1949 * elf/tst-auditmod9a.c: New file.
1950 * elf/tst-auditmod9b.c: New file.
1951 * elf/Makefile: Add rules to build and run tst-audit9.
1952
4cbf380c
FW
19532014-02-25 Florian Weimer <fweimer@redhat.com>
1954
1955 [BZ #15347]
1956 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
1957
80a56cc3
WN
19582014-02-25 Will Newton <will.newton@linaro.org>
1959
1960 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
1961 (__longjmp): Restore sp and lr before restoring callee
1962 saved registers. Add longjmp and longjmp_target
1963 SystemTap probe point.
1964 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
1965 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
1966 Define to zero to match jmpbuf layout.
1967 * sysdeps/arm/setjmp.S: Include stap-probe.h.
1968 (__sigsetjmp): Save sp and lr before saving callee
1969 saved registers. Add setjmp SystemTap probe point.
1970
3ea0f74e
SL
19712014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
1972
1973 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1974
b04acb26
AS
19752014-02-24 Andreas Schwab <schwab@suse.de>
1976
1977 [BZ #15804]
1978 * elf/pldd.c (wait_for_ptrace_stop): New function.
1979 (main): Call it after attaching.
1980
098ad55c
RM
19812014-02-22 Roland McGrath <roland@hack.frob.com>
1982
d4ec6ae1
RM
1983 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
1984 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
1985 Versions files is now verboten.
1986 * hurd/Versions (libc: GLIBC_2.0):
1987 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
1988 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
1989 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
1990 * mach/Versions: Likewise.
1991
098ad55c
RM
1992 * csu/Versions: Remove unused %include.
1993 * resolv/Versions: Likewise.
1994
acd7f096
JM
19952014-02-21 Joseph Myers <joseph@codesourcery.com>
1996
f0881698
JM
1997 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
1998 ($(objpfx)check-local-headers.out): Likewise.
1999 ($(objpfx)begin-end-check.out): Likewise.
2000 * Makerules (check-abi-%.out): Likewise.
2001 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
2002 ($(objpfx)test2.cat): Likewise.
2003 ($(objpfx)de/libc.cat): Likewise.
2004 ($(objpfx)test-gencat.out): Likewise.
2005 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
2006 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
2007 ($(objpfx)noload-mem): Likewise.
2008 ($(objpfx)tst-pathopt.out): Likewise.
2009 ($(objpfx)tst-rtld-load-self.out): Likewise.
2010 ($(objpfx)tst-array1-cmp.out): Likewise.
2011 ($(objpfx)tst-array1-static-cmp.out): Likewise.
2012 ($(objpfx)tst-array2-cmp.out): Likewise.
2013 ($(objpfx)tst-array3-cmp.out): Likewise.
2014 ($(objpfx)tst-array4-cmp.out): Likewise.
2015 ($(objpfx)tst-array5-cmp.out): Likewise.
2016 ($(objpfx)tst-array5-static-cmp.out): Likewise.
2017 ($(objpfx)check-textrel.out): Likewise.
2018 ($(objpfx)check-execstack.out): Likewise.
2019 ($(objpfx)check-localplt.out): Likewise.
2020 ($(objpfx)order2-cmp.out): Likewise.
2021 ($(objpfx)tst-leaks1-mem): Likewise.
2022 ($(objpfx)tst-leaks1-static-mem): Likewise.
2023 ($(objpfx)tst-initorder-cmp.out): Likewise.
2024 ($(objpfx)tst-initorder2-cmp.out): Likewise.
2025 ($(objpfx)tst-unused-dep.out): Likewise.
2026 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
2027 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
2028 * iconv/Makefile (test-iconvconfig): Likewise.
2029 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
2030 ($(objpfx)iconv-test.out): Likewise.
2031 ($(objpfx)tst-tables.out): Likewise.
2032 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
2033 ($(objpfx)tst-gettext.out): Likewise.
2034 ($(objpfx)tst-translit.out): Likewise.
2035 ($(objpfx)tst-gettext2.out): Likewise.
2036 ($(objpfx)tst-gettext4.out): Likewise.
2037 ($(objpfx)tst-gettext6.out): Likewise.
2038 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
2039 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
2040 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
2041 ($(objpfx)tst-fopenloc-mem.out): Likewise.
2042 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
2043 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
2044 * posix/Makefile ($(objpfx)globtest.out): Likewise.
2045 ($(objpfx)wordexp-tst.out): Likewise.
2046 ($(objpfx)annexc.out): Likewise.
2047 ($(objpfx)tst-fnmatch-mem): Likewise.
2048 ($(objpfx)bug-regex2-mem): Likewise.
2049 ($(objpfx)bug-regex14-mem): Likewise.
2050 ($(objpfx)bug-regex21-mem): Likewise.
2051 ($(objpfx)bug-regex31-mem): Likewise.
2052 ($(objpfx)tst-vfork3-mem): Likewise.
2053 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
2054 ($(objpfx)tst-pcre-mem): Likewise.
2055 ($(objpfx)tst-boost-mem): Likewise.
2056 ($(objpfx)tst-getconf.out): Likewise.
2057 ($(objpfx)bug-ga2-mem): Likewise.
2058 ($(objpfx)bug-glob2-mem): Likewise.
2059 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
2060 ($(objpfx)mtrace-tst-leaks2): Likewise.
2061 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
2062 ($(objpfx)tst-printf.out): Likewise.
2063 ($(objpfx)tst-setvbuf1.out): Likewise.
2064 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
2065 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
2066 ($(objpfx)tst-fmtmsg.out): Likewise.
2067 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
2068 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
2069
acd7f096
JM
2070 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
2071 * bits/sigaction.h [__USE_MISC]: Likewise.
2072 * bits/waitstatus.h: Update #endif comments.
2073 * ctype/ctype.h: Likewise.
2074 * dirent/dirent.h: Likewise.
2075 [__USE_MISC]: Remove redundant conditionals.
2076 * grp/grp.h: Update #endif comments.
2077 [__USE_GNU]: Remove redundant conditionals.
2078 [__USE_MISC]: Likewise.
2079 * inet/netinet/in.h [__USE_GNU]: Likewise.
2080 * io/sys/stat.h [__USE_MISC]: Likewise.
2081 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
2082 * libio/bits/stdio.h: Update #endif comments.
2083 [__USE_MISC]: Remove redundant conditionals.
2084 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
2085 * libio/stdio.h: Update #endif comments.
2086 [__USE_MISC]: Remove redundant conditionals.
2087 * math/bits/math-finite.h [__USE_MISC]: Likewise.
2088 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
2089 * math/math.h: Update #else and #endif comments.
2090 [__USE_MISC]: Remove redundant conditionals.
2091 * misc/sys/uio.h: Update #endif comments.
2092 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
2093 * posix/glob.h [__USE_MISC]: Likewise.
2094 * posix/sys/types.h: Update #endif comments.
2095 [__USE_MISC]: Remove redundant conditionals.
2096 * posix/sys/wait.h: Update #endif comments.
2097 [__USE_MISC]: Remove redundant conditionals.
2098 * posix/unistd.h: Update #endif comments.
2099 [__USE_MISC]: Remove redundant conditionals.
2100 * pwd/pwd.h [__USE_GNU]: Likewise.
2101 [__USE_MISC]: Likewise.
2102 * resolv/netdb.h [__USE_GNU]: Likewise.
2103 * signal/signal.h: Update #endif comments.
2104 [__USE_MISC]: Remove redundant conditionals.
2105 * stdlib/stdlib.h: Update #else and #endif comments.
2106 [__USE_MISC]: Remove redundant conditionals.
2107 [__USE_GNU]: Likewise.
2108 * string/bits/string2.h [__USE_MISC]: Likewise.
2109 * string/string.h: Update #endif comments.
2110 [__USE_MISC]: Remove redundant conditionals.
2111 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
2112 Likewise.
2113 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
2114 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
2115 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
2116 Likewise.
2117 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
2118 Likewise.
2119 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
2120 comments.
2121 [__USE_MISC]: Remove redundant conditionals.
2122 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
2123 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
2124 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
2125 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
2126 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
2127 Likewise.
2128 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
2129 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
2130 Likewise.
2131 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
2132 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
2133 Likewise.
2134 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
2135 Likewise.
2136 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
2137 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
2138 Likewise.
2139 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
2140 Likewise.
2141 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
2142 * sysdeps/x86/bits/string.h: Update #endif comments.
2143 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
2144 conditionals.
2145 * time/sys/time.h: Update #endif comments.
2146 * time/time.h: Likewise.
2147 [__USE_MISC]: Remove redundant conditionals.
2148
a5d82e4e
YG
21492014-02-21 Yury Gribov <y.gribov@samsung.com>
2150
2151 [BZ #16600]
2152 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
2153
9a80491d
AS
21542014-02-21 Andreas Schwab <schwab@linux-m68k.org>
2155
2156 * Versions.def (librt): Add GLIBC_2.17.
2157
105fa381
AC
21582014-02-21 Adam Conrad <adconrad@0c3.net>
2159
2160 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
2161 synonym for _SYS_AUXV_H to allow direct inclusion.
2162 * sysdeps/sparc/bits/hwcap.h: Likewise.
2163 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
2164 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
2165 * sysdeps/sparc/sysdep.h: Likewise.
2166
b8cd1c4e
SP
21672014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2168
2169 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
2170
bd939d23
RS
21712014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2172
2173 * benchtests/bench-strrchr.c: Print length instead of position.
2174
5d7b57ca
JM
21752014-02-20 Joseph Myers <joseph@codesourcery.com>
2176
bc688c10
JM
2177 [BZ #16611]
2178 * sysdeps/unix/sysv/linux/kernel-features.h
2179 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
2180 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
2181 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
2182 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
2183 Likewise.
2184 [__i386__ || __powerpc__ || __sh__ || __sparc__]
2185 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2186 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
2187 (__ASSUME_SENDMMSG): Define instead of using previous
2188 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
2189 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2190 (__ASSUME_SENDMMSG_SYSCALL): Define.
2191 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2192 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
2193 Likewise.
2194 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2195 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
2196 Likewise.
2197 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2198 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
2199 Likewise.
2200 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
2201 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
2202 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
2203 [__ASSUME_SENDMMSG]: Change conditionals to
2204 [__ASSUME_SENDMMSG_SOCKETCALL].
2205 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2206 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
2207 Define.
2208 * sysdeps/unix/sysv/linux/mips/kernel-features.h
2209 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
2210 Likewise.
2211 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
2212 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
2213 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
2214 [!__ASSUME_SENDMMSG]: Change conditional to
2215 [!__ASSUME_SENDMMSG_SOCKETCALL].
2216 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2217 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
2218 Define.
2219
0e31b18c
JM
2220 [BZ #16610]
2221 * sysdeps/unix/sysv/linux/kernel-features.h
2222 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
2223 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
2224 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
2225 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
2226 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2227 [__i386__ || __sparc__]
2228 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2229 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
2230 (__ASSUME_RECVMMSG): Define instead of using previous
2231 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
2232 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2233 (__ASSUME_RECVMMSG_SYSCALL): Define.
2234 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2235 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2236 Likewise.
2237 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2238 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2239 Likewise.
2240 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2241 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2242 Likewise.
2243 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
2244 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
2245 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
2246 [__ASSUME_RECVMMSG]: Change condition to
2247 [__ASSUME_RECVMMSG_SOCKETCALL].
2248 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2249 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2250 Define.
2251 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2252 * sysdeps/unix/sysv/linux/mips/kernel-features.h
2253 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2254 Likewise.
2255 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
2256 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
2257 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
2258 [!__ASSUME_RECVMMSG]: Change condition to
2259 [!__ASSUME_RECVMMSG_SOCKETCALL].
2260 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2261 (__ASSUME_RECVMMSG_SYSCALL): Define.
2262
dd481ccf
JM
2263 [BZ #16609]
2264 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
2265 __powerpc__ || __s390__ || __sh__ || __sparc__]
2266 (__ASSUME_SOCKETCALL): Define.
2267 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
2268 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
2269 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
2270 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
2271 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2272 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
2273 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
2274 (__ASSUME_ACCEPT4): Define instead of using previous
2275 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
2276 __powerpc__ || __sparc__ || __s390__)] condition.
2277 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2278 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
2279 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
2280 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
2281 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
2282 [!__ASSUME_ACCEPT4]: Change condition to
2283 [!__ASSUME_ACCEPT4_SOCKETCALL].
2284 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2285 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
2286 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
2287 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2288 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
2289 __ASSUME_ACCEPT4_SYSCALL.
2290 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
2291 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
2292 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2293 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
2294 __ASSUME_ACCEPT4_SYSCALL.
2295 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
2296 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
2297 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
2298 [__ASSUME_ACCEPT4]: Change condition to
2299 [__ASSUME_ACCEPT4_SOCKETCALL].
2300 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2301 (__ASSUME_SOCKETCALL): Define.
2302 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
2303 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2304 (__ASSUME_SOCKETCALL): Define.
2305 (__ASSUME_ACCEPT4): Remove.
2306 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
2307 Define.
2308 * sysdeps/unix/sysv/linux/mips/kernel-features.h
2309 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
2310 Likewise.
2311 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2312 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
2313
5d7b57ca
JM
2314 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
2315 macro.
2316 (HWCAP_ARM_LPAE): Likewise.
2317 (HWCAP_ARM_EVTSTRM): Likewise.
2318 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
2319 Add vpfd32, lpae and evtstrm.
2320 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
2321 Increase to 22.
2322
63689d61
JM
23232014-02-19 Joseph Myers <joseph@codesourcery.com>
2324
2325 * math/auto-libm-test-in: Add tests of clog10.
2326 * math/auto-libm-test-out: Regenerated.
2327 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
2328 * sysdeps/i386/fpu/libm-test-ulps: Update.
2329 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2330
ab09bf61
AS
23312014-02-18 Andreas Schwab <schwab@suse.de>
2332
2333 [BZ #16574]
2334 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
2335 Store non-zero if the second buffer was newly allocated.
2336 (send_dg): Likewise.
2337 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
2338 to send_vc and send_dg.
2339 (res_nsend): Pass NULL for ansp2_malloced.
2340 * resolv/res_query.c (__libc_res_nquery): Add parameter
2341 answerp2_malloced and pass it down to __libc_res_nsend.
2342 (res_nquery): Pass additional NULL to __libc_res_nquery.
2343 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
2344 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
2345 second answer buffer if answerp2_malloced was set.
2346 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
2347 (__libc_res_nquerydomain): Add parameter
2348 answerp2_malloced and pass it down to __libc_res_nquery.
2349 (res_nquerydomain): Pass additional NULL to
2350 __libc_res_nquerydomain.
2351 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
2352 additional NULL to __libc_res_nsend and __libc_res_nquery.
2353 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
2354 additional NULL to __libc_res_nsearch.
2355 (_nss_dns_gethostbyname4_r): Revert last change. Use new
2356 parameter of __libc_res_nsearch to check for separately allocated
2357 second buffer.
2358 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
2359 __libc_res_nquery.
2360 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
2361 additional NULL to __libc_res_nquery.
2362 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
2363 __libc_res_nsearch.
2364 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
2365 * include/resolv.h: Update prototypes of __libc_res_nquery,
2366 __libc_res_nsearch, __libc_res_nsend.
2367
a4fb7861
JM
23682014-02-18 Joseph Myers <joseph@codesourcery.com>
2369
c6af2d89
JM
2370 * math/auto-libm-test-in: Add tests of fma.
2371 * math/auto-libm-test-out: Regenerated.
2372 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
2373 (fma_towardzero_test_data): Likewise.
2374 (fma_downward_test_data): Likewise.
2375 (fma_upward_test_data): Likewise.
2376 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
2377 mpc_mode.
2378 (rounding_modes): Add values for new field.
2379 (func_calc_method): Add value mpfr_fff_f.
2380 (func_calc_desc): Add mpfr_fff_f union field.
2381 (test_function): Add field exact_args.
2382 (FUNC): Add macro argument EXACT_ARGS.
2383 (FUNC_mpfr_f_f): Update call to FUNC.
2384 (FUNC_mpfr_f_f): Likewise.
2385 (FUNC_mpfr_ff_f): Likewise.
2386 (FUNC_mpfr_if_f): Likewise.
2387 (FUNC_mpc_c_f): Likewise.
2388 (FUNC_mpc_c_c): Likewise.
2389 (test_functions): Add fma. Update calls to FUNC.
2390 (handle_input_arg): Add argument exact_args.
2391 (add_test): Update call to handle_input_arg.
2392 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
2393 (output_for_one_input_case): Update call to calc_generic_results.
2394 Recalculate exact zero results in each rounding mode.
2395
a4fb7861
JM
2396 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
2397 non-negative before setting low bit.
2398 * math/auto-libm-test-in: Mark one asin test possibly having
2399 spurious underflow.
2400 * math/auto-libm-test-out: Regenerated.
2401 * sysdeps/i386/fpu/libm-test-ulps: Update.
2402 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2403
ef114eaf
DH
24042014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
2405
2b7f4f2c
SP
2406 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
2407 * sysdeps/unix/sysv/linux/microblaze: Move directory from
2408 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
2409 * README: Add missing listing for microblaze*-*-linux-gnu.
2410
c70a4b1d
MF
24112014-02-16 Mike Frysinger <vapier@gentoo.org>
2412
2413 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
2414 * sysdeps/unix/sysv/linux/ia64: Move directory from
2415 ports/sysdeps/unix/sysv/linux/ia64.
2416 * README: Update listing for ia64-*-linux-gnu.
2417
591aeaf7
TD
24182014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
2419 Joseph Myers <joseph@codesourcery.com>
2420
2421 * Makeconfig (test-name): New variable.
2422 (evaluate-test): Likewise.
2423 * Makerules (do-test-clean): Remove .test-result files.
2424 (common-mostlyclean): Likewise.
2425 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
2426 * scripts/evaluate-test.sh: New file.
2427
6e89caf1
JM
24282014-02-14 Joseph Myers <joseph@codesourcery.com>
2429
7f98f180
JM
2430 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
2431 separate $(objpfx)tst-fopenloc-cmp.out and
2432 $(objpfx)tst-fopenloc-mem.out targets.
2433 (tests): Update dependencies.
2434 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
2435 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
2436 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
2437 (tst-rxspencer-no-utf8-ARGS): New variable.
2438 (tst-rxspencer-no-utf8-ENV): Likewise.
2439 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
2440 instead of $(objpfx)tst-rxspencer-mem.
2441 ($(objpfx)tst-rxspencer-mem): Change target to
2442 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
2443 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
2444 * posix/tst-rxspencer-no-utf8.c: New file.
2445
6e89caf1
JM
2446 * elf/Makefile ($(objpfx)order.out): Remove rule.
2447 [$(run-built-tests) = yes] (tests): Depend on
2448 $(objpfx)order-cmp.out.
2449 ($(objpfx)order-cmp.out): New rule.
2450 [$(run-built-tests) = yes] (tests): Depend on
2451 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
2452 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
2453 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
2454 $(objpfx)tst-array5-static-cmp.out.
2455 ($(objpfx)tst-array1.out): Remove rule.
2456 ($(objpfx)tst-array1-cmp.out): New rule.
2457 ($(objpfx)tst-array1-static.out): Remove rule.
2458 ($(objpfx)tst-array1-static-cmp.out): New rule.
2459 ($(objpfx)tst-array2.out): Remove rule.
2460 ($(objpfx)tst-array2-cmp.out): New rule.
2461 ($(objpfx)tst-array3.out): Remove rule.
2462 ($(objpfx)tst-array3-cmp.out): New rule.
2463 ($(objpfx)tst-array4.out): Remove rule.
2464 ($(objpfx)tst-array4-cmp.out): New rule.
2465 ($(objpfx)tst-array5.out): Remove rule.
2466 ($(objpfx)tst-array5-cmp.out): New rule.
2467 ($(objpfx)tst-array5-static.out): Remove rule.
2468 ($(objpfx)tst-array5-static-cmp.out): New rule.
2469 [$(run-built-tests) = yes] (tests): Depend on
2470 $(objpfx)order2-cmp.out.
2471 ($(objpfx)order2.out): Remove rule.
2472 ($(objpfx)order2-cmp.out): New rule.
2473 ($(objpfx)tst-initorder.out): Remove rule.
2474 [$(run-built-tests) = yes] (tests): Depend on
2475 $(objpfx)tst-initorder-cmp.out.
2476 ($(objpfx)tst-initorder-cmp.out): New rule.
2477 ($(objpfx)tst-initorder2.out): Remove rule.
2478 [$(run-built-tests) = yes] (tests): Depend on
2479 $(objpfx)tst-initorder2-cmp.out.
2480 ($(objpfx)tst-initorder2-cmp.out): New rule.
2481 [$(run-built-tests) = yes] (tests): Depend on
2482 $(objpfx)tst-unused-dep-cmp.out.
2483 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
2484 ($(objpfx)tst-unused-dep-cmp.out): New rule.
2485 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
2486 on $(objpfx)tst-setvbuf1-cmp.out.
2487 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
2488 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
2489 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
2490 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
2491 ($(objpfx)tst-svc.out): Remove rule.
2492 ($(objpfx)tst-svc-cmp.out): New rule.
2493
ed9a38e2
JM
24942014-02-13 Joseph Myers <joseph@codesourcery.com>
2495
2496 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
2497 * ctype/ctype.h [__USE_MISC]: Likewise.
2498 * dirent/dirent.h [__USE_MISC]: Likewise.
2499 * grp/grp.h [__USE_MISC]: Likewise.
2500 * io/fcntl.h [__USE_MISC]: Likewise.
2501 * io/sys/stat.h [__USE_MISC]: Likewise.
2502 * libio/stdio.h [__USE_MISC]: Likewise.
2503 * posix/unistd.h [__USE_MISC]: Likewise.
2504 * pwd/pwd.h [__USE_MISC]: Likewise.
2505 * stdlib.h [__USE_MISC]: Likewise.
2506 * string/bits/string2.h [__USE_MISC]: Likewise.
2507 * string/string.h [__USE_MISC]: Likewise.
2508 * time/time.h [__USE_MISC]: Likewise.
2509
d6680619
AS
25102014-02-13 Andreas Schwab <schwab@suse.de>
2511
2512 [BZ #16574]
2513 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
2514 second answer buffer if it was separately allocated.
2515
ace614b8
JM
25162014-02-12 Joseph Myers <joseph@codesourcery.com>
2517
743151ae
JM
2518 * sysdeps/mips/math-tests.h: Include <features.h>.
2519 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
2520 (ROUNDING_TESTS_long_double): Do not define.
2521 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
2522 (EXCEPTION_TESTS_long_double): Likewise.
2523 * sysdeps/mips/mips64/libm-test-ulps: Update.
2524
498afc54
JM
2525 * include/features.h (__USE_BSD): Remove macro definitions.
2526 (__USE_SVID): Likewise.
2527 (_BSD_SOURCE): Likewise.
2528 (_SVID_SOURCE): Likewise.
2529 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
2530 from definition of _DEFAULT_SOURCE.
2531 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
2532 [_DEFAULT_SOURCE].
2533 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
2534 * bits/mman.h [__USE_BSD]: Likewise.
2535 * bits/termios.h [__USE_BSD]: Likewise.
2536 * bits/waitstatus.h [__USE_BSD]: Likewise.
2537 * ctype/ctype.h [__USE_SVID]: Likewise.
2538 * dirent/dirent.h [__USE_BSD]: Likewise.
2539 * grp/grp.h [__USE_SVID]: Likewise.
2540 [__USE_BSD]: Likewise.
2541 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
2542 * io/fcntl.h [__USE_BSD]: Likewise.
2543 * io/ftw.h [__USE_BSD]: Likewise.
2544 * io/sys/stat.h [__USE_BSD]: Likewise.
2545 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
2546 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
2547 * libio/stdio.h [__USE_SVID]: Likewise.
2548 [__USE_BSD]: Likewise.
2549 * math/math.h [__USE_SVID]: Likewise.
2550 [__USE_BSD]: Likewise.
2551 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
2552 * misc/bits/syslog.h [__USE_BSD]: Likewise.
2553 * misc/search.h [__USE_SVID]: Likewise.
2554 * misc/sys/mman.h [__USE_BSD]: Likewise.
2555 * misc/sys/syslog.h [__USE_BSD]: Likewise.
2556 * misc/sys/uio.h [__USE_BSD]: Likewise.
2557 * posix/bits/unistd.h [__USE_BSD]: Likewise.
2558 * posix/glob.h [__USE_BSD]: Likewise.
2559 * posix/regex.h [__USE_BSD]: Likewise.
2560 * posix/sys/types.h [__USE_BSD]: Likewise.
2561 [__USE_SVID]: Likewise.
2562 * posix/sys/utsname.h [__USE_SVID]: Likewise.
2563 * posix/sys/wait.h [__USE_BSD]: Likewise.
2564 [__USE_SVID]: Likewise.
2565 * posix/unistd.h [__USE_BSD]: Likewise.
2566 [__USE_SVID]: Likewise.
2567 * pwd/pwd.h [__USE_SVID]: Likewise.
2568 * resolv/netdb.h [__USE_BSD]: Likewise.
2569 * setjmp/setjmp.h [__USE_BSD]: Likewise.
2570 * signal/signal.h [__USE_BSD]: Likewise.
2571 [__USE_SVID]: Likewise.
2572 * socket/sys/socket.h [__USE_BSD]: Likewise.
2573 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
2574 * stdlib/stdlib.h [__USE_BSD]: Likewise.
2575 [__USE_SVID]: Likewise.
2576 * string/bits/string2.h [__USE_BSD]: Likewise.
2577 [__USE_SVID]: Likewise.
2578 * string/bits/string3.h [__USE_BSD]: Likewise.
2579 * string/endian.h [__USE_BSD]: Likewise.
2580 * string/string.h [__USE_SVID]: Likewise.
2581 [__USE_BSD]: Likewise.
2582 * string/strings.h [__USE_BSD]: Likewise.
2583 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
2584 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
2585 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
2586 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
2587 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
2588 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
2589 Likewise.
2590 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
2591 Likewise.
2592 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
2593 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
2594 Likewise.
2595 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
2596 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
2597 Likewise.
2598 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
2599 Likewise.
2600 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
2601 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
2602 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
2603 Likewise.
2604 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
2605 Likewise.
2606 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
2607 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
2608 * termios/termios.h [__USE_BSD]: Likewise.
2609 * time/sys/time.h [__USE_BSD]: Likewise.
2610 * time/time.h [__USE_BSD]: Likewise.
2611 [__USE_SVID]: Likewise.
2612
dd7b064c
JM
2613 * Makefile (subdir_targets): Remove subdir_lint.out.
2614
a2c4c199
JM
2615 * stdio-common/Makefile (do-tst-unbputc): Remove target.
2616 (do-tst-printf): Likewise.
2617 (tests): Depend directly on $(objpfx)tst-unbputc.out and
2618 $(objpfx)tst-printf.out.
2619
8756f740
JM
2620 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
2621
1b6dd3f1
JM
2622 * Makerules (check-abi-%): Change target to
2623 $(objpfx)check-abi-%.out.
2624 (check-abi target): Update dependencies.
2625 (check-abi-pattern variable): Redirect output of diff to $@.
2626 (check-abi variable): Likewise.
2627 * elf/Makefile (check-abi): Update dependencies.
2628
ace614b8
JM
2629 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
2630 unused.
2631 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
2632 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
2633 subnormal range.
2634 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
2635 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
2636 value has largest subnormal exponent.
2637 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
2638 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
2639 * sysdeps/aarch64/soft-fp/sfp-machine.h
2640 (_FP_TININESS_AFTER_ROUNDING): New macro.
2641 * sysdeps/alpha/soft-fp/sfp-machine.h
2642 (_FP_TININESS_AFTER_ROUNDING): Likewise.
2643 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2644 Likewise.
2645 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
2646 (_FP_TININESS_AFTER_ROUNDING): Likewise.
2647 * sysdeps/mips/soft-fp/sfp-machine.h
2648 (_FP_TININESS_AFTER_ROUNDING): Likewise.
2649 * sysdeps/powerpc/soft-fp/sfp-machine.h
2650 (_FP_TININESS_AFTER_ROUNDING): Likewise.
2651 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2652 Likewise.
2653 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
2654 (_FP_TININESS_AFTER_ROUNDING): Likewise.
2655 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
2656 (_FP_TININESS_AFTER_ROUNDING): Likewise.
2657 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2658 Likewise.
2659
fbfdf9cb
DAS
26602014-02-12 Dylan Alex Simon <dylan@dylex.net>
2661
2662 [BZ #16545]
2663 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
2664 model 1.
2665
68b7efaa
RH
26662014-02-12 Richard Henderson <rth@redhat.com>
2667
c70a4b1d 2668 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
2669 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
2670 * sysdeps/unix/sysv/linux/alpha: Move directory from
2671 ports/sysdeps/unix/sysv/linux/alpha.
2672 * README: Update listing for alpha-*-linux-gnu.
2673
cb4a2928
JM
26742014-02-11 Joseph Myers <joseph@codesourcery.com>
2675
c941736c
JM
2676 * include/features.h: Update comment documenting feature test
2677 macros.
2678 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
2679 _DEFAULT_SOURCE.
2680 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
2681 (_SVID_SOURCE): Likewise.
2682 (_DEFAULT_SOURCE): Update description of default features.
2683 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
2684 with _GNU_SOURCE.
2685 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
2686 (S_ISVTX): Likewise.
2687 * manual/math.texi (Mathematical Constants): Likewise.
2688 * manual/signal.texi (Interrupted Primitives): Likewise.
2689 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
2690 * math/test-matherr.c (_SVID_SOURCE): Do not define.
2691 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
2692 Don't refer to _SVID_SOURCE in warning text.
2693
e8d8d7ec
JM
2694 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2695
cb4a2928
JM
2696 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
2697 already defined.
2698 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
2699 * sysdeps/mips/dl-lookup.c: Remove.
2700 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
2701
7e6424e3
AK
27022014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
2703
2704 [BZ #16447]
2705 * math/auto-libm-test-in: Add testcase for expl.
2706 * math/auto-libm-test-out: Regenerate.
2707 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
2708 calculation of unsafe.
2709 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
2710
75eff3fe
MS
27112014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
2712
2713 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
2714 * sysdeps/unix/sysv/linux/aarch64: Move directory from
2715 ports/sysdeps/unix/sysv/linux/aarch64.
2716 * README: Update listing for aarch64*-*-linux-gnu.
2717
d35f1e80
WN
27182014-02-11 Will Newton <will.newton@linaro.org>
2719
2720 * manual/probes.texi (Mathematical Function Probes): Use
2721 "triggered" instead of "hit".
2722
7b3436d4
WN
27232014-02-11 Will Newton <will.newton@linaro.org>
2724
2725 * manual/probes.texi (Internal Probes): Add documentation
2726 of setjmp, longjmp and longjmp_target probes.
2727
b4f12ca3
WN
27282014-02-11 Will Newton <will.newton@linaro.org>
2729
2730 * include/stap-probe.h: Add comment about probe argument
2731 format.
2732
c13a72b7
WN
27332014-02-11 Will Newton <will.newton@linaro.org>
2734
2735 * malloc/mtrace.c (attribute_hidden): Remove unused macro
2736 definition. (tr_where, tr_freehook, tr_mallochook,
2737 tr_reallochook, tr_memalignhook): Use ANSI protoype.
2738
195b8165
DM
27392014-02-11 David S. Miller <davem@davemloft.net>
2740
2741 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
2742 processing int_tests.
2743
2ad7600b
JM
27442014-02-10 Joseph Myers <joseph@codesourcery.com>
2745
2746 * sysdeps/mips: Move directory from ports/sysdeps/mips.
2747 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
2748 * sysdeps/unix/sysv/linux/mips: Move directory from
2749 ports/sysdeps/unix/sysv/linux/mips.
2750 * README: Update listing for mips-*-linux-gnu and
2751 mips64-*-linux-gnu.
2752
73588a72
AS
27532014-02-10 Andreas Schwab <schwab@linux-m68k.org>
2754
2755 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
2756 * sysdeps/unix/sysv/linux/m68k: Move directory from
2757 ports/sysdeps/unix/sysv/linux/m68k.
2758 * README: Update listing for m68k-*-linux-gnu.
2759
4372980f
CM
27602014-02-10 Chris Metcalf <cmetcalf@tilera.com>
2761
2762 * sysdeps/tile: Move directory from ports/sysdeps/tile.
2763 * sysdeps/unix/sysv/linux/generic: Move directory from
2764 ports/sysdeps/unix/sysv/linux/generic.
2765 * sysdeps/unix/sysv/linux/tile: Move directory from
2766 ports/sysdeps/unix/sysv/linux/tile.
2767 * README: Update listing for tile*-*-linux-gnu.
2768
a1ffb40e
OB
27692014-02-10 Ondřej Bílka <neleai@seznam.cz>
2770
2771 * assert/assert.c (__assert_fail_base): Use glibc_likely instead __builtin_expect.
2772 * benchtests/bench-memmem.c (simple_memmem): Likewise.
2773 * catgets/open_catalog.c (__open_catalog): Likewise.
2774 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
2775 * debug/confstr_chk.c: Likewise.
2776 * debug/fread_chk.c (__fread_chk): Likewise.
2777 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
2778 * debug/getgroups_chk.c: Likewise.
2779 * debug/mbsnrtowcs_chk.c: Likewise.
2780 * debug/mbsrtowcs_chk.c: Likewise.
2781 * debug/mbstowcs_chk.c: Likewise.
2782 * debug/memcpy_chk.c: Likewise.
2783 * debug/memmove_chk.c: Likewise.
2784 * debug/mempcpy_chk.c: Likewise.
2785 * debug/memset_chk.c: Likewise.
2786 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
2787 * debug/strcat_chk.c (__strcat_chk): Likewise.
2788 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
2789 * debug/strncat_chk.c (__strncat_chk): Likewise.
2790 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
2791 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
2792 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
2793 * debug/wcpncpy_chk.c: Likewise.
2794 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
2795 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
2796 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
2797 * debug/wcsncpy_chk.c: Likewise.
2798 * debug/wcsnrtombs_chk.c: Likewise.
2799 * debug/wcsrtombs_chk.c: Likewise.
2800 * debug/wcstombs_chk.c: Likewise.
2801 * debug/wmemcpy_chk.c: Likewise.
2802 * debug/wmemmove_chk.c: Likewise.
2803 * debug/wmempcpy_chk.c: Likewise.
2804 * debug/wmemset_chk.c: Likewise.
2805 * dirent/scandirat.c (SCANDIRAT): Likewise.
2806 * dlfcn/dladdr1.c (dladdr1): Likewise.
2807 * dlfcn/dladdr.c (dladdr): Likewise.
2808 * dlfcn/dlclose.c (dlclose_doit): Likewise.
2809 * dlfcn/dlerror.c (__dlerror): Likewise.
2810 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
2811 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
2812 * dlfcn/dlopen.c (dlopen_doit): Likewise.
2813 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
2814 * dlfcn/dlsym.c (dlsym_doit): Likewise.
2815 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
2816 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
2817 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
2818 Likewise.
2819 * elf/dl-conflict.c: Likewise.
2820 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
2821 * elf/dl-dst.h: Likewise.
2822 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
2823 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
2824 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
2825 * elf/dl-init.c (call_init, _dl_init): Likewise.
2826 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
2827 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths,
2828 _dl_map_object_from_fd, open_verify, open_path,
2829 _dl_map_object): Likewise.
2830 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
2831 Likewise.
2832 * elf/dl-minimal.c (__libc_memalign): Likewise.
2833 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
2834 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
2835 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
2836 * elf/dl-sym.c (do_sym): Likewise.
2837 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr, __tls_get_addr,
2838 _dl_tls_get_addr_soft): Likewise.
2839 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
2840 * elf/dl-writev.h (_dl_writev): Likewise.
2841 * elf/ldconfig.c (search_dir): Likewise.
2842 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload,
2843 dl_main): Likewise.
2844 * elf/setup-vdso.h (setup_vdso): Likewise.
2845 * grp/compat-initgroups.c (compat_call): Likewise.
2846 * grp/fgetgrent.c (fgetgrent): Likewise.
2847 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
2848 * grp/putgrent.c (putgrent): Likewise.
2849 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
2850 Likewise.
2851 * hurd/hurdinit.c: Likewise.
2852 * iconvdata/8bit-gap.c (struct): Likewise.
2853 * iconvdata/ansi_x3.110.c : Likewise.
2854 * iconvdata/big5.c : Likewise.
2855 * iconvdata/big5hkscs.c : Likewise.
2856 * iconvdata/cp1255.c: Likewise.
2857 * iconvdata/cp1258.c : Likewise.
2858 * iconvdata/cp932.c : Likewise.
2859 * iconvdata/euc-cn.c: Likewise.
2860 * iconvdata/euc-jisx0213.c : Likewise.
2861 * iconvdata/euc-jp.c: Likewise.
2862 * iconvdata/euc-jp-ms.c : Likewise.
2863 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
2864 * iconvdata/gb18030.c : Likewise.
2865 * iconvdata/gbbig5.c (const): Likewise.
2866 * iconvdata/gbgbk.c: Likewise.
2867 * iconvdata/gbk.c : Likewise.
2868 * iconvdata/ibm1364.c : Likewise.
2869 * iconvdata/ibm930.c : Likewise.
2870 * iconvdata/ibm932.c: Likewise.
2871 * iconvdata/ibm933.c : Likewise.
2872 * iconvdata/ibm935.c : Likewise.
2873 * iconvdata/ibm937.c : Likewise.
2874 * iconvdata/ibm939.c : Likewise.
2875 * iconvdata/ibm943.c: Likewise.
2876 * iconvdata/iso_11548-1.c: Likewise.
2877 * iconvdata/iso-2022-cn.c : Likewise.
2878 * iconvdata/iso-2022-cn-ext.c : Likewise.
2879 * iconvdata/iso-2022-jp-3.c: Likewise.
2880 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
2881 * iconvdata/iso-2022-kr.c : Likewise.
2882 * iconvdata/iso646.c (gconv_end): Likewise.
2883 * iconvdata/iso_6937-2.c : Likewise.
2884 * iconvdata/iso_6937.c : Likewise.
2885 * iconvdata/iso8859-1.c: Likewise.
2886 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
2887 * iconvdata/shift_jisx0213.c : Likewise.
2888 * iconvdata/sjis.c : Likewise.
2889 * iconvdata/t.61.c : Likewise.
2890 * iconvdata/tcvn5712-1.c : Likewise.
2891 * iconvdata/tscii.c: Likewise.
2892 * iconvdata/uhc.c : Likewise.
2893 * iconvdata/unicode.c (gconv_end): Likewise.
2894 * iconvdata/utf-16.c (gconv_end): Likewise.
2895 * iconvdata/utf-32.c (gconv_end): Likewise.
2896 * iconvdata/utf-7.c (base64): Likewise.
2897 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
2898 * iconv/gconv_close.c (__gconv_close): Likewise.
2899 * iconv/gconv_open.c (__gconv_open): Likewise.
2900 * iconv/gconv_simple.c (internal_ucs4_loop_single, ucs4_internal_loop,
2901 ucs4_internal_loop_unaligned, ucs4_internal_loop_single,
2902 internal_ucs4le_loop_single, ucs4le_internal_loop,
2903 ucs4le_internal_loop_unaligned, ucs4le_internal_loop_single): Likewise.
2904 * iconv/iconv.c (iconv): Likewise.
2905 * iconv/iconv_close.c: Likewise.
2906 * iconv/loop.c (SINGLE): Likewise.
2907 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
2908 * include/atomic.h: Likewise.
2909 * inet/inet6_option.c (option_alloc): Likewise.
2910 * intl/bindtextdom.c (set_binding_values): Likewise.
2911 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
2912 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
2913 * intl/localealias.c (read_alias_file): Likewise.
2914 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
2915 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap,
2916 _IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
2917 * libio/fmemopen.c (fmemopen): Likewise.
2918 * libio/iofgets.c (_IO_fgets): Likewise.
2919 * libio/iofgets_u.c (fgets_unlocked): Likewise.
2920 * libio/iofgetws.c (fgetws): Likewise.
2921 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
2922 * libio/iogetdelim.c (_IO_getdelim): Likewise.
2923 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap,
2924 adjust_wide_data, _IO_wfile_seekoff): Likewise.
2925 * locale/findlocale.c (_nl_find_locale): Likewise.
2926 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
2927 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
2928 Likewise.
2929 * locale/setlocale.c (setlocale): Likewise.
2930 * login/programs/pt_chown.c (main): Likewise.
2931 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
2932 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
2933 * malloc/memusage.c (update_data, malloc, realloc, calloc, free,
2934 mmap, mmap64, mremap, munmap): Likewise.
2935 * math/e_exp2l.c: Likewise.
2936 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
2937 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
2938 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
2939 * math/s_catan.c (__catan): Likewise.
2940 * math/s_catanf.c (__catanf): Likewise.
2941 * math/s_catanh.c (__catanh): Likewise.
2942 * math/s_catanhf.c (__catanhf): Likewise.
2943 * math/s_catanhl.c (__catanhl): Likewise.
2944 * math/s_catanl.c (__catanl): Likewise.
2945 * math/s_ccosh.c (__ccosh): Likewise.
2946 * math/s_ccoshf.c (__ccoshf): Likewise.
2947 * math/s_ccoshl.c (__ccoshl): Likewise.
2948 * math/s_cexp.c (__cexp): Likewise.
2949 * math/s_cexpf.c (__cexpf): Likewise.
2950 * math/s_cexpl.c (__cexpl): Likewise.
2951 * math/s_clog10.c (__clog10): Likewise.
2952 * math/s_clog10f.c (__clog10f): Likewise.
2953 * math/s_clog10l.c (__clog10l): Likewise.
2954 * math/s_clog.c (__clog): Likewise.
2955 * math/s_clogf.c (__clogf): Likewise.
2956 * math/s_clogl.c (__clogl): Likewise.
2957 * math/s_csin.c (__csin): Likewise.
2958 * math/s_csinf.c (__csinf): Likewise.
2959 * math/s_csinh.c (__csinh): Likewise.
2960 * math/s_csinhf.c (__csinhf): Likewise.
2961 * math/s_csinhl.c (__csinhl): Likewise.
2962 * math/s_csinl.c (__csinl): Likewise.
2963 * math/s_csqrt.c (__csqrt): Likewise.
2964 * math/s_csqrtf.c (__csqrtf): Likewise.
2965 * math/s_csqrtl.c (__csqrtl): Likewise.
2966 * math/s_ctan.c (__ctan): Likewise.
2967 * math/s_ctanf.c (__ctanf): Likewise.
2968 * math/s_ctanh.c (__ctanh): Likewise.
2969 * math/s_ctanhf.c (__ctanhf): Likewise.
2970 * math/s_ctanhl.c (__ctanhl): Likewise.
2971 * math/s_ctanl.c (__ctanl): Likewise.
2972 * math/w_pow.c: Likewise.
2973 * math/w_powf.c: Likewise.
2974 * math/w_powl.c: Likewise.
2975 * math/w_scalb.c (sysv_scalb): Likewise.
2976 * math/w_scalbf.c (sysv_scalbf): Likewise.
2977 * math/w_scalbl.c (sysv_scalbl): Likewise.
2978 * misc/error.c (error_tail): Likewise.
2979 * misc/pselect.c (__pselect): Likewise.
2980 * nis/nis_callback.c (__nis_create_callback): Likewise.
2981 * nis/nis_call.c (__nisfind_server): Likewise.
2982 * nis/nis_creategroup.c (nis_creategroup): Likewise.
2983 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
2984 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
2985 * nis/nis_getservlist.c (nis_getservlist): Likewise.
2986 * nis/nis_lookup.c (nis_lookup): Likewise.
2987 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
2988 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry,
2989 nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
2990 * nis/nis_xdr.c (xdr_endpoint): Likewise.
2991 * nis/nss_compat/compat-grp.c (getgrent_next_file, internal_getgrnam_r,
2992 internal_getgrgid_r): Likewise.
2993 * nis/nss_compat/compat-initgroups.c (add_group, internal_getgrent_r):
2994 Likewise.
2995 * nis/nss_compat/compat-pwd.c (getpwent_next_file, internal_getpwnam_r,
2996 internal_getpwuid_r): Likewise.
2997 * nis/nss_compat/compat-spwd.c (getspent_next_file,
2998 internal_getspnam_r): Likewise.
2999 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r,
3000 _nss_nis_getaliasbyname_r): Likewise.
3001 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r,
3002 _nss_nis_getntohost_r): Likewise.
3003 * nis/nss_nis/nis-grp.c (internal_nis_setgrent,
3004 internal_nis_getgrent_r, _nss_nis_getgrnam_r, _nss_nis_getgrgid_r):
3005 Likewise.
3006 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent,
3007 internal_nis_gethostent_r, internal_gethostbyname2_r,
3008 _nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r,
3009 _nss_nis_gethostbyname4_r): Likewise.
3010 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r,
3011 initgroups_netid): Likewise.
3012 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
3013 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r,
3014 _nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
3015 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r,
3016 _nss_nis_getprotobynumber_r): Likewise.
3017 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey,
3018 _nss_nis_getsecretkey): Likewise.
3019 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent,
3020 internal_nis_getpwent_r, _nss_nis_getpwnam_r, _nss_nis_getpwuid_r):
3021 Likewise.
3022 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r,
3023 _nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
3024 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r,
3025 _nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
3026 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent, internal_nis_getspent_r,
3027 _nss_nis_getspnam_r): Likewise.
3028 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
3029 Likewise.
3030 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r,
3031 _nss_nisplus_getntohost_r): Likewise.
3032 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r,
3033 _nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
3034 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r,
3035 _nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r): Likewise.
3036 * nis/nss_nisplus/nisplus-initgroups.c (_nss_nisplus_initgroups_dyn):
3037 Likewise.
3038 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r,
3039 _nss_nisplus_getnetbyaddr_r): Likewise.
3040 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r,
3041 _nss_nisplus_getprotobynumber_r): Likewise.
3042 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r,
3043 _nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
3044 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
3045 Likewise.
3046 * nis/nss_nisplus/nisplus-service.c (internal_nisplus_getservent_r,
3047 _nss_nisplus_getservbyname_r, _nss_nisplus_getservbyport_r): Likewise.
3048 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r,
3049 _nss_nisplus_getspnam_r): Likewise.
3050 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist): Likewise.
3051 * nscd/aicache.c (addhstaiX): Likewise.
3052 * nscd/cache.c (cache_search, prune_cache): Likewise.
3053 * nscd/connections.c (register_traced_file, send_ro_fd, handle_request,
3054 nscd_run_prune, nscd_run_worker, fd_ready, main_loop_epoll): Likewise.
3055 * nscd/grpcache.c (addgrbyX): Likewise.
3056 * nscd/hstcache.c (addhstbyX): Likewise.
3057 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3058 * nscd/mem.c (gc, mempool_alloc): Likewise.
3059 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX, addinnetgrX):
3060 Likewise.
3061 * nscd/nscd-client.h (__nscd_acquire_maplock, __nscd_drop_map_ref):
3062 Likewise.
3063 * nscd/nscd_getai.c (__nscd_getai): Likewise.
3064 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
3065 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
3066 Likewise.
3067 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
3068 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
3069 * nscd/nscd_helper.c (__readvall, open_socket,
3070 __nscd_get_mapping, __nscd_get_map_ref): Likewise.
3071 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
3072 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr): Likewise.
3073 * nscd/pwdcache.c (addpwbyX): Likewise.
3074 * nscd/selinux.c (preserve_capabilities): Likewise.
3075 * nscd/servicescache.c (addservbyX): Likewise.
3076 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
3077 * posix/fnmatch.c (fnmatch): Likewise.
3078 * posix/getopt.c (_getopt_internal_r): Likewise.
3079 * posix/glob.c (glob, glob_in_dir): Likewise.
3080 * posix/wordexp.c (exec_comm_child): Likewise.
3081 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r, getanswer_r,
3082 gaih_getanswer_slice): Likewise.
3083 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
3084 * resolv/res_init.c: Likewise.
3085 * resolv/res_mkquery.c (res_nmkquery): Likewise.
3086 * resolv/res_query.c (__libc_res_nquery): Likewise.
3087 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
3088 Likewise.
3089 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
3090 * stdio-common/perror.c (perror): Likewise.
3091 * stdio-common/printf_fp.c (___printf_fp): Likewise.
3092 * stdio-common/tmpnam.c (tmpnam): Likewise.
3093 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
3094 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
3095 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl): Likewise.
3096 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
3097 * stdlib/putenv.c (putenv): Likewise.
3098 * stdlib/setenv.c (__add_to_environ): Likewise.
3099 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
3100 * stdlib/strtol_l.c (INTERNAL): Likewise.
3101 * string/memmem.c (memmem): Likewise.
3102 * string/strerror.c (strerror): Likewise.
3103 * string/strnlen.c (__strnlen): Likewise.
3104 * string/test-memmem.c (simple_memmem): Likewise.
3105 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
3106 * sunrpc/pm_getport.c (__get_socket): Likewise.
3107 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
3108 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
3109 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup,
3110 elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
3111 Likewise.
3112 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
3113 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
3114 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
3115 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
3116 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
3117 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1): Likewise.
3118 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn): Likewise.
3119 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
3120 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
3121 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
3122 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
3123 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
3124 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
3125 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
3126 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
3127 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
3128 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
3129 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
3130 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
3131 Likewise.
3132 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
3133 Likewise.
3134 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
3135 Likewise.
3136 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
3137 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
3138 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
3139 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
3140 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
3141 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
3142 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
3143 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
3144 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
3145 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
3146 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
3147 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3148 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
3149 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
3150 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3151 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Likewise.
3152 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
3153 Likewise.
3154 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
3155 Likewise.
3156 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
3157 Likewise.
3158 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3159 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3160 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
3161 Likewise.
3162 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
3163 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
3164 * sysdeps/posix/opendir.c (__opendirat): Likewise.
3165 * sysdeps/posix/sleep.c: Likewise.
3166 * sysdeps/posix/tempname.c: Likewise.
3167 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
3168 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
3169 Likewise.
3170 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_runtime_setup,
3171 elf_machine_rela): Likewise.
3172 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
3173 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
3174 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
3175 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
3176 Likewise.
3177 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
3178 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup,
3179 elf_machine_rela, elf_machine_lazy_rel): Likewise.
3180 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup,
3181 elf_machine_rela, elf_machine_lazy_rel): Likewise.
3182 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
3183 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
3184 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
3185 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
3186 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
3187 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
3188 elf_machine_lazy_rel): Likewise.
3189 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
3190 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
3191 elf_machine_lazy_rel): Likewise.
3192 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
3193 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
3194 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
3195 * sysdeps/unix/grantpt.c (grantpt): Likewise.
3196 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
3197 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
3198 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
3199 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
3200 Likewise.
3201 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
3202 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
3203 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
3204 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
3205 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
3206 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
3207 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
3208 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
3209 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
3210 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
3211 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
3212 Likewise.
3213 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
3214 (__posix_fallocate64_l64): Likewise.
3215 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
3216 (posix_fallocate): Likewise.
3217 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64): Likewise.
3218 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3219 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request,
3220 getifaddrs_internal): Likewise.
3221 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
3222 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
3223 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
3224 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
3225 * sysdeps/unix/sysv/linux/posix_fallocate64.c
3226 (__posix_fallocate64_l64): Likewise.
3227 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
3228 Likewise.
3229 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
3230 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
3231 Likewise.
3232 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
3233 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
3234 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
3235 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3236 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3237 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
3238 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
3239 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
3240 Likewise.
3241 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
3242 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
3243 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
3244 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
3245 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
3246 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
3247 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
3248 Likewise.
3249 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
3250 (posix_fallocate): Likewise.
3251 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
3252 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
3253 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
3254 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup,
3255 elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel):
3256 Likewise.
3257 * time/asctime.c (asctime_internal): Likewise.
3258 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
3259 * time/tzset.c (__tzset_parse_tz): Likewise.
3260 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
3261 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
3262 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
3263 * wcsmbs/wcsmbsload.h: Likewise.
3264
f3d338c9
OB
32652014-02-10 Ondřej Bílka <neleai@seznam.cz>
3266
3267 [BZ #15894]
3268 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
3269
bdfe308a
OB
32702014-02-10 Ondřej Bílka <neleai@seznam.cz>
3271
3272 * malloc/arena.c (grow_heap, get_free_list, reused_arena,
3273 arena_get2): Remove THREAD_STATS conditionals.
3274 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free,
3275 __malloc_stats, int): Likewise.
3276
d674667c
MF
32772014-02-08 Mike Frysinger <vapier@gentoo.org>
3278
3279 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
3280 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
3281
6349768c
MF
32822014-02-08 Mike Frysinger <vapier@gentoo.org>
3283
3284 * manual/setjmp.texi: Fix typos/grammar errors.
3285
0b7c7473
MF
32862014-02-08 Mike Frysinger <vapier@gentoo.org>
3287
3288 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
3289 Only return early when n is <= 0. Delete unused return statement.
3290
ac8cc9e3
MF
32912014-02-08 Mike Frysinger <vapier@gentoo.org>
3292
3293 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
3294 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
3295 * debug/tst-longjmp_chk3.c: New file.
3296
c5bb8e23
MF
32972014-02-08 Mike Frysinger <vapier@gentoo.org>
3298
3299 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
3300 (test_main): Replace code with set_fortify_handler call.
3301 * debug/test-strcpy_chk.c: Likewise.
3302 * debug/tst-chk1.c: Likewise.
3303 * debug/tst-longjmp_chk.c: Likewise.
3304 * test-skeleton.c: Include fcntl.h & paths.h
3305 (set_fortify_handler): Define.
3306
10444e42
MF
33072014-02-08 Mike Frysinger <vapier@gentoo.org>
3308
3309 * debug/tst-longjmp_chk.c: Add header comment and include
3310 ../test-skeleton.c.
3311 (do_test): Mark static.
3312 (TEST_FUNCTION): Define.
3313
1e805e8d
MF
33142014-02-08 Mike Frysinger <vapier@gentoo.org>
3315
3316 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
3317 (IP_PMTUDISC_INTERFACE): Likewise.
3318 (IP_MULTICAST_IF): Likewise.
3319 (IP_MULTICAST_TTL): Likewise.
3320 (IP_MULTICAST_LOOP): Likewise.
3321 (IP_ADD_MEMBERSHIP): Likewise.
3322 (IP_DROP_MEMBERSHIP): Likewise.
3323 (IP_UNBLOCK_SOURCE): Likewise.
3324 (IP_BLOCK_SOURCE): Likewise.
3325 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
3326 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
3327 (IP_MSFILTER): Likewise.
3328 (MCAST_JOIN_GROUP): Likewise.
3329 (MCAST_BLOCK_SOURCE): Likewise.
3330 (MCAST_UNBLOCK_SOURCE): Likewise.
3331 (MCAST_LEAVE_GROUP): Likewise.
3332 (MCAST_JOIN_SOURCE_GROUP): Likewise.
3333 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
3334 (MCAST_MSFILTER): Likewise.
3335 (IP_MULTICAST_ALL): Likewise.
3336 (IP_UNICAST_IF): Likewise.
3337
73f79bb7
MF
33382014-02-08 Mike Frysinger <vapier@gentoo.org>
3339
3340 * timezone/Makefile: Delete $(have-ksh) check.
3341 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
3342 * timezone/tzselect.ksh: Add +x mode bits.
3343
8da79b60
MF
33442014-02-08 Mike Frysinger <vapier@gentoo.org>
3345
3346 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
3347 (ANON_INODE_FS_MAGIC): Likewise.
3348 (BDEVFS_MAGIC): Likewise.
3349 (BINFMTFS_MAGIC): Likewise.
3350 (BTRFS_TEST_MAGIC): Likewise.
3351 (CRAMFS_MAGIC_WEND): Likewise.
3352 (DEBUGFS_MAGIC): Likewise.
3353 (ECRYPTFS_SUPER_MAGIC): Likewise.
3354 (EXT3_SUPER_MAGIC): Likewise.
3355 (EXT4_SUPER_MAGIC): Likewise.
3356 (FUTEXFS_SUPER_MAGIC): Likewise.
3357 (HOSTFS_SUPER_MAGIC): Likewise.
3358 (HUGETLBFS_MAGIC): Likewise.
3359 (MINIX3_SUPER_MAGIC): Likewise.
3360 (MTD_INODE_FS_MAGIC): Likewise.
3361 (NILFS_SUPER_MAGIC): Likewise.
3362 (OPENPROM_SUPER_MAGIC): Likewise.
3363 (PIPEFS_MAGIC): Likewise.
3364 (PSTOREFS_MAGIC): Likewise.
3365 (QNX6_SUPER_MAGIC): Likewise.
3366 (RAMFS_MAGIC): Likewise.
3367 (REISERFS_SUPER_MAGIC_STRING): Likewise.
3368 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
3369 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
3370 (SECURITYFS_MAGIC): Likewise.
3371 (SELINUX_MAGIC): Likewise.
3372 (SMACK_MAGIC): Likewise.
3373 (SOCKFS_MAGIC): Likewise.
3374 (SQUASHFS_MAGIC): Likewise.
3375 (STACK_END_MAGIC): Likewise.
3376 (TMPFS_MAGIC): Likewise.
3377 (USBDEVICE_SUPER_MAGIC): Likewise.
3378 (V9FS_MAGIC): Likewise.
3379 (XENFS_SUPER_MAGIC): Likewise.
3380 (CRAMFS_MAGIC): Fix typo in comment.
3381 (EXT2_SUPER_MAGIC): Update comment.
3382 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
3383
464263cc
JM
33842014-02-08 Joseph Myers <joseph@codesourcery.com>
3385
c6bfe5c4
JM
3386 * sysdeps/arm: Move directory from ports/sysdeps/arm.
3387 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
3388 * sysdeps/unix/sysv/linux/arm: Move directory from
3389 ports/sysdeps/unix/sysv/linux/arm.
3390 * README: Update listing for arm-*-linux-gnueabi.
3391
464263cc
JM
3392 * README: Remove mention of am33.
3393
32749f6c
RM
33942014-02-07 Roland McGrath <roland@hack.frob.com>
3395
3396 * bits/sigset.h (__sigemptyset): Use a statement expression rather
3397 than the comma operator, to avoid "rhs of comma has no effect"
3398 compiler warnings.
3399 (__sigfillset, __sigandset, __sigorset): Likewise.
3400 * include/signal.h (__sigemptyset): Likewise.
3401 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
3402
d5b396c1
AM
34032014-02-07 Allan McRae <allan@archlinux.org>
3404
3405 * version.h (RELEASE): Set to "development".
3406 (VERSION): Set to "2.19.90"
3407 * NEWS: Add 2.20 section.
3408
3bfff2ed
CD
34092014-02-06 Carlos O'Donell <carlos@redhat.com>
3410
3411 [BZ #16529]
3412 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
3413
ee7cc385
SP
34142014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
3415
3416 * manual/contrib.texi: Update entry for Carlos O'Donell,
3417 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
3418
f877c4f2
CD
34192014-02-05 Carlos O'Donell <carlos@rehdat.com>
3420
27e839f6
CD
3421 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
3422
f877c4f2
CD
3423 * sysdeps/unix/sysv/linux/kernel-features.h
3424 [__LINUX_KERNEL_VERSION >= 0x020621]
3425 (__ASSUME_PROC_PID_TASK_COMM): Define.
3426
68159946
SP
34272014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3428
ba17cdbd
SP
3429 [BZ #16398]
3430 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
3431 conversion when destination buffer does not have enough space.
3432 * libio/tst-ftell-partial-wide.c: New test case.
3433 * libio/Makefile (tests): Add tst-ftell-partial-wide.
3434
68159946
SP
3435 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
3436 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
3437 Leonard and Allan McRae.
3438
2b528732
DM
34392014-02-04 David S. Miller <davem@davemloft.net>
3440
3441 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
3442 32-bit.
3443
0ff82463
AZ
34442014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3445
c01603f7
AZ
3446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist: New
3447 file
3448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
3449 New file
3450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist: New
3451 file.
3452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist: New
3453 file.
3454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
3455 New file.
3456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist: New
3457 file.
3458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist: New
3459 file.
3460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
3461 New file.
3462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
3463 New file.
3464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
3465 New file.
3466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
3467 New file.
3468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
3469 New file.
3470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
3471 New file.
3472
34732014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3474
0ff82463
AZ
3475 * nptl/shlib-versions: Change powerpc*le start to 2.17.
3476 * shlib-versions: Likewise.
3477
1695c773
AZ
34782014-02-04 Roland McGrath <roland@hack.frob.com>
3479 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3480
3481 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
3482 (abilist-pattern): New variable, set to %-le.abilist.
3483
3484 * Makerules (abilist-pattern): New variable.
3485 (vpath): Use $(abilist-pattern) in place of %.abilist.
3486 (check-abi-% pattern rule): Likewise.
3487 (check-abi, update-abi): Likewise.
3488
6c0ce4b4
EW
34892014-02-04 Eric Wong <normalperson@yhbt.net>
3490
3491 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3492
dc98b8f5
EW
34932014-02-04 Eric Wong <normalperson@yhbt.net>
3494
3495 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3496
481e3524
CD
34972014-02-03 Carlos O'Donell <carlos@redhat.com>
3498
3499 * manual/startup.texi: Add next, previous, and top entries for
3500 the `Program Arguments' and `Environment Variables' nodes.
3501
375592d3
AO
35022014-02-03 Alexandre Oliva <aoliva@redhat.com>
3503
3504 * manual/macros.texi: Add comments before MTASC-safety macros.
3505
f54838ba
AO
3506 * manual/users.texi: Document MTASC-safety properties.
3507
909e12ad
AO
3508 * manual/threads.texi (pthread_key_create, pthread_key_delete,
3509 pthread_getspecific, pthread_setspecific): Format with
3510 @deftypefun, and add @safety note.
3511 * manual/signal.texi: Move comments that analyze the above
3512 functions to their home place.
3513
fd3daba4
AM
35142014-02-03 Allan McRae <allan@archlinux.org>
3515
3516 * po/sl.po: Update Slovenian translation from translation project.
3517
597636d7
AO
35182014-02-02 Alexandre Oliva <aoliva@redhat.com>
3519
3520 * manual/time.texi (timegm): Add missing blank after @c.
3521 Reported by Joseph Myers <joseph@codesourcery.com>.
3522
ee196e3c
AO
35232014-02-01 Alexandre Oliva <aoliva@redhat.com>
3524
3525 * manual/check-safety.sh: New.
3526 * manual/Makefile ($(objpfx)stamp-summary): Run it.
3527
f8d529d5
AO
3528 * manual/terminal.texi: Document MTASC-safety properties.
3529
de55fdf4
AO
3530 * manual/filesys.texi: Document MTASC-safety properties.
3531
c3299c08
AO
3532 * manual/errno.texi: Document MTASC-safety properties.
3533
06e90b14
AO
3534 * manual/intro.texi: Document safety identifiers and
3535 conditionals.
3536
1acd4371
AO
3537 * manual/string.texi (wcstok): Fix prototype.
3538 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
3539
23e5b8cb
AO
3540 * manual/time.texi: Document MTASC-safety properties.
3541
11087373
AO
3542 * manual/string.texi: Document MTASC-safety properties.
3543
5da2c93d
AO
3544 * manual/threads.texi: Document MTASC-safety properties.
3545
171e9210
AO
3546 * manual/stdio.texi: Document MTASC-safety properties.
3547
d9e02532
AO
3548 * manual/syslog.texi: Document MTASC-safety properties.
3549
6af8bab7
AO
3550 * manual/sysinfo.texi: Document MTASC-safety properties.
3551
663b02d7
AO
3552 * manual/startup.texi: Document MTASC-safety properties.
3553
973f180b
AO
3554 * manual/socket.texi: Document MTASC-safety properties.
3555
8f3c25c8
AO
3556 * manual/signal.texi: Document MTASC-safety properties.
3557
542210fb
AO
35582014-01-31 Alexandre Oliva <aoliva@redhat.com>
3559
3560 * manual/setjmp.texi: Document MTASC-safety properties.
3561
433c45a2
AO
3562 * manual/search.texi: Document MTASC-safety properties.
3563
c8ce789c
AO
3564 * manual/resource.texi: Document MTASC-safety properties.
3565
19f5d29c
AO
3566 * manual/process.texi: Document MTASC-safety properties.
3567
e2dfb7f4
AO
3568 * manual/platform.texi: Document MTASC-safety properties.
3569
8c1413f5
AO
3570 * manual/pipe.texi: Document MTASC-safety properties.
3571
03483ada
AO
3572 * manual/pattern.texi: Document MTASC-safety properties.
3573
29e7e2df
AO
3574 * manual/message.texi: Document MTASC-safety properties.
3575
9f529d7c
AO
3576 [BZ #12751]
3577 * manual/memory.texi: Document MTASC-safety properties.
3578
27aaa791
AO
3579 * manual/math.texi: Document MTASC-safety properties.
3580
f2d58726
AO
3581 * manual/locale.texi: Document MTASC-safety properties.
3582
2cc3615c
AO
3583 * manual/llio.texi: Document MTASC-safety properties.
3584
d9f0ec97
AO
3585 * manual/libdl.texi: New.
3586
e7c4409a
AO
3587 * manual/lang.texi: Document MTASC-safety properties.
3588
27bdc63c
AO
3589 * manual/job.texi: Document MTASC-safety properties.
3590
a7b90ea9
AO
3591 * manual/getopt.texi: Document MTASC-safety properties.
3592
c49130e3
AO
3593 * manual/ctype.texi: Document MTASC-safety properties.
3594
0d23a5c1
MR
35952014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
3596
3597 [BZ #16046]
3598 * csu/libc-tls.c (static_map): Remove variable.
3599 (__libc_setup_tls): Use main executable's link map for TLS data.
3600 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
3601 casing for LM_ID_BASE and GL(dl_nns).
3602 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
3603 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
3604 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
3605 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
3606 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
3607 member.
3608 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
3609 l_phnum members.
3610
0037bb60
AO
36112014-01-30 Alexandre Oliva <aoliva@redhat.com>
3612
3613 * manual/debug.texi: Document MTASC-safety properties.
3614
409e00bd
L
36152014-01-29 H.J. Lu <hongjiu.lu@intel.com>
3616
3617 [BZ #16510]
3618 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
3619 of __x86_64__ when disabling x87 inline functions.
3620
86e60666
AO
36212014-01-29 Alexandre Oliva <aoliva@redhat.com>
3622
3623 * manual/charset.texi: Document MTASC-safety properties.
3624
76167637
AO
3625 * manual/crypt.texi: Document MTASC-safety properties.
3626
e567f2a0
AO
3627 * manual/conf.texi: Document MTASC-safety properties.
3628
b719dafd
AO
3629 * manual/arith.texi: Document MTASC-safety properties.
3630
4a16c662
AO
3631 * manual/argp.texi: Document MTASC-safety properties.
3632
0a57b83e
AO
3633 * manual/macros.texi: Introduce macros to document multi
3634 thread, asynchronous signal and asynchronous cancellation
3635 safety properties.
3636 * manual/intro.texi: Introduce the properties themselves.
3637
feab2397
KK
36382014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3639
3640 * sysdeps/sh/sh4/Makefile: New file.
3641
1c0d11bc
AS
36422014-01-27 Andreas Schwab <schwab@linux-m68k.org>
3643
3644 * math/gen-libm-test.pl ($srcdir): New variable.
3645 ($auto_input): Use it.
3646
af37a8a3
SP
36472014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3648
d7b00f98
SP
3649 [BZ #16506]
3650 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
3651 access beyond array bounds when parsing netgroups file.
3652
af37a8a3
SP
3653 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
3654 the old buffer before realloc.
3655
0c00f062
AM
36562014-01-27 Allan McRae <allan@archlinux.org>
3657
3658 * po/fr.po: Update French translation from translation project.
3659
7d69a1b0
KK
36602014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3661
3662 * sysdeps/sh/libm-test-ulps: Regenerate.
3663
6e697ff7
DM
36642014-01-24 David S. Miller <davem@davemloft.net>
3665
3666 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
3667
9cadb35c
KK
36682014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3669
3670 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
3671 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
3672
5d41dadf
SP
36732013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3674
3675 [BZ #16474]
3676 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
3677 string pointers after reallocation.
3678
0bad441c
KK
36792014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3680
3681 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
3682 __SH4A__ instead of __SH_FPU_ANY__.
3683
7007c661
KK
36842014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3685
3686 * sysdeps/sh/fpu_control.h: New file.
3687 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
3688 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
3689 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
3690 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
3691 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
3692 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
3693 * sysdeps/sh/sys/ucontext.h: Remove.
3694 * sysdeps/sh/sys: Remove directory.
3695
0f0c35e4
AK
36962014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3697
3698 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
3699 s390/sys/ucontext.h.
3700 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
3701 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
3702
4959e284
L
37032014-01-20 H.J. Lu <hongjiu.lu@intel.com>
3704
3705 [BZ #15605]
3706 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
3707
d98720e0
AZ
37082014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3709
3710 [BZ#16431]
3711 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
3712 Adjust the vDSO correctly for internal calls.
3713 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
3714
91cbd0bc
AM
37152014-01-20 Allan McRae <allan@archlinux.org>
3716
3717 * po/ca.po: Update Catalan translation from translation project.
3718
7a02cfad
MF
37192014-01-16 Mike Frysinger <vapier@gentoo.org>
3720
3721 * sysdeps/s390/sotruss-lib.c: New file.
3722
736c304a
AZ
37232014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3724
3725 [BZ#16430]
6e077ee5 3726 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
3727 (__GI___gettimeofday): Alias for a different internal symbol to avoid
3728 local calls issues by not having a PLT stub required for IFUNC calls.
3729 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
3730
94d0cea0
JM
37312014-01-16 Joseph Myers <joseph@codesourcery.com>
3732
3733 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
3734 * math/test-fpucw-static.c: Likewise.
3735
980cb518
SP
37362013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3737
3738 [BZ #16453]
3739 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
3740
2393fc01
AZ
37412014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3742
3743 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
3744 implementation for powerpc.
3745
d359bcc2
OB
37462014-01-15 Ondřej Bílka <neleai@seznam.cz>
3747
3748 [BZ #14782]
3749 * sysdeps/posix/system.c (__libc_system): Do not enable
3750 asynchronous cancellation.
3751
7beb48cb
AK
37522014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3753
3754 [BZ #16427]
3755 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
3756 handling only for numbers special also in the IEEE case.
3757
c20d5bf5
AK
37582014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3759
3760 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3761
e83bd4ee
AM
37622014-01-11 Allan McRae <allan@archlinux.org>
3763
76d0ea69
AM
3764 * po/bg.po: Update Bulgarian translation from translation project.
3765
e83bd4ee
AM
3766 * po/de.po: Update German translation from translation project.
3767
bc2ba20a
RM
37682014-01-10 Roland McGrath <roland@hack.frob.com>
3769
3770 * sysdeps/generic/gcc-compat.h: New file.
3771
649ecea2
SP
37722014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3773
3774 * benchtests/asin-inputs: Correct slow inputs.
3775 * benchtests/acos-inputs: Likewise.
3776
1b19c006
AM
37772014-01-10 Allan McRae <allan@archlinux.org>
3778
a46dab08
AM
3779 * po:sv.po: Update Swedish translation from translation project.
3780
421df74a
AM
3781 * po/vi.po: Update Vietnamese translation from translation project.
3782
d61c51a7
AM
3783 * po/eo.po: Update Esperanto translation from translation project.
3784
0339a319
AM
3785 * po/cs.po: Update Czech translation from translation project.
3786
94ad3e99
AM
3787 * po/nl.po: Update Dutch translation from translation project.
3788
e349ca71
AM
3789 * po/pl.po: Update Polish translation from translation project.
3790
ddf930c1
AM
3791 * po/ru.po: Update Russian translation from translation project.
3792
1b19c006
AM
3793 * po/uk.po: Update Ukrainian translation from translation project.
3794
9f236c49
BM
37952014-01-08 Brooks Moses <bmoses@google.com>
3796
3797 * elf/dl-load.c: Fix comment typo.
3798
cd6701cf
CD
37992014-01-08 Carlos O'Donell <carlos@redhat.com>
3800
3801 * po/header.pot: Rename to...
3802 * po/pot.header: ... this.
3803 * po/Makefile: Use pot.header.
3804
66671c84
YK
38052014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
3806 Maxim Kuvyrkov <maxim@kugelworks.com>
3807
3808 [BZ #16394]
cd6701cf
CD
3809 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
3810 SRC and DEST against LEN.
66671c84 3811
38f34581
AZ
38122014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3813
3814 [BZ #16414]
3815 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
3816 implementation.
3817 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
3818
38192014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
3820
3821 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3822
4c327f2a
JM
38232014-01-08 Joseph Myers <joseph@codesourcery.com>
3824
3825 [BZ #16408]
3826 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
3827 for large positive arguments.
3828
b821f414
JM
38292014-01-07 Joseph Myers <joseph@codesourcery.com>
3830
1f0f2067
JM
3831 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
3832
a5a326f6
JM
3833 * math/auto-libm-test-in: Mark various tests with
3834 xfail-rounding:ldbl-128ibm.
3835 * math/auto-libm-test-out: Regenerated.
3836
b821f414
JM
3837 [BZ #16407]
3838 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
3839 Increase overflow threshold.
3840
94c8a4bc
OB
38412014-01-07 Ondřej Bílka <neleai@seznam.cz>
3842
3843 [BZ #14286]
3844 * stdio-common/vfprintf.c: Check for integer overflow.
3845
87ded0c3
AK
38462014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3847
3848 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
3849 the first argument and return value of __tls_get_addr_internal.
3850
c5eebdd0
AK
38512014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3852
3853 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
3854 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
3855
05d138ef
AK
38562014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3857
3858 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
3859 * sysdeps/s390/rtld-global-offsets.sym: New file.
3860 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
3861 GLIBC_2.19 symbol.
3862 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
3863 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
3864 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
3865 ... this.
3866 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
3867 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
3868 ... this.
3869 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
3870 Regenerate.
3871 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
3872 Regenerate.
3873 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
3874 halfs of GPRs for high_gprs contexts.
3875 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
3876 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
3877 field.
3878 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
3879 uc_flags field.
3880 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
3881 64 bit versions:
3882 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
3883 for high GPRs (uc_high_gprs) and for future extensions
3884 (__reserved).
3885 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
3886 for future extensions (__reserved).
3887 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
3888 64 bit versions:
3889 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
3890 SC_HIGHGPRS offset definition.
3891 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
3892 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
3893
93a45ff1
AK
38942014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3895
3896 * Versions.def: Add GLIBC_2.19 for libpthread.
3897 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
3898 siglongjmp for libpthread with GLIBC_2.19 symver.
3899 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
3900 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
3901 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
3902 * sysdeps/s390/__longjmp.c: New file.
3903 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
3904 * sysdeps/s390/longjmp.c: New file.
3905 * sysdeps/s390/setjmp.S: New file.
3906 * sysdeps/s390/sigjmp.S: New file.
3907 * sysdeps/s390/v1-longjmp.c: New file.
3908 * sysdeps/s390/v1-setjmp.h: New file.
3909 * sysdeps/s390/v1-sigjmp.c: New file.
3910 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
3911 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
3912 GLIBC_2.19 version.
3913 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
3914 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
3915 versioned symbols for ____longjmp_chk.
3916 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
3917 Likewise.
3918 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
3919 Regenerate.
3920 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3921 Regenerate.
3922 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
3923 Regenerate.
3924 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3925 Regenerate.
3926 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
3927 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
3928 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
3929 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
3930 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
3931 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
3932 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
3933 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
3934 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
3935 * sysdeps/s390/rtld-__longjmp.c: New file.
3936 * sysdeps/s390/rtld-setjmp.S: New file.
3937
eb3fc44b
JM
39382014-01-06 Joseph Myers <joseph@codesourcery.com>
3939
3940 [BZ #16400]
3941 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
3942 Return -__logl (x) for small positive arguments without evaluating
3943 a polynomial.
3944
9341dde4
MF
39452014-01-06 Mike Frysinger <vapier@gentoo.org>
3946
3947 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
3948 Rename to ...
3949 (__ptrace_peeksiginfo_args): ... this.
3950 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
3951 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
3952 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
3953
4cff0293
AM
39542014-01-06 Allan McRae <allan@archlinux.org>
3955
3956 * inet/netinet/in.h: Fix typo in comment.
3957
75595dcf
AJ
39582014-01-05 Andreas Jaeger <aj@suse.de>
3959
3960 * sysdeps/i386/fpu/libm-test-ulps: Update.
3961
79c1e109
AM
39622014-01-05 Allan McRae <allan@archlinux.org>
3963
dd804818
AM
3964 * po/libc.pot: Regenerated.
3965
79c1e109
AM
3966 * malloc/memusagestat.c: Fix gettext call formatting.
3967
0c813d1f
SK
39682014-01-04 Sami Kerola <kerolasa@iki.fi>
3969
3970 * nscd/nscd.c: Improve usage() output.
3971
20f4a8d9
MF
39722014-01-04 Mike Frysinger <vapier@gentoo.org>
3973
3974 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
3975 * sysdeps/unix/sysv/linux/configure: Regenerated.
3976 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
3977 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
3978
22562bb2
JM
39792014-01-03 Joseph Myers <joseph@codesourcery.com>
3980
3981 [BZ #16390]
3982 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
3983 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
3984
d7ad2d9b
AZ
39852014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3986
3987 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
3988 extra tokens at end of #undef directive.
3989 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
3990 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
3991 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
3992
7dd009d8
JM
39932014-01-03 Joseph Myers <joseph@codesourcery.com>
3994
24db925a
JM
3995 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
3996
7dd009d8
JM
3997 * math/auto-libm-test-in: Mark various tests with
3998 xfail-rounding:ldbl-128ibm.
3999 * math/auto-libm-test-out: Regenerated.
4000
396e3ecf
JM
40012014-01-02 Joseph Myers <joseph@codesourcery.com>
4002
819e5d50
JM
4003 [BZ #16386]
4004 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
4005 numbers with subnormal high part when calculating exponent.
4006
90b6a1e5
JM
4007 [BZ #16385]
4008 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
4009 fabs.
4010
396e3ecf
JM
4011 [BZ #16384]
4012 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
4013 M_LN2l.
4014 (__ieee754_acoshl): Use __log1pl not __log1p.
4015
6c8dbf00
OB
40162013-01-02 Ondřej Bílka <neleai@seznam.cz>
4017
4018 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
4019 ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
4020 __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
4021 heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
4022 Convert to GNU style.
4023 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
4024 mem2mem_check, mem2chunk_check, top_check, realloc_check,
4025 memalign_check, __malloc_set_state): Likewise.
4026 * malloc/mallocbug.c (main): Likewise.
4027 * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
4028 do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
4029 mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
4030 _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
4031 musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
4032 * malloc/malloc.h: Likewise.
4033 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
4034 memalignhook, reallochook, mabort): Likewise.
4035 * malloc/mcheck.h: Likewise.
4036 * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
4037 mmap64, mremap, munmap, dest): Likewise.
4038 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
4039 * malloc/morecore.c (__default_morecore): Likewise.
4040 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
4041 * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
4042 _obstack_allocated_p, obstack_free, _obstack_memory_used,
4043 print_and_abort): Likewise.
4044 * malloc/obstack.h: Likewise.
4045 * malloc/set-freeres.c (__libc_freeres): Likewise.
4046 * malloc/tst-mallocstate.c (main): Likewise.
4047 * malloc/tst-mtrace.c (main): Likewise.
4048 * malloc/tst-realloc.c (do_test): Likewise.
4049
d4124212
SP
40502013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4051
9a3c6a6f
SP
4052 [BZ #16366]
4053 * nscd/netgroupcache.c (do_notfound): New function.
4054 (addgetnetgrentX): Use it.
4055
d4124212
SP
4056 [BZ # 16365]
4057 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
4058 NSS_STATUS_NOTFOUND.
4059
97b9a009
JM
40602014-01-01 Joseph Myers <joseph@codesourcery.com>
4061
4062 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
4063 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4064
d4697bc9
AM
40652014-01-01 Allan McRae <allan@archlinux.org>
4066
ddb3687f
AM
4067 * scripts/update-copyrights: Update configure input file suffix.
4068
88726d48
AM
4069 * NEWS: Update copyright year.
4070 * catgets/gencat.c: Likewise.
4071 * csu/version.c: Likewise.
4072 * debug/catchsegv.sh: Likewise.
4073 * debug/pcprofiledump.c: Likewise.
4074 * debug/xtrace.sh: Likewise.
4075 * elf/ldconfig.c: Likewise.
4076 * elf/ldd.bash.in: Likewise.
4077 * elf/pldd.c: Likewise.
4078 * elf/sotruss.ksh: Likewise.
4079 * elf/sprof.c: Likewise.
4080 * iconv/iconv_prog.c: Likewise.
4081 * iconv/iconvconfig.c: Likewise.
4082 * locale/programs/locale.c: Likewise.
4083 * locale/programs/localedef.c: Likewise.
4084 * login/programs/pt_chown.c: Likewise.
4085 * malloc/memusage.sh: Likewise.
4086 * malloc/memusagestat.c: Likewise.
4087 * malloc/mtrace.pl: Likewise.
4088 * manual/libc.texinfo: Likewise.
4089 * nscd/nscd.c: Likewise.
4090 * nss/getent.c: Likewise.
4091 * nss/makedb.c: Likewise.
4092 * posix/getconf.c: Likewise.
4093 * scripts/test-installation.pl: Likewise.
4094
d4697bc9
AM
4095 * All files with FSF copyright notices: Update copyright dates
4096 using scripts/update-copyrights.
4097 * intl/plural.c: Regenerated.
4098 * locale/programs/charmap-kw.h: Likewise.
4099 * locale/programs/locfile-kw.h: Likewise.
4100
c8590f9d
MF
41012013-12-31 Mike Frysinger <vapier@gentoo.org>
4102
4103 * sysdeps/unix/sysv/linux/configure: Regenerated.
4104 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
4105 the linux/fanotify.h header.
4106 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
4107 HAVE_LINUX_FANOTIFY_H is defined.
4108
b19221b9
SP
41092013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
4110
dd1d85e5
SP
4111 * benchtests/cos-inputs: New inputs.
4112 * benchtests/sin-inputs: Likewise.
4113
1acbb90f
SP
4114 * benchtests/atan-inputs: New inputs. Fix name of multiple
4115 precision fallback inputs.
4116
4c012ed3
SP
4117 * benchtests/atanh-inputs: New inputs.
4118 * benchtests/tanh-inputs: Likewise.
4119
eff98324
SP
4120 * benchtests/acosh-inputs: New inputs.
4121 * benchtests/asinh-inputs: Likewise.
4122
ce641152
SP
4123 * benchtests/cosh-inputs: New inputs.
4124 * benchtests/sinh-inputs: Likewise.
4125
b19221b9
SP
4126 * benchtests/acos-inputs: Add more inputs.
4127 * benchtests/asin-inputs: Likewise.
4128
030a4976 41292013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 4130
030a4976 4131 [BZ #16375]
9dcc8f11
VS
4132 * manual/arith.texi: Fix spelling.
4133 * manual/charset.texi: Likewise.
4134 * manual/errno.texi: Likewise.
4135 * manual/filesys.texi: Likewise.
4136 * manual/lang.texi: Likewise.
4137 * manual/llio.texi: Likewise.
4138 * manual/locale.texi: Likewise.
4139 * manual/message.texi: Likewise.
4140 * manual/resource.texi: Likewise.
4141 * manual/search.texi: Likewise.
4142 * manual/setjmp.texi: Likewise.
4143 * manual/stdio.texi: Likewise.
4144 * manual/string.texi: Likewise.
4145 * manual/sysinfo.texi: Likewise.
4146 * manual/time.texi: Likewise.
4147
11520a57
CD
41482013-12-27 Carlos O'Donell <carlos@redhat.com>
4149
4150 * po/sl.po: New file.
4151
471103ae
MF
41522013-12-27 Mike Frysinger <vapier@gentoo.org>
4153
4154 * .gitignore: Add core/.gdbinit/.gdb_history.
4155
6c9642ed
AM
41562013-12-27 Allan McRae <allan@archlinux.org>
4157
4158 [BZ #16369]
4159 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
4160 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
4161
3f637079
BM
41622013-12-24 Brooks Moses <bmoses@google.com>
4163
4164 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
4165 all compilers that claim C++98 compliance, not just GCC.
4166 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
4167 Likewise.
4168
abc26e99
MK
41692013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
4170
4171 * NEWS: Restore accidentally deleted bug-fix entries.
4172
362b47fe
MK
41732013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
4174 Ondřej Bílka <neleai@seznam.cz>
4175
4176 [BZ #15073]
4177 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 4178 have_lock.
362b47fe 4179
b9bcbbcb
OB
41802013-12-23 Ondřej Bílka <neleai@seznam.cz>
4181
4182 [BZ #12986]
4183 * manual/stdio.texi (String Input Conversions): Clarify that character
4184 classes are not supported.
4185
fb55fcd2
AZ
41862013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4187
4188 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4189
ef7344f0
JM
41902013-12-22 Joseph Myers <joseph@codesourcery.com>
4191
4f40e4b3
JM
4192 [BZ #16337]
4193 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
4194 Calculate results for small negative arguments directly rather
4195 than using reflection formula with special underflow handling.
4196
ef7344f0
JM
4197 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
4198 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
4199 sysdeps/unix/bsd/bsd4.4/syscalls.list.
4200 (fchflags): Likewise.
4201 (revoke): Likewise.
4202 (setlogin): Likewise.
4203 (sigaltstack): Likewise.
4204 (wait4): Likewise.
4205 (sigblock): Remove.
4206 (sigsetmask): Likewise.
4207 (wait3): Likewise.
4208 (waitpid): Likewise.
4209 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
4210 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
4211 file.
4212 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
4213 * sysdeps/unix/bsd/Makefile: ... here.
4214 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
4215 * sysdeps/unix/bsd/Versions: ... here.
4216 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
4217 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
4218 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
4219 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
4220 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
4221 * sysdeps/unix/bsd/sigblock.c: ... here.
4222 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
4223 * sysdeps/unix/bsd/sigsetmask.c: ... here.
4224 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
4225 * sysdeps/unix/bsd/sigvec.c: ... here.
4226 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
4227 * sysdeps/unix/bsd/tcdrain.c: ... here.
4228 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
4229 * sysdeps/unix/bsd/tcgetattr.c: ... here.
4230 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
4231 * sysdeps/unix/bsd/tcsetattr.c: ... here.
4232 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
4233 * sysdeps/unix/bsd/wait.c: ... here.
4234 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
4235 * sysdeps/unix/bsd/wait3.c: ... here.
4236 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
4237 * sysdeps/unix/bsd/waitpid.c: ... here.
4238
5b0626b9
JM
42392013-12-21 Joseph Myers <joseph@codesourcery.com>
4240
4241 [BZ #16356]
4242 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
4243 round-to-nearest for [!USE_AS_EXPM1L].
4244 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
4245 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
4246 more tests of exp and exp10. Expect some exp10 tests to miss
4247 exceptions or fail in directed rounding modes.
4248 * math/auto-libm-test-out: Regenerated.
4249 * math/libm-test.inc (exp10_tonearest_test_data): New array.
4250 (exp10_test_tonearest): New function.
4251 (exp10_towardzero_test_data): New array.
4252 (exp10_test_towardzero): New function.
4253 (exp10_downward_test_data): New array.
4254 (exp10_test_downward): New function.
4255 (exp10_upward_test_data): New array.
4256 (exp10_test_upward): New function.
4257 (main): Call the new functions.
4258 * sysdeps/i386/fpu/libm-test-ulps: Update.
4259 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4260
7fda5682
JM
42612013-12-20 Joseph Myers <joseph@codesourcery.com>
4262
31e3a405
JM
4263 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
4264 asinh, atan, atan2, atanh, cbrt, cos and cosh.
4265 * math/auto-libm-test-out: Regenerated.
4266 * math/libm-test.inc (acosh_test_data): Add more tests.
4267 (atanh_test_data): Likewise.
4268 (ceil_test_data): Likewise.
4269 (copysign_test_data): Likewise.
4270 * sysdeps/i386/fpu/libm-test-ulps: Update.
4271 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4272
85bff96a
JM
4273 * timezone/checktab.awk: Update from tzcode 2013i.
4274 * timezone/private.h: Likewise.
4275 * timezone/scheck.c: Likewise.
4276 * timezone/tzfile.h: Likewise.
4277 * timezone/tzselect.ksh: Likewise.
4278 * timezone/zdump.c: Likewise.
4279 * timezone/zic.c: Likewise.
4280
b7867a3b
JM
4281 * math/auto-libm-test-in: Add tests of cpow.
4282 * math/auto-libm-test-out: Regenerated.
4283 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
4284 * * math/gen-auto-libm-tests.c (func_calc_method): Add value
4285 mpc_cc_c.
4286 (func_calc_desc): Add mpc_cc_c union field.
4287 (test_functions): Add cpow.
4288 (special_fill_2pi): New function.
4289 (special_real_inputs): Add 2pi.
4290 (calc_generic_results): Handle mpc_cc_c.
4291 * sysdeps/i386/fpu/libm-test-ulps: Update.
4292 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4293
7fda5682
JM
4294 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
4295 csqrt, ctan and ctanh.
4296 * math/auto-libm-test-out: Regenerated.
4297 * math/libm-test.inc (TEST_COND_x86_64): New macro.
4298 (TEST_COND_x86): Likewise.
4299 (ccos_test_data): Use AUTO_TESTS_c_c.
4300 (ccosh_test_data): Likewise.
4301 (cexp_test_data): Likewise.
4302 (clog_test_data): Likewise.
4303 (csqrt_test_data): Likewise.
4304 (ctan_test_data): Likewise.
4305 (ctan_tonearest_test_data): Likewise.
4306 (ctan_towardzero_test_data): Likewise.
4307 (ctan_downward_test_data): Likewise.
4308 (ctan_upward_test_data): Likewise.
4309 (ctanh_test_data): Likewise.
4310 (ctanh_tonearest_test_data): Likewise.
4311 (ctanh_towardzero_test_data): Likewise.
4312 (ctanh_downward_test_data): Likewise.
4313 (ctanh_upward_test_data): Likewise.
4314 * math/gen-auto-libm-tests.c (func_calc_method): Add value
4315 mpc_c_c.
4316 (func_calc_desc): Add mpc_c_c union field.
4317 (FUNC_mpc_c_c): New macro.
4318 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
4319 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
4320 ctanh.
4321 (special_fill_min_subnorm_p120): New function.
4322 (special_real_inputs): Add min_subnorm_p120.
4323 (calc_generic_results): Handle mpc_c_c.
4324 * sysdeps/i386/fpu/libm-test-ulps: Update.
4325 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4326
5ff8d60e
SP
43272013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
4328
392dd2de
SP
4329 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
4330 do_sin_slow): New functions.
4331 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
4332 cslow2, csloww1, csloww2): Use the new functions.
4333
84ba214c
SP
4334 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
4335 Use M to change sign of result instead of X. Assume X is
4336 positive.
4337 (csloww1): Likewise.
4338 (__sin): Adjust.
4339 (__cos): Adjust.
4340
975195e4
SP
4341 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
4342 arguments A and DA.
4343 (__sin): Adjust.
4344 (__cos): Likewise.
4345
5ff8d60e
SP
4346 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
4347 (__cos): Likewise.
4348 (sloww1): Don't adjust sign of DX.
4349 (csloww1): Likewise.
4350 (sloww2): Use X directly and don't adjust sign of DX.
4351 (csloww2): Likewise.
4352
eb983568
JM
43532013-12-19 Joseph Myers <joseph@codesourcery.com>
4354
64a17f1a
JM
4355 * math/auto-libm-test-in: Add tests of cabs and carg.
4356 * math/auto-libm-test-out: Regenerated.
4357 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
4358 (carg_test_data): Likewise.
4359 * math/gen-auto-libm-tests.c (func_calc_method): Add value
4360 mpc_c_f.
4361 (func_calc_desc): Add mpc_c_f union field.
4362 (test_functions): Add cabs and carg.
4363 (calc_generic_results): Handle mpc_c_f.
4364
eb983568
JM
4365 * sysdeps/powerpc/powerpc32/libgcc-compat.S
4366 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
4367 as a macro and a compat symbol.
4368 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
4369 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
4370 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
4371 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
4372 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
4373 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
4374 not use .hidden.
4375 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
4376 Likewise.
4377 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
4378 Likewise.
4379 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
4380 Likewise.
4381 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
4382 Likewise.
4383 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
4384 Likewise.
4385 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
4386 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
4387 from GLIBC_2.3.2.
4388
6eeb678a
AZ
43892013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4390
4391 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4392
6f6fc482
JM
43932013-12-19 Joseph Myers <joseph@codesourcery.com>
4394
21fea2e2
JM
4395 * manual/texinfo.tex: Update to version 2013-11-26.10 with
4396 trailing whitespace removed.
4397 * scripts/config.guess: Update to version 2013-11-29.
4398 * scripts/config.sub: Update to version 2013-10-01.
4399
6f6fc482
JM
4400 * math/auto-libm-test-in: Add tests of sincos.
4401 * math/auto-libm-test-out: Regenerated.
4402 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
4403 * math/gen-auto-libm-tests.c (func_calc_method): Add value
4404 mpfr_f_11.
4405 (func_calc_desc): Add mpfr_f_11 union field.
4406 (test_functions): Add sincos.
4407 (calc_generic_results): Handle mpfr_f_11.
4408 * sysdeps/i386/fpu/libm-test-ulps: Update.
4409 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4410
83f5c32d
AS
44112013-12-19 Andreas Schwab <schwab@suse.de>
4412
4413 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
4414 CALL_MCOUNT.
4415 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
4416 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
4417 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
4418
c688b419
JM
44192013-12-19 Joseph Myers <joseph@codesourcery.com>
4420
335ee092
JM
4421 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
4422 * sysdeps/i386/fpu/libm-test-ulps: Update.
4423 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4424
f88acd39
JM
4425 [BZ #16293]
4426 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
4427 round-to-nearest mode when using frndint.
4428 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
4429 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
4430 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
4431 Likewise.
4432 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
4433 sinh test to fail.
4434 * math/auto-libm-test-out: Regenerated.
4435 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
4436 (TEST_COND_x86): Likewise.
4437 (expm1_tonearest_test_data): New array.
4438 (expm1_test_tonearest): New function.
4439 (expm1_towardzero_test_data): New array.
4440 (expm1_test_towardzero): New function.
4441 (expm1_downward_test_data): New array.
4442 (expm1_test_downward): New function.
4443 (expm1_upward_test_data): New array.
4444 (expm1_test_upward): New function.
4445 (main): Run the new test functions.
4446 * sysdeps/i386/fpu/libm-test-ulps: Update.
4447 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4448
c688b419
JM
4449 * include/features.h: Update comment documenting feature test
4450 macros. Mention _DEFAULT_SOURCE in comment.
4451 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
4452 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
4453 _BSD_SOURCE and _SVID_SOURCE.
4454 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
4455 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
4456 !_SVID_SOURCE]: Likewise.
4457 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
4458 (__USE_POSIX_IMPLICITLY): Define.
4459 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
4460 (_POSIX_SOURCE): Undefine and redefine.
4461 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
4462 (_POSIX_C_SOURCE): Likewise.
4463 * manual/creature.texi (_DEFAULT_SOURCE): Document.
4464 (Feature Test Macros): Update documentation of default features.
4465
9f6e964c
RS
44662013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4467
4468 * benchtests/Makefile: Add bench-strtok.
4469 * benchtests/bench-strtok.c: New file: strtok benchtest.
4470
ee0a148a
AM
44712013-12-19 Allan McRae <allan@archlinux.org>
4472
4473 * manual/install.texi: Suppress menu for plain text output.
4474 * INSTALL: Regenerated.
4475
b9ab448f
BM
44762013-12-18 Brooks Moses <bmoses@google.com>
4477
4478 [BZ #15846]
4479 * misc/getauxval.c: Include errno.h.
4480 (__getauxval): Set errno to ENOENT if the requested type is not
4481 found.
4482 * misc/sys/auxv.h (getauxval): Document that it may set errno;
4483 don't declare with __attribute_const__.
4484 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
4485 * manual/startup.texi: Document that getauxval sets errno.
4486
23776487
JM
44872013-12-18 Joseph Myers <joseph@codesourcery.com>
4488
f889953b
JM
4489 * math/auto-libm-test-in: Add tests of jn and yn.
4490 * math/auto-libm-test-out: Regenerated.
4491 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
4492 (yn_test_data): Likewise.
4493 * math/gen-auto-libm-tests.c (func_calc_method): Add value
4494 mpfr_if_f.
4495 (func_calc_desc): Add mpfr_if_f union field.
4496 (FUNC_mpfr_if_f): New macro.
4497 (test_functions): Add jn and yn.
4498 (calc_generic_results): Assert type of second input for
4499 mpfr_ff_f. Handle mpfr_if_f.
4500 (output_for_one_input_case): Disable all checking for arguments
4501 fitting floating-point types in case of an integer argument.
4502 * sysdeps/i386/fpu/libm-test-ulps: Update.
4503 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4504
23776487
JM
4505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
4506 Don't expect fegetround reference in libm.so.
4507
cb756c6d
MS
45082013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4509
4510 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
4511 $(config-cflags-nofma).
4512
2dec468f
JM
45132013-12-18 Joseph Myers <joseph@codesourcery.com>
4514
5953eb3a
JM
4515 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
4516 * math/auto-libm-test-out: Regenerated.
4517
2dec468f
JM
4518 [BZ #16338]
4519 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
4520 to determine exponent and adjust argument to have exponent of -1.
4521 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
4522 log2.
4523 * math/auto-libm-test-out: Regenerated.
4524 * sysdeps/i386/fpu/libm-test-ulps: Update.
4525 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4526
4d84e6ad
OB
45272013-12-18 Ondřej Bílka <neleai@seznam.cz>
4528
4529 * manual/probes.texi: Remove cases when per-thread arenas are
4530 disabled.
4531
1818483b
AS
45322013-12-18 Andreas Schwab <schwab@suse.de>
4533
4534 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
4535 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
4536 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
4537 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
4538 * sysdeps/i386/i686/multiarch/Makefile: Update.
4539 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
4540
25de95bf
JM
45412013-12-17 Joseph Myers <joseph@codesourcery.com>
4542
4543 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
4544 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
4545
674762d9
PE
45462013-12-17 Paul Eggert <eggert@cs.ucla.edu>
4547
ed27ed83 4548 [BZ #15968]
0748546f
PE
4549 Support TZ transition times < 00:00:00.
4550 This is needed for version-3 tz-format files; it supports time
4551 stamps past 2037 for America/Godthab (the only entry in the tz
4552 database for which this change is relevant).
4553 * manual/time.texi (TZ Variable): Document transition times
4554 from -167:59:59 through -00:00:01.
4555 * time/tzset.c (tz_rule): Time of day is now signed.
4556 (__tzset_parse_tz): Parse negative time of day.
4557
4480e934
PE
4558 Document TZ transition times >= 25:00:00.
4559 * manual/time.texi (TZ Variable): Document transition times from
4560 25:00:00 through 167:59:59. These are already supported, and this
4561 support will help with version-3 tz-format files.
4562
69947401
PE
4563 * manual/time.texi (TZ Variable): Modernize North America example
4564 to reflect current (i.e., 2007-and-later) daylight saving rules.
4565
674762d9
PE
4566 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
4567
7011c262
JM
45682013-12-17 Joseph Myers <joseph@codesourcery.com>
4569
2fc6557e
JM
4570 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
4571 * sysdeps/unix/bsd/bits/stat.h: Likewise.
4572 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
4573 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
4574 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
4575 * sysdeps/unix/bsd/bsdstat.h: Likewise.
4576 * sysdeps/unix/bsd/clock.c: Likewise.
4577 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
4578 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
4579 * sysdeps/unix/bsd/init-posix.c: Likewise.
4580 * sysdeps/unix/bsd/poll.c: Likewise.
4581 * sysdeps/unix/bsd/ptsname.c: Likewise.
4582 * sysdeps/unix/bsd/seekdir.c: Likewise.
4583 * sysdeps/unix/bsd/setegid.c: Likewise.
4584 * sysdeps/unix/bsd/seteuid.c: Likewise.
4585 * sysdeps/unix/bsd/setgid.c: Likewise.
4586 * sysdeps/unix/bsd/setrgid.c: Likewise.
4587 * sysdeps/unix/bsd/setruid.c: Likewise.
4588 * sysdeps/unix/bsd/setsid.c: Likewise.
4589 * sysdeps/unix/bsd/setuid.c: Likewise.
4590 * sysdeps/unix/bsd/sigaction.c: Likewise.
4591 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
4592 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
4593 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
4594 * sysdeps/unix/bsd/telldir.c: Likewise.
4595 * sysdeps/unix/bsd/times.c: Likewise.
4596 * sysdeps/unix/bsd/usleep.c: Likewise.
4597
029c7b25
JM
4598 * misc/Makefile (install-lib): Remove libbsd-compat.a.
4599 ($(objpfx)libbsd-compat.a): Remove rule.
4600
7011c262
JM
4601 * include/features.h (__FAVOR_BSD): Do not define.
4602 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
4603 features conflicting with POSIX.
4604 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
4605 (_BSD_SOURCE): Remove description of not being a subset of other
4606 feature test macros.
4607 * manual/job.texi (getpgrp): Do not document BSD version.
4608 (getpgid): Do not document by reference to BSD getpgrp.
4609 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
4610 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
4611 * signal/signal.h [__FAVOR_BSD]: Likewise.
4612 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
4613 instead of making contents conditional on [__FAVOR_BSD].
4614 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
4615
affb6f78
AZ
46162013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4617
4618 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4619
c88769dd
JM
46202013-12-17 Joseph Myers <joseph@codesourcery.com>
4621
6432a540
JM
4622 [BZ #16314]
4623 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
4624 values below 2**-450, not 2**-500.
4625 * math/auto-libm-test-in: Don't allow spurious underflow from
4626 hypot.
4627 * math/auto-libm-test-out: Regenerated.
4628
c88769dd
JM
4629 [BZ #16316]
4630 [BZ #16330]
4631 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
4632 values of ha and hb and sort them after adjusting subnormal
4633 arguments.
4634 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
4635 Likewise.
4636 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
4637 values of ea and eb and sort them after adjusting subnormal
4638 arguments.
4639 * math/auto-libm-test-in: Do not expect some hypot tests of
4640 subnormals to fail. Add more hypot tests.
4641 * math/auto-libm-test-out: Regenerated.
4642
29618f6b
KK
46432013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4644
4645 [BZ #13304]
4646 * sysdeps/sh/s_fma.c: New file.
4647 * sysdeps/sh/s_fmaf.c: New file.
4648 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
4649 version.
4650 * sysdeps/sh/Implies: Add sh/soft-fp.
4651
eacfdfbf
RM
46522013-12-16 Roland McGrath <roland@hack.frob.com>
4653
4654 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
4655 level of indirection to members `objname', `errstring', `malloced'.
4656 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
4657 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
4658 it as the __longjmp argument (just pass 1 instead).
4659 (_dl_catch_error): Initialize C with argument pointers and address of
4660 volatile local ERRCODE rather than copying values out of C at return.
4661
ff362e5b
JM
46622013-12-16 Joseph Myers <joseph@codesourcery.com>
4663
4664 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
4665 * math/auto-libm-test-out: Regenerated.
4666 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
4667 (hypot_test_data): Likewise.
4668 (pow_test_data): Likewise.
4669 (pow_tonearest_test_data): Likewise.
4670 * math/gen-auto-libm-tests.c (func_calc_method): Add value
4671 mpfr_ff_f.
4672 (func_calc_desc): Add mpfr_ff_f union field.
4673 (FUNC_mpfr_ff_f): New macro.
4674 (test_functions): Add atan2, hypot and pow.
4675 (special_fill_min): New function.
4676 (special_fill_minus_min): Likewise.
4677 (special_fill_min_subnorm): Likewise.
4678 (special_fill_minus_min_subnorm): Likewise.
4679 (special_real_inputs): Add min, -min, min_subnorm and
4680 -min_subnorm.
4681 (calc_generic_results): Handle mpfr_ff_f.
4682 * sysdeps/i386/fpu/libm-test-ulps: Update.
4683 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4684
5764c27f
WN
46852013-12-16 Will Newton <will.newton@linaro.org>
4686
4687 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
4688 (Aligned Memory Blocks): Add documentation for aligned_alloc
4689 and suggest it as an alternative to posix_memalign.
4690 (Hooks for Malloc): Document __memalign_hook is also called
4691 for aligned_alloc. (Summary of Malloc): Add summary for
4692 aligned alloc. Document __memalign_hook is also called
4693 for aligned_alloc.
4694
0a096e44
WN
46952013-12-16 Will Newton <will.newton@linaro.org>
4696
4697 * manual/memory.texi (Malloc Examples): Clarify default
4698 alignment documentation. Suggest posix_memalign rather
4699 than memalign or valloc.
4700 (Aligned Memory Blocks): Remove suggestion to use memalign
4701 or valloc. Remove obsolete comment about BSD.
4702 Document memalign errno values and mark the function obsolete.
4703 Document posix_memalign returned error codes. Mark valloc
4704 as obsolete. (Hooks for Malloc): __memalign_hook is also
4705 called for posix_memalign and valloc.
4706 (Summary of Malloc): Add posix_memalign to function summary.
4707 __memalign_hook is also called for posix_memalign and valloc.
4708
8d561986
SP
47092013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4710
4711 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
4712 TAYLOR_SIN.
4713 (__sin): Adjust.
4714 (__cos): Likewise.
4715 (sloww): Use mynumber union. Expand ternary operator into
4716 if-else statements.
4717 (cslow): use mynumber union.
4718
73616a74
AM
47192013-12-16 Allan McRae <allan@archlinux.org>
4720
9e8ac24b
AM
4721 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
4722 * configure: Regenerated.
4723
6f8e37eb
AM
4724 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
4725
8894bad3
AM
4726 [BZ #14120]
4727 * configure.ac: Added --enable-maintainer-mode. Check for
4728 autoconf when enabled.
4729 * configure: Regenerated.
4730
73616a74
AM
4731 * nscd/nscd.service: New file.
4732 * nscd/nscd.tmpfiles: New file.
4733
584b18eb
OB
47342013-12-14 Ondřej Bílka <neleai@seznam.cz>
4735
4736 [BZ #12100]
4737 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
4738 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
4739 * sysdeps/x86_64/multiarch/strstr.c: ... here.
4740 (strstr): Add __strstr_sse2_unaligned ifunc.
4741 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
4742 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
4743 (strcasestr): Remove __strcasestr_sse42 ifunc.
4744 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
4745 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
4746 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
4747
8a5c7897
KK
47482013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4749
4750 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
4751 * sysdeps/sh/bits/fenv.h: ... here.
4752 * sysdeps/sh/sh4/fpu/bits: Remove directory.
4753
fd712ef3
AZ
47542013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4755
4756 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
4757
42fcb46c
AZ
47582013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4759
4760 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
4761 hypotf multiarch implementations.
4762 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
4763 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
4764 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
4765 multiarch hypot for PPC64.
4766 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
4767 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
4768 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
4769 multiarch hypotf for PPC64.
4770
83efded4
AZ
47712013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4772
4773 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
4774 modff multiarch implementations.
4775 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
4776 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
4777 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
4778 multiarch modf for PPC64.
4779 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
4780 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
4781 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
4782 multiarch modff for PPC64.
4783
43e246d2
AZ
47842013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4785
4786 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
4787 and logl multiarch implementations.
4788 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
4789 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
4790 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
4791 multiarch logb for PPC64.
4792 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
4793 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
4794 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
4795 multiarch logb for PPC64.
4796 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
4797 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
4798 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
4799 multiarch logb for PPC64.
4800
8fdad123
AZ
48012013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4802
4803 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
4804 isinff multiarch implementation.
4805 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
4806 file.
4807 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
4808 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
4809 multiarch isinf for PPC64.
4810 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
4811 file.
4812 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
4813 multiarch isinff for PPC64.
4814
1481d706
AZ
48152013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4816
4817 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
4818 finitef multiarch implementation.
4819 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
4820 file.
4821 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
4822 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
4823 multiarch finite for PPC64.
4824 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
4825 file.
4826 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
4827 multiarch finitef for PPC64.
4828
5ccd5fc8
AZ
48292013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4830
4831 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
4832 lrint multiarch implementation.
4833 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
4834 file.
4835 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
4836 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
4837 multiarch llrint for PPC64.
4838 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
4839 multiarch lrint for PPC64.
4840
2568f3fa
AZ
48412013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4842
4843 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
4844 copysignf multiarch implementation.
4845 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
4846 file.
4847 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
4848 file.
4849 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
4850 multiarch copysign for PPC64.
4851 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
4852 multiarch copysignf for PPC64.
4853
1cb341fd
AZ
48542013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4855
4856 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
4857 multiarch implementation.
4858 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
4859 file.
4860 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
4861 file.
4862 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
4863 file.
4864 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
4865 file.
4866 multiarch llround for PPC64.
4867 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
4868 multiarch trunc for PPC64.
4869 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
4870 multiarch truncf for PPC64.
4871
59a3e194
AZ
48722013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4873
4874 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
4875 multiarch implementation.
4876 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
4877 file.
4878 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
4879 file.
4880 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
4881 file.
4882 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
4883 file.
4884 multiarch llround for PPC64.
4885 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
4886 multiarch round for PPC64.
4887 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
4888 multiarch roundf for PPC64.
4889
357fd3b4
AZ
48902013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4891
4892 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
4893 multiarch implementation.
4894 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
4895 file.
4896 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
4897 file.
4898 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
4899 file.
4900 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
4901 file.
4902 multiarch llround for PPC64.
4903 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
4904 multiarch floor for PPC64.
4905 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
4906 multiarch floorf for PPC64.
4907
96770f12
AZ
49082013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4909
4910 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
4911 multiarch implementation.
4912 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
4913 file.
4914 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
4915 file.
4916 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
4917 file.
4918 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
4919 file.
4920 multiarch llround for PPC64.
4921 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
4922 multiarch ceil for PPC64.
4923 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
4924 multiarch ceilf for PPC64.
4925
c3627f6e
AZ
49262013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4927
4928 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
4929 multiarch implementation.
4930 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
4931 file.
4932 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
4933 file.
4934 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
4935 file.
4936 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
4937 multiarch llround for PPC64.
4938 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
4939 multiarch lround for PPC64.
4940
b2284ad7
AZ
49412013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4942
4943 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
4944 multiarch implementation.
4945 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
4946 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
4947 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
4948 file.
4949 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
4950 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
4951 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
4952 multiarch isnan for PPC64.
4953 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
4954 multiarch isnanf for PPC64.
4955
69bbc63d
AZ
49562013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4957
4958 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
4959 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
4960 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
4961 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
4962 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
4963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
4964
c24517c9
AZ
49652013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4966
4967 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
4968 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
4969 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4970 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
4971
a52374e8
AZ
49722013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4973
4974 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
4975 multiarch implementations.
4976 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4977 (__libc_ifunc_impl_list): Likewise.
4978 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
4979 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
4980 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
4981 multiarch stpcpy for PPC64.
4982
7f5ec113
AZ
49832013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4984
4985 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
4986 multiarch implementations.
4987 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4988 (__libc_ifunc_impl_list): Likewise.
4989 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
4990 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
4991 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
4992 multiarch strcpy for PPC64.
4993
e28bcd42
AZ
49942013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4995
4996 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
4997 redefine function name.
4998 (_wordcopy_fwd_dest_aligned): Likewise.
4999 (_wordcopy_bwd_aligned): Likewise.
5000 (_wordcopy_bwd_dest_aligned): Likewise.
5001 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
5002 multiarch implementations.
5003 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5004 (__libc_ifunc_impl_list): Likewise.
5005 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
5006 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
5007 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
5008 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
5009 multiarch wcscpy for PPC64.
5010
92cacfce
AZ
50112013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5012
5013 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
5014 multiarch implementations.
5015 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5016 (__libc_ifunc_impl_list): Likewise.
5017 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
5018 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
5019 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
5020 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
5021 multiarch wcscpy for PPC64.
5022
7b714620
AZ
50232013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5024
5025 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
5026 multiarch implementations.
5027 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5028 (__libc_ifunc_impl_list): Likewise.
5029 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
5030 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
5031 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
5032 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
5033 multiarch wcsrchr for PPC64.
5034
16fd2ae3
AZ
50352013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5036
5037 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
5038 multiarch implementations.
5039 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5040 (__libc_ifunc_impl_list): Likewise.
5041 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
5042 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
5043 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
5044 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
5045 multiarch wcschr for PPC64.
5046
9ee2969b
AZ
50472013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5048
5049 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
5050 multiarch implementations.
5051 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5052 (__libc_ifunc_impl_list): Likewise.
5053 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
5054 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
5055 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
5056 multiarch strchrnul for PPC64.
5057
372dc060
AZ
50582013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5059
5060 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
5061 implementations.
5062 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5063 (__libc_ifunc_impl_list): Likewise.
5064 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
5065 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
5066 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
5067 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
5068 strchr for PPC64.
5069
24c2c3b9
AZ
50702013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5071
5072 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
5073 implementations.
5074 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5075 (__libc_ifunc_impl_list): Likewise.
5076 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
5077 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
5078 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
5079 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
5080 strncmp for PPC64.
5081
1c92d9a0
AZ
50822013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5083
5084 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
5085 multiarch implementations.
5086 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5087 (__libc_ifunc_impl_list): Likewise.
5088 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
5089 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
5090 strncasecmp for PPC64.
5091 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
5092 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
5093 multiarch strncasecmp_l for PPC64.
5094
17de3ee3
AZ
50952013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5096
5097 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
5098 multiarch implementations.
5099 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5100 (__libc_ifunc_impl_list): Likewise.
5101 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
5102 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
5103 multiarch strcasecmp for PPC64.
5104 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
5105 file.
5106 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
5107 multiarch strcasecmp_l for PPC64.
5108
62982bf9
AZ
51092013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5110
5111 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
5112 implementations.
5113 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5114 (__libc_ifunc_impl_list): Likewise.
5115 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
5116 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
5117 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
5118 strnlen for PPC64.
5119
a65f4904
AZ
51202013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5121
5122 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
5123 implementations.
5124 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5125 (__libc_ifunc_impl_list): Likewise.
5126 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
5127 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
5128 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
5129 strlen for PPC64.
5130
1fd005ad
AZ
51312013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5132
5133 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
5134 implementations.
5135 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5136 (__libc_ifunc_impl_list): Likewise.
5137 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
5138 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
5139 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
5140 rawmemrchr for PPC64.
5141
cd05ba91
AZ
51422013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5143
5144 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
5145 implementation.
5146 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5147 (__libc_ifunc_impl_list): Likewise.
5148 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
5149 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
5150 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
5151 memrchr for PPC64.
5152
870f8676
AZ
51532013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5154
5155 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
5156 implementation.
5157 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5158 (__libc_ifunc_impl_list): Likewise.
5159 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
5160 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
5161 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
5162 memchr for PPC64.
5163
f00be62b
AZ
51642013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5165
5166 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
5167 implementation.
5168 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5169 (__libc_ifunc_impl_list): Likewise.
5170 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
5171 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
5172 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
5173 mempcpy for PPC64.
5174
8a29a3d0
AZ
51752013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5176
5177 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
5178 avoid cretion of __bzero symbol.
5179 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
5180 Likewise.
5181 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
5182 Likewise.
5183 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
5184 Likewise.
5185 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
5186 multiarch implementations.
5187 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5188 (__libc_ifunc_impl_list): Likewise.
5189 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
5190 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
5191 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
5192 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
5193 bzero for PPC32.
5194 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
5195 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
5196 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
5197 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
5198 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
5199 memset for PPC64.
5200 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
5201
07253fcf
AZ
52022013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5203
5204 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
5205 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
5206 implementations.
5207 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5208 (__libc_ifunc_impl_list): Likewise.
5209 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
5210 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
5211 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
5212 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
5213 memcmp for PPC64.
5214
b5beafbc
AZ
52152013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5216
5217 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
5218 multiarch for POWER/PPC64.
5219 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
5220 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
5221 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
5222 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
5223 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
5224 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
5225 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
5226 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
5227 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
5228 memcpy for PPC64.
5229
5e6a4d4b
AZ
52302013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5231
5232 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
5233 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
5234 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
5235 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
5236 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
5237 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
5238 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
5239 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
5240 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
5241 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
5242 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
5243 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
5244 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
5245 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
5246 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
5247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
5248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
5249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
5250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
5251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
5252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
5253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
5254
ddfab6dc
KK
52552013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5256
5257 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
5258
19b5525e
SP
52592013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5260
5261 * benchtests/Makefile (bench): Add exp2 and log2.
5262 (LDLIBS-bench-exp2): Add -lm.
5263 (LDLIBS-bench-log2): Likewise.
5264 * benchtests/exp2-inputs: New inputs file.
5265 * benchtests/log2-inputs: New inputs file.
5266 * benchtests/log-inputs: Add new inputs.
5267 * benchtests/tan-inputs: Likewise.
5268
196f7f5d
SP
52692013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5270
7a74607f
SP
5271 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
5272 definition...
5273 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
5274 csloww1, csloww2): ... from here.
5275
196f7f5d
SP
5276 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
5277 instead of structures.
5278 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
5279 (POLYNOMIAL): Likewise.
5280 (TAYLOR_SLOW): Likewise.
5281 (__sin): Likewise.
5282 (__cos): Likewise.
5283 (slow1): Likewise.
5284 (slow2): Likewise.
5285 (sloww): Likewise.
5286 (sloww1); Likewise.
5287 (sloww2): Likewise.
5288 (bsloww1): Likewise.
5289 (bsloww2): Likewise.
5290 (cslow2): Likewise.
5291 (csloww): Likewise.
5292 (csloww1): Likewise.
5293 (csloww2): Likewise.
5294
0dfa665c
OB
52952013-12-10 Ondřej Bílka <neleai@seznam.cz>
5296
5297 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
5298 (__malloc_assert, __libc_realloc, __libc_calloc,
5299 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
5300 memcpy and memset.
5301 * malloc/hooks.c (realloc_check): Likewise.
5302
5782a80f
OB
53032013-12-10 Ondřej Bílka <neleai@seznam.cz>
5304
5305 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
5306 * malloc/arena.c: Remove PER_THREAD conditional.
5307 [!PER_THREAD]: Remove code.
5308 (ptmalloc_unlock_all2): Likewise.
5309 (ptmalloc_init): Likewise.
5310 (_int_new_arena): Likewise.
5311 (arena_get2): Likewise.
5312 * malloc/hooks.c (__malloc_get_state): Likewise.
5313 (__malloc_set_state): Likewise.
5314 * malloc/malloc.c: Likewise.
5315 (struct malloc_state): Likewise.
5316 (struct malloc_par): Likewise.
5317 (__libc_realloc): Likewise.
5318 (__libc_mallopt): Likewise.
5319
aeb95445
AZ
53202013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5321
5322 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
5323
e8349efd
OB
53242013-12-09 Ondřej Bílka <neleai@seznam.cz>
5325
5326 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
5327 macro to a function. Check for zero perturb_byte.
5328 (_int_malloc, _int_free): Remove zero perturb_byte checks.
5329
f3eeb3fc
OB
53302013-12-09 Ondřej Bílka <neleai@seznam.cz>
5331
5332 * malloc/malloc.c: (force_reg): Remove.
5333 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
5334 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
5335 force_reg by atomic_forced_read.
5336 * malloc/arena.c (ptmalloc_init): Likewise.
5337 * malloc/hooks.c (top_check): Likewise.
5338
be2f9009
AZ
53392013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5340
5341 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5342
e7b914bd
MT
53432013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
5344
5345 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5346
9f0be4f8
JM
53472013-12-08 Joseph Myers <joseph@codesourcery.com>
5348
5349 * math/auto-libm-test-in: Add tests of lgamma.
5350 * math/auto-libm-test-out: Regenerated.
5351 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
5352 (M_LOG_2_SQRT_PIl): Likewise.
5353 (lgamma_test_data): Use AUTO_TESTS_f_f1.
5354 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5355 mpfr_f_f1.
5356 (func_calc_desc): Add mpfr_f_f1 union field.
5357 (ARGS1): New macro.
5358 (ARGS2): Likewise.
5359 (ARGS3): Likewise.
5360 (ARGS4): Likewise.
5361 (RET1): Likewise.
5362 (RET2): Likewise.
5363 (CALC): Likewise.
5364 (FUNC): Likewise.
5365 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
5366 (test_functions): Add lgamma.
5367 (calc_generic_results): Handle mpfr_f_f1.
5368 * sysdeps/i386/fpu/libm-test-ulps: Update.
5369 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5370
24eeafdb
AZ
53712013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5372
5373 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
5374 __mpn_add_n for PowerPC64/POWER7.
5375 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
5376 __mpn_sub_n for PowerPC64/POWER7.
5377
4a2c0fd4
AZ
53782013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5379
5380 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
5381 __mpn_addmul_1 for PowerPC64.
5382 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
5383 __mpn_submul_1 for PowerPC64.
5384 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
5385 for PowerPC64.
5386 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
5387 for PowerPC64.
5388
4b5b548c
FS
53892013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
5390
5391 [BZ #15089]
5392 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
5393
0a3ac0aa
AZ
53942013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5395
5396 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
5397
ccdc8438
AZ
53982013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5399
5400 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
5401 add multiarch folders.
5402 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
5403 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
5404 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
5405 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
5406 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
5407 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
5408 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
5409 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
5410 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
5411 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
5412 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
5413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
5414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
5415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
5416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
5417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
5418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
5419
2e973d99
AZ
54202013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5421
5422 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
5423 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
5424 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
5425 New file.
5426 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
5427 New file.
5428 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
5429 multiarch __ieee754_hypot for PowerPC32.
5430 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
5431 New file.
5432 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
5433 New file.
5434 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
5435 multiarch __ieee754_hypotf for PowerPC32.
5436
2d9470b2
AZ
54372013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5438
5439 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
5440 long_double_symbol only if __logbl is defined.
5441 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
5442 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
5443 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
5444 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
5445 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
5446 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
5447 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
5448 path for implementation.
5449 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
5450 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
5451 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
5452 logb, and logbl multiarch implementations for PowerPC32.
5453 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
5454 file.
5455 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
5456 file.
5457 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
5458 multiarch logb for PowerPC32.
5459 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
5460 file.
5461 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
5462 file.
5463 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
5464 multiarch logbf for PowerPC32.
5465 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
5466 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
5467 file.
5468 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
5469 multiarch logbl implementation for PowerPC32.
5470
5212ffce
AZ
54712013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5472
5473 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
5474 and modff multiarch implementations.
5475 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
5476 New file.
5477 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
5478 New file.
5479 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
5480 multiarch modf for PowerPC32.
5481 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
5482 New file.
5483 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
5484 New file.
5485 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
5486 multiarch modff for PowerPC32.
5487
79dccf31
AZ
54882013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5489
5490 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
5491 and lrintf multiarch implementations.
5492 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
5493 New file.
5494 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
5495 New file.
5496 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
5497 multiarch lrint for PowerPC32.
5498 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
5499 file: multiarch lrintf for PowerPC32.
5500
deb66480
AZ
55012013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5502
5503 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
5504 and lroundf multiarch implementations.
5505 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
5506 New file.
5507 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
5508 New file.
5509 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
5510 New file.
5511 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
5512 multiarch lround for PowerPC32.
5513 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
5514 file: multiarch lroundf for PowerPC32.
5515
264b036b
AZ
55162013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5517
5518 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
5519 copysign and copysignf multiarch implementations.
5520 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
5521 New file.
5522 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
5523 New file.
5524 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
5525 file: multiarch copysign for PowerPC32.
5526 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
5527 file: multiarch copysignf for PowerPC32.
5528
d47db6c9
AZ
55292013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5530
5531 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
5532 and truncf multiarch implementations.
5533 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
5534 New file.
5535 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
5536 file.
5537 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
5538 multiarch trunc for PowerPC32.
5539 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
5540 New file.
5541 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
5542 New file.
5543 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
5544 multiarch truncf for PowerPC32.
5545
ddb60b5a
AZ
55462013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5547
5548 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
5549 and roundf multiarch implementations.
5550 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
5551 New file.
5552 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
5553 file.
5554 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
5555 multiarch round for PowerPC32.
5556 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
5557 New file.
5558 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
5559 New file.
5560 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
5561 multiarch roundf for PowerPC32.
5562
bedcf49b
AZ
55632013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5564
5565 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
5566 and floorf multiarch implementations.
5567 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
5568 New file.
5569 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
5570 file.
5571 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
5572 multiarch floor for PowerPC32.
5573 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
5574 New file.
5575 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
5576 New file.
5577 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
5578 multiarch floorf for PowerPC32.
5579
35ae5b40
AZ
55802013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5581
5582 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
5583 and ceilf multiarch implementations.
5584 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
5585 New file.
5586 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
5587 file.
5588 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
5589 multiarch ceil for PowerPC32.
5590 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
5591 New file.
5592 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
5593 file.
5594 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
5595 multiarch ceilf for PowerPC32.
5596
ae1a4cd9
AZ
55972013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5598
5599 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
5600 is defined.
5601 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
5602 FINITEF is defined.
5603 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
5604 and finitef multiarch implementations.
5605 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
5606 New file.
5607 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
5608 file.
5609 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
5610 multiarch finite for PowerPC32.
5611 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
5612 New file.
5613 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
5614 file: multiarch finitef for PowerPC32.
5615
64fffd65
AZ
56162013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5617
5618 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
5619 and isinff multiarch implementations.
5620 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
5621 file.
5622 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
5623 file.
5624 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
5625 multiarch isinf for PowerPC32.
5626 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
5627 New file.
5628 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
5629 multiarch isinff for PowerPC32.
5630
8e4e7ba2
AZ
56312013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5632
5633 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
5634 alias when __isnan is defined.
5635 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
5636 and isnanf multiarch implementations.
5637 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
5638 file.
5639 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
5640 file.
5641 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
5642 file.
5643 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
5644 file.
5645 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
5646 multiarch isnan for PowerPC32.
5647 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
5648 New file.
5649 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
5650 New file.
5651 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
5652 multiarch isnanf for PowerPC32.
5653
ddba588e
AZ
56542013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5655
5656 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
5657 and sqrtf multiarch implementations.
5658 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
5659 file.
5660 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
5661 file.
5662 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
5663 multiarch sqrt for PowerPC32.
5664 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
5665 file.
5666 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
5667 file.
5668 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
5669 multiarch sqrtf for PowerPC32.
5670
0f96a2f0
AZ
56712013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5672
5673 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
5674 and llroundf multiarch implementations.
5675 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
5676 New file.
5677 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
5678 New file.
5679 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
5680 New file.
5681 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
5682 file: multiarch llround for PowerPC32.
5683 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
5684 file: multiarch llroundf for PowerPC32.
5685
c9b5d79e
AZ
56862013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5687
5688 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
5689 multiarch PowerPC32 fpu implementations.
5690 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
5691 New file.
5692 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
5693 New file.
5694 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
5695 multiarch llrint for PowerPC32.
5696 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
5697 New file.
5698 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
5699 New file.
5700 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
5701 file.
5702
9cbb3aab
AZ
57032013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5704
5705 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
5706
ea5a72f8
AZ
57072013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5708
5709 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
5710 file.
5711 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
5712 file.
5713 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
5714 file.
5715 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
5716 multiarch wordcopy for PPC32.
5717 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
5718 wordcopy objects.
5719 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5720 (__libc_ifunc_impl_list): Likewise.
5721 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
5722 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
5723 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
5724 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
5725 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
5726 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
5727
93be09e7
AZ
57282013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5729
5730 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
5731 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
5732 file.
5733 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
5734 file.
5735 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
5736 file.
5737 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
5738 multiarch wcscpy for PPC32.
5739 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
5740 multiarch objects.
5741 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5742 (__libc_ifunc_impl_list): Likewise.
5743 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
5744 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
5745 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
5746 sysdeps/powerpc/power6/wcscpy.c.
5747
bb04e529
AZ
57482013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5749
5750 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
5751 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
5752 file.
5753 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
5754 file.
5755 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
5756 file.
5757 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
5758 multiarch wcsrchr for PPC32.
5759 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
5760 multiarch objects.
5761 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5762 (__libc_ifunc_impl_list): Likewise.
5763 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
5764 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
5765 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
5766 sysdeps/powerpc/power6/wcsrchr.c.
5767
05b5cd1c
AZ
57682013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5769
5770 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
5771 file.
5772 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
5773 file.
5774 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
5775 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
5776 multiarch wcschr for PPc32.
5777 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
5778 multiarch objects.
5779 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5780 (__libc_ifunc_impl_list): Likewise.
5781 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
5782 * sysdeps/powerpc/power6/wcschr.c: ... to here.
5783 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
5784 sysdeps/powerpc/power6/wcschr.c.
5785
ba964147
AZ
57862013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5787
5788 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
5789 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
5790 file.
5791 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
5792 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
5793 file: multiarch strchr for PPC32.
5794 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
5795 multiarch objects.
5796 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5797 (__libc_ifunc_impl_list): Likewise.
5798
31c81aaa
AZ
57992013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5800
5801 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
5802 name.
5803 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
5804 file.
5805 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
5806 file.
5807 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
5808 multiarch strchrnul for PPC32.
5809 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
5810 multiarch objects.
5811 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5812 (__libc_ifunc_impl_list): Likewise.
5813
0d0607d9
AZ
58142013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5815
5816 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
5817 file.
5818 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
5819 multiarch strncasecmp for PPC32.
5820 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
5821 file.
5822 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
5823 multiarch strncasecmp_l for PPC32.
5824 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
5825 strncasecmp multiarch objects.
5826 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5827 (__libc_ifunc_impl_list): Likewise.
5828
4dfd5c86
AZ
58292013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5830
5831 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
5832 file.
5833 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
5834 multiarch strncasecmp for PPC32.
5835 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
5836 New file.
5837 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
5838 multiarch strcasecmp_l for PPC32.
5839 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
5840 multiarch objects.
5841 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5842 (__libc_ifunc_impl_list): Likewise.
5843
a19e01a3
AZ
58442013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5845
5846 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
5847 file.
5848 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
5849 file.
5850 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
5851 multiarch strncmp for PPC32.
5852 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
5853 multiarch objects.
5854 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5855 (__libc_ifunc_impl_list): Likewise.
5856
ae9cf7a2
AZ
58572013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5858
5859 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
5860 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
5861 file.
5862 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
5863 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
5864 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
5865 multiarch objects.
5866 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5867 (__libc_ifunc_impl_list): Likewise.
5868
3148bb7d
AZ
58692013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5870
5871 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
5872 file.
5873 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
5874 file.
5875 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
5876 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
5877 multiarch objects.
5878 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5879 (__libc_ifunc_impl_list): Likewise.
5880
7af8b946
AZ
58812013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5882
5883 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
5884 file.
5885 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
5886 file.
5887 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
5888 multiarch rawmemchr for PPC32.
5889 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
5890 multiarch objects.
5891 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5892 (__libc_ifunc_impl_list): Likewise.
5893
03a6aa6a
AZ
58942013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5895
5896 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
5897 file.
5898 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
5899 file.
5900 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
5901 file: memrchr multiarch for PPC32.
5902 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
5903 multiarch objects.
5904 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5905 (__libc_ifunc_impl_list): Likewise.
5906
1c62e6d9
AZ
59072013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5908
5909 * string/memchr.c (__memchr): Using macro to redefine symbol name.
5910 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
5911 file.
5912 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
5913 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
5914 multiarch memchr for PPC32.
5915 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
5916 multiarch objects.
5917 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
5918 (__libc_ifunc_impl_list): Likewise.
5919
87da8bdb
AZ
59202013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5921
5922 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
5923 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
5924 file.
5925 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
5926 file.
5927 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
5928 file: multiarch mempcpy for PPC32.
5929 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
5930 multiarch objects.
5931 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
5932 (__libc_ifunc_impl_list): Likewise.
5933
20ed4714
AZ
59342013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5935
5936 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
5937 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
5938 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
5939 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
5940 multiarch bzero for PPC32.
5941 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
5942 file.
5943 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
5944 file.
5945 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
5946 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
5947 file: multiarch memset for PPC32.
5948 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
5949 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
5950 memset multiarch objects.
5951 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
5952 (__libc_ifunc_impl_list): Likewise.
5953
ab3e3a46
AZ
59542013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5955
5956 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
5957 file.
5958 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
5959 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
5960 memcmp for PPC32.
5961 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
5962 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
5963 multiarch objects.
5964 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
5965 (__libc_ifunc_impl_list): Likewise.
5966
930de6f0
AZ
59672013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5968
5969 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
5970 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
5971 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
5972 file.
5973 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
5974 file.
5975 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
5976 file.
5977 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
5978 multiarch memcpy for PPC32.
5979 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
5980 multiarch objects.
5981 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
5982 (__libc_ifunc_impl_list): Likewise.
5983
4c628e00
AZ
59842013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5985
5986 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
5987 support multiarch for POWER/PPC32.
5988 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
5989 Likewise.
5990 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
5991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
5992 Implies file to make multiarch folder appers before the fpu and
5993 default folder for power4 configuration.
5994
f4479220
SP
59952013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
5996
5997 * scripts/bench.pl: Append volatile keyword to type.
5998
8517800f
KK
59992013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6000
6001 * sysdeps/sh/sotruss-lib.c: New file.
6002 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
6003
180138f1
AZ
60042013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6005
6006 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6007
bbf37bdc
JM
60082013-12-05 Joseph Myers <joseph@codesourcery.com>
6009
e47cc4e0
JM
6010 [BZ #6810]
6011 * math/w_tgamma.c: Include <errno.h>.
6012 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
6013 * math/w_tgammaf.c: Include <errno.h>.
6014 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
6015 * math/w_tgammal.c: Include <errno.h>.
6016 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
6017 * math/auto-libm-test-in: Do not allow missing errno on tgamma
6018 underflow. Add more tgamma tests.
6019 * math/auto-libm-test-out: Regenerated.
6020 * sysdeps/i386/fpu/libm-test-ulps: Update.
6021 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6022
bbf37bdc
JM
6023 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
6024 sin, sinh, tan, tanh, tgamma, y0 and y1.
6025 * math/auto-libm-test-out: Regenerated.
6026 * math/libm-test.inc (TEST_COND_x86_64): New macro.
6027 (TEST_COND_x86): Likewise.
6028 (M_E2l): Remove macro.
6029 (M_E3l): Likewise.
6030 (M_2_SQRT_PIl): Likewise.
6031 (M_SQRT_PIl): Likewise.
6032 (M_1_DIV_El): Likewise.
6033 (log_test_data): Use AUTO_TESTS_f_f.
6034 (log10_test_data): Likewise.
6035 (log1p_test_data): Likewise.
6036 (log2_test_data): Likewise.
6037 (sin_test_data): Likewise.
6038 (sin_tonearest_test_data): Likewise.
6039 (sin_towardzero_test_data): Likewise.
6040 (sin_downward_test_data): Likewise.
6041 (sin_upward_test_data): Likewise.
6042 (sinh_test_data): Likewise.
6043 (sinh_tonearest_test_data): Likewise.
6044 (sinh_towardzero_test_data): Likewise.
6045 (sinh_downward_test_data): Likewise.
6046 (sinh_upward_test_data): Likewise.
6047 (tan_test_data): Likewise.
6048 (tan_tonearest_test_data): Likewise.
6049 (tan_towardzero_test_data): Likewise.
6050 (tan_downward_test_data): Likewise.
6051 (tan_upward_test_data): Likewise.
6052 (tanh_test_data): Likewise.
6053 (tgamma_test_data): Likewise.
6054 (y0_test_data): Likewise.
6055 (y1_test_data): Likewise.
6056 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
6057 (special_real_inputs): Add pi/4.
6058 * sysdeps/i386/fpu/libm-test-ulps: Update.
6059 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6060
eb5ad6b9
AZ
60612013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6062
6063 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
6064 "longjmp_target" static probes.
6065 (__longjmp): Rename to __longjmp_symbol.
6066 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
6067 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
6068 on which longjmp to generate.
6069 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
6070 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
6071 probe.
6072 (__sigsetjmp): Rename to __sigsetjmp_symbol.
6073 (__sigjmp_save): Rename to __sigjmp_save_symbol.
6074 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
6075 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
6076 and __sigjmp_save_symbol based on which sigsetjmp to generated.
6077 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
6078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
6079 __longjmp_symbol based on which __longjmp to generate.
6080 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
6081 probe.
6082 (setjmp): Rename to setjmp_symbol.
6083 (__sigsetjmp): Rename to __sigsetjmp_symbol.
6084 (_setjmp): Rename to _setjmp_symbol.
6085 (__sigsetjmp): Rename to __sigsetjmp_symbol.
6086 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
6087 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
6088 which setjmp to generate.
6089 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
6090 "longjmp_target" static probes.
6091
d136c6dc
SP
60922013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
6093
9298ecba
SP
6094 * benchtests/README: Add note about output arguments.
6095 * benchtests/bench-sincos.c: Remove file.
6096 * benchtests/sincos-inputs: New file.
6097 * scripts/bench.pl: Identify output arguments and define
6098 static variables for them.
6099
232983e9
SP
6100 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
6101
d136c6dc
SP
6102 [BZ #15941]
6103 * Makefile (INSTALL): Add install-plain.texi as the primary
6104 dependency.
6105 * manual/install-plain.texi: New file.
6106 * manual/install.texi: Include node directive only for
6107 non-plaintext output.
6108
699ff837
JM
61092013-12-04 Joseph Myers <joseph@codesourcery.com>
6110
ab07cea8
JM
6111 * stdlib/longlong.h: Update from GCC.
6112
699ff837
JM
6113 [BZ #6807]
6114 [BZ #15901]
6115 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
6116 * math/w_j0f.c (y0f): Likewise.
6117 * math/w_j0l.c (__y0l): Likewise.
6118 * math/w_j1.c (y1): Likewise.
6119 * math/w_j1f.c (y1f): Likewise.
6120 * math/w_j1l.c (__y1l): Likewise
6121 * math/w_jn.c (yn): Likewise.
6122 * math/w_jnf.c (ynf): Likewise.
6123 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
6124 Bessel function pole errors in _POSIX_ mode. Use NAN as return
6125 value for Bessel function domain errors outside _SVID_ mode.
6126 Adjust sign of return value for yn (negative integer, 0).
6127 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
6128 by zero in return for negative x and set sign appropriately for
6129 negative n.
6130 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
6131 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
6132 * math/libm-test.inc (y0_test_data): Add more tests and adjust
6133 expectations in error cases.
6134 (y1_test_data): Likewise.
6135 (yn_test_data): Likewise.
6136 * sysdeps/i386/fpu/libm-test-ulps: Update.
6137 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6138
5b118558
UW
61392013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6140
6141 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
6142 "64" to "64-v1". Add "64-v2".
6143 (abi-64-options): Rename to ...
6144 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
6145 (abi-64-condition): Rename to ...
6146 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
6147 (abi-64-ld-soname): Rename to ...
6148 (abi-64-v1-ld-soname): ... this.
6149 (abi-64-v2-options): Define.
6150 (abi-64-v2-condition): Likewise.
6151 (abi-64-v2-ld-soname): Likewise.
6152 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
6153 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
6154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
6155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
6156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
6157
61cd8fe4
UW
61582013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6159 Alan Modra <amodra@gmail.com>
6160
6161 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
6162 New versions for use with the ELFv2 ABI.
6163 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
6164 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
6165 declaration.
6166 (struct La_ppc64v2_retval): Likewise.
6167 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
6168 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
6169 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
6170 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
6171 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
6172 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
6173 Do not save or restore CR.
6174 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
6175 (_dl_profile_resolve): Do no save or restore CR. Support extended
6176 return values for ELFv2 ABI. Fix location of FPR return registers.
6177 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
6178 updated values for _CALL_ELF == 2.
6179 (La_regs, La_retval, int_retval): Likewise.
6180
8b8a692c
UW
61812013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6182
6183 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
6184 (FRAME_MIN_SIZE_PARM): Likewise.
6185 (FRAME_BACKCHAIN): Likewise.
6186 (FRAME_CR_SAVE): Likewise.
6187 (FRAME_LR_SAVE): Likewise.
6188 (FRAME_TOC_SAVE): Likewise.
6189 (FRAME_PARM_SAVE): Likewise.
6190 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
6191 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
6192 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
6193 (call_mcount_parm_offset): New macro.
6194 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
6195 (PROF): Use symbolic stack frame offsets.
6196 (TAIL_CALL_SYSCALL_ERROR): Likewise.
6197 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
6198 Redefine in terms of FRAME_MIN_SIZE.
6199 (_dl_runtime_resolve): Use symbolic stack frame offsets.
6200 (_dl_profile_resolve): Likewise. Update comment.
6201 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
6202 symbols stack frame offsets.
6203 (__sigsetjmp): Likewise.
6204 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
6205 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
6206 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
6207 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
6208
6209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
6210 (FRAME_BACKCHAIN): Remove.
6211 (FRAME_CR_SAVE): Likewise.
6212 (FRAME_LR_SAVE): Likewise.
6213 (FRAME_COMPILER_DW): Likewise.
6214 (FRAME_LINKER_DW): Likewise.
6215 (FRAME_TOC_SAVE): Likewise.
6216 (FRAME_PARM_SAVE): Likewise.
6217 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
6218 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
6219 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
6220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
6221 (CHECK_SP): Use symbolic stack frame offsets.
6222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
6223 zone" instead of caller's parameter save area for temp storage.
6224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
6225 Likewise. Also, use symbolic stack frame offsets.
6226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
6227 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
6228 our own stack frame instead of the caller's.
6229 (__socket): Use symbolic stack frame offsets.
6230
122b66de
UW
62312013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6232 Alan Modra <amodra@gmail.com>
6233
6234 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
6235 Define.
6236 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
6237 PPC64_LOCAL_ENTRY_OFFSET): Define.
6238 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
6239 New function.
6240 (elf_machine_fixup_plt): Call it.
6241 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
6242 reloc arguments.
6243 (elf_machine_rela): Update call to elf_machine_plt_conflict.
54285cf9
SP
6244 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
6245 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
6246 r2 before calling target.
6247
696caf1d
UW
62482013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6249 Alan Modra <amodra@gmail.com>
6250
6251 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
6252 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
6253 versions of macros to support ELFv2 ABI.
6254 (LOCALENTRY): New macro.
6255 (ENTRY, EALIGN): Use it.
6256 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
6257 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
6258 fall through into ENTRY entry point.
6259 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
6260 Only define if _CALL_ELF != 2.
6261
6262 (elf_machine_matches_host): Verify ABI version matches.
6263 (RTLD_START): Use LOCALENTRY.
6264 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
6265 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
6266 (PLT_ENTRY_WORDS): New macro.
6267 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
6268 (elf_machine_runtime_setup): Support ELFv2 ABI.
6269 (elf_machine_fixup_plt): Likewise.
6270 (elf_machine_plt_conflict): Likewise.
6271 (resolve_ifunc): Likewise.
6272 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
6273 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
6274 Likewise.
6275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
6276 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
6277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
6278 (makecontext): Support ELFv2 ABI.
6279 * elf/elf.h (EF_PPC64_ABI): Define.
6280
d31beafa
UW
62812013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6282
6283 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
6284 New assembler macro.
6285 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
6286 [ASSEMBLER] (ENTRY): ... but instead here ...
6287 [ASSEMBLER] (EALIGN): ... and here.
6288 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
6289 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
6290 [!ASSEMBLER] (ENTRY_2): Use it.
6291 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
6292 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
6293 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
6294 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
6295 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
6296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
6297 Use PPC64_LOAD_FUNCPTR.
6298
b525166b
UW
62992013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6300
6301 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
6302
7ec07d9a
AM
63032013-12-04 Alan Modra <amodra@gmail.com>
6304
6305 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
6306 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
6307 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
6308 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
6309
6310 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
6311 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
6312 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
6313 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
6314 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
6315 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
6316
5162e7dd
UW
63172013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6318
6319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
6320 (__makecontext): Fix incorrect CFI when backtracing out of
6321 context created via makecontext.
6322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
6323 (__setcontext): Fix incorrect CFI during switch to new context.
6324 (__novec_setcontext): Likewise.
6325
19e3372b
OB
63262013-12-04 Ondřej Bílka <neleai@seznam.cz>
6327
6328 [BZ #4772]
6329 * time/strptime_l.c (__strptime_internal): Allow modifiers
6330 in strptime.
6331 * time/tst-strptime.c (day_tests): Add testcase.
6332
6333
ecaf142d
SP
63342013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6335
6336 * scripts/bench.pl: Skip over blank lines.
6337
fbf964ae
PE
63382013-12-04 Paul Eggert <eggert@cs.ucla.edu>
6339
6340 [BZ #926]
6341 * manual/time.texi (Calendar Time): Clarify what timezone functions
6342 use.
6343
fa60a674
AZ
63442013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6345
6346 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6347
d674f0ef
OB
63482013-12-04 Ondřej Bílka <neleai@seznam.cz>
6349
6350 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
6351 implementation.
6352 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
6353 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
6354 * debug/memset_chk.c (__memset_chk): Likewise.
6355 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
6356 * debug/strncpy_chk.c: Likewise.
6357
17dea188
JM
63582013-12-03 Joseph Myers <joseph@codesourcery.com>
6359
749008ff
JM
6360 [BZ #15268]
6361 [BZ #15425]
6362 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
6363 (__ieee754_exp): For possibly underflowing results, check size of
6364 result and force underflow exception if required.
6365 * math/auto-libm-test-in: Add more tests of exp.
6366 * math/auto-libm-test-out: Regenerated.
6367 * sysdeps/i386/fpu/libm-test-ulps: Update.
6368 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6369
17dea188
JM
6370 [BZ #16283]
6371 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
6372 * math/w_exp2f.c (__exp2f): Likewise.
6373 * math/w_exp2l.c (__exp2l): Likewise.
6374 * math/auto-libm-test-in: Do not allow missing errno on exp2
6375 underflow.
6376 * math/auto-libm-test-out: Regenerated.
6377
b20de2c3
OB
63782013-12-03 Ondřej Bílka <neleai@seznam.cz>
6379
6380 [BZ #16274]
6381 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
6382 handle filename validation.
6383 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
6384 (do_open): Delete.
6385
d8e2dbe3
JM
63862013-12-03 Joseph Myers <joseph@codesourcery.com>
6387
34e16df5
JM
6388 [BZ #6786]
6389 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
6390 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
6391 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
6392 <float.h>.
6393 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
6394 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
6395 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
6396 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
6397 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
6398 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
6399 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
6400 * math/auto-libm-test-in: Don't allow missing errno from erfc.
6401 Add more erfc tests.
6402 * math/auto-libm-test-out: Regenerated.
6403 * sysdeps/i386/fpu/libm-test-ulps: Update.
6404 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6405
d8e2dbe3
JM
6406 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
6407 exp2, expm1, j0 and j1.
6408 * math/auto-libm-test-out: Regenerated.
6409 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
6410 (erfc_test_data): Likewise.
6411 (exp_test_data): Likewise.
6412 (exp_tonearest_test_data): Likewise.
6413 (exp_towardzero_test_data): Likewise.
6414 (exp_downward_test_data): Likewise.
6415 (exp_upward_test_data): Likewise.
6416 (exp10_test_data): Likewise.
6417 (exp2_test_data): Likewise.
6418 (expm1_test_data): Likewise.
6419 (j0_test_data): Likewise.
6420 (j1_test_data): Likewise.
6421 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
6422 (input_flag_type): Add flag_xfail_rounding.
6423 (input_flags): Add xfail-rounding.
6424 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
6425 (output_for_one_input_case): Handle flag_xfail_rounding.
6426 * sysdeps/i386/fpu/libm-test-ulps: Update.
6427 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6428
18d14251
AJ
64292013-12-03 Aurelien Jarno <aurelien@aurel32.net>
6430
3d2e6075 6431 [BZ #16289]
18d14251
AJ
6432 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
6433 division by 0.
6434
520d437b
SP
64352013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
6436
6437 [BZ #16195]
6438 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
6439 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
6440 (STAP_PROBE0): New macro.
6441 (STAP_PROBE1): Likewise.
6442 (STAP_PROBE2): Likewise.
6443 (STAP_PROBE3): Likewise.
6444 (STAP_PROBE4): Likewise.
6445
416e0145
OB
64462013-12-02 Ondřej Bílka <neleai@seznam.cz>
6447
6448 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
6449
9d17796a
SE
64502013-12-02 Steve Ellcey <sellcey@mips.com>
6451
6452 * benchtests/Makefile (bench): Add sqrt.
6453 (LDLIBS-bench-sqrt): New.
6454 * benchtests/sqrt-input: New.
6455
f524d6a8
PS
64562013-12-02 Pavel Simerda <psimerda@redhat.com>
6457
639a0ef8
PS
6458 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
6459 (GAIH_EAI): Likewise.
6460 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
6461 (gaih_inet): Likewise.
6462 (getaddrinfo): Don't use GAIH_EAI.
6463
f524d6a8
PS
6464 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
6465 (struct gaih): Remove definition.
6466
df3aedaf
SP
64672013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6468
6469 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
6470 Use HERRNOP directly.
6471
1ab19dec
AZ
64722013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6473
b42ad38d 6474 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 6475
176b0c79
JM
64762013-11-30 Joseph Myers <joseph@codesourcery.com>
6477
6478 * math/gen-auto-libm-tests.c (test_functions): Add more
6479 single-argument functions.
6480 (special_fill_pi_2): New function.
6481 (special_fill_minus_pi_2): Likewise.
6482 (special_fill_pi_6): Likewise.
6483 (special_fill_minus_pi_6): Likewise.
6484 (special_fill_pi_3): Likewise.
6485 (special_fill_2pi_3): Likewise.
6486 (special_fill_e): Likewise.
6487 (special_fill_1_e): Likewise.
6488 (special_fill_e_minus_1): Likewise.
6489 (special_real_inputs): Add more special inputs.
6490 (output_for_one_input_case): Do not require ERANGE on underflow to
6491 zero if round-to-nearest result does not underflow to zero, unless
6492 exact results required.
6493 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
6494 atan, atanh, cbrt, cos and cosh.
6495 * math/auto-libm-test-out: Regenerated.
6496 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
6497 (acos_tonearest_test_data): Likewise.
6498 (acos_towardzero_test_data): Likewise.
6499 (acos_downward_test_data): Likewise.
6500 (acos_upward_test_data): Likewise.
6501 (acosh_test_data): Likewise.
6502 (asin_test_data): Likewise.
6503 (asin_tonearest_test_data): Likewise.
6504 (asin_towardzero_test_data): Likewise.
6505 (asin_upward_test_data): Likewise.
6506 (asinh_test_data): Likewise.
6507 (atan_test_data): Likewise.
6508 (atanh_test_data): Likewise.
6509 (cbrt_test_data): Likewise.
6510 (cos_test_data): Likewise.
6511 (cos_tonearest_test_data): Likewise.
6512 (cos_towardzero_test_data): Likewise.
6513 (cos_downward_test_data): Likewise.
6514 (cos_upward_test_data): Likewise.
6515 (cosh_test_data): Likewise.
6516 (cosh_tonearest_test_data): Likewise.
6517 (cosh_towardzero_test_data): Likewise.
6518 (cosh_downward_test_data): Likewise.
6519 (cosh_upward_test_data): Likewise.
6520 * sysdeps/i386/fpu/libm-test-ulps: Update.
6521 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6522
ffb536d0
JM
65232013-11-29 Joseph Myers <joseph@codesourcery.com>
6524
2a77a467
JM
6525 [BZ #6787]
6526 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
6527 * math/w_exp10f.c (__exp10f): Likewise.
6528 * math/w_exp10l.c (__exp10l): Likewise.
6529 * math/libm-test.inc (exp10_test_data): Add more tests and expect
6530 errno settings in existing tests.
6531
ea3bc4e8
JM
6532 [BZ #14032]
6533 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
6534 precision control set to double precision.
6535 * sysdeps/i386/fpu/w_sqrt.c: New file.
6536 * math/auto-libm-test-in: Add more tests.
6537 * math/auto-libm-test-out: Update.
6538
0712c9d8
JM
6539 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
6540 (sqrt_test_tonearest): New function.
6541 (sqrt_towardzero_test_data): New variable.
6542 (sqrt_test_towardzero): New function.
6543 (sqrt_downward_test_data): New variable.
6544 (sqrt_test_downward): New function.
6545 (sqrt_upward_test_data): New variable.
6546 (sqrt_test_upward): New function.
6547 (main): Call the new functions.
6548
ffb536d0
JM
6549 * math/gen-auto-libm-tests.c: New file.
6550 * math/auto-libm-test-in: Likewise.
6551 * math/auto-libm-test-out: New generated file.
6552 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
6553 variables.
6554 (%beautify): Add generated representations of zero.
6555 (top level): Set $auto_input and call parse_auto_input.
6556 (beautify): Remove trailing "f" from hex float constants.
6557 (parse_args): Handle XFAIL_TEST.
6558 (convert_condition): New function.
6559 (or_value): Likewise.
6560 (or_cond_value): Likewise.
6561 (generate_testfile): Handle AUTO_TESTS_* lines.
6562 (parse_auto_input): New function.
6563 * math/libm-test.inc (XFAIL_TEST): New macro.
6564 (ERRNO_UNCHANGED): Update value.
6565 (ERRNO_EDOM): Likewise.
6566 (ERRNO_ERANGE): Likewise.
6567 (IGNORE_RESULT): Likewise.
6568 (TEST_COND_flt_32): New macro.
6569 (TEST_COND_dbl_64): Likewise.
6570 (TEST_COND_ldbl_96_intel): Likewise.
6571 (TEST_COND_ldbl_96_m68k): Likewise.
6572 (TEST_COND_ldbl_128): Likewise.
6573 (TEST_COND_ldbl_128ibm): Likewise.
6574 (TEST_COND_long32): Likewise.
6575 (TEST_COND_long64): Likewise.
6576 (TEST_COND_before_rounding): Likewise.
6577 (TEST_COND_after_rounding): Likewise.
6578 (enable_test): Handle XFAIL_TEST flag.
6579 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
6580 with finite results.
6581 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
6582 auto-libm-test-out.
6583
acd98a8e
AK
65842013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
6585 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6586
6587 [BZ #16214]
6588 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
6589 __tls_get_addr_internal instead of __tls_get_offset in order to
6590 avoid GOT pointer dependency. Make rtld export
6591 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
6592 __tls_get_addr since we are a __tls_get_offset platform.
6593 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
6594 GOT pointer being set up before.
6595 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
6596
3c1c46a6
JM
65972013-11-28 Joseph Myers <joseph@codesourcery.com>
6598
7475aef5
JM
6599 * manual/math.texi (Errors in Math Functions): Document accuracy
6600 goals.
6601
8bca7cd8
JM
6602 [BZ #15004]
6603 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
6604 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
6605 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
6606 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
6607 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
6608 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
6609 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
6610 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
6611 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
6612 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
6613 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
6614 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
6615 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
6616 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
6617 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
6618 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
6619
91a1f3fe
JM
6620 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
6621 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
6622 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
6623 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
6624 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
6625 Likewise.
6626 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
6627 Likewise.
6628 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
6629 Likewise.
6630 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
6631 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
6632 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
6633 atomic-feupdateenv and flt-rounds.
6634 * sysdeps/powerpc/nofpu/Versions (libc): Add
6635 __atomic_feholdexcept, __atomic_feclearexcept,
6636 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
6637 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
6638 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
6639 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
6640 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
6641 here.
6642 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
6643 Update.
6644
c5df7609
JM
6645 * manual/arith.texi (FP Exceptions): Document that exceptions may
6646 not be raised when matherr is used.
6647 (Math Error Reporting): Document overflow in directed rounding
6648 modes. Document that errno may not be set when finite values are
6649 returned on overflow. Document intent to set errno on underflow
6650 only for underflow to zero.
6651
3c1c46a6
JM
6652 [BZ #16271]
6653 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
6654 round-to-nearest then adjust result for other rounding modes.
6655 * include/fenv.h (fegetround): Use libm_hidden_proto.
6656 * math/fegetround.c (fegetround): Use libm_hidden_def.
6657 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
6658 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
6659 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
6660 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
6661 Likewise.
6662 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
6663 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
6664 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
6665 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
6666
5a4c6d53
SP
66672013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6668
6669 [BZ #16077]
6670 * nss/Versions (libnss_files): Add
6671 _nss_files_gethostbyname3_r.
6672 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
6673 New function.
6674 (HOST_DB_LOOKUP): Remove macro.
6675 (_nss_files_gethostbyname_r): Implement function without the
6676 HOST_DB_LOOKUP macro.
6677 (_nss_files_gethostbyname2_r): Likewise.
6678
897b98ba
OB
66792013-11-28 Ondřej Bílka <neleai@seznam.cz>
6680
6681 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
6682
6f476861
UB
66832013-11-26 Uros Bizjak <ubizjak@gmail.com>
6684
6685 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
6686 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
6687 warning.
6688
bd12ab55
AZ
66892013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6690
6691 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
6692 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
6693 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
6694 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
6695 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
6696 __fe_nomask_env_priv and attribute_hidden.
6697 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
6698 (libc_feupdateenv_test_ppc): Likewise.
6699 (libc_feresetround_ppc): Likewise.
6700 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
6701 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
6702 compat_symbol macro.
6703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
6704 (__fe_nomask_env): Likewise.
6705 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
6706
52bb6543
OB
67072013-11-26 Ondřej Bílka <neleai@seznam.cz>
6708
6709 * string/Makefile: Remove ifunc tests.
6710 * string/test-string.h: Define TEST_IFUNC.
6711 * string/test-bcopy-ifunc.c: Remove.
6712 * string/test-bzero-ifunc.c: Likewise.
6713 * string/test-memccpy-ifunc.c: Likewise.
6714 * string/test-memchr-ifunc.c: Likewise.
6715 * string/test-memcmp-ifunc.c: Likewise.
6716 * string/test-memcpy-ifunc.c: Likewise.
6717 * string/test-memmem-ifunc.c: Likewise.
6718 * string/test-memmove-ifunc.c: Likewise.
6719 * string/test-mempcpy-ifunc.c: Likewise.
6720 * string/test-memrchr-ifunc.c: Likewise.
6721 * string/test-memset-ifunc.c: Likewise.
6722 * string/test-rawmemchr-ifunc.c: Likewise.
6723 * string/test-stpcpy-ifunc.c: Likewise.
6724 * string/test-stpncpy-ifunc.c: Likewise.
6725 * string/test-strcasecmp-ifunc.c: Likewise.
6726 * string/test-strcasestr-ifunc.c: Likewise.
6727 * string/test-strcat-ifunc.c: Likewise.
6728 * string/test-strchr-ifunc.c: Likewise.
6729 * string/test-strchrnul-ifunc.c: Likewise.
6730 * string/test-strcmp-ifunc.c: Likewise.
6731 * string/test-strcpy-ifunc.c: Likewise.
6732 * string/test-strcspn-ifunc.c: Likewise.
6733 * string/test-strlen-ifunc.c: Likewise.
6734 * string/test-strncasecmp-ifunc.c: Likewise.
6735 * string/test-strncat-ifunc.c: Likewise.
6736 * string/test-strncmp-ifunc.c: Likewise.
6737 * string/test-strncpy-ifunc.c: Likewise.
6738 * string/test-strnlen-ifunc.c: Likewise.
6739 * string/test-strpbrk-ifunc.c: Likewise.
6740 * string/test-strrchr-ifunc.c: Likewise.
6741 * string/test-strspn-ifunc.c: Likewise.
6742 * string/test-strstr-ifunc.c: Likewise.
6743
ab260039 67442013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
6745
6746 * benchtests/Makefile: Remove ifunc tests.
6747 * benchtests/bench-string.h: Define TEST_IFUNC.
6748 * benchtests/bench-bcopy-ifunc.c: Remove.
6749 * benchtests/bench-bzero-ifunc.c: Likewise.
6750 * benchtests/bench-memccpy-ifunc.c: Likewise.
6751 * benchtests/bench-memchr-ifunc.c: Likewise.
6752 * benchtests/bench-memcmp-ifunc.c: Likewise.
6753 * benchtests/bench-memcpy-ifunc.c: Likewise.
6754 * benchtests/bench-memmem-ifunc.c: Likewise.
6755 * benchtests/bench-memmove-ifunc.c: Likewise.
6756 * benchtests/bench-mempcpy-ifunc.c: Likewise.
6757 * benchtests/bench-memrchr-ifunc.c: Likewise.
6758 * benchtests/bench-memset-ifunc.c: Likewise.
6759 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
6760 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
6761 * benchtests/bench-stpcpy-ifunc.c: Likewise.
6762 * benchtests/bench-stpncpy-ifunc.c: Likewise.
6763 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
6764 * benchtests/bench-strcasestr-ifunc.c: Likewise.
6765 * benchtests/bench-strcat-ifunc.c: Likewise.
6766 * benchtests/bench-strchr-ifunc.c: Likewise.
6767 * benchtests/bench-strchrnul-ifunc.c: Likewise.
6768 * benchtests/bench-strcmp-ifunc.c: Likewise.
6769 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
6770 * benchtests/bench-strcpy-ifunc.c: Likewise.
6771 * benchtests/bench-strcspn-ifunc.c: Likewise.
6772 * benchtests/bench-strlen-ifunc.c: Likewise.
6773 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
6774 * benchtests/bench-strncat-ifunc.c: Likewise.
6775 * benchtests/bench-strncmp-ifunc.c: Likewise.
6776 * benchtests/bench-strncpy-ifunc.c: Likewise.
6777 * benchtests/bench-strnlen-ifunc.c: Likewise.
6778 * benchtests/bench-strpbrk-ifunc.c: Likewise.
6779 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 6780 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
6781 * benchtests/bench-strspn-ifunc.c: Likewise.
6782 * benchtests/bench-strstr-ifunc.c: Likewise.
6783
67842013-11-26 Ondřej Bílka <neleai@seznam.cz>
6785
ab260039
OB
6786 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
6787
d1d9eaf4 67882013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 6789
d1d9eaf4
OB
6790 * resolv/netdb.h: Use __glibc_reserved instead __unused.
6791 * rt/aio.h: Likewise.
6792 * sysdeps/gnu/bits/utmp.h: Likewise.
6793 * sysdeps/gnu/bits/utmpx.h: Likewise.
6794 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
6795 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
6796 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
6797 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
6798 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
6799 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
6800 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
6801 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
6802 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
6803 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
6804 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
6805 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
6806 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
6807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
6808 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
6809 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
6810 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
6811 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
6812 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
6813 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
6814 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
6815 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
6816 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
6817 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
6818 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
6819 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
6820 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
6821 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
6822 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
6823 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
6824 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
6825 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
6826 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
6827 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
6828 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
6829 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
6830 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
6831 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
6832 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
6833 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
6834 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
6835 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
6836
a7624ed9
CD
68372013-11-25 Carlos O'Donell <carlos@redhat.com>
6838
6839 [BZ #16245]
6840 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
6841 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
6842
63cfe52b
JM
68432013-11-25 Joseph Myers <joseph@codesourcery.com>
6844
6845 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
6846 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
6847 Likewise.
6848
41e8926a
AZ
68492013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6850
6851 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
6852 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
6853 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
6854 (__fesetround): Remove define.
6855 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
6856 rounding and exceptions handling.
6857 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
6858 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
6859 (__fe_nomask_env): Likewise.
6860 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
6861 __fegetround instead of fegetround.
6862 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
6863 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
6864
6851bd4d
RM
68652013-11-21 Roland McGrath <roland@hack.frob.com>
6866
070906ff
RM
6867 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
6868 it's there.
6869
6851bd4d
RM
6870 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
6871
84ae135d
MI
68722013-11-21 Meador Inge <meadori@codesourcery.com>
6873
6874 [BZ #11157]
6875 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
6876 (encrypt_r): Likewise.
6877 * malloc/obstack.h (obstack_free): Likewise.
6878 * posix/unistd.h (encrypt): Likewise.
6879
daf75146
GM
68802013-11-21 Guy Martin <gmsoft@tuxicoman.be>
6881
6882 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
6883 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
6884 DL_CALL_DT_FINI() that call the functions directly.
6885 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
6886 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
6887 * elf/dl-fini.c: Likewise.
6888
10ad46bc
OB
68892013-11-20 Ondřej Bílka <neleai@seznam.cz>
6890
6891 * malloc/hooks.c (memalign_check): Add alignment rounding.
6892 * malloc/malloc.c (_mid_memalign): New function.
6893 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
6894 Implement by calling _mid_memalign.
6895 * manual/probes.texi (Memory Allocation Probes): Remove
6896 memory_valloc_retry and memory_pvalloc_retry.
6897
f3fd2628
SP
68982013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
6899
4712799f
SP
6900 * locale/programs/locarchive.c (open_archive): Add const
6901 qualifier to ARCHIVEFNAME and copy default fname to
6902 DEFAULT_FNAME.
6903
0417b20f
SP
6904 [BZ #15601]
6905 * libio/tst-widetext.input: Rename Oriya to Odia.
6906 * locale/iso-639.def: Likewise.
6907
f3fd2628
SP
6908 * manual/probes.texi (Mathematical Function Probes): Add
6909 documentation for sin, cos, asin and acos probes.
6910 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
6911 (__sin32): Add slowasin probe.
6912 (__cos32): Add slowacos probe.
6913 (__mpsin): Add slowsin probe.
6914 (__mpcos): Add slowcos probe.
6915
73c1ce4f
JM
69162013-11-19 Joseph Myers <joseph@codesourcery.com>
6917
6918 [BZ #15483]
6919 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
6920 thread-local __sim_exceptions_thread and global
6921 __sim_exceptions_global.
6922 (__sim_disabled_exceptions): Change to thread-local
6923 __sim_disabled_exceptions_thread and global
6924 __sim_disabled_exceptions_global.
6925 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
6926 and global __sim_round_mode_global.
6927 (__simulate_exceptions): Use thread-local floating-point state and
6928 set global state from it as needed.
6929 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
6930 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
6931 __sim_round_mode_thread.
6932 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
6933 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
6934 and global __sim_exceptions_global.
6935 (__sim_disabled_exceptions): Change to thread-local
6936 __sim_disabled_exceptions_thread and global
6937 __sim_disabled_exceptions_global.
6938 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
6939 and global __sim_round_mode_global.
6940 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
6941 (SIM_SET_GLOBAL): Likewise.
6942 * sysdeps/powerpc/soft-fp/sfp-machine.h
6943 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
6944 __sim_round_mode_thread.
6945 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
6946 __sim_disabled_exceptions_thread.
6947 (__sim_exceptions): Change to __sim_exceptions_thread.
6948 (__sim_disabled_exceptions): Change to
6949 __sim_disabled_exceptions_thread.
6950 (__sim_round_mode): Change to __sim_round_mode_thread.
6951 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
6952 thread-local floating-point state and set global state from it as
6953 needed.
6954 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
6955 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
6956 (__sim_disabled_exceptions): Remove extern declaration.
6957 (feenableexcept): Use thread-local floating-point state and set
6958 global state from it as needed.
6959 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
6960 extern declaration.
6961 (__sim_disabled_exceptions): Likewise.
6962 (__sim_round_mode): Likewise.
6963 (__fegetenv): Use thread-local floating-point state.
6964 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
6965 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
6966 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
6967 floating-point state and set global state from it as needed.
6968 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
6969 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
6970 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
6971 Likewise.
6972 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
6973 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
6974 Likewise.
6975 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
6976 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
6977 Use __sim_round_mode_thread.
6978 * math/test-fenv-tls.c: New file.
6979 * math/Makefile (tests): Add test-fenv-tls.
6980 ($(objpfx)test-fenv-tls): Depend on
6981 $(common-objpfx)nptl/libpthread.so.
6982
b5449b12
AS
69832013-11-19 Andreas Schwab <schwab@suse.de>
6984
6985 * locale/programs/locale.c (show_info): Decode wordarray elements.
6986 * locale/categories.def (LC_MONETARY): Add element for
6987 _NL_MONETARY_CRNCYSTR.
6988 * locale/C-monetary.c (conversion_rate): New variable.
6989 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
6990 element.
6991
e186536b
CM
69922013-11-18 Chris Metcalf <cmetcalf@tilera.com>
6993
6994 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
6995 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
6996
5c349950
PP
69972013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
6998
6999 * elf/Makefile (tst-auxv): New test.
7000 * elf/tst-auxv.c: New
7001 * elf/rtld.c (dl_main): Adjust AT_EXECFN
7002
699df45b
JM
70032013-11-18 Joseph Myers <joseph@codesourcery.com>
7004
7005 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
7006 (hidden_proto): Caller changed.
7007 (hidden_tls_proto): New macro.
7008 (libc_hidden_tls_proto): Likewise.
7009 (rtld_hidden_tls_proto): Likewise.
7010 (libm_hidden_tls_proto): Likewise.
7011 (libresolv_hidden_tls_proto): Likewise.
7012 (librt_hidden_tls_proto): Likewise.
7013 (libdl_hidden_tls_proto): Likewise.
7014 (libnss_files_hidden_tls_proto): Likewise.
7015 (libnsl_hidden_tls_proto): Likewise.
7016 (libnss_nisplus_hidden_tls_proto): Likewise.
7017 (libutil_hidden_tls_proto): Likewise.
7018
b7589107
OB
70192013-11-18 Ondřej Bílka <neleai@seznam.cz>
7020
7021 [BZ #10253]
7022 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
7023 (decompose_rpath): Defer expansion to fillin_rpath.
7024 (_dl_init_paths): Pass linkmap to fillin_rpath.
7025
250c23bd
RS
70262013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7027
7028 * benchtests/Makefile: Add strsep.
7029 * benchtests/bench-strsep.c: New file: strsep benchtest.
7030 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
7031
a7931fcf
AS
70322013-11-18 Andreas Schwab <schwab@suse.de>
7033
7034 * locale/programs/locale.c (show_info) [case byte]: Check for
7035 '\377' instead of '\177'.
7036 * locale/C-monetary.c (not_available): Always use "\377".
7037 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
7038 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
7039 detect unavailable sign_posn locale elements.
7040 * locale/localeconv.c (__localeconv): For grouping and
7041 mon_grouping handle "\177" and "\377" like no grouping.
7042 (INT_ELEM): New macro. Use it to set all numeric members.
7043 * locale/programs/ld-monetary.c (monetary_read)
7044 <tok_mon_grouping>: Normalize single -1 to the empty string.
7045 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
7046 Likewise.
7047
728dab0e
OB
70482013-11-07 Ondřej Bílka <neleai@seznam.cz>
7049
7050 [BZ #16055]
7051 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
7052 when we match (nil).
7053 * stdio-common/tst-sscanf.c (struct test): Add testcase.
7054
66294491
JM
70552013-11-16 Joseph Myers <joseph@codesourcery.com>
7056
ce665817
JM
7057 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
7058 (NO_TEST_INLINE): Update value.
7059 (ERRNO_UNCHANGED): Likewise.
7060 (ERRNO_EDOM): Likewise.
7061 (ERRNO_ERANGE): Likewise.
7062 (IGNORE_RESULT): Likewise.
7063 (check_float_internal): Check signs of NaN results if
7064 TEST_NAN_SIGN used.
7065 (check_complex): Pass TEST_NAN_SIGN flag through to second
7066 check_float_internal call.
7067 (copysign_test_data): Add tests with quiet NaNs as second
7068 argument. Use TEST_NAN_SIGN.
7069 (fabs_test_data): Add test of negative quiet NaN argument. Use
7070 TEST_NAN_SIGN.
7071 (signbit_test_data): Add tests of quiet NaN argument.
7072 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
7073
ee1466a9
JM
7074 * math/gen-libm-test.pl (show_exceptions): Take extra argument
7075 $ignore_result.
7076 (parse_args): Handle function results specified as IGNORE.
7077 * math/libm-test.inc (IGNORE_RESULT): New macro.
7078 (check_float_internal): Do not check numerical result if flag
7079 IGNORE_RESULT set.
7080 (check_complex): Pass through IGNORE_RESULT to second
7081 check_float_internal call.
7082 (check_int): Do not check numerical result if flag IGNORE_RESULT
7083 set.
7084 (check_long): Likewise.
7085 (check_bool): Likewise.
7086 (check_longlong): Likewise.
7087 (lrint_test_data): Add tests of infinite and NaN arguments.
7088 (lrint_tonearest_test_data): Likewise.
7089 (lrint_towardzero_test_data): Likewise.
7090 (lrint_downward_test_data): Likewise.
7091 (lrint_upward_test_data): Likewise.
7092 (llrint_test_data): Likewise.
7093 (llrint_tonearest_test_data): Likewise.
7094 (llrint_towardzero_test_data): Likewise.
7095 (llrint_downward_test_data): Likewise.
7096 (llrint_upward_test_data): Likewise.
7097 (lround_test_data): Likewise.
7098 (llround_test_data): Likewise.
7099
14407b7e
JM
7100 * math/libm-test.inc (NO_TEST_INLINE): New macro.
7101 (ERRNO_UNCHANGED): Update value.
7102 (ERRNO_EDOM): Likewise.
7103 (ERRNO_ERANGE): Likewise.
7104 (NO_TEST_INLINE_FLOAT): New macro.
7105 (NO_TEST_INLINE_DOUBLE): Likewise.
7106 (enable_test): New function.
7107 (RUN_TEST_f_f): Check enable_test before running test.
7108 (RUN_TEST_2_f): Likewise.
7109 (RUN_TEST_fff_f): Likewise.
7110 (RUN_TEST_c_f): Likewise.
7111 (RUN_TEST_f_f1): Likewise.
7112 (RUN_TEST_fF_f1): Likewise.
7113 (RUN_TEST_fI_f1): Likewise.
7114 (RUN_TEST_ffI_f1): Likewise.
7115 (RUN_TEST_c_c): Likewise.
7116 (RUN_TEST_cc_c): Likewise.
7117 (RUN_TEST_f_i): Likewise.
7118 (RUN_TEST_f_i_tg): Likewise.
7119 (RUN_TEST_ff_i_tg): Likewise.
7120 (RUN_TEST_f_b): Likewise.
7121 (RUN_TEST_f_b_tg): Likewise.
7122 (RUN_TEST_f_l): Likewise.
7123 (RUN_TEST_f_L): Likewise.
7124 (RUN_TEST_fFF_11): Likewise.
7125 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
7126 conditionals.
7127 (cosh_test_data): Likewise.
7128 (exp_test_data): Likewise.
7129 (expm1_test_data): Likewise.
7130 (hypot_test_data): Likewise.
7131 (pow_test_data): Likewise.
7132 (sinh_test_data): Likewise.
7133 (tanh_test_data): Likewise.
7134 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
7135 flags argument.
7136
ca07f197
JM
7137 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
7138 tests with quiet NaN input and output.
7139 (acosh_test_data): Likewise.
7140 (asin_test_data): Likewise.
7141 (asinh_test_data): Likewise.
7142 (atan_test_data): Likewise.
7143 (atanh_test_data): Likewise.
7144 (atan2_test_data): Likewise.
7145 (cbrt_test_data): Likewise.
7146 (cos_test_data): Likewise.
7147 (cosh_test_data): Likewise.
7148 (erf_test_data): Likewise.
7149 (erfc_test_data): Likewise.
7150 (exp_test_data): Likewise.
7151 (exp10_test_data): Likewise.
7152 (exp2_test_data): Likewise.
7153 (expm1_test_data): Likewise.
7154 (hypot_test_data): Likewise.
7155 (j0_test_data): Likewise.
7156 (j1_test_data): Likewise.
7157 (jn_test_data): Likewise.
7158 (lgamma_test_data): Likewise.
7159 (log_test_data): Likewise.
7160 (log10_test_data): Likewise.
7161 (log1p_test_data): Likewise.
7162 (log2_test_data): Likewise.
7163 (pow_test_data): Likewise.
7164 (scalb_test_data): Likewise.
7165 (sin_test_data): Likewise.
7166 (sincos_test_data): Likewise.
7167 (sinh_test_data): Likewise.
7168 (tan_test_data): Likewise.
7169 (tanh_test_data): Likewise.
7170 (tgamma_test_data): Likewise.
7171 (y0_test_data): Likewise.
7172 (y1_test_data): Likewise.
7173 (yn_test_data): Likewise.
7174
66294491
JM
7175 [BZ #16167]
7176 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
7177 argument being NaN and avoid computations with second argument in
7178 that case.
7179 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
7180 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
7181 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
7182
1820b143
CL
71832013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
7184
7185 * locale/iso-639.def: Add Chitwani Tharu (the).
7186
714bd261
AS
71872013-11-14 Andreas Schwab <schwab@suse.de>
7188
7189 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
7190 word instead of empty string.
7191
7ab44563
AZ
71922013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7193
7194 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
7195 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
7196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7197 (__fe_nomask_env): Likewise.
7198
e8470ea2
SE
71992013-11-13 Steve Ellcey <sellcey@mips.com>
7200
7201 * benchtests/bench-timing.h: Include time.h.
7202
17c1d9f0
L
72032013-11-13 H.J. Lu <hongjiu.lu@intel.com>
7204
7205 [BZ #15997]
7206 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
7207 to 3.4.0 for x32.
7208 * sysdeps/unix/sysv/linux/configure: Regenerated.
7209
9310c284
JM
72102013-11-13 Joseph Myers <joseph@codesourcery.com>
7211
7212 [BZ #16151]
7213 * stdlib/strtod_l.c (round_and_return): Do not consider
7214 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
7215 exponent one less than half the least subnormal exponent.
7216 * stdlib/test-strtod-round-data: Add more tests.
7217 * stdlib/tst-strtod-round.c (tests): Regenerated.
7218
7a2ad8cf
AZ
72192013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7220
7221 [BZ #14143]
7222 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
7223 (__fe_mask_env): Likewise.
7224 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
7225 libm_hidden_proto and add function prototype.
7226 (__fe_mask_env): Add function prototype.
7227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
7228 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
7229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
7230 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
7231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7232 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
7233
50727aa7
MS
72342013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7235
b2f386c1 7236 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
7237 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
7238
a615be46
MS
72392013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7240
7241 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
7242 of htab_find_slot().
7243
7ddace62
DM
72442013-11-11 David S. Miller <davem@davemloft.net>
7245
7246 [BZ #16150]
7247 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
7248 symbol in the non-vis3 case in static builds.
7249 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
7250 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
7251 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
7252 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
7253
9182aa67
JK
72542013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7255
7256 [BZ #387]
7257 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
7258 it is empty.
7259
450a2e2d
AZ
72602013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7261
b2f386c1
SP
7262 * benchtests/Makefile: Add bench-strtod.
7263 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 7264
8ec3f656
AS
72652013-11-11 Andreas Schwab <schwab@suse.de>
7266
7267 [BZ #16153]
7268 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
7269 terminating NUL in key length.
7270
76a9b998
AZ
72712013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7272
7273 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
7274 Add artificial ODP entry for vDSO symbol for PPC64.
7275 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
7276 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
7277
e4368156
OB
72782013-11-07 Ondřej Bílka <neleai@seznam.cz>
7279
7280 [BZ #15374]
7281 * nss/getent.c (services_keys): Recognize services starting with digit.
7282
8d6bb57c
DM
72832013-11-06 David S. Miller <davem@davemloft.net>
7284
7285 [BZ #15985]
7286 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
7287 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
7288
e256c421
WN
72892013-11-06 Will Newton <will.newton@linaro.org>
7290
7291 * manual/memory.texi (Malloc Examples): Remove register
7292 keyword from examples.
7293
f6e12daa 72942013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 7295
f6e12daa 7296 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 7297
9d880655
AS
72982013-11-04 Joseph Myers <joseph@codesourcery.com>
7299
fd2f9486 7300 [BZ #6981]
9d880655
AS
7301 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
7302 depending on [__GCC_IEC_559 > 0].
7303 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
7304 depending on [__GCC_IEC_559_COMPLEX > 0].
7305
ae129d3c
CL
73062013-11-03 Chris Leonard <cjl@sugarlabs.org>
7307
7308 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
7309 to iso-639.def.
7310
4a15c2a4 73112013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
7312
7313 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
7314
8b35e35d
OB
73152013-11-01 Ondřej Bílka <neleai@seznam.cz>
7316
7317 [BZ #16112]
7318 * malloc/malloc (malloc_info): Do not handle first bin as
7319 special case.
7320
1d70fd6c
CL
73212013-11-01 Chris Leonard <cjl@sugarlabs.org>
7322
7323 * locale/iso-639.def: Add Central Nahuatl (nhn).
7324
8c5c2600
BH
73252013-11-01 Bruno Haible <bruno@clisp.org>
7326
7327 [BZ #7003]
7328 * manual/math.texi (BSD Random): Specify range upper bound as
7329 in POSIX.
7330
da5579c2
CL
73312013-10-31 Chris Leonard <cjl@sugarlabs.org>
7332
7333 * locale/iso-639.def: Add Meadow Mari (mhr).
7334
5d30d853
OB
73352013-10-31 Ondřej Bílka <neleai@seznam.cz>
7336
7337 [BZ #14752], [BZ #15763]
7338 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
7339 Validate name.
7340 * rt/tst_shm.c: Add test for escaping directory.
7341
a4966c61
AS
73422013-10-31 Andreas Schwab <schwab@suse.de>
7343
8a43e768 7344 [BZ #15917]
a4966c61
AS
7345 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
7346 followed by 'x' as part of digit sequence.
7347 * stdio-common/tst-sscanf.c (double_tests2): New tests.
7348
28d708c4
MAP
73492013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
7350
7351 [BZ #16037]
7352 * configure.ac: allow GNU Make 4.0 and greater.
7353 * configure: Regenerated.
7354
a56ee40b
WN
73552013-10-30 Will Newton <will.newton@linaro.org>
7356
7357 [BZ #16038]
7358 * malloc/hooks.c (memalign_check): Limit alignment to the
7359 maximum representable power of two.
7360 * malloc/malloc.c (__libc_memalign): Likewise.
7361 * malloc/tst-memalign.c (do_test): Add test for very
7362 large alignment values.
7363 * malloc/tst-posix_memalign.c (do_test): Likewise.
7364
c6e4925d
OB
73652013-10-30 Ondřej Bílka <neleai@seznam.cz>
7366
7367 [BZ #11087]
7368 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
7369 (munmap_chunk): Likewise.
7370 (mremap_chunk): Likewise.
7371
73722013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 7373
8a43e768 7374 [BZ #15799]
bbea82f7
OB
7375 * stdlib/div.c (div): Remove obsolete code.
7376 * stdlib/ldiv.c (ldiv): Likewise.
7377 * stdlib/lldiv.c (lldiv): Likewise.
7378
977f4b31
SP
73792013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7380
7381 [BZ #16071]
7382 * nss/nss_files/files-XXX.c (get_contents_ret): New
7383 enumerator.
7384 (get_contents): New function.
7385 (internal_getent): Use it. Expand size of LINEBUFLEN.
7386
cb8a6dbd
MF
73872013-10-30 Mike Frysinger <vapier@gentoo.org>
7388
7389 * configure.in: Moved to ...
7390 * configure.ac: ... here. Change reference to configure.in
7391 to configure.ac.
7392 * sysdeps/arm/preconfigure.ac: ... here.
7393 configure.in to configure.ac.
7394 * sysdeps/gnu/configure.in: Moved to ...
7395 * sysdeps/gnu/configure.ac: ... here.
7396 * sysdeps/i386/configure.in: Moved to ...
7397 * sysdeps/i386/configure.ac: ... here.
7398 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
7399 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
7400 * sysdeps/mach/configure.in: Moved to ...
7401 * sysdeps/mach/configure.ac: ... here.
7402 * sysdeps/mach/hurd/configure.in: Moved to ...
7403 * sysdeps/mach/hurd/configure.ac: ... here.
7404 * sysdeps/powerpc/configure.in: Moved to ...
7405 * sysdeps/powerpc/configure.ac: ... here.
7406 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
7407 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
7408 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
7409 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
7410 * sysdeps/s390/s390-32/configure.in: Moved to ...
7411 * sysdeps/s390/s390-32/configure.ac: ... here.
7412 * sysdeps/s390/s390-64/configure.in: Moved to ...
7413 * sysdeps/s390/s390-64/configure.ac: ... here.
7414 * sysdeps/sh/configure.in: Moved to ...
7415 * sysdeps/sh/configure.ac: ... here.
7416 * sysdeps/sparc/configure.in: Moved to ...
7417 * sysdeps/sparc/configure.ac: ... here.
7418 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
7419 * sysdeps/unix/sysv/linux/configure.ac: ... here.
7420 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
7421 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
7422 * sysdeps/x86_64/configure.in: Moved to ...
7423 * sysdeps/x86_64/configure.ac: ... here.
7424 * sysdeps/x86_64/preconfigure.in: Moved to ...
7425 * sysdeps/x86_64/preconfigure.ac: ... here.
7426 * aclocal.m4: Change reference to configure.in to configure.ac.
7427 * config.h.in: Likewise.
7428 * manual/install.texi: Likewise.
7429 * manual/maint.texi: Likewise.
7430 * Makefile: Likewise.
7431 * malloc/Makefile: Likewise.
7432 * nscd/Makefile: Likewise.
7433 * Makeconfig: Change reference to configure.in and
7434 preconfigure.in to configure.ac and preconfigure.ac
7435 respectively.
7436 * INSTALL: Regenerated.
7437 * configure: Likewise.
7438 * sysdeps/gnu/configure: Likewise.
7439 * sysdeps/i386/configure: Likewise.
7440 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
7441 * sysdeps/mach/configure: Likewise.
7442 * sysdeps/mach/hurd/configure: Likewise.
7443 * sysdeps/powerpc/configure: Likewise.
7444 * sysdeps/powerpc/powerpc32/configure: Likewise.
7445 * sysdeps/powerpc/powerpc64/configure: Likewise.
7446 * sysdeps/s390/s390-32/configure: Likewise.
7447 * sysdeps/s390/s390-64/configure: Likewise.
7448 * sysdeps/sh/configure: Likewise.
7449 * sysdeps/sparc/configure: Likewise.
7450 * sysdeps/unix/sysv/linux/configure: Likewise.
7451 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
7452 * sysdeps/x86_64/configure: Likewise.
7453 * sysdeps/x86_64/preconfigure: Likewise.
7454
36a4953a
AS
74552013-10-29 Andreas Schwab <schwab@suse.de>
7456
7457 * stdio-common/Makefile (tst-swscanf-ENV): Define.
7458
c79a1204
SP
74592013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7460
dfa1b402
SP
7461 * benchtests/pow-inputs: Add new inputs.
7462
54f73d9c
SP
7463 * benchtests/exp-inputs: Add new inputs.
7464
c79a1204
SP
7465 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
7466 conditional check for return value.
7467 (__cos32): Likewise.
7468
67beb545 74692013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
7470
7471 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
7472 to provide a boost for large inputs with word alignment.
7473 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
7474 implementation based on optimized PPC64 strcpy.
7475 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
7476 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
7477 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
7478 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
7479
151659f6
OB
74802013-10-25 Ondřej Bílka <neleai@seznam.cz>
7481
482a077e 7482 [BZ #2801]
151659f6
OB
7483 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
7484
10b0f26b
OB
74852013-10-25 Ondřej Bílka <neleai@seznam.cz>
7486
7487 [BZ #14876]
7488 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
7489 * time/tst-strptime.c (day_tests): Add testcase.
7490
ca42d35e
OB
74912013-10-25 Ondřej Bílka <neleai@seznam.cz>
7492
482a077e 7493 [BZ #14029]
ca42d35e
OB
7494 * manual/pattern.texi: Acknowledge that fnmatch can fail.
7495
52e6d801
FB
74962013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
7497
7498 [BZ #16074]
7499 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
7500 MAP_FAILED on error.
7501
7cbcdb36
SP
75022013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
7503
7504 [BZ #16072]
7505 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
7506 heap for large requests.
7507
894f3f10
AM
75082013-10-25 Aurelien Jarno <aurelien@aurel32.net>
7509
7510 [BZ #9954]
7511 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
7512 result if the result has no associated interface.
7513 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
7514 interface for all 127.X.Y.Z addresses.
7515
b85545a6
CL
75162013-10-24 Chris Leonard <cjl@sugarlabs.org>
7517
7518 * locale/iso-639.def: Add Ligurian (lij)
7519
d1f23d46
OB
75202013-10-21 Ondřej Bílka <neleai@seznam.cz>
7521
7522 [BZ #15825]
7523 * sunrpc/rpc_main.c: Document rpcgen -5.
7524
4db5b08f
MS
75252013-10-19 Michael Stahl <mstahl@redhat.com>
7526
7527 * elf/rtld.c (do_preload): Print the reason why preloading failed.
7528
a471e96a
OB
75292013-10-19 Ondřej Bílka <neleai@seznam.cz>
7530
d1f23d46 7531 [BZ #10278]
a471e96a
OB
7532 * posix/glob.c: Match only directories when trailing slash is present.
7533 * posix/tst-gnuglob.c (my_opendir): Do not open files.
7534 (main): Add testcase.
7535
45c30c61
OB
75362013-10-19 Ondřej Bílka <neleai@seznam.cz>
7537
7538 [BZ #15670]
7539 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
7540
484c12fb
CD
75412013-10-18 Carlos O'Donell <carlos@redhat.com>
7542
3d7dc513
CD
7543 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
7544 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
7545 AUTH_DES and cindex for FIPS 140-2.
7546 (DES Encryption): Add cindex FIPS 46-3.
7547
484c12fb
CD
7548 * locale/locarchive.h (struct locarhandle): Add fname.
7549 * locale/programs/localedef.c (main): Pass ARGV[remaining]
7550 if an optional argument was specified to --list-archive,
7551 otherwise NULL.
7552 * locale/programs/locarchive.c (show_archive_content): Take new
7553 argument fname and pass it via ah.fname to open_archive.
7554 * locale/programs/localedef.h: Update decl.
7555 (open_archive): If AH->fname is non-null, open that file
7556 rather than the default file name, and don't ignore ENOENT.
7557 (create_archive): Set AH.fname to NULL.
7558 (delete_locales_from_archive): Likewise.
7559 (add_locales_to_archive): Likewise.
7560 * locale/programs/locfile.c (write_all_categories): Likewise.
7561
3c8325fb
JM
75622013-10-18 Joseph Myers <joseph@codesourcery.com>
7563 Aldy Hernandez <aldyh@redhat.com>
7564
7565 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
7566 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
7567 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
7568 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
7569 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
7570 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
7571 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
7572 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
7573 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
7574 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
7575 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
7576 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
7577 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
7578 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
7579 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
7580 Likewise.
7581 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
7582 Likewise.
7583 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
7584 Likewise.
7585 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
7586 Likewise.
7587 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
7588 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
7589 Likewise.
7590 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
7591 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
7592 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
7593 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
7594 Likewise.
7595 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
7596 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
7597 * sysdeps/powerpc/preconfigure: Likewise.
7598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
7599 Likewise.
7600 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
7601 Replace contents of file by #include of <fenv_libc.h>.
7602 * sysdeps/powerpc/soft-fp/sfp-machine.h
7603 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
7604 and <sys/prctl.h>.
7605 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
7606 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
7607 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
7608 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
7609 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
7610 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
7611 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
7612 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
7613 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
7614 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
7615 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
7616 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
7617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
7618 Allow copysignl PLT reference to be missing.
7619
5abe0682
RS
76202013-10-18 Richard Sandiford <richard@codesourcery.com>
7621 Joseph Myers <joseph@codesourcery.com
7622
7623 [BZ #15948]
7624 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
7625 single character.
7626 (add_to_tablewc): Assert sequence of wide characters is nonempty.
7627
c7738d08
SP
76282013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7629
7630 * elf/tst-tls-dlinfo.c: Don't include tls.h.
7631 * elf/tst-tls1.c: Likewise.
7632 * elf/tst-tls10.h: Likewise.
7633 * elf/tst-tls14.c: Likewise.
7634 * elf/tst-tls2.c: Likewise.
7635 * elf/tst-tls3.c: Likewise.
7636 * elf/tst-tls4.c: Likewise.
7637 * elf/tst-tls5.c: Likewise.
7638 * elf/tst-tls6.c: Likewise.
7639 * elf/tst-tls7.c: Likewise.
7640 * elf/tst-tls8.c: Likewise.
7641 * elf/tst-tls9.c: Likewise.
7642 * elf/tst-tlsmod1.c: Likewise.
7643 * elf/tst-tlsmod13.c: Likewise.
7644 * elf/tst-tlsmod13a.c: Likewise.
7645 * elf/tst-tlsmod14a.c: Likewise.
7646 * elf/tst-tlsmod16a.c: Likewise.
7647 * elf/tst-tlsmod16b.c: Likewise.
7648 * elf/tst-tlsmod2.c: Likewise.
7649 * elf/tst-tlsmod3.c: Likewise.
7650 * elf/tst-tlsmod4.c: Likewise.
7651 * elf/tst-tlsmod5.c: Likewise.
7652 * elf/tst-tlsmod6.c: Likewise.
7653
0bfcf2c7
OB
76542013-10-18 Ondřej Bílka <neleai@seznam.cz>
7655
7656 [BZ #12486]
7657 * malloc/malloc.c: remove checks for statistics.
7658
264aad1e
OB
76592013-10-17 Ondřej Bílka <neleai@seznam.cz>
7660
7661 [BZ #15277]
7662 * inet/inet_net.c (inet_network): Detect additional invalid strings.
7663 * inet/tst-network.c: Add testcase.
7664
b957ced8
AS
76652013-10-17 Andreas Schwab <schwab@suse.de>
7666
7667 [BZ #15218]
7668 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
7669 to determine canonical name.
7670
c5d5d574
OB
76712013-10-17 Ondřej Bílka <neleai@seznam.cz>
7672
7673 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
7674 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
7675 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7676 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
7677 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7678 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
7679 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
7680 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
7681 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
7682 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
7683 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
7684 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
7685 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
7686 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
7687 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
7688 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
7689 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7690 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
7691 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
7692 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
7693 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7694 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7695 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7696 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
7697 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
7698 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
7699 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
7700 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
7701 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
7702 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
7703 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
7704 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7705 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
7706 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
7707 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
7708 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
7709 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
7710 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
7711 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
7712 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7713 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
7714 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
7715 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
7716 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
7717 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
7718 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
7719 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
7720 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
7721 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
7722 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
7723 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
7724 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
7725 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
7726 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
7727 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
7728 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
7729 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7730 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
7731
e5c2c2d0
JM
77322013-10-17 Joseph Myers <joseph@codesourcery.com>
7733
7734 [BZ #16041]
7735 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
7736 make result into a quiet NaN.
7737
51ca9e29
JM
77382013-10-16 Joseph Myers <joseph@codesourcery.com>
7739
7740 * soft-fp/adddf3.c: Fix horizontal whitespace.
7741 * soft-fp/addsf3.c: Likewise.
7742 * soft-fp/addtf3.c: Likewise.
7743 * soft-fp/divdf3.c: Likewise.
7744 * soft-fp/divsf3.c: Likewise.
7745 * soft-fp/divtf3.c: Likewise.
7746 * soft-fp/double.h: Likewise.
7747 * soft-fp/eqdf2.c: Likewise.
7748 * soft-fp/eqsf2.c: Likewise.
7749 * soft-fp/eqtf2.c: Likewise.
7750 * soft-fp/extenddftf2.c: Likewise.
7751 * soft-fp/extended.h: Likewise.
7752 * soft-fp/extendsfdf2.c: Likewise.
7753 * soft-fp/extendsftf2.c: Likewise.
7754 * soft-fp/extendxftf2.c: Likewise.
7755 * soft-fp/fixdfdi.c: Likewise.
7756 * soft-fp/fixdfsi.c: Likewise.
7757 * soft-fp/fixdfti.c: Likewise.
7758 * soft-fp/fixsfdi.c: Likewise.
7759 * soft-fp/fixsfsi.c: Likewise.
7760 * soft-fp/fixsfti.c: Likewise.
7761 * soft-fp/fixtfdi.c: Likewise.
7762 * soft-fp/fixtfsi.c: Likewise.
7763 * soft-fp/fixtfti.c: Likewise.
7764 * soft-fp/fixunsdfdi.c: Likewise.
7765 * soft-fp/fixunsdfsi.c: Likewise.
7766 * soft-fp/fixunsdfti.c: Likewise.
7767 * soft-fp/fixunssfdi.c: Likewise.
7768 * soft-fp/fixunssfsi.c: Likewise.
7769 * soft-fp/fixunssfti.c: Likewise.
7770 * soft-fp/fixunstfdi.c: Likewise.
7771 * soft-fp/fixunstfsi.c: Likewise.
7772 * soft-fp/fixunstfti.c: Likewise.
7773 * soft-fp/floatdidf.c: Likewise.
7774 * soft-fp/floatdisf.c: Likewise.
7775 * soft-fp/floatditf.c: Likewise.
7776 * soft-fp/floatsidf.c: Likewise.
7777 * soft-fp/floatsisf.c: Likewise.
7778 * soft-fp/floatsitf.c: Likewise.
7779 * soft-fp/floattidf.c: Likewise.
7780 * soft-fp/floattisf.c: Likewise.
7781 * soft-fp/floattitf.c: Likewise.
7782 * soft-fp/floatundidf.c: Likewise.
7783 * soft-fp/floatundisf.c: Likewise.
7784 * soft-fp/floatunditf.c: Likewise.
7785 * soft-fp/floatunsidf.c: Likewise.
7786 * soft-fp/floatunsisf.c: Likewise.
7787 * soft-fp/floatunsitf.c: Likewise.
7788 * soft-fp/floatuntidf.c: Likewise.
7789 * soft-fp/floatuntisf.c: Likewise.
7790 * soft-fp/floatuntitf.c: Likewise.
7791 * soft-fp/fmadf4.c: Likewise.
7792 * soft-fp/fmasf4.c: Likewise.
7793 * soft-fp/fmatf4.c: Likewise.
7794 * soft-fp/gedf2.c: Likewise.
7795 * soft-fp/gesf2.c: Likewise.
7796 * soft-fp/getf2.c: Likewise.
7797 * soft-fp/ledf2.c: Likewise.
7798 * soft-fp/lesf2.c: Likewise.
7799 * soft-fp/letf2.c: Likewise.
7800 * soft-fp/muldf3.c: Likewise.
7801 * soft-fp/mulsf3.c: Likewise.
7802 * soft-fp/multf3.c: Likewise.
7803 * soft-fp/negdf2.c: Likewise.
7804 * soft-fp/negsf2.c: Likewise.
7805 * soft-fp/negtf2.c: Likewise.
7806 * soft-fp/op-1.h: Likewise.
7807 * soft-fp/op-2.h: Likewise.
7808 * soft-fp/op-4.h: Likewise.
7809 * soft-fp/op-8.h: Likewise.
7810 * soft-fp/op-common.h: Likewise.
7811 * soft-fp/quad.h: Likewise.
7812 * soft-fp/single.h: Likewise.
7813 * soft-fp/soft-fp.h: Likewise.
7814 * soft-fp/sqrtdf2.c: Likewise.
7815 * soft-fp/sqrtsf2.c: Likewise.
7816 * soft-fp/sqrttf2.c: Likewise.
7817 * soft-fp/subdf3.c: Likewise.
7818 * soft-fp/subsf3.c: Likewise.
7819 * soft-fp/subtf3.c: Likewise.
7820 * soft-fp/truncdfsf2.c: Likewise.
7821 * soft-fp/trunctfdf2.c: Likewise.
7822 * soft-fp/trunctfsf2.c: Likewise.
7823 * soft-fp/trunctfxf2.c: Likewise.
7824 * soft-fp/unorddf2.c: Likewise.
7825 * soft-fp/unordsf2.c: Likewise.
7826 * soft-fp/unordtf2.c: Likewise.
7827
9ebb0332
JM
78282013-10-15 Joseph Myers <joseph@codesourcery.com>
7829
7830 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
7831 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
7832
4b1a6d8b
OB
78332013-10-15 Ondřej Bílka <neleai@seznam.cz>
7834
7835 * elf/dl-libc.c: Clear initfini list after freeing.
7836
1e145589
JM
78372013-10-14 Joseph Myers <joseph@codesourcery.com>
7838
7839 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
7840 * soft-fp/addsf3.c: Likewise.
7841 * soft-fp/addtf3.c: Likewise.
7842 * soft-fp/divdf3.c: Likewise.
7843 * soft-fp/divsf3.c: Likewise.
7844 * soft-fp/divtf3.c: Likewise.
7845 * soft-fp/double.h: Likewise.
7846 * soft-fp/eqdf2.c: Likewise.
7847 * soft-fp/eqsf2.c: Likewise.
7848 * soft-fp/eqtf2.c: Likewise.
7849 * soft-fp/extenddftf2.c: Likewise.
7850 * soft-fp/extended.h: Likewise.
7851 * soft-fp/extendsfdf2.c: Likewise.
7852 * soft-fp/extendsftf2.c: Likewise.
7853 * soft-fp/extendxftf2.c: Likewise.
7854 * soft-fp/fixdfdi.c: Likewise.
7855 * soft-fp/fixdfsi.c: Likewise.
7856 * soft-fp/fixdfti.c: Likewise.
7857 * soft-fp/fixsfdi.c: Likewise.
7858 * soft-fp/fixsfsi.c: Likewise.
7859 * soft-fp/fixsfti.c: Likewise.
7860 * soft-fp/fixtfdi.c: Likewise.
7861 * soft-fp/fixtfsi.c: Likewise.
7862 * soft-fp/fixtfti.c: Likewise.
7863 * soft-fp/fixunsdfdi.c: Likewise.
7864 * soft-fp/fixunsdfsi.c: Likewise.
7865 * soft-fp/fixunsdfti.c: Likewise.
7866 * soft-fp/fixunssfdi.c: Likewise.
7867 * soft-fp/fixunssfsi.c: Likewise.
7868 * soft-fp/fixunssfti.c: Likewise.
7869 * soft-fp/fixunstfdi.c: Likewise.
7870 * soft-fp/fixunstfsi.c: Likewise.
7871 * soft-fp/fixunstfti.c: Likewise.
7872 * soft-fp/floatdidf.c: Likewise.
7873 * soft-fp/floatdisf.c: Likewise.
7874 * soft-fp/floatditf.c: Likewise.
7875 * soft-fp/floatsidf.c: Likewise.
7876 * soft-fp/floatsisf.c: Likewise.
7877 * soft-fp/floatsitf.c: Likewise.
7878 * soft-fp/floattidf.c: Likewise.
7879 * soft-fp/floattisf.c: Likewise.
7880 * soft-fp/floattitf.c: Likewise.
7881 * soft-fp/floatundidf.c: Likewise.
7882 * soft-fp/floatundisf.c: Likewise.
7883 * soft-fp/floatunsidf.c: Likewise.
7884 * soft-fp/floatunsisf.c: Likewise.
7885 * soft-fp/floatuntidf.c: Likewise.
7886 * soft-fp/floatuntisf.c: Likewise.
7887 * soft-fp/floatuntitf.c: Likewise.
7888 * soft-fp/fmadf4.c: Likewise.
7889 * soft-fp/fmasf4.c: Likewise.
7890 * soft-fp/fmatf4.c: Likewise.
7891 * soft-fp/gedf2.c: Likewise.
7892 * soft-fp/gesf2.c: Likewise.
7893 * soft-fp/getf2.c: Likewise.
7894 * soft-fp/ledf2.c: Likewise.
7895 * soft-fp/lesf2.c: Likewise.
7896 * soft-fp/letf2.c: Likewise.
7897 * soft-fp/muldf3.c: Likewise.
7898 * soft-fp/mulsf3.c: Likewise.
7899 * soft-fp/multf3.c: Likewise.
7900 * soft-fp/negdf2.c: Likewise.
7901 * soft-fp/negsf2.c: Likewise.
7902 * soft-fp/negtf2.c: Likewise.
7903 * soft-fp/op-1.h: Likewise.
7904 * soft-fp/op-2.h: Likewise.
7905 * soft-fp/op-4.h: Likewise.
7906 * soft-fp/op-8.h: Likewise.
7907 * soft-fp/op-common.h: Likewise.
7908 * soft-fp/quad.h: Likewise.
7909 * soft-fp/single.h: Likewise.
7910 * soft-fp/soft-fp.h: Likewise.
7911 * soft-fp/sqrtdf2.c: Likewise.
7912 * soft-fp/sqrtsf2.c: Likewise.
7913 * soft-fp/sqrttf2.c: Likewise.
7914 * soft-fp/subdf3.c: Likewise.
7915 * soft-fp/subsf3.c: Likewise.
7916 * soft-fp/subtf3.c: Likewise.
7917 * soft-fp/truncdfsf2.c: Likewise.
7918 * soft-fp/trunctfdf2.c: Likewise.
7919 * soft-fp/trunctfsf2.c: Likewise.
7920 * soft-fp/trunctfxf2.c: Likewise.
7921 * soft-fp/unorddf2.c: Likewise.
7922 * soft-fp/unordsf2.c: Likewise.
7923 * soft-fp/unordtf2.c: Likewise.
7924
17c48a60
OB
79252013-10-14 Ondřej Bílka <neleai@seznam.cz>
7926
7927 [BZ #15672]
7928 * misc/error.c (error_tail): Fix possible buffer overflow.
7929
cabba934
OB
79302013-10-14 Aurelien Jarno <aurelien@aurel32.net>
7931
7932 [BZ #13028]
7933 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
7934 address.
7935
94bf958a
PM
79362013-10-14 P. J. McDermott <pj@pehjota.net>
7937
7938 [BZ #832]
7939 * elf/ldd.bash.in (try_trace): New function. Delete previous code
7940 testing pipefail option.
7941
71b4dea7
JM
79422013-10-12 Joseph Myers <joseph@codesourcery.com>
7943
7944 * soft-fp/double.h: Indent preprocessor directives inside #if.
7945 * soft-fp/extended.h: Likewise.
7946 * soft-fp/op-2.h: Likewise.
7947 * soft-fp/op-4.h: Likewise.
7948 * soft-fp/op-common.h: Likewise.
7949 * soft-fp/quad.h: Likewise.
7950 * soft-fp/single.h: Likewise.
7951 * soft-fp/soft-fp.h: Likewise.
7952
55602758
YC
79532013-10-12 Yuri Chornoivan <yurchor@ukr.net>
7954
7955 * iconv/iconv_prog.c: Fix typos.
7956 * stdio-common/psiginfo-data.h: Likewise.
7957
9cd83302
RT
79582013-10-12 Reuben Thomas <rrt@sc3d.org>
7959
7960 [BZ #15764]
7961 * locale/setlocale.c: Fix typo.
7962
99fd9f47
JM
79632013-10-12 Joseph Myers <joseph@codesourcery.com>
7964
b7ea74f0
JM
7965 [BZ #16036]
7966 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
7967 signaling NaN arguments.
7968 * soft-fp/unordsf2.c (__unordsf2): Likewise.
7969 * soft-fp/unordtf2.c (__unordtf2): Likewise.
7970
8a509447
JM
7971 [BZ #14910]
7972 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
7973 unordered operands.
7974 * soft-fp/gesf2.c (__gesf2): Likewise.
7975 * soft-fp/getf2.c (__getf2): Likewise.
7976 * soft-fp/ledf2.c (__ledf2): Likewise.
7977 * soft-fp/lesf2.c (__lesf2): Likewise.
7978 * soft-fp/letf2.c (__letf2): Likewise.
7979
98998e9f
JM
7980 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
7981 * soft-fp/eqsf2.c (__eqsf2): Likewise.
7982 * soft-fp/eqtf2.c (__eqtf2): Likewise.
7983 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
7984 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
7985 * soft-fp/fixdfti.c (__fixdfti): Likewise.
7986 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
7987 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
7988 * soft-fp/fixsfti.c (__fixsfti): Likewise.
7989 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
7990 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
7991 * soft-fp/fixtfti.c (__fixtfti): Likewise.
7992 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
7993 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
7994 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
7995 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
7996 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
7997 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
7998 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
7999 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
8000 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
8001 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
8002 * soft-fp/floatdisf.c (__floatdisf): Likewise.
8003 * soft-fp/floatsisf.c (__floatsisf): Likewise.
8004 * soft-fp/floattidf.c (__floattidf): Likewise.
8005 * soft-fp/floattisf.c (__floattisf): Likewise.
8006 * soft-fp/floattitf.c (__floattitf): Likewise.
8007 * soft-fp/floatundidf.c (__floatundidf): Likewise.
8008 * soft-fp/floatundisf.c (__floatundisf): Likewise.
8009 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
8010 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
8011 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
8012 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
8013 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
8014 * soft-fp/gesf2.c (__gesf2): Likewise.
8015 * soft-fp/getf2.c (__getf2): Likewise.
8016 * soft-fp/ledf2.c (__ledf2): Likewise.
8017 * soft-fp/lesf2.c (__lesf2): Likewise.
8018 * soft-fp/letf2.c (__letf2): Likewise.
8019
8edc4a11
JM
8020 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
8021 Undefine and redefine.
8022 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
8023 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
8024 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
8025 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
8026 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8027 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
8028 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8029 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
8030 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8031 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
8032 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8033 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
8034 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8035 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
8036 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8037
8399acaf
JM
8038 [BZ #16032]
8039 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
8040 without decrementing exponent if mantissa >= that for the
8041 denominator, not >.
8042 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
8043 denominator, not >. Decrement exponent in < case instead of
8044 incrementing in >= case.
8045 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
8046 without decrementing exponent if mantissa >= that for the
8047 denominator, not >.
8048
99fd9f47
JM
8049 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
8050 computing saturated result for unsigned overflow.
8051
10e1cf6b
SP
80522013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8053 Jeff Law <law@redhat.com>
8054
8055 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
8056 (atan2Mp): Add systemtap probe marker.
8057 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
8058 (__ieee754_log): Add systemtap probe marker.
8059 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
8060 (atanMp): Add systemtap probe marker.
8061 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
8062 (tanMp): Add systemtap probe marker.
8063 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
8064 (__slowexp): Add systemtap probe marker.
8065 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
8066 (__slowpow): Add systemtap probe marker.
8067 * manual/probes.texi: Document probes.
8068
3d110c7c
EB
80692013-10-11 Eric Biggers <ebiggers3@gmail.com>
8070
8071 [BZ #15362]
8072 * libio/fileops.c (_IO_new_file_write): Return count of bytes
8073 written.
8074 (_IO_new_file_xsputn): Don't return EOF if nothing has been
8075 written.
8076 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
8077 written to buffer but not flushed.
8078 * libio/iofwrite_u.c: Likewise.
8079 * libio/iopadn.c: Return bytes returned even if EOF was
8080 encountered.
8081 * libio/iowpadn.c: Likewise.
8082 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
8083 if _IO_padn does not write the whole buffer.
8084 [!COMPILE_WPRINTF] (PAD): Likewise.
8085
75b4202a
DM
80862013-10-10 David S. Miller <davem@davemloft.net>
8087
8088 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
8089 directory block.
8090
6c6352e6
JM
80912013-10-10 Joseph Myers <joseph@codesourcery.com>
8092
33b853c3
JM
8093 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
8094 instead of FSF address.
8095 * soft-fp/fixdfti.c: Likewise.
8096 * soft-fp/fixsfti.c: Likewise.
8097 * soft-fp/fixtfti.c: Likewise.
8098 * soft-fp/fixunsdfti.c: Likewise.
8099 * soft-fp/fixunssfti.c: Likewise.
8100 * soft-fp/fixunstfti.c: Likewise.
8101 * soft-fp/floattidf.c: Likewise.
8102 * soft-fp/floattisf.c: Likewise.
8103 * soft-fp/floattitf.c: Likewise.
8104 * soft-fp/floatuntidf.c: Likewise.
8105 * soft-fp/floatuntisf.c: Likewise.
8106 * soft-fp/floatuntitf.c: Likewise.
8107 * soft-fp/trunctfxf2.c: Likewise.
8108
6c6352e6
JM
8109 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
8110 * soft-fp/fixdfti.c: Likewise.
8111 * soft-fp/fixsfti.c: Likewise.
8112 * soft-fp/fixtfti.c: Likewise.
8113 * soft-fp/fixunsdfti.c: Likewise.
8114 * soft-fp/fixunssfti.c: Likewise.
8115 * soft-fp/fixunstfti.c: Likewise.
8116 * soft-fp/floattidf.c: Likewise.
8117 * soft-fp/floattisf.c: Likewise.
8118 * soft-fp/floattitf.c: Likewise.
8119 * soft-fp/floatuntidf.c: Likewise.
8120 * soft-fp/floatuntisf.c: Likewise.
8121 * soft-fp/floatuntitf.c: Likewise.
8122 * soft-fp/trunctfxf2.c: Likewise.
8123
3bf78b71
DM
81242013-10-10 David S. Miller <davem@davemloft.net>
8125
8126 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8127
6f10289e
JM
81282013-10-10 Joseph Myers <joseph@codsourcery.com>
8129
bd878fc0
JM
8130 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
8131 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
8132 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
8133 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
8134 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
8135 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
8136 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
8137
6f10289e
JM
8138 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
8139 for NaNs before doing comparisons on argument.
8140 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
8141 Likewise.
8142
321e2684
WN
81432013-10-10 Will Newton <will.newton@linaro.org>
8144
8145 * malloc/hooks.c (memalign_check): Ensure the value of bytes
8146 passed to _int_memalign does not overflow.
8147
40fefba1
TR
81482013-10-10 Torvald Riegel <triegel@redhat.com>
8149
8150 * scripts/bench.pl: Add include-sources directive.
8151 * benchtests/README: Update documentation.
8152
2ae21ed2
JM
81532013-10-10 Joseph Myers <joseph@codesourcery.com>
8154
dcc2dd3f
JM
8155 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
8156 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
8157 instead of FP_INIT_ROUNDMODE.
8158 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
8159 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
8160
2ae21ed2
JM
8161 [BZ #16034]
8162 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
8163 copy class of input value.
8164 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
8165 not handle exceptions.
8166 * soft-fp/negsf2.c (__negsf2): Likewise.
8167 * soft-fp/negtf2.c (__negtf2): Likewise.
8168 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
8169
cb8f9562
JM
81702013-10-09 Joseph Myers <joseph@codesourcery.com>
8171
8172 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
8173 semicolon. From Linux kernel.
8174
5b60c59d
AB
81752013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
8176
8177 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
8178
b86835ca
YC
81792013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
8180
8181 [BZ #156]
8182 * manual/socket.texi: Added statement about buffer
8183 for gethostbyname2_r.
8184
e7044ea7
OB
81852013-10-08 Ondřej Bílka <neleai@seznam.cz>
8186
8187 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
8188 Use .p2align directive instead, throughout.
8189 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
8190 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
8191 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
8192 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
8193 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
8194 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
8195 * sysdeps/x86_64/strchr.S: Likewise.
8196 * sysdeps/x86_64/strrchr.S: Likewise.
8197
09544cbc
SP
81982013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
8199
88576635
SP
8200 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
8201
e7b2d1dd
SP
8202 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
8203
09544cbc
SP
8204 * sysdeps/generic/math_private.h (__mpsin1): Remove
8205 declaration.
8206 (__mpcos1): Likewise.
8207 (__mpsin): New argument __range_reduce.
8208 (__mpcos): Likewise.
8209 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8210 (slow): Use __mpsin and __mpcos.
8211 (slow1): Likewise.
8212 (slow2): Likewise.
8213 (sloww): Likewise.
8214 (sloww1): Likewise.
8215 (sloww2): Likewise.
8216 (bsloww): Likewise.
8217 (bsloww1): Likewise.
8218 (bsloww2): Likewise.
8219 (cslow2): Likewise.
8220 (csloww): Likewise.
8221 (csloww1): Likewise.
8222 (csloww2): Likewise.
8223 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
8224 range_reduce. Merge in __mpsin1.
8225 (__mpcos): Likewise.
8226 (__mpsin1): Remove.
8227 (__mpcos1): Likewise.
8228
7602d070
JM
82292013-10-07 Joseph Myers <joseph@codesourcery.com>
8230
8231 * locale/loadlocale.c (_nl_intern_locale_data): Use
8232 LOCFILE_ALIGNED_P.
8233 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
8234 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
8235 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
8236 obstack data is appropriately aligned.
8237 (obstack_int32_grow_fast): Likewise.
8238 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
8239 * locale/programs/locfile.c (add_locale_uint32): Likewise.
8240 (add_locale_uint32_array): Likewise.
8241
a357259b
SP
82422013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
8243
8244 * benchtests/Makefile: Remove ARGLIST and RET variables.
8245 ($(objpfx)bench-%.c): Pass only function name to the script.
8246 * benchtests/README: Update documentation.
8247 * benchtests/acos-inputs: Add new directives.
8248 * benchtests/acosh-inputs: Likewise.
8249 * benchtests/asin-inputs: Likewise.
8250 * benchtests/asinh-inputs: Likewise.
8251 * benchtests/atan-inputs: Likewise.
8252 * benchtests/atanh-inputs: Likewise.
8253 * benchtests/cos-inputs: Likewise.
8254 * benchtests/cosh-inputs: Likewise.
8255 * benchtests/exp-inputs: Likewise.
8256 * benchtests/log-inputs: Likewise.
8257 * benchtests/pow-inputs: Likewise.
8258 * benchtests/rint-inputs: Likewise.
8259 * benchtests/sin-inputs: Likewise.
8260 * benchtests/sinh-inputs: Likewise.
8261 * benchtests/tan-inputs: Likewise.
8262 * benchtests/tanh-inputs: Likewise.
8263 * scripts/bench.pl: Add support for new directives.
8264
9ec1b13d
AM
82652013-10-07 Alan Modra <amodra@gmail.com>
8266
8267 * README: Fix careless merge.
8268
8b7d57cd
AM
82692013-10-05 Alan Modra <amodra@gmail.com>
8270
8271 * NEWS: Mention powerpc64le support and bugs fixed.
8272 * README: Both big-endian and little-endian powerpc64 supported.
8273
7b7bab13
ST
82742013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
8275
8276 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
8277 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
8278 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
8279 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
8280
d39baad1
RA
82812013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
8282
8283 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
8284 match prototype.
8285
cd78f7e7
JM
82862013-10-04 Joseph Myers <joseph@codesourcery.com>
8287
29d73d86
JM
8288 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
8289 Move -mhard-float appending from
8290 ports/sysdeps/powerpc/powerpc32/Makefile.
8291 [$(with-fp) = yes] (ASFLAGS): Likewise.
8292 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
8293 * sysdeps/powerpc/nofpu: Move directory from
8294 ports/sysdeps/powerpc/nofpu.
8295 * sysdeps/powerpc/soft-fp: Move directory from
8296 ports/sysdeps/powerpc/soft-fp.
8297 * sysdeps/powerpc/powerpc32/405: Move directory from
8298 ports/sysdeps/powerpc/powerpc32/405.
8299 * sysdeps/powerpc/powerpc32/440: Move directory from
8300 ports/sysdeps/powerpc/powerpc32/440.
8301 * sysdeps/powerpc/powerpc32/464: Move directory from
8302 ports/sysdeps/powerpc/powerpc32/464.
8303 * sysdeps/powerpc/powerpc32/476: Move directory from
8304 ports/sysdeps/powerpc/powerpc32/476.
8305 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
8306 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
8307 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
8308 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
8309 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
8310 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
8311 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
8312 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
8313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
8314 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
8315 * README: Update for powerpc-*-linux-gnu software floating point
8316 support in libc.
8317
e246b347
JM
8318 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
8319 case to powerpc/powerpc32*.
8320 * sysdeps/unix/sysv/linux/configure: Regenerated.
8321
89c2003e
JM
8322 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
8323 (_FPU_MASK_OM): Define as 0x04.
8324 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
8325 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
8326 0x00c10080.
8327 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
8328 0x0000003c.
8329 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
8330
cd78f7e7
JM
8331 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
8332 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
8333 getcontext_e500.
8334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
8335 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
8336 setcontext_e500.
8337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
8338 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
8339 and setcontext_e500.
8340
c755294d
CL
83412013-10-04 Chris Leonard <cjl@sugarlabs,.org>
8342
8343 * locale/iso-3166.def: Update iso-1366.def and related occurrences
8344
e16d221c
SP
83452013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8346
8347 * manual/threads.texi (Default Thread Attributes): Fix typo.
8348
215c7d43
WN
83492013-10-04 Will Newton <will.newton@linaro.org>
8350
8351 * malloc/Makefile: Add tst-memalign.
8352 * malloc/tst-memalign.c: New file.
8353
27d0461b
WN
8354 * malloc/tst-posix_memalign.c: Add comments.
8355 (do_test): Add comments and call free on all potentially
8356 allocated pointers. Add space after cast.
8357
1bc92709
WN
8358 * malloc/tst-pvalloc.c: Add comments.
8359 (do_test): Add comments and call free on all potentially
8360 allocated pointers. Remove duplicate check for NULL pointer.
8361 Add space after cast.
8362
66a9be9d
WN
8363 * malloc/tst-valloc.c: Add comments.
8364 (do_test): Add comments and call free on all potentially
8365 allocated pointers. Remove duplicate check for NULL pointer.
8366 Add space after cast.
8367
4cb81307
AM
83682013-10-04 Alan Modra <amodra@gmail.com>
8369
8370 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
8371 Use stdint types in rather than __attribute__((mode())).
8372 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
8373
f8e3e9f3
AM
83742013-10-04 Alan Modra <amodra@gmail.com>
8375
8376 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
8377 Correct handling of unaligned relocs for little-endian.
8378 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
8379
8f9ebb08
AM
83802013-10-04 Alan Modra <amodra@gmail.com>
8381
8382 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
8383 * configure: Regenerate.
8384 * nptl/shlib-versions: Powerpc*le starts at 2.18.
8385 * shlib-versions: Likewise.
8386
0edf96c2
AM
83872013-10-04 Alan Modra <amodra@gmail.com>
8388
8389 * string/tester.c (test_memrchr): Increment reported test cycle.
8390
e0f7a380
AM
83912013-10-04 Alan Modra <amodra@gmail.com>
8392
8393 * string/test-memcpy.c (do_one_test): When reporting errors, print
8394 string address and don't overrun end of string.
8395
466b0393
AM
83962013-10-04 Alan Modra <amodra@gmail.com>
8397
8398 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
8399 insrdi. Make better use of reg selection to speed exit slightly.
8400 Schedule entry path a little better. Remove useless "are we done"
8401 checks on entry to main loop. Handle wrapping around zero address.
8402 Correct main loop count. Handle single left-over word from main
8403 loop inline rather than by using loop_small. Remove extra word
8404 case in loop_small caused by wrong loop count. Add little-endian
8405 support.
8406 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
8407 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
8408 cache hint.
8409 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
8410 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
8411 support. Avoid rlwimi.
8412 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
8413
3be87c77
AM
84142013-10-04 Alan Modra <amodra@gmail.com>
8415
8416 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 8417 insrdi. Formatting.
3be87c77
AM
8418 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
8419 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
8420 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
8421 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
8422 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
8423 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
8424
759cfef3
AM
84252013-10-04 Alan Modra <amodra@gmail.com>
8426
8427 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
8428 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
8429 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
8430 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
8431 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
8432 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
8433 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
8434 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
8435 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
8436 use of regs. Use power7 mtocrf. Tidy function tails.
8437
fe6e95d7
AM
84382013-10-04 Alan Modra <amodra@gmail.com>
8439
8440 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
8441 Formatting. Consistently use rXXX register defines or rN defines.
8442 Use early exit labels that avoid restoring unused non-volatile regs.
8443 Make cr field use more consistent with rWORDn compares. Rename
8444 regs used as shift registers for unaligned loop, using rN defines
8445 for short lifetime/multiple use regs.
8446 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
8447 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
8448 addi 1,1,64 to pop stack frame. Simplify return value code.
8449 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
8450
664318c3
AM
84512013-10-04 Alan Modra <amodra@gmail.com>
8452
8453 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
8454 support. Correct typos, formatting. Optimize tail. Use insrdi
8455 rather than rlwimi.
8456 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
8457 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
8458 little-endian support. Correct typos.
8459 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
8460 rather than rlwimi.
8461 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
8462 in loop and entry code to keep "and." results.
8463 (strchr): Add little-endian support. Comment. Move cntlzd
8464 earlier in tail.
8465 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
8466
43b84013
AM
84672013-10-04 Alan Modra <amodra@gmail.com>
8468
8469 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
8470 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
8471 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
8472 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
8473
8a7413f9
AM
84742013-10-04 Alan Modra <amodra@gmail.com>
8475
8476 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
8477 (rTMP): Define as r11.
8478 (strcmp): Add little-endian support. Optimise tail.
8479 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
8480 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
8481 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
8482 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
8483 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
8484 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
8485 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
8486
33ee81de
AM
84872013-10-04 Alan Modra <amodra@gmail.com>
8488
8489 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
8490 little-endian support. Remove unnecessary "are we done" tests.
8491 Handle "s" wrapping around zero and extremely large "size".
8492 Correct main loop count. Handle single left-over word from main
8493 loop inline rather than by using small_loop. Correct comments.
8494 Delete "zero" tail, use "end_max" instead.
8495 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
8496
db9b4570
AM
84972013-10-04 Alan Modra <amodra@gmail.com>
8498
8499 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
8500 support. Don't branch over align.
8501 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
8502 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
8503 support. Rearrange tmp reg use to suit. Comment.
8504 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
8505
f7c399cf
AM
85062013-10-04 Alan Modra <amodra@gmail.com>
8507
8508 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
8509
0b2c2ace
AM
85102013-10-04 Alan Modra <amodra@gmail.com>
8511
8512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
8513 conditional form of branch and link when obtaining pc.
8514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
8515
02f04a6c
AM
85162013-10-04 Alan Modra <amodra@gmail.com>
8517
8518 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
8519 HIWORD/LOWORD.
8520 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
8521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
8522
9b874b2f
AM
85232013-10-04 Alan Modra <amodra@gmail.com>
8524
8525 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
8526 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
8527 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
8528 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
8529 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
8530 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
8531 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
8532 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
8533 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
8534 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
8535
be1e5d31
AB
85362013-10-04 Anton Blanchard <anton@au1.ibm.com>
8537 Alistair Popple <alistair@ozlabs.au.ibm.com>
8538 Alan Modra <amodra@gmail.com>
8539
8540 [BZ #15723]
8541 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
8542 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
8543 _dl_hwcap access for little-endian.
8544 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
8545 destroy vmx regs when saving unaligned.
8546 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
8547 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
8548 destroy vmx regs when saving unaligned.
8549
fef13a78
AM
85502013-10-04 Alan Modra <amodra@gmail.com>
8551
8552 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
8553 Don't use a union to pack hi/low value.
8554
76a66d51
AB
85552013-10-04 Anton Blanchard <anton@au1.ibm.com>
8556
8557 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
8558 for little-endian.
8559 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
8560 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
8561 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
8562 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
8563 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
8564
6a31fe7f
AM
85652013-10-04 Alan Modra <amodra@gmail.com>
8566
8567 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
8568 constants to usual value for .cst8 section, and remove redundant
8569 high address load.
8570 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
8571 constant for 0x1p52. Load little-endian words of double from
8572 correct stack offsets.
8573
7b88401f
AM
85742013-10-04 Alan Modra <amodra@gmail.com>
8575
8576 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
8577 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
8578 words of double from correct stack offsets.
8579 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
8580 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
8581 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
8582 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
8583 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
8584 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
8585 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
8586 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
8587 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
8588 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
8589 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
8590 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
8591 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
8592 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
8593 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
8594 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
8595 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
8596
9c008155
AM
85972013-10-04 Alan Modra <amodra@gmail.com>
8598
8599 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
8600 64-bit int/double union.
8601 (_FPU_SETCW): Likewise.
8602 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
8603 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
8604
da13146d
AM
86052013-10-04 Alan Modra <amodra@gmail.com>
8606
8607 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
8608 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
8609
603e8410
AM
86102013-10-04 Alan Modra <amodra@gmail.com>
8611
8612 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
8613 use vector int constants.
8614 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
8615
4a28b3ca
AB
86162013-10-04 Anton Blanchard <anton@au1.ibm.com>
8617
8618 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
8619 array with long long.
8620 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
8621 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
8622 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
8623 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
8624 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
8625 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
8626 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
8627 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
8628 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
8629 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
8630 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
8631 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
8632 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
8633
2ca85d2b
AB
86342013-10-04 Anton Blanchard <anton@au1.ibm.com>
8635
8636 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
8637 (__signbit): Likewise. Correct for little-endian.
8638 (__signbitl): Call __signbit.
8639 (lrint): Correct for little-endian.
8640 (lrintf): Call lrint.
8641
62a728ae
AM
86422013-10-04 Alan Modra <amodra@gmail.com>
8643
8644 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
8645 union 32-bit int array member with 64-bit int array.
8646 (t515, tm256): Double rather than long double.
8647 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
8648
32c301df
AM
86492013-10-04 Alan Modra <amodra@gmail.com>
8650
8651 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
8652 Delete.
8653 (IEEE854_LONG_DOUBLE_BIAS): Delete.
8654 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
8655 version of math_ldbl.h.
8656
650ef4bd
AM
86572013-10-04 Alan Modra <amodra@gmail.com>
8658
8659 [BZ #15734], [BZ #15735]
8660 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
8661 all uses of ieee875 long double macros and unions. Simplify test
8662 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
8663 ldbl_extract_mantissa value for ix,iy exponents. Properly
8664 normalize after ldbl_extract_mantissa, and don't add hidden bit
8665 already handled. Don't treat low word of ieee854 mantissa like
8666 low word of IBM long double and mask off bit when testing for
8667 zero.
8668 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
8669 all uses of ieee875 long double macros and unions. Simplify tests
8670 for 0.0L and inf. Correct double adjustment of k. Delete dead code
8671 adjusting ha,hb. Simplify code setting kld. Delete two600 and
8672 two1022, instead use their values. Recognise that tests for large
8673 "a" and small "b" are mutually exclusive. Rename vars. Comment.
8674 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
8675 Rewrite all uses of ieee875 long double macros and unions. Simplify
8676 test for 0.0L and nan. Correct negation.
8677 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
8678 ieee875 long double macros and unions. Correct output for large
8679 magnitude x. Correct absolute value calculation.
8680 (__erfcl): Likewise.
8681 * math/libm-test.inc: Add tests for errors discovered in IBM long
8682 double versions of fmodl, remainderl, erfl and erfcl.
8683
765714ca
AM
86842013-10-04 Alan Modra <amodra@gmail.com>
8685
8686 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
8687 all uses of ieee854 long double macros and unions. Simplify tests
8688 for long doubles that are fully specified by the high double.
8689 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
8690 Likewise.
8691 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
8692 Remove dead code too.
8693 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
8694 (__ieee754_ynl): Likewise.
8695 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
8696 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
8697 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
8698 Remove dead code too.
8699 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
8700 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
8701 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
8702 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
8703 Simplify.
8704 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
8705 Simplify.
8706 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
8707 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
8708 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
8709 Comment on variable precision.
8710 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
8711 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
8712 Likewise.
8713 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
8714 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
8715 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
8716 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
8717 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
8718
4ebd120c
AM
87192013-10-04 Alan Modra <amodra@gmail.com>
8720
8721 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
8722 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
8723 all uses of ieee854 long double macros and unions.
8724 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
8725 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
8726 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
8727 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
8728 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
8729 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
8730 Likewise.
8731 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
8732 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
8733 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
8734 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
8735 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
8736 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
8737 Simplify sign and nan test too.
8738 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
8739 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
8740 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
8741 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
8742 Likewise.
8743 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
8744 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
8745 Likewise.
8746 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
8747 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
8748 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
8749 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
8750 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
8751 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
8752
1b6adf88
AM
87532013-10-04 Alan Modra <amodra@gmail.com>
8754
8755 * stdio-common/printf_size.c (__printf_size): Don't use
8756 union ieee854_long_double in fpnum union.
8757 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
8758 signbit macro to retrieve sign from long double.
8759 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
8760 retrieve sign from long double.
8761 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
8762 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
8763 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
8764 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
8765 * math/test-misc.c (main): Don't use union ieee854_long_double.
8766
4cf69995
AM
87672013-10-04 Alan Modra <amodra@gmail.com>
8768
8769 [BZ #15680]
8770 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
8771 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
8772 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
8773 calculation. Remove unnecessary test for denormal exponent.
8774 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
8775 Correct handling of denormals. Avoid undefined shift behaviour.
8776 Correct normalisation of low mantissa when low double is denormal.
8777 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
8778 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
8779 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
8780 Correct normalisation of low mantissa. Test for overflow of high
8781 mantissa and normalise.
8782 (ldbl_nearbyint): Use more readable constant for two52.
8783 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
8784 (__mpn_construct_long_double): Fix test for overflow of high
8785 mantissa and correct normalisation. Avoid undefined shift.
8786
9605ca6c
AM
87872013-10-04 Alan Modra <amodra@gmail.com>
8788
8789 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
8790 (union ibm_extended_long_double): Define as an array of ieee754_double.
8791 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
8792 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
8793 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
8794 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
8795 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
8796 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
8797 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
8798 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
8799 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
8800 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
8801 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
8802
975569d0
JM
88032013-10-03 Joseph Myers <joseph@codesourcery.com>
8804
d3d23756
JM
8805 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
8806 page size instead of calling getpagesize.
8807
975569d0
JM
8808 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
8809 (LOCFILE_ALIGN_MASK): Likewise.
8810 (LOCFILE_ALIGN_UP): Likewise.
8811 (LOCFILE_ALIGNED_P): Likewise.
8812 * locale/programs/ld-collate.c (collate_output): Use the new
8813 macros instead of __alignof__ (int32_t).
8814 * locale/weight.h (findidx): Likewise.
8815
b1fe1f2b
OB
88162013-10-03 Ondřej Bílka <neleai@seznam.cz>
8817
8818 [BZ #431]
8819 * manual/string.texi: Fix strncat and wcsncat.
8820
5f855e35
BM
88212013-10-03 Brooks Moses <bmoses@google.com>
8822
8823 [BZ #15915]
8824 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
8825 * Makerules: ...here, and adjust associated comments.
8826
3cef6009
WN
88272013-10-02 Will Newton <will.newton@linaro.org>
8828
8829 * malloc/Makefile: Add tst-pvalloc.
8830 * malloc/tst-pvalloc.c: New file.
8831
7815420b
WN
88322013-10-02 Will Newton <will.newton@linaro.org>
8833
8834 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
8835 improve test coverage.
8836
4868b204
WN
88372013-10-02 Will Newton <will.newton@linaro.org>
8838
8839 * malloc/Makefile: Add tst-posix_memalign.
8840 * malloc/tst-posix_memalign.c: New file.
8841
29c793b3
EB
88422013-10-01 Eric Blake <eblake@redhat.com>
8843
8844 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
8845 Use __THROWNL rather than __THROW on static functions.
8846
fd967522
PM
88472013-09-30 Petr Machata <pmachata@redhat.com>
8848
8849 * elf/elf.h (R_AARCH64_ABS16): New macro.
8850 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
8851 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
8852 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
8853 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
8854 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
8855 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
8856 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
8857 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
8858 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
8859 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
8860 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
8861 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
8862 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
8863 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
8864 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
8865 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
8866 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
8867 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
8868 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
8869 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
8870 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
8871 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
8872 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
8873 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
8874 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
8875 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
8876 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
8877 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
8878 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
8879 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
8880 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
8881 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
8882 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
8883 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
8884 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
8885 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
8886 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
8887 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
8888 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
8889 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
8890 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
8891 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
8892 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
8893 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
8894 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
8895 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
8896 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
8897 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
8898 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
8899 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
8900 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
8901 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
8902 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
8903 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
8904 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
8905 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
8906 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
8907 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
8908 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
8909 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
8910 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
8911 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
8912 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
8913 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
8914 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
8915 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
8916 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
8917 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
8918 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
8919 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
8920 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
8921 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
8922 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
8923 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
8924 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
8925 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
8926 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
8927 (R_AARCH64_TLSDESC_LDR): Likewise.
8928 (R_AARCH64_TLSDESC_ADD): Likewise.
8929 (R_AARCH64_TLSDESC_CALL): Likewise.
8930
b2179107
AS
89312013-09-30 Andreas Schwab <schwab@suse.de>
8932
8933 [BZ #15048]
8934 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
8935 the nss database lookup.
8936 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8937 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
8938
47f28d0a
MF
89392013-09-28 Mike Frysinger <vapier@gentoo.org>
8940
8941 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
8942
89432013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
8944
8945 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
8946 ${Bash-specific parameter/pattern/string} parameter expansion.
8947 * sysdeps/unix/make-syscalls.sh: Likewise.
8948
f4518a17
KK
89492013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8950
8951 * sysdeps/sh/stackguard-macros.h: New file.
8952
dc1a95c7
OB
89532013-09-26 Ondřej Bílka <neleai@seznam.cz>
8954
8955 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
8956 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
8957 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
8958 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
8959 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
8960 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
8961
5ebbff8f
AZ
89622013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8963
8964 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
8965 Fix thread ID register.
8966
4fd2cf9f
JM
89672013-09-25 Joseph Myers <joseph@codesourcery.com>
8968
8969 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
8970 [POSIX || UNIX98]: Require rather than permitting all symbols from
8971 <time.h>.
8972 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
8973 element of struct sched_param.
8974 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
8975 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
8976 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
8977 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
8978 constant.
8979
12c22bc4
OL
89802013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
8981
8982 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
8983 argument calculation.
8984
a03d8ea7
JM
89852013-09-24 Joseph Myers <joseph@codesourcery.com>
8986
8987 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
8988 Expect macro.
8989 [POSIX] (pthread_attr_t): Do not require type.
8990 [POSIX] (pthread_cond_t): Likewise.
8991 [POSIX] (pthread_condattr_t): Likewise.
8992 [POSIX] (pthread_key_t): Likewise.
8993 [POSIX] (pthread_mutex_t): Likewise.
8994 [POSIX] (pthread_mutexattr_t): Likewise.
8995 [POSIX] (pthread_once_t): Likewise.
8996 [POSIX] (pthread_t): Likewise.
8997 [POSIX-based standards] (pthread_atfork): Expect function.
8998
6055173a
JM
89992013-09-24 Joseph Myers <joseph@codesourcery.com>
9000 Richard Sandiford <richard@codesourcery.com>
9001
9002 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
9003 (swap_endianness_p): New extern variable.
9004 (set_big_endian): New inline function.
9005 (maybe_swap_uint32): Likewise.
9006 (maybe_swap_uint32_array): Likewise.
9007 (maybe_swap_uint32_obstack): Likewise.
9008 * locale/programs/locfile.c: Include <stdbool.h>.
9009 (swap_endianness_p): New variable.
9010 (add_locale_uint32): Call maybe_swap_uint32.
9011 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
9012 (write_locale_data): Call maybe_swap_uint32_array.
9013 * locale/programs/ld-collate.c (obstack_int32_grow): Call
9014 maybe_swap_uint32.
9015 (obstack_int32_grow_fast): Likewise.
9016 (output_weightwc): Call maybe_swap_uint32_obstack.
9017 (collate_output): Likewise.
9018 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
9019 (OPT_LITTLE_ENDIAN): Likewise.
9020 (options): Add --little-endian and --big-endian options.
9021 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
9022 * locale/programs/locarchive.c: Include "locfile.h".
9023 (GET): New macro.
9024 (SET): Likewise.
9025 (INC): Likewise.
9026 (create_archive): Use the new macros to access fields of
9027 structures directly mapped from or written to locale archives.
9028 (oldlocrecentcmp): Likewise.
9029 (enlarge_archive): Likewise.
9030 (insert_name): Likewise.
9031 (add_alias): Likewise.
9032 (add_locale): Likewise.
9033 (delete_locales_from_archive): Likewise.
9034 (show_archive_content): Likewise.
9035 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
9036 locale data.
9037
39bf0bb4
RM
90382013-09-24 Roland McGrath <roland@hack.frob.com>
9039
9040 * manual/freemanuals.texi: Updated from (newly) canonical copy at
9041 http://www.gnu.org/doc/freemanuals.texi.
9042 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
9043
f02eed10
WN
90442013-09-24 Will Newton <will.newton@linaro.org>
9045
9046 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
9047 macro.
9048
a3a6c312
JM
90492013-09-23 Joseph Myers <joseph@codesourcery.com>
9050
9051 * locale/hashval.h (compute_hashval): Interpret bytes of key as
9052 unsigned char.
9053
107375ac
MR
90542013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
9055
9056 * manual/threads.texi (POSIX Threads): Fix a typo.
9057
141f3a77
SP
90582013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
9059
303e567a
SP
9060 [BZ #14547]
9061 * string/tst-strcoll-overflow.c: New test case.
9062 * string/Makefile (xtests): Add tst-strcoll-overflow.
9063 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
9064 cache if string sizes may cause integer overflow.
9065
141f3a77
SP
9066 [BZ #14547]
9067 * string/strcoll_l.c (coll_seq): New members rule, idx,
9068 save_idx and back_us.
9069 (get_next_seq_nocache): New function.
9070 (do_compare_nocache): New function.
9071 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
9072 when malloc fails.
9073
c61b4d41
CD
90742013-09-23 Carlos O'Donell <carlos@redhat.com>
9075
0b1f8e35
CD
9076 [BZ #15754]
9077 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
9078 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
9079 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
9080
c61b4d41
CD
9081 [BZ #15754]
9082 * elf/Makefile (tests): Add tst-ptrguard1.
9083 (tests-static): Add tst-ptrguard1-static.
9084 (tst-ptrguard1-ARGS): Define.
9085 (tst-ptrguard1-static-ARGS): Define.
9086 * elf/tst-ptrguard1.c: New file.
9087 * elf/tst-ptrguard1-static.c: New file.
9088 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
9089 * sysdeps/i386/stackguard-macros.h: Likewise.
9090 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
9091 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
9092 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
9093 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
9094 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
9095 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
9096
90972013-09-23 Hector Marco <hecmargi@upv.es>
9098 Ismael Ripoll <iripoll@disca.upv.es>
9099 Carlos O'Donell <carlos@redhat.com>
9100
9101 [BZ #15754]
9102 * sysdeps/generic/stackguard-macros.h: Define
9103 __pointer_chk_guard_local and POINTER_CHK_GUARD.
9104 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
9105 Define __pointer_chk_guard_local.
9106 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
9107 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
9108
f5f4e7b4
VV
91092013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
9110
9111 [BZ #15859]
9112 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
9113
5bb43a43
AS
91142013-09-20 Andreas Schwab <schwab@linux-m68k.org>
9115
9116 * include/string.h (__ffs): Declare as hidden.
9117 * string/ffs.c (__ffs): Define as hidden.
9118 * sysdeps/i386/ffs.c (__ffs): Likewise.
9119 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
9120 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
9121 * sysdeps/s390/ffs.c (__ffs): Likewise.
9122 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
9123
3ea5be54
AO
91242013-09-20 Alexandre Oliva <aoliva@redhat.com>
9125
ffb89e53
AO
9126 * NEWS: Mention malloc probes.
9127
322dea08
AO
9128 * malloc/arena.c (new_heap): New memory_heap_new probe.
9129 (grow_heap): New memory_heap_more probe.
9130 (shrink_heap): New memory_heap_less probe.
9131 (heap_trim): New memory_heap_free probe.
9132 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
9133 (systrim): New memory_sbrk_less probe.
9134 * manual/probes.texi: Document them.
9135
655673f3
AO
9136 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
9137 * manual/probes.texi: Document it.
9138
35fed6f1
AO
9139 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
9140 (__libc_realloc): Add memory_realloc_retry probe.
9141 (__libc_memalign): Add memory_memalign_retry probe.
9142 (__libc_valloc): Add memory_valloc_retry probe.
9143 (__libc_pvalloc): Add memory_pvalloc_retry probe.
9144 (__libc_calloc): Add memory_calloc_retry probe.
9145 * manual/probes.texi: Document them.
9146
6999d38c
AO
9147 * malloc/arena.c (get_free_list): Add probe
9148 memory_arena_reuse_free_list.
9149 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
9150 and memory_arena_reuse.
9151 (arena_get2) [!PER_THREAD]: Likewise.
9152 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
9153 memory_arena_reuse_realloc.
9154 * manual/probes.texi: Document them.
9155
0653427f
AO
9156 * malloc/malloc.c (__libc_free): Add
9157 memory_mallopt_free_dyn_thresholds probe.
9158 (__libc_mallopt): Add multiple memory_mallopt probes.
9159 * manual/probes.texi: Document them.
9160
3ea5be54
AO
9161 * malloc/malloc.c: Include stap-probe.h.
9162 (__libc_mallopt): Add memory_mallopt probe.
9163 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
9164 * manual/probes.texi: New.
9165 * manual/Makefile (chapters): Add probes.
9166 * manual/threads.texi: Set next node.
9167
e35696c3 91682013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 9169
e35696c3
CL
9170 [BZ #15963, #13985]
9171 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
9172 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
9173 Add `Chinese' to `nan' entry name.
9174
4aafb73c
SP
91752013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9176
9177 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
9178 (POLYNOMIAL): Likewise.
9179 (TAYLOR_SINCOS): Likewise.
9180 (TAYLOR_SLOW): Likewise.
9181 (__sin): Use TAYLOR_SINCOS.
9182 (__cos): Likewise.
9183 (slow): Use TAYLOR_SLOW.
9184 (sloww): Likewise.
9185 (bsloww): Likewise.
9186 (csloww): Likewise.
9187
d84f25c7
LD
91882013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9189
9190 * stdlib/strtod_l.c: Fix buffer overrun.
9191
5eea0404
SP
91922013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9193
7849ff93
SP
9194 * benchtests/Makefile (bench): Add sincos.
9195 * benchtests/bench-sincos.c: New file.
9196
cfa3c886
SP
9197 * math/libm-test.inc (cos_test_data): New test inputs.
9198 (sin_test_data): Likewise.
9199
b348e1e3
SP
9200 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
9201 macro.
9202 (__sin): Use it.
9203 (__cos): Likewise.
9204 (slow1): Likewise.
9205 (slow2): Likewise.
9206 (sloww1): Likewise.
9207 (sloww2): Likewise.
9208 (bsloww1): Likewise.
9209 (bsloww2): Likewise.
9210 (cslow2): Likewise.
9211 (csloww1): Likewise.
9212 (csloww2): Likewise.
9213
6cce25f8
SP
9214 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
9215 function.
9216 (__sin): Use it.
9217 (__cos): Likewise.
9218
5eea0404
SP
9219 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
9220 gotos.
9221 (__cos): Likewise.
9222
9c21573c
MR
92232013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
9224
9225 * config.h.in (HAVE_MIPS_NAN2008): New macro.
9226 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
9227 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
9228 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
9229 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
9230 * elf/cache.c (print_entry): Handle the new cache flags.
9231
24d22e65
JM
92322013-09-18 Joseph Myers <joseph@codesourcery.com>
9233 Aldy Hernandez <aldyh@redhat.com>
9234
9235 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
9236 Change condition to [_SOFT_FLOAT].
9237 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
9238 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
9239 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
9240 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
9241 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
9242 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
9243 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
9244 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
9245 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
9246 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
9247 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
9248 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
9249 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
9250 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
9251 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
9252 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
9253 declaration.
9254
d13ef066
JM
92552013-09-18 Joseph Myers <joseph@codesourcery.com>
9256
2e071de0
JM
9257 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
9258 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
9259 (__longjmp): Use LOAD_GP to load saved GPRs.
9260 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
9261 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
9262 (__sigsetjmp): Use SAVE_GP to save GPRs.
9263
d13ef066
JM
9264 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
9265 Do not append -msoft-float.
9266 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
9267
97a0650b
SP
92682013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
9269
9270 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
9271
11ca09e9
JM
92722013-09-17 Joseph Myers <joseph@codesourcery.com>
9273
9274 [BZ #15966]
9275 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
9276 (_FPU_GETCW): Use initial "__" on variable and field names but not
9277 on macro parameter name.
9278 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
9279 parentheses around reference to macro parameter.
9280
08ffcf34
RS
92812013-09-13 Richard Sandiford <richard@codesourcery.com>
9282
9283 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
9284 prototype.
9285 (ctype_startup): Use uint32_t in cast and sizeof for
9286 ctype->charnames.
9287
ae7080d3
JL
92882013-09-11 Jia Liu <proljc@gmail.com>
9289
9290 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
9291 __daddr_t_defined.
9292 [__FreeBSD__]: Likewise.
9293
5905e7b3
OB
92942013-09-11 Ondřej Bílka <neleai@seznam.cz>
9295
9296 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
9297 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
9298 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
9299 (strchr): Remove __strchr_sse42 ifunc selection.
9300 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
9301 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
9302
b987c776
WN
93032013-09-11 Will Newton <will.newton@linaro.org>
9304
9305 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
9306 parameter to RES. Remove hardcoded 1000 value.
9307 * benchtests/bench-skeleton.c (main): Pass RES parameter
9308 to TIMING_INIT and multiply result by 1000.
9309
ddf985af
AZ
93102013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9311
9312 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9313
ffdd3181
AS
93142013-09-11 Andreas Schwab <schwab@suse.de>
9315
9316 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
9317 if not defined.
9318 (O_TMPFILE) [__USE_GNU]: Define.
9319 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
9320 Define.
9321
b73ed247
WN
93222013-09-11 Will Newton <will.newton@linaro.org>
9323
9324 [BZ #15857]
9325 * malloc/malloc.c (__libc_memalign): Check the value of bytes
9326 does not overflow.
9327
55e17aad
WN
93282013-09-11 Will Newton <will.newton@linaro.org>
9329
9330 [BZ #15856]
9331 * malloc/malloc.c (__libc_valloc): Check the value of bytes
9332 does not overflow.
9333
1159a193
WN
93342013-09-11 Will Newton <will.newton@linaro.org>
9335
9336 [BZ #15855]
9337 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
9338 does not overflow.
9339
5905e7b3 93402013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
9341
9342 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
9343 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9344 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9345 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
9346 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
9347
cdfc721b
AM
93482013-09-10 Allan McRae <allan@archlinux.org>
9349
aa04af00
AM
9350 [BZ #15748]
9351 * manual/arith.texi (Parsing of Floats): Clarify
9352 cross-reference.
9353
cdfc721b
AM
9354 [BZ #15849]
9355 * manual/install.texi (Running make install): Mention
9356 --enable-pt-chown.
9357 * INSTALL: Regenerated.
9358
95e7cf29
MR
93592013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
9360
9361 * csu/init-first.c (_init): Remove the !SHARED condition around
9362 FPU control word initialization.
9363 * elf/dl-support.c (_dl_fpu_control): New variable.
9364 (_dl_aux_init) <AT_FPUCW>: Initialize it.
9365 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
9366 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
9367 * math/test-fpucw-static.c: New file.
9368 * math/test-fpucw-ieee.c: New file.
9369 * math/test-fpucw-ieee-static.c: New file.
9370 * math/Makefile (tests): Add `test-fpucw-ieee' and
9371 `$(tests-static)'.
9372 (tests-static): New variable.
9373 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
9374 dependency to...
9375 [($(build-shared),yes)]
9376 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
9377 ... this.
9378 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
9379 New dependency.
9380
83e43bf0
AM
93812013-09-09 Allan McRae <allan@archlinux.org>
9382
a9f5ce09
AM
9383 [BZ #15939]
9384 * manual/string.texi (Collation Functions): Fix typo in
9385 strcoll example.
9386 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
9387
34829bc2
AM
9388 [BZ #15893]
9389 * stdlib/isomac.c (get_null_defines): Fix memory leak.
9390
3932737d
AM
9391 [BZ #15892]
9392 * libio/memstream.c (open_memstream): Fix memory leak.
9393 * libio/wmemstream.c (open_wmemstream): Likewise.
9394
83e43bf0
AM
9395 [BZ #15895]
9396 * nscd/netgroupcache.c: Fix nesting of ifdefs.
9397
0c66b8e9
WN
93982013-09-09 Will Newton <will.newton@linaro.org>
9399
9400 * malloc/Makefile: Add tst-realloc to tests.
9401 * malloc/tst-realloc.c: New file.
9402
f6b00fd1
AM
94032013-09-09 Allan McRae <allan@archlinux.org>
9404
9405 [BZ #15844]
9406 * COPYING: Update from GNU website to fix FSF address.
9407 * COPYING.LIB: Likewise.
9408
eec55e16
DM
94092013-09-06 David S. Miller <davem@davemloft.net>
9410
9411 * po/zh_TW.po: Update Chinese (traditional) translation from
9412 translation project.
9413
1ecbb381
RS
94142013-09-06 Richard Sandiford <richard@codesourcery.com>
9415 Joseph Myers <joseph@codesourcery.com>
9416
9417 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
9418 "localeinfo.h".
9419 (obstack_chunk_alloc): New macro.
9420 (obstack_chunk_free): Likewise.
9421 (record_offset): New function.
9422 (init_locale_data): Likewise.
9423 (align_locale_data): Likewise.
9424 (add_locale_empty): Likewise.
9425 (add_locale_raw_data): Likewise.
9426 (add_locale_raw_obstack): Likewise.
9427 (add_locale_string): Likewise.
9428 (add_locale_wstring): Likewise.
9429 (add_locale_uint32): Likewise.
9430 (add_locale_uint32_array): Likewise.
9431 (add_locale_char): Likewise.
9432 (start_locale_structure): Likewise.
9433 (end_locale_structure): Likewise.
9434 (start_locale_prelude): Likewise.
9435 (end_locale_prelude): Likewise.
9436 (write_locale_data): Take locale_file structure rather than an
9437 iovec.
9438 * locale/programs/locfile.h: Include "obstack.h".
9439 (struct locale_file): Change to store locale file contents instead
9440 of header.
9441 (init_locale_data): New prototype.
9442 (align_locale_data): Likewise.
9443 (add_locale_empty): Likewise.
9444 (add_locale_raw_data): Likewise.
9445 (add_locale_raw_obstack): Likewise.
9446 (add_locale_string): Likewise.
9447 (add_locale_wstring): Likewise.
9448 (add_locale_uint32): Likewise.
9449 (add_locale_uint32_array): Likewise.
9450 (add_locale_char): Likewise.
9451 (start_locale_structure): Likewise.
9452 (end_locale_structure): Likewise.
9453 (start_locale_prelude): Likewise.
9454 (end_locale_prelude): Likewise.
9455 (write_locale_data): Update prototype.
9456 * locale/programs/3level.h (struct TABLE): Remove result field.
9457 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
9458 Use new locale_file interface.
9459 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
9460 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
9461 * locale/programs/ld-address.c (address_output): Use new
9462 locale_file interface.
9463 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
9464 NO_ADD_LOCALE.
9465 (collate_finish): Don't call collseq_table_finalize.
9466 (collate_output): Use new locale_file interface.
9467 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
9468 in file.
9469 (NO_FINALIZE): Change to NO_ADD_LOCALE.
9470 (TABLE): Move defines earlier in file.
9471 (ELEMENT): Likewise.
9472 (DEFAULT): Likewise.
9473 (wctrans_table_add): Move macro and inline function earlier in
9474 file.
9475 (struct wctype_table): Move type earlier in file.
9476 (add_locale_wctype_table): New static prototype.
9477 (struct locale_ctype_t): Use logical types instead of struct iovec
9478 pointers for members.
9479 (ctype_output): Use new locale_file interface.
9480 (wctype_table_finalize): Change to add_locale_wctype_table. Use
9481 new locale_file interface.
9482 (allocate_arrays): Update for use of new locale_file interface.
9483 * locale/programs/ld-identification.c (identification_output): Use
9484 new locale_file interface.
9485 * locale/programs/ld-measurement.c (measurement_output): Likewise.
9486 * locale/programs/ld-messages.c (messages_output): Likewise.
9487 * locale/programs/ld-monetary.c (monetary_output): Likewise.
9488 * locale/programs/ld-name.c (name_output): Likewise.
9489 * locale/programs/ld-numeric.c (numeric_output): Likewise.
9490 * locale/programs/ld-paper.c (paper_output): Likewise.
9491 * locale/programs/ld-telephone.c (telephone_output): Likewise.
9492 * locale/programs/ld-time.c (time_output): Likewise.
9493
e029e2e5
AZ
94942013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9495
9496 * benchtests/Makefile: Add memrchr benchmark.
9497 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
9498 benchmark as memrchr.
9499 * benchtests/bench-memrchr-ifunc.c: New file.
9500 * benchtests/bench-memrchr.c: New file.
9501
bbf6e8e4
WN
95022013-09-06 Will Newton <will.newton@linaro.org>
9503
9504 * benchtests/Makefile (string-bench): Add memcpy.
9505
6c82a2f8
CD
95062013-09-05 Carlos O'Donell <carlos@redhat.com>
9507 Cong Wang <amwang@redhat.com>
9508
e732c5f0 9509 [BZ #15850]
6c82a2f8
CD
9510 * sysdeps/unix/sysv/linux/bits/in.h
9511 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
9512 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
9513 before __USE_KERNEL_IPV6_DEFS uses.
9514 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
9515 IPPROTO_BEETPH.
9516 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
9517 sockaddr_in6, or ipv6_mreq.
9518
5430fc65
AZ
95192013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9520
9521 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
9522 memory access for final bytes in some large inputs.
9523 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
9524
4660856c
AZ
95252013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9526
9527 * string/test-memrchr.c: New file.
9528 * string/test-memrchr-ifunc.c: New file.
9529 * string/Makefile: Add new memrchr testcase.
9530
bb8ea713
MF
95312013-09-05 Mike Frysinger <vapier@gentoo.org>
9532
9533 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
9534 fanotify_init returns EPERM.
9535
b92a20b5
JM
95362013-09-04 Joseph Myers <joseph@codesourcery.com>
9537
9538 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
9539 errors.
9540 (top level): Treat second token from macro or constant entries for
9541 allowed headers as allowed.
9542 * include/complex.h: Condition internal declarations on
9543 [!_ISOMAC].
9544 * include/fenv.h: Condition include of <stdbool.h> and internal
9545 declarations on [!_ISOMAC].
7447ccd9
CL
9546
95472013-09-04 Chris Leonard <cjl@sugarlabs,.org>
9548
3e181dda 9549 [BZ #15923]
7447ccd9
CL
9550 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
9551
3f2e46a4
JM
95522013-09-04 Joseph Myers <joseph@codesourcery.com>
9553
9554 * configure.in (--enable-versioning): Remove configure option.
9555 (libc_cv_asm_symver_directive): Remove configure test.
9556 (libc_cv_ld_version_script_option): Likewise.
9557 (VERSIONING): Remove variable and AC_SUBST.
9558 (DO_VERSIONING): Remove AC_DEFINE.
9559 * configure: Regenerated.
9560 * config.h.in (DO_VERSIONING): Remove macro.
9561 * Makerules [$(versioning) = yes]: Change conditionals to
9562 [$(build-shared) = yes].
9563 * config.make.in (versioning): Remove variable.
9564 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
9565 [$(build-shared) = yes].
9566 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
9567 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
9568 * elf/Makefile [$(versioning) = yes]: Change conditionals to
9569 [$(build-shared) = yes].
9570 * extra-lib.mk [$(versioning) = yes]: Likewise.
9571 * hurd/Makefile [$(versioning) = yes]: Likewise.
9572 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
9573 [SHARED].
9574 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
9575 [SHARED].
9576 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
9577 [SHARED && !NO_HIDDEN].
9578 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
9579 [SHARED].
9580 [SHARED && DO_VERSIONING]: Likewise..
9581 * libio/Makefile [$(versioning) = yes]: Change conditionals to
9582 [$(build-shared) = yes].
9583 * manual/install.texi (--disable-versioning): Remove
9584 documentation.
9585 * INSTALL: Regenerated.
9586 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
9587 to [SHARED].
9588 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
9589 [$(build-shared) = yes].
9590 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
9591 * sysdeps/i386/i686/multiarch/strstr-c.c
9592 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
9593 [SHARED && !NO_HIDDEN].
9594 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
9595 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
9596 * sysdeps/powerpc/powerpc32/dl-machine.c
9597 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
9598 * sysdeps/powerpc/powerpc32/sysdep.h
9599 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
9600 to [SHARED && PIC && !NO_HIDDEN].
9601 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
9602 conditional to [SHARED].
9603
44558701
WN
96042013-09-04 Will Newton <will.newton@linaro.org>
9605
9606 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
9607 * benchtests/bench-string.h: Include bench-timing.h instead
9608 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
9609 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
9610 call to HP_TIMING_DIFF_INIT.
9611 * benchtests/bench-memccpy.c: Use bench-timing.h macros
9612 instead of hp-timing.h macros.
9613 * benchtests/bench-memchr.c: Likewise.
9614 * benchtests/bench-memcmp.c: Likewise.
9615 * benchtests/bench-memcpy.c: Likewise.
9616 * benchtests/bench-memmem.c: Likewise.
9617 * benchtests/bench-memmove.c: Likewise.
9618 * benchtests/bench-memset.c: Likewise.
9619 * benchtests/bench-rawmemchr.c: Likewise.
9620 * benchtests/bench-strcasecmp.c: Likewise.
9621 * benchtests/bench-strcasestr.c: Likewise.
9622 * benchtests/bench-strcat.c: Likewise.
9623 * benchtests/bench-strchr.c: Likewise.
9624 * benchtests/bench-strcmp.c: Likewise.
9625 * benchtests/bench-strcpy.c: Likewise.
9626 * benchtests/bench-strcpy_chk.c: Likewise.
9627 * benchtests/bench-strlen.c: Likewise.
9628 * benchtests/bench-strncasecmp.c: Likewise.
9629 * benchtests/bench-strncat.c: Likewise.
9630 * benchtests/bench-strncmp.c: Likewise.
9631 * benchtests/bench-strncpy.c: Likewise.
9632 * benchtests/bench-strnlen.c: Likewise.
9633 * benchtests/bench-strpbrk.c: Likewise.
9634 * benchtests/bench-strrchr.c: Likewise.
9635 * benchtests/bench-strspn.c: Likewise.
9636 * benchtests/bench-strstr.c: Likewise.
9637
cae16d66
WN
96382013-09-04 Will Newton <will.newton@linaro.org>
9639
9640 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
9641
ffa3cd7f
JM
96422013-09-03 Joseph Myers <joseph@codesourcery.com>
9643
9644 [BZ #15427]
9645 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
9646 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
9647 * math/libm-test.inc (lgamma_test_data): Add more tests.
9648 * sysdeps/i386/fpu/libm-test-ulps: Update.
9649 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9650
8f02859f
OB
96512013-09-03 Ondřej Bílka <neleai@seznam.cz>
9652
9653 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
9654 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
9655 Add ifunc.
9656 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
9657 Add strcmp-sse2-unaligned
9658 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
9659
18d43716
MF
96602013-09-02 Mike Frysinger <vapier@gentoo.org>
9661
9662 * Versions.def (libc): Add GLIBC_2.19.
9663
ac444012
MF
96642013-09-02 Mike Frysinger <vapier@gentoo.org>
9665
9666 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
9667 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
9668
b7835e32
JM
96692013-09-02 Joseph Myers <joseph@codesourcery.com>
9670
9671 [BZ #14155]
9672 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
9673 intermediate calculations in recurrence.
9674 (__ieee754_ynf): Likewise.
9675 * math/libm-test.inc (jn_test_data): Do not allow spurious
9676 underflow exception. Add more tests.
9677 (yn_test_data): Add more tests.
9678 * sysdeps/i386/fpu/libm-test-ulps: Update.
9679 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9680
8220f4f0
OB
96812013-09-02 Ondřej Bílka <neleai@seznam.cz>
9682
9683 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
9684
f24a6d08
OB
96852013-08-30 Ondřej Bílka <neleai@seznam.cz>
9686
9687 * csu/init-first.c: Fix then/than typos.
9688 * locale/programs/ld-collate.c: Likewise.
9689 * locale/programs/linereader.h: Likewise.
9690 * manual/charset.texi: Likewise.
9691 * manual/filesys.texi: Likewise.
9692 * manual/stdio.texi: Likewise.
9693 * manual/string.texi: Likewise.
9694 * stdlib/fmtmsg.c: Likewise.
9695 * sysdeps/i386/stpncpy.S: Likewise.
9696 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
9697 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
9698 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
9699 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
9700
382466e0
OB
97012013-08-30 Ondřej Bílka <neleai@seznam.cz>
9702
9703 * elf/dl-open.c: Fix typos.
9704 * iconvdata/gbbig5.c: Likewise.
9705 * iconvdata/iso-2022-jp.c: Likewise.
9706 * iconv/gconv_int.h: Likewise.
9707 * iconv/loop.c: Likewise.
9708 * nis/rpcsvc/nis.h: Likewise.
9709 * resolv/ns_name.c: Likewise.
9710 * stdio-common/vfscanf.c: Likewise.
9711 * streams/stropts.h: Likewise.
9712 * sunrpc/rpc_thread.c: Likewise.
9713 * sysdeps/i386/strpbrk.S: Likewise.
9714 * sysdeps/ieee754/k_standard.c: Likewise.
9715 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
9716 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9717 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
9718 * sysdeps/mach/hurd/profil.c: Likewise.
9719 * sysdeps/s390/dl-procinfo.h: Likewise.
9720 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
9721 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
9722 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
9723 * sysdeps/x86_64/dl-trampoline.S: Likewise.
9724 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
9725
0186c6e9
OB
97262013-08-30 Ondřej Bílka <neleai@seznam.cz>
9727
9728 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
9729 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
9730
d4e16af1
OB
97312013-08-29 Ondřej Bílka <neleai@seznam.cz>
9732
9733 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
9734 aix specific files.
9735 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
9736 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
9737 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
9738 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
9739 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
9740 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
9741 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
9742 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
9743
88335980
TS
97442013-08-29 Thomas Schwinge <thomas@codesourcery.com>
9745 Roland McGrath <roland@hack.frob.com>
9746
9747 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
9748 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
9749
ed479b02
ST
97502013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
9751
9752 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
9753 __executable_start symbol instead of _start.
9754
f1cc4c86
TS
97552013-08-29 Thomas Schwinge <thomas@codesourcery.com>
9756
d821f07c
TS
9757 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
9758 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
9759 Move macros to...
9760 * sysdeps/gnu/ldsodefs.h: ... this new file.
9761
c54290cf
TS
9762 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
9763 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
9764 instead of ELFOSABI_LINUX.
9765
0007fc9b 9766 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
9767 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
9768 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
9769 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
9770 Likewise.
9771 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
9772 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
9773 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
9774 Likewise.
9775 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
9776 (ibm_extended_long_double): Add ieee_nan member.
9777 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
9778 (do_test): New function.
9779
f1cc4c86
TS
9780 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
9781 TEST_TRUNC.
9782 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
9783 functions, renamed from truncdfsf_test, trunctfsf_test,
9784 trunctfdf_test.
9785 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
9786 functions.
9787 (do_test): Run all these.
9788
6f65e668
OB
97892013-08-29 Ondřej Bílka <neleai@seznam.cz>
9790
9791 * argp/argp-help.c: Fix typos.
9792 * argp/argp-parse.c: Likewise.
9793 * debug/backtracesyms.c: Likewise.
9794 * elf/elf.h: Likewise.
9795 * malloc/malloc.c: Likewise.
9796 * nis/nis_print.c: Likewise.
9797 * resolv/res_comp.c: Likewise.
9798 * stdlib/stdlib.h: Likewise.
9799 * sunrpc/clnt_tcp.c: Likewise.
9800 * sunrpc/clnt_udp.c: Likewise.
9801 * sunrpc/clnt_unix.c: Likewise.
9802 * sysdeps/unix/bsd/ptsname.c: Likewise.
9803 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
9804 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
9805 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
9806 Likewise.
9807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
9808 Likewise.
9809 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
9810 Likewise.
6f65e668
OB
9811 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
9812
3a309239
SP
98132013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9814
9815 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
9816 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
9817
3b813b29
MF
98182013-08-27 Mike Frysinger <vapier@gentoo.org>
9819
9820 [BZ #15897]
9821 * dlfcn/Makefile (tests): Add bug-dl-leaf.
9822 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
9823 ($(objpfx)bug-dl-leaf): New rule.
9824 ($(objpfx)bug-dl-leaf.so): Likewise.
9825 ($(objpfx)bug-dl-leaf.out): Likewise.
9826 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
9827 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
9828 * dlfcn/bug-dl-leaf.c: New test.
9829 * dlfcn/bug-dl-leaf-lib.c: Likewise.
9830 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
9831 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
9832 (dlclose): Likewise.
9833 (dlmopen): Likewise.
9834
8cc3269f
RM
98352013-08-27 Roland McGrath <roland@hack.frob.com>
9836
7f9d0034
RM
9837 * include/netdb.h [!_ISOMAC]:
9838 Don't include <tls.h>.
9839 (h_errno, __libc_h_errno): Move declaration and macros out of
9840 [_LIBC_REENTRANT].
9841
fb431262
RM
9842 * include/resolv.h [_RESOLV_H_]:
9843 Don't include <tls.h>.
9844 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
9845 * resolv/res_libc.c: Don't include <tls.h>.
9846 (_res): Use __attribute__ ((nocommon)) in place of
9847 __attribute__ ((section (".bss"))).
9848
bd81123a
RM
9849 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
9850 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
9851
c4e42566
RM
9852 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
9853
f890a59b
RM
9854 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
9855 only under [SIOCGIFCONF && SIOCGIFNETMASK].
9856
9857 * resolv/res_mkquery.c: Include <sys/time.h>.
9858
5d1f0a09
RM
9859 * inet/ifreq.c: Moved to ...
9860 * sysdeps/unix/ifreq.c: ... here.
9861 * inet/ifreq.c: New file, true stub version.
9862
6fcf28b3
RM
9863 * socket/sa_len.c: New file.
9864 * socket/Makefile (aux): Add it.
9865 * sysdeps/unix/sysv/linux/Makefile
9866 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
9867 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
9868 and #include <socket/sa_len.c>.
9869 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
9870 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
9871
e041fb8b
RM
9872 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
9873 * bits/socket.h: ... here.
9874
8cc3269f
RM
9875 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
9876 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
9877 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
9878
5d228a43
AS
98792013-08-27 Andreas Schwab <schwab@suse.de>
9880
45b8accc
AS
9881 [BZ #15736]
9882 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
9883 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
9884 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
9885 * string/test-strcasecmp.c (test_main): Run tests in several
9886 locales.
9887 * string/test-strncasecmp.c (test_main): Likewise.
9888
5d228a43
AS
9889 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
9890 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
9891 to __strcasecmp_nonascii and __strncasecmp_nonascii.
9892 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
9893 (__strncasecmp_ssse3) [PIC]: Likewise.
9894
59d112a4
RM
98952013-08-26 Roland McGrath <roland@hack.frob.com>
9896
53234cc3
RM
9897 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
9898
59d112a4
RM
9899 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
9900 instead of explicitly declaring xdecrypt.
9901 * nis/nss_nis/nis-publickey.c: Likewise.
9902
595aba70
SP
99032013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9904
9905 [BZ #15890]
9906 * nscd/aicache.c: Include res_hconf.h.
9907 (addhstaiX): Initialize res_hconf.
9908
ffabd393
AS
99092013-08-26 Andreas Schwab <schwab@suse.de>
9910
9911 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
9912 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
9913
e0a69f5c
SP
99142013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9915
9916 * nscd/aicache.c (addhstaiX): Fix indentation.
9917
8c12f01d
MF
99182013-08-25 Mike Frysinger <vapier@gentoo.org>
9919
9920 * configure.ac: Quote $build_pt_chown test.
9921 * configure: Regenerated.
9922
8fe89494
JM
99232013-08-23 Joseph Myers <joseph@codesourcery.com>
9924
9925 [BZ #15532]
9926 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
9927 * math/s_cexpf.c (__cexpf): Likewise.
9928 * math/s_cexpl.c (__cexpl): Likewise.
9929 * math/libm-test.inc (cexp_test_data): Correct expected return
9930 value for NaN + i0. Add another test.
9931
75b181d6
DM
99322013-08-22 David S. Miller <davem@davemloft.net>
9933
9934 * po/ca.po: Update Catalan translation from translation project.
936241e4 9935 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 9936
acd06bb1
JM
99372013-08-21 Joseph Myers <joseph@codesourcery.com>
9938
9939 [BZ #15797]
9940 * math/s_fdim.c (__fdim): Check for infinite arguments if result
9941 is infinite, not alongside NaN test.
9942 * math/s_fdimf.c (__fdimf): Likewise.
9943 * math/s_fdiml.c (__fdiml): Likewise.
9944 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
9945 errno is unchanged.
9946
c0c3f78a
OB
99472013-08-21 Ondřej Bílka <neleai@seznam.cz>
9948
9949 * argp/argp-help.c: Fix typos.
9950 * crypt/speeds.c: Likewise.
9951 * csu/check_fds.c: Likewise.
9952 * elf/dl-load.c: Likewise.
9953 * elf/dl-open.c: Likewise.
9954 * elf/reldep3.c: Likewise.
9955 * elf/reldep.c: Likewise.
9956 * elf/sprof.c: Likewise.
9957 * iconv/iconv_charmap.c: Likewise.
9958 * iconv/skeleton.c: Likewise.
9959 * iconv/strtab.c: Likewise.
9960 * io/lockf64.c: Likewise.
9961 * libio/libioP.h: Likewise.
9962 * resolv/gai_notify.c: Likewise.
9963 * resolv/ns_name.c: Likewise.
9964 * resolv/ns_samedomain.c: Likewise.
9965 * resolv/res_send.c: Likewise.
9966 * stdlib/random.c: Likewise.
9967 * sunrpc/rpc/xdr.h: Likewise.
9968 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
9969 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
9970 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
9971 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
9972 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
9973 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
9974 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
9975 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
9976 * sysdeps/mach/hurd/check_fds.c: Likewise.
9977 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
9978 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
9979 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
9980 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
9981 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
9982 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
9983 * sysdeps/pthread/aio_notify.c: Likewise.
9984 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
9985 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
9986 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
9987 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
9988 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
9989
46ed1038
LD
99902013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9991
9992 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
9993 version if bit_Slow_SSE4_2 is set.
9994 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
9995 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
9996
d400dcac
AZ
99972013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9998
9999 [BZ #15867]
10000 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
10001 trampoline stack frame information.
10002 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
10003 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
10004 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
10005 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
10006 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
10007 * sysdeps/unix/sysv/linux/powerpc/init-first.c
10008 (_libc_vdso_platform_setup): Initialize the signal trampolines.
10009 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
10010 sa_flags value.
10011 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
10012 interrupting a syscall and set with option SA_SIGINFO.
10013
42c8fdd8
JM
100142013-08-20 Joseph Myers <joseph@codesourcery.com>
10015
c980f2f4
JM
10016 [BZ #15531]
10017 * math/s_cproj.c (__cproj): Only return an infinity if one part of
10018 argument is infinite.
10019 * math/s_cprojf.c (__cprojf): Likewise.
10020 * math/s_cprojl.c (__cprojl): Likewise.
10021 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
10022 * math/libm-test.inc (cproj_test_data): Add more tests.
10023
0716c4fc
JM
10024 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
10025
42c8fdd8
JM
10026 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
10027 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
10028 size. Use __ffs to determine corresponding shift.
10029
b31469d0
JM
100302013-08-20 Joseph Myers <joseph@codesourcery.com>
10031 Roland McGrath <roland@hack.frob.com>
10032
10033 * Makefile (INSTALL): Remove trailing blank lines from output of
10034 makeinfo.
10035
4e39af6e
AK
100362013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10037
10038 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
10039 Align 32 bit compat elf_greg to 8 bytes.
10040
f315524e
AA
100412013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
10042
10043 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
10044
1326ba1a
SP
100452013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
10046
10047 * string/strcoll_l.c (coll_seq): New structure.
10048 (get_next_seq_cached): New function.
10049 (get_next_seq): New function.
10050 (do_compare): New function.
10051 (STRCOLL): Use GNU style definition. Simplify implementation
10052 by using get_next_seq, get_next_seq_cached and do_compare.
10053
91ce4085
FW
100542013-08-16 Florian Weimer <fweimer@redhat.com>
10055
10056 [BZ #14699]
10057 CVE-2013-4237
10058 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
10059 member.
10060 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
10061 member.
10062 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
10063 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
10064 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
10065 conditional.
10066 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
10067 GETDENTS_64BIT_ALIGNED.
10068 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
10069 * manual/filesys.texi (Reading/Closing Directory): Document
10070 ENAMETOOLONG return value of readdir_r. Recommend readdir more
10071 strongly.
10072 * manual/conf.texi (Limits for Files): Add portability note to
10073 NAME_MAX, PATH_MAX.
10074 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
10075
ca0a6bc4
AS
100762013-08-13 Andreas Schwab <schwab@suse.de>
10077
10078 [BZ #15749]
10079 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
10080 of fabs.
10081 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
10082 LDBL_MAX_EXP >= 16384]: Add tests for it.
10083
6c1fd795
DM
100842013-08-12 David S. Miller <davem@davemloft.net>
10085
10086 * version.h (RELEASE): Set to "development".
10087 (VERSION): Set to "2.18.90".
10088 * NEWS: Add 2.19 section.
10089
31ad488d
DM
100902013-08-03 David S. Miller <davem@davemloft.net>
10091
10092 * po/ko.po: Update Korean translation from translation project.
10093
db24e684
DM
100942013-08-01 David S. Miller <davem@davemloft.net>
10095
10096 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
10097 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
10098 Bilka.
10099
f723285b
DM
101002013-07-30 David S. Miller <davem@davemloft.net>
10101
10102 * po/fr.po: Update French translation from translation project.
10103
3cbc52db
DM
101042013-07-28 David S. Miller <davem@davemloft.net>
10105
30bbc0cc
DM
10106 * po/cs.po: Update Czech translation from translation project.
10107
3cbc52db
DM
10108 * po/sv.po: Update Swedish translation from translation project.
10109
d492e6d0
DM
101102013-07-27 David S. Miller <davem@davemloft.net>
10111
f1a7f492
DM
10112 * po/eo.po: Update Esperanto translation from translation project.
10113
90e62a4a
DM
10114 * po/vi.po: Update Vietnamese translation from translation project.
10115
d492e6d0
DM
10116 * po/de.po: Update German translation from translation project.
10117
d4baa62d
DM
101182013-07-26 David S. Miller <davem@davemloft.net>
10119
641aa7b4
DM
10120 * po/bg.po: Update Bulgarian translation from translation project.
10121
d4baa62d
DM
10122 * po/nl.po: Update Dutch translation from translation project.
10123 * po/pl.po: Update Polish translation from translation project.
10124 * po/ru.po: Update Russian translation from translation project.
10125
61a9dcb9
DM
101262013-07-24 David S. Miller <davem@davemloft.net>
10127
10128 * po/libc.pot: Update.
10129
7b1f8b58
AZ
101302013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10131
10132 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
10133 variable page size.
10134 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
10135 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
10136 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
10137
a8fc7a03
AK
101382013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10139
10140 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
10141
e4608715
CD
101422013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10143 Andreas Schwab <schwab@suse.de>
10144 Roland McGrath <roland@hack.frob.com>
10145 Joseph Myers <joseph@codesourcery.com>
10146 Carlos O'Donell <carlos@redhat.com>
10147
10148 [BZ #15755]
10149 * config.h.in: Define HAVE_PT_CHOWN.
10150 * config.make.in (build-pt-chown): New variable.
10151 * configure.in (--enable-pt_chown): New configure option.
10152 * configure: Regenerate.
10153 * login/Makefile: Include Makeconfig. Build pt_chown only if
10154 build-pt-chown is enabled.
10155 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
10156 pt_chown to fix pty ownership.
10157 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
10158 CLOSE_ALL_FDS.
10159 * manual/install.texi (Configuring and compiling): Mention
10160 --enable-pt_chown. Add @findex for grantpt.
10161 * INSTALL: Regenerate.
10162
da2d62df
DM
101632013-07-20 David S. Miller <davem@davemloft.net>
10164
10165 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
10166 difference between 32-bit and 64-bit.
10167
d7e06450
CD
101682013-07-15 Carlos O'Donell <carlos@redhat.com>
10169
10170 [BZ #15711]
10171 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
10172 Avoid system header dependency with -ffreestanding.
10173 ($(objpfx)bits/syscall%d): Likewise.
10174
f959cfd7
DM
101752013-07-13 David S. Miller <davem@davemloft.net>
10176
10177 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
10178 underflows from atanl/atan2l due to bug 15319.
10179 (casinh_test_data): Likewise.
10180
c61f8513
DM
101812013-07-07 David S. Miller <davem@davemloft.net>
10182
10183 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
10184
72c90ed0
JA
101852013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
10186
10187 * sysdeps/i386/fpu/libm-test-ulps: Update.
10188 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10189
52dfbe13
SP
101902013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10191
10192 * configure.in (--enable-lock-elision): Fix message text.
10193 * INSTALL: Regenerate.
10194 * configure: Regenerate.
10195
3f169543
AZ
101962013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10197
10198 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10199
521c6785
AJ
102002013-07-03 Andreas Jaeger <aj@suse.de>
10201
10202 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
10203 define.
10204 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
10205 (ptrace_peeksiginfo_args): Add.
10206 (__ptrace_peeksiginfo_flags): Add.
10207 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10208 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10209 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10210
d2cc15cb
AM
102112013-07-03 Allan McRae <allan@archlinux.org>
10212
10213 * sysdeps/i386/fpu/libm-test-ulps: Update.
10214
3aaeeca7
DM
102152013-07-02 David S. Miller <davem@davemloft.net>
10216
10217 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10218
5314ed1a
MT
102192013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
10220
10221 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10222
67338156
JM
102232013-07-02 Joseph Myers <joseph@codesourcery.com>
10224
10225 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
10226 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10227
1717da59
AK
102282013-07-02 Andi Kleen <ak@linux.intel.com>
10229
10230 * config.h.in (ENABLE_LOCK_ELISION): Add.
10231 * configure.in (--enable-lock-elision): Add option.
10232 * manual/install.texi: Document --enable lock elision.
10233 * configure: Regenerate
10234 * INSTALL: Regenerate.
10235
1c81621c
L
102362013-07-02 H.J. Lu <hongjiu.lu@intel.com>
10237
10238 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
10239 SSE4.2 strcasecmp for libc.a.
10240 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
10241
77f01ab5
JM
102422013-07-02 Joseph Myers <joseph@codesourcery.com>
10243
10244 [BZ #13304]
10245 * soft-fp/op-common.h (_FP_FMA): New macro.
10246 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
10247 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
10248 (_FP_MUL_MEAT_1_imm): ... here.
10249 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
10250 (_FP_MUL_MEAT_1_wide): ... here.
10251 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
10252 (_FP_MUL_MEAT_1_hard): ... here.
10253 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
10254 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
10255 (_FP_MUL_MEAT_2_wide): ... here.
10256 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
10257 (_FP_MUL_MEAT_2_wide_3mul): ... here.
10258 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
10259 (_FP_MUL_MEAT_2_gmp): ... here.
10260 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
10261 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
10262 (_FP_MUL_MEAT_4_wide): ... here.
10263 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
10264 (_FP_MUL_MEAT_4_gmp): ... here.
10265 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
10266 (_FP_WFRACBITS_DW_S): Likewise.
10267 (_FP_WFRACXBITS_DW_S): Likewise.
10268 (_FP_HIGHBIT_DW_S): Likewise.
10269 (FP_FMA_S): Likewise.
10270 (_FP_FRAC_HIGH_DW_S): Likewise.
10271 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
10272 (_FP_WFRACBITS_DW_D): Likewise.
10273 (_FP_WFRACXBITS_DW_D): Likewise.
10274 (_FP_HIGHBIT_DW_D): Likewise.
10275 (FP_FMA_D): Likewise.
10276 (_FP_FRAC_HIGH_DW_D): Likewise.
10277 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
10278 (_FP_WFRACBITS_DW_E): Likewise.
10279 (_FP_WFRACXBITS_DW_E): Likewise.
10280 (_FP_HIGHBIT_DW_E): Likewise.
10281 (FP_FMA_E): Likewise.
10282 (_FP_FRAC_HIGH_DW_E): Likewise.
10283 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
10284 (_FP_WFRACBITS_DW_Q): Likewise.
10285 (_FP_WFRACXBITS_DW_Q): Likewise.
10286 (_FP_HIGHBIT_DW_Q): Likewise.
10287 (FP_FMA_Q): Likewise.
10288 (_FP_FRAC_HIGH_DW_Q): Likewise.
10289 * soft-fp/fmasf4.c: New file.
10290 * soft-fp/fmadf4.c: Likewise.
10291 * soft-fp/fmatf4.c: Likewise.
10292
6308fd9a
LD
102932013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10294
10295 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
10296 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
10297 Silvermont.
10298 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
10299 macro.
10300 (index_Slow_SSE4_2): Likewise.
10301 (index_Prefer_PMINUB_for_stringop): Likewise.
10302 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
10303 bit_Slow_SSE4_2 is set.
10304 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
10305 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
10306
89cd9569
RA
103072013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10308
10309 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
10310 rtld_global._dl_hwcap2.
10311 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
10312 POWER8.
10313 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
10314 POWER8 feature descriptions defined in _dl_hwcap2.
10315 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
10316 string handling for POWER8 feature bits.
10317 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
10318 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
10319 _dl_powerpc_cap_flags.
10320 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
10321 * sysdeps/powerpc/rtld-global-offsets.sym
10322 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
10323 _dl_hwcap2 in the rtld_global_ro structure.
10324
1ae8bfe0
RA
103252013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10326
10327 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
10328 hardware capabilities in support of AT_HWCAP2.
10329 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
10330 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
10331 GLRO(dl_hwcap2).
10332 (_dl_show_auxv): Add support for calling _dl_procinfo to display
10333 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
10334 explicitly the unknown a_type display mechanism is used.
10335 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
10336 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
10337 struct member.
10338 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
10339 to macro prototype for AT_HWCAP2 support.
10340 * sysdeps/i386/dl-procinfo.h: Likewise.
10341 * sysdeps/s390/dl-procinfo.h: Likewise.
10342 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
10343 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
10344 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
10345 return -1 for unknown a_type display fallback.
10346 * sysdeps/sparc/dl-procinfo.h: Likewise.
10347 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
10348 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
10349
8fbec010
JM
103502013-06-28 Joseph Myers <joseph@codesourcery.com>
10351
10352 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
10353 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
10354
0432680e
PY
103552013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
10356
10357 [BZ #12492]
10358 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
10359 mprotect making __stack_prot writable.
10360
ce61a2ad
NF
103612013-06-28 Nathan Froyd <froydnj@codesourcery.com>
10362 Joseph Myers <joseph@codesourcery.com>
10363
10364 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
10365 as being properly aligned.
10366
f91f1c0f
MR
103672013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
10368
3d0f5d0c
MR
10369 * dlfcn/modstatic5.c: New file.
10370 * dlfcn/tststatic5.c: New file.
10371 * dlfcn/Makefile (tests): Add tststatic5.
10372 (tests-static): Likewise.
10373 (modules-names): Add modstatic5.
10374 (tststatic5-ENV): New variable.
10375 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
10376
f91f1c0f
MR
10377 [BZ #15022]
10378 * elf/dl-support.c (_dl_main_map): New variable.
10379 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
10380 (_dl_nns, _dl_load_adds): Set to 1.
10381 (_dl_initial_searchlist): Refer to _dl_main_map.
10382 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
10383 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
10384 call to _dl_get_origin.
10385 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
10386 around call_map.
10387 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
10388 * dlfcn/modstatic3.c: New file.
10389 * dlfcn/tststatic3.c: New file.
10390 * dlfcn/tststatic4.c: New file.
10391 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
10392 (tests-static): Likewise.
10393 (modules-names): Add modstatic3.
10394 (tststatic3-ENV, tststatic4-ENV): New variables.
10395 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
10396 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
10397
cbe7d24b
JM
103982013-06-26 Joseph Myers <joseph@codesourcery.com>
10399
10400 * configure.in (CC): Require GCC version 4.4 or later.
10401 * configure: Regenerated.
10402 * manual/install.texi (Tools for Compilation): Update GCC version
10403 requirement.
10404 * INSTALL: Regenerated.
10405
11b8a0e1
LD
104062013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10407
10408 [BZ #15674]
bb5bb87c
L
10409 * string/test-memcmp.c (check2): New.
10410 (main): Call check2.
10411
11b8a0e1
LD
10412 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
10413
b0037103
MR
104142013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
10415
10416 [BZ #15022]
10417 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
10418 over to...
10419 (dl_open_worker) [!SHARED]: ... here.
10420
c18c701d
RA
104212013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10422
10423 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
10424
1d17fa5f
RH
104252013-06-25 Richard Henderson <rth@redhat.com>
10426
10427 * locale/programs/locarchive.c: Include <libc-internal.h>
10428
8fcb833a
JM
104292013-06-25 Joseph Myers <joseph@codesourcery.com>
10430
10431 * manual/texinfo.tex: Update to version 2013-06-21.17, with
10432 trailing whitespace removed.
10433
17db6e8d
MF
104342013-06-24 Mike Frysinger <vapier@gentoo.org>
10435
10436 [BZ #10283]
17db6e8d
MF
10437 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
10438 * locale/programs/locarchive.c: Include libc-mmap.h.
10439 (prepare_address_space): Take two new outputs (the mmap base and len).
10440 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
10441 values.
10442 (create_archive): Declare new mmap base and len values for
10443 prepare_address_space, and store the result in ah.
10444 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
10445 (enlarge_archive): If ah->mmap_base is not NULL, use that and
10446 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
10447 Declare new mmap base and len values for
10448 prepare_address_space, and store the result in new_ah.
10449 (open_archive): Declare new mmap base and len values for
10450 prepare_address_space, and store the result in ah.
10451 (close_archive): If ah->mmap_base is not NULL, use that and
10452 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
10453 * sysdeps/generic/libc-mmap.h: New file.
10454
d605071e
MF
104552013-06-24 Mike Frysinger <vapier@gentoo.org>
10456
10457 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
10458 (ALIGN_UP): Likewise.
10459 (PTR_ALIGN_DOWN): Likewise.
10460 (PTR_ALIGN_UP): Likewise.
10461
2f063a6e
RA
104622013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10463
10464 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
10465 entry mapped to PPC_PLATFORM_POWER8.
10466 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
10467 POWER8.
10468 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
10469 (_dl_string_platform): Add case for exporting platform position for
10470 POWER8.
10471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
10472 search path to sysdeps/powerpc/powerpc32/power8 directory.
10473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
10474 search path to sysdeps/powerpc/powerpc64/power8 directory.
10475 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
10476 power7 directories.
10477 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
10478 power7 directories.
10479
a31ee4b3
SP
104802013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10481
a74ca98f
SP
10482 * INSTALL: Regenerate.
10483
a31ee4b3
SP
10484 * nscd/connections.c (nscd_init): Fix comment.
10485
695c378f
JM
104862013-06-22 Joseph Myers <joseph@codesourcery.com>
10487
d8412221
JM
10488 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
10489
695c378f
JM
10490 [BZ #15667]
10491 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
10492 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
10493
d1d54715
MR
104942013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
10495
10496 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
10497 DL_DST_REQ_STATIC.
10498 (DL_DST_REQ_STATIC): Remove macro.
10499
8fdda7af
JM
105002013-06-21 Joseph Myers <joseph@codesourcery.com>
10501
10502 [BZ #7006]
10503 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
10504 with a shift of 0 bits.
10505
f3bc5e5a
MR
105062013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
10507
10508 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
10509 $(tststatic-ENV).
10510
be09e8c9
KK
105112013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10512
10513 [BZ #15655]
10514 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
10515
85c2e611
AZ
105162013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10517
10518 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
10519 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
10520 accepts -fno-tree-loop-distribute-patterns.
10521 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
10522 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
10523 recursive call.
10524 * string/memset.c (memset): Likewise.
10525 * string/test-memmove.c (simple_memmove): Disable loop transformation
10526 to library calls.
10527 * string/test-memset.c (simple_memset): Likewise.
10528 * benchtests/bench-memmove.c (simple_memmove): Likewise.
10529 * benchtests/bench-memset.c (simple_memset): Likewise.
10530 * configure: Regenerated.
10531
c91e0825
JM
105322013-06-20 Joseph Myers <joseph@codesourcery.com>
10533
b8c792af
JM
10534 * math/test-misc.c (main): Ignore fesetround failure when failures
10535 of subsequent rounding tests would be ignored.
10536
c91e0825
JM
10537 [BZ #15654]
10538 * math/fedisblxcpt.c (fedisableexcept): Return 0.
10539 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
10540 * math/fegetenv.c (__fegetenv): Return 0.
10541 * math/fegetexcept.c (fegetexcept): Return 0.
10542 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
10543 FE_TONEAREST.
10544 * math/feholdexcpt.c (feholdexcept): Return 0.
10545 * math/fesetenv.c (__fesetenv): Return 0.
10546 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
10547 argument FE_TONEAREST.
10548 * math/feupdateenv.c (__feupdateenv): Return 0.
10549 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
10550
bfcacbde
RM
105512013-06-18 Roland McGrath <roland@hack.frob.com>
10552
10553 * elf/rtld-Rules (rtld-compile-command.S): New variable.
10554 (rtld-compile-command.s, rtld-compile-command.c): New variables.
10555 ($(objpfx)rtld-%.os rules): Use them.
10556
e55a9b25
AZ
105572013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10558
10559 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
10560 fields.
10561
346d65b3
RM
105622013-06-17 Roland McGrath <roland@hack.frob.com>
10563
12086fb4
RM
10564 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
10565 length of target pattern, then descending length of dependency pattern.
10566 * configure.in (AWK): Require gawk 3.1.2 or newer.
10567 * manual/install.texi (Tools for Compilation): Say that we do.
10568 * configure: Regenerated.
10569
346d65b3
RM
10570 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
10571 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
10572 * scripts/sysd-rules.awk: ... this new script.
10573 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
10574 than a glob-style pattern.
10575
1a846317
JM
105762013-06-17 Joseph Myers <joseph@codesourcery.com>
10577
10578 * math/test-misc.c (main): Do not treat incorrectly rounded
10579 conversions as failure unless ROUNDING_TESTS passes.
10580
8fc75e6f
JM
105812013-06-15 Joseph Myers <joseph@codesourcery.com>
10582
3711a167
JM
10583 [BZ #15631]
10584 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
10585 restore exception state around main square root computation, then
10586 check for inexactness explicitly.
10587
8fc75e6f
JM
10588 * math/libm-test.inc (fma_test_data): Add another test.
10589
61dd6208
SP
105902013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10591
adf23d2c
SP
10592 * manual/threads.texi (Non-POSIX Extensions): New document
10593 node. Document pthread_getattr_default_np and
10594 pthread_setattr_default_np.
10595
61dd6208
SP
10596 * Versions.def (libpthread): Add GLIBC_2.18.
10597 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
10598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
10599 Likewise.
10600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
10601 Likewise.
10602 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10603 Likewise.
10604 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10605 Likewise.
10606 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
10607 Likewise.
10608 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
10609 Likewise.
10610 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
10611 Likewise.
10612 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
10613 Likewise.
10614 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
10615 Likewise.
10616
d086fc7b
LD
106172013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10618
10619 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10620 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
10621
747ef469
SP
106222013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
10623 H.J. Lu <hjl.tools@gmail.com>
10624
10625 [BZ #15627]
10626 * sysdeps/x86_64/rtld-memset.c: Remove file.
10627 * sysdeps/x86_64/rtld-memset.S: New file.
10628
1b2feed2
JM
106292013-06-14 Joseph Myers <joseph@codesourcery.com>
10630
10631 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
10632 (test_in_one_mode): Take arguments for whether the rounding mode
10633 is supported for each floating-point type.
10634 (do_test): Pass new arguments to test_in_one_mode using
10635 ROUNDING_TESTS.
10636
a58ad3f8
RM
106372013-06-13 Roland McGrath <roland@hack.frob.com>
10638
10639 * posix/tst-waitid.c (do_test): Distinguish different instances of
10640 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
10641 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
10642 before entering the kernel for waitpid.
10643
c204ab28
SP
106442013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
10645
10646 * NEWS: Fix note on clock function precision. Text by Roland
10647 McGrath.
10648
f4a29fba
RM
106492013-06-13 Roland McGrath <roland@hack.frob.com>
10650
10651 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
10652 it into place only when and if the sanity check passes.
10653
1f24b9ad
JM
106542013-06-13 Joseph Myers <joseph@codesourcery.com>
10655
10656 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
10657 output for whether conversion result is exact. Take argument
10658 indicating whether type is IBM long double.
10659 (round_for_all): Change need_exact field to ibm_ld.
10660 * stdlib/tst-strtod-round.c (struct exactness): New type.
10661 (struct test): Change bool ld_ok field to struct exactness exact.
10662 (TEST): Update all definitions for change to field.
10663 (tests): Regenerate array contents.
10664 (test_in_one_mode): Take pointer to new field instead of old ld_ok
10665 field value. Check for IBM long double here.
10666 (do_test): Update calls to test_in_one_mode.
10667
58206c68
SP
106682013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
10669
10670 [BZ #12515]
10671 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
10672 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
10673
2d6f4c5b 106742013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
10675
10676 [BZ #15605]
10677 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
10678 generated by the compiler on loop optimizations.
10679 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
10680 general definitions.
10681
94f2c076
JM
106822013-06-12 Joseph Myers <joseph@codesourcery.com>
10683
10684 * math/bug-nextafter.c: Include <math-tests.h>.
10685 (main): Only test for exceptions if EXCEPTION_TESTS is true for
10686 the relevant type.
10687 * math/bug-nexttoward.c: Include <math-tests.h>.
10688 (main): Only test for exceptions if EXCEPTION_TESTS is true for
10689 the relevant type.
10690 * math/test-misc.c: Include <math-tests.h>.
10691 (main): Only test for exceptions if EXCEPTION_TESTS is true for
10692 the relevant type.
10693
e0e50a0a
AJ
106942013-06-12 Andreas Jaeger <aj@suse.de>
10695
10696 * po/ia.po: Update Interlingua translation from translation
10697 project.
10698
25061094
SP
106992013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
10700
10701 * include/fenv.h: Include stdbool.h.
10702 (struct rm_ctx): New structure.
10703 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
10704 Define macro.
10705 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
10706 (SET_RESTORE_ROUNDF): Likewise.
10707 (SET_RESTORE_ROUNDL): Likewise.
10708 (SET_RESTORE_ROUND_NOEX): Likewise.
10709 (SET_RESTORE_ROUND_NOEXF): Likewise.
10710 (SET_RESTORE_ROUND_NOEXL): Likewise.
10711 (SET_RESTORE_ROUND_53BIT): Likewise.
10712 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
10713 (libc_feresetround_noexf_ctx): Likewise.
10714 (libc_feresetround_noexl_ctx): Likewise.
10715 (libc_feholdsetround_53bit_ctx): Likewise.
10716 (libc_feresetround_53bit_ctx): Likewise.
10717 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
10718 (libc_feholdexcept_setround_sse_ctx): New function.
10719 (libc_fesetenv_sse_ctx): Likewise.
10720 (libc_feupdateenv_sse_ctx): Likewise.
10721 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
10722 (libc_feholdexcept_setround_387_ctx): Likewise.
10723 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
10724 (libc_feholdsetround_387_prec_ctx): Likewise.
10725 (libc_feholdsetround_387_ctx): Likewise.
10726 (libc_feholdsetround_387_53bit_ctx): Likewise.
10727 (libc_feholdsetround_sse_ctx): Likewise.
10728 (libc_feresetround_sse_ctx): Likewise.
10729 (libc_feresetround_387_ctx): Likewise.
10730 (libc_feupdateenv_387_ctx): Likewise.
10731 (libc_feholdexcept_setroundf_ctx): Define macro.
10732 (libc_fesetenvf_ctx): Likewise.
10733 (libc_feupdateenvf_ctx): Likewise.
10734 (libc_feholdsetroundf_ctx): Likewise.
10735 (libc_feresetroundf_ctx): Likewise.
10736 (libc_feholdexcept_setround_ctx): Likewise.
10737 (libc_fesetenv_ctx): Likewise.
10738 (libc_feupdateenv_ctx): Likewise.
10739 (libc_feholdsetround_ctx): Likewise.
10740 (libc_feresetround_ctx): Likewise.
10741 (libc_feholdexcept_setroundl_ctx): Likewise.
10742 (libc_feupdateenvl_ctx): Likewise.
10743 (libc_feholdsetroundl_ctx): Likewise.
10744 (libc_feresetroundl_ctx): Likewise.
10745 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
10746 (libc_feresetround_53bit_ctx): Likewise.
10747
59b30555
SP
107482013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10749
10750 * locale/iso-639.def: Convert to UTF-8.
10751
f1d73d30
JM
107522013-06-11 Joseph Myers <joseph@codesourcery.com>
10753
10754 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
10755 (EXCEPTION_TESTS_double): Likewise.
10756 (EXCEPTION_TESTS_long_double): Likewise.
10757 (EXCEPTION_TESTS): Likewise.
10758 * math/libm-test.inc (test_exceptions): Only test exceptions if
10759 EXCEPTION_TESTS (FLOAT).
10760
94aca5e7
SP
107612013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10762
10763 * benchtests/Makefile (string-bench): Add strcpy_chk and
10764 stpcpy_chk.
10765 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
10766 * benchtests/bench-stpcpy_chk.c: New file.
10767 * benchtests/bench-strcpy_chk-ifunc.c: New file.
10768 * benchtests/bench-strcpy_chk.c: New file.
10769 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
10770 code.
10771 (do_test): Likewise.
10772
fac0c5f2
RA
107732013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10774
10775 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
10776 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
10777 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
10778 with tabs where appropriate.
10779 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
10780 dl-procinfo.h.
10781 [PPC_PLATFORM_PPC440]: Likewise.
10782 [PPC_PLATFORM_PPC464]: Likewise.
10783 [PPC_PLATFORM_PPC476]: Likewise.
10784 (_dl_string_platform): Add support for detecting ppc405, ppc440,
10785 ppc464, and ppc476 platform strings merging from ports/
10786 dl-procinfo.h.
10787
f22bc486
AS
107882013-06-11 Andreas Schwab <schwab@suse.de>
10789
10790 [BZ #14991]
10791 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
10792 (from_ucs4_idx): Regenerate.
10793 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
10794 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
10795 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
10796 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
10797 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
10798 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
10799 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
10800 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
10801 from FROM_LOOP and TO_LOOP specific macros.
10802 (BODY): Handle combining characters.
10803 * iconvdata/BIG5HKSCS.irreversible: Update.
10804 * iconvdata/BIG5HKSCS.precomposed: New file.
10805 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
10806 characters.
10807 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
10808
c1f75dc3
SP
108092013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10810
4eacded2
SP
10811 * include/sys/time.h: Fix indentation and add copyright header.
10812
fec799f8
SP
10813 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
10814 (do_test): Likewise.
10815 * string/test-memchr.c (do_one_test): Likewise.
10816 (do_test): Likewise.
10817 * string/test-memcmp.c (do_one_test): Likewise.
10818 (do_test): Likewise.
10819 * string/test-memcpy.c (do_one_test): Likewise.
10820 (do_test): Likewise.
10821 * string/test-memmem.c (do_one_test): Likewise.
10822 (do_test): Likewise.
10823 (do_random_tests): Likewise.
10824 * string/test-memmove.c (do_one_test): Likewise.
10825 (do_test): Likewise.
10826 * string/test-memset.c (do_one_test): Likewise.
10827 (do_test): Likewise.
10828 * string/test-rawmemchr.c (do_one_test): Likewise.
10829 (do_test): Likewise.
10830 * string/test-strcasecmp.c (do_one_test): Likewise.
10831 (do_test): Likewise.
10832 * string/test-strcasestr.c (do_one_test): Likewise.
10833 (do_test): Likewise.
10834 * string/test-strcat.c (do_one_test): Likewise.
10835 (do_test): Likewise.
10836 * string/test-strchr.c (do_one_test): Likewise.
10837 (do_test): Likewise.
10838 * string/test-strcmp.c (do_one_test): Likewise.
10839 (do_test): Likewise.
10840 * string/test-strcpy.c (do_one_test): Likewise.
10841 (do_test): Likewise.
10842 * string/test-string.h: Likewise.
10843 (test_init): Likewise.
10844 * string/test-strlen.c (do_one_test): Likewise.
10845 (do_test): Likewise.
10846 * string/test-strncasecmp.c (do_one_test): Likewise.
10847 (do_test): Likewise.
10848 * string/test-strncat.c (do_one_test): Likewise.
10849 (do_test): Likewise.
10850 * string/test-strncmp.c (do_one_test): Likewise.
10851 (do_test_limit): Likewise.
10852 (do_test): Likewise.
10853 * string/test-strncpy.c (do_one_test): Likewise.
10854 (do_test): Likewise.
10855 * string/test-strnlen.c (do_one_test): Likewise.
10856 (do_test): Likewise.
10857 * string/test-strpbrk.c (do_one_test): Likewise.
10858 (do_test): Likewise.
10859 * string/test-strrchr.c (do_one_test): Likewise.
10860 (do_test): Likewise.
10861 * string/test-strspn.c (do_one_test): Likewise.
10862 (do_test): Likewise.
10863 * string/test-strstr.c (do_one_test): Likewise.
10864 (do_test): Likewise.
10865
97020474
SP
10866 * benchtests/Makefile (string-bench): Add string benchmarks.
10867 * benchtests/bench-bcopy-ifunc.c: New file.
10868 * benchtests/bench-bcopy.c: New file.
10869 * benchtests/bench-bzero-ifunc.c: New file.
10870 * benchtests/bench-bzero.c: New file.
10871 * benchtests/bench-memccpy-ifunc.c: New file.
10872 * benchtests/bench-memccpy.c: New file.
10873 * benchtests/bench-memchr-ifunc.c: New file.
10874 * benchtests/bench-memchr.c: New file.
10875 * benchtests/bench-memcmp-ifunc.c: New file.
10876 * benchtests/bench-memcmp.c: New file.
10877 * benchtests/bench-memmem-ifunc.c: New file.
10878 * benchtests/bench-memmem.c: New file.
10879 * benchtests/bench-memmove-ifunc.c: New file.
10880 * benchtests/bench-memmove.c: New file.
10881 * benchtests/bench-mempcpy-ifunc.c: New file.
10882 * benchtests/bench-mempcpy.c: New file.
10883 * benchtests/bench-memset-ifunc.c: New file.
10884 * benchtests/bench-memset.c: New file.
10885 * benchtests/bench-rawmemchr-ifunc.c: New file.
10886 * benchtests/bench-rawmemchr.c: New file.
10887 * benchtests/bench-stpcpy-ifunc.c: New file.
10888 * benchtests/bench-stpcpy.c: New file.
10889 * benchtests/bench-stpncpy-ifunc.c: New file.
10890 * benchtests/bench-stpncpy.c: New file.
10891 * benchtests/bench-strcasecmp-ifunc.c: New file.
10892 * benchtests/bench-strcasecmp.c: New file.
10893 * benchtests/bench-strcasestr-ifunc.c: New file.
10894 * benchtests/bench-strcasestr.c: New file.
10895 * benchtests/bench-strcat-ifunc.c: New file.
10896 * benchtests/bench-strcat.c: New file.
10897 * benchtests/bench-strchr-ifunc.c: New file.
10898 * benchtests/bench-strchr.c: New file.
10899 * benchtests/bench-strchrnul-ifunc.c: New file.
10900 * benchtests/bench-strchrnul.c: New file.
10901 * benchtests/bench-strcmp-ifunc.c: New file.
10902 * benchtests/bench-strcmp.c: New file.
10903 * benchtests/bench-strcpy-ifunc.c: New file.
10904 * benchtests/bench-strcpy.c: New file.
10905 * benchtests/bench-strcspn-ifunc.c: New file.
10906 * benchtests/bench-strcspn.c: New file.
10907 * benchtests/bench-strlen-ifunc.c: New file.
10908 * benchtests/bench-strlen.c: New file.
10909 * benchtests/bench-strncasecmp-ifunc.c: New file.
10910 * benchtests/bench-strncasecmp.c: New file.
10911 * benchtests/bench-strncat-ifunc.c: New file.
10912 * benchtests/bench-strncat.c: New file.
10913 * benchtests/bench-strncmp-ifunc.c: New file.
10914 * benchtests/bench-strncmp.c: New file.
10915 * benchtests/bench-strncpy-ifunc.c: New file.
10916 * benchtests/bench-strncpy.c: New file.
10917 * benchtests/bench-strnlen-ifunc.c: New file.
10918 * benchtests/bench-strnlen.c: New file.
10919 * benchtests/bench-strpbrk-ifunc.c: New file.
10920 * benchtests/bench-strpbrk.c: New file.
10921 * benchtests/bench-strrchr-ifunc.c: New file.
10922 * benchtests/bench-strrchr.c: New file.
10923 * benchtests/bench-strspn-ifunc.c: New file.
10924 * benchtests/bench-strspn.c: New file.
10925 * benchtests/bench-strstr-ifunc.c: New file.
10926 * benchtests/bench-strstr.c: New file.
10927
c1f75dc3
SP
10928 * benchtests/Makefile: Disable parallel execution of targets.
10929 (string-bench): Add memcpy.
10930 (benchset): New variable to store a list of benchmark sets.
10931 (bench-func): Renamed from bench.
10932 (bench-set): New target.
10933 (bench): Depend on bench-func and bench-set.
10934 * benchtests/README: Add section on benchmark sets.
10935 * benchtests/bench-memcpy-ifunc.c: New file.
10936 * benchtests/bench-memcpy.c: New file.
10937 * benchtests/bench-string.h: New file.
10938
50fd745b
AS
109392013-06-11 Andreas Schwab <schwab@suse.de>
10940
10941 [BZ #15577]
10942 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
10943 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
10944 values in the triple.
10945 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
10946 terminator in the group key.
10947
3ee7e9fe
AJ
109482013-06-11 Andreas Jaeger <aj@suse.de>
10949
10950 * po/zh_TW.po: Update Chinese (traditional) translation from
10951 translation project.
10952
89fb6835
SP
109532013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10954
10955 * include/time.h (__clock_gettime): Add libc_hidden_proto.
10956 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
10957 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
10958 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
10959 (clock_getcpuclockid): Likewise.
10960 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
10961 Add weak_alias and libc_hidden_def.
10962 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
10963 * rt/clock_gettime.c (clock_gettime): Rename to
10964 __clock_gettime. Add weak_alias and libc_hidden_def.
10965 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
10966 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
10967 __clock_nanosleep. Add weak_alias and libc_hidden_def.
10968 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
10969 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
10970 Likewise.
10971 * rt/clock_settime.c (clock_settime): Rename to
10972 __clock_settime. Add weak_alias and libc_hidden_def.
10973 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
10974
0efa6f8b
JM
109752013-06-10 Joseph Myers <joseph@codesourcery.com>
10976
b8c61b4b
JM
10977 * mach/err_boot.sub: Remove trailing whitespace.
10978 * mach/err_ipc.sub: Likewise.
10979 * mach/err_mach.sub: Likewise.
10980
0efa6f8b
JM
10981 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
10982 (ROUNDING_TESTS_double): Likewise.
10983 (ROUNDING_TESTS_long_double): Likewise.
10984 (ROUNDING_TESTS): Likewise.
10985 * math/libm-test.inc: Include <math-tests.h>.
10986 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
10987 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
10988 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
10989 (IF_ROUND_INIT_FE_UPWARD): Likewise.
10990
50b818bf
SP
109912013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10992
10993 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
10994 of assigning.
10995
60d2f8f3
JM
109962013-06-08 Joseph Myers <joseph@codesourcery.com>
10997
4902d2c3
JM
10998 * sysdeps/gnu/errlist.awk: Do not generate space at end of
10999 otherwise empty TRANS lines.
11000 * sysdeps/gnu/errlist.c: Regenerated.
11001
60d2f8f3
JM
11002 * catgets/gencat.c (error_print): Use (void) in function
11003 definition.
11004 * crypt/crypt_util.c (__init_des): Likewise.
11005 * crypt/speeds.c (Stop): Likewise.
11006 (main): Likewise.
11007 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
11008 * inet/ruserpass.c (token): Likewise.
11009 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
11010 * intl/localealias.c (extend_alias_table): Likewise.
11011 * intl/plural-exp.c (init_germanic_plural): Likewise.
11012 * libio/fcloseall.c (__fcloseall): Likewise.
11013 * libio/genops.c (_IO_flush_all): Likewise.
11014 (_IO_flush_all_linebuffered): Likewise.
11015 (_IO_cleanup): Likewise.
11016 (_IO_iter_begin): Likewise.
11017 (_IO_iter_end): Likewise.
11018 (_IO_list_lock): Likewise.
11019 (_IO_list_unlock): Likewise.
11020 (_IO_list_resetlock): Likewise.
11021 * libio/getchar.c (getchar): Likewise.
11022 * libio/getchar_u.c (getchar_unlocked): Likewise.
11023 * libio/getwchar.c (getwchar): Likewise.
11024 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
11025 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
11026 * login/getpt.c (__getpt): Likewise.
11027 * login/tst-utmp.c (main): Likewise.
11028 * malloc/hooks.c (__malloc_check_init): Likewise.
11029 * malloc/malloc.c (__malloc_stats): Likewise.
11030 * malloc/mtrace.c (tr_break): Likewise.
11031 (mtrace): Likewise.
11032 (muntrace): Likewise.
11033 * misc/fstab.c (endfsent): Likewise.
11034 * misc/getclktck.c (__getclktck): Likewise.
11035 * misc/getdtsz.c (__getdtablesize): Likewise.
11036 * misc/gethostid.c (gethostid): Likewise.
11037 * misc/getpagesize.c (__getpagesize): Likewise.
11038 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
11039 (__get_nprocs): Likewise.
11040 (__get_phys_pages): Likewise.
11041 (__get_avphys_pages): Likewise.
11042 * misc/getttyent.c (getttyent): Likewise.
11043 (setttyent): Likewise.
11044 (endttyent): Likewise.
11045 * misc/getusershell.c (getusershell): Likewise.
11046 (endusershell): Likewise.
11047 (setusershell): Likewise.
11048 (initshells): Likewise.
11049 * misc/hsearch.c (__hdestroy): Likewise.
11050 * misc/sync.c (sync): Likewise.
11051 * misc/syslog.c (closelog_internal): Likewise.
11052 (closelog): Likewise.
11053 * misc/ttyslot.c (ttyslot): Likewise.
11054 * misc/vhangup.c (vhangup): Likewise.
11055 * posix/fork.c (__fork): Likewise.
11056 * posix/getegid.c (__getegid): Likewise.
11057 * posix/geteuid.c (__geteuid): Likewise.
11058 * posix/getgid.c (__getgid): Likewise.
11059 * posix/getpid.c (__getpid): Likewise.
11060 * posix/getppid.c (__getppid): Likewise.
11061 * posix/getuid.c (__getuid): Likewise.
11062 * posix/pause.c (pause): Likewise.
11063 * posix/setpgrp.c (setpgrp): Likewise.
11064 * posix/setsid.c (__setsid): Likewise.
11065 * posix/test-vfork.c (noop): Likewise.
11066 * resolv/gethnamaddr.c (_endhtent): Likewise.
11067 (_gethtent): Likewise.
11068 (ht_endhostent): Likewise.
11069 (gethostent): Likewise.
11070 (dns_service): Likewise.
11071 * stdlib/drand48.c (drand48): Likewise.
11072 * stdlib/lrand48.c (lrand48): Likewise.
11073 * stdlib/mrand48.c (mrand48): Likewise.
11074 * stdlib/rand.c (rand): Likewise.
11075 * stdlib/random.c (__random): Likewise.
11076 * stdlib/setenv.c (clearenv): Likewise.
11077 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
11078 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
11079 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
11080 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
11081 (__get_nprocs): Likewise.
11082 (__get_phys_pages): Likewise.
11083 (__get_avphys_pages): Likewise.
11084 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
11085 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
11086 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
11087 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
11088 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
11089 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
11090 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
11091 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
11092 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
11093 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
11094 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
11095 * sysdeps/mach/hurd/sync.c (sync): Likewise.
11096 * sysdeps/posix/clock.c (clock): Likewise.
11097 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
11098 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
11099 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
11100 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
11101 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
11102 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
11103 (__get_nprocs_conf): Likewise.
11104 (__get_phys_pages): Likewise.
11105 (__get_avphys_pages): Likewise.
11106 * time/clock.c (clock): Likewise.
11107 * time/tzset.c (__tzname_max): Likewise.
11108
2e09a79a
JM
111092013-06-07 Joseph Myers <joseph@codesourcery.com>
11110
11111 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
11112 (__bswap_32): Do not use "register".
11113 * crypt/crypt.c (_ufc_doit_r): Likewise.
11114 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
11115 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
11116 * gmon/gmon.c (__monstartup): Likewise.
11117 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
11118 * hurd/hurdmalloc.c (more_memory): Likewise.
11119 (malloc): Likewise.
11120 (free): Likewise.
11121 (realloc): Likewise.
11122 (malloc_fork_prepare): Likewise.
11123 (malloc_fork_parent): Likewise.
11124 (malloc_fork_child): Likewise.
11125 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
11126 (_svcauth_des): Likewise.
11127 * inet/inet_lnaof.c (inet_lnaof): Likewise.
11128 * inet/inet_net.c (inet_network): Likewise.
11129 * inet/inet_netof.c (inet_netof): Likewise.
11130 * inet/rcmd.c (__validuser2_sa): Likewise.
11131 * io/fts.c (fts_open): Likewise.
11132 (fts_load): Likewise.
11133 (fts_close): Likewise.
11134 (fts_read): Likewise.
11135 (fts_children): Likewise.
11136 (fts_build): Likewise.
11137 (fts_stat): Likewise.
11138 (fts_sort): Likewise.
11139 (fts_alloc): Likewise.
11140 (fts_lfree): Likewise.
11141 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
11142 (_IO_file_xsgetn): Likewise.
11143 (_IO_file_xsgetn_mmap): Likewise.
11144 * libio/iofopncook.c (_IO_cookie_read): Likewise.
11145 (_IO_cookie_write): Likewise.
11146 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
11147 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
11148 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
11149 * malloc/obstack.c (_obstack_begin): Likewise.
11150 (_obstack_begin_1): Likewise.
11151 (_obstack_newchunk): Likewise.
11152 (_obstack_allocated_p): Likewise.
11153 (obstack_free): Likewise.
11154 (_obstack_memory_used): Likewise.
11155 * misc/getttyent.c (getttynam): Likewise.
11156 (getttyent): Likewise.
11157 (skip): Likewise.
11158 (value): Likewise.
11159 * misc/getusershell.c (initshells): Likewise.
11160 * misc/syslog.c (__vsyslog_chk): Likewise.
11161 * misc/ttyslot.c (ttyslot): Likewise.
11162 * nis/nis_hash.c (__nis_hash): Likewise.
11163 * posix/fnmatch_loop.c (FCT): Likewise.
11164 * posix/getconf.c (print_all): Likewise.
11165 (main): Likewise.
11166 * posix/getopt.c (exchange): Likewise.
11167 * posix/glob.c (globfree): Likewise.
11168 (prefix_array): Likewise.
11169 (__glob_pattern_type): Likewise.
11170 * resolv/arpa/nameser.h (NS_GET16): Likewise.
11171 (NS_GET32): Likewise.
11172 (NS_PUT16): Likewise.
11173 (NS_PUT32): Likewise.
11174 * resolv/gethnamaddr.c (getanswer): Likewise.
11175 (gethostbyname2): Likewise.
11176 (gethostbyaddr): Likewise.
11177 (_gethtent): Likewise.
11178 (_gethtbyname2): Likewise.
11179 (_gethtbyaddr): Likewise.
11180 * resolv/ns_print.c (dst_s_get_int16): Likewise.
11181 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
11182 * resolv/res_init.c (__res_vinit): Likewise.
11183 (net_mask): Likewise.
11184 * resolv/res_mkquery.c (outchar): Likewise.
11185 (PRINT): Likewise.
11186 * stdio-common/printf_fp.c (outchar): Likewise.
11187 (PRINT): Likewise.
11188 * stdio-common/printf_fphex.c (outchar): Likewise.
11189 (PRINT): Likewise.
11190 * stdio-common/printf_size.c (outchar): Likewise.
11191 (PRINT): Likewise.
11192 * stdio-common/test_rdwr.c (main): Likewise.
11193 * stdio-common/tfformat.c (matches): Likewise.
11194 * stdio-common/vfprintf.c (outchar): Likewise.
11195 (printf_unknown): Likewise.
11196 (buffered_vfprintf): Likewise.
11197 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
11198 * stdio-common/xbug.c (AppendToBuffer): Likewise.
11199 (ReadFile): Likewise.
11200 * stdlib/qsort.c (SWAP): Likewise.
11201 (_quicksort): Likewise.
11202 * stdlib/setenv.c (__add_to_environ): Likewise.
11203 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
11204 * stdlib/strtol_l.c (__strtol_l): Likewise.
11205 * stdlib/tst-strtod.c (main): Likewise.
11206 * stdlib/tst-strtol.c (main): Likewise.
11207 * stdlib/tst-strtoll.c (main): Likewise.
11208 * string/bits/string2.h (__strcmp_cc): Likewise.
11209 (__strcmp_cg): Likewise.
11210 (__strcspn_c1): Likewise.
11211 (__strcspn_c2): Likewise.
11212 (__strcspn_c3): Likewise.
11213 (__strspn_c1): Likewise.
11214 (__strspn_c2): Likewise.
11215 (__strspn_c3): Likewise.
11216 (__strsep_1c): Likewise.
11217 (__strsep_2c): Likewise.
11218 (__strsep_3c): Likewise.
11219 * string/memccpy.c (__memccpy): Likewise.
11220 * string/stpcpy.c (__stpcpy): Likewise.
11221 * string/strcmp.c (strcmp): Likewise.
11222 * string/strrchr.c (strrchr): Likewise.
11223 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
11224 Likewise.
11225 * sysdeps/mach/hurd/getcwd.c
11226 (_hurd_canonicalize_directory_name_internal): Likewise.
11227 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
11228 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
11229 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
11230 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
11231 Likewise, in both definitions.
11232 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
11233 definitions.
11234 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
11235 64] (__bswap_64): Likewise.
11236 * time/test_time.c (main): Likewise.
11237 * time/tzfile.c (__tzfile_read): Likewise.
11238 (__tzfile_compute): Likewise.
11239 * time/tzset.c (__tzset_parse_tz): Likewise.
11240 (tzset_internal): Likewise.
11241 (compute_change): Likewise.
11242 * wcsmbs/wcscat.c (__wcscat): Likewise.
11243 * wcsmbs/wcschr.c (wcschr): Likewise.
11244 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
11245 * wcsmbs/wcscspn.c (wcscspn): Likewise.
11246 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
11247 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
11248 * wcsmbs/wcsspn.c (wcsspn): Likewise.
11249 * wcsmbs/wcsstr.c (wcsstr): Likewise.
11250 * wcsmbs/wmemchr.c (wmemchr): Likewise.
11251 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
11252 * wcsmbs/wmemset.c (wmemset): Likewise.
11253
9e54314b
JM
112542013-06-06 Joseph Myers <joseph@codesourcery.com>
11255
11256 * scripts/config.guess: Update to version 2013-05-16.
11257 * scripts/config.sub: Update to version 2013-04-24.
11258 * scripts/install-sh: Update to version 2011-11-20.07.
11259 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
11260 * scripts/move-if-change: Update to version 2012-01-06 07:23.
11261
350635a5
OB
112622013-06-06 Ondřej Bílka <neleai@seznam.cz>
11263
11264 * debug/fgetws_u_chk.c: Fix leading whitespaces.
11265 * elf/sln.c: Likewise.
11266 * hurd/hurd/ioctl.h: Likewise.
11267 * hurd/hurdmalloc.c: Likewise.
11268 * hurd/xattr.c: Likewise.
11269 * include/shlib-compat.h: Likewise.
11270 * inet/ruserpass.c: Likewise.
11271 * libio/iofgets_u.c: Likewise.
11272 * libio/iofgetws_u.c: Likewise.
11273 * locale/programs/ld-identification.c: Likewise.
11274 * locale/programs/ld-time.c: Likewise.
11275 * mach/msg-destroy.c: Likewise.
11276 * nss/nss_files/files-netgrp.c: Likewise.
11277 * resolv/res_data.c: Likewise.
11278 * soft-fp/op-1.h: Likewise.
11279 * soft-fp/op-2.h: Likewise.
11280 * soft-fp/op-4.h: Likewise.
11281 * soft-fp/op-common.h: Likewise.
11282 * stdio-common/printf_fphex.c: Likewise.
11283 * stdlib/strtod_l.c: Likewise.
11284 * sunrpc/rpc/clnt.h: Likewise.
11285 * sysdeps/generic/framestate.c: Likewise.
11286 * sysdeps/i386/bsd-_setjmp.S: Likewise.
11287 * sysdeps/i386/bsd-setjmp.S: Likewise.
11288 * sysdeps/i386/__longjmp.S: Likewise.
11289 * sysdeps/i386/setjmp.S: Likewise.
11290 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11291 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
11292 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11293 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11294 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11295 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
11296 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
11297 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
11298 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
11299 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
11300 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
11301 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
11302 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
11303 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
11304 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
11305 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
11306 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
11307 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
11308 * sysdeps/ieee754/support.c: Likewise.
11309 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
11310 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
11311 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
11312 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
11313 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
11314 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
11315 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
11316 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
11317 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
11318 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
11319 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
11320 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
11321 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
11322 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
11323 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
11324 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
11325 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
11326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
11327
44a988af
OB
113282013-06-05 Ondřej Bílka <neleai@seznam.cz>
11329
25506f09 11330 * posix/transbug.c: Remove executable mode.
44a988af 11331
9c84384c
JM
113322013-06-05 Joseph Myers <joseph@codesourcery.com>
11333
11334 * crypt/speeds.c: Remove trailing whitespace.
11335 * dlfcn/default.c: Likewise.
11336 * elf/ifuncdep2.c: Likewise.
11337 * elf/ifuncmain1.c: Likewise.
11338 * elf/ifuncmain1vis.c: Likewise.
11339 * elf/testobj.h: Likewise.
11340 * elf/tst-stackguard1.c: Likewise.
11341 * gmon/sys/gmon.h: Likewise.
11342 * hurd/hurdmsg.c: Likewise.
11343 * hurd/new-fd.c: Likewise.
11344 * hurd/ports-get.c: Likewise.
11345 * iconvdata/ibm1008_420.c: Likewise.
11346 * inet/tst-getni1.c: Likewise.
11347 * inet/tst-getni2.c: Likewise.
11348 * libio/ioungetc.c: Likewise.
11349 * libio/wfiledoalloc.c: Likewise.
11350 * manual/libm-err-tab.pl: Likewise.
11351 * math/w_dremf.c: Likewise.
11352 * misc/ftruncate.c: Likewise.
11353 * posix/bug-glob2.c: Likewise.
11354 * posix/tst-pcre.c: Likewise.
11355 * posix/wait4.c: Likewise.
11356 * resolv/README: Likewise.
11357 * resolv/res_debug.h: Likewise.
11358 * resolv/tst-inet_ntop.c: Likewise.
11359 * setjmp/bug269-setjmp.c: Likewise.
11360 * soft-fp/extended.h: Likewise.
11361 * soft-fp/op-1.h: Likewise.
11362 * soft-fp/op-2.h: Likewise.
11363 * soft-fp/op-4.h: Likewise.
11364 * soft-fp/op-8.h: Likewise.
11365 * soft-fp/testit.c: Likewise.
11366 * stdio-common/bug16.c: Likewise.
11367 * stdlib/random.c: Likewise.
11368 * sunrpc/rpcsvc/rquota.x: Likewise.
11369 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
11370 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
11371 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11372 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
11373 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
11374 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
11375 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
11376 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
11377 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
11378 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
11379 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
11380 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
11381 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
11382 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
11383 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
11384 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
11385 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
11386 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
11387 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
11388 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11389 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
11390 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
11391 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
11392 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
11393 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
11394 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
11395 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
11396 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
11397 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
11398 * sysdeps/ieee754/s_lib_version.c: Likewise.
11399 * sysdeps/mach/hurd/check_fds.c: Likewise.
11400 * sysdeps/mach/hurd/getsockname.c: Likewise.
11401 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
11402 * sysdeps/mach/hurd/recvfrom.c: Likewise.
11403 * sysdeps/powerpc/bits/link.h: Likewise.
11404 * sysdeps/powerpc/dl-procinfo.c: Likewise.
11405 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
11406 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
11407 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
11408 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
11409 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
11410 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
11411 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
11412 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
11413 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
11414 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
11415 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
11416 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
11417 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
11418 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
11419 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
11420 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
11421 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
11422 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
11423 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
11424 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
11425 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
11426 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11427 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
11428 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
11429 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
11430 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
11431 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
11432 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
11433 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
11434 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
11435 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
11436 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
11437 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
11438 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
11439 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
11440 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
11441 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
11442 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
11443 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
11444 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
11445 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
11446 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
11447 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
11448 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
11449 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
11450 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
11451 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
11452 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
11453 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
11454 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11455 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
11456 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
11457 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
11458 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
11459 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
11460 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
11461 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
11462 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
11463 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
11464 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
11465 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
11466 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
11467 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
11468 * sysdeps/powerpc/sysdep.h: Likewise.
11469 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
11470 * sysdeps/s390/s390-64/sub_n.S: Likewise.
11471 * sysdeps/sh/dl-trampoline.S: Likewise.
11472 * sysdeps/sh/memset.S: Likewise.
11473 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
11474 * sysdeps/sh/strlen.S: Likewise.
11475 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
11476 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
11477 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
11478 * sysdeps/sparc/sparc32/rem.S: Likewise.
11479 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
11480 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
11481 * sysdeps/sparc/sparc32/strchr.S: Likewise.
11482 * sysdeps/sparc/sparc32/udiv.S: Likewise.
11483 * sysdeps/sparc/sparc32/urem.S: Likewise.
11484 * sysdeps/sparc/sparc64/add_n.S: Likewise.
11485 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
11486 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
11487 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
11488 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
11489 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
11490 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
11491 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
11492 * sysdeps/unix/bsd/times.c: Likewise.
11493 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
11494 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
11495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
11496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
11497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
11498 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
11499 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
11500 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
11501 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
11502 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
11503 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
11504 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
11505 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
11506 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
11507 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
11508 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
11509 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
11510 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
11511 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
11512 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
11513 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
11514 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
11515 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
11516 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
11517 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
11518 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
11519 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
11520 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
11521 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
11522 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
11523 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
11524 * sysdeps/x86_64/strcspn.S: Likewise.
11525
869378a5
RA
115262013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11527
11528 * locale/C-translit.h: Revert #include <stdint.h> because this is a
11529 generated file. Regenerate properly from gen-translit.pl.
11530 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
11531 locale/C-translit.h.
11532
840e2943
AS
115332013-06-05 Andreas Schwab <schwab@suse.de>
11534
11535 [BZ #15100]
11536 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
11537 week as 6 instead of -1.
11538 * time/tst-strptime.c (day_tests): Add test case.
11539
4c60cb0c
SP
115402013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
11541
11542 * sysdeps/generic/math_private.h
11543 (libc_feholdexcept_setround_53bit): Replace with
11544 libc_feholdsetround_53bit.
11545 (libc_feupdateenv_53bit): Replace with
11546 libc_feresetround_53bit.
11547 (SET_RESTORE_ROUND_53BIT): Adjust.
11548
d180203e
SP
115492013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
11550
96df079a
SP
11551 * string/test-strchrnul.c: Add copyright header.
11552
d180203e
SP
11553 * posix/tst-getaddrinfo4.c: Increase test timeout.
11554
8b0ccb2d
CD
115552013-06-03 Carlos O'Donell <carlos@redhat.com>
11556
11557 [BZ #15536]
11558 * math/libm-test.inc (MAX_EXP): Remove
11559 (MIN_EXP): Define.
11560 (ulp): Use MIN_EXP - MANT_DIG.
11561 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
11562
3b3c4d40
CD
115632013-05-31 Carlos O'Donell <carlos@redhat.com>
11564
11565 * po/be.po: Revert last change.
11566 * po/zh_CN.po: Likewise.
11567 * po/header.pot: Likewise.
11568
fab7ce3f
JM
115692013-05-31 Joseph Myers <joseph@codesourcery.com>
11570
11571 * Makefile ($(common-objpfx)linkobj/libc.so): Define
11572 link-libc-deps to empty as target-specific variable.
11573 * Makerules (link-libc-args): New variable.
11574 (libc-for-link): Likewise.
11575 (link-libc-deps): Likewise.
11576 (lib%.so): Depend on $(link-libc-deps). Link with
11577 $(link-libc-args).
11578 (build-module): Link with $(link-libc-args).
11579 (build-module-asneeded): Likewise.
11580 (build-module-helper-objlist): Filter out $(link-libc-deps) from
11581 list of objects.
11582 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
11583 target-specific variable.
11584 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
11585 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
11586 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
11587 libc.
11588 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
11589 libc and ld.so.
11590 ($(objpfx)libpcprofile.so): Likewise.
11591 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
11592 libc_nonshared.a.
11593 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
11594 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
11595 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
11596 $(link-libc-deps).
11597 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
11598 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
11599 * login/Makefile ($(objpfx)libutil.so): Likewise.
11600 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
11601 * math/Makefile ($(objpfx)libm.so): Likewise.
11602 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
11603 $(objpfx)libnsl.so): Define libc-for-link as target-specific
11604 variable instead of depending directly on libc.
11605 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
11606 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
11607 $(link-libc-deps).
11608 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
11609 libc.
11610 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
11611 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
11612 ($(objpfx)libanl.so): Likewise.
11613 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
11614 ld.so.
11615 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
11616 $(link-libc-deps).
11617 * sysdeps/i386/fpu/Makefile: Remove file.
11618 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
11619 ($(objpfx)libm.so): Remove dependency on ld.so.
11620
eca5920c
PF
116212013-05-30 Patsy Franklin <pfrankli@redhat.com>
11622
11623 [BZ # 15553]
11624 * nis/yp_xdr.c (XDRMAXNAME): Define.
11625 (XDRMAXRECORD): Define.
11626 (xdr_domainname): Use XDRMAXNAME.
11627 (xdr_mapname): Likewise.
11628 (xdr_peername): Likewise.
11629 (xdr_keydat): Use XDRMAXRECORD.
11630 (xdr_valdat): Likewise.
11631
116322013-05-30 Jeff Law <law@redhat.com>
96945714
JL
11633
11634 [BZ #14256]
11635 * manual/errno.texi (ESTALE): Update to account for more than
11636 just NFS file systems.
11637 * sysdeps/gnu/errlist.c: Regenerated.
11638
b9375348
SP
116392013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
11640
11641 [BZ #15465]
11642 * elf/Makefile (tests): Add tst-null-argv.
11643 (modules-names): Add tst-null-argv-lib.
11644 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
11645 (tst-null-argv-ENV): Set environment for tst-null-argv.
11646 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
11647 (RTLD_PROGNAME): New macro.
11648 * elf/tst-null-argv.c: New test case.
11649 * elf/tst-null-argv-lib.c: Library for test case.
11650 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
11651 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
11652 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
11653 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
11654 * elf/dl-init.c (call_init): Likewise.
11655 (_dl_init): Likewise.
11656 * elf/dl-load.c (print_search_path): Likewise.
11657 (_dl_map_object): Likewise.
11658 * elf/dl-lookup.c (do_lookup_x): Likewise.
11659 (add_dependency): Likewise.
11660 (_dl_lookup_symbol_x): Likewise.
11661 (_dl_debug_bindings): Likewise.
11662 * elf/dl-open.c (_dl_show_scope): Likewise.
11663 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
11664 * elf/dl-version.c (match_symbol): Likewise.
11665 (_dl_check_map_versions): Likewise.
11666 * elf/rtld.c (dl_main): Likewise.
11667 (print_unresolved): Use RTLD_PROGNAME.
11668 (print_missing_version): Likewise.
11669 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
11670 (elf_machine_rela): Likewise.
11671 * sysdeps/powerpc/powerpc32/dl-machine.c
11672 (__process_machine_rela): Likewise.
11673 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11674 Likewise.
11675 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
11676 Likewise.
11677 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
11678 Likewise.
11679 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
11680 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
11681 Likewise.
11682 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
11683 Likewise.
11684 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
11685
8a9f20c8
CD
116862013-05-28 Carlos O'Donell <carlos@redhat.com>
11687
11688 * po/be.po: Add descriptive title.
11689 * po/zh_CN.po: Likewise.
11690 * po/header.pot: Likewise.
11691
0e60d68e
MF
116922013-05-28 Mike Frysinger <vapier@gentoo.org>
11693
11694 * locale/programs/locarchive.c (create_archive): Inlucde fname in
11695 error message.
11696 (enlarge_archive): Likewise.
11697
56b672e9
BN
116982013-05-28 Ben North <ben@redfrontdoor.org>
11699
11700 * manual/arith.texi (frexp): It is the magnitude of the return
11701 value which lies in [0.5, 1), not the return value itself.
11702
5e056687
AZ
117032013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11704
11705 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11706
2b66ef5d
TS
117072013-05-26 Thomas Schwinge <thomas@codesourcery.com>
11708
528c2405
TS
11709 * stdio-common/bug26.c (main): Correct fscanf template.
11710
07b4c13d
TS
11711 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
11712 declare _dl_skip_args.
11713
ec9dd97c
TS
11714 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
11715 Don't declare.
11716
2b66ef5d
TS
11717 * manual/platform.texi: Add missing @end deftypefun.
11718
4f8dfe27
JM
117192013-05-24 Joseph Myers <joseph@codesourcery.com>
11720
0323d086
JM
11721 [BZ #15529]
11722 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
11723 bit of mantissa of 2^16382.
11724 * math/libm-test.inc (hypot_test_data): Add more tests.
11725
dd4259b9
JM
11726 * math/libm-test.inc: Add drem and pow10 to list of tested
11727 functions.
11728 (pow10_test): New function.
11729 (drem_test): Likewise.
11730 (drem_test_tonearest): Likewise.
11731 (drem_test_towardzero): Likewise.
11732 (drem_test_downward): Likewise.
11733 (drem_test_upward): Likewise.
11734 (main): Call the new functions.
11735
4f8dfe27
JM
11736 * math/libm-test.inc (finite_test_data): Remove.
11737 (finite_test): Run tests from isfinite_test_data.
11738 (gamma_test_data): Remove.
11739 (gamma_test): Run tests from lgamma_test_data.
11740 * sysdeps/i386/fpu/libm-test-ulps: Update.
11741 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11742
d116b7c4
AZ
117432013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11744
11745 * manual/platform.texi: Add PowerPC PPR function set documentation.
11746 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
11747 implementation.
11748
e96e3767
CD
117492013-05-24 Carlos O'Donell <carlos@redhat.com>
11750
11751 * math/libm-test.inc (MAX_EXP): Define.
11752 (ULPDIFF): Define.
11753 (ulp): New function.
11754 (check_float_internal): Use ULPDIFF.
11755 (cpow_test): Disable failing test.
11756 (check_ulp): Test ulp() implemetnation.
11757 (main): Call check_ulp before starting tests.
11758
b679a606
JM
117592013-05-24 Joseph Myers <joseph@codesourcery.com>
11760
e8bdba36
JM
11761 * math/gen-libm-test.pl (generate_testfile): Do not handle
11762 START_DATA and END_DATA.
11763 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
11764 END_DATA.
11765 (acos_tonearest_test_data): Likewise.
11766 (acos_towardzero_test_data): Likewise.
11767 (acos_downward_test_data): Likewise.
11768 (acos_upward_test_data): Likewise.
11769 (acosh_test_data): Likewise.
11770 (asin_test_data): Likewise.
11771 (asin_tonearest_test_data): Likewise.
11772 (asin_towardzero_test_data): Likewise.
11773 (asin_downward_test_data): Likewise.
11774 (asin_upward_test_data): Likewise.
11775 (asinh_test_data): Likewise.
11776 (atan_test_data): Likewise.
11777 (atanh_test_data): Likewise.
11778 (atan2_test_data): Likewise.
11779 (cabs_test_data): Likewise.
11780 (cacos_test_data): Likewise.
11781 (cacosh_test_data): Likewise.
11782 (carg_test_data): Likewise.
11783 (casin_test_data): Likewise.
11784 (casinh_test_data): Likewise.
11785 (catan_test_data): Likewise.
11786 (catanh_test_data): Likewise.
11787 (cbrt_test_data): Likewise.
11788 (ccos_test_data): Likewise.
11789 (ccosh_test_data): Likewise.
11790 (ceil_test_data): Likewise.
11791 (cexp_test_data): Likewise.
11792 (cimag_test_data): Likewise.
11793 (clog_test_data): Likewise.
11794 (clog10_test_data): Likewise.
11795 (conj_test_data): Likewise.
11796 (copysign_test_data): Likewise.
11797 (cos_test_data): Likewise.
11798 (cos_tonearest_test_data): Likewise.
11799 (cos_towardzero_test_data): Likewise.
11800 (cos_downward_test_data): Likewise.
11801 (cos_upward_test_data): Likewise.
11802 (cosh_test_data): Likewise.
11803 (cosh_tonearest_test_data): Likewise.
11804 (cosh_towardzero_test_data): Likewise.
11805 (cosh_downward_test_data): Likewise.
11806 (cosh_upward_test_data): Likewise.
11807 (cpow_test_data): Likewise.
11808 (cproj_test_data): Likewise.
11809 (creal_test_data): Likewise.
11810 (csin_test_data): Likewise.
11811 (csinh_test_data): Likewise.
11812 (csqrt_test_data): Likewise.
11813 (ctan_test_data): Likewise.
11814 (ctan_tonearest_test_data): Likewise.
11815 (ctan_towardzero_test_data): Likewise.
11816 (ctan_downward_test_data): Likewise.
11817 (ctan_upward_test_data): Likewise.
11818 (ctanh_test_data): Likewise.
11819 (ctanh_tonearest_test_data): Likewise.
11820 (ctanh_towardzero_test_data): Likewise.
11821 (ctanh_downward_test_data): Likewise.
11822 (ctanh_upward_test_data): Likewise.
11823 (erf_test_data): Likewise.
11824 (erfc_test_data): Likewise.
11825 (exp_test_data): Likewise.
11826 (exp_tonearest_test_data): Likewise.
11827 (exp_towardzero_test_data): Likewise.
11828 (exp_downward_test_data): Likewise.
11829 (exp_upward_test_data): Likewise.
11830 (exp10_test_data): Likewise.
11831 (exp2_test_data): Likewise.
11832 (expm1_test_data): Likewise.
11833 (fabs_test_data): Likewise.
11834 (fdim_test_data): Likewise.
11835 (finite_test_data): Likewise.
11836 (floor_test_data): Likewise.
11837 (fma_test_data): Likewise.
11838 (fma_towardzero_test_data): Likewise.
11839 (fma_downward_test_data): Likewise.
11840 (fma_upward_test_data): Likewise.
11841 (fmax_test_data): Likewise.
11842 (fmin_test_data): Likewise.
11843 (fmod_test_data): Likewise.
11844 (fpclassify_test_data): Likewise.
11845 (frexp_test_data): Likewise.
11846 (gamma_test_data): Likewise.
11847 (hypot_test_data): Likewise.
11848 (ilogb_test_data): Likewise.
11849 (isfinite_test_data): Likewise.
11850 (isgreater_test_data): Likewise.
11851 (isgreaterequal_test_data): Likewise.
11852 (isinf_test_data): Likewise.
11853 (isless_test_data): Likewise.
11854 (islessequal_test_data): Likewise.
11855 (islessgreater_test_data): Likewise.
11856 (isnan_test_data): Likewise.
11857 (isnormal_test_data): Likewise.
11858 (issignaling_test_data): Likewise.
11859 (isunordered_test_data): Likewise.
11860 (j0_test_data): Likewise.
11861 (j1_test_data): Likewise.
11862 (jn_test_data): Likewise.
11863 (ldexp_test_data): Likewise.
11864 (lgamma_test_data): Likewise.
11865 (lrint_test_data): Likewise.
11866 (lrint_tonearest_test_data): Likewise.
11867 (lrint_towardzero_test_data): Likewise.
11868 (lrint_downward_test_data): Likewise.
11869 (lrint_upward_test_data): Likewise.
11870 (llrint_test_data): Likewise.
11871 (llrint_tonearest_test_data): Likewise.
11872 (llrint_towardzero_test_data): Likewise.
11873 (llrint_downward_test_data): Likewise.
11874 (llrint_upward_test_data): Likewise.
11875 (log_test_data): Likewise.
11876 (log10_test_data): Likewise.
11877 (log1p_test_data): Likewise.
11878 (log2_test_data): Likewise.
11879 (logb_test_data): Likewise.
11880 (logb_downward_test_data): Likewise.
11881 (lround_test_data): Likewise.
11882 (llround_test_data): Likewise.
11883 (modf_test_data): Likewise.
11884 (nearbyint_test_data): Likewise.
11885 (nextafter_test_data): Likewise.
11886 (nexttoward_test_data): Likewise.
11887 (pow_test_data): Likewise.
11888 (pow_tonearest_test_data): Likewise.
11889 (pow_towardzero_test_data): Likewise.
11890 (pow_downward_test_data): Likewise.
11891 (pow_upward_test_data): Likewise.
11892 (remainder_test_data): Likewise.
11893 (remainder_tonearest_test_data): Likewise.
11894 (remainder_towardzero_test_data): Likewise.
11895 (remainder_downward_test_data): Likewise.
11896 (remainder_upward_test_data): Likewise.
11897 (remquo_test_data): Likewise.
11898 (rint_test_data): Likewise.
11899 (rint_tonearest_test_data): Likewise.
11900 (rint_towardzero_test_data): Likewise.
11901 (rint_downward_test_data): Likewise.
11902 (rint_upward_test_data): Likewise.
11903 (round_test_data): Likewise.
11904 (scalb_test_data): Likewise.
11905 (scalbn_test_data): Likewise.
11906 (scalbln_test_data): Likewise.
11907 (signbit_test_data): Likewise.
11908 (sin_test_data): Likewise.
11909 (sin_tonearest_test_data): Likewise.
11910 (sin_towardzero_test_data): Likewise.
11911 (sin_downward_test_data): Likewise.
11912 (sin_upward_test_data): Likewise.
11913 (sincos_test_data): Likewise.
11914 (sinh_test_data): Likewise.
11915 (sinh_tonearest_test_data): Likewise.
11916 (sinh_towardzero_test_data): Likewise.
11917 (sinh_downward_test_data): Likewise.
11918 (sinh_upward_test_data): Likewise.
11919 (sqrt_test_data): Likewise.
11920 (tan_test_data): Likewise.
11921 (tan_tonearest_test_data): Likewise.
11922 (tan_towardzero_test_data): Likewise.
11923 (tan_downward_test_data): Likewise.
11924 (tan_upward_test_data): Likewise.
11925 (tanh_test_data): Likewise.
11926 (tgamma_test_data): Likewise.
11927 (trunc_test_data): Likewise.
11928 (y0_test_data): Likewise.
11929 (y1_test_data): Likewise.
11930 (yn_test_data): Likewise.
11931 (significand_test_data): Likewise.
11932
b679a606
JM
11933 * math/gen-libm-test.pl (@functions): Remove variable.
11934 (generate_testfile): Don't handle START and END lines.
11935 * math/libm-test.inc (START): New macro.
11936 (END): Likewise.
11937 (END_COMPLEX): Likewise.
11938 (acos_test): Use END macro without arguments.
11939 (acos_test_tonearest): Likewise.
11940 (acos_test_towardzero): Likewise.
11941 (acos_test_downward): Likewise.
11942 (acos_test_upward): Likewise.
11943 (acosh_test): Likewise.
11944 (asin_test): Likewise.
11945 (asin_test_tonearest): Likewise.
11946 (asin_test_towardzero): Likewise.
11947 (asin_test_downward): Likewise.
11948 (asin_test_upward): Likewise.
11949 (asinh_test): Likewise.
11950 (atan_test): Likewise.
11951 (atanh_test): Likewise.
11952 (atan2_test): Likewise.
11953 (cabs_test): Likewise.
11954 (cacos_test): Use END_COMPLEX macro without arguments.
11955 (cacosh_test): Likewise.
11956 (carg_test): Use END macro without arguments.
11957 (casin_test): Use END_COMPLEX macro without arguments.
11958 (casinh_test): Likewise.
11959 (catan_test): Likewise.
11960 (catanh_test): Likewise.
11961 (cbrt_test): Use END macro without arguments.
11962 (ccos_test): Use END_COMPLEX macro without arguments.
11963 (ccosh_test): Likewise.
11964 (ceil_test): Use END macro without arguments.
11965 (cexp_test): Use END_COMPLEX macro without arguments.
11966 (cimag_test): Use END macro without arguments.
11967 (clog_test): Use END_COMPLEX macro without arguments.
11968 (clog10_test): Likewise.
11969 (conj_test): Likewise.
11970 (copysign_test): Use END macro without arguments.
11971 (cos_test): Likewise.
11972 (cos_test_tonearest): Likewise.
11973 (cos_test_towardzero): Likewise.
11974 (cos_test_downward): Likewise.
11975 (cos_test_upward): Likewise.
11976 (cosh_test): Likewise.
11977 (cosh_test_tonearest): Likewise.
11978 (cosh_test_towardzero): Likewise.
11979 (cosh_test_downward): Likewise.
11980 (cosh_test_upward): Likewise.
11981 (cpow_test): Use END_COMPLEX macro without arguments.
11982 (cproj_test): Likewise.
11983 (creal_test): Use END macro without arguments.
11984 (csin_test): Use END_COMPLEX macro without arguments.
11985 (csinh_test): Likewise.
11986 (csqrt_test): Likewise.
11987 (ctan_test): Likewise.
11988 (ctan_test_tonearest): Likewise.
11989 (ctan_test_towardzero): Likewise.
11990 (ctan_test_downward): Likewise.
11991 (ctan_test_upward): Likewise.
11992 (ctanh_test): Likewise.
11993 (ctanh_test_tonearest): Likewise.
11994 (ctanh_test_towardzero): Likewise.
11995 (ctanh_test_downward): Likewise.
11996 (ctanh_test_upward): Likewise.
11997 (erf_test): Use END macro without arguments.
11998 (erfc_test): Likewise.
11999 (exp_test): Likewise.
12000 (exp_test_tonearest): Likewise.
12001 (exp_test_towardzero): Likewise.
12002 (exp_test_downward): Likewise.
12003 (exp_test_upward): Likewise.
12004 (exp10_test): Likewise.
12005 (exp2_test): Likewise.
12006 (expm1_test): Likewise.
12007 (fabs_test): Likewise.
12008 (fdim_test): Likewise.
12009 (finite_test): Likewise.
12010 (floor_test): Likewise.
12011 (fma_test): Likewise.
12012 (fma_test_towardzero): Likewise.
12013 (fma_test_downward): Likewise.
12014 (fma_test_upward): Likewise.
12015 (fmax_test): Likewise.
12016 (fmin_test): Likewise.
12017 (fmod_test): Likewise.
12018 (fpclassify_test): Likewise.
12019 (frexp_test): Likewise.
12020 (gamma_test): Likewise.
12021 (hypot_test): Likewise.
12022 (ilogb_test): Likewise.
12023 (isfinite_test): Likewise.
12024 (isgreater_test): Likewise.
12025 (isgreaterequal_test): Likewise.
12026 (isinf_test): Likewise.
12027 (isless_test): Likewise.
12028 (islessequal_test): Likewise.
12029 (islessgreater_test): Likewise.
12030 (isnan_test): Likewise.
12031 (isnormal_test): Likewise.
12032 (issignaling_test): Likewise.
12033 (isunordered_test): Likewise.
12034 (j0_test): Likewise.
12035 (j1_test): Likewise.
12036 (jn_test): Likewise.
12037 (ldexp_test): Likewise.
12038 (lgamma_test): Likewise.
12039 (lrint_test): Likewise.
12040 (lrint_test_tonearest): Likewise.
12041 (lrint_test_towardzero): Likewise.
12042 (lrint_test_downward): Likewise.
12043 (lrint_test_upward): Likewise.
12044 (llrint_test): Likewise.
12045 (llrint_test_tonearest): Likewise.
12046 (llrint_test_towardzero): Likewise.
12047 (llrint_test_downward): Likewise.
12048 (llrint_test_upward): Likewise.
12049 (log_test): Likewise.
12050 (log10_test): Likewise.
12051 (log1p_test): Likewise.
12052 (log2_test): Likewise.
12053 (logb_test): Likewise.
12054 (logb_test_downward): Likewise.
12055 (lround_test): Likewise.
12056 (llround_test): Likewise.
12057 (modf_test): Likewise.
12058 (nearbyint_test): Likewise.
12059 (nextafter_test): Likewise.
12060 (nexttoward_test): Likewise.
12061 (pow_test): Likewise.
12062 (pow_test_tonearest): Likewise.
12063 (pow_test_towardzero): Likewise.
12064 (pow_test_downward): Likewise.
12065 (pow_test_upward): Likewise.
12066 (remainder_test): Likewise.
12067 (remainder_test_tonearest): Likewise.
12068 (remainder_test_towardzero): Likewise.
12069 (remainder_test_downward): Likewise.
12070 (remainder_test_upward): Likewise.
12071 (remquo_test): Likewise.
12072 (rint_test): Likewise.
12073 (rint_test_tonearest): Likewise.
12074 (rint_test_towardzero): Likewise.
12075 (rint_test_downward): Likewise.
12076 (rint_test_upward): Likewise.
12077 (round_test): Likewise.
12078 (scalb_test): Likewise.
12079 (scalbn_test): Likewise.
12080 (scalbln_test): Likewise.
12081 (signbit_test): Likewise.
12082 (sin_test): Likewise.
12083 (sin_test_tonearest): Likewise.
12084 (sin_test_towardzero): Likewise.
12085 (sin_test_downward): Likewise.
12086 (sin_test_upward): Likewise.
12087 (sincos_test): Likewise.
12088 (sinh_test): Likewise.
12089 (sinh_test_tonearest): Likewise.
12090 (sinh_test_towardzero): Likewise.
12091 (sinh_test_downward): Likewise.
12092 (sinh_test_upward): Likewise.
12093 (sqrt_test): Likewise.
12094 (tan_test): Likewise.
12095 (tan_test_tonearest): Likewise.
12096 (tan_test_towardzero): Likewise.
12097 (tan_test_downward): Likewise.
12098 (tan_test_upward): Likewise.
12099 (tanh_test): Likewise.
12100 (tgamma_test): Likewise.
12101 (trunc_test): Likewise.
12102 (y0_test): Likewise.
12103 (y1_test): Likewise.
12104 (yn_test): Likewise.
12105 (significand_test): Likewise.
12106
bae143d2
OB
121072013-05-24 Ondřej Bílka <neleai@seznam.cz>
12108
12109 [BZ #15381]
12110 * libio/genops.c (_IO_no_init): Initialize wide struct info.
12111
9323d39b
EM
121122013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
12113
d4ea44a0 12114 [BZ #14894]
9323d39b
EM
12115 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
12116 __ppc_mdoio and __ppc_mdoom.
12117 * manual/platform.texi: Document new functions __ppc_yield,
12118 __ppc_mdoio and __ppc_mdoom.
12119
13e23af7
CD
121202013-05-22 Carlos O'Donell <carlos@redhat.com>
12121
12122 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
12123 (main): Mention "tls" pseudo-hwcap is legacy.
12124 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
12125
351fe550
JM
121262013-05-22 Joseph Myers <joseph@codesourcery.com>
12127
12128 * math/gen-libm-test.pl (parse_args): Output only string of
12129 arguments as text for test name, not full call or descriptions of
12130 tests for extra outputs.
12131 (generate_testfile): Do not pass function name to parse_args.
12132 Generate this_func variable from START.
12133 * math/libm-test.inc (struct test_f_f_data): Rename test_name
12134 field to arg_str.
12135 (struct test_ff_f_data): Likewise.
12136 (test_ff_f_data_nexttoward): Likewise.
12137 (struct test_fi_f_data): Likewise.
12138 (struct test_fl_f_data): Likewise.
12139 (struct test_if_f_data): Likewise.
12140 (struct test_fff_f_data): Likewise.
12141 (struct test_c_f_data): Likewise.
12142 (struct test_f_f1_data): Likewise. Remove field extra_name.
12143 (struct test_fF_f1_data): Likewise.
12144 (struct test_ffI_f1_data): Likewise.
12145 (struct test_c_c_data): Rename test_name field to arg_str.
12146 (struct test_cc_c_data): Likewise.
12147 (struct test_f_i_data): Likewise.
12148 (struct test_ff_i_data): Likewise.
12149 (struct test_f_l_data): Likewise.
12150 (struct test_f_L_data): Likewise.
12151 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
12152 and extra2_name.
12153 (COMMON_TEST_SETUP): New macro.
12154 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
12155 (COMMON_TEST_CLEANUP): Likewise.
12156 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
12157 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
12158 macros.
12159 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
12160 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
12161 macros.
12162 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
12163 (RUN_TEST_fff_f): Take argument string. Call new setup and
12164 cleanup macros.
12165 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
12166 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
12167 macros.
12168 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
12169 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
12170 macros.
12171 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
12172 (RUN_TEST_fF_f1): Take argument string. Call new setup and
12173 cleanup macros.
12174 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
12175 (RUN_TEST_fI_f1): Take argument string. Call new setup and
12176 cleanup macros.
12177 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
12178 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
12179 cleanup macros.
12180 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
12181 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
12182 macros.
12183 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
12184 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
12185 macros.
12186 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
12187 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
12188 macros.
12189 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
12190 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
12191 cleanup macros.
12192 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
12193 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
12194 cleanup macros.
12195 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
12196 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
12197 macros.
12198 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
12199 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
12200 cleanup macros.
12201 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
12202 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
12203 macros.
12204 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
12205 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
12206 macros.
12207 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
12208 (RUN_TEST_fFF_11): Take argument string. Call new setup and
12209 cleanup macros.
12210 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
12211
85118d4d
EBM
122122013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
12213
12214 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
12215 to _sifields.sigfault.
12216 (si_addr_lsb): Define new macro.
12217 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
12218 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
12219 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
12220
7a44c18f
CD
122212013-05-03 Carlos O'Donell <carlos at redhat.com>
12222
12223 [BZ #15441]
12224 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
12225 returns -1.
12226 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
12227 null return -1.
12228 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
12229 loading the domain.
12230
b50a7181
JM
122312013-05-22 Joseph Myers <joseph@codesourcery.com>
12232
12233 * math/gen-libm-test.pl (parse_args): Do not include expected
12234 result in test name.
12235 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
12236 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12237 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
12238 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
12239 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
12240 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12241
051063c8
SP
122422013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
12243
3ce9e010
SP
12244 * benchtests/Makefile: Sort function entries.
12245
051063c8
SP
12246 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
12247 tanh, asinh, acosh, atanh.
12248 * benchtests/acos-inputs: New file.
12249 * benchtests/acosh-inputs: New file.
12250 * benchtests/asin-inputs: New file.
12251 * benchtests/asinh-inputs: New file.
12252 * benchtests/atanh-inputs: New file.
12253 * benchtests/cosh-inputs: New file.
12254 * benchtests/log-inputs: New file.
12255 * benchtests/sinh-inputs: New file.
12256 * benchtests/tanh-inputs: New file.
12257
47c22455
DL
122582013-05-21 Dmitry V. Levin <ldv@altlinux.org>
12259
12260 [BZ #15339]
12261 * posix/tst-getaddrinfo4.c: New test.
12262 * posix/Makefile (tests): Add it.
12263
3d04f5db
SP
122642013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12265
12266 [BZ #15339]
12267 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
12268 when no services were used.
12269 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
12270 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
12271
d5dd6189
AS
122722013-05-21 Andreas Schwab <schwab@suse.de>
12273
12274 [BZ #15014]
12275 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
12276 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
12277 successful.
12278 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
12279 redundant variable declarations and reallocation of buffer when
12280 parsing as IPv6 address. Always set NSS status when called from
12281 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
12282 buffer too small. Correct computation of needed size.
12283 * nss/Makefile (tests): Add test-digits-dots.
12284 * nss/test-digits-dots.c: New test.
12285
fef94eab
SP
122862013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12287
12288 * benchtests/Makefile: Remove instructions for adding
12289 benchmark tests.
12290 * benchtests/README: New file to explain how to execute and
12291 enhance the benchmark tests.
12292
e39adf43
AS
122932013-05-21 Andreas Schwab <schwab@suse.de>
12294
12295 [BZ #15493]
12296 * setjmp/Makefile (tests): Add tst-sigsetjmp.
12297 * setjmp/tst-sigsetjmp.c: New test.
12298
b2b671b6
OB
122992013-05-20 Ondřej Bílka <neleai@seznam.cz>
12300
12301 * sysdeps/x86_64/memset.S (memset): New implementation.
12302 (__bzero): Likewise.
12303 (__memset_tail): New function.
12304
2d48b41c
OB
123052013-05-20 Ondřej Bílka <neleai@seznam.cz>
12306
12307 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
12308 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
12309 __memcpy_sse2_unaligned ifunc selection.
12310 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
12311 Add memcpy-sse2-unaligned.S.
12312 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12313 Add: __memcpy_sse2_unaligned.
12314
f16cc3eb
JM
123152013-05-19 Joseph Myers <joseph@codesourcery.com>
12316
3e694268
JM
12317 [BZ #15490]
12318 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
12319 math_force_eval before restoring floating-point envrionment.
12320 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
12321 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
12322 Likewise.
12323 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
12324 <math_private.h>.
12325 (__nearbyintl): Use math_force_eval before restoring
12326 floating-point environment.
12327 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
12328
db62a907
JM
12329 * math/gen-libm-test.pl (special_functions): Remove.
12330 (parse_args): Don't handle TEST_extra. Handle functions with no
12331 return value.
12332 * math/libm-test.inc (struct test_sincos_data): Replace with
12333 struct test_fFF_11_data.
12334 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
12335 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
12336 (sincos_test_data): Change element type to struct
12337 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
12338 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
12339 RUN_TEST_LOOP_sincos.
12340 * math/README.libm-test: Don't mention special handling of
12341 individual functions.
12342 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
12343 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12344 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
12345 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
12346 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
12347 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12348
f16cc3eb
JM
12349 * math/gen-libm-test.pl (get_variable): Remove function.
12350 (parse_args): Don't show pointer parameters to call in test
12351 names. Use "extra output N" in test names for extra outputs
12352 rather than naming variables.
12353
3779b5b6
JM
123542013-05-18 Joseph Myers <joseph@codesourcery.com>
12355
2ee094ff
JM
12356 [BZ #15488]
12357 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
12358 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
12359 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
12360 double tests.
12361 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
12362 disable.
12363 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
12364 check_long_double.
12365
3779b5b6
JM
12366 * math/gen-libm-test.pl (@tests): Remove variable.
12367 ($count): Likewise.
12368 (new_test): Remove function.
12369 (show_exceptions): New function.
12370 (special_functions): Use show_exceptions instead of new_test.
12371 (parse_args): Likewise.
12372 (generate_testfile): Pass only function name in generated call to
12373 print_max_error or print_complex_max_error.
12374 (get_ulps): Do not handle complex tests specially.
12375 (output_test): Rename to ...
12376 (get_all_ulps_for_test): ... this. Return a string rather than
12377 printing to a file. Require ulps to be present.
12378 (output_ulps): Generate arrays rather than #defines.
12379 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
12380 (struct ulp_data): New type.
12381 (BUILD_COMPLEX_ULP): Remove macro.
12382 (compare_ulp_data): New function.
12383 (find_ulps): Likewise.
12384 (find_test_ulps): Likewise.
12385 (find_function_ulps): Likewise.
12386 (find_complex_function_ulps): Likewise.
12387 (print_max_error): Determine allowed ulps using
12388 find_function_ulps.
12389 (print_complex_max_error): Determine allowed ulps using
12390 find_complex_function_ulps.
12391 (check_float_internal): Determine max ulps using find_test_ulps.
12392 (check_float): Do not take max_ulp parameter. Update call to
12393 check_float_internal.
12394 (check_complex): Likewise.
12395 (check_int): Do not take max_ulp parameter.
12396 (check_long): Likewise.
12397 (check_bool): Likewise.
12398 (check_longlong): Likewise.
12399 (struct test_f_f_data): Remove max_ulp field.
12400 (struct test_ff_f_data): Likewise.
12401 (struct test_ff_f_data_nexttoward): Likewise.
12402 (struct test_fi_f_data): Likewise.
12403 (struct test_fl_f_data): Likewise.
12404 (struct test_if_f_data): Likewise.
12405 (struct test_fff_f_data): Likewise.
12406 (struct test_c_f_data): Likewise.
12407 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
12408 (struct test_fF_f1_data): Likewise.
12409 (struct test_ffI_f1_data): Likewise.
12410 (struct test_c_c_data): Remove max_ulp field.
12411 (struct test_cc_c_data): Likewise.
12412 (struct test_f_i_data): Likewise.
12413 (struct test_ff_i_data): Likewise.
12414 (struct test_f_l_data): Likewise.
12415 (struct test_f_L_data): Likewise.
12416 (struct test_sincos_data): Likewise.
12417 (RUN_TEST_f_f): Do not handle ulps.
12418 (RUN_TEST_LOOP_f_f): Likewise.
12419 (RUN_TEST_2_f): Likewise.
12420 (RUN_TEST_LOOP_2_f): Likewise.
12421 (RUN_TEST_fff_f): Likewise.
12422 (RUN_TEST_LOOP_fff_f): Likewise.
12423 (RUN_TEST_c_f): Likewise.
12424 (RUN_TEST_LOOP_c_f): Likewise.
12425 (RUN_TEST_f_f1): Likewise.
12426 (RUN_TEST_LOOP_f_f1): Likewise.
12427 (RUN_TEST_fF_f1): Likewise.
12428 (RUN_TEST_LOOP_fF_f1): Likewise.
12429 (RUN_TEST_fI_f1): Likewise.
12430 (RUN_TEST_LOOP_fI_f1): Likewise.
12431 (RUN_TEST_ffI_f1): Likewise.
12432 (RUN_TEST_LOOP_ffI_f1): Likewise.
12433 (RUN_TEST_c_c): Likewise.
12434 (RUN_TEST_LOOP_c_c): Likewise.
12435 (RUN_TEST_cc_c): Likewise.
12436 (RUN_TEST_LOOP_cc_c): Likewise.
12437 (RUN_TEST_f_i): Likewise.
12438 (RUN_TEST_LOOP_f_i): Likewise.
12439 (RUN_TEST_f_i_tg): Likewise.
12440 (RUN_TEST_LOOP_f_i_tg): Likewise.
12441 (RUN_TEST_ff_i_tg): Likewise.
12442 (RUN_TEST_LOOP_ff_i_tg): Likewise.
12443 (RUN_TEST_f_b): Likewise.
12444 (RUN_TEST_LOOP_f_b): Likewise.
12445 (RUN_TEST_f_b_tg): Likewise.
12446 (RUN_TEST_LOOP_f_b_tg): Likewise.
12447 (RUN_TEST_f_l): Likewise.
12448 (RUN_TEST_LOOP_f_l): Likewise.
12449 (RUN_TEST_f_L): Likewise.
12450 (RUN_TEST_LOOP_f_L): Likewise.
12451 (RUN_TEST_sincos): Likewise.
12452 (RUN_TEST_LOOP_sincos): Likewise.
12453
8269107f
JM
124542013-05-17 Joseph Myers <joseph@codesourcery.com>
12455
bb38759d
JM
12456 [BZ #15480]
12457 [BZ #15485]
12458 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
12459 main case of finite arguments, set rounding mode to FE_TONEAREST
12460 and discard exceptions.
12461 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
12462 exceptions.
12463 (remainder_tonearest_test_data): New variable.
12464 (remainder_test_tonearest): New function.
12465 (remainder_towardzero_test_data): New variable.
12466 (remainder_test_towardzero): New function.
12467 (remainder_downward_test_data): New variable.
12468 (remainder_test_downward): New function.
12469 (remainder_upward_test_data): New variable.
12470 (remainder_test_upward): New function.
12471 (main): Call the new test functions.
12472
a00bdcf0
JM
12473 * math/libm-test.inc (struct test_f_f1_data): Remove field
12474 extra_init.
12475 (struct test_fF_f1_data): Likewise.
12476 (struct test_ffI_f1_data): Likewise.
12477 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
12478 based on value of EXTRA_EXPECTED.
12479 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
12480 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
12481 EXTRA_VAR based on value of EXTRA_EXPECTED.
12482 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
12483 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
12484 EXTRA_VAR based on value of EXTRA_EXPECTED.
12485 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
12486 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
12487 EXTRA_VAR based on value of EXTRA_EXPECTED.
12488 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
12489 * math/gen-libm-test.pl (parse_args): Don't output initializers
12490 for extra output values.
12491
de407f79
JM
12492 * math/libm-test.inc (check_int): Expect result to be exactly
12493 equal to expected value and do not handle ulps.
12494 (check_long): Likewise.
12495 (check_longlong): Likewise.
12496
8269107f
JM
12497 * math/libm-test.inc (ceil_test_data): Test for "inexact"
12498 exceptions.
12499 (cimag_test_data): Likewise.
12500 (conj_test_data): Likewise.
12501 (copysign_test_data): Likewise.
12502 (cproj_test_data): Likewise.
12503 (creal_test_data): Likewise.
12504 (fabs_test_data): Likewise.
12505 (fdim_test_data): Likewise.
12506 (finite_test_data): Likewise.
12507 (floor_test_data): Likewise.
12508 (fmax_test_data): Likewise.
12509 (fmin_test_data): Likewise.
12510 (fmod_test_data): Likewise.
12511 (fpclassify_test_data): Likewise.
12512 (frexp_test_data): Likewise.
12513 (ilogb_test_data): Likewise.
12514 (isfinite_test_data): Likewise.
12515 (isgreater_test_data): Likewise.
12516 (isgreaterequal_test_data): Likewise.
12517 (isinf_test_data): Likewise.
12518 (isless_test_data): Likewise.
12519 (islessequal_test_data): Likewise.
12520 (islessgreater_test_data): Likewise.
12521 (isnan_test_data): Likewise.
12522 (isnormal_test_data): Likewise.
12523 (issignaling_test_data): Likewise.
12524 (isunordered_test_data): Likewise.
12525 (ldexp_test_data): Likewise.
12526 (lrint_test_data): Likewise.
12527 (lrint_test_data) [TEST_FLOAT]: Disable one test.
12528 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
12529 (lrint_tonearest_test_data): Test for "inexact" exceptions.
12530 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
12531 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
12532 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
12533 test input.
12534 (lrint_towardzero_test_data): Test for "inexact" exceptions.
12535 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
12536 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
12537 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
12538 that test input.
12539 (lrint_downward_test_data): Test for "inexact" exceptions.
12540 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
12541 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
12542 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
12543 test input.
12544 (lrint_upward_test_data): Test for "inexact" exceptions.
12545 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
12546 test input.
12547 (llrint_test_data): Test for "inexact" exceptions.
12548 (llrint_test_data) [TEST_FLOAT]: Disable one test.
12549 (llrint_tonearest_test_data): Test for "inexact" exceptions.
12550 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
12551 (llrint_towardzero_test_data): Test for "inexact" exceptions.
12552 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
12553 (llrint_downward_test_data): Test for "inexact" exceptions.
12554 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
12555 (llrint_upward_test_data): Test for "inexact" exceptions.
12556 (logb_test_data): Likewise.
12557 (logb_downward_test_data): Likewise.
12558 (nextafter_test_data): Likewise.
12559 (nexttoward_test_data): Likewise.
12560 (remainder_test_data): Likewise.
12561 (remquo_test_data): Likewise.
12562 (scalbn_test_data): Likewise.
12563 (scalbln_test_data): Likewise.
12564 (signbit_test_data): Likewise.
12565 (sqrt_test_data): Likewise.
12566 (significand_test_data): Likewise.
12567
48a18de1
SP
125682013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
12569
12570 [BZ #15424]
12571 * benchtests/bench-modf.c (struct args): Mark arg0 as
12572 volatile.
12573 * scripts/bench.pl: Mark members of struct args as volatile.
12574
13d3b41a
AZ
125752013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12576
68191c1d 12577 [BZ # 15497]
13d3b41a
AZ
12578 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
12579 negative infinity on POWER6 or lower.
12580 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
12581
2848b105
MR
125822013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
12583
12584 [BZ #15442]
12585 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
12586 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
12587 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
12588 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
12589 (_FP_SETQNAN): New macro.
12590 (_FP_SETQNAN_SEMIRAW): Likewise.
12591 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
12592 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
12593 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
12594 (FP_EXTEND): Use _FP_FRAC_SNANP.
12595 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
12596 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
12597 into account.
12598 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
12599 New macro.
12600 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
12601 Likewise.
12602
323e5cb7
JM
126032013-05-16 Joseph Myers <joseph@codesourcery.com>
12604
c58b274f
JM
12605 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
12606 with DIVIDE_BY_ZERO_EXCEPTION.
12607 (gamma_test_data): Likewise.
12608 (lgamma_test_data): Likewise.
12609 (log_test_data): Likewise.
12610 (log10_test_data): Likewise.
12611 (log2_test_data): Likewise.
12612 (tgamma_test_data): Likewise.
12613
0ab34904
JM
12614 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
12615 (acos_test_tonearest): Likewise.
12616 (acos_test_towardzero): Likewise.
12617 (acos_test_downward): Likewise.
12618 (acos_test_upward): Likewise.
12619 (acosh_test): Likewise.
12620 (asin_test): Likewise.
12621 (asin_test_tonearest): Likewise.
12622 (asin_test_towardzero): Likewise.
12623 (asin_test_downward): Likewise.
12624 (asin_test_upward): Likewise.
12625 (asinh_test): Likewise.
12626 (atan_test): Likewise.
12627 (atanh_test): Likewise.
12628 (atan2_test): Likewise.
12629 (cabs_test): Likewise.
12630 (cacos_test): Likewise.
12631 (cacosh_test): Likewise.
12632 (casin_test): Likewise.
12633 (casinh_test): Likewise.
12634 (catan_test): Likewise.
12635 (catanh_test): Likewise.
12636 (cbrt_test): Likewise.
12637 (ccos_test): Likewise.
12638 (ccosh_test): Likewise.
12639 (cexp_test): Likewise.
12640 (clog_test): Likewise.
12641 (clog10_test): Likewise.
12642 (cos_test): Likewise.
12643 (cos_test_tonearest): Likewise.
12644 (cos_test_towardzero): Likewise.
12645 (cos_test_downward): Likewise.
12646 (cos_test_upward): Likewise.
12647 (cosh_test): Likewise.
12648 (cosh_test_tonearest): Likewise.
12649 (cosh_test_towardzero): Likewise.
12650 (cosh_test_downward): Likewise.
12651 (cosh_test_upward): Likewise.
12652 (cpow_test): Likewise.
12653 (csin_test): Likewise.
12654 (csinh_test): Likewise.
12655 (csqrt_test): Likewise.
12656 (ctan_test): Likewise.
12657 (ctan_test_tonearest): Likewise.
12658 (ctan_test_towardzero): Likewise.
12659 (ctan_test_downward): Likewise.
12660 (ctan_test_upward): Likewise.
12661 (ctanh_test): Likewise.
12662 (ctanh_test_tonearest): Likewise.
12663 (ctanh_test_towardzero): Likewise.
12664 (ctanh_test_downward): Likewise.
12665 (ctanh_test_upward): Likewise.
12666 (erf_test): Likewise.
12667 (erfc_test): Likewise.
12668 (exp_test): Likewise.
12669 (exp_test_tonearest): Likewise.
12670 (exp_test_towardzero): Likewise.
12671 (exp_test_downward): Likewise.
12672 (exp_test_upward): Likewise.
12673 (exp10_test): Likewise.
12674 (exp2_test): Likewise.
12675 (expm1_test): Likewise.
12676 (fmod_test): Likewise.
12677 (gamma_test): Likewise.
12678 (hypot_test): Likewise.
12679 (j0_test): Likewise.
12680 (j1_test): Likewise.
12681 (jn_test): Likewise.
12682 (lgamma_test): Likewise.
12683 (log_test): Likewise.
12684 (log10_test): Likewise.
12685 (log1p_test): Likewise.
12686 (log2_test): Likewise.
12687 (logb_test_downward): Likewise.
12688 (pow_test): Likewise.
12689 (pow_test_tonearest): Likewise.
12690 (pow_test_towardzero): Likewise.
12691 (pow_test_downward): Likewise.
12692 (pow_test_upward): Likewise.
12693 (remainder_test): Likewise.
12694 (remquo_test): Likewise.
12695 (sin_test): Likewise.
12696 (sin_test_tonearest): Likewise.
12697 (sin_test_towardzero): Likewise.
12698 (sin_test_downward): Likewise.
12699 (sin_test_upward): Likewise.
12700 (sincos_test): Likewise.
12701 (sinh_test): Likewise.
12702 (sinh_test_tonearest): Likewise.
12703 (sinh_test_towardzero): Likewise.
12704 (sinh_test_downward): Likewise.
12705 (sinh_test_upward): Likewise.
12706 (sqrt_test): Likewise.
12707 (tan_test): Likewise.
12708 (tan_test_tonearest): Likewise.
12709 (tan_test_towardzero): Likewise.
12710 (tan_test_downward): Likewise.
12711 (tan_test_upward): Likewise.
12712 (tanh_test): Likewise.
12713 (tgamma_test): Likewise.
12714 (y0_test): Likewise.
12715 (y1_test): Likewise.
12716 (yn_test): Likewise.
12717
323e5cb7
JM
12718 * math/gen-libm-test.pl (adjust_arg): Remove function.
12719 (special_function): Remove argument $in_func. Only handle
12720 generating output for tables of tests, not inside functions.
12721 (parse_args): Likewise.
12722 (generate_testfile): Remove variable $in_func. Update call to
12723 parse_args.
12724 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
12725 (MINUS_ZERO_INIT): Rename macro to minus_zero.
12726 (PLUS_INFTY_INIT): Rename macro to plus_infty.
12727 (MINUS_INFTY_INIT): Rename macro to minus_infty.
12728 (QNAN_VALUE_INIT): Rename macro to qnan_value.
12729 (MAX_VALUE_INIT): Rename macro to max_value.
12730 (MIN_VALUE_INIT): Rename macro to min_value.
12731 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
12732 (plus_zero): Remove variable.
12733 (minus_zero): Likewise.
12734 (plus_infty): Likewise.
12735 (minus_infty): Likewise.
12736 (qnan_value): Likewise.
12737 (max_value): Likewise.
12738 (min_value): Likewise.
12739 (min_subnorm_value): Likewise.
12740
e054f494
RA
127412013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12742
12743 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
12744 uint64_t or uint32_t usage.
12745 * crypt/sha256-block.c: Likewise.
12746 * crypt/sha256-crypt.c: Likewise.
12747 * crypt/sha256.c: Likewise.
12748 * crypt/sha512-block.c: Likewise.
12749 * crypt/sha512-crypt.c: Likewise.
12750 * crypt/sha512.c: Likewise.
12751 * debug/backtrace-tst.c: Likewise.
12752 * debug/pcprofiledump.c: Likewise.
12753 * elf/cache.c: Likewise.
12754 * elf/dl-cache.c: Likewise.
12755 * elf/dl-misc.c: Likewise.
12756 * elf/dl-profile.c: Likewise.
12757 * elf/dl-support.c: Likewise.
12758 * elf/ldconfig.c: Likewise.
12759 * elf/sprof.c: Likewise.
12760 * iconv/dummy-repertoire.c: Likewise.
12761 * iconv/iconv_charmap.c: Likewise.
12762 * iconv/skeleton.c: Likewise.
12763 * iconvdata/8bit-generic.c: Likewise.
12764 * iconvdata/cp737.h: Likewise.
12765 * iconvdata/cp775.h: Likewise.
12766 * iconvdata/ibm1008.h: Likewise.
12767 * iconvdata/ibm1025.h: Likewise.
12768 * iconvdata/ibm1046.h: Likewise.
12769 * iconvdata/ibm1097.h: Likewise.
12770 * iconvdata/ibm1112.h: Likewise.
12771 * iconvdata/ibm1122.h: Likewise.
12772 * iconvdata/ibm1123.h: Likewise.
12773 * iconvdata/ibm1124.h: Likewise.
12774 * iconvdata/ibm1129.h: Likewise.
12775 * iconvdata/ibm1130.h: Likewise.
12776 * iconvdata/ibm1132.h: Likewise.
12777 * iconvdata/ibm1133.h: Likewise.
12778 * iconvdata/ibm1137.h: Likewise.
12779 * iconvdata/ibm1140.h: Likewise.
12780 * iconvdata/ibm1141.h: Likewise.
12781 * iconvdata/ibm1142.h: Likewise.
12782 * iconvdata/ibm1143.h: Likewise.
12783 * iconvdata/ibm1144.h: Likewise.
12784 * iconvdata/ibm1145.h: Likewise.
12785 * iconvdata/ibm1146.h: Likewise.
12786 * iconvdata/ibm1147.h: Likewise.
12787 * iconvdata/ibm1148.h: Likewise.
12788 * iconvdata/ibm1149.h: Likewise.
12789 * iconvdata/ibm1153.h: Likewise.
12790 * iconvdata/ibm1154.h: Likewise.
12791 * iconvdata/ibm1155.h: Likewise.
12792 * iconvdata/ibm1156.h: Likewise.
12793 * iconvdata/ibm1157.h: Likewise.
12794 * iconvdata/ibm1158.h: Likewise.
12795 * iconvdata/ibm1160.h: Likewise.
12796 * iconvdata/ibm1161.h: Likewise.
12797 * iconvdata/ibm1162.h: Likewise.
12798 * iconvdata/ibm1163.h: Likewise.
12799 * iconvdata/ibm1164.h: Likewise.
12800 * iconvdata/ibm1166.h: Likewise.
12801 * iconvdata/ibm1167.h: Likewise.
12802 * iconvdata/ibm12712.h: Likewise.
12803 * iconvdata/ibm1390.h: Likewise.
12804 * iconvdata/ibm1399.h: Likewise.
12805 * iconvdata/ibm16804.h: Likewise.
12806 * iconvdata/ibm4517.h: Likewise.
12807 * iconvdata/ibm4899.h: Likewise.
12808 * iconvdata/ibm4909.h: Likewise.
12809 * iconvdata/ibm4971.h: Likewise.
12810 * iconvdata/ibm5347.h: Likewise.
12811 * iconvdata/ibm803.h: Likewise.
12812 * iconvdata/ibm856.h: Likewise.
12813 * iconvdata/ibm901.h: Likewise.
12814 * iconvdata/ibm902.h: Likewise.
12815 * iconvdata/ibm9030.h: Likewise.
12816 * iconvdata/ibm9066.h: Likewise.
12817 * iconvdata/ibm921.h: Likewise.
12818 * iconvdata/ibm922.h: Likewise.
12819 * iconvdata/ibm9448.h: Likewise.
12820 * iconvdata/isiri-3342.h: Likewise.
12821 * iconvdata/jis0201.h: Likewise.
12822 * include/link.h: Likewise.
12823 * include/netdb.h: Likewise.
12824 * inet/check_native.c: Likewise.
12825 * inet/check_pf.c: Likewise.
12826 * inet/getipv4sourcefilter.c: Likewise.
12827 * inet/getnameinfo.c: Likewise.
12828 * inet/getsourcefilter.c: Likewise.
12829 * inet/htonl.c: Likewise.
12830 * inet/setipv4sourcefilter.c: Likewise.
12831 * inet/setsourcefilter.c: Likewise.
12832 * inet/test-inet6_opt.c: Likewise.
12833 * inet/tst-network.c: Likewise.
12834 * locale/C-collate.c: Likewise.
12835 * locale/C-ctype.c: Likewise.
12836 * locale/C-time.c: Likewise.
12837 * locale/C-translit.h: Likewise.
12838 * locale/loadarchive.c: Likewise.
12839 * locale/programs/3level.h: Likewise.
12840 * locale/programs/charmap.c: Likewise.
12841 * locale/programs/charmap.h: Likewise.
12842 * locale/programs/ld-address.c: Likewise.
12843 * locale/programs/ld-collate.c: Likewise.
12844 * locale/programs/ld-ctype.c: Likewise.
12845 * locale/programs/ld-identification.c: Likewise.
12846 * locale/programs/ld-measurement.c: Likewise.
12847 * locale/programs/ld-messages.c: Likewise.
12848 * locale/programs/ld-monetary.c: Likewise.
12849 * locale/programs/ld-name.c: Likewise.
12850 * locale/programs/ld-numeric.c: Likewise.
12851 * locale/programs/ld-paper.c: Likewise.
12852 * locale/programs/ld-telephone.c: Likewise.
12853 * locale/programs/ld-time.c: Likewise.
12854 * locale/programs/linereader.c: Likewise.
12855 * locale/programs/locale.c: Likewise.
12856 * locale/programs/locarchive.c: Likewise.
12857 * locale/programs/locfile.h: Likewise.
12858 * locale/programs/repertoire.c: Likewise.
12859 * locale/programs/simple-hash.c: Likewise.
12860 * locale/programs/simple-hash.h: Likewise.
12861 * malloc/memusage.c: Likewise.
12862 * malloc/memusagestat.c: Likewise.
12863 * nis/nis_defaults.c: Likewise.
12864 * nis/nis_hash.c: Likewise.
12865 * nis/nis_print.c: Likewise.
12866 * nis/nis_xdr.c: Likewise.
12867 * nscd/connections.c: Likewise.
12868 * nscd/hstcache.c: Likewise.
12869 * nscd/nscd_gethst_r.c: Likewise.
12870 * nscd/nscd_getserv_r.c: Likewise.
12871 * nscd/nscd_helper.c: Likewise.
12872 * nscd/servicescache.c: Likewise.
12873 * nss/makedb.c: Likewise.
12874 * nss/nss_db/db-XXX.c: Likewise.
12875 * nss/nss_db/db-initgroups.c: Likewise.
12876 * nss/nss_db/db-netgrp.c: Likewise.
12877 * nss/nss_files/files-network.c: Likewise.
12878 * nss/nss_files/files-parse.c: Likewise.
12879 * posix/bug-regex5.c: Likewise.
12880 * posix/fnmatch_loop.c: Likewise.
12881 * posix/regcomp.c: Likewise.
12882 * posix/regexec.c: Likewise.
12883 * posix/tst-rfc3484-2.c: Likewise.
12884 * posix/tst-rfc3484-3.c: Likewise.
12885 * posix/tst-rfc3484.c: Likewise.
12886 * resolv/nss_dns/dns-canon.c: Likewise.
12887 * resolv/nss_dns/dns-network.c: Likewise.
12888 * resolv/res_init.c: Likewise.
12889 * resolv/res_mkquery.c: Likewise.
12890 * resolv/tst-aton.c: Likewise.
12891 * stdlib/cxa_atexit.c: Likewise.
12892 * stdlib/cxa_finalize.c: Likewise.
12893 * stdlib/gen-fpioconst.c: Likewise.
12894 * stdlib/strtol_l.c: Likewise.
12895 * string/tst-endian.c: Likewise.
12896 * sunrpc/auth_des.c: Likewise.
12897 * sunrpc/clnt_udp.c: Likewise.
12898 * sunrpc/rtime.c: Likewise.
12899 * sunrpc/svcauth_des.c: Likewise.
12900 * sunrpc/xdr.c: Likewise.
12901 * sunrpc/xdr_intXX_t.c: Likewise.
12902 * sunrpc/xdr_rec.c: Likewise.
12903 * sysdeps/generic/ldconfig.h: Likewise.
12904 * sysdeps/generic/ldsodefs.h: Likewise.
12905 * sysdeps/generic/memusage.h: Likewise.
12906 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
12907 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
12908 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
12909 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
12910 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
12911 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
12912 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
12913 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
12914 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
12915 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
12916 * sysdeps/posix/getaddrinfo.c: Likewise.
12917 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
12918 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
12919 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
12920 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
12921 * sysdeps/powerpc/test-gettimebase.c: Likewise.
12922 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
12923 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
12924 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
12925 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
12926 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
12927 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
12928 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
12929 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
12930 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
12931 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
12932 * sysdeps/x86_64/dl-tls.h: Likewise.
12933 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
12934 * time/alt_digit.c: Likewise.
12935 * time/era.c: Likewise.
12936 * wcsmbs/tst-c16c32-1.c: Likewise.
12937
8c75f674
JM
129382013-05-16 Joseph Myers <joseph@codesourcery.com>
12939
12940 * math/libm-test.inc (struct test_sincos_data): New type.
12941 (RUN_TEST_LOOP_sincos): New macro.
12942 (sincos_test_data): New variable.
12943 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
12944
e6e49e59
RH
129452013-05-16 Richard Henderson <rth@redhat.com>
12946
12947 * math/atest-exp2.c (LIMB64): New macro.
12948 (CONSTSZ): New macro.
12949 (mp_exp1, mp_exp_m1, mp_log2): New variables.
12950 (hexdig): Move ...
12951 (print_mpn_fp): ... to function scope.
12952 (read_mpn_hex): Remove.
12953 (get_log2): Remove.
12954 (exp2_mpn): Use mp_log2.
12955 (main): Use mp_exp1.
12956
15c7c18d
JM
129572013-05-16 Joseph Myers <joseph@codesourcery.com>
12958
105a07df
JM
12959 * math/libm-test.inc: Remove comment about not testing "inexact"
12960 exceptions.
12961 (INEXACT_EXCEPTION): New macro.
12962 (NO_INEXACT_EXCEPTION): Likewise.
12963 (INVALID_EXCEPTION_OK): Update value.
12964 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
12965 (OVERFLOW_EXCEPTION_OK): Likewise.
12966 (UNDERFLOW_EXCEPTION_OK): Likewise.
12967 (IGNORE_ZERO_INF_SIGN): Likewise.
12968 (ERRNO_UNCHANGED): Likewise.
12969 (ERRNO_EDOM): Likewise.
12970 (ERRNO_ERANGE): Likewise.
12971 (test_exceptions): Handle testing "inexact" exceptions.
12972 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
12973 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
12974 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
12975 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
12976 INEXACT_EXCEPTION.
12977 (rint_towardzero_test_data): Likewise.
12978 (rint_downward_test_data): Likewise.
12979 (rint_upward_test_data): Likewise.
12980
e9eee333
JM
12981 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
12982 with OVERFLOW_EXCEPTION.
12983 (exp10_test_data): Likewise.
12984 (exp2_test_data): Likewise.
12985 (expm1_test_data): Likewise.
12986 (lgamma_test_data): Likewise.
12987 (pow_test_data): Likewise.
12988 (tgamma_test_data): Likewise.
12989 (yn_test_data): Remove duplicate test of overflow.
12990
1c38ff73
JM
12991 * math/libm-test.inc (struct test_cc_c_data): New type.
12992 (RUN_TEST_LOOP_cc_c): New macro.
12993 (cpow_test_data): New variable.
12994 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
12995
15c7c18d
JM
12996 * math/libm-test.inc (struct test_f_L_data): New type.
12997 (RUN_TEST_LOOP_f_L): New macro.
12998 (llrint_test_data): New variable.
12999 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
13000 (llrint_tonearest_test_data): New variable.
13001 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
13002 (llrint_towardzero_test_data): New variable.
13003 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
13004 (llrint_downward_test_data): New variable.
13005 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
13006 (llrint_upward_test_data): New variable.
13007 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
13008 (llround_test_data): New variable.
13009 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
13010
f137ff13
PC
130112013-05-13 Peter Collingbourne <pcc@google.com>
13012
13013 * math/atest-exp2.c (get_log2): Remove const attribute.
13014
3608cb24
JM
130152013-05-15 Joseph Myers <joseph@codesourcery.com>
13016
13017 * math/libm-test.inc (struct test_f_l_data): New type.
13018 (RUN_TEST_LOOP_f_l): New macro.
13019 (lrint_test_data): New variable.
13020 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
13021 (lrint_tonearest_test_data): New variable.
13022 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
13023 (lrint_towardzero_test_data): New variable.
13024 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
13025 (lrint_downward_test_data): New variable.
13026 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
13027 (lrint_upward_test_data): New variable.
13028 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
13029 (lround_test_data): New variable.
13030 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
13031
39b1f617
PC
130322013-05-15 Peter Collingbourne <pcc@google.com>
13033
1deff3dc
PC
13034 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
13035 (EXTRACT_WORDS64) Use where appropriate.
13036 (INSERT_WORDS64) Likewise.
13037
791f3ba0
PC
13038 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
13039 constraints with x constraints.
13040 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
13041
39b1f617
PC
13042 * malloc/obstack.c (_obstack_compat): Add initializer.
13043
12fba011
EM
130442013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
13045
13046 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
13047 si_trapno and add si_addr_lsb to _sifields.sigfault.
13048 (si_trapno): Remove macro.
13049 (si_addr_lsb): Define new macro.
13050 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
13051
d369f531
JM
130522013-05-15 Joseph Myers <joseph@codesourcery.com>
13053
b861c6c4
JM
13054 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
13055 instead of TEST_f_l.
13056 (llrint_test_tonearest): Likewise.
13057 (llrint_test_towardzero): Likewise.
13058 (llrint_test_downward): Likewise.
13059 (llrint_test_upward): Likewise.
13060 (llround_test): Likewise.
13061
7abeee12
JM
13062 * math/libm-test.inc (struct test_f_i_data): Add comment.
13063 (RUN_TEST_LOOP_f_b): New macro.
13064 (RUN_TEST_LOOP_f_b_tg): Likewise.
13065 (finite_test_data): New variable.
13066 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
13067 (isfinite_test_data): New variable.
13068 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13069 (isinf_test_data): New variable.
13070 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13071 (isnan_test_data): New variable.
13072 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13073 (isnormal_test_data): New variable.
13074 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13075 (issignaling_test_data): New variable.
13076 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13077 (signbit_test_data): New variable.
13078 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13079
cbe8c4d3
JM
13080 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
13081 with INVALID_EXCEPTION.
13082 (acosh_test_data): Likewise.
13083 (asin_test_data): Likewise.
13084 (atanh_test_data): Likewise.
13085 (fmod_test_data): Likewise.
13086 (log_test_data): Likewise.
13087 (log10_test_data): Likewise.
13088 (log2_test_data): Likewise.
13089 (pow_test_data): Likewise.
13090 (sqrt_test_data): Likewise.
13091 (y0_test_data): Likewise.
13092 (y1_test_data): Likewise.
13093 (yn_test_data): Likewise.
13094
5575c0e5
JM
13095 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
13096 function contents.
13097
d369f531
JM
13098 * math/libm-test.inc (struct test_ff_i_data): New type.
13099 (RUN_TEST_LOOP_ff_i_tg): New macro.
13100 (isgreater_test_data): New variable.
13101 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13102 (isgreaterequal_test_data): New variable.
13103 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13104 (isless_test_data): New variable.
13105 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13106 (islessequal_test_data): New variable.
13107 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13108 (islessgreater_test_data): New variable.
13109 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13110 (isunordered_test_data): New variable.
13111 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13112
781fd748
DM
131132013-05-14 David S. Miller <davem@davemloft.net>
13114
13115 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13116
87aa21df
JM
131172013-05-14 Joseph Myers <joseph@codesourcery.com>
13118
5e908270
JM
13119 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
13120
f71172e5
JM
13121 * math/libm-test.inc (struct test_fF_f1_data): Change type of
13122 extra_test to int.
13123 (struct test_f_i_data): Change type of max_ulp to int.
13124
8cfa635a
JM
13125 * math/libm-test.inc (test_ffI_f1_data): New type.
13126 (RUN_TEST_LOOP_ffI_f1): New macro.
13127 (remquo_test_data): New variable.
13128 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
13129
2bcb36b2
JM
13130 * setjmp/tst-setjmp-fp.c: New file.
13131 * setjmp/Makefile (tests): Add tst-setjmp-fp.
13132 (link-libm): New variable.
13133 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
13134
acbd839a
JM
13135 * math/libm-test.inc (struct test_f_i_data): New type.
13136 (RUN_TEST_LOOP_f_i): New macro.
13137 (RUN_TEST_LOOP_f_i_tg): Likewise.
13138 (fpclassify_test_data): New variable.
13139 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
13140 (ilogb_test_data): New variable.
13141 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
13142
e414d745
JM
13143 * math/libm-test.inc (scalbln_test): Correct function name in END
13144 call.
13145
d9c2a0fd
JM
13146 * math/libm-test.inc (struct test_f_f1_data): Add comment.
13147 (RUN_TEST_LOOP_fI_f1): New macro.
13148 (frexp_test_data): New variable.
13149 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
13150
9dc9095d
JM
13151 * math/libm-test.inc (struct test_fF_f1_data): New type.
13152 (RUN_TEST_LOOP_fF_f1): New macro.
13153 (modf_test_data): New variable.
13154 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
13155
87aa21df
JM
13156 * math/libm-test.inc (struct test_f_f1_data): New type.
13157 (RUN_TEST_LOOP_f_f1): New macro.
13158 (gamma_test_data): New variable.
13159 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
13160 (lgamma_test_data): New variable.
13161 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
13162
141af660
CD
131632013-05-13 Carlos O'Donell <carlos@redhat.com>
13164
13165 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
13166 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
13167 (main): Comment "tls" pseudo-hwcap.
13168
6d33265c
JM
131692013-05-13 Joseph Myers <joseph@codesourcery.com>
13170
68fc074c
JM
13171 * math/libm-test.inc (struct test_fl_f_data): New type.
13172 (RUN_TEST_LOOP_fl_f): New variable.
13173 (scalbln_test_data): New variable.
13174 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
13175
243216e1
JM
13176 * math/libm-test.inc (struct test_fi_f_data): New type.
13177 (RUN_TEST_LOOP_fi_f): New macro.
13178 (ldexp_test_data): New variable.
13179 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
13180 (scalbn_test_data): New variable.
13181 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
13182
6a1992e2
JM
13183 * math/libm-test.inc (struct test_c_f_data): New type.
13184 (RUN_TEST_LOOP_c_f): New macro.
13185 (cabs_test_data): New variable.
13186 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
13187 (carg_test_data): New variable.
13188 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
13189 (cimag_test_data): New variable.
13190 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
13191 (creal_test_data): New variable.
13192 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
13193
0e400df5
JM
13194 * math/libm-test.inc (struct test_if_f_data): New type.
13195 (RUN_TEST_LOOP_if_f): New macro.
13196 (jn_test_data): New variable.
13197 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
13198 (yn_test_data): New variable.
13199 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
13200
6d33265c
JM
13201 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
13202
f98ece5f
AZ
132032013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13204
13205 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
13206 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
13207
0f7d347b
SP
132082013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
13209
43fe811b
SP
13210 * benchtests/Makefile (CPPFLAGS-nonlib): Add
13211 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
13212 (bench-deps): Add bench-timing.h.
13213 * benchtests-bench-skeleton.c: Include bench-timing.h.
13214 (main): Use TIMING_* macros instead of clock_gettime.
13215 * benchtests/bench-timing.h: New file.
13216
0f7d347b
SP
13217 [BZ #14582]
13218 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
13219 Renamed from _LIB_VERSION.
13220 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
13221
601a3a5f
JM
132222013-05-12 Joseph Myers <joseph@codesourcery.com>
13223
4f184d30
JM
13224 * math/libm-test.inc (struct test_fff_f_data): New type.
13225 (RUN_TEST_LOOP_fff_f): New macro.
13226 (fma_test_data): New variable.
13227 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
13228 (fma_towardzero_test_data): New variable.
13229 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
13230 (fma_downward_test_data): New variable.
13231 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
13232 (fma_upward_test_data): New variable.
13233 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
13234
08198877
JM
13235 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
13236 (struct test_c_c_data): New type.
13237 (RUN_TEST_LOOP_c_c): New macro.
13238 (cacos_test_data): New variable.
13239 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
13240 (cacosh_test_data): New variable.
13241 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
13242 (casin_test_data): New variable.
13243 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
13244 (casinh_test_data): New variable.
13245 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
13246 (catan_test_data): New variable.
13247 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
13248 (catanh_test_data): New variable.
13249 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
13250 (ccos_test_data): New variable.
13251 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
13252 (ccosh_test_data): New variable.
13253 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
13254 (cexp_test_data): New variable.
13255 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
13256 (clog_test_data): New variable.
13257 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
13258 (clog10_test_data): New variable.
13259 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
13260 (conj_test_data): New variable.
13261 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
13262 (cproj_test_data): New variable.
13263 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
13264 (csin_test_data): New variable.
13265 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
13266 (csinh_test_data): New variable.
13267 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
13268 (csqrt_test_data): New variable.
13269 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
13270 (ctan_test_data): New variable.
13271 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
13272 (ctan_tonearest_test_data): New variable.
13273 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
13274 (ctan_towardzero_test_data): New variable.
13275 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
13276 (ctan_downward_test_data): New variable.
13277 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
13278 (ctan_upward_test_data): New variable.
13279 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
13280 (ctanh_test_data): New variable.
13281 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
13282 (ctanh_tonearest_test_data): New variable.
13283 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
13284 (ctanh_towardzero_test_data): New variable.
13285 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
13286 (ctanh_downward_test_data): New variable.
13287 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
13288 (ctanh_upward_test_data): New variable.
13289 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
13290 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
13291 of BUILD_COMPLEX.
13292
601a3a5f
JM
13293 * math/libm-test.inc (struct test_ff_f_data): New type.
13294 (struct test_ff_f_data_nexttoward): Likewise.
13295 (RUN_TEST_LOOP_2_f): New macro.
13296 (RUN_TEST_LOOP_ff_f): Likewise.
13297 (atan2_test_data): New variable.
13298 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
13299 (copysign_test_data): New variable.
13300 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
13301 (fdim_test_data): New variable.
13302 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
13303 (fmax_test_data): New variable.
13304 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
13305 (fmin_test_data): New variable.
13306 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
13307 (fmod_test_data): New variable.
13308 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
13309 (hypot_test_data): New variable.
13310 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
13311 (nextafter_test_data): New variable.
13312 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
13313 (nexttoward_test_data): New variable.
13314 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
13315 (pow_test_data): New variable.
13316 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
13317 (pow_tonearest_test_data): New variable.
13318 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
13319 (pow_towardzero_test_data): New variable.
13320 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
13321 (pow_downward_test_data): New variable.
13322 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
13323 (pow_upward_test_data): New variable.
13324 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
13325 (remainder_test_data): New variable.
13326 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
13327 (scalb_test_data): New variable.
13328 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
13329 * sysdeps/i386/fpu/libm-test-ulps: Update.
13330
74c57478
JM
133312013-05-11 Joseph Myers <joseph@codesourcery.com>
13332
8329e4da
JM
13333 * math/libm-test.inc (fma_test): Use max_value instead of local
13334 variable fltmax.
13335 (nextafter_test): Likewise.
13336
74c57478
JM
13337 * math/libm-test.inc (acos_towardzero_test_data): New variable.
13338 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13339 (acos_downward_test_data): New variable.
13340 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13341 (acos_upward_test_data): New variable.
13342 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13343 (acosh_test_data): New variable.
13344 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
13345 (asin_test_data): New variable.
13346 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
13347 (asin_tonearest_test_data): New variable.
13348 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13349 (asin_towardzero_test_data): New variable.
13350 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13351 (asin_downward_test_data): New variable.
13352 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13353 (asin_upward_test_data): New variable.
13354 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13355 (asinh_test_data): New variable.
13356 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
13357 (atan_test_data): New variable.
13358 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
13359 (atanh_test_data): New variable.
13360 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
13361 (cbrt_test_data): New variable.
13362 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
13363 (ceil_test_data): New variable.
13364 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
13365 (cos_test_data): New variable.
13366 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
13367 (cos_tonearest_test_data): New variable.
13368 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13369 (cos_towardzero_test_data): New variable.
13370 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13371 (cos_downward_test_data): New variable.
13372 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13373 (cos_upward_test_data): New variable.
13374 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13375 (cosh_test_data): New variable.
13376 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
13377 (cosh_tonearest_test_data): New variable.
13378 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13379 (cosh_towardzero_test_data): New variable.
13380 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13381 (cosh_downward_test_data): New variable.
13382 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13383 (cosh_upward_test_data): New variable.
13384 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13385 (erf_test_data): New variable.
13386 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
13387 (erfc_test_data): New variable.
13388 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
13389 (exp_test_data): New variable.
13390 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
13391 (exp_tonearest_test_data): New variable.
13392 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13393 (exp_towardzero_test_data): New variable.
13394 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13395 (exp_downward_test_data): New variable.
13396 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13397 (exp_upward_test_data): New variable.
13398 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13399 (exp10_test_data): New variable.
13400 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
13401 (exp2_test_data): New variable.
13402 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
13403 (expm1_test_data): New variable.
13404 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
13405 (fabs_test_data): New variable.
13406 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
13407 (floor_test_data): New variable.
13408 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
13409 (j0_test_data): New variable.
13410 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
13411 (j1_test_data): New variable.
13412 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
13413 (log_test_data): New variable.
13414 (log_test): Run tests with RUN_TEST_LOOP_f_f.
13415 (log10_test_data): New variable.
13416 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
13417 (log1p_test_data): New variable.
13418 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
13419 (log2_test_data): New variable.
13420 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
13421 (logb_test_data): New variable.
13422 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
13423 (logb_downward_test_data): New variable.
13424 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13425 (nearbyint_test_data): New variable.
13426 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
13427 (rint_test_data): New variable.
13428 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
13429 (rint_tonearest_test_data): New variable.
13430 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13431 (rint_towardzero_test_data): New variable.
13432 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13433 (rint_downward_test_data): New variable.
13434 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13435 (rint_upward_test_data): New variable.
13436 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13437 (round_test_data): New variable.
13438 (round_test): Run tests with RUN_TEST_LOOP_f_f.
13439 (sin_test_data): New variable.
13440 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
13441 (sin_tonearest_test_data): New variable.
13442 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13443 (sin_towardzero_test_data): New variable.
13444 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13445 (sin_downward_test_data): New variable.
13446 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13447 (sin_upward_test_data): New variable.
13448 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13449 (sinh_test_data): New variable.
13450 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
13451 (sinh_tonearest_test_data): New variable.
13452 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13453 (sinh_towardzero_test_data): New variable.
13454 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13455 (sinh_downward_test_data): New variable.
13456 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13457 (sinh_upward_test_data): New variable.
13458 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13459 (sqrt_test_data): New variable.
13460 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
13461 (tan_test_data): New variable.
13462 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
13463 (tan_tonearest_test_data): New variable.
13464 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13465 (tan_towardzero_test_data): New variable.
13466 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13467 (tan_downward_test_data): New variable.
13468 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13469 (tan_upward_test_data): New variable.
13470 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13471 (tanh_test_data): New variable.
13472 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
13473 (tgamma_test_data): New variable.
13474 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
13475 (trunc_test_data): New variable.
13476 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
13477 (y0_test_data): New variable.
13478 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
13479 (y1_test_data): New variable.
13480 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
13481 (significand_test_data): New variable.
13482 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
13483
7187d844
CG
134842013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
13485
13486 [BZ #12387]
13487 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
13488
f63fae73
PT
134892013-05-10 Pino Toscano <toscano.pino@tiscali.it>
13490
13491 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
13492
8a67a4b3
AJ
134932013-05-10 Andreas Jaeger <aj@suse.de>
13494
13495 [BZ #15448]
13496 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
13497 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
13498
51df539d
JM
134992013-05-10 Joseph Myers <joseph@codesourcery.com>
13500
13501 * math/gen-libm-test.pl (adjust_arg): New function.
13502 (special_functions): Handle generating output in both functions
13503 and arrays.
13504 (parse_args): Likewise.
13505 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
13506 $in_func argument to parse_args.
13507 * math/libm-test.inc (struct test_f_f_data): New type.
13508 (IF_ROUND_INIT_): New macro.
13509 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
13510 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
13511 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
13512 (IF_ROUND_INIT_FE_UPWARD): Likewise.
13513 (ROUND_RESTORE_): Likewise.
13514 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
13515 (ROUND_RESTORE_FE_TONEAREST): Likewise.
13516 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
13517 (ROUND_RESTORE_FE_UPWARD): Likewise.
13518 (RUN_TEST_LOOP_f_f): New macro.
13519 (acos_test_data): New variable.
13520 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
13521 (acos_tonearest_test_data): New variable.
13522 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13523
5c637fe5
SP
135242013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
13525
13526 * benchtests/bench-skeleton.c (startup): Fix coding style.
13527
ab2b9461
JM
135282013-05-10 Joseph Myers <joseph@codesourcery.com>
13529
13530 [BZ #6809]
13531 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
13532 negative infinity argument.
13533 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
13534 negative infinity argument.
13535 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
13536 negative infinity argument.
13537 * math/libm-test.inc (tgamma_test): Expect errno to be set for
13538 domain errors.
13539
4c0fe6fe
FW
135402013-05-10 Florian Weimer <fweimer@redhat.com>
13541
13542 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
13543 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
13544 * iconv/iconv_prog.c (main): Likewise.
13545 * locale/programs/charmap-dir.c (charmap_readdir)
13546 (fopen_uncompressed): Likewise.
13547 * locale/programs/locfile.c (siblings_uncached)
13548 (write_locale_data): Use lstat64 instead of lstat.
13549 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
13550 stat.
13551
a3375d29
AJ
135522013-05-10 Andreas Jaeger <aj@suse.de>
13553
13554 [BZ #15395]
13555 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
13556 localization.
13557 Include <locale.h>.
13558
36129722
CD
135592013-05-09 Carlos O'Donell <carlos@redhat.com>
13560
13561 * elf/dl-close.c (_dl_close_worker): Add comments.
13562
faa7f811
JM
135632013-05-09 Joseph Myers <joseph@codesourcery.com>
13564
ed41ffef
JM
13565 [BZ #15359]
13566 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
13567 high part of pi/2.
13568 (__ieee754_rem_pio2l): Update comments.
13569
d0213cd0
JM
13570 [BZ #15429]
13571 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
13572 high part of pi/2.
13573 (__ieee754_rem_pio2l): Update comments.
13574
0d3e777a
JM
13575 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
13576 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
13577
24f56066
JM
13578 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
13579 M_PI_4l.
13580
faa7f811
JM
13581 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
13582 (M_PI_34_LOG10El): Likewise.
13583 (M_PI2_LOG10El): Likewise.
13584 (M_PI4_LOG10El): Likewise.
13585 (M_PI_LOG10El): Likewise.
13586
e9a5e0fd
AZ
135872013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13588
13589 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13590
d8cd06db
JM
135912013-05-08 Joseph Myers <joseph@codesourcery.com>
13592
a0d9f9d7
JM
13593 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
13594 (MINUS_ZERO_INIT): Likewise.
13595 (PLUS_INFTY_INIT): Likewise.
13596 (MINUS_INFTY_INIT): Likewise.
13597 (QNAN_VALUE_INIT): Likewise.
13598 (MAX_VALUE_INIT): Likewise.
13599 (MIN_VALUE_INIT): Likewise.
13600 (MIN_SUBNORM_VALUE_INIT): Likewise.
13601 (plus_zero): Initialize with PLUS_ZERO_INIT.
13602 (minus_zero): Initialize with MINUS_ZERO_INIT.
13603 (plus_infty): Initialize with PLUS_INFTY_INIT.
13604 (minus_infty): Initialize with MINUS_INFTY_INIT.
13605 (qnan_value): Initialize with QNAN_VALUE_INIT.
13606 (max_value): Initialize with MAX_VALUE_INIT.
13607 (min_value): Initialize with MIN_VALUE_INIT.
13608 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
13609
ae08db3b
JM
13610 * math/libm-test.inc (RUN_TEST_if_f): New macro.
13611 (jn_test): Use TEST_if_f instead of TEST_ff_f.
13612 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
13613 (yn_test): Use TEST_if_f instead of TEST_ff_f.
13614
f44bf14a
JM
13615 * math/libm-test.inc (RUN_TEST_f_f): New macro.
13616 (RUN_TEST_2_f): Likewise.
13617 (RUN_TEST_ff_f): Likewise.
13618 (RUN_TEST_fi_f): Likewise.
13619 (RUN_TEST_fl_f): Likewise.
13620 (RUN_TEST_fff_f): Likewise.
13621 (RUN_TEST_c_f): Likewise.
13622 (RUN_TEST_f_f1): Likewise.
13623 (RUN_TEST_fF_f1): Likewise.
13624 (RUN_TEST_fI_f1): Likewise.
13625 (RUN_TEST_ffI_f1): Likewise.
13626 (RUN_TEST_c_c): Likewise.
13627 (RUN_TEST_cc_c): Likewise.
13628 (RUN_TEST_f_i): Likewise.
13629 (RUN_TEST_f_i_tg): Likewise.
13630 (RUN_TEST_ff_i_tg): Likewise.
13631 (RUN_TEST_f_b): Likewise.
13632 (RUN_TEST_f_b_tg): Likewise.
13633 (RUN_TEST_f_l): Likewise.
13634 (RUN_TEST_f_L): Likewise.
13635 (RUN_TEST_sincos): Likewise.
13636 * math/gen-libm-test.pl (new_test): Take new argument to indicate
13637 whether to show exceptions. Do not include ");\n" in return
13638 value.
13639 (special_functions): Output call to RUN_TEST_sincos instead of
13640 check_float calls. Update calls to new_test.
13641 (parse_args): Output call to single RUN_TEST_* macro instead of
13642 check_* calls and other assignments. Update calls to new_test.
13643
d8cd06db
JM
13644 [BZ #2546]
13645 [BZ #2560]
13646 [BZ #5159]
13647 [BZ #15426]
13648 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
13649 input to result for tgamma overflow.
13650 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
13651 (gamma_coeff): New variable.
13652 (NCOEFF): New macro.
13653 (gamma_positive): New function.
13654 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
13655 underflow here. Use gamma_positive instead of exp (lgamma) for
13656 other arguments.
13657 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
13658 (gamma_coeff): New variable.
13659 (NCOEFF): New macro.
13660 (gammaf_positive): New function.
13661 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
13662 underflow here. Use gamma_positive instead of exp (lgamma) for
13663 other arguments.
13664 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
13665 (gamma_coeff): New variable.
13666 (NCOEFF): New macro.
13667 (gammal_positive): New function.
13668 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
13669 underflow here. Use gamma_positive instead of exp (lgamma) for
13670 other arguments.
13671 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
13672 (gamma_coeff): New variable.
13673 (NCOEFF): New macro.
13674 (gammal_positive): New function.
13675 (__ieee754_gammal_r): Handle positive infinity, overflow and
13676 underflow here. Handle NaN the same as positive infinity. Remove
13677 check x < 0xffffffff for negative integers. Use gamma_positive
13678 instead of exp (lgamma) for other arguments.
13679 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
13680 (gamma_coeff): New variable.
13681 (NCOEFF): New macro.
13682 (gammal_positive): New function.
13683 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
13684 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
13685 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
13686 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
13687 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
13688 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
13689 * sysdeps/generic/math_private.h (__gamma_productf): New
13690 prototype.
13691 (__gamma_product): Likewise.
13692 (__gamma_productl): Likewise.
13693 * math/Makefile (libm-calls): Add gamma_product.
13694 * math/libm-test.inc (tgamma_test): Add more tests.
13695 * sysdeps/i386/fpu/libm-test-ulps: Update.
13696 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13697
bb7cf681
OB
136982013-05-08 Ondřej Bílka <neleai@seznam.cz>
13699
13700 * benchtests/bench-skeleton.c (main): Preheat CPU.
13701
ba853947
AJ
137022013-05-07 Aurelien Jarno <aurelien@aurel32.net>
13703
13704 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
13705
8347c74c
RM
137062013-05-07 Roland McGrath <roland@hack.frob.com>
13707
13708 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
13709 and _dl_skip_args_internal.
13710
e8dd4791
CD
137112013-05-07 Carlos O'Donell <carlos@redhat.com>
13712
13713 * manual/message.texi (Message Translation): Talk about users.
13714 Message to key mapping impacts design.
13715
c7405830
RM
137162013-05-06 Roland McGrath <roland@hack.frob.com>
13717
a9173057
RM
13718 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
13719
976e2f03
RM
13720 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
13721
9723ffc5
RM
13722 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
13723 * sysdeps/wordsize-64/glob64.c: ... here.
13724
962e6658
RM
13725 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
13726 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
13727 New macros.
13728
ee586a6d
RM
13729 * debug/getlogin_r_chk.c: Moved to ...
13730 * login/getlogin_r_chk.c: ... here.
13731 * debug/Makefile (routines): Move getlogin_r_chk to ...
13732 * login/Makefile (routines): ... here.
13733 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
13734 * login/Versions (libc: GLIBC_2.4): ... here.
13735
355f9165
RM
13736 * io/poll.c (__poll): Renamed from poll.
13737 Add libc_hidden_def.
13738 (poll): Define as weak alias.
13739
bd9ffde6
RM
13740 * debug/ptsname_r_chk.c: Moved to ...
13741 * login/ptsname_r_chk.c: ... here.
13742 * debug/Makefile (routines): Move ptsname_r_chk to ...
13743 * login/Makefile (routines): ... here.
13744 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
13745 * login/Versions (libc: GLIBC_2.4): ... here.
13746
8fb16a04
RM
13747 * posix/getlogin.c: Moved to ...
13748 * login/getlogin.c: ... here.
13749 * posix/getlogin_r.c: Moved to ...
13750 * login/getlogin_r.c: ... here.
13751 * posix/getlogin_r.c: Moved to ...
13752 * login/getlogin_r.c: ... here.
13753 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
13754 * login/Makefile (routines): ... here.
13755 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
13756 * login/Versions (libc: GLIBC_2.0): ... here.
13757
b99b892f
RM
13758 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
13759 (setrlimit): Define as weak alias.
13760
c7405830
RM
13761 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
13762 Call __ names for open, ftruncate, and close.
13763 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
13764 (truncate): Define as weak alias.
13765
5bf96de5
JM
137662013-05-06 Joseph Myers <joseph@codesourcery.com>
13767
9ea3513c
JM
13768 * math/gen-libm-test.pl (parse_args): Initialize x before each
13769 test of frexp, modf and remquo.
13770
5bf96de5
JM
13771 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
13772 test signgam value.
13773
16e616a7
AZ
137742013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13775
13776 [BZ #15418]
13777 [BZ #15419]
13778 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
13779 internal tests.
13780 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
13781
d5e82754
RM
137822013-05-06 Roland McGrath <roland@hack.frob.com>
13783
13784 * elf/dl-writev.h: New file.
13785 * elf/dl-misc.c: Include it.
13786 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
13787 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
13788
a7548d41
JM
137892013-05-04 Joseph Myers <joseph@codesourcery.com>
13790
b7dab1e4
JM
13791 * math/libm-test.inc (noXFails): Remove variable.
13792 (noXPasses): Likewise.
13793 (BUILD_COMPLEX_INT): Remove macro.
13794 (print_screen): Remove xfail argument.
13795 (print_screen_max_error): Likewise.
13796 (update_stats): Likewise.
13797 (print_max_error): Likewise. Update calls to other affected
13798 functions.
13799 (print_complex_max_error): Likewise.
13800 (test_single_exception): Update calls to print_screen.
13801 (test_single_errno): Likewise.
13802 (check_float_internal): Remove xfail argument. Update calls to
13803 other affected functions.
13804 (check_float): Likewise.
13805 (check_complex): Likewise.
13806 (check_int): Likewise.
13807 (check_long): Likewise.
13808 (check_bool): Likewise.
13809 (check_longlong): Likewise.
13810 (main): Don't print noXFails and noXPasses.
13811 * math/gen-libm-test.pl (top level): Don't mention expected
13812 failure handling in comment.
13813 (new_test): Don't handle expected failures.
13814 (parse_args): Don't mention expected failure handling in comment.
13815 (generate_testfile): Don't handle expected failures.
13816 (parse_ulps): Likewise.
13817 (print_ulps_file): Likewise.
13818 (get_failure): Remove function.
13819 (output_test): Don't handle expected failures.
13820 * make/README.libm-test: Don't mention expected failure handling.
13821
a7548d41
JM
13822 * math/libm-test.inc (plus_zero): Make const. Add initializer.
13823 (minus_zero): Likewise.
13824 (plus_infty): Likewise.
13825 (minus_infty): Likewise.
13826 (qnan_value): Likewise.
13827 (max_value): Likewise.
13828 (min_value): Likewise.
13829 (min_subnorm_value): Likewise.
13830 (initialize): Do not initialize those variables dynamically.
13831
60bfd54c
RM
138322013-05-03 Roland McGrath <roland@hack.frob.com>
13833
cc0e6ed8
RM
13834 * io/open.c (__open_2): Moved to ...
13835 * io/open_2.c: ... this new file.
13836 * io/open64.c (__open64_2): Moved to ...
13837 * io/open64_2.c: ... this new file.
13838 * io/openat.c (__openat_2): Moved to ...
13839 * io/openat_2.c: ... this new file.
13840 * io/openat64.c (__openat64_2): Moved to ...
13841 * io/openat64_2.c: ... this new file.
13842 * io/Makefile (routines): Add them.
13843 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
13844 * sysdeps/unix/sysv/linux/open_2.c: File removed.
13845 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
13846 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
13847 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
13848 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
13849 (__openat64): Add hidden_ver.
13850 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
13851 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
13852
60bfd54c
RM
13853 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
13854 Separately conditionalize setting of GLRO(dl_sysinfo) so
13855 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
13856 as well, but the actual setting is only under [NEED_DL_SYSINFO].
13857
83e7640f
AZ
138582013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13859
13860 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
13861 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
13862 definition.
13863 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
13864 * sysdeps/unix/sysv/linux/powerpc/init-first.c
13865 (_libc_vdso_platform_setup): Add __vdso_time initialization.
13866 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
13867 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
13868
d5dc2af3
JM
138692013-05-03 Joseph Myers <joseph@codesourcery.com>
13870
c31a5b1e
JM
13871 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
13872 test signgam value.
13873
d5dc2af3
JM
13874 * math/libm-test.inc (hypot_test): Do not use
13875 IGNORE_ZERO_INF_SIGN.
13876
164fd39d
AJ
138772013-05-03 Andreas Jaeger <aj@suse.de>
13878
13879 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
13880 Linux 3.9.
13881 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
13882 (PF_MAX): Adjust for VSOCK change.
13883
8237f48c
AZ
138842013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13885
13886 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13887
9df02941
CD
138882013-05-02 Carlos O'Donell <carlos@redhat.com>
13889
13890 [BZ #15264]
13891 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
13892 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
13893 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
13894
d422395e
DM
138952013-05-02 David S. Miller <davem@davemloft.net>
13896
13897 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13898
a07c5731
OB
138992013-05-01 Ondřej Bílka <neleai@seznam.cz>
13900
13901 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
13902
1324e37f
RM
139032013-05-01 Roland McGrath <roland@hack.frob.com>
13904
13905 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
13906
0695940b
RS
139072013-05-01 Richard Smith <richard@metafoo.co.uk>
13908
bb5f27ad 13909 [BZ #14952]
0695940b
RS
13910 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
13911 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
13912 Use __attribute__ ((__gnu_inline__)).
13913 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
13914 Don't use __attribute__ ((__gnu_inline__)).
13915
10de07f5
JM
139162013-05-01 Joseph Myers <joseph@codesourcery.com>
13917
13918 [BZ #15423]
13919 * math/s_catan.c (__catan): Handle small real or imaginary part of
13920 input specially to avoid spurious underflow.
13921 * math/s_catanf.c (__catanf): Likewise.
13922 * math/s_catanh.c (__catanh): Likewise.
13923 * math/s_catanhf.c (__catanhf): Likewise.
13924 * math/s_catanhl.c (__catanhl): Likewise.
13925 * math/s_catanl.c (__catanl): Likewise.
13926 * math/libm-test.inc (catan_test): Add more tests.
13927 (catanh_test): Likewise.
13928 * sysdeps/i386/fpu/libm-test-ulps: Update.
13929 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13930
cb4d5414
AZ
139312013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13932
13933 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13934
caf84319
JM
139352013-04-30 Joseph Myers <joseph@codesourcery.com>
13936
13937 [BZ #15416]
13938 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
13939 accurately for denominator in atan2.
13940 * math/s_catanf.c (__catanf): Likewise.
13941 * math/s_catanh.c (__catanh): Likewise.
13942 * math/s_catanhf.c (__catanhf): Likewise.
13943 * math/s_catanhl.c (__catanhl): Likewise.
13944 * math/s_catanl.c (__catanl): Likewise.
13945 * math/libm-test.inc (catan_test): Add more tests.
13946 (catanh_test): Likewise.
13947 * sysdeps/i386/fpu/libm-test-ulps: Update.
13948 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13949
d569c6ee
SP
139502013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13951
6dbe713d
SP
13952 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
13953
f0ee064b
SP
13954 * benchtests/Makefile (bench): Remove slow benchmarks.
13955 * benchtests/atan-inputs: Add slow benchmark inputs.
13956 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
13957 (BENCH_FUNC): Accept variant offset.
13958 (VARIANT): Define.
13959 * benchtests/bench-skeleton.c (main): Run benchmark for each
13960 variant.
13961 * benchtests/cos-inputs: Add slow benchmark inputs.
13962 * benchtests/exp-inputs: Likewise.
13963 * benchtests/pow-inputs: Likewise.
13964 * benchtests/sin-inputs: Likewise.
13965 * benchtests/slowatan-inputs: Remove.
13966 * benchtests/slowatan.c: Remove.
13967 * benchtests/slowcos-inputs: Remove.
13968 * benchtests/slowcos.c: Remove.
13969 * benchtests/slowexp-inputs: Remove.
13970 * benchtests/slowexp.c: Remove.
13971 * benchtests/slowpow-inputs: Remove.
13972 * benchtests/slowpow.c: Remove.
13973 * benchtests/slowsin-inputs: Remove.
13974 * benchtests/slowsin.c: Remove.
13975 * benchtests/slowtan-inputs: Remove.
13976 * benchtests/slowtan.c: Remove.
13977 * benchtests/tan-inputs: Add slow benchmark inputs.
13978 * scripts/bench.pl: Parse comments and directives.
13979
d569c6ee
SP
13980 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
13981 in CPPFLAGS.
13982 ($(objpfx)bench-%.c): Remove *-ITER.
13983 * benchtests/bench-modf.c: Remove definition of ITER.
13984 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
13985 (main): Loop for DURATION seconds instead of fixed number of
13986 iterations.
13987 * scripts/bench.pl: Don't expect iterations in parameters.
13988
a6a242fe
RM
139892013-04-29 Roland McGrath <roland@hack.frob.com>
13990
13991 * io/fchdir.c (__fchdir): Renamed from fchdir.
13992 (fchdir): Define as weak alias.
13993
f2da7793
JM
139942013-04-29 Joseph Myers <joseph@codesourcery.com>
13995
13996 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
13997 (ERRNO_EDOM): Likewise.
13998 (ERRNO_ERANGE): Likewise.
13999 (noErrnoTests): New variable.
14000 (init_max_error): Set errno to 0.
14001 (test_single_errno): New function.
14002 (test_errno): Likewise.
14003 (check_float_internal): Call test_errno. Set errno to 0.
14004 (check_complex): Refer to errno tests in comment.
14005 (check_int): Call test_errno. Set errno to 0.
14006 (check_long): Likewise.
14007 (check_bool): Likewise.
14008 (check_longlong): Likewise.
14009 (cos_test): Use ERRNO_* flags for errno tests instead of
14010 check_int.
14011 (expm1_test): Likewise.
14012 (fmod_test): Likewise.
14013 (ilogb_test): Likewise.
14014 (lgamma_test): Likewise.
14015 (pow_test): Likewise.
14016 (remainder_test): Likewise.
14017 (sin_test): Likewise.
14018 (tan_test): Likewise.
14019 (yn_test): Likewise.
14020 (initialize): Set errno to 0.
14021 (main): Print number of errno tests.
14022 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
14023
b1a36ceb
AJ
140242013-04-29 Andreas Jaeger <aj@suse.de>
14025
c3ed8088
AJ
14026 [BZ #15084]
14027 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
14028 and RES_USEVC.
14029
f1a24198
AJ
14030 [BZ #15085]
14031 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
14032 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
14033 unimplemented.
14034
9ce3b2cb
AJ
14035 [BZ #15380]
14036 * stdlib/random.c (__initstate): Return NULL if
14037 __initstate fails.
14038
f1a24198 14039 [BZ #15086]
b1a36ceb
AJ
14040 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
14041 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
14042 RES_SNGLKUPREOP.
14043
7e7b6f36
AZ
140442013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14045
14046 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14047
4d14f449
JM
140482013-04-29 Joseph Myers <joseph@codesourcery.com>
14049
14050 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
14051 of individual tests.
14052 (casin_test): Likewise.
14053 (casinh_test): Likewise.
14054
5b4217d7
JM
140552013-04-27 Joseph Myers <joseph@codesourcery.com>
14056
14057 [BZ #15409]
14058 * math/s_catan.c (__catan): Handle arguments with large real or
14059 imaginary part separately without squaring.
14060 * math/s_catanf.c (__catanf): Likewise.
14061 * math/s_catanh.c (__catanh): Likewise.
14062 * math/s_catanhf.c (__catanhf): Likewise.
14063 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
14064 and redefine.
14065 (__catanhl): Handle arguments with large real or imaginary part
14066 separately without squaring.
14067 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
14068 and redefine.
14069 (__catanl): Handle arguments with large real or imaginary part
14070 separately without squaring.
14071 * math/libm-test.inc (catan_test): Add more tests.
14072 (catanh_test): Likewise.
14073 * sysdeps/i386/fpu/libm-test-ulps: Update.
14074 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14075
4220c3ef
AJ
140762013-04-27 Andreas Jaeger <aj@suse.de>
14077
14078 [BZ #15007]
14079 * stdlib/stdlib.h: Update guards for qecvt.
14080 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
14081 <stdlib.h>.
14082
4721b2d1
AM
140832013-04-27 Allan McRae <allan@archlinux.org>
14084
14085 * sysdeps/i386/fpu/libm-test-ulps: Update.
14086
f0302940
JM
140872013-04-26 Joseph Myers <joseph@codesourcery.com>
14088
9457fd95
JM
14089 [BZ #15406]
14090 * math/s_catan.c: Include <float.h>.
14091 (__catan): Ensure underflow exception occurs for underflowed
14092 result.
14093 * math/s_catanf.c: Include <float.h>.
14094 (__catanf): Ensure underflow exception occurs for underflowed
14095 result.
14096 * math/s_catanh.c: Include <float.h>.
14097 (__catanh): Ensure underflow exception occurs for underflowed
14098 result.
14099 * math/s_catanhf.c: Include <float.h>.
14100 (__catanhf): Ensure underflow exception occurs for underflowed
14101 result.
14102 * math/s_catanhl.c: Include <float.h>.
14103 (__catanhl): Ensure underflow exception occurs for underflowed
14104 result.
14105 * math/s_catanl.c: Include <float.h>.
14106 (__catanl): Ensure underflow exception occurs for underflowed
14107 result.
14108 * math/libm-test.inc (catan_test): Add more tests.
14109 (catanh_test): Likewise.
14110
f0302940
JM
14111 [BZ #15405]
14112 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
14113 underflowed result.
14114 * math/s_ccoshf.c (__ccoshf): Likewise.
14115 * math/s_ccoshl.c (__ccoshl): Likewise.
14116 * math/s_csin.c (__csin): Likewise.
14117 * math/s_csinf.c (__csinf): Likewise.
14118 * math/s_csinh.c (__csinh): Likewise.
14119 * math/s_csinhf.c (__csinhf): Likewise.
14120 * math/s_csinhl.c (__csinhl): Likewise.
14121 * math/s_csinl.c (__csinl): Likewise.
14122 * math/libm-test.inc (ccos_test): Add more tests.
14123 (ccosh_test): Likewise.
14124 (csin_test): Likewise.
14125 (csinh_test): Likewise.
14126
aa630f59
AZ
141272013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14128
14129 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
14130 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
14131 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
14132 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
14133 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
14134 powerpc/power5+/fpu folders.
14135 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
14136
14137
1b835983
MT
141382013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
14139
14140 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14141
73709b26
JM
141422013-04-25 Joseph Myers <joseph@codesourcery.com>
14143
14144 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
14145 additions to variable.
14146 [$(config-machine) = x86_64] (modules-names): Likewise.
14147 ($(objpfx)tst-audit3): Remove dependency.
14148 ($(objpfx)tst-audit3.out): Likewise.
14149 ($(objpfx)tst-audit4): Likewise.
14150 ($(objpfx)tst-audit4.out): Likewise.
14151 ($(objpfx)tst-audit5): Likewise.
14152 ($(objpfx)tst-audit5.out): Likewise.
14153 ($(objpfx)tst-audit6): Likewise.
14154 ($(objpfx)tst-audit6.out): Likewise.
14155 ($(objpfx)tst-audit7): Likewise.
14156 ($(objpfx)tst-audit7.out): Likewise.
14157 (tst-audit3-ENV): Remove variable.
14158 (tst-audit4-ENV): Likewise.
14159 (tst-audit5-ENV): Likewise.
14160 (tst-audit6-ENV): Likewise.
14161 (tst-audit7-ENV): Likewise.
14162 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
14163 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
14164 addition to variable.
14165 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
14166 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
14167 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
14168 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
14169 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
14170 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
14171 tst-audit3, tst-audit4 and tst-audit5.
14172 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
14173 tst-audit6 and tst-audit7.
14174 [$(subdir) = elf] (modules-names): Add audit modules for those
14175 tests.
14176 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
14177 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
14178 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
14179 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
14180 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
14181 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
14182 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
14183 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
14184 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
14185 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
14186 [$(subdir) = elf] (tst-audit3-ENV): New variable.
14187 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
14188 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
14189 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
14190 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
14191 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
14192 Likewise.
14193 [$(subdir) = elf && $(config-cflags-avx) = yes]
14194 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
14195 [$(subdir) = elf && $(config-cflags-avx) = yes]
14196 (CFLAGS-tst-auditmod4a.c): Likewise.
14197 [$(subdir) = elf && $(config-cflags-avx) = yes]
14198 (CFLAGS-tst-auditmod4b.c): Likewise.
14199 [$(subdir) = elf && $(config-cflags-avx) = yes]
14200 (CFLAGS-tst-auditmod6b.c): Likewise.
14201 [$(subdir) = elf && $(config-cflags-avx) = yes]
14202 (CFLAGS-tst-auditmod6c.c): Likewise.
14203 [$(subdir) = elf && $(config-cflags-avx) = yes]
14204 (CFLAGS-tst-auditmod7b.c): Likewise.
14205 * elf/tst-audit3.c: Move to ...
14206 * sysdeps/x86_64/tst-audit3.c: ... here.
14207 * elf/tst-audit4.c: Move to ...
14208 * sysdeps/x86_64/tst-audit4.c: ... here.
14209 * elf/tst-audit5.c: Move to ...
14210 * sysdeps/x86_64/tst-audit5.c: ... here.
14211 * elf/tst-audit6.c: Move to ...
14212 * sysdeps/x86_64/tst-audit6.c: ... here.
14213 * elf/tst-audit7.c: Move to ...
14214 * sysdeps/x86_64/tst-audit7.c: ... here.
14215 * elf/tst-auditmod3a.c: Move to ...
14216 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
14217 * elf/tst-auditmod3b.c: Move to ...
14218 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
14219 * elf/tst-auditmod4a.c: Move to ...
14220 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
14221 * elf/tst-auditmod4b.c: Move to ...
14222 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
14223 * elf/tst-auditmod5a.c: Move to ...
14224 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
14225 * elf/tst-auditmod5b.c: Move to ...
14226 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
14227 * elf/tst-auditmod6a.c: Move to ...
14228 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
14229 * elf/tst-auditmod6b.c: Move to ...
14230 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
14231 * elf/tst-auditmod6c.c: Move to ...
14232 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
14233 * elf/tst-auditmod7a.c: Move to ...
14234 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
14235 * elf/tst-auditmod7b.c: Move to ...
14236 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
14237
1ef74943
PP
142382013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
14239
14240 [BZ #15366]
14241 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
14242 define unconditionally.
14243 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
14244 define unconditionally.
14245 (INT8_C, INT16_C, etc.): Likewise.
14246
93fd48c5
MR
142472013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
14248
ae9552cf
MR
14249 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
14250 __ehdr_start with hidden visibility.
14251
93fd48c5
MR
14252 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
14253
418601aa
CD
142542013-04-24 Carlos O'Donell <carlos@redhat.com>
14255
14256 * math/libm-test.inc (cos_test): Use accurate hex constants.
14257 (sincost_test): Likewise.
14258
2f38fbfe
JM
142592013-04-24 Joseph Myers <joseph@codesourcery.com>
14260
5e221800
JM
14261 * math/libm-test.inc (catan_test): Add more tests.
14262 (catanh_test): Likewise.
14263
77f143fd
JM
14264 * math/s_catanf.c (__catanf): Use suffixed floating-point
14265 constants.
14266 * math/s_catanhf.c (__catanhf): Likewise.
14267 * math/s_catanhl.c (__catanhl): Likewise.
14268 * math/s_catanl.c (__catanl): Likewise.
14269
2f38fbfe
JM
14270 [BZ #15394]
14271 * math/s_catan.c (__catan): Calculate imaginary part of result
14272 with log1p not log unless computing log of number close to 0.
14273 * math/s_catanf.c (__catanf): Likewise.
14274 * math/s_catanl.c (__catanl): Likewise.
14275 * math/s_catanh.c (__catanh): Calculate real part of result with
14276 log1p not log unless computing log of number close to 0.
14277 * math/s_catanhf.c (__catanhf): Likewise.
14278 * math/s_catanhl.c (__catanhl): Likewise.
14279 * math/libm-test.inc (catan_test): Add more tests.
14280 (catanh_test): Likewise.
14281 * sysdeps/i386/fpu/libm-test-ulps: Update.
14282 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14283
45d69176
SP
142842013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
14285
14286 * benchtests/Makefile: Mention files in which fast and slow
14287 paths of math functions are implemented.
14288
87f51853
RM
142892013-04-23 Roland McGrath <roland@hack.frob.com>
14290
14291 * sysdeps/posix/timespec_get.c: New file.
14292
3c026539
AZ
142932013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14294
14295 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
14296 POWER.
14297 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
14298 for POWER.
14299 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
14300 powerpc/power5/fpu folders.
14301 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
14302 * benchtests/Makefile: Add modf testcase.
14303 * benchtests/bench-modf.c: New file: Benchmark test for mo
14304
ff491d14
SP
143052013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
14306
14307 [BZ #14888]
14308 * time/Makefile (tests): Add tst-strptime-whitespace.
14309 * time/strptime_l.c (get_number): Use ISSPACE.
14310 (__strptime_internal): Likewise.
14311 * time/tst-strptime-whitespace.c: New test case.
14312
7ed3f4e8
AS
143132013-04-23 Andreas Schwab <schwab@linux-m68k.org>
14314
14315 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
14316 member.
14317 (_nss_files_init): Set it here.
14318
5c95f7b6
HC
143192013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
14320
14321 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
14322 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
14323 unsigned.
14324
d34c9158
JBG
143252013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
14326
14327 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
14328
2169712d
SP
143292013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
14330
14331 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
14332 size just once.
14333
29c5de99
DM
143342013-04-21 David S. Miller <davem@davemloft.net>
14335
14336 * po/ru.po: Update Russion translation from translation project.
14337
ccdad15d
AC
143382013-04-17 Adam Conrad <adconrad@0c3.net>
14339
14340 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
14341 and setfsgid.
14342
0f122b8d
CD
143432013-04-17 Carlos O'Donell <carlos@redhat.com>
14344
5c5b07da 14345 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 14346 * configure: Regenerate.
5c5b07da 14347 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
14348 Add example to error message.
14349 * sysdeps/i386/configure: Regenerate.
14350
037714dd
SP
143512013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
14352
14353 * benchtests/Makefile (bench): Add cos, tan, slowcos and
14354 slowtan.
14355 * benchtests/cos-inputs: New file.
14356 * benchtests/slowcos-inputs: New file.
14357 * benchtests/slowcos.c: New file.
14358 * benchtests/slowtan-inputs: New file.
14359 * benchtests/slowtan.c: New file.
14360 * benchtests/tan-inputs: New file.
14361
e913141d
RM
143622013-04-16 Roland McGrath <roland@hack.frob.com>
14363
14364 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
14365 considered kosher.
14366
a2964074
SP
143672013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
14368
4856bcd2
SP
14369 * benchtests/Makefile: Include cppflags-iterator.mk to add
14370 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
14371
a2964074
SP
14372 * Makefile.in (bench-clean): New target.
14373 * benchtests/Makefile (bench-clean): Likewise.
14374
9fbf9aca
DH
143752013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
14376
14377 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
14378
207d1e2a
TS
143792013-04-15 Thomas Schwinge <thomas@codesourcery.com>
14380
14381 * stdio-common/tstdiomisc.c: Fix coding-style violation.
14382
306dfba9
AS
143832013-04-15 Andreas Schwab <schwab@suse.de>
14384
14385 * nscd/grpcache.c (cache_addgr): Properly check for short write.
14386 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14387 * nscd/pwdcache.c (cache_addpw): Likewise.
14388 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
14389 more than recsize.
14390
206a6699
SP
143912013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
14392
14393 * benchtests/Makefile (bench): Write all output to
14394 bench-out.tmp together.
14395
0582f6b3
AS
143962013-04-15 Andreas Schwab <schwab@suse.de>
14397
14398 * nscd/nscd.c (main): Don't fork again after closing files.
14399
acb4325f
SP
144002013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
14401
5cb26d0a
SP
14402 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
14403
acb4325f
SP
14404 * benchtests/Rules (bench-deps): Collect dependencies into a
14405 single variable. Add Makefile to dependencies.
14406 ($(objpfx)bench-%.c): Depend on bench-deps.
14407
47792506
RM
144082013-04-12 Roland McGrath <roland@hack.frob.com>
14409 Xavier Roche <roche+kml2@exalead.com>
14410
14411 [BZ #15361]
14412 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
14413 just that it's a file descriptor.
14414 * manual/llio.texi (Synchronizing AIO Operations): Update description
14415 for EBADF error from aio_fsync.
14416
8fc1bee5
SP
144172013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
14418
14419 * Rules (bench): Move target definition...
14420 * benchtests/Makefile: ... here.
14421
aba5e333
CD
144222013-04-11 Carlos O'Donell <carlos@redhat.com>
14423
14424 * math/libm-test.inc (cos_test): Fix PI/2 test.
14425 (sincos_test): Likewise.
14426 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
14427 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
14428
273cdee8
AS
144292013-04-11 Andreas Schwab <schwab@suse.de>
14430
6ecec3b6
AS
14431 [BZ #13988]
14432 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
14433 accept exponent character only when digits were seen.
14434 * stdio-common/Makefile (tests): Add bug26.
14435 * stdio-common/bug26.c: New file.
14436
273cdee8
AS
14437 [BZ #14293]
14438 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
14439 non-freeable.
14440
8da491f5
SP
144412013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14442
01dc6df9
SP
14443 * Makeconfig (rtld-prefix): Define built linker prefix.
14444 * Rules (run-bench): Use it.
14445 * math/Makefile (run-regen-ulps): Likewise.
14446
8da491f5
SP
14447 * Rules (bench): Remove eval.
14448
abe7f530
SP
144492013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14450 Roland McGrath <roland@hack.frob.com>
14451 Ondrej Bilka <neleai@seznam.cz>
14452
14453 [BZ #15346]
14454 * time/getdate.c: Include ctype.h and alloca.h.
14455 (__getdate_r): Trim leading and trailing spaces of input.
14456 * time/tst-getdate.c (tests): Add tests with leading and
14457 trailing spaces.
14458
61c23e62
RM
144592013-04-08 Roland McGrath <roland@hack.frob.com>
14460
14461 [BZ #14280]
14462 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
14463 when computing value.
14464
7208a313
CD
144652013-04-06 Carlos O'Donell <carlos@redhat.com>
14466
085b2d41
CD
14467 * math/README.libm-test (How can I generate "libm-test-ulps"?):
14468 Use testrun.sh to run libm tests.
14469
7208a313
CD
14470 [BZ #15309]
14471 * elf/dl-open.c (dl_open_worker): memset all of seen array.
14472
872c0acd
MM
144732013-04-06 Marko Myllynen <myllynen@redhat.com>
14474
14475 [BZ #15264]
14476 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
14477
26510bdd
CD
144782013-04-06 Carlos O'Donell <carlos@redhat.com>
14479
14480 * Makefile.in (regen-ulps): New target.
14481 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
14482 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
14483 [ifneq (no,$(PERL)] (regen-ulps): New target.
14484 [ifeq (no,$(PERL)] (regen-ulps): New target.
14485 * math/libm-test.inc (ulps_file_name): Define.
14486 (output_dir): New variable.
14487 (options): Add "output-dir" option.
14488 (parse_opt): Handle 'o' case.
14489 (main): If output_dir is non-NULL use it as a prefix
14490 otherwise use "".
14491 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
14492
a01f19c8
CD
144932013-04-06 Carlos O'Donell <carlos@redhat.com>
14494
14495 [BZ #10060, #10062]
14496 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
14497 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
14498 fail configure if __sync_val_compare_and_swap is not inlined.
14499 * sysdeps/i386/configure: Regenerate.
14500 * configure.in: Build for i686 when configured for i386.
14501 * configure: Regenerate.
14502 * README: Remove i386 reference.
14503
b7a329a5
CD
145042013-04-06 Carlos O'Donell <carlos@redhat.com>
14505
14506 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
14507 * sysdeps/s390/s390-64/sysdep.h: Likewise.
14508
bf0f50df
TS
145092013-04-05 Thomas Schwinge <thomas@codesourcery.com>
14510
ee091edf
TS
14511 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
14512 (lmsnanval): New variables.
14513 (F): Add conversion tests.
14514 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
14515 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
14516
a8b792d6
TS
14517 * stdio-common/tstdiomisc.c (F): Properly collect individual
14518 tests' results.
14519
a1cbf437
TS
14520 [BZ #14686, #15336]
14521 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
14522 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
14523 Instead, use input NaN values or generate a qNaN by arithmetic
14524 operation. Also fix bugs to comply with the standard.
14525 * math/libm-test.inc (remainder_test): Add more tests.
14526
8b43a0c9
TS
14527 [BZ #15335, #15342]
14528 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
14529 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
14530 input NaN values or generate a qNaN by arithmetic operation.
14531
d91da4ce
TS
14532 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
14533 unreachable code.
14534
bf0f50df
TS
14535 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
14536 definitions.
14537
05e166c8
JM
145382013-04-03 Joseph Myers <joseph@codesourcery.com>
14539
14540 [BZ #14478]
14541 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
14542 underflowed result.
14543 * math/s_cexpf.c (__cexpf): Likewise.
14544 * math/s_cexpl.c (__cexpl): Likewise.
14545 * math/libm-test.inc (cexp_test): Add more tests.
14546
1cef1b19
AS
145472013-04-03 Andreas Schwab <schwab@suse.de>
14548
14549 [BZ #15330]
14550 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
14551 order arrays from heap if bigger than alloca cutoff.
14552
74d87055
TS
145532013-04-03 Thomas Schwinge <thomas@codesourcery.com>
14554
14555 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
14556 (SNAN_TESTS_double): Refer to GCC PR56831.
14557 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
14558 GCC PR56828.
14559
d755bba4
SP
145602013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
14561
90d5d5bb
SP
14562 * Rules (bench): Move bench.out after the run is complete.
14563
73e0cd5d
SP
14564 * Rules (bench): Echo currently running benchmark.
14565
64aabd4b
SP
14566 * benchtests/Makefile (bench): Add atan and slowatan.
14567 * benchtests/atan-inputs: New file.
14568 * benchtests/slowatan-inputs: New file.
14569 * benchtests/slowatan.c: New file.
14570
c871eccd
SP
14571 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
14572 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
14573 its value.
14574
d755bba4
SP
14575 [BZ #15305]
14576 * sysdeps/unix/sysv/linux/kernel-features.h
14577 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
14578 __ASSUME_XFS_RESTRICTED_CHOWN.
14579 * sysdeps/unix/sysv/linux/pathconf.c
14580 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
14581 Save and restore errno.
14582
52ce4860
JM
145832013-04-02 Joseph Myers <joseph@codesourcery.com>
14584
14585 [BZ #15327]
14586 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
14587 arguments using __kernel_casinh.
14588 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
14589 arguments using __kernel_casinhf.
14590 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
14591 arguments using __kernel_casinhl.
14592 * math/libm-test.inc (cacosh_test): Add more tests.
14593 * sysdeps/i386/fpu/libm-test-ulps: Update.
14594 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14595
81f311c2
SP
145962013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
14597
e7906a47
SP
14598 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
14599 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
14600
92e3664b
SP
14601 * bench/Makefile (bench): Add sin and slowsin.
14602 * benchtests/sin-inputs: New file.
14603 * benchtests/slowsin-inputs: New file.
14604 * benchtests/slowsin.c: New file.
14605
81f311c2
SP
14606 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
14607 (bench): Add slowexp and slowpow.
14608 (exp-ITER): Increase iterations.
14609 (pow-ITER): Likewise.
14610 * benchtests/exp-inputs: Change input.
14611 * benchtests/pow-inputs: Likewise.
14612 * benchtests/slowexp-inputs: New file.
14613 * benchtests/slowexp.c: New file.
14614 * benchtests/slowpow-inputs: New file.
14615 * benchtests/slowpow.c: New file.
14616
ab0f1aa9
AZ
146172013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14618
14619 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
14620 instructions.
14621 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
14622 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
14623 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
14624 * benchtests/Makefile: Add rint benchtest.
14625 * benchtests/rint-inputs: Input for rint benchtest.
14626
57267616
TS
146272013-04-02 Thomas Schwinge <thomas@codesourcery.com>
14628
14629 * Versions.def (libm): Add GLIBC_2.18.
14630 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
14631 hidden libm prototypes.
14632 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
14633 * math/Makefile (libm-calls): Add s_issignaling.
14634 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
14635 __issignalingf, __issignalingl. Adjust all libm.abilist files.
14636 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
14637 declaration.
14638 * math/math.h [__USE_GNU] (issignaling): New macro.
14639 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
14640 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
14641 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
14642 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
14643 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
14644 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
14645 * manual/arith.texi (issignaling): New section.
14646 * manual/libm-err-tab.pl (@all_functions): Update comment.
14647 * math/gen-libm-test.pl (parse_args): Apply special handling for
14648 issignaling.
14649 * math/libm-test.inc (print_float, issignaling_test): New
14650 functions.
14651 (check_float_internal): Add issignaling checks.
14652 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
14653 default definition.
14654 * sysdeps/powerpc/math-tests.h: New file.
14655 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
14656 tests.
14657 * math/test-snan.c (TEST_FUNC): Likewise.
14658
6142896d
DM
146592013-03-30 David S. Miller <davem@davemloft.net>
14660
14661 * po/de.po: Update from translation team.
14662
ccc8cadf
JM
146632013-03-30 Joseph Myers <joseph@codesourcery.com>
14664
14665 [BZ #10357]
14666 * math/k_casinh.c (__kernel_casinh): Handle arguments with
14667 imaginary part less than 1.0 and real part less than 0.5
14668 specially.
14669 * math/k_casinhf.c (__kernel_casinhf): Likewise.
14670 * math/k_casinhl.c (__kernel_casinhl): Likewise.
14671 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
14672 (cacos_test): Add more tests.
14673 (casin_test): Likewise.
14674 (casinh_test): Likewise.
14675 * sysdeps/i386/fpu/libm-test-ulps: Update.
14676 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14677
0f6a8d4b
SP
146782013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14679
0d1029de
SP
14680 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
14681 ONE with its value.
14682
c2d94018
SP
14683 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
14684 (__pow_mp): Replace ONE and MONE with their values.
14685 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
14686 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
14687 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
14688 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
14689 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
14690 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
14691
27ec37f1
SP
14692 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
14693
a64d7e0e
SP
14694 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
14695 (__pow_mp): Replace ZERO and MZERO with their values.
14696 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
14697 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
14698 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
14699 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
14700 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
14701 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
14702 (__sqr): Likewise.
14703
d26dd3eb
SP
14704 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
14705
0f6a8d4b
SP
14706 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
14707
e57b0c61
RM
147082013-03-28 Roland McGrath <roland@hack.frob.com>
14709
14710 * include/stdlib.h [!SHARED] (__call_tls_dtors):
14711 Declare with __attribute__ ((weak)).
14712 * stdlib/exit.c (__libc_atexit) [!SHARED]:
14713 Call __call_tls_dtors only if it's not NULL.
14714
356b3480
RM
147152013-03-28 Roland McGrath <roland@hack.frob.com>
14716
288f7d79
RM
14717 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
14718 didn't do it already, then set _dl_phdr and _dl_phnum based on the
14719 magic __ehdr_start linker symbol if it's defined.
14720 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
14721 them up here if it was already done.
14722
dc0a0263
RM
14723 * elf/dl-support.c (_dl_phdr): Make pointer to const.
14724 (_dl_aux_init): Use const in cast when setting it.
14725 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
14726 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
14727 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
14728
3d3436ae
RM
14729 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
14730 Declare them here.
14731 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
14732 * csu/libc-tls.c: Nor here.
14733 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
14734
356b3480
RM
14735 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
14736 (__libc_message): Never call vsyslog.
14737
b0f1246a
AM
147382013-03-28 Alan Modra <amodra@gmail.com>
14739
14740 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
14741 Define as empty.
14742 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
14743 Likewise.
14744
fbbe2b9a
AZ
147452013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14746
14747 [BZ #15214]
14748 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
14749 underflow.
14750 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14751
1728ab37
SP
147522013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14753
7a86be6e
SP
14754 [BZ #15304]
14755 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
14756 Don't add gid passed as argument.
14757
1728ab37
SP
14758 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
14759
3a7182a1
JM
147602013-03-27 Joseph Myers <joseph@codesourcery.com>
14761
14762 [BZ #15307]
14763 * math/k_casinh.c (__kernel_casinh): Handle arguments with
14764 imaginary part between 1.0 and 1.5 and real part less than 0.5
14765 specially.
14766 * math/k_casinhf.c (__kernel_casinhf): Likewise.
14767 * math/k_casinhl.c (__kernel_casinhl): Likewise.
14768 * math/libm-test.inc (cacos_test): Add more tests.
14769 (casin_test): Likewise.
14770 (casinh_test): Likewise.
14771 * sysdeps/i386/fpu/libm-test-ulps: Update.
14772 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14773
6f2e90e7
SP
147742013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14775
5739f705
SP
14776 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
14777 constants.
14778 (norm): Likewise.
14779 (denorm): Likewise.
14780 (__dbl_mp): Likewise.
14781 (add_magnitudes): Likewise.
14782 (sub_magnitudes): Likewise.
14783 (__add): Likewise.
14784 (__sub): Likewise.
14785 (__mul): Likewise.
14786 (__sqr): Likewise.
14787 (__inv): Likewise.
14788 (__dvd): Likewise.
14789
e375e83d
SP
14790 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
14791 commented code.
14792 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
14793 (__dubcos): Likewise.
14794 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
14795 (__ieee754_acos): Likewise.
14796 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
14797 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
14798 (__exp1): Likewise.
14799 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
14800 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
14801 (log1): Likewise.
14802 (my_log2): Likewise.
14803 (checkint): Likewise.
14804 * sysdeps/ieee754/dbl-64/e_remainder.c
14805 (__ieee754_remainder): Likewise.
14806 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
14807 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
14808 (bsloww): Likewise.
14809 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
14810
6f2e90e7
SP
14811 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
14812 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
14813 MANTISSA_STORE_T to store computations on mantissa. Use
14814 macros for rounding and division.
14815 (denorm): Likewise.
14816 (__dbl_mp): Likewise.
14817 (add_magnitudes): Likewise.
14818 (sub_magnitudes): Likewise.
14819 (__mul): Likewise.
14820 (__sqr): Likewise.
14821 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
14822 powers of two in terms of TWOPOW macro.
14823 (mp_no): Make type of mantissa as MANTISSA_T.
14824 [!RADIXI]: Define RADIXI.
14825 [!TWO52]: Define TWO52.
14826 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
14827
fce14d4e
AZ
148282013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14829
14830 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
14831 llroundl symbol when building for PPC32.
14832
9ad027fb
MW
148332013-03-24 Mark H Weaver <mhw@netris.org>
14834
14835 * manual/arith.texi (Normalization Functions): Fix prototypes for
14836 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
14837
e42a38dd
AZ
148382013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14839
14840 [BZ #13889]
14841 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
14842 high value to check if expl overflow.
14843 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
14844 to check for underflow and overflow.
14845 * math/libm-test.inc: Add exp test.
14846
2e0fb521
DL
148472013-03-21 Dmitry V. Levin <ldv@altlinux.org>
14848
14849 [BZ #11120]
14850 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
14851 with NOT_IN_libc.
14852
b5784d95
AZ
148532013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14854
14855 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
14856 symbol.
14857
5aa4a1a1
TS
148582013-03-21 Thomas Schwinge <thomas@codesourcery.com>
14859
bdef0be7
TS
14860 * math/gen-libm-test.pl (parse_args, special_functions): Properly
14861 wrap blocks consisting of several statements.
14862
5aa4a1a1
TS
14863 * sysdeps/generic/math-tests.h: New file.
14864 * sysdeps/i386/fpu/math-tests.h: Likewise.
14865 * math/test-snan.c: Include it.
14866 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
14867
98c48fe5
JM
148682013-03-21 Joseph Myers <joseph@codesourcery.com>
14869
14870 [BZ #15285]
14871 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
14872 (__ieee754_j0l): Do not improve calculations using cos of twice
14873 input for inputs above LDBL_MAX / 2.0L.
14874 (__ieee754_y0l): Likewise.
14875 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
14876 (__ieee754_j1l): Do not improve calculations using cos of twice
14877 input for inputs above LDBL_MAX / 2.0L.
14878 (__ieee754_y1l): Likewise.
14879 * math/libm-test.inc (j0_test): Add another test.
14880 (j1_test): Likewise.
14881 (y0_test): Likewise.
14882 (y1_test): Likewise.
14883 * sysdeps/i386/fpu/libm-test-ulps: Update.
14884
3775a8bc
SP
148852013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14886
14887 * Rules ($(objpfx)bench-%.c): Include code from a C source
14888 file.
14889
0a1b2ae6
JM
148902013-03-21 Joseph Myers <joseph@codesourcery.com>
14891
14892 [BZ #15287]
14893 * math/k_casinh.c (__kernel_casinh): Handle arguments with
14894 imaginary part 1.0 and real part less than 0.5 specially.
14895 * math/k_casinhf.c (__kernel_casinhf): Likewise.
14896 * math/k_casinhl.c (__kernel_casinhl): Likewise.
14897 * math/libm-test.inc (cacos_test): Add more tests.
14898 (casin_test): Likewise.
14899 (casinh_test): Likewise.
14900 * sysdeps/i386/fpu/libm-test-ulps: Update.
14901 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14902
b33d4ce4
SP
149032013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14904
14905 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
14906 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
14907
bef0b507
JM
149082013-03-20 Joseph Myers <joseph@codesourcery.com>
14909
14910 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
14911 * config.make.in (config-cflags-sse4): Remove variable.
14912 (config-cflags-avx): Likewise.
14913 (config-cflags-sse2avx): Likewise.
14914 (config-cflags-novzeroupper): Likewise.
14915 (config-asflags-i686): Likewise.
14916 (have-mfma4): Likewise.
14917 (have-as-vis3): Likewise.
14918 (MIG): Likewise.
14919 * configure.in (MIG): Do not AC_SUBST.
14920 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
14921 (libc_cv_cc_sse4): Do not AC_SUBST.
14922 (libc_cv_cc_avx): Likewise.
14923 (libc_cv_cc_sse2avx): Likewise.
14924 (libc_cv_cc_novzeroupper): Likewise.
14925 (libc_cv_cc_fma4): Likewise.
14926 (libc_cv_as_i686): Likewise.
14927 (libc_cv_sparc_as_vis3): Likewise.
14928 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
14929 LIBC_CONFIG_VAR.
14930 (config-asflags-i686): Likewise.
14931 (config-cflags-avx): Likewise.
14932 (config-cflags-sse2avx): Likewise.
14933 (have-mfma4): Likewise.
14934 (config-cflags-novzeroupper): Likewise.
14935 * sysdeps/mach/configure.in (MIG): Likewise.
14936 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
14937 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
14938 LIBC_CONFIG_VAR.
14939 (config-cflags-avx): Likewise.
14940 (config-cflags-sse2avx): Likewise.
14941 (have-mfma4): Likewise.
14942 (config-cflags-novzeroupper): Likewise.
14943 * configure: Regenerated.
14944 * sysdeps/i386/configure: Likewise.
14945 * sysdeps/mach/configure: Likewise.
14946 * sysdeps/sparc/configure: Likewise.
14947 * sysdeps/x86_64/configure: Likewise.
14948
912cc4b3
RM
149492013-03-20 Roland McGrath <roland@hack.frob.com>
14950
14951 [BZ #14812]
14952 * locale/programs/localedef.c (options): Put N_ translation marker
14953 on argument names, not just descriptions.
14954
04eed2b0
MS
149552013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14956
14957 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
14958
a065ceff
OB
149592013-03-20 Ondřej Bílka <neleai@seznam.cz>
14960
9bb2a810 14961 [BZ #14176]
a065ceff
OB
14962 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
14963
a600e5ce
RM
149642013-03-19 Roland McGrath <roland@hack.frob.com>
14965
14966 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
14967 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
14968 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
14969 [!BEFORE_ABORT] (before_abort): New function.
14970 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
14971 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
14972 (writev_for_fatal): New function.
14973 (WRITEV_FOR_FATAL): New macro; call that.
14974 (backtrace_and_maps): New function.
14975 (BEFORE_ABORT): New macro; call that.
14976 (struct str_list): Type removed.
14977 (__libc_message, __libc_fatal): Functions removed.
14978 Include <sysdeps/posix/libc_fatal.c> instead.
14979
6b18bea6
JM
149802013-03-19 Joseph Myers <joseph@codesourcery.com>
14981
14982 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
14983 constants.
14984 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
14985 double constants.
14986
aaa8cb4b
AS
149872013-03-19 Andreas Schwab <schwab@suse.de>
14988
44673770
AS
14989 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
14990 * sysdeps/gnu/configure: Regenerate.
14991
aaa8cb4b
AS
14992 * configure.in: Substitute libc_cv_rtlddir.
14993 * configure: Regenerate.
14994 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
14995 * Makeconfig (rtlddir, inst_rtlddir): New variables.
14996 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
14997 * elf/Makefile (install-others, CFLAGS-interp.c)
14998 (ldso_install, common-ldd-rewrite): Likewise.
14999 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
15000 $(inst_slibdir)/$(rtld-installed-name).
15001 * scripts/rellns-sh: Add -p option.
15002 * Makerules (make-shlib-link): Use rellns-sh to get relative name
15003 for source.
15004
d3cfc668
SP
150052013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
15006
15007 * manual/nptl.texi: Renamed to ...
15008 * manual/threads.texi: ... this.
15009 * manual/Makefile (chapters): Update.
15010
0e2b9cdd
RM
150112013-03-18 Roland McGrath <roland@hack.frob.com>
15012
15013 [BZ #14812]
15014 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
15015 on argument names, not just descriptions.
0e2b9cdd
RM
15016 * malloc/memusagestat.c (options): Likewise.
15017 * nss/getent.c (options): Likewise.
63270c24
RM
15018
150192013-03-18 Benno Schulenberg <bensberg@justemail.net>
15020
15021 [BZ #14812]
15022 * iconv/iconv_prog.c (options): Put N_ translation marker
15023 on argument names, not just descriptions.
15024 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 15025
b2e1393c
OB
150262013-03-18 Ondrej Bilka <neleai@seznam.cz>
15027
15028 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
15029 implementation which is faster on all x86_64 architectures.
15030 Tested on AMD, Intel Nehalem, SNB, IVB.
15031 * sysdeps/x86_64/strnlen.S: Likewise.
15032
15033 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
15034 Remove all multiarch strlen and strnlen versions.
15035 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
15036 Remove strlen and strnlen related parts.
15037
15038 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
15039 Inline strlen part.
15040 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
15041
15042 * sysdeps/x86_64/multiarch/strlen.S: Remove.
15043 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
15044 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
15045 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
15046 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
15047 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
15048
ec4ff04d
CD
150492013-03-17 Carlos O'Donell <carlos@redhat.com>
15050
15051 * manual/memory.texi (Malloc Tunable Parameters):
15052 Sort parameters alphabetically. Add comments for missing entries.
15053
cd18e90a
DM
150542013-03-17 David S. Miller <davem@davemloft.net>
15055
15056 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15057
2a185d32
JM
150582013-03-16 Joseph Myers <joseph@codesourcery.com>
15059
d2f9799e
JM
15060 [BZ #15283]
15061 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
15062 for arguments at most half maximum finite value.
15063 * math/libm-test.inc (j0_test): Add more tests.
15064 (j1_test): Likewise.
15065 (y0_test): Likewise.
15066 (y1_test): Likewise.
15067 * sysdeps/i386/fpu/libm-test-ulps: Update.
15068 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15069
2a185d32
JM
15070 [BZ #14155]
15071 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
15072 1 / x and functions P and Q for arguments above 0x1p256L.
15073 (__ieee754_y0l): Likewise.
15074 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
15075 (__ieee754_y1l): Likewise.
15076 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
15077 (j1_test): Likewise.
15078 (y0_test): Likewise.
15079 (y1_test): Likewise.
15080
6cbec759
TS
150812013-03-16 Thomas Schwinge <thomas@codesourcery.com>
15082
15083 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
15084 variable.
15085
bc16e260
RM
150862013-03-15 Roland McGrath <roland@hack.frob.com>
15087
aefc9b8c
RM
15088 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
15089 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
15090 zero since it's initialized to EXEC_PAGESIZE.
15091
bc16e260
RM
15092 * sysdeps/unix/sysv/linux/ldsodefs.h
15093 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
15094 * sysdeps/generic/ldsodefs.h: ... here.
15095
a57da955
TS
150962013-03-15 Thomas Schwinge <thomas@codesourcery.com>
15097
af00a34d
TS
15098 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
15099
495ded2c
TS
15100 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
15101 math/test-snan.c.
15102 * math/test-snan.c: Renamed from
15103 sysdeps/powerpc/fpu/test-powerpc-snan.c.
15104 * math/Makefile (tests): Add test-snan.
15105 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
15106 test-powerpc-snan.
15107
777b0332
TS
15108 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
15109 SUFFIX. Initialize qNaN_var with __builtin_nan family of
15110 functions.
15111 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
15112 __builtin_nan family of functions.
15113 * math/libm-test.inc (initialize): Initialize qnan_value with
15114 __builtin_nan family of functions.
15115 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
15116 Remove variables.
15117 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
15118 Remove functions.
15119 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
15120 storage class. Initialize qNaN_var and sNaN_var with
15121 __builtin_nan and __builtin_nans families of functions,
15122 respectively.
15123
64d063b8
TS
15124 * math/libm-test.inc (acosh_test): Also test with qNaN input.
15125 (sqrt_test): Remove duplicate test with qNaN input.
15126 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
15127 (round_test, signbit_test, significand_test): Note missing +/-Inf
15128 as well as qNaN tests.
15129
67e971f1
TS
15130 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
15131 qNaN_var. Fix a few strings, too.
15132 * math/libm-test.inc (nan_value): Rename to qnan_value.
15133 * math/gen-libm-test.pl (%beautify): Adjust to that.
15134 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
15135 * math/test-misc.c (main): Likewise.
15136 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
15137 to __qnan_bytes, and __qnan_union, respectively.
15138 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
15139 Likewise.
15140 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
15141 and lqnanval, respectively.
15142 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
15143 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
15144 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
15145 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
15146
64487e12
TS
15147 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
15148 * math/test-misc.c (main) [__x86_64__]: Enable test for long
15149 doubles.
15150
e015e27b
TS
15151 * math/test-misc.c (main): Fix copy'n'pastos.
15152 * misc/tst-efgcvt.c (special): Likewise.
15153
a57da955
TS
15154 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
15155 Remove declarations.
15156
1e380345
SP
151572013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15158
15159 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
15160 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
15161 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
15162 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
15163
ef26eece
AZ
151642013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15165
15166 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
15167 macro to return vdso values correctly in IFUNC implementations.
15168 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
15169 Optimization by using IFUNC.
15170
8cfdb7e0
SP
151712013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15172 Richard Henderson <rth@redhat.com>
15173 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15174
15175 * Makefile.in (bench): New target.
15176 * NEWS: Mention the benchmark framework.
15177 * Rules (bench): Likewise.
15178 (binaries-bench): Generate binaries for functions to
15179 benchmark.
15180 * benchtests/Makefile: New makefile for benchmark tests.
15181 * benchtests/bench-skeleton.c: New skeleton file for benchmark
15182 programs.
15183 * benchtests/exp-inputs: New input file for EXP function.
15184 * benchtests/pow-inputs: New input file for POW function.
15185 * scripts/bench.pl: New script to generate source files for
15186 benchmark programs.
15187
bcda9880
SP
151882013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15189
d22ca8cd
SP
15190 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
15191 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
15192 computations on mantissa. Use macros for rounding and
15193 division.
15194 (denorm): Likewise.
15195 (__dbl_mp): Likewise.
15196 (add_magnitudes): Likewise.
15197 (sub_magnitudes): Likewise.
15198 (__mul): Likewise.
15199 (__sqr): Likewise.
15200 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
15201 powers of two in terms of TWOPOW macro.
15202 (mp_no): Make type of mantissa as MANTISSA_T.
15203 [!RADIXI]: Define RADIXI.
15204 [!TWO52]: Define TWO52.
15205 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
15206
bcda9880
SP
15207 * manual/nptl.texi (cindex): Modify threads to pthreads.
15208
06d5adfb
JM
152092013-03-15 Joseph Myers <joseph@codesourcery.com>
15210
15211 * sysdeps/x86_64/preconfigure: Regenerated.
15212
41c7328e
JM
152132013-03-14 Joseph Myers <joseph@codesourcery.com>
15214
15215 [BZ #14155]
15216 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
15217 0x1p28 and above.
15218 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
15219 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
15220 0x1p28 and above.
15221 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
15222 * math/libm-test.inc (j0_test): Do not allow one spurious
15223 underflow exception.
15224 (y1_test): Likewise.
15225
e25cfa60
SP
152262013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
15227
0409959c
SP
15228 * manual/Makefile (chapters): Add nptl.
15229 * manual/debug.texi (Debugging Support): Add link to Threads
15230 chapter.
15231 * manual/nptl.texi: New file.
15232
e25cfa60
SP
15233 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
15234
58a1335e
PB
152352013-03-14 Petr Baudis <pasky@ucw.cz>
15236
15237 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
15238 for non-NULL pointer before the memory validity test. Pointed
15239 out by Holger Brunck <holger.brunck@keymile.com>.
15240
9dc7c64f
AS
152412013-03-13 Andreas Schwab <schwab@suse.de>
15242
15243 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
15244 instead of .os.
15245
54206aa6
JM
152462013-03-13 Joseph Myers <joseph@codesourcery.com>
15247
15248 * timezone/zic.c: Update from tzcode 2013b.
15249
e98cdb38
CD
152502013-03-12 Carlos O'Donell <carlos@redhat.com>
15251
15252 * manual/install.texi (Configuring and compiling):
15253 Mention i686 and i586.
15254 * INSTALL: Regenerate.
15255
9967e003
RM
152562013-03-12 Roland McGrath <roland@hack.frob.com>
15257
15258 * sysdeps/init_array/elf-init.c: New file.
15259 * csu/elf-init.c
15260 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
15261 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
15262
15263 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
15264 __gmon_start__ as global, but as static with a .preinit_array pointer.
15265 * sysdeps/init_array/gmon-start.c: New file. Use that.
15266 * sysdeps/init_array/crti.S: New file, empty except for comments.
15267 * sysdeps/init_array/crtn.S: Likewise.
15268
e6b5a293 152692013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
15270
15271 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
15272 definining bcopy.
80f844c9
OB
15273 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15274 Remove Prefer_SSE_for_memop.
15275 * sysdeps/x86_64/multiarch/init-arch.h: Remove
15276 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
15277 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
15278 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
15279 memset-x86-64.
80f844c9 15280 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 15281 Remove bzero, memset ifunc support.
80f844c9
OB
15282 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
15283 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
15284 * sysdeps/x86_64/multiarch/memset.S: Likewise.
15285 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
15286
fb6b0fcb
AS
152872013-03-11 Andreas Schwab <schwab@suse.de>
15288
15289 [BZ #15234]
15290 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
15291 by SHLIB_COMPAT.
15292 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
15293 (GLIBC_2.16): Remove pthread_atfork.
15294
3e6bd4b1
PP
152952013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
15296
15297 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
15298 (ptestcases.h): Likewise.
15299
222d7f00
RM
153002013-03-08 Roland McGrath <roland@hack.frob.com>
15301
15302 * Makeconfig ($(common-objpfx)config.status): Depend on
15303 sysdeps/*/preconfigure{,.in} too.
15304
1ba4f030
JM
153052013-03-08 Joseph Myers <joseph@codesourcery.com>
15306
a222d91a
JM
15307 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
15308 (__free_hook): Use void * instead of __malloc_ptr_t.
15309 (__malloc_hook): Likewise.
15310 (__realloc_hook): Likewise.
15311 (__memalign_hook): Likewise.
15312 (__after_morecore_hook): Likewise.
15313 * malloc/arena.c (save_malloc_hook): Likewise.
15314 (save_free_hook): Likewise.
15315 * malloc/hooks.c (malloc_hook_ini): Likewise.
15316 (realloc_hook_ini): Likewise.
15317 (memalign_hook_ini): Likewise.
15318 * malloc/malloc.c (malloc_hook_ini): Likewise.
15319 (realloc_hook_ini): Likewise.
15320 (memalign_hook_ini): Likewise.
15321 (__free_hook): Likewise.
15322 (__malloc_hook): Likewise.
15323 (__realloc_hook): Likewise.
15324 (__memalign_hook): Likewise.
15325 (__libc_malloc): Likewise.
15326 (__libc_free): Likewise.
15327 (__libc_realloc): Likewise.
15328 (__libc_memalign): Likewise.
15329 (__libc_valloc): Likewise.
15330 (__libc_pvalloc): Likewise.
15331 (__libc_calloc): Likewise.
15332 (__posix_memalign): Likewise.
15333 * malloc/morecore.c (__sbrk): Likewise.
15334 (__default_morecore): Likewise.
15335
5cc45e10
JM
15336 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
15337
dd54b864
JM
15338 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
15339 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
15340 __malloc_ptrdiff_t.
15341
1ba4f030
JM
15342 * malloc/malloc.h (__malloc_size_t): Remove macro.
15343 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
15344 __malloc_size_t.
15345 (old_memalign_hook): Likewise.
15346 (old_realloc_hook): Likewise.
15347 (struct hdr): Likewise.
15348 (flood): Likewise.
15349 (mallochook): Likewise.
15350 (memalignhook): Likewise.
15351 (reallochook): Likewise.
15352 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
15353 (tr_old_realloc_hook): Likewise.
15354 (tr_old_memalign_hook): Likewise.
15355 (tr_mallochook): Likewise.
15356 (tr_reallochook): Likewise.
15357 (tr_memalignhook): Likewise.
15358
edf66e57
AZ
153592013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15360
15361 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
15362 default_ldbl_pack and using as default implementation.
15363 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
15364 implementation.
15365 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
15366 redundant definition.
15367 (ldbl_insert_mantissa): Likewise.
15368 (ldbl_canonicalize): Likewise.
15369 (ldbl_nearbyint): Likewise.
15370 (ldbl_pack): Rename to ldbl_pack_ppc.
15371 (ldbl_unpack): Rename to ldbl_unpack_ppc.
15372 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
15373 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
15374
6d9145d8
SP
153752013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
15376
15377 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
15378 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
15379 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
15380 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
15381 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
15382 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
15383 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
15384 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
15385
4dd4e157
AJ
153862013-03-07 Andreas Jaeger <aj@suse.de>
15387
15388 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15389 bits/mman-linux.h.
15390
adbb8027
SP
153912013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
15392
ce544b5b
SP
15393 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
15394 Include mpa.h and declare __MPEXP.
15395 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
15396 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
15397 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
15398 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
15399 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
15400 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
15401 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
15402
4cc149fd
SP
15403 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
15404 (__slowpow): Use long double EXPL and LOGL functions to
15405 compute POW.
15406 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
15407 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
15408 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
15409 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
15410 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
15411 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
15412
e6ebd4a7
SP
15413 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
15414 intermediate variable to calculate exponent.
15415 (__sqr): Likewise.
15416 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
15417 Likewise.
15418 (__sqr): Likewise.
15419
82a9811d
SP
15420 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
15421 [!NO__SQR]: Define __sqr.
15422 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
15423 and NO__SQR. Remove all code except __mul and __sqr. Include
15424 sysdeps/ieee754/dbl-64/mpa.c.
15425 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15426
adbb8027
SP
15427 [BZ #12723]
15428 * posix/Makefile (tests): Add tst-pathconf.
15429 * posix/tst-pathconf.c: New test case.
15430 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
15431 _PC_PIPE_BUF.
15432 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
15433
39120df9
PF
154342013-03-06 Patsy Franklin <pfrankli@redhat.com>
15435
15436 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
15437
67525cb8
AJ
154382013-03-06 Andreas Jaeger <aj@suse.de>
15439
664a9ce4
AJ
15440 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
15441 definition via __MAP_ANONYMOUS.
15442
8e39047d
AJ
15443 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
15444 it's not part of Linux headers.
15445
67525cb8
AJ
15446 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
15447 (MAP_HUGE_MASK): Define.
15448
15449 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
15450 Define.
15451 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
15452 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
15453 Define.
15454 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
15455 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
15456 Define.
15457 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
15458 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
15459 Define.
15460 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
15461
15462 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
15463 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
15464 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
15465 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
15466 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
15467 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
15468
15469 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
15470 Handle f2fs.
15471
15472 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15473 Handle f2fs and efivarfs.
15474
15475 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
15476 f2fs.
15477
15478 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
15479 (EFIVARFS_MAGIC): Add.
15480 (F2FS_LINK_MAX): Add.
15481
e1b42695
PP
154822013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
15483
15484 * stdio-common/vfprintf.c: Replace __builtin_expect with
15485 __glibc_unlikely.
15486
2d67d91a
JM
154872013-03-06 Joseph Myers <joseph@codesourcery.com>
15488
15489 [BZ #13550]
15490 * sysdeps/generic/bp-sym.h: Remove file.
15491 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
15492 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
15493 <bp-sym.h> and <bp-asm.h>.
15494 (__longjmp): Don't use BP_SYM.
15495 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
15496 and <bp-asm.h>.
15497 (memcpy): Don't use BP_SYM.
15498 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
15499 <bp-sym.h> and <bp-asm.h>.
15500 (memcpy): Don't use BP_SYM.
15501 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
15502 <bp-asm.h>.
15503 (memcpy): Don't use BP_SYM.
15504 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
15505 <bp-asm.h>.
15506 (memset): Don't use BP_SYM.
15507 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
15508 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
15509 (__bzero): Don't use BP_SYM.
15510 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
15511 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
15512 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
15513 <bp-sym.h> and <bp-asm.h>.
15514 (memcmp): Don't use BP_SYM. Remove comment about bounded
15515 pointers.
15516 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
15517 <bp-sym.h> and <bp-asm.h>.
15518 (memcpy): Don't use BP_SYM.
15519 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
15520 <bp-sym.h> and <bp-asm.h>.
15521 (memset): Don't use BP_SYM.
15522 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
15523 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
15524 (__bzero): Don't use BP_SYM.
15525 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
15526 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
15527 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
15528 <bp-sym.h> and <bp-asm.h>.
15529 (strncmp): Don't use BP_SYM. Remove comment about bounded
15530 pointers.
15531 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
15532 <bp-sym.h> and <bp-asm.h>.
15533 (memcpy): Don't use BP_SYM.
15534 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
15535 <bp-sym.h> and <bp-asm.h>.
15536 (memset): Don't use BP_SYM.
15537 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
15538 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
15539 (__bzero): Don't use BP_SYM.
15540 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
15541 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
15542 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
15543 <bp-sym.h> and <bp-asm.h>.
15544 (__memchr): Don't use BP_SYM.
15545 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
15546 <bp-sym.h> and <bp-asm.h>.
15547 (memcmp): Don't use BP_SYM. Remove comment about bounded
15548 pointers.
15549 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
15550 <bp-sym.h> and <bp-asm.h>.
15551 (memcpy): Don't use BP_SYM.
15552 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
15553 <bp-sym.h> and <bp-asm.h>.
15554 (__mempcpy): Don't use BP_SYM.
15555 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
15556 <bp-sym.h> and <bp-asm.h>.
15557 (__memrchr): Don't use BP_SYM.
15558 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
15559 <bp-sym.h> and <bp-asm.h>.
15560 (memset): Don't use BP_SYM.
15561 (__bzero): Likewise.
15562 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
15563 <bp-sym.h> and <bp-asm.h>.
15564 (__rawmemchr): Don't use BP_SYM.
15565 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
15566 <bp-sym.h> and <bp-asm.h>.
15567 (__STRCMP): Don't use BP_SYM.
15568 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
15569 <bp-sym.h> and <bp-asm.h>.
15570 (strchr): Don't use BP_SYM.
15571 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
15572 <bp-sym.h> and <bp-asm.h>.
15573 (__strchrnul): Don't use BP_SYM.
15574 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
15575 <bp-sym.h> and <bp-asm.h>.
15576 (strlen): Don't use BP_SYM.
15577 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
15578 <bp-sym.h> and <bp-asm.h>.
15579 (strncmp): Don't use BP_SYM. Remove comment about bounded
15580 pointers.
15581 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
15582 <bp-sym.h> and <bp-asm.h>.
15583 (__strnlen): Don't use BP_SYM.
15584 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
15585 <bp-sym.h> and <bp-asm.h>.
15586 (__GI__setjmp): Don't use BP_SYM.
15587 (_setjmp): Likewise.
15588 (__sigsetjmp): Likewise.
15589 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
15590 (L(start_addresses)): Don't use BP_SYM.
15591 (_start): Likewise.
15592 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
15593 <bp-asm.h>.
15594 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
15595 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
15596 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
15597 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
15598 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
15599 <bp-asm.h>.
15600 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
15601 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
15602 about bounded pointers.
15603 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
15604 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
15605 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
15606 <bp-asm.h>.
15607 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
15608 about bounded pointers. Remove GKM FIXME comments.
15609 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
15610 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
15611 <bp-asm.h>.
15612 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
15613 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
15614 Remove GKM FIXME comments.
15615 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
15616 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
15617 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
15618 <bp-asm.h>.
15619 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
15620 about bounded pointers. Remove GKM FIXME comment.
15621 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
15622 and <bp-asm.h>.
15623 (strncmp): Don't use BP_SYM. Remove comment about bounded
15624 pointers.
15625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
15626 <bp-sym.h> and <bp-asm.h>.
15627 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
15628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
15629 <bp-sym.h> and <bp-asm.h>.
15630 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
15631 comment.
15632
cdcf361f
PP
156332013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
15634
15635 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
15636 call free(NULL).
15637
3c4a2b15
DM
156382013-03-05 David S. Miller <davem@davemloft.net>
15639
15640 * po/es.po: Update from translation team.
15641
cdcf361f 156422013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
15643
15644 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
15645 <bits/mman-linux.h>.
15646 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
15647 is fine.
15648 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
15649 <bits/mman-linux.h> to end of file.
15650 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
15651 is fine.
15652 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
15653 <bits/mman-linux.h> to end of file.
15654 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
15655 is fine.
15656 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
15657 <bits/mman-linux.h> to end of file.
15658
15659 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
15660 (MCL_CURRENT, MCL_FUTURE): Define here.
15661
5f67c04f
AK
156622013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15663
8a4473cc 15664 [BZ #15232]
5f67c04f
AK
15665 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
15666 attribute_hidden.
15667 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
15668
c3e94a95
AK
156692013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15670
15671 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
15672 fourth parameter needed for rt_sigprocmask syscall.
15673 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
15674 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
15675 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
15676 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
15677 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
15678 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
15679
cfb6382a
JM
156802013-03-04 Joseph Myers <joseph@codesourcery.com>
15681
15682 [BZ #13550]
15683 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
15684 comment about bounded pointers.
15685 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
15686 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
15687
539d8e01
AJ
156882013-03-04 Andreas Jaeger <aj@suse.de>
15689
15690 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
15691 common definitions.
15692
15693 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
15694 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
15695 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
15696 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
15697 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
15698 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
15699
2e167a70 157002013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
15701
15702 [BZ #15055]
15703 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
15704 __ieee754_sqrl instead of __sqrl.
15705
68508633
JM
157062013-03-01 Joseph Myers <joseph@codesourcery.com>
15707
15708 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
15709 * sysdeps/powerpc/fpu_control.h: ... here.
15710 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
15711 * sysdeps/powerpc/bits/fenvinline.h: ... here.
15712 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
15713 * sysdeps/powerpc/bits/mathinline.h: ... here.
15714
7775448e
RM
157152013-03-01 Roland McGrath <roland@hack.frob.com>
15716
15717 * elf/dl-hwcaps.c (_dl_important_hwcaps):
15718 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
15719 to just [NEED_DL_SYSINFO_DSO].
15720 * elf/dl-support.c: Likewise.
15721 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
15722 * elf/rtld.c (dl_main): Likewise.
15723 * elf/setup-vdso.h (setup_vdso): Likewise.
15724 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
15725 * sysdeps/unix/sysv/linux/dl-sysdep.c
15726 (_dl_discover_osversion): Likewise.
15727
4e9b5995
CD
157282013-03-01 Carlos O'Donell <carlos@redhat.com>
15729
15730 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
15731 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
15732
e23872c8
SP
157332013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
15734
e5c74c63
SP
15735 * NEWS: Mention libm performance improvements and non-x86 PI
15736 futex support.
15737
e23872c8
SP
15738 * csu/libc-start.c (__pthread_initialize_minimal): Change
15739 function arguments.
15740 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
15741
b5510883
JM
157422013-02-28 Joseph Myers <joseph@codesourcery.com>
15743
15744 [BZ #13550]
15745 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
15746 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
15747 <bp-sym.h> and <bp-asm.h>.
15748 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
15749 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
15750 and <bp-asm.h>.
15751 (memcpy): Don't use BP_SYM.
15752 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
15753 <bp-asm.h>.
15754 (__mpn_add_n): Don't use BP_SYM.
15755 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
15756 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
15757 and <bp-asm.h>.
15758 (__mpn_addmul_1): Don't use BP_SYM.
15759 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
15760 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
15761 <bp-sym.h>.
15762 (_setjmp): Don't use BP_SYM.
15763 (__novmx_setjmp): Likewise.
15764 (__GI__setjmp): Likewise.
15765 (__vmx_setjmp): Likewise.
15766 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
15767 <bp-sym.h>.
15768 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
15769 (__bzero): Don't use BP_SYM.
15770 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
15771 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
15772 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
15773 <bp-sym.h> and <bp-asm.h>.
15774 (memcpy): Don't use BP_SYM.
15775 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
15776 <bp-sym.h> and <bp-asm.h>.
15777 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
15778 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
15779 <bp-sym.h> and <bp-asm.h>.
15780 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
15781 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
15782 <bp-asm.h>.
15783 (__mpn_lshift): Don't use BP_SYM.
15784 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
15785 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
15786 <bp-asm.h>.
15787 (memset): Don't use BP_SYM.
15788 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
15789 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
15790 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
15791 <bp-asm.h>.
15792 (__mpn_mul_1): Don't use BP_SYM.
15793 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
15794 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
15795 <bp-sym.h> and <bp-asm.h>.
15796 (memcmp): Don't use BP_SYM.
15797 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
15798 <bp-sym.h> and <bp-asm.h>.
15799 (memcpy): Don't use BP_SYM.
15800 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
15801 <bp-sym.h> and <bp-asm.h>.
15802 (memset): Don't use BP_SYM.
15803 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
15804 <bp-sym.h> and <bp-asm.h>.
15805 (strncmp): Don't use BP_SYM.
15806 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
15807 <bp-sym.h> and <bp-asm.h>.
15808 (memcpy): Don't use BP_SYM.
15809 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
15810 <bp-sym.h> and <bp-asm.h>.
15811 (memset): Don't use BP_SYM.
15812 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
15813 <bp-sym.h> and <bp-asm.h>.
15814 (__memchr): Don't use BP_SYM.
15815 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
15816 <bp-sym.h> and <bp-asm.h>.
15817 (memcmp): Don't use BP_SYM.
15818 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
15819 <bp-sym.h> and <bp-asm.h>.
15820 (memcpy): Don't use BP_SYM.
15821 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
15822 <bp-sym.h> and <bp-asm.h>.
15823 (__mempcpy): Don't use BP_SYM.
15824 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
15825 <bp-sym.h> and <bp-asm.h>.
15826 (__memrchr): Don't use BP_SYM.
15827 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
15828 <bp-sym.h> and <bp-asm.h>.
15829 (memset): Don't use BP_SYM.
15830 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
15831 <bp-sym.h> and <bp-asm.h>.
15832 (__rawmemchr): Don't use BP_SYM.
15833 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
15834 <bp-sym.h> and <bp-asm.h>.
15835 (__STRCMP): Don't use BP_SYM.
15836 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
15837 <bp-sym.h> and <bp-asm.h>.
15838 (strchr): Don't use BP_SYM.
15839 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
15840 <bp-sym.h> and <bp-asm.h>.
15841 (__strchrnul): Don't use BP_SYM.
15842 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
15843 <bp-sym.h> and <bp-asm.h>.
15844 (strlen): Don't use BP_SYM.
15845 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
15846 <bp-sym.h> and <bp-asm.h>.
15847 (strncmp): Don't use BP_SYM.
15848 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
15849 <bp-sym.h> and <bp-asm.h>.
15850 (__strnlen): Don't use BP_SYM.
15851 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
15852 <bp-asm.h>.
15853 (__mpn_rshift): Don't use BP_SYM.
15854 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
15855 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
15856 <bp-sym.h> and <bp-asm.h>.
15857 (__sigsetjmp): Don't use BP_SYM.
15858 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
15859 (L(start_addresses)): Don't use BP_SYM.
15860 (_start): Likewise.
15861 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
15862 <bp-asm.h>.
15863 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
15864 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
15865 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
15866 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
15867 <bp-asm.h>.
15868 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
15869 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
15870 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
15871 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
15872 <bp-asm.h>.
15873 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
15874 comments.
15875 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
15876 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
15877 <bp-asm.h>.
15878 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
15879 FIXME comments.
15880 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
15881 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
15882 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
15883 <bp-asm.h>.
15884 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
15885 comment.
15886 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
15887 and <bp-asm.h>.
15888 (strncmp): Don't use BP_SYM,
15889 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
15890 <bp-asm.h>.
15891 (__mpn_sub_n): Don't use BP_SYM.
15892 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
15893 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
15894 and <bp-asm.h>.
15895 (__mpn_submul_1): Don't use BP_SYM.
15896 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
15897 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
15898 <bp-sym.h> and <bp-asm.h>.
15899 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
15900 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
15901 <bp-sym.h> and <bp-asm.h>.
15902 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
15903 comment.
15904
8d19fe64
SP
159052013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15906
15907 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
15908 Use ZK to minimize writes to Z.
15909 (sub_magnitudes): Simplify code a bit.
15910 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
15911 Use ZK to minimize writes to Z.
15912 (sub_magnitudes): Simplify code a bit.
15913
85bd816a
RM
159142013-02-27 Roland McGrath <roland@hack.frob.com>
15915
15916 * csu/gmon-start.c: Add special exception to license text.
15917
b5977bf2
RH
159182013-02-27 Richard Henderson <rth@redhat.com>
15919
15920 * scripts/config.guess: Update from config.git.
15921 * scripts/config.sub: Likewise.
15922
11d6e2f2
SP
159232013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15924
09c14ed2
SP
15925 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
15926
a688864e
SP
15927 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
15928
6295157a
SP
15929 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
15930
b8de2202
SP
15931 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
15932
11d6e2f2
SP
15933 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
15934
7e80ddb8
RM
159352013-02-26 Roland McGrath <roland@hack.frob.com>
15936
15937 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
15938 [$(build-shared = yes].
7e80ddb8 15939
7da6d9ed
SP
159402013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15941
45f05884
SP
15942 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
15943 (__mul): Reduce iterations for calculating mantissa.
15944
2236d359
SP
15945 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
15946 MPTWO.
15947 (__mpranred): Likewise.
15948
7da6d9ed
SP
15949 [BZ #15160]
15950 * malloc/memusagestat.c (main): Draw graphs for heap and stack
15951 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
15952
b7688c42
PE
159532013-02-26 Paul Eggert <eggert@cs.ucla.edu>
15954
15955 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
15956 Define __attribute__.
15957
53a5c423
SP
159582013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15959
15960 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
15961 unused.
15962 * posix/regex_internal.h (__attribute): Remove.
15963 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
15964 (re_string_context_at): Likewise.
15965 (bitset_not): Use __attribute__ and mark function as possibly
15966 unused.
15967 (bitset_merge): Likewise.
15968 (bitset_mask): Likewise.
15969 (re_string_char_size_at): Likewise.
15970 (re_string_wchar_at): Likewise.
15971 (re_string_elem_size_at): Likewise.
15972
60f5a8b5
SP
159732013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
15974
2a983a2e
SP
15975 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
15976 code.
15977 (cc32): Likewise.
15978
e69804d1
SP
15979 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
15980 (__acr): Likewise.
15981 (__cpy): Likewise.
15982 (norm): Likewise.
15983 (denorm): Likewise.
15984 (__dbl_mp): Likewise.
15985 (add_magnitudes): Likewise.
15986 (sub_magnitudes): Likewise.
15987 (__mul): Likewise.
15988 (__inv): Likewise.
15989
2f22a1e8
SP
15990 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
15991 style.
15992
8930ddc7
SP
15993 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
15994 style.
15995
dc60cb11
SP
15996 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
15997 code.
15998
60f5a8b5
SP
15999 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
16000 up changes with default code.
16001 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
16002 Likewise.
16003
b4d1fd33
AM
160042013-02-24 Allan McRae <allan@archlinux.org>
16005
faf6f8bc
AM
16006 * manual/socket.texi (The Internet Namespace): Order menu items
16007 to match that in the file.
16008
b4d1fd33
AM
16009 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
16010 node listing of the info page menu.
16011
2366713d
JM
160122013-02-21 Joseph Myers <joseph@codesourcery.com>
16013
16014 [BZ #13550]
16015 * sysdeps/i386/bp-asm.h: Remove file.
16016 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
16017 (PARMS): Do not use macros from bp-asm.h.
16018 (S1): Likewise.
16019 (S2): Likewise.
16020 (SIZE): Likewise.
16021 (__mpn_add_n): Do not use BP_SYM
16022 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
16023 "bp-asm.h".
16024 (PARMS): Do not use macros from bp-asm.h.
16025 (S1): Likewise.
16026 (SIZE): Likewise.
16027 (__mpn_addmul_1): Do not use BP_SYM
16028 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
16029 "bp-asm.h".
16030 (PARMS): Do not use macros from bp-asm.h.
16031 (SIGMSK): Likewise.
16032 (_setjmp): Likewise. Do not use BP_SYM.
16033 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
16034 "bp-asm.h".
16035 (PARMS): Do not use macros from bp-asm.h.
16036 (SIGMSK): Likewise.
16037 (setjmp): Likewise. Do not use BP_SYM.
16038 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
16039 "bp-asm.h".
16040 (PARMS): Do not use macros from bp-asm.h.
16041 (__frexp): Do not use BP_SYM.
16042 (frexp): Likewise.
16043 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
16044 "bp-asm.h".
16045 (PARMS): Do not use macros from bp-asm.h.
16046 (__frexpf): Do not use BP_SYM.
16047 (frexpf): Likewise.
16048 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
16049 "bp-asm.h".
16050 (PARMS): Do not use macros from bp-asm.h.
16051 (__frexpl): Do not use BP_SYM.
16052 (frexpl): Likewise.
16053 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
16054 "bp-asm.h".
16055 (PARMS): Do not use macros from bp-asm.h.
16056 (__remquo): Do not use BP_SYM.
16057 (remquo): Likewise.
16058 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
16059 "bp-asm.h".
16060 (PARMS): Do not use macros from bp-asm.h.
16061 (__remquof): Do not use BP_SYM.
16062 (remquof): Likewise.
16063 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
16064 "bp-asm.h".
16065 (PARMS): Do not use macros from bp-asm.h.
16066 (__remquol): Do not use BP_SYM.
16067 (remquol): Likewise.
16068 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
16069 "bp-asm.h".
16070 (PARMS): Do not use macros from bp-asm.h.
16071 (DEST): Likewise.
16072 (SRC): Likewise.
16073 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
16074 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
16075 "bp-asm.h".
16076 (PARMS): Do not use macros from bp-asm.h.
16077 (strlen): Do not use BP_SYM.
16078 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
16079 "bp-asm.h".
16080 (PARMS): Do not use macros from bp-asm.h.
16081 (S1): Likewise.
16082 (S2): Likewise.
16083 (SIZE): Likewise.
16084 (__mpn_add_n): Do not use BP_SYM.
16085 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
16086 "bp-asm.h".
16087 (PARMS): Do not use macros from bp-asm.h.
16088 (S1): Likewise.
16089 (SIZE): Likewise.
16090 (__mpn_addmul_1): Do not use BP_SYM.
16091 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
16092 weak_alias.
16093 (bzero): Likewise.
16094 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
16095 "bp-asm.h".
16096 (PARMS): Do not use macros from bp-asm.h.
16097 (S): Likewise.
16098 (SIZE): Likewise.
16099 (__mpn_lshift): Do not use BP_SYM.
16100 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
16101 "bp-asm.h".
16102 (PARMS): Do not use macros from bp-asm.h.
16103 (DEST): Likewise.
16104 (SRC): Likewise.
16105 (LEN): Likewise.
16106 (memcpy): Likewise. Do not use BP_SYM.
16107 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
16108 libc_hidden_def and weak_alias.
16109 (mempcpy): Do not use BP_SYM in weak_alias.
16110 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
16111 "bp-asm.h".
16112 (PARMS): Do not use macros from bp-asm.h.
16113 (DEST): Likewise.
16114 (LEN): Likewise.
16115 [!BZERO_P] (CHR): Likewise.
16116 (memset): Likewise. Do not use BP_SYM.
16117 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
16118 "bp-asm.h".
16119 (PARMS): Do not use macros from bp-asm.h.
16120 (S1): Likewise.
16121 (SIZE): Likewise.
16122 (__mpn_mul_1): Do not use BP_SYM.
16123 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
16124 "bp-asm.h".
16125 (PARMS): Do not use macros from bp-asm.h.
16126 (S): Likewise.
16127 (SIZE): Likewise.
16128 (__mpn_rshift): Do not use BP_SYM.
16129 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
16130 "bp-asm.h".
16131 (PARMS): Do not use macros from bp-asm.h.
16132 (STR): Likewise.
16133 (CHR): Likewise.
16134 (strchr): Likewise. Do not use BP_SYM.
16135 (index): Do not use BP_SYM in weak_alias.
16136 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
16137 "bp-asm.h".
16138 (PARMS): Do not use macros from bp-asm.h.
16139 (DEST): Likewise.
16140 (SRC): Likewise.
16141 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
16142 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
16143 "bp-asm.h".
16144 (PARMS): Do not use macros from bp-asm.h.
16145 (strlen): Do not use BP_SYM.
16146 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
16147 "bp-asm.h".
16148 (PARMS): Do not use macros from bp-asm.h.
16149 (S1): Likewise.
16150 (S2): Likewise.
16151 (SIZE): Likewise.
16152 (__mpn_sub_n): Do not use BP_SYM.
16153 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
16154 "bp-asm.h".
16155 (PARMS): Do not use macros from bp-asm.h.
16156 (S1): Likewise.
16157 (SIZE): Likewise.
16158 (__mpn_submul_1): Do not use BP_SYM.
16159 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
16160 "bp-asm.h".
16161 (PARMS): Do not use macros from bp-asm.h.
16162 (S1): Likewise.
16163 (S2): Likewise.
16164 (SIZE): Likewise.
16165 (__mpn_add_n): Do not use BP_SYM.
16166 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
16167 weak_alias.
16168 (bzero): Likewise.
16169 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
16170 "bp-asm.h".
16171 (PARMS): Do not use macros from bp-asm.h.
16172 (BLK2): Likewise.
16173 (LEN): Likewise.
16174 (memcmp): Do not use BP_SYM.
16175 (bcmp): Do not use BP_SYM in weak_alias.
16176 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
16177 "bp-asm.h".
16178 (PARMS): Do not use macros from bp-asm.h.
16179 (DEST): Likewise.
16180 (SRC): Likewise.
16181 (LEN): Likewise.
16182 (memcpy): Likewise. Do not use BP_SYM.
16183 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
16184 "bp-asm.h".
16185 (PARMS): Do not use macros from bp-asm.h.
16186 (DEST): Likewise.
16187 (SRC): Likewise.
16188 (LEN): Likewise.
16189 (memmove): Likewise. Do not use BP_SYM.
16190 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
16191 "bp-asm.h".
16192 (PARMS): Do not use macros from bp-asm.h.
16193 (DEST): Likewise.
16194 (SRC): Likewise.
16195 (LEN): Likewise.
16196 (__mempcpy): Likewise. Do not use BP_SYM.
16197 (mempcpy): Do not use BP_SYM in weak_alias.
16198 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
16199 "bp-asm.h".
16200 (PARMS): Do not use macros from bp-asm.h.
16201 (DEST): Likewise.
16202 (LEN): Likewise.
16203 [!BZERO_P] (CHR): Likewise.
16204 (memset): Likewise. Do not use BP_SYM.
16205 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
16206 "bp-asm.h".
16207 (PARMS): Do not use macros from bp-asm.h.
16208 (STR2): Likewise.
16209 (strcmp): Do not use BP_SYM.
16210 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
16211 "bp-asm.h".
16212 (PARMS): Do not use macros from bp-asm.h.
16213 (STR): Likewise.
16214 (DELIM): Likewise.
16215 [USE_AS_STRTOK_R] (SAVE): Likewise.
16216 (FUNCTION): Likewise. Do not use BP_SYM.
16217 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
16218 aliases.
16219 (strtok_r): Likewise.
16220 (__GI___strtok_r): Likewise.
16221 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
16222 (PARMS): Do not use macros from bp-asm.h.
16223 (S): Likewise.
16224 (SIZE): Likewise.
16225 (__mpn_lshift): Do not use BP_SYM.
16226 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
16227 (PARMS): Do not use macros from bp-asm.h.
16228 (STR): Likewise.
16229 (CHR): Likewise.
16230 (__memchr): Do not use BP_SYM.
16231 (memchr): Do not use BP_SYM in weak_alias.
16232 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
16233 (PARMS): Do not use macros from bp-asm.h.
16234 (BLK2): Likewise.
16235 (LEN): Likewise.
16236 (memcmp): Do not use BP_SYM.
16237 (bcmp): Do not use BP_SYM in weak_alias.
16238 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
16239 (PARMS): Do not use macros from bp-asm.h.
16240 (S1): Likewise.
16241 (SIZE): Likewise.
16242 (__mpn_mul_1): Do not use BP_SYM.
16243 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
16244 "bp-asm.h".
16245 (PARMS): Do not use macros from bp-asm.h.
16246 (STR): Likewise.
16247 (CHR): Likewise.
16248 (__rawmemchr): Do not use BP_SYM.
16249 (rawmemchr): Do not use BP_SYM in weak_alias.
16250 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
16251 (PARMS): Do not use macros from bp-asm.h.
16252 (S): Likewise.
16253 (SIZE): Likewise.
16254 (__mpn_rshift): Do not use BP_SYM.
16255 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
16256 (PARMS): Do not use macros from bp-asm.h.
16257 (SIGMSK): Likewise.
16258 (__sigsetjmp): Likewise. Do not use BP_SYM.
16259 * sysdeps/i386/start.S: Do not include "bp-sym.h".
16260 (_start): Do not use BP_SYM.
16261 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
16262 (PARMS): Do not use macros from bp-asm.h.
16263 (DEST): Likewise.
16264 (SRC): Likewise.
16265 (__stpcpy): Likewise. Do not use BP_SYM.
16266 (stpcpy): Do not use BP_SYM in weak_alias.
16267 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
16268 "bp-asm.h".
16269 (PARMS): Do not use macros from bp-asm.h.
16270 (DEST): Likewise.
16271 (SRC): Likewise.
16272 (LEN): Likewise.
16273 (__stpncpy): Likewise. Do not use BP_SYM.
16274 (stpncpy): Do not use BP_SYM in weak_alias.
16275 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
16276 (PARMS): Do not use macros from bp-asm.h.
16277 (STR): Likewise.
16278 (CHR): Likewise.
16279 (strchr): Likewise. Do not use BP_SYM.
16280 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
16281 "bp-asm.h".
16282 (PARMS): Do not use macros from bp-asm.h.
16283 (STR): Likewise.
16284 (CHR): Likewise.
16285 (__strchrnul): Likewise. Do not use BP_SYM.
16286 (strchrnul): Do not use BP_SYM in weak_alias.
16287 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
16288 "bp-asm.h".
16289 (PARMS): Do not use macros from bp-asm.h.
16290 (STOP): Likewise.
16291 (strcspn): Do not use BP_SYM.
16292 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
16293 "bp-asm.h".
16294 (PARMS): Do not use macros from bp-asm.h.
16295 (STR): Likewise.
16296 (STOP): Likewise.
16297 (strpbrk): Likewise. Do not use BP_SYM.
16298 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
16299 "bp-asm.h".
16300 (PARMS): Do not use macros from bp-asm.h.
16301 (STR): Likewise.
16302 (CHR): Likewise.
16303 (strrchr): Likewise. Do not use BP_SYM.
16304 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
16305 (PARMS): Do not use macros from bp-asm.h.
16306 (SKIP): Likewise.
16307 (strspn): Do not use BP_SYM.
16308 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
16309 (PARMS): Do not use macros from bp-asm.h.
16310 (STR): Likewise.
16311 (DELIM): Likewise.
16312 (SAVE): Likewise.
16313 (FUNCTION): Likewise. Do not use BP_SYM.
16314 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
16315 aliases.
16316 (strtok_r): Likewise.
16317 (__GI___strtok_r): Likewise.
16318 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
16319 (PARMS): Do not use macros from bp-asm.h.
16320 (S1): Likewise.
16321 (S2): Likewise.
16322 (SIZE): Likewise.
16323 (__mpn_sub_n): Do not use BP_SYM.
16324 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
16325 "bp-asm.h".
16326 (PARMS): Do not use macros from bp-asm.h.
16327 (S1): Likewise.
16328 (SIZE): Likewise.
16329 (__mpn_submul_1): Do not use BP_SYM.
16330 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
16331 <bp-sym.h>.
16332 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
16333 and <bp-asm.h>.
16334 (PARMS): Do not use macros from bp-asm.h.
16335 (FLAGS): Likewise.
16336 (PTID): Likewise.
16337 (TLS): Likewise.
16338 (CTID): Likewise.
16339 (__clone): Do not use BP_SYM.
16340 (clone): Do not use BP_SYM in weak_alias.
16341 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
16342 and <bp-asm.h>.
16343 (PARMS): Do not use macros from bp-asm.h.
16344 (LEN): Likewise.
16345 (__mmap64): Do not use BP_SYM.
16346 (mmap64): Do not use BP_SYM in weak_alias.
16347 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
16348 <bp-sym.h> and <bp-asm.h>.
16349 (PARMS): Do not use macros from bp-asm.h.
16350 (__posix_fadvise64_l64): Do not use BP_SYM.
16351 * sysdeps/unix/sysv/linux/i386/semtimedop.S
16352 (PARMS): Do not use macros from bp-asm.h.
16353 (NSOPS): Likewise.
16354 (semtimedop): Do not use BP_SYM.
16355 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
16356 and <bp-asm.h>.
16357
582a3cff
AM
163582013-02-21 Allan McRae <allan@archlinux.org>
16359
16360 * manual/message.texi (Charset conversion in gettext):
16361 Move @end statement to beginning of line.
16362
bab8a695
SP
163632013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16364
80945231
SP
16365 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
16366 static.
16367 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
16368 Likewise.
16369
bab8a695
SP
16370 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
16371 (denorm): Likewise.
16372 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
16373 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
16374
e21d7aa7
AK
163752013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16376
16377 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
16378 tail-call to the resolved function if pltexit isn't needed.
16379
4c7a4263
SP
163802013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16381
16382 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
16383 or Y being zero as being unlikely.
16384 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
16385 Likewise.
16386
41f49342
CD
163872013-02-20 Carlos O'Donell <carlos@redhat.com>
16388
16389 * manual/nss.texi (System Databases and Name Service Switch):
16390 Remove frobnicate @pxref.
16391
50022a93
TS
163922013-02-20 Thomas Schwinge <thomas@codesourcery.com>
16393
16394 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
16395 __attribute__ ((unused)) to __attribute__ ((__unused__)).
16396
08cbd996
PM
163972013-02-20 Petr Machata <pmachata@redhat.com>
16398
16399 * elf/elf.h (R_ARM_TARGET1): New macro.
16400 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
16401 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
16402 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
16403 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
16404 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
16405 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
16406 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
16407 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
16408 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
16409 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
16410 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
16411 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
16412 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
16413 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
16414 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
16415 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
16416 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
16417 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
16418 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
16419 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
16420 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
16421 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
16422 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
16423 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
16424 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
16425 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
16426 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
16427 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
16428 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
16429 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
16430 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
16431 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
16432 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
16433 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
16434 (R_ARM_THM_GOT_BREL12): Likewise.
16435 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
16436 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
16437 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
16438 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
16439 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
16440 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
16441 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
16442 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
16443 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
16444
c7b275d6
TS
164452013-02-20 Thomas Schwinge <thomas@codesourcery.com>
16446
16447 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
16448 __attribute_used__ to __attribute__ ((unused)).
16449
20cd7fb3
SP
164502013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
16451
16452 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
16453 powerpc mpa.c.
16454 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
16455 comment formatting.
16456 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
16457
92945b52
JM
164582013-02-19 Joseph Myers <joseph@codesourcery.com>
16459
16460 [BZ #13550]
16461 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
16462 Remove macro.
16463 (ENTER): Remove both macro definitions.
16464 (LEAVE): Likewise.
16465 (CHECK_BOUNDS_LOW): Likewise.
16466 (CHECK_BOUNDS_HIGH): Likewise.
16467 (CHECK_BOUNDS_BOTH): Likewise.
16468 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
16469 (RETURN_BOUNDED_POINTER): Likewise.
16470 (RETURN_NULL_BOUNDED_POINTER): Likewise.
16471 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
16472 (POP_ERRNO_LOCATION_RETURN): Likewise.
16473 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
16474 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16475 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
16476 macros.
16477 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16478 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
16479 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
16480 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
16481 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
16482 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
16483 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
16484 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
16485 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
16486 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
16487 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
16488 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
16489 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16490 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
16491 removed macros.
16492 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16493 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
16494 macros.
16495 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16496 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
16497 * sysdeps/i386/i586/memset.S (memset): Likewise.
16498 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
16499 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16500 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
16501 macros.
16502 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16503 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
16504 Change uses of L(2) to L(out).
16505 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
16506 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
16507 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
16508 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16509 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
16510 removed macros.
16511 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16512 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
16513 macros.
16514 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16515 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
16516 (RETURN): Do not use macro LEAVE.
16517 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
16518 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
16519 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
16520 * sysdeps/i386/i686/memset.S (memset): Likewise.
16521 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
16522 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
16523 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
16524 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
16525 Likewise.
16526 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16527 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
16528 L(1_2) and L(1_3) into L(1).
16529 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
16530 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
16531 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16532 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
16533 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
16534 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
16535 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
16536 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16537 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
16538 macros.
16539 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
16540 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16541 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
16542 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
16543 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
16544 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16545 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
16546 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
16547 * sysdeps/i386/strcspn.S (strcspn): Likewise.
16548 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
16549 * sysdeps/i386/strrchr.S (strrchr): Likewise.
16550 * sysdeps/i386/strspn.S (strspn): Likewise.
16551 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
16552 conditional code.
16553 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16554 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
16555 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
16556 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
16557 L(1_3) into L(1_1).
16558 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
16559 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16560 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
16561 macros.
16562 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16563
2389741a
JJ
165642013-02-19 Jakub Jelinek <jakub@redhat.com>
16565
16566 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
16567 macro.
16568
2016b3cd
SP
165692013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16570
e4f22324
SP
16571 * math/atest-exp.c (exp_mpn): Remove ROUND.
16572 * math/atest-exp2.c (exp_mpn): Likewise.
16573 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
16574
2016b3cd
SP
16575 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
16576 * stdlib/tst-tls-atexit-lib.c: Likewise.
16577 * stdlib/tst-tls-atexit.c: Likewise.
16578
4be9b544
MF
165792013-02-18 Mike Frysinger <vapier@gentoo.org>
16580
16581 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
16582 and __attribute_alloc_size__.
16583
2f62b9ee
MF
165842013-02-18 Mike Frysinger <vapier@gentoo.org>
16585
16586 * include/programs/xmalloc.h: Change __attribute_alloc_size to
16587 __attribute_alloc_size__.
16588 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
16589 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
16590
6ff444c4
MF
165912013-02-18 Mike Frysinger <vapier@gentoo.org>
16592
16593 * include/programs/xmalloc.h: New file.
16594 * catgets/gencat.c: Include it.
16595 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
16596 * elf/pldd.c: Likewise.
16597 * iconv/iconv_charmap.c: Likewise.
16598 * iconv/iconvconfig.c: Likewise.
16599 * iconv/strtab.c: Likewise.
16600 * locale/programs/locale.c: Likewise.
16601 * locale/programs/localedef.h: Likewise.
16602 * locale/programs/simple-hash.c: Likewise.
16603 * nscd/nscd.h: Likewise.
16604 * nss/makedb.c: Likewise.
16605 * sysdeps/generic/ldconfig.h: Likewise.
16606
be179c8a
SP
166072013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
16608
ba384f6e
SP
16609 * Versions.def: Add GLIBC_2.18.
16610 * include/link.h (struct link_map): New member l_tls_dtor_count.
16611 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
16612 (__call_tls_dtors): Likewise.
16613 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
16614 __cxa_thread_atexit_impl.
16615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16616 Likewise.
16617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16618 Likewise.
16619 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
16620 Likewise.
16621 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
16622 Likewise.
16623 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
16624 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
16625 Likewise.
16626 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
16627 Likewise.
16628 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
16629 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
16630 Likewise.
16631 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
16632 (tests): Add test case tst-tls-atexit.
16633 (modules-names): Add shared library for tst-tls-atexit.
85891aca 16634 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
16635 (GLIBC_PRIVATE): Add __call_tls_dtors.
16636 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
16637 for libstdc++.
16638 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
16639 * stdlib/tst-tls-atexit.c: New test case.
16640 * stdlib/tst-tls-atexit-lib.c: New test case.
16641
ffaa74cf 16642 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 16643
be179c8a
SP
16644 * elf/Versions (ld): Add _dl_find_dso_for_object.
16645 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
16646 * elf/dl-open.c (_dl_find_dso_for_object): New function.
16647 (dl_open_worker): Use _dl_find_dso_for_object.
16648 * elf/dl-sym.c (do_sym): Likewise.
16649 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
16650
f78b5caa
AK
166512013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16652
16653 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
16654 Syntactic changes only.
16655 (_dl_runtime_profile): Do a tail-call to the resolved function.
16656
29691210
JM
166572013-02-17 Joseph Myers <joseph@codesourcery.com>
16658
16659 [BZ #13550]
16660 * sysdeps/x86_64/bp-asm.h: Remove file.
16661 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
16662 <bp-sym.h> and <bp-asm.h>.
16663 (__clone): Do not use BP_SYM.
16664 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
16665 <bp-sym.h> and <bp-asm.h>.
16666 * sysdeps/unix/x86_64/sysdep.S: Likewise.
16667 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
16668 "bp-asm.h".
16669 (_setjmp): Do not use BP_SYM.
16670 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
16671 "bp-asm.h".
16672 (setjmp): Do not use BP_SYM.
16673 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
16674 libc_hidden_def.
16675 (mempcpy): Do not use BP_SYM in weak_alias.
16676 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
16677 "bp-asm.h".
16678 (strchr): Do not use BP_SYM.
16679 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
16680 "bp-asm.h".
16681 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
16682 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
16683 (_start): Do not use BP_SYM.
16684 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
16685 "bp-asm.h".
16686 (strcat): Do not use BP_SYM.
16687 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
16688 "bp-asm.h".
16689 (STRCMP): Do not use BP_SYM.
16690 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
16691 "bp-asm.h".
16692 (STRCPY): Do not use BP_SYM.
16693 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
16694 "bp-asm.h".
16695 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
16696 "bp-asm.h".
16697 (FUNCTION): Do not use BP_SYM.
16698 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
16699 weak_alias.
16700 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
16701
f238fd19
AJ
167022013-02-17 Andreas Jaeger <aj@suse.de>
16703
16704 * time/Versions: Sort entries.
16705 * string/Versions: Likewise.
16706 * resolv/Versions: Likewise.
16707 * posix/Versions: Likewise.
16708 * iconv/Versions: Likewise.
16709 * elf/Versions: Likewise.
16710 * wcsmbs/Versions: Likewise.
16711
bd07f23c 167122013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 16713
22af19f9
SP
16714 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
16715 loop termination condition.
16716
4709fe76
SP
16717 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
16718 variable to calculate EZ.
16719 (__sqr): Likewise.
2d0e0f29
SP
16720
16721 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
16722 the lower precision input.
16723
daaa7713
JM
167242013-02-15 Joseph Myers <joseph@codesourcery.com>
16725
16726 [BZ #13550]
16727 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
16728 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
16729 (run-via-rtld-prefix): Do not handle %-bp tests.
16730 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
16731 (all-object-suffixes): Remove .ob.
16732 (bppfx): Remove variable.
16733 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
16734 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
16735 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
16736 [$(build-bounded) = yes] (libtype.ob): Likewise.
16737 * Makerules (elide-routines.ob): Remove variable.
16738 (do-tests-clean): Do not handle *-bp.out.
16739 (common-mostlyclean): Do not handle *-bp and *-bp.out.
16740 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
16741 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
16742 (tests): Do not include $(tests-bp.out).
16743 (xtests): Do not include $(xtests-bp.out).
16744 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
16745 [$(build-bounded) = yes] ($(addprefix
16746 $(objpfx),$(binaries-bounded))): Remove rule.
16747 ($(objpfx)%-bp.out): Remove rule.
16748 * config.make.in (build-bounded): Remove variable.
16749 * crypt/Makefile [$(build-bounded) = yes]
16750 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
16751 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
16752 append to variable.
16753 [$(build-bounded) = yes] (install-lib): Likewise.
16754 [$(build-bounded) = yes] (generated): Likewise.
16755 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
16756 Remove rule.
16757 * intl/Makefile [$(build-bounded) = yes]
16758 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
16759 * math/Makefile [$(build-bounded) = yes]
16760 ($(tests:%=$(objpfx)%-bp): Likewise.
16761 * misc/Makefile [$(build-bounded) = yes]
16762 ($(objpfx)tst-tsearch-bp): Likewise.
16763 * nptl/Makeconfig (bounded-thread-library): Remove variable.
16764 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
16765 Remove dependency.
16766 * string/Makefile (o-objects.ob): Remove variable.
16767 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
16768 (CFLAGS-.ob): Remove variable.
16769 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
16770 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
16771 both definitions of variable.
16772 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
16773 (ASFLAGS-.ob): Remove variable.
16774
e97ed6dd
JM
167752013-02-14 Joseph Myers <joseph@codesourcery.com>
16776
2bdd4ca6
JM
16777 [BZ #13550]
16778 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
16779 Remove __BOUNDED_POINTERS__ from condition.
16780 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
16781 * string/bits/string2.h [!__NO_STRING_INLINES &&
16782 !__BOUNDED_POINTERS__]: Likewise.
16783 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
16784 Likewise.
16785 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
16786 Remove conditional code.
16787 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
16788 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
16789 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
16790 condition.
16791
e97ed6dd
JM
16792 [BZ #13550]
16793 * csu/libc-start.c: Do not include <bp-sym.h>.
16794 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
16795 * elf/dl-open.c: Do not include <bp-sym.h>.
16796 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
16797 * math/fegetenv.c: Do not include <bp-sym.h>.
16798 (fegetenv): Do not use BP_SYM in versioned symbols.
16799 * nptl/sysdeps/pthread/bits/libc-lockP.h
16800 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
16801 <bp-sym.h>.
16802 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16803 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
16804 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16805 (__pthread_mutex_destroy): Likewise.
16806 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16807 (__pthread_mutex_lock): Likewise.
16808 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16809 (__pthread_mutex_trylock): Likewise.
16810 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16811 (__pthread_mutex_unlock): Likewise.
16812 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16813 (__pthread_mutexattr_init): Likewise.
16814 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16815 (__pthread_mutexattr_destroy): Likewise.
16816 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16817 (__pthread_mutexattr_settype): Likewise.
16818 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16819 (__pthread_rwlock_init): Likewise.
16820 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16821 (__pthread_rwlock_destroy): Likewise.
16822 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16823 (__pthread_rwlock_rdlock): Likewise.
16824 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16825 (__pthread_rwlock_tryrdlock): Likewise.
16826 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16827 (__pthread_rwlock_wrlock): Likewise.
16828 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16829 (__pthread_rwlock_trywrlock): Likewise.
16830 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16831 (__pthread_rwlock_unlock): Likewise.
16832 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16833 (__pthread_key_create): Likewise.
16834 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16835 (__pthread_setspecific): Likewise.
16836 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16837 (__pthread_getspecific): Likewise.
16838 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
16839 Likewise.
16840 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16841 (_pthread_cleanup_push_defer): Likewise.
16842 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16843 (_pthread_cleanup_pop_restore): Likewise.
16844 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16845 (pthread_setcancelstate): Likewise.
16846 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
16847 <bp-sym.h>.
16848 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
16849 (memchr): Do not use BP_SYM in weak_alias.
16850 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
16851 (fegetenv): Do not use BP_SYM in versioned symbols.
16852 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
16853 (fesetenv): Do not use BP_SYM in versioned symbols.
16854 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
16855 (feupdateenv): Do not use BP_SYM in versioned symbols.
16856 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
16857 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
16858 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
16859 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
16860 (open64): Do not use BP_SYM in weak_alias.
16861 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
16862 (fegetenv): Do not use BP_SYM in versioned symbols.
16863 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
16864 (fesetenv): Do not use BP_SYM in versioned symbols.
16865 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
16866 (feupdateenv): Do not use BP_SYM in versioned symbols.
16867 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
16868 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
16869 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
16870 (feraiseexcept): Do not use BP_SYM in versioned symbols.
16871 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
16872 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
16873 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
16874 <bp-sym.h>.
16875 (__libc_start_main): Do not use BP_SYM.
16876
d6752ccd
SP
168772013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
16878
cb57ce60
SP
16879 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
16880 redundant return line.
16881 (norm): Likewise.
16882 (denorm): Likewise.
16883 (dbl_mp): Likewise.
16884 (sub_magnitudes): Likewise.
16885 (__add): Likewise.
16886 (__sub): Likewise.
16887 (__mul): Likewise.
16888 (__inv): Likewise.
16889 (__dvd): Likewise.
16890 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
16891 (norm): Likewise.
16892 (denorm): Likewise.
16893 (dbl_mp): Likewise.
16894 (sub_magnitudes): Likewise.
16895 (__add): Likewise.
16896 (__sub): Likewise.
16897 (__mul): Likewise.
16898 (__inv): Likewise.
16899 (__dvd): Likewise.
16900
f414520d
SP
16901 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
16902 instead of __mul.
16903 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
16904 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
16905 (cc32): Likewise.
16906
d6752ccd
SP
16907 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
16908 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
16909 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
16910 of __mul for squares.
16911 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
16912 function
16913 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
16914 Likewise.
16915 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
16916 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
16917
70d9946a
JM
169182013-02-13 Joseph Myers <joseph@codesourcery.com>
16919
16920 [BZ #13550]
16921 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
16922 code.
16923 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
16924 prototype or function definition. Rename ubp_* variables and
16925 parameters. Remove argv definitions conditional on
16926 [__BOUNDED_POINTERS__].
16927 * debug/backtrace.c (__backtrace): Do not use __unbounded.
16928 * elf/dl-runtime.c (_dl_fixup): Likewise.
16929 * include/set-hooks.h (RUN_HOOK): Likewise.
16930 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
16931 definition.
16932 * string/strcpy.c (strcpy): Do not use __unbounded.
16933 * sysdeps/generic/frame.h (struct layout): Likewise.
16934 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
16935 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
16936 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
16937 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
16938 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
16939 (__backtrace): Likewise.
16940 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
16941 use __ptrvalue.
16942 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
16943 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
16944 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
16945 Likewise.
16946 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
16947 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
16948 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
16949 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
16950 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
16951 Do not use __unbounded.
16952 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
16953 Rename __unboundedrlimits parameter to rlimits in prototype.
16954 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
16955 Do not use __unbounded.
16956 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
16957 not use __ptrvalue.
16958 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
16959 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
16960 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
16961 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
16962 __ptrvalue or __unbounded.
16963 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
16964 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
16965 use __unbounded.
16966 (__new_msgctl): Do not use __ptrvalue.
16967 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
16968 __unbounded.
16969 (__libc_msgrcv): Do not use __ptrvalue.
16970 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
16971 startup_info): Do not use __unbounded.
16972 (__libc_start_main): Likewise. Rename ubp_* variables and
16973 parameters. Remove argv definitions conditional on
16974 [__BOUNDED_POINTERS__].
16975 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
16976 __ptrvalue.
16977 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
16978 use __unbounded.
16979 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
16980 or __ptrvalue.
16981 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
16982 use __unbounded.
16983 (__new_shmctl): Do not use __ptrvalue.
16984 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
16985 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
16986 Likewise.
16987 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
16988 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
16989 (__libc_sigaction): Likewise.
16990 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
16991 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
16992 Likewise.
16993 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
16994
cc7834d6
OB
169952013-02-13 Ondřej Bílka <neleai@seznam.cz>
16996
ffb1ec7b 16997 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
16998
16999 * string/mempcpy.c: Implement by calling memcpy.
17000
bdf02814
SP
170012013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
17002
c2af38aa
SP
17003 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
17004
4e92d59e
SP
17005 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
17006 evaluation.
17007
909279a5
SP
17008 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
17009 values in the mantissa.
17010
bdf02814
SP
17011 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
17012 minimize writes to Z.
17013 (sub_magnitudes): Simplify code a bit.
17014
cd525923
RM
170152013-02-12 Roland McGrath <roland@hack.frob.com>
17016
17017 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
17018 from the message. The linker prefixes all warnings with that already.
17019
7e2f0d2d
AS
170202013-02-12 Andreas Schwab <schwab@suse.de>
17021
a445af0b
AS
17022 [BZ #15078]
17023 * posix/regexec.c (extend_buffers): Add parameter min_len.
17024 (check_matching): Pass minimum needed length.
17025 (clean_state_log_if_needed): Likewise.
17026 (get_subexp): Likewise.
17027 * posix/Makefile (tests): Add bug-regex34.
17028 (bug-regex34-ENV): Define.
17029 * posix/bug-regex34.c: New file.
17030
7e2f0d2d
AS
17031 [BZ #11561]
17032 * posix/regcomp.c (parse_bracket_exp): When looking up collating
17033 elements compare against the byte sequence of it, not its name.
17034 * posix/Makefile (tests): Add bug-regex35.
17035 (bug-regex35-ENV): Define.
17036 * posix/bug-regex35.c: New file.
17037
a175b684
TV
170382013-02-11 Tom de Vries <tom@codesourcery.com>
17039
17040 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
17041 comment.
17042 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
17043 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
17044 (CHECK_EOL): Add undef.
17045
310998fe 170462013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
17047
17048 * bits/stdlib-bsearch.h: New file.
17049 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 17050 * stdlib/stdlib.h: Likewise.
41eda41d 17051
8ded91fb
RM
170522013-02-11 Roland McGrath <roland@hack.frob.com>
17053
17054 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
17055 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
17056 declaration.
17057 * manual/search.texi (Array Search Function): Add missing const in
17058 lfind prototype.
17059 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
17060 declaration to use rlim_t.
17061 (Basic Scheduling Functions): Remove erroneous const from
17062 sched_getparam prototype. Remove erroneous * from
17063 sched_get_priority_max and sched_get_priority_min prototypes.
17064 (Resource Usage): Fix summary @comment on vtimes to refer to
17065 sys/vtimes.h rather than vtimes.h.
17066 Add missing *s in vtimes prototype.
17067 (Limits on Resources): Fix ulimit prototype to return long int.
17068 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
17069 prototypes to use long int rather than double.
17070 (BSD Random): Fix initstate and setstate to use char *, not void *.
17071 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
17072 prototype to make second argument 'struct aiocb64 *const[]'.
17073 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
17074 (Status of AIO Operations): Remove erroneous const in aio_return and
17075 aio_return64 prototypes.
17076 (Synchronizing I/O): Fix sync prototype to return void.
17077 * manual/startup.texi (Suboptions): Remove an erroneous const in
17078 getsubopt prototype.
17079 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
17080 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
17081 use size_t rather than int.
17082 (Scanning All Users): Likewise for getpwent_r.
17083 (Setting Groups): Add missing const to setgroups prototype.
17084 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
17085 * manual/socket.texi (Host Names): Fix gethostbyaddr and
17086 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
17087 'const void *' rather than 'const char *'.
17088 (Host Address Functions): Likewise for inet_ntop.
17089 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
17090 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
17091 ssize_t for return value.
17092 (Sending Data): Likewise for send, sendto, sendmsg.
17093 (Socket Option Functions): Add a missing const in setsockopt prototype.
17094 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
17095 use wchar_t for the argument.
17096 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
17097 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
17098 take no arguments.
17099 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
17100 double/float/long double for second argument.
17101 Fix return types of significand, significandf, significandl.
17102 * manual/filesys.texi (Setting Permissions): Use mode_t for second
17103 argument in fchmod prototype.
17104 (File Owner): Use uid_t and gid_t in fchown prototype.
17105 (File Times): Add const to utimes, futimes, and lutimes prototypes.
17106 (Making Special Files): Use mode_t and dev_t in mknod prototype.
17107 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
17108 use 'const struct dirent **' as argument types to CMP function pointer
17109 argument.
17110 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
17111 (File Times): Fix summary magic @comment for struct utimbuf and utime
17112 to refer to utime.h, not time.h.
17113 * manual/string.texi (Argz Functions): Add missing const in
17114 argz_extract and argz_next prototypes.
17115 (Finding Tokens in a String): Likewise for basename.
17116 (String/Array Comparison): Fix typo in wcscasecmp prototype.
17117 (Copying and Concatenation): Fix typo in wmemmove prototype.
17118 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
17119 (Signal Stack): Remove erroneous const in sigstack prototype.
17120 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
17121 prototype.
17122 (Simple Calendar Time): Likewise for stime.
17123 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
17124 prototype.
17125 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
17126 say sys/sysctl.h instead.
17127 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
17128 and vsyslog prototypes.
17129
fe77fe6d
TV
171302013-02-11 Tom de Vries <tom@codesourcery.com>
17131
17132 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
17133 Remove.
17134
3a09b620
RM
171352013-02-11 Roland McGrath <roland@hack.frob.com>
17136
17137 * misc/sys/mman.h: Fix typo in mremap comment.
17138
550a0b89
RM
171392013-02-08 Roland McGrath <roland@hack.frob.com>
17140
17141 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
17142 the '\0' terminator.
17143
a2da1673
JM
171442013-02-08 Joseph Myers <joseph@codesourcery.com>
17145
17146 [BZ #13550]
17147 * debug/segfault.c: Don't include <bp-checks.h>.
17148 * sysdeps/generic/bp-checks.h: Remove file.
17149 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
17150 (__GETDENTS): Don't use CHECK_N.
17151 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
17152 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
17153 (__getgroups): Don't use CHECK_N.
17154 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
17155 (setgroups): Don't use CHECK_N.
17156 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
17157 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
17158 (__libc_msgrcv): Don't use CHECK_N.
17159 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
17160 (__libc_msgsnd): Don't use CHECK_N.
17161 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
17162 <bp-checks.h>.
17163 (__libc_pread): Don't use CHECK_N.
17164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
17165 include <bp-checks.h>.
17166 (__libc_pread64): Don't use CHECK_N.
17167 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
17168 include <bp-checks.h>.
17169 (__libc_pwrite): Don't use CHECK_N.
17170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
17171 include <bp-checks.h>.
17172 (__libc_pwrite64): Don't use CHECK_N.
17173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
17174 <bp-checks.h>.
17175 (__libc_pread): Don't use CHECK_N.
17176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
17177 include <bp-checks.h>.
17178 (__libc_pread64): Don't use CHECK_N.
17179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
17180 include <bp-checks.h>.
17181 (__libc_pwrite): Don't use CHECK_N.
17182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
17183 include <bp-checks.h>.
17184 (__libc_pwrite64): Don't use CHECK_N.
17185 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
17186 (do_pread): Don't use CHECK_N.
17187 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
17188 (do_pread64): Don't use CHECK_N.
17189 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
17190 (do_pwrite): Don't use CHECK_N.
17191 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
17192 (do_pwrite64): Don't use CHECK_N.
17193 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
17194 (__libc_readv): Don't use CHECK_N.
17195 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
17196 (semop): Don't use CHECK_N.
17197 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
17198 <bp-checks.h>.
17199 (semtimedop): Don't use CHECK_N.
17200 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
17201 (__libc_pread): Don't use CHECK_N.
17202 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
17203 <bp-checks.h>.
17204 (__libc_pread64): Don't use CHECK_N.
17205 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
17206 <bp-checks.h>.
17207 (__libc_pwrite): Don't use CHECK_N.
17208 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
17209 <bp-checks.h>.
17210 (__libc_pwrite64): Don't use CHECK_N.
17211 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
17212 <bp-checks.h>.
17213 (__libc_msgrcv): Don't use CHECK_N.
17214 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
17215 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
17216 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
17217 (__libc_writev): Don't use CHECK_N.
17218
b84660a8
RM
172192013-02-08 Roland McGrath <roland@hack.frob.com>
17220
7f3e75f8
RM
17221 * string/strcpy.c: Removed unused variable.
17222
b84660a8
RM
17223 * Makeconfig (+sysdep-includes): Define with := rather than =.
17224 Use an existing include/ subdir of each sysdeps dir before it.
17225
471514d3
CD
172262013-02-08 Carlos O'Donell <carlos@redhat.com>
17227
17228 * nscd/connection.c (register_traced_file): Comment function.
17229 [HAVE_INOTIFY] (union __inev): Define.
17230 [HAVE_INOTIFY] (inotify_check_files): New function.
17231 [HAVE_INOTIFY] (clear_db_cache): Likewise.
17232 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
17233 clear_db_cache.
17234 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
17235
b2d3c3be
CD
172362013-02-08 Carlos O'Donell <carlos@redhat.com>
17237
17238 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
17239 loaded if not already and that a failure is permanent.
17240
b39949d2
CD
172412013-02-08 Carlos O'Donell <carlos@redhat.com>
17242
ddacd1db 17243 [BZ #15006]
b39949d2
CD
17244 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
17245 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
17246
b2c9eff4
JM
172472013-02-08 Joseph Myers <joseph@codesourcery.com>
17248
f3aae3f3
JM
17249 [BZ #13550]
17250 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
17251 (CHECK_1_NULL_OK): Likewise.
17252 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
17253 (__fxstat): Do not use CHECK_1.
17254 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
17255 <bp-checks.h>.
17256 (___fxstat64): Do not use CHECK_1.
17257 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
17258 <bp-checks.h>.
17259 (__fxstatat): Do not use CHECK_1.
17260 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
17261 <bp-checks.h>.
17262 (__fxstatat64): Do not use CHECK_1.
17263 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
17264 <bp-checks.h>.
17265 (__fxstat): Do not use CHECK_1.
17266 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
17267 <bp-checks.h>.
17268 (__fxstatat): Do not use CHECK_1.
17269 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
17270 <bp-checks.h>.
17271 (__getresgid): Do not use CHECK_1.
17272 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
17273 <bp-checks.h>.
17274 (__getresuid): Do not use CHECK_1.
17275 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
17276 <bp-checks.h>.
17277 (__lxstat): Do not use CHECK_1.
17278 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
17279 <bp-checks.h>.
17280 (__old_msgctl): Do not use CHECK_1.
17281 (__new_msgctl): Likewise.
17282 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
17283 <bp-checks.h>.
17284 (__new_setrlimit): Do not use CHECK_1.
17285 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
17286 <bp-checks.h>.
17287 (__old_shmctl): Do not use CHECK_1.
17288 (__new_shmctl): Likewise.
17289 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
17290 <bp-checks.h>.
17291 (__xstat): Do not use CHECK_1.
17292 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
17293 (__lxstat): Do not use CHECK_1.
17294 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
17295 <bp-checks.h>.
17296 (___lxstat64): Do not use CHECK_1.
17297 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
17298 (__old_msgctl): Do not use CHECK_1.
17299 (__new_msgctl): Likewise.
17300 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
17301 <bp-checks.h>.
17302 (__gettimeofday): Do not use CHECK_1.
17303 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
17304 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
17305 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
17306 <bp-checks.h>.
17307 (__gettimeofday): Do not use CHECK_1.
17308 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
17309 (__old_shmctl): Do not use CHECK_1_NULL_OK.
17310 (__new_shmctl): Do not use CHECK_1.
17311 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
17312 <bp-checks.h>.
17313 (do_sigtimedwait): Do not use CHECK_1.
17314 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
17315 <bp-checks.h>.
17316 (do_sigwaitinfo): Do not use CHECK_1.
17317 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
17318 <bp-checks.h>.
17319 (msgctl): Do not use CHECK_1.
17320 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
17321 <bp-checks.h>.
17322 (shmctl): Do not use CHECK_1.
17323 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
17324 (ustat): Do not use CHECK_1.
17325 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
17326 <bp-checks.h>.
17327 (__fxstat): Do not use CHECK_1.
17328 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
17329 <bp-checks.h>.
17330 (__fxstatat): Do not use CHECK_1.
17331 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
17332 <bp-checks.h>.
17333 (__lxstat): Do not use CHECK_1.
17334 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
17335 <bp-checks.h>.
17336 (__xstat): Do not use CHECK_1.
17337 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
17338 (__xstat): Do not use CHECK_1.
17339 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
17340 (___xstat64): Do not use CHECK_1.
17341
b2c9eff4
JM
17342 [BZ #13550]
17343 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
17344 definitions.
17345 (CHECK_BOUNDS_HIGH): Likewise.
17346 * string/strcpy.c: Do not include <bp-checks.h>.
17347 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
17348
f1d70dad
RM
173492013-02-07 Roland McGrath <roland@hack.frob.com>
17350
17351 * nscd/nscd-client.h (__nscd_drop_map_ref):
17352 Add __attribute__ ((unused)).
17353 * nis/nss-nisplus.h (niserr2nss): Likewise.
17354
17355 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
17356 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
17357
17358 * csu/libc-tls.c (init_static_tls, init_slotinfo):
17359 Remove inline keyword.
17360 * include/rounding-mode.h (round_away): Likewise.
17361 * libio/wfileops.c (adjust_wide_data): Likewise.
17362 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
17363 (__m128i_strloadu_tolower): Likewise.
17364 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
17365 (__m128i_strloadu_tolower): Likewise.
17366 * time/mktime.c (ydhms_diff): Likewise.
17367 * locale/elem-hash.h (elem_hash): Likewise.
17368 * locale/setlocale.c (setdata): Likewise.
17369 * posix/regex_internal.h (re_string_char_size_at): Likewise.
17370 (re_string_wchar_at): Likewise.
17371 (bitset_not, bitset_merge, bitset_mask): Likewise.
17372 [!(__GNUC__ > 3)] (inline): Remove macro.
17373 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
17374 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
17375 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
17376 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
17377 * string/memcmp.c (memcmp_bytes): Likewise.
17378 * locale/programs/locarchive.c (compute_hashval): Likewise.
17379 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
17380 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
17381 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
17382 * nss/getent.c (print_rpc, print_protocols): Likewise.
17383 (print_passwd, print_group, print_aliases): Likewise.
17384 * nis/nss-nisplus.h (niserr2nss): Likewise.
17385 * nscd/connections.c (restart_p): Likewise.
17386 Change return type to bool.
17387
eab55bfb
RM
173882013-02-05 Roland McGrath <roland@hack.frob.com>
17389
7bd642f5
RM
17390 * Makeconfig (all-Depend-files): Add existing
17391 $(sorted-subdirs:=/Depend) files.
17392 (all-subdirs): Remove nss.
17393 * sysdeps/unix/inet/Subdirs: Add it here instead.
17394 * hesiod/Depend: New file.
17395
573c29b2
RM
17396 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
17397 instead of calling alloca.
17398
b2e25af0
RM
17399 * io/lseek.c (__lseek): Rename to __libc_lseek.
17400 Define __lseek as an alias.
17401
eab55bfb
RM
17402 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
17403
9a0d1941
CD
174042013-02-04 Carlos O'Donell <carlos@redhat.com>
17405
17406 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
17407 else clause and remove check for non-standard endianness.
17408
b83bbec4
DM
174092013-02-04 David S. Miller <davem@davemloft.net>
17410
17411 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17412
6277fdab
JM
174132013-02-04 Joseph Myers <joseph@codesourcery.com>
17414
17415 [BZ #13550]
17416 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
17417 (__ubp_memchr): Remove prototype.
17418 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
17419 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
17420 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
17421 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
17422 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
17423 Remove alias.
17424 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
17425 (__ubp_memchr): Likewise.
17426 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
17427 (__ubp_memchr): Likewise.
17428 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
17429 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
17430 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
17431 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
17432 CHECK_STRING.
17433 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
17434 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
17435 (__getcwd): Do not use CHECK_STRING.
17436 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
17437 <bp-checks.h>.
17438 (__real_chown): Do not use CHECK_STRING.
17439 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
17440 <bp-checks.h>.
17441 (fchownat): Do not use CHECK_STRING.
17442 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
17443 CHECK_STRING.
17444 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
17445 <bp-checks.h>.
17446 (__lchown): Do not use CHECK_STRING.
17447 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
17448 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
17449 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
17450 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
17451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
17452 include <bp-checks.h>.
17453 (truncate64): Do not use CHECK_STRING.
17454 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
17455 <bp-checks.h>.
17456 (__real_chown): Do not use CHECK_STRING.
17457 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
17458 <bp-checks.h>.
17459 (__lchown): Do not use CHECK_STRING.
17460 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
17461 <bp-checks.h>.
17462 (__chown): Do not use CHECK_STRING.
17463 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
17464 <bp-checks.h>.
17465 (truncate64): Do not use CHECK_STRING.
17466 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
17467 Likewise.
17468 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
17469 (__xmknod): Do not use CHECK_STRING.
17470 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
17471 <bp-checks.h>.
17472 (__xmknodat): Do not use CHECK_STRING.
17473 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
17474 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
17475
903ae060
AS
174762013-02-04 Andreas Schwab <schwab@suse.de>
17477
17478 [BZ #14142]
17479 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
17480 * include/netdb.h: Likewise for h_errno.
17481 * elf/tst-stackguard1.c: Include <tls.h>.
17482
542f9466
JK
174832013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
17484
17485 * elf/link.h (struct link_map): Extend the l_addr comment.
17486 * include/link.h (struct link_map): Likewise.
17487
e782a927
JM
174882013-02-01 Joseph Myers <joseph@codesourcery.com>
17489
17490 [BZ #13550]
17491 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
17492 (BOUNDED_1): Remove macro.
17493 * debug/backtrace.c: Don't include <bp-checks.h>.
17494 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
17495 (__backtrace): Likewise.
17496 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
17497 <bp-checks.h>.
17498 (__backtrace): Don't use BOUNDED_1.
17499 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
17500 <bp-checks.h>.
17501 (__backtrace): Don't use BOUNDED_1.
17502 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
17503 (__backtrace): Don't use BOUNDED_1.
17504 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
17505 (shmat): Don't use BOUNDED_N.
17506
8cf28c5e
JM
175072013-01-31 Joseph Myers <joseph@codesourcery.com>
17508
3a7ac8a0
JM
17509 [BZ #13550]
17510 * sysdeps/generic/bp-start.h: Remove file.
17511 * csu/libc-start.c: Don't include <bp-start.h>.
17512 (LIBC_START_MAIN): Set up __environ directly instead of using
17513 INIT_ARGV_and_ENVIRON.
17514 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
17515 <bp-start.h>.
17516
f3499f95
JM
17517 [BZ #13550]
17518 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
17519 definitions.
17520 (CHECK_FCNTL): Likewise.
17521 (CHECK_N_PAGES): Likewise.
17522
32a45bea
JM
17523 [BZ #13550]
17524 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
17525 definitions.
17526 (CHECK_SIGSET_NULL_OK): Likewise.
17527 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
17528 <bp-checks.h>.
17529 (sigpending): Don't use CHECK_SIGSET.
17530 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
17531 <bp-checks.h>.
17532 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
17533 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
17534 <bp-checks.h>.
17535 (do_sigsuspend): Don't use CHECK_SIGSET.
17536 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
17537 use CHECK_SIGSET.
17538 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
17539 (do_sigwait): Don't use CHECK_SIGSET.
17540 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
17541 use CHECK_SIGSET.
17542 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
17543 include <bp-checks.h>.
17544 (sigpending): Don't use CHECK_SIGSET.
17545 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
17546 include <bp-checks.h>.
17547 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
17548 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
17549 <bp-checks.h>.
17550 (sigpending): Don't use CHECK_SIGSET.
17551 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
17552 <bp-checks.h>.
17553 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
17554
2e8a5c8c
JM
17555 [BZ #13550]
17556 * sysdeps/generic/bp-semctl.h: Remove file.
17557 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
17558 <bp-checks.h> and <bp-semctl.h>.
17559 (__old_semctl): Don't use CHECK_SEMCTL.
17560 (__new_semctl): Likewise.
17561 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
17562 and <bp-semctl.h>.
17563 (__old_semctl): Don't use CHECK_SEMCTL.
17564 (__new_semctl): Likewise.
17565 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
17566 <bp-checks.h> and <bp-semctl.h>.
17567 (__old_semctl): Don't use CHECK_SEMCTL.
17568 (__new_semctl): Likewise.
17569 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
17570 <bp-checks.h> and <bp-semctl.h>.
17571 (semctl): Don't use CHECK_SEMCTL.
17572
c2d54929
JM
17573 [BZ #13550]
17574 * Makerules (elide-bp-thunks): Remove variable.
17575 (elide-routines.oS): Don't use $(elide-bp-thunks).
17576 (elide-routines.os): Likewise.
17577 (elide-routines.o): Likewise.
17578 (elide-routines.op): Likewise.
17579 (elide-routines.og): Likewise.
17580 (objects): Don't use $(bp-thunks).
17581 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
17582 include.
17583 (common-generated): Do not add s-proto-bp.d.
17584 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
17585 (int): Likewise.
17586 (typ): Likewise.
17587 Do not generate makefile rules for bounded-pointer thunks.
17588 * sysdeps/generic/bp-thunks.h: Remove file.
17589 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
17590 * sysdeps/unix/s-proto-bp.S: Likewise.
17591
8cf28c5e
JM
17592 [BZ #15062]
17593 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
17594 parts of result separately when argument is not close to line from
17595 -i to i and one part of argument is small.
17596 * math/k_casinhf.c (__kernel_casinhf): Likewise.
17597 * math/k_casinhl.c (__kernel_casinhl): Likewise.
17598 * math/libm-test.inc (cacos_test): Add more tests.
17599 (casin_test): Likewise.
17600 (casinh_test): Likewise.
17601 * sysdeps/i386/fpu/libm-test-ulps: Update.
17602 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17603
c4e33b8d
DM
176042013-01-31 David S. Miller <davem@davemloft.net>
17605
17606 * po/de.po: Update from translation team.
17607
3b60b421
MK
176082013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
17609
17610 * time/tzfile.c: Include stdint.h for SIZE_MAX.
17611
bb931195
TS
176122013-01-25 Thomas Schwinge <thomas@codesourcery.com>
17613
b5a5da23
TS
17614 * configure.in (_AC_PROG_CC_C89): New definition.
17615 * configure: Regenerate.
17616
bb931195
TS
17617 * configure.in (AC_PROG_CPP): New definition.
17618 * configure: Regenerate.
17619
8c53a12c
JM
176202013-01-23 Joseph Myers <joseph@codesourcery.com>
17621
17622 * debug/tst-backtrace.h: New file.
17623 * debug/tst-backtrace2.c: Include tst-backtrace.h.
17624 (ret): Remove variable.
17625 (x): Likewise.
17626 (FAIL): Remove macro.
17627 (NO_INLINE): Likewise.
17628 (fn1): Use match function instead of strstr.
17629 * debug/tst-backtrace3.c: Include tst-backtrace.h.
17630 (ret): Remove variable.
17631 (x): Likewise.
17632 (FAIL): Remove macro.
17633 (NO_INLINE): Likewise.
17634 (fn): Use match function instead of strstr.
17635 * debug/tst-backtrace4.c: Include tst-backtrace.h.
17636 (ret): Remove variable.
17637 (x): Likewise.
17638 (FAIL): Remove macro.
17639 (NO_INLINE): Likewise.
17640 (handle_signal): Use match function instead of strstr.
17641 * debug/tst-backtrace5.c: Include tst-backtrace.h.
17642 (ret): Remove variable.
17643 (x): Likewise.
17644 (FAIL): Remove macro.
17645 (NO_INLINE): Likewise.
17646 (handle_signal): Use match function instead of strstr.
17647
4858fa2a
RM
176482013-01-23 Roland McGrath <roland@hack.frob.com>
17649
17650 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
17651
bae8e7f5
DM
176522013-01-23 David S. Miller <davem@davemloft.net>
17653
17654 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
17655 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
17656 argument of CAS if possible.
17657 * sysdeps/sparc/sparc64/bits/atomic.h
17658 (__arch_compare_and_exchange_val_32_acq): Likewise.
17659 (__arch_compare_and_exchange_val_64_acq): Likewise.
17660
9cbbc4ae
PT
176612013-01-23 Pino Toscano <toscano.pino@tiscali.it>
17662
17663 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
17664 * sysdeps/posix/ulimit.c: ... this.
92a601b8 17665 Include <limits.h>.
67b3f58c 17666 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 17667
5655a0b5
AC
176682013-01-23 Adam Conrad <adconrad@0c3.net>
17669
17670 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
17671 (LDFLAGS-tst-array5): Likewise.
17672
052aff95
JM
176732013-01-23 Joseph Myers <joseph@codesourcery.com>
17674
17675 [BZ #15036]
17676 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
17677 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
17678 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
17679 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
17680
7c1e01aa
DM
176812013-01-21 David S. Miller <davem@davemloft.net>
17682
17683 * sysdeps/sparc/backtrace.c: New file.
17684 * sysdeps/sparc/sparc32/backtrace.h: New file.
17685 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
17686 * sysdeps/sparc/sparc64/backtrace.h: New file.
17687 * sysdeps/sparc/sparc64/backtrace.c: Delete.
17688 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
17689 -funwind-tables.
17690
ab087e0a
AS
176912013-01-21 Andreas Schwab <schwab@suse.de>
17692
17693 [BZ #15020]
17694 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
17695 closed its stdout.
17696
ed689c2f
AS
176972013-01-20 Andreas Schwab <schwab@linux-m68k.org>
17698
17699 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
17700 "mpa2.h".
17701 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
17702
31d470ac
JM
177032013-01-18 Joseph Myers <joseph@codesourcery.com>
17704 Mark Mitchell <mark@codesourcery.com>
17705 Tom de Vries <tom@codesourcery.com>
17706 Paul Pluzhnikov <ppluzhnikov@google.com>
17707
17708 * debug/tst-backtrace2.c: New file.
17709 * debug/tst-backtrace3.c: Likewise.
17710 * debug/tst-backtrace4.c: Likewise.
17711 * debug/tst-backtrace5.c: Likewise.
17712 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
17713 (CFLAGS-tst-backtrace3.c): Likewise.
17714 (CFLAGS-tst-backtrace4.c): Likewise.
17715 (CFLAGS-tst-backtrace5.c): Likewise.
17716 (LDFLAGS-tst-backtrace2): Likewise.
17717 (LDFLAGS-tst-backtrace3): Likewise.
17718 (LDFLAGS-tst-backtrace4): Likewise.
17719 (LDFLAGS-tst-backtrace5): Likewise.
17720 (tests): Add new tests tst-backtrace2, tst-backtrace3,
17721 tst-backtrace4 and tst-backtrace5.
17722
90567f30 177232013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
17724 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17725
17726 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
17727 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
17728 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
17729 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
17730 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
17731 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
17732 "+r" and remove output regs list as redundant. Add explicit inline
17733 asm to specify register of return val to work around compiler codegen
17734 bug. Remove (int) cast on return value. Add return type parameter to
17735 use in macro so that this macro does not truncate return value for
17736 64-bit values.
17737 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
17738 pass to INTERNAL_VSYSCALL_NCS.
17739 (INLINE_VSYSCALL): Add 'long int' as return type to
17740 INTERNAL_VSYSCALL_NCS macro invocation.
17741 (INTERNAL_VSYSCALL): Add 'long int' as return type to
17742 INTERNAL_VSYSCALL_NCS macro invocation.
17743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
17744
d3b9ea61
SP
177452013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
17746
0b57daeb
SP
17747 [BZ #14496]
17748 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
17749 Fix application of SIMD FP exception mask.
17750
caa99d06
SP
17751 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
17752 mp_no from a power of two.
17753 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
17754 __mpexp_twomm1. Use __pow_mp.
17755
d3b9ea61
SP
17756 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
17757 multiplication.
17758
1dbaee3c
DM
177592013-01-17 David S. Miller <davem@davemloft.net>
17760
17761 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17762
728d7b43
JM
177632013-01-17 Joseph Myers <joseph@codesourcery.com>
17764
17765 [BZ #15023]
17766 * include/complex.h: Condition contents on [!_COMPLEX_H].
17767 (__kernel_casinhf): New prototype.
17768 (__kernel_casinh): Likewise.
17769 (__kernel_casinhl): Likewise.
17770 * math/Makefile (libm_calls): Add k_casinh.
17771 * math/k_casinh.c: New file.
17772 * math/k_casinhf.c: Likewise.
17773 * math/k_casinhl.c: Likewise.
17774 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
17775 finite nonzero arguments.
17776 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
17777 finite nonzero arguments.
17778 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
17779 finite nonzero arguments.
17780 * math/s_casinh.c: Do not include <float.h>.
17781 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
17782 * math/s_casinhf.c: Do not include <float.h>.
17783 (__casinhf): Move code for finite nonzero arguments to
17784 k_casinhf.c.
17785 * math/s_casinhl.c: Do not include <float.h>.
17786 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
17787 redefine.
17788 (__casinhl): Move code for finite nonzero arguments to
17789 k_casinhl.c.
17790 * math/libm-test.inc (cacos_test): Add more tests.
17791 * sysdeps/i386/fpu/libm-test-ulps: Update.
17792 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17793
2a26ef3a
PT
177942013-01-17 Pino Toscano <toscano.pino@tiscali.it>
17795
17796 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
17797 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
17798 [!HAVE_MREMAP]: Remove [defined linux] case.
17799 * malloc/arena.c: Do not include <malloc-sysdep.h>.
17800
a897655d
SP
178012013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
17802
17803 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
17804
881ebe89 178052013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
17806
17807 * elf/elf.h (R_386_SIZE32): New relocation.
17808 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
17809 R_386_SIZE32.
17810 (elf_machine_rela): Likewise.
17811 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
17812 R_X86_64_SIZE64 and R_X86_64_SIZE32.
17813
59981e9b
JM
178142013-01-17 Joseph Myers <joseph@codesourcery.com>
17815
17816 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
17817 (FP_FAST_FMA): Do not define.
17818 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
17819 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
17820 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
17821 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
17822 !_SOFT_FLOAT]: Likewise.
17823 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
17824 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
17825 value.
17826 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
17827 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
17828 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
17829 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
17830 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
17831 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
17832 file.
17833
cfa8054f
AS
178342013-01-16 Andreas Schwab <schwab@suse.de>
17835
17836 [BZ #14327]
17837 * include/stdlib.h (__mktemp): Add declaration.
17838 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
17839 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
17840
dd930cc5
SP
178412013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
17842
881ebe89
SP
17843 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
17844 definitions.
17845 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
17846 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
17847 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
17848 definitions here.
17849 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
17850 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
17851 definitions.
17852 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
17853 and ONE.
17854 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
17855 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
17856 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
17857 definitions.
17858 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
17859 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
17860 definitions.
17861 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 17862
dd930cc5
SP
17863 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
17864
c19a9f89
DM
178652013-01-15 David S. Miller <davem@davemloft.net>
17866
1aa61767
DM
17867 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
17868 trunc{,f} to libm-sysdep_routes.
17869 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
17870 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
17871 file.
17872 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
17873 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
17874 file.
17875 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
17876 file.
17877 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
17878 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
17879 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
17880 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
17881 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
17882 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
17883 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
17884 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
17885
c42d5e98
DM
17886 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
17887 nearbyint{,f} to libm-sysdep_routes.
17888 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
17889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
17890 New file.
17891 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
17892 file.
17893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
17894 New file.
17895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
17896 file.
17897 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
17898 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
17899 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
17900 file.
17901 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
17902 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
17903 file.
17904 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
17905 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
17906 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
17907
c19a9f89
DM
17908 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
17909 libc_feholdexcept and libc_fesetenv.
17910
357679d2
MF
179112013-01-15 Mike Frysinger <vapier@gentoo.org>
17912
17913 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
17914
65a82e3d
DM
179152013-01-14 David S. Miller <davem@davemloft.net>
17916
8b954ab9
DM
17917 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
17918 (SPARC_ASM_VIS2_IFUNC): Likewise.
17919 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
17920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
17921 use of 'siam' instruction.
17922 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
17923 Likewise.
17924 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
17925 Likewise.
17926 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
17927 Likewise.
17928 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
17929 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
17930 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
17931 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
17932 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
17933 file.
17934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
17935 file.
17936 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
17937 file.
17938 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
17939 file.
17940 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
17941 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
17942 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
17943 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
17944 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
17945 new VIS2 routines.
17946 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
17947 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
17948 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
17949 Likewise.
17950 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
17951 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
17952 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
17953 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
17954 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
17955 routines to libm-sysdep_routines.
17956 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
17957
65a82e3d
DM
17958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
17959 fdim/fdimf to libm-sysdep_routines.
17960 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
17961 file.
17962 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
17963 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
17964 file.
17965 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
17966 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
17967 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
17968 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
17969 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
17970 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
17971 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
17972
e34ab705
SP
179732013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
17974
2a91b573
SP
17975 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
17976 to optimize copies.
17977
1066a534
SP
17978 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
17979 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
17980 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
17981
e34ab705
SP
17982 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
17983 local variable MPTWO.
17984 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
17985 Likewise.
17986
aba5e596
MF
179872013-01-13 Mike Frysinger <vapier@gentoo.org>
17988
17989 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
17990 GLOB_NOESCAPE.
17991
e557e9e5
MF
179922013-01-13 Mike Frysinger <vapier@gentoo.org>
17993
17994 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
17995
0428cec9
MF
179962013-01-13 Mike Frysinger <vapier@gentoo.org>
17997
17998 * manual/pattern.texi (glob_t): Document gl_flags.
17999 (glob64_t): Likewise.
18000
8794a964
DM
180012013-01-11 David S. Miller <davem@davemloft.net>
18002
66438c3f
RM
18003 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
18004 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
18005 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
18006 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
18007 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
18008 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
18009 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
18010 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
18011 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
18012 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
18013 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
18014 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
18015 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
18016
4ae4244d
DM
18017 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
18018 sparc V9 rather than using V8 code.
18019 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
18020 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
18021
8794a964
DM
18022 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
18023 Move to...
18024 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
18025 Here.
18026
6270516e
RM
180272013-01-11 Roland McGrath <roland@hack.frob.com>
18028
18029 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
18030 not in the main loop.
18031 * configure: Regenerated.
18032
6a57d931
JM
180332013-01-11 Joseph Myers <joseph@codesourcery.com>
18034
18035 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
18036 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
18037 to just #else.
18038 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
18039 [!__GLIBC_HAVE_LONG_LONG] case.
18040 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
18041 condition to just #else.
18042 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
18043 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
18044 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
18045 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
18046 unconditional.
18047 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
18048 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
18049 #elif condition to just #else.
18050 * sysdeps/unix/sysv/linux/sys/sysmacros.h
18051 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
18052 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
18053 #elif condition to just #else.
18054
0e8529e9
SE
180552013-01-11 Steve Ellcey <sellcey@mips.com>
18056
18057 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
18058 (EF_MIPS_ARCH_64): Fix value.
18059 (EF_MIPS_ARCH_32R2): New.
18060 (EF_MIPS_ARCH_64R2): New.
18061
740b3dbe
L
180622013-01-11 H.J. Lu <hongjiu.lu@intel.com>
18063
18064 * Makeconfig (+link-pie-before-libc): New.
18065 (+link-pie-after-libc): Likewise.
18066 (+link-pie-tests): Likewise.
18067 (+link-pie): Rewritten.
18068 (link-before-libc): Remove $(config-LDFLAGS).
18069 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
18070 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
18071 (config-LDFLAGS): Renamed to ...
18072 (rtld-LDFLAGS): This.
18073 (rtld-tests-LDFLAGS): New macro.
18074 (link-libc-rpath-link): Likewise.
18075 (link-libc-tests-rpath-link): Likewise.
18076 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
18077 (link-libc): Prepand $(link-libc-rpath-link).
18078 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
18079 (test-program-prefix): New macro.
18080 (test-via-rtld-prefix): Likewise.
18081 (test-program-cmd): Likewise.
18082 (host-test-program-cmd): Likewise.
18083 * Makefile ($(common-objpfx)testrun.sh): Replace
18084 $(run-program-prefix) with $(test-program-prefix).
18085 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
18086 $(rtld-LDFLAGS).
18087 ($(common-objpfx)shlib.lds): Likewise.
18088 (build-module-helper): Likewise.
18089 ($(common-objpfx)format.lds): Likewise.
18090 * Rules (binaries-pie-tests): New.
18091 (binaries-pie-notests): Likewise.
18092 (binaries-pie): Rewritten.
18093 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
18094 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
18095 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
18096 (make-test-out): Replace $(host-built-program-cmd) with
18097 $(host-test-program-cmd).
18098 * config.make.in (build-hardcoded-path-in-tests): New variable.
18099 * configure.in (--enable-hardcoded-path-in-tests): New configure
18100 option.
18101 (hardcoded_path_in_tests): New AC_SUBST.
18102 * configure: Regenerated.
18103 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
18104 $(built-program-cmd) with $(test-program-cmd).
18105 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
18106 (test_program_cmd): This.
18107 * elf/Makefile ($(objpfx)order.out): Run test with
18108 $(test-program-prefix).
18109 ($(objpfx)order2.out): Likewise.
18110 ($(objpfx)tst-initorder.out): Likewise.
18111 ($(objpfx)tst-initorder2.out): Likewise.
18112 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
18113 $(test-program-cmd).
18114 ($(objpfx)tst-array1-static.out): Likewise.
18115 ($(objpfx)tst-array2.out): Likewise.
18116 ($(objpfx)tst-array3.out): Likewise.
18117 ($(objpfx)tst-array4.out): Likewise.
18118 ($(objpfx)tst-array5.out): Likewise.
18119 ($(objpfx)tst-array5-static.out): Likewise.
18120 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
18121 $(test-program-cmd).
18122 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
18123 $(run-program-prefix) with $(test-program-prefix).
18124 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
18125 (test_program_prefix): This.
18126 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
18127 $(run-program-prefix) with $(test-program-prefix).
18128 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
18129 (test_program_prefix): This.
18130 * iconvdata/tst-tables.sh: Likewise.
18131 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
18132 $(run-program-prefix) with $(test-program-prefix).
18133 ($(objpfx)tst-translit.out): Likewise.
18134 ($(objpfx)tst-gettext2.out): Likewise.
18135 ($(objpfx)tst-gettext4.out): Likewise.
18136 ($(objpfx)tst-gettext6.out): Likewise.
18137 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
18138 (test_program_prefix): This.
18139 * intl/tst-gettext2.sh: Likewise.
18140 * intl/tst-gettext4.sh Likewise.
18141 * intl/tst-gettext6.sh: Likewise.
18142 * intl/tst-translit.sh: Likewise.
18143 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
18144 with $(test-program-cmd).
18145 * libio/Makefile ($(objpfx)test-freopen.out): Replace
18146 $(run-program-prefix) with $(test-program-prefix).
18147 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
18148 (test_program_prefix): This.
18149 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
18150 $(run-program-prefix) with $(test-program-prefix).
18151 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
18152 (test_program_prefix): This.
18153 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
18154 * posix/Makefile ($(objpfx)globtest.out): Replace
18155 $(run-via-rtld-prefix) and $(test-wrapper) with
18156 $(test-program-prefix) and $(test-via-rtld-prefix).
18157 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
18158 $(test-program-prefix).
18159 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
18160 $(host-test-program-cmd).
18161 (tst-spawn-ARGS): Likewise.
18162 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
18163 $(test-program-prefix).
18164 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
18165 (test_via_rtld_prefix): This.
18166 (test_wrapper): Renamed to ...
18167 (test_program_prefix): This.
18168 (run_program_prefix): Replaced by test_program_prefix.
18169 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
18170 (test_program_prefix): This.
18171 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
18172 with $(host-test-program-cmd).
18173 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
18174 $(run-program-prefix) with $(test-program-prefix).
18175 ($(objpfx)tst-printf.out): Likewise.
18176 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
18177 $(test-program-cmd).
18178 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
18179 (test_program_prefix): This.
18180 * stdio-common/tst-unbputc.sh: Likewise.
18181 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
18182 $(run-program-prefix) with $(test-program-prefix).
18183 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
18184 (test_program_prefix): This.
18185 * string/Makefile ($(objpfx)tst-svc.out): Replace
18186 $(built-program-cmd) with $(test-program-cmd).
18187
c6fe55cf
AJ
181882013-01-11 Andreas Jaeger <aj@suse.de>
18189
18190 [BZ #15003]
18191 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
18192 value. Sync with Linux 3.7.
18193
9e6919c8
DM
181942013-01-10 David S. Miller <davem@davemloft.net>
18195
18196 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
18197 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
18198 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
18199
1c9f1a02
RM
182002013-01-10 Roland McGrath <roland@hack.frob.com>
18201
18202 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
18203 never set.
18204 * configure: Regenerated.
18205
b9de2dde
DM
182062013-01-10 David S. Miller <davem@davemloft.net>
18207
18208 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
18209 sparc V9 rather than using V8 code.
18210 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
18211 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
18212
e7f68ef4
RM
182132013-01-10 Roland McGrath <roland@hack.frob.com>
18214
18215 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
18216 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
18217 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
18218 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
18219 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
18220 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
18221 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
18222 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
18223 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
18224 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
18225 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
18226 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
18227 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
18228 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
18229 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
18230 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
18231 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
18232 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
18233 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
18234 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
18235 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
18236 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
18237 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
18238 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
18239 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
18240 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
18241 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
18242
5a47cc9c
DM
182432013-01-10 David S. Miller <davem@davemloft.net>
18244
18245 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18246
4cf8f209
L
182472013-01-10 H.J. Lu <hongjiu.lu@intel.com>
18248
18249 * posix/Makefile (tests-static): New variable.
18250 (tests): Add $(tests-static).
18251 (tst-exec-static-ARGS): New variable.
18252 (tst-spawn-static-ARGS): Likewise.
18253 * posix/tst-exec-static.c: New file.
18254 * posix/tst-spawn-static.c: Likewise.
18255 * posix/tst-exec.c: Support run directly.
18256 * posix/tst-spawn.c: Likewise.
18257
fed0faa1
JM
182582013-01-10 Joseph Myers <joseph@codesourcery.com>
18259
828beb13
JM
18260 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
18261 long.
18262 * math/bits/mathcalls.h (llrint): Likewise.
18263 (llround): Likewise.
18264 * stdlib/stdlib.h (struct drand48_data): Likewise.
18265 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
18266 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
18267 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
18268 Likewise.
18269 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
18270 Likewise.
18271 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
18272 (elf_greg_t): Likewise.
18273 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
18274 (__jmp_buf): Likewise.
18275 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
18276 definitions.
18277 (llrint): Likewise, for all definitions.
18278 (llrintl): Likewise.
18279
fed0faa1
JM
18280 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
18281 Remove [__GNUC__] condition.
18282 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
18283 condition to just [__USE_ISOC99].
18284 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
18285
1a20cb20
L
182862013-01-10 H.J. Lu <hongjiu.lu@intel.com>
18287
18288 [BZ #14200]
18289 * sysdeps/unix/sysv/linux/x86/bits/environments.h
18290 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
18291 defined.
18292 (_POSIX_V6_ILP32_OFF32): Likewise.
18293 (_XBS5_ILP32_OFF32): Likewise.
18294 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
18295 (__ILP32_OFFBIG_LDFLAGS): Likewise.
18296
751b85f7
SP
182972013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18298
7490eb81
SP
18299 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
18300
751b85f7
SP
18301 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
18302 doubles __mpexp_twomm1. Adjust usage.
18303 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
18304 Remove.
18305
988197f0
AS
183062013-01-10 Andreas Schwab <schwab@suse.de>
18307
18308 [BZ #14964]
18309 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
18310 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
18311
e83d7298
DM
183122013-01-09 David S. Miller <davem@davemloft.net>
18313
034ed64b 18314 [BZ #15003]
e83d7298
DM
18315 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
18316 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
18317 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
18318 TCP_FASTOPEN): Define.
18319 (tcp_repair_opt): New structure.
18320 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
18321 enum values.
18322 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
18323 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
18324 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
18325 (tcp_cookie_transactions): New structure.
18326
d5e0b9bd
AB
183272013-01-09 Anton Blanchard <anton@samba.org>
18328
18329 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
18330 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
18331 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
18332 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
18333
0c07e3ea
JM
183342013-01-09 Joseph Myers <joseph@codesourcery.com>
18335
18336 * include/features.h (__USE_ANSI): Remove.
18337
232f7002
RM
183382013-01-09 Roland McGrath <roland@hack.frob.com>
18339
ad98e30c
RM
18340 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
18341
232f7002
RM
18342 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
18343
950c99ca
SP
183442013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
18345
b5792741
SP
18346 * sysdeps/s390/fpu/libm-test-ulps: Update.
18347
47cf2278
SP
18348 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18349
950c99ca
SP
18350 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
18351 (__acr): Likewise.
18352 (__cpy): Likewise.
18353 (norm): Likewise.
18354 (denorm): Likewise.
18355 (__mp_dbl): Likewise.
18356 (__dbl_mp): Likewise.
18357 (add_magnitudes): Likewise.
18358 (sub_magnitudes): Likewise.
18359 (__add): Likewise.
18360 (__sub): Likewise.
18361 (__mul): Likewise.
18362 (__inv): Likewise.
18363 (__dvd): Likewise.
18364 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
18365 (__acr): Likewise.
18366 (__cpy): Likewise.
18367 (norm): Likewise.
18368 (denorm): Likewise.
18369 (__mp_dbl): Likewise.
18370 (__dbl_mp): Likewise.
18371 (add_magnitudes): Likewise.
18372 (sub_magnitudes): Likewise.
18373 (__add): Likewise.
18374 (__sub): Likewise.
18375 (__mul): Likewise.
18376 (__inv): Likewise.
18377 (__dvd): Likewise.
18378 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
18379 (__acr): Likewise.
18380 (__cpy): Likewise.
18381 (norm): Likewise.
18382 (denorm): Likewise.
18383 (__mp_dbl): Likewise.
18384 (__dbl_mp): Likewise.
18385 (add_magnitudes): Likewise.
18386 (sub_magnitudes): Likewise.
18387 (__add): Likewise.
18388 (__sub): Likewise.
18389 (__mul): Likewise.
18390 (__inv): Likewise.
18391 (__dvd): Likewise.
18392
eede9df9
JM
183932013-01-08 Joseph Myers <joseph@codesourcery.com>
18394
18395 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
18396 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
18397 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
18398 2 && __USE_EXTERN_INLINES]: Likewise.
18399
c40ea3d9
AJ
184002013-01-08 Andreas Jaeger <aj@suse.de>
18401
18402 [BZ# 14985]
18403 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
18404 Remove.
18405 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
18406 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
18407
2ccdea26
AB
184082013-01-07 Anton Blanchard <anton@samba.org>
18409
18410 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
18411 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
18412 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
18413 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
18414 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
18415 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
18416 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
18417 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
18418 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
18419 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
18420 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
18421 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
18422 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
18423 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18424 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
18425 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
18426 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
18427 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
18428 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
18429 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
18430 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
18431 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
18432 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
18433 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
18434 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
18435 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
18436 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
18437 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
18438 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
18439 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
18440 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
18441 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18442 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
18443 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
18444 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
18445 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
18446 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
18447 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
18448 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
18449 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
18450 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
18451 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
18452 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
18453
a9708fed
JM
184542013-01-07 Joseph Myers <joseph@codesourcery.com>
18455
375607b9
JM
18456 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
18457 (__MALLOC_PMT): Likewise.
18458 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
18459 [__GNUC__], only on [_LIBC].
18460 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
18461 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
18462 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
18463 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
18464 forward declaration.
18465 (realloc_hook_ini): Likewise.
18466 (memalign_hook_ini): Likewise.
18467 (__libc_memalign): Do not use __MALLOC_PMT in variable
18468 declaration.
18469 (__libc_valloc): Likewise.
18470 (__libc_pvalloc): Likewise.
18471 (__libc_calloc): Likewise.
18472 (__posix_memalign): Likewise.
18473
a9708fed
JM
18474 [BZ #14996]
18475 * math/s_casinh.c: Include <float.h>.
18476 (__casinh): Do not do computation with squaring and square root
18477 for large arguments.
18478 * math/s_casinhf.c: Include <float.h>.
18479 (__casinhf): Do not do computation with squaring and square root
18480 for large arguments.
18481 * math/s_casinhl.c: Include <float.h>.
18482 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
18483 (__casinhl): Do not do computation with squaring and square root
18484 for large arguments.
18485 * math/libm-test.inc (casin_test): Add more tests.
18486 (casinh_test): Likewise.
18487 * sysdeps/i386/fpu/libm-test-ulps: Update.
18488 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18489
afec409a
L
184902013-01-04 H.J. Lu <hongjiu.lu@intel.com>
18491
18492 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
18493 (__x86_64_raw_data_cache_size): Likewise.
18494 (__x86_64_data_cache_size_half): Likewise.
18495 (__x86_64_raw_data_cache_size_half): Likewise.
18496 (__x86_64_shared_cache_size): Likewise.
18497 (__x86_64_raw_shared_cache_size): Likewise.
18498 (__x86_64_shared_cache_size_half): Likewise.
18499 (__x86_64_raw_shared_cache_size_half): Likewise.
18500 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
18501 to ...
18502 (__x86_data_cache_size): This.
18503 (__x86_64_raw_data_cache_size): Renamed to ...
18504 (__x86_raw_data_cache_size): This.
18505 (__x86_64_data_cache_size_half): Renamed to ...
18506 (__x86_data_cache_size_half): This.
18507 (__x86_64_raw_data_cache_size_half): Renamed to ...
18508 (__x86_raw_data_cache_size_half): This.
18509 (__x86_64_shared_cache_size): Renamed to ...
18510 (__x86_shared_cache_size): This.
18511 (__x86_64_raw_shared_cache_size): Renamed to ...
18512 (__x86_raw_shared_cache_size): This.
18513 (__x86_64_shared_cache_size_half): Renamed to ...
18514 (__x86_shared_cache_size_half): This.
18515 (__x86_64_raw_shared_cache_size_half): Renamed to ...
18516 (__x86_raw_shared_cache_size_half): This.
18517 * sysdeps/x86_64/memcpy.S: Updated.
18518 * sysdeps/x86_64/memset.S: Likewise.
18519 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
18520 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
18521 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
18522
0b3986d0
DM
185232013-01-04 David S. Miller <davem@davemloft.net>
18524
18525 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18526
e47686e9
AS
185272013-01-04 Andreas Schwab <schwab@linux-m68k.org>
18528
d643bac1
AS
18529 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
18530 1 to avoid redefinition warning.
18531 (__USE_GNU): Don't define.
18532 (init_signaling_nan): Protoize.
18533
e47686e9
AS
18534 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18535
b18decba
SP
185362013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
18537
fffb407f
SP
18538 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
18539 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
18540 (__cpymn): Likewise.
18541 (norm): Remove commented code.
18542 (denorm): Likewise.
18543 (__mp_dbl): Likewise.
18544 (__inv): Likewise.
18545 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
18546 (__cpymn): Likewise.
18547 (norm): Remove commented code.
18548 (denorm): Likewise.
18549 (__mp_dbl): Likewise.
18550 (__inv): Likewise.
18551
b18decba
SP
18552 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
18553 mp_no value for 1.0 and 2.0.
18554 (norm): Use RADIXI instead of radixi.d.
18555 (denorm): Likewise.
18556 (__mul): Use 0.0 instead of zero.d.
18557 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
18558 mp_no value for 1.0 and 2.0.
18559 (norm): Use RADIXI instead of radixi.d.
18560 (denorm): Likewise.
18561 (__mul): Use 0.0 instead of zero.d.
18562
cdc1c96f
JM
185632013-01-04 Joseph Myers <joseph@codesourcery.com>
18564
18565 [BZ #14994]
18566 * math/s_casinh.c (__casinh): Reduce finite argument to first
18567 quadrant then set signs of results at the end.
18568 * math/s_casinhf.c (__casinhf): Likewise.
18569 * math/s_casinhl.c (__casinhl): Likewise.
18570 * math/libm-test.inc (casin_test): Add more tests.
18571 (casinh_test): Likewise.
18572 * sysdeps/i386/fpu/libm-test-ulps: Update.
18573 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18574
302913e1
SP
185752013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
18576
6420d207
SP
18577 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
18578
a9e48ab4
SP
18579 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
18580
b7837264
SP
18581 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
18582 declarations.
18583 (denorm): Likewise.
18584 (__mp_dbl): Likewise.
18585 (__inv): Likewise.
18586
f8af25d2
SP
18587 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
18588 and adjust the header comment.
18589
302913e1
SP
18590 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
18591 variable name from declaration.
18592
5d7dd1ca
L
185932013-01-03 H.J. Lu <hongjiu.lu@intel.com>
18594
18595 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18596 Initialize COMMON_CPUID_INDEX_7 element.
18597 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
18598 (CPUID_RTM): Likewise.
18599 (HAS_RTM): Likewise.
18600 (COMMON_CPUID_INDEX_7): New enum.
18601
2f5f40f4
AS
186022013-01-03 Andreas Schwab <schwab@linux-m68k.org>
18603
18604 [BZ #14981]
18605 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
18606 size is zero, record memory as freed.
18607
4056f4a0
AJ
186082013-01-03 Andreas Jaeger <aj@suse.de>
18609
18610 * po/ia.po: Add new Interlingua translation.
18611
ab15736f 186122012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
18613
18614 * locale/programs/localedef.c: Fix description of '--posix' flag.
18615
568035b7
JM
186162013-01-02 Joseph Myers <joseph@codesourcery.com>
18617
e6898b8d
JM
18618 * NEWS: Update dates in second copyright notice.
18619 * README: Update copyright dates in example.
18620 * manual/libc.texinfo: Update copyright dates.
18621 * scripts/test-installation.pl: Update copyright date in --version
18622 output.
18623
0e2f9562
JM
18624 * hurd/ctty-input.c: Fix copyright notice formatting.
18625 * hurd/ctty-output.c: Likewise.
18626 * hurd/dtable.c: Likewise.
18627 * hurd/hurd-raise.c: Likewise.
18628 * hurd/hurdprio.c: Likewise.
18629 * hurd/msgportdemux.c: Likewise.
18630 * misc/sys/file.h: Likewise.
18631 * misc/sys/ioctl.h: Likewise.
18632 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
18633 * sysdeps/mach/hurd/chdir.c: Likewise.
18634 * sysdeps/mach/hurd/fchdir.c: Likewise.
18635 * sysdeps/mach/hurd/rename.c: Likewise.
18636 * sysdeps/mach/hurd/rmdir.c: Likewise.
18637 * sysdeps/mach/hurd/seekdir.c: Likewise.
18638 * sysdeps/mach/hurd/setsid.c: Likewise.
18639 * sysdeps/posix/wait3.c: Likewise.
18640
568035b7
JM
18641 * All files with FSF copyright notices: Update copyright dates
18642 using scripts/update-copyrights.
18643 * intl/plural.c: Regenerated.
18644 * locale/programs/charmap-kw.h: Likewise.
18645 * locale/programs/locfile-kw.h: Likewise.
18646
da08f647
SP
186472013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
18648
0f5477af
SP
18649 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
18650 four values.
18651
44e0d4c2
SP
18652 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
18653 calculation loop and add branch prediction.
18654
4d55b4e5
SP
18655 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
18656 check access beyond bounds of m1np.
18657
da08f647
SP
18658 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
18659 MPTWO.
18660 (__inv): Remove local variable MPTWO to use the global
18661 constant.
18662 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
18663 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
18664 variable MPTWO.
18665 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
18666 MP3HALFS static const.
18667
8e051029
DM
186682013-01-01 David S. Miller <davem@davemloft.net>
18669
18670 * po/ca.po: Update from translation team.
18671
f4cf5f2d
JM
186722013-01-01 Joseph Myers <joseph@codesourcery.com>
18673
18674 * scripts/update-copyrights: New file.
18675 * Makeconfig: Reformat copyright notice.
18676 * ctype/ctype.h: Likewise.
18677 * debug/swprintf_chk.c: Likewise.
18678 * elf/dl-cache.c: Likewise.
18679 * elf/dl-debug.c: Likewise.
18680 * elf/dl-object.c: Likewise.
18681 * grp/initgroups.c: Likewise.
18682 * hurd/Makefile: Likewise.
18683 * hurd/hurd/signal.h: Likewise.
18684 * hurd/hurdfault.c: Likewise.
18685 * hurd/hurdioctl.c: Likewise.
18686 * hurd/hurdlookup.c: Likewise.
18687 * hurd/intr-msg.c: Likewise.
18688 * iconv/gconv_open.c: Likewise.
18689 * libio/swprintf.c: Likewise.
18690 * locale/lc-ctype.c: Likewise.
18691 * locale/nl_langinfo.c: Likewise.
18692 * mach/Machrules: Likewise.
18693 * mach/Makefile: Likewise.
18694 * malloc/obstack.h: Likewise.
18695 * manual/Makefile: Likewise.
18696 * manual/tsort.awk: Likewise.
18697 * misc/bits/stab.def: Likewise.
18698 * nis/nis_print_group_entry.c: Likewise.
18699 * nis/nis_table.c: Likewise.
18700 * nis/nss_compat/compat-pwd.c: Likewise.
18701 * nis/nss_compat/compat-spwd.c: Likewise.
18702 * po/Makefile: Likewise.
18703 * posix/fnmatch.c: Likewise.
18704 * posix/regex.h: Likewise.
18705 * resolv/Makefile: Likewise.
18706 * resolv/nss_dns/dns-network.c: Likewise.
18707 * resolv/res_hconf.c: Likewise.
18708 * scripts/gen-sorted.awk: Likewise.
18709 * soft-fp/soft-fp.h: Likewise.
18710 * stdio-common/printf.h: Likewise.
18711 * stdlib/monetary.h: Likewise.
18712 * stdlib/random.c: Likewise.
18713 * stdlib/random_r.c: Likewise.
18714 * sysdeps/generic/Makefile: Likewise.
18715 * sysdeps/gnu/Makefile: Likewise.
18716 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
18717 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18718 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
18719 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18720 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18721 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18722 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18723 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
18724 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18725 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18726 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
18727 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
18728 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
18729 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
18730 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
18731 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
18732 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
18733 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18734 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18735 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18736 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
18737 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
18738 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
18739 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
18740 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
18741 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
18742 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
18743 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
18744 * sysdeps/mach/hurd/errnos.awk: Likewise.
18745 * sysdeps/mach/hurd/fork.c: Likewise.
18746 * sysdeps/mach/hurd/getcwd.c: Likewise.
18747 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
18748 * sysdeps/mach/hurd/mmap.c: Likewise.
18749 * sysdeps/mach/hurd/utimes.c: Likewise.
18750 * sysdeps/mach/hurd/xmknod.c: Likewise.
18751 * sysdeps/posix/profil.c: Likewise.
18752 * sysdeps/posix/readdir_r.c: Likewise.
18753 * sysdeps/powerpc/bits/mathdef.h: Likewise.
18754 * sysdeps/powerpc/bits/setjmp.h: Likewise.
18755 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
18756 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
18757 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
18758 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
18759 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
18760 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
18761 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18762 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
18763 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
18764 * sysdeps/pthread/lio_listio.c: Likewise.
18765 * sysdeps/sparc/dl-procinfo.h: Likewise.
18766 * sysdeps/unix/i386/sysdep.S: Likewise.
18767 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
18768 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
18769 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
18770 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
18771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
18772 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
18773 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
18774 * sysdeps/unix/sysv/linux/speed.c: Likewise.
18775 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
18776 * sysdeps/wordsize-32/divdi3.c: Likewise.
18777 * time/sys/time.h: Likewise.
18778 * wcsmbs/Makefile: Likewise.
18779
0549fbba
DM
187802013-01-01 David S. Miller <davem@davemloft.net>
18781
a141f1a7
DM
18782 * po/fr.po: Update from translation team.
18783
0549fbba
DM
18784 * catgets/gencat.c: Update copyright year.
18785 * csu/version.c: Likewise.
18786 * debug/catchsegv.sh: Likewise.
18787 * debug/pcprofiledump.c: Likewise.
18788 * debug/xtrace.sh: Likewise.
18789 * elf/ldconfig.c: Likewise.
18790 * elf/ldd.bash.in: Likewise.
18791 * elf/pldd.c: Likewise.
18792 * elf/sotruss.ksh: Likewise.
18793 * elf/sprof.c: Likewise.
18794 * iconv/iconv_prog.c: Likewise.
18795 * iconv/iconvconfig.c: Likewise.
18796 * locale/programs/locale.c: Likewise.
18797 * locale/programs/localedef.c: Likewise.
18798 * login/programs/pt_chown.c: Likewise.
18799 * malloc/memusage.sh: Likewise.
18800 * malloc/memusagestat.c: Likewise.
18801 * malloc/mtrace.pl: Likewise.
18802 * nscd/nscd.c: Likewise.
18803 * nss/getent.c: Likewise.
18804 * nss/makedb.c: Likewise.
18805 * posix/getconf.c: Likewise.
18806
18ea052c
SP
188072012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
18808
18809 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
18810 numbers.
18811
9c89fca6
MF
188122012-12-30 Mike Frysinger <vapier@gentoo.org>
18813
18814 * math/bits/mathcalls.h (modf): Use __nonnull.
18815
085ec079
SP
188162012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
18817
18818 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
18819 (split): Use macro CN instead of the bare value.
18820 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
18821 could be used.
18822 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
18823 instead of the bare value.
18824 (power1): Likewise.
18825
6d9f97e1
SP
188262012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18827
d63f73be
SP
18828 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
18829 __ATAN_TWOM.
18830 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
18831
6d9f97e1
SP
18832 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
18833 their values.
18834 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
18835 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
18836 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
18837 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
18838
4c4febf5
AJ
188392012-12-28 Andreas Jaeger <aj@suse.de>
18840
af5843ef
AJ
18841 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
18842 values are from Linux 3.7.
18843
4c4febf5
AJ
18844 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
18845 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
18846
99136f82
SP
188472012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18848
2f216c3c 18849 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
18850 TRUE case.
18851
99136f82
SP
18852 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
18853 (norm): Likewise.
18854 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
18855 variables with preprocessor constants.
18856 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
18857 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
18858 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
18859
7fffbdff
BH
188602012-12-27 Bruno Haible <bruno@clisp.org>
18861
18862 [BZ #14317]
18863 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
18864 only if needed.
18865
b76eb5f0
SP
188662012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
18867
31a7fe5c
SP
18868 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
18869 and use variable directly.
18870 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
18871
b76eb5f0
SP
18872 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
18873 MPONE.
18874 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
18875 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
18876 variable MPONE.
18877 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
18878 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
18879 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
18880 include directive. Remove local variable MPONE.
18881 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
18882 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
18883 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
18884
2c8bfe7d
DM
188852012-12-25 David S. Miller <davem@davemloft.net>
18886
18887 * version.h (RELEASE): Set to "development".
18888 (VERSION): Set to "2.17.90".
18889 * NEWS: Add 2.18 section.
18890
147d03b0
DM
188912012-12-21 David S. Miller <davem@davemloft.net>
18892
18893 * po/hr.po: Update from translation team.
18894
a8ebb2b9
AK
188952012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18896
18897 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
18898
95b4f1b6
SE
188992012-12-19 Steve Ellcey <sellcey@mips.com>
18900
b2d94007 18901 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 18902
cedb2a90
MS
189032012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
18904
18905 * manual/contrib.texi (Contributors): Spelling correction.
18906
bbf527d6
DM
189072012-12-15 David S. Miller <davem@davemloft.net>
18908
18909 * po/ru.po: Update from translation team.
18910
bc38c906
DM
189112012-12-13 David S. Miller <davem@davemloft.net>
18912
85429b1a
DM
18913 * NEWS: Mention IFUNC testsuite enhancements.
18914
d283e353
DM
18915 * po/pl.po: Update from translation team.
18916 * po/bg.po: Likewise.
18917
bc38c906
DM
18918 * manual/contrib.texi (Contributors): Update entries for Hongjiu
18919 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
18920
a181b0d7
DM
189212012-12-11 David S. Miller <davem@davemloft.net>
18922
4641d57e
DM
18923 * po/sv.po: Update from translation team.
18924
f7bc6495
DM
18925 * po/vi.po: Update from translation team.
18926
6fc9048f
DM
18927 * po/cs.po: Update from translation team.
18928
a181b0d7
DM
18929 * po/de.po: Update from translation team.
18930 * po/eo.po: Likewise.
18931 * po/nl.po: Likewise.
18932
f70bfe80
SP
189332012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18934
3c8b4190
SP
18935 [BZ #14246]
18936 * manual/argp.texi (Argp Helper Functions): Move node to follow
18937 Argp Parsing State.
18938
f70bfe80
SP
18939 [BZ #14872]
18940 * manual/conf.texi (Limits on File System Capacity): Mention if
18941 terminating null is included in the max size.
18942
188f0adf
AJ
189432012-12-10 Andreas Jaeger <aj@suse.de>
18944
18945 * po/cs.po: Update from translation team.
18946
56e7d3ad
SP
189472012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
18948
18949 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
18950 void pointer and cast to uintptr_t.
18951 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
18952 path.
18953 * sysdeps/s390/s390-64/memcpy.S: Likewise.
18954 * sysdeps/s390/s390-64/memset.S: Likewise.
18955
76f2d2ea 189562012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
18957
18958 [BZ #14833]
18959 * menual/message.texi (Message Translation): Fix typos.
18960 (Helper programs for gettext): Likewise.
18961
67cbf9a2
AS
189622012-12-07 Andreas Schwab <schwab@linux-m68k.org>
18963
18964 [BZ #14898]
18965 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
18966 Change to -1.
18967
682d0e9a
DM
189682012-12-07 David S. Miller <davem@davemloft.net>
18969
18970 * po/libc.pot: Update.
18971
573cd484
RH
189722012-12-07 Richard Henderson <rth@redhat.com>
18973
7e9da188 18974 [BZ #10114]
573cd484
RH
18975 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
18976 normal/normal case to before the switch.
18977 (_FP_DIV): Likewise.
18978
e933a943
MF
189792012-12-06 Carlos O'Donell <carlos@systemhalted.org>
18980 Mike Frysinger <vapier@gentoo.org>
18981
18982 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
18983 check for __NR_fadvise64_64.
18984
82123268
CM
189852012-12-06 Chris Metcalf <cmetcalf@tilera.com>
18986
18987 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
18988 0, not just to plain "0" as a statement.
18989 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
18990 with cw.
18991
d9814526
JM
189922012-12-06 Joseph Myers <joseph@codesourcery.com>
18993
18994 * NEWS: Use sourceware.org in Bugzilla URL.
18995
7728c574
SP
189962012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
18997
f16946dd
SP
18998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
18999 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
19000
5704bbcb
SP
19001 * stdio-common/tst-put-error.c (do_test): Add newline to the
19002 padded test to ensure flush.
19003
17aa0516
JL
190042012-12-05 Jeff Law <law@redhat.com>
19005
19006 * sunrpc/etc.rpc (fedfs_admin): Add entry.
19007
363313b5
JM
190082012-12-05 Joseph Myers <joseph@codesourcery.com>
19009
effbd42a
JM
19010 * README: Don't refer to ports add-on as distributed separately.
19011 Mention AArch64 in list of systems supported in the ports add-on.
19012
87600365
JM
19013 * LICENSES: Add more non-FSF copyright and license notices.
19014
a0d7066a
JM
19015 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
19016 ((unused)).
19017
66ca5a5b
JM
19018 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
19019
363313b5
JM
19020 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
19021 10000 as width of padded output.
19022
b37984ad
JM
190232012-12-04 Joseph Myers <joseph@codesourcery.com>
19024
9003570a
JM
19025 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
19026
b37984ad
JM
19027 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
19028 variable LX with __attribute__ ((unused)).
19029 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
19030 Likewise.
19031 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
19032 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19033 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
19034 with __attribute__ ((unused)).
19035
c8df52ec
DM
190362012-12-04 David S. Miller <davem@abraco.davemloft.net>
19037
19038 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
19039
b3b099af
JM
190402012-12-04 Joseph Myers <joseph@codesourcery.com>
19041
c33aa6e3
JM
19042 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
19043 (CFLAGS-nldbl-acos.c): New variable.
19044 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
19045 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
19046 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
19047 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
19048 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
19049 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
19050 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
19051 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
19052 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
19053 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
19054 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
19055 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
19056 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
19057 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
19058 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
19059 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
19060 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
19061 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
19062 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
19063 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
19064 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
19065 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
19066 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
19067 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
19068 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
19069 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
19070 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
19071 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
19072 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
19073 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
19074 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
19075 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
19076 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
19077 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
19078 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
19079 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
19080 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
19081 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
19082 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
19083 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
19084 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
19085 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
19086 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
19087 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
19088 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
19089 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
19090 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
19091 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
19092 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
19093 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
19094 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
19095 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
19096 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
19097 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
19098 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
19099 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
19100 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
19101 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
19102 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
19103 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
19104 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
19105 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
19106 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
19107 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
19108 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
19109 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
19110 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
19111 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
19112 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
19113 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
19114 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
19115 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
19116 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
19117 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
19118 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
19119 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
19120 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
19121 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
19122 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
19123 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
19124 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
19125 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
19126 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
19127 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
19128 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
19129 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
19130 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
19131 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
19132 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
19133 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
19134 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
19135 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
19136 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
19137 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
19138 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
19139 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
19140 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
19141
20f0018d
JM
19142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
19143 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
19144
b3b099af
JM
19145 [BZ #14914]
19146 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
19147 whole low double instead of just low 47 bits when splitting values
19148 into two parts.
19149
029264d1
AM
191502012-12-03 Allan McRae <allan@archlinux.org>
19151
19152 * manual/stdio.texi (Predefined Printf Handlers): Remove
19153 @hsep and @vsep usage.
19154
c9d6789e
MF
191552012-12-03 Mike Frysinger <vapier@gentoo.org>
19156
19157 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
19158 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
19159
4b7634a5
JL
191602012-12-03 Jeff Law <law@redhat.com>
19161
19162 * time/sys/time.h (settimeofday): Do not mark TV argument
19163 as __nonnull.
19164
eb6cbd24
MF
191652012-12-01 Mike Frysinger <vapier@gentoo.org>
19166
19167 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
19168 when currently writing and seek to current position when not.
19169 * libio/Makefile (tests): Remove bug-fclose1.
19170 * libio/bug-fclose1.c: Delete.
19171
f638872a
JM
191722012-12-01 Joseph Myers <joseph@codesourcery.com>
19173
19174 * manual/arith.texi (feenableexcept): Fix typo.
19175 (fedisableexcept): Likewise.
19176
48085d14
RM
191772012-11-30 Roland McGrath <roland@hack.frob.com>
19178
19179 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
19180 second, differently-typed declaration, rather than a cast.
19181
1a538b9f
SP
191822012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
19183
19184 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
19185 * include/rpc/svc.h: ... here.
19186
d07f2ff1 191872012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
19188
19189 [BZ #13013]
19190 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
19191 depending n and resplen2 to catch cases where answer
19192 equals answerp2.
19193
c93ec1f0
CD
191942012-11-29 Carlos O'Donell <carlos@systemhalted.org>
19195
19196 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
19197 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
19198
37db69de
MF
191992012-11-29 Mike Frysinger <vapier@gentoo.org>
19200
19201 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
19202
e10c4e4f
RM
192032012-11-29 Roland McGrath <roland@hack.frob.com>
19204
19205 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
19206
2af1b328
JL
192072012-11-28 Jeff Law <law@redhat.com>
19208
19209 [BZ #13761]
19210 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
19211 dataset_temporary. Track alloca usage into alloca_used.
19212 If dataset is large allocate and release it via malloc/free.
19213
111db5b1
FW
192142012-06-04 Florian Weimer <fweimer@redhat.com>
19215
f06cc227 19216 [BZ #14197]
111db5b1
FW
19217 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
19218
dd694abd
DM
192192012-11-28 David S. Miller <davem@davemloft.net>
19220
19221 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19222
9984dd01
JM
192232012-11-28 Joseph Myers <joseph@codesourcery.com>
19224
19225 [BZ #14803]
19226 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
19227 of pi/2 rounded to nearest to 64 bits.
19228 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
19229 nearest to 64 bits.
19230 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
19231 bits.
19232
14bc93a9
JL
192332012-11-28 Jeff Law <law@redhat.com>
19234 Martin Osvald <mosvald@redhat.com>
19235
19236 [BZ #14889]
19237 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
19238 * sunrpc/svc.c: Include time.h.
19239 (__svc_accept_failed): New function.
19240 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
19241 any reason other than EINTR, call __svc_accept_failed.
19242 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
19243 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
19244
e3c6aa3a
AS
192452012-11-28 Andreas Schwab <schwab@suse.de>
19246
19247 * scripts/abilist.awk: Also handle indirect functions in .opd
19248 section.
19249
1bead169
JM
192502012-11-28 Joseph Myers <joseph@codesourcery.com>
19251
19252 [BZ #13881]
19253 * sysdeps/x86/fpu/powl_helper.c: New file.
19254 * sysdeps/x86/fpu/Makefile: Likewise.
19255 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
19256 (p3): New object.
19257 (__ieee754_powl): Use __powl_helper for finite arguments except
19258 integer exponents below 8.
19259 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
19260 (p3): New object.
19261 (__ieee754_powl): Use __powl_helper for finite arguments except
19262 integer exponents below 8.
19263 * math/libm-test.inc (pow_test): Add more tests and enable some
19264 previously disabled tests.
19265 * sysdeps/i386/fpu/libm-test-ulps: Update.
19266 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19267
0817d63d
SP
192682012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19269 Carlos O'Donell <carlos_odonell@mentor.com>
19270
19271 * nss/makedb.c (is_prime): Assert that input is odd and greater
19272 than 4. Note that fact in a comment too.
19273 (next_prime): Add 4 to input.
19274
de2fd463
SP
192752012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
19276
19277 [BZ #11741]
19278 * libio/Makefile (tests): Add test case tst-fwrite-error.
19279 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
19280 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
19281 * libio/tst-fwrite-error.c: New test case.
19282
c515fb51
L
192832012-11-26 H.J. Lu <hongjiu.lu@intel.com>
19284
19285 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
19286 before casting to void *.
19287 * include/libc-internal.h (__pointer_type): New macro.
19288 (__integer_if_pointer_type_sub): Likewise.
19289 (__integer_if_pointer_type): Likewise.
19290 (cast_to_integer): Likewise.
19291 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
19292 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
19293 before casting to atomic64_t.
19294 (atomic_exchange_acq): Likewise.
19295 (__arch_exchange_and_add_body): Likewise.
19296 (__arch_add_body): Likewise.
19297 (atomic_add_negative): Likewise.
19298 (atomic_add_zero): Likewise.
19299
4cf77aa9
JM
193002012-11-26 Joseph Myers <joseph@codesourcery.com>
19301
19302 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
19303 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
19304 (add_fdes): Likewise.
19305 (linear_search_fdes): Likewise.
19306 (binary_search_unencoded_fdes): Likewise.
19307
d260b3b4
AS
193082012-11-26 Andreas Schwab <schwab@linux-m68k.org>
19309
19310 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
19311
67060746
AC
193122012-11-24 Adam Conrad <adconrad@0c3.net>
19313
19314 * configure.in: Autodetect C++ header directories.
19315 * configure: Regenerated.
19316
800938a1
MF
193172012-11-23 Mike Frysinger <vapier@gentoo.org>
19318
19319 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
19320
4e6e34e6
AS
193212012-11-23 Andreas Schwab <schwab@linux-m68k.org>
19322
19323 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19324
7c7feb47
JM
193252012-11-22 Joseph Myers <joseph@codesourcery.com>
19326
7184dcdf
JM
19327 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
19328 LDBL_MANT_DIG == 106]: Disable some tests.
19329 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
19330 Likewise.
19331 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
19332 Likewise.
19333
0a42601f
JM
19334 [BZ #14871]
19335 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
19336 input for small inputs. Return +/- pi/2 for large inputs.
19337 * math/libm-test.inc (atan_test): Add more tests.
19338
79c9b9fe
JM
19339 * sysdeps/generic/unwind-dw2-fde-glibc.c
19340 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
19341 __attribute__ ((unused)).
19342
c60d3bf2
JM
19343 [BZ #14645]
19344 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
19345 x * y if x and y are nonzero and z is zero.
19346
ef1e0867
JM
19347 [BZ #14811]
19348 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
19349 nonzero exponents with absolute value below 0x1p-117 to +/-
19350 0x1p-117.
19351
1468ded3
JM
19352 [BZ #14869]
19353 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
19354 up arguments below 2**-450, not just those below 2**-500.
19355 * math/libm-test.inc (hypot_test): Add another test.
19356
8e27e3cc
JM
19357 [BZ #14868]
19358 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
19359 Return a+b for ratio over 2**120, not 2**60.
19360 * math/libm-test.inc (hypot_test): Add another test.
19361
c9c0279b
JM
19362 * math/libm-test.inc (clog_test): Use
19363 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
19364 (clog10_test): Likewise.
19365
7c7feb47
JM
19366 [BZ #6778]
19367 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
19368
fff1530e
AS
193692012-11-22 Andreas Schwab <schwab@suse.de>
19370
19371 * sysdeps/i386/fpu/libm-test-ulps: Update.
19372
94558d30
PT
193732012-11-22 Pino Toscano <toscano.pino@tiscali.it>
19374
19375 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
19376 printf output with newline.
19377
7e1be741
L
193782012-11-21 H.J. Lu <hongjiu.lu@intel.com>
19379
6bfea974
L
19380 [BZ #14865]
19381 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
19382 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
19383 -z nodlopen, -z initfirst and -z execstack support.
19384 * configure: Regenerated.
19385
7e1be741
L
19386 * elf/elf.h (DF_1_NODIRECT): New macro.
19387 (DF_1_IGNMULDEF): Likewise.
19388 (DF_1_NOKSYMS): Likewise.
19389 (DF_1_NOHDR): Likewise.
19390 (DF_1_EDITED): Likewise.
19391 (DF_1_NORELOC): Likewise.
19392 (DF_1_SYMINTPOSE): Likewise.
19393 (DF_1_GLOBAUDIT): Likewise.
19394 (DF_1_SINGLETON): Likewise.
19395 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
19396 DT_1_SUPPORTED_MASK bits.
19397 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
19398
105ce2ce
CD
193992012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
19400
19401 * sysdeps/unix/make-syscalls.sh: Document prefixes.
19402
123be9de
TS
194032012-11-20 Thomas Schwinge <thomas@codesourcery.com>
19404
d072f3f7
TS
19405 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
19406 macro.
19407
123be9de
TS
19408 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
19409 (sendmmsg): Move declarations...
19410 * socket/sys/socket.h: ... here.
19411 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
19412 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
19413 include it from...
19414 * socket/recvmmsg.c: ... this new file.
19415 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
19416 (sendmmsg): Rename to __sendmmsg, create weak alias and make
19417 definition of __sendmmsg hidden.
19418 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
19419 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
19420 Move ENOSYS stub into and include it from...
19421 * socket/sendmmsg.c: ... this new file.
19422 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
19423 (sysdep_routines): Move recvmmsg and sendmmsg...
19424 * socket/Makefile (routines): ... here.
19425 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
19426 (GLIBC_PRIVATE): Add __sendmmsg.
19427 * include/sys/socket.h (__sendmmsg): Add declarations.
19428 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
19429 sendmmsg.
19430
cf9a5d18
JM
194312012-11-20 Joseph Myers <joseph@codesourcery.com>
19432
19433 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
19434 variable I1 with __attribute__ ((unused)).
19435 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
19436
ecd4caf9
JM
194372012-11-19 Joseph Myers <joseph@codesourcery.com>
19438
be14d48f
JM
19439 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
19440 DUMMY variables with __attribute__ ((unused)).
19441
ecd4caf9
JM
19442 * bits/byteswap.h: Include <bits/types.h>.
19443 (__bswap_64): Use __uint64_t instead of unsigned long long int.
19444
986cab95
PT
194452012-11-19 Pino Toscano <toscano.pino@tiscali.it>
19446
19447 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
19448 string_t. Do not manually set errno.
19449 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
19450 length with __strnlen. Make sure to both set errno and return it on
19451 failure.
19452
6d33cc9d
DM
194532012-11-19 David S. Miller <davem@davemloft.net>
19454
19455 With help from Joseph Myers.
19456 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
19457 very large arguments properly.
19458 * math/libm-test.inc (atan_test): New tests.
19459 (atan2_test): New tests.
19460 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19461 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19462
ee663277
JM
194632012-11-19 Joseph Myers <joseph@codesourcery.com>
19464
877f2d8e
JM
19465 [BZ #14856]
19466 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
19467 Define to 3.
19468
116fc08a
JM
19469 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
19470 [POSIX] (EADDRNOTAVAIL): Likewise.
19471 [POSIX] (EAFNOSUPPORT): Likewise.
19472 [POSIX] (EALREADY): Likewise.
19473 [POSIX] (ECONNABORTED): Likewise.
19474 [POSIX] (ECONNREFUSED): Likewise.
19475 [POSIX] (ECONNRESET): Likewise.
19476 [POSIX] (EDESTADDRREQ): Likewise.
19477 [POSIX] (EDQUOT): Likewise.
19478 [POSIX] (EHOSTUNREACH): Likewise.
19479 [POSIX] (EIDRM): Likewise.
19480 [POSIX] (EISCONN): Likewise.
19481 [POSIX] (ELOOP): Likewise.
19482 [POSIX] (EMULTIHOP): Likewise.
19483 [POSIX] (ENETDOWN): Likewise.
19484 [POSIX] (ENETUNREACH): Likewise.
19485 [POSIX] (ENOBUFS): Likewise.
19486 [POSIX] (ENODATA): Likewise.
19487 [POSIX] (ENOLINK): Likewise.
19488 [POSIX] (ENOMSG): Likewise.
19489 [POSIX] (ENOPROTOOPT): Likewise.
19490 [POSIX] (ENOSR): Likewise.
19491 [POSIX] (ENOSTR): Likewise.
19492 [POSIX] (ENOTCONN): Likewise.
19493 [POSIX] (ENOTSOCK): Likewise.
19494 [POSIX] (EOPNOTSUPP): Likewise.
19495 [POSIX] (EOVERFLOW): Likewise.
19496 [POSIX] (EPROTO): Likewise.
19497 [POSIX] (EPROTONOSUPPORT): Likewise.
19498 [POSIX] (EPROTOTYPE): Likewise.
19499 [POSIX] (ESTALE): Likewise.
19500 [POSIX] (ETIME): Likewise.
19501 [POSIX] (ETXTBSY): Likewise.
19502 [POSIX] (EWOULDBLOCK): Likewise.
19503 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
19504 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
19505 [POSIX] (SEEK_CUR): Likewise.
19506 [POSIX] (SEEK_END): Likewise.
19507 [POSIX || UNIX98] (mode_t): Do not require.
19508 [POSIX] (off_t): Likewise.
19509 [POSIX] (pid_t): Likewise.
19510 [POSIX] (sys/stat.h): Do not allow header.
19511 [POSIX] (unistd.h): Likewise.
19512 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
19513 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
19514 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
19515 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
19516 require.
19517 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
19518 sigevent): Specify elements.
19519 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
19520 entry.
19521 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
19522 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
19523
a483863f
JM
19524 * conform/data/cpio.h-data [POSIX]: Disable whole file.
19525 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
19526 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
19527 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
19528 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
19529 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
19530 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
19531 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
19532 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
19533 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
19534 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
19535 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
19536 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
19537 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
19538 Likewise.
19539 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
19540 Likewise.
19541 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
19542 Likewise.
19543 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
19544 Likewise.
19545 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
19546 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
19547 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
19548 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
19549 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
19550 Specify lower bound on value.
19551 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
19552 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
19553 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
19554 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
19555 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
19556 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
19557 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
19558 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
19559 value.
19560 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
19561 as optional.
19562 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
19563 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
19564 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
19565 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
19566 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
19567 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
19568 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
19569 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
19570 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
19571 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
19572 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
19573 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
19574 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
19575 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
19576 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
19577 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
19578 entry.
19579 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
19580 optional.
19581 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
19582 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
19583 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
19584 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
19585 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
19586 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
19587 Likewise.
19588 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
19589 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
19590 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
19591 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
19592 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
19593 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
19594 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
19595 as optional.
19596 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
19597 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
19598 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
19599 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
19600 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
19601 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
19602 specify as optional.
19603 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
19604 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
19605 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
19606 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
19607 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
19608 [XPG3] (NL_LANGMAX): Likewise.
19609 [POSIX || XPG3] (NL_MSGMAX): Likewise.
19610 [POSIX || XPG3] (NL_NMAX): Likewise.
19611 [POSIX || XPG3] (NL_SETMAX): Likewise.
19612 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
19613 [XPG3] (NZERO): Likewise.
19614 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
19615 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
19616 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
19617 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
19618 (REG_ERANGE): Expect.
19619 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
19620 optional-constant.
19621 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
19622 Use (void) in prototype.
19623 [POSIX] (*_t): Allow.
19624 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
19625 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
19626 (WRDE_BADVAL): Expect.
19627
5ba924e3
JM
19628 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
19629 expect.
19630 [XPG3 || XPG4] (O_RSYNC): Likewise.
19631 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
19632 Likewise.
19633 [XPG3 || XPG4] (pthread_sigmask): Likewise.
19634 [XPG3 || XPG4] (sigqueue): Likewise.
19635 [XPG3 || XPG4] (sigtimedwait): Likewise.
19636 [XPG3 || XPG4] (sigwaitinfo): Likewise.
19637 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
19638 [XPG3 || XPG4] (vsnprintf): Likewise.
19639 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
19640 Likewise.
19641 [XPG3 || XPG4] (blksize_t): Likewise.
19642 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
19643 Likewise.
19644 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
19645 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
19646 [XPG3 || XPG4] (struct itimerspec): Likewise.
19647 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
19648 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
19649 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
19650 [XPG3 || XPG4] (clockid_t): Likewise.
19651 [XPG3 || XPG4] (timer_t): Likewise.
19652 [XPG3 || XPG4] (clock_getres): Likewise.
19653 [XPG3 || XPG4] (clock_gettime): Likewise.
19654 [XPG3 || XPG4] (clock_settime): Likewise.
19655 [XPG3 || XPG4] (nanosleep): Likewise.
19656 [XPG3 || XPG4] (timer_create): Likewise.
19657 [XPG3 || XPG4] (timer_delete): Likewise.
19658 [XPG3 || XPG4] (timer_gettime): Likewise.
19659 [XPG3 || XPG4] (timer_getoverrun): Likewise.
19660 [XPG3 || XPG4] (timer_settime): Likewise.
19661 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
19662 [XPG3 || XPG4] (getlogin_r): Likewise.
19663 [XPG3 || XPG4] (pread): Likewise.
19664 [XPG3 || XPG4] (pthread_atfork): Likewise.
19665 [XPG3 || XPG4] (pwrite): Likewise.
19666
ee663277
JM
19667 [BZ #14835]
19668 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
19669 <bits/siginfo.h>.
19670
942caa16
PT
196712012-11-19 Pino Toscano <toscano.pino@tiscali.it>
19672
e19af380
PT
19673 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
19674 finalizing MALLSTREAM.
19675
942caa16
PT
19676 * sysdeps/mach/hurd/syncfs.c: New file.
19677
cfde9b46
SP
196782012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
19679
19680 [BZ #14719]
19681 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
19682 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
19683 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
19684 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
19685 (_nss_dns_gethostbyname4_r): Likewise.
19686 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
19687 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
19688
f6da27e5
PH
196892012-11-19 Peng Haitao <penght@cn.fujitsu.com>
19690
19691 [BZ #13763]
19692 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
19693
6665d4a2
SM
196942012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
19695
1f51ee92
SM
19696 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
19697 * elf/cache.c (print_entry): Print ",AArch64" for
19698 FLAG_AARCH64_LIB64
19699
6665d4a2
SM
19700 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
19701 * elf/cache.c (print_entry): Print ",hard-float" for
19702 FLAG_ARM_LIBHF.
19703
05b227bd
DM
197042012-11-18 David S. Miller <davem@davemloft.net>
19705
19706 With help from Joseph Myers.
19707 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
19708 cutoff to 2**-13.
19709 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
19710 cutoff to 2**-25.
19711 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
19712 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
19713 small.
19714 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
19715 * math/libm-test.inc (y0_test): New tests.
19716 (y1_test): New tests.
19717 * sysdeps/i386/fpu/libm-test-ulps: Update.
19718 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19719 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19720
786b0b67
AS
197212012-11-18 Andreas Schwab <schwab@linux-m68k.org>
19722
19723 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
19724 64-bit targets.
19725 * configure: Regenerated.
19726
8e18b86d
DM
197272012-11-17 David S. Miller <davem@davemloft.net>
19728
19729 [BZ #14811]
19730 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
19731 nonzero exponents with absolute value below 0x1p-128 to +/-
19732 0x1p-128.
19733
531f1ae0
JM
197342012-11-17 Joseph Myers <joseph@codesourcery.com>
19735
12df29e2
JM
19736 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
19737
150dc1a0
JM
19738 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
19739
531f1ae0
JM
19740 * posix/getconf-speclist.c: New file.
19741 * posix/posix-envs.def: Likewise.
19742 * posix/confstr.c (START_ENV_GROUP): New macro.
19743 (END_ENV_GROUP): Likewise.
19744 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
19745 (KNOWN_PRESENT_ENV_STRING): Likewise.
19746 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
19747 (UNKNOWN_ENVIRONMENT): Likewise.
19748 (confstr): Include posix-envs.def instead of handling
19749 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
19750 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
19751 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
19752 (END_ENV_GROUP): Likewise.
19753 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
19754 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
19755 (UNKNOWN_ENVIRONMENT): Likewise.
19756 (__sysconf): Include posix-envs.def instead of handling associated
19757 cases directly here.
19758 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
19759 preprocessing getconf-speclist.c rather than running getconf or
19760 generating empty file.
19761
a93f9cbc
PT
197622012-11-16 Pino Toscano <toscano.pino@tiscali.it>
19763
19764 * scripts/check-local-headers.sh: Ignore 'mach' headers.
19765
d64d9f87
AL
197662012-11-16 Andrej Lajovic <natrij@gmail.com>
19767
19768 [BZ #14672]
19769 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
19770
447885eb
DM
197712012-11-16 David S. Miller <davem@davemloft.net>
19772
19773 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
19774 smaller than LDBL_EPSILON/2.0L, just return xm1.
19775
bcbf9830
L
197762012-11-16 H.J. Lu <hongjiu.lu@intel.com>
19777
19778 * elf/tst-array1.c (init): Set constructor priority to 1000.
19779 (fini): Set destructor priority to 1000.
19780 * elf/tst-array2dep.c: Likewise.
19781
2b766585
SP
197822012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
19783
19784 [BZ #11741]
19785 * libio/fileops.c (_IO_new_file_write): Correctly return error.
19786 (_IO_new_file_xsputn): Also return EOF if none of the input
19787 data was written when overflow failed.
19788 * libio/iopadn.c (_IO_padn): Likewise.
19789 * libio/iowpadn.c (_IO_wpadn): Likewise.
19790 * stdio-common/tst-put-error.c: Add copyright notice.
19791 (do_test): Add case for printing padded string.
19792 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
19793 _IO_padn returned error.
19794 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
19795 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
19796 return EOF.
19797
b1848fde
SP
197982012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
19799
19800 * libio/libioP.h: Add comment note that the references to C++
19801 bits are now obsolete.
19802
2fd89785
MS
198032012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19804
19805 * math/libm-test.inc (check_complex): Use asprintf.
19806
e3ea5409
JM
198072012-11-14 Joseph Myers <joseph@codesourcery.com>
19808
19809 * debug/pcprofiledump.c (print_version): Update copyright year.
19810 * malloc/memusagestat.c (print_version): Likewise.
19811
2e64d265
L
198122012-11-14 H.J. Lu <hongjiu.lu@intel.com>
19813
19814 [BZ #14831]
19815 * elf/Makefile (tests): Add tst-audit8.
19816 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
19817 ($(objpfx)tst-audit8.out): New target.
19818 (tst-audit8-ENV): New variable.
19819 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
19820 audit if l_reloc_result is NULL.
19821 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
19822 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
19823 * elf/tst-audit8.c: New file.
19824
c485e4d2
MS
198252012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19826
19827 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
19828 * misc/Makefile (CFLAGS-select.c): Define.
19829 * posix/Makefile (CFLAGS-pause.c): Define.
19830
3a0d900a
DM
198312012-11-13 David S. Miller <davem@davemloft.net>
19832
19833 * crypt/Makefile: Move test targets after toplevel Rules
19834 inclusion. Grab any necessary sysdep routines when linking.
19835 * crypt/md5.c (md5_process_block): Remove define, we will always
19836 name it __md5_process_block.
19837 (md5_finish_ctx): Update md5_process_block call.
19838 (md5_stream): Likewise.
19839 (md5_process_bytes): Likewise.
19840 (md5_process_block): Rename to __md5_process_block and move to ...
19841 * crypt/md5-block.c: ... here.
19842 * crypt/sha256.c (sha256_process_block): Move to ...
19843 * crypt/sha256-block.c: ... here.
19844 * crypt/sha512.c (sha512_process_block): Move to ...
19845 * crypt/sha512-block.c: ... here.
19846 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
19847 path.
19848 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
19849 * sysdeps/sparc/sparc64/multiarch/Makefile
19850 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
19851 crypt subdir.
19852 (localedef-aux): Add md5 crypto assembler when in locale subdir.
19853 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
19854 multiarch changes.
19855 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
19856 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
19857 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
19858 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
19859 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
19860 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
19861 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
19862 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
19863 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
19864 file.
19865 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
19866 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
19867 file.
19868 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
19869
8ca89318
JM
198702012-11-13 Joseph Myers <joseph@codesourcery.com>
19871
e27d476a
JM
19872 * timezone/tzselect.ksh: Update from tzcode git revision
19873 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
19874 * timezone/zdump.c: Likewise.
19875 * timezone/zic.c: Likewise.
19876 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
19877 in TZVERSION setting, not $(PKGVERSION).
19878 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
19879 REPORT_BUGS_TO settings.
19880
8ca89318
JM
19881 [BZ #14838]
19882 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
19883 macro.
19884
47594329
MS
198852012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19886
19887 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
19888 detection to immediately after _FP_ROUND().
19889 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
19890 bits are 0.
19891
640ac3f1
DM
198922012-11-11 David S. Miller <davem@davemloft.net>
19893
19894 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
19895 inttypes.h
19896 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
19897 __close rather than their public counterparts.
19898
3d2577bb
JM
198992012-11-10 Joseph Myers <joseph@codesourcery.com>
19900
19901 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
19902 file.
19903 [UNIX98] (sem_timedwait): Do not expect.
19904 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
19905 [XPG4 || UNIX98] (sockatmark): Do not expect.
19906 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
19907 (clock_getcpuclockid): Do not expect.
19908 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
19909 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
19910 Do not expect.
19911 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
19912 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
19913 [UNIX98] (vwscanf): Likewise.
19914 [UNIX98] (vswscanf): Likewise.
19915
fb1ae1ee
JM
199162012-11-09 Joseph Myers <joseph@codesourcery.com>
19917
9ec6f8bd
JM
19918 * timezone/version.h: Remove file.
19919 * timezone/README: Do not refer to version.h.
19920 * timezone/Makefile ($(objpfx)zic.o): New dependency on
19921 $(objpfx)version.h.
19922 ($(objpfx)zdump.o): Likewise.
c3f81911 19923 ($(objpfx)version.h): New target.
9ec6f8bd 19924
0aa8f8a1
JM
19925 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
19926 2012i.
19927 * timezone/README: Don't mention modification to tzselect.ksh.
19928 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
19929 work on unmodified tzselect.ksh. Substitute version numbers in
19930 tzselect.ksh.
19931
4e87147f
JM
19932 * Makefile (format-me): Remove.
19933 (INSTALL): Adjust indentation. Use commands directly instead of
19934 using $(format-me).
19935
8b748aed
JM
19936 * aclocal.m4 (ACX_PKGVERSION): New macro.
19937 (ACX_BUGURL): Likewise.
19938 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
19939 (PKGVERSION): New AC_DEFINE_UNQUOTED.
19940 (REPORT_BUGS_TO): Likewise.
19941 * configure: Regenerated.
19942 * config.h.in (PKGVERSION): New macro.
19943 (REPORT_BUGS_TO): Likewise.
19944 * config.make.in (PKGVERSION): New variable.
19945 (PKGVERSION_TEXI): Likewise.
19946 (REPORT_BUGS_TO): Likewise.
19947 (REPORT_BUGS_TEXI): Likewise.
19948 * Makefile (format-me): Use -I$(common-objpfx)manual.
19949 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
19950 ($(common-objpfx)manual/%): New target.
19951 (manual/%): Remove target.
19952 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
19953 (print_version): Use PKGVERSION.
19954 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
19955 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
19956 and REPORT_BUGS_TO.
19957 ($(objpfx)xtrace): Likewise.
19958 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
19959 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
19960 (print_version): Use PKGVERSION.
19961 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
19962 (do_version): Use PKGVERSION.
19963 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
19964 REPORT_BUGS_TO.
19965 (common-ldd-rewrite): Likewise.
19966 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
19967 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
19968 (print_version): Use PKGVERSION.
19969 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
19970 * elf/pldd.c (argp_program_bug_address): Remove variable.
19971 (more_help): New function.
19972 (argp): Use more_help.
19973 (print_version): Use PKGVERSION.
19974 * elf/sln.c (main): Use PKGVERSION.
19975 (usage): Use REPORT_BUGS_TO.
19976 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
19977 (top level): Use PKGVERSION.
19978 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
19979 (print_version): Use PKGVERSION.
19980 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
19981 (print_version): Use PKGVERSION.
19982 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
19983 (print_version): Use PKGVERSION.
19984 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
19985 (print_version): Use PKGVERSION.
19986 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
19987 (print_version): Use PKGVERSION.
19988 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
19989 (print_version): Use PKGVERSION.
19990 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
19991 and BUGURL.
19992 ($(objpfx)memusage): Likewise.
19993 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
19994 (do_version): Use PKGVERSION.
19995 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
19996 (print_version): Use PKGVERSION.
19997 * malloc/mtrace.pl ($PACKAGE): Remove variable.
19998 ($PKGVERSION): New variable.
19999 ($REPORT_BUGS_TO): Likewise.
20000 (usage): Use $REPORT_BUGS_TO.
20001 (top level): Use $PKGVERSION.
20002 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
20003 ($(objpfx)pkgvers.texi): New rule.
20004 ($(objpfx)stamp-pkgvers): Likewise.
20005 * manual/install.texi: Include pkgvers.texi.
20006 (--with-pkgversion): Document new configure option.
20007 (--with-bugurl): Likewise.
20008 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
20009 than necessarily for this particular distribution. Use
20010 REPORT_BUGS_TO for where to report bugs.
20011 * INSTALL: Regenerated.
20012 * manual/libc.texinfo: Include pkgvers.texi.
20013 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
20014 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
20015 (print_version): Use PKGVERSION.
20016 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
20017 (print_version): Use PKGVERSION.
20018 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
20019 (print_version): Use PKGVERSION.
20020 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
20021 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
20022 macro.
20023 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
20024 (print_version): Use PKGVERSION.
20025 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
20026 (print_version): Use PKGVERSION.
20027 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
20028 and PKGVERSION.
20029
92e4b6a9
JM
20030 * timezone/checktab.awk: Update from tzcode 2012i.
20031 * timezone/ialloc.c: Likewise.
20032 * timezone/private.h: Likewise.
20033 * timezone/scheck.c: Likewise.
20034 * timezone/tzfile.h: Likewise.
20035 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
20036 (TZVERSION): Hardcode tzcode version number.
20037 * timezone/zdump.c: Update from tzcode 2012i.
20038 * timezone/zic.c: Likewise.
20039 * timezone/version.h: New file.
20040 * timezone/README: Describe version.h. Update upstream location.
20041
9bde902c
JM
20042 [BZ #14824]
20043 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
20044 (mktemp): Enable declaration.
20045 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
20046 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
20047 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
20048 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
20049 Likewise.
20050 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
20051 Likewise.
20052 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
20053 Likewise.
20054 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
20055 Likewise.
20056 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
20057 Likewise.
20058 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
20059 Likewise.
20060
fb1ae1ee
JM
20061 [BZ #14821]
20062 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
20063 offset in buffer as u_int32_t not u_long. Consistently use memcpy
20064 for copies of such integer values.
20065 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
20066 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
20067
2c1adbcb
AJ
200682012-11-09 Andreas Jaeger <aj@suse.de>
20069
20070 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
20071 definitions and declarations that are provided by
20072 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
20073
d0f8457e
AK
200742012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20075
3a235abb 20076 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
20077 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
20078 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
20079 definition.
20080
57241e26
MS
200812012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20082
20083 * elf/elf.h: Update comment before AArch64 relocations.
20084
60e8270d
DM
200852012-11-07 David S. Miller <davem@davemloft.net>
20086
20087 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
20088 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
20089 (__start_context): Declare.
20090 (__makecontext_ret): Delete.
20091 (__makecontext): Hook up __start_context instead of
20092 __makecontext_ret.
20093 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
20094 (sysdep_routines): Add __start_context when in stdlib.
20095
0fbb0fbc
JM
200962012-11-07 Joseph Myers <joseph@codesourcery.com>
20097
20098 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
20099 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
20100 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
20101 hardcoded "nm".
20102 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
20103 (READELF): New variable. Use it instead of hardcoded "readelf".
20104
eb48db7e
L
201052012-11-07 H.J. Lu <hongjiu.lu@intel.com>
20106
20107 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
20108 * sysdeps/x86/Makefile: Here.
20109 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
20110 * sysdeps/x86/tst-xmmymm.sh: This.
20111
05bcf62a
JM
201122012-11-07 Joseph Myers <joseph@codesourcery.com>
20113
c4b6cf53
JM
20114 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
20115 expectations.
20116 [UNIX98] (pthread_barrier_t): Do not expect.
20117 [UNIX98] (pthread_barrierattr_t): Likewise.
20118 [UNIX98] (pthread_spinlock_t): Likewise.
20119 [UNIX98] (pthread_barrier_destroy): Likewise.
20120 [UNIX98] (pthread_barrier_init): Likewise.
20121 [UNIX98] (pthread_barrier_wait): Likewise.
20122 [UNIX98] (pthread_barrierattr_destroy): Likewise.
20123 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
20124 [UNIX98] (pthread_barrierattr_init): Likewise.
20125 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
20126 [UNIX98] (pthread_getcpuclockid): Likewise.
20127 [UNIX98] (pthread_mutex_timedlock): Likewise.
20128 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
20129 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
20130 [UNIX98] (pthread_sigmask): Likewise.
20131 [UNIX98] (pthread_spin_destroy): Likewise.
20132 [UNIX98] (pthread_spin_init): Likewise.
20133 [UNIX98] (pthread_spin_lock): Likewise.
20134 [UNIX98] (pthread_spin_trylock): Likewise.
20135 [UNIX98] (pthread_spin_unlock): Likewise.
20136 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
20137 Do not expect.
20138 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
20139 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
20140 [XPG3 || XPG4] (pthread_cond_t): Likewise.
20141 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
20142 [XPG3 || XPG4] (pthread_key_t): Likewise.
20143 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
20144 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
20145 [XPG3 || XPG4] (pthread_once_t): Likewise.
20146 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
20147 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
20148 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
20149 [XPG3 || XPG4] (pthread_t): Likewise.
20150
cbe6e120
JM
20151 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
20152 not expect.
20153 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
20154
1b126443
JM
20155 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
20156 Change function return type to int.
20157
b961a573
JM
20158 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
20159 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
20160 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
20161 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
20162 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
20163 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
20164 [!POSIX] (posix_madvise): Likewise.
20165 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
20166 && !UNIX98].
20167 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
20168 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
20169 (mode_t): Likewise.
20170 (posix_mem_offset): Likewise.
20171 (posix_typed_mem_get_info): Likewise.
20172 (posix_typed_mem_open): Likewise.
20173
9e188909
JM
20174 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
20175 Change condition to [XOPEN2K8].
20176
05bcf62a
JM
20177 * conform/conformtest.pl: Preprocess allow-header data with -x c
20178 instead of from stdin.
20179 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
20180 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
20181 [C99-based standards] (cerfc): Likewise.
20182 [C99-based standards] (cexp2): Likewise.
20183 [C99-based standards] (cexpm1): Likewise.
20184 [C99-based standards] (clog10): Likewise.
20185 [C99-based standards] (clog1p): Likewise.
20186 [C99-based standards] (clog2): Likewise.
20187 [C99-based standards] (clgamma): Likewise.
20188 [C99-based standards] (ctgamma): Likewise.
20189 [C99-based standards] (cerff): Likewise.
20190 [C99-based standards] (cerfcf): Likewise.
20191 [C99-based standards] (cexp2f): Likewise.
20192 [C99-based standards] (cexpm1f): Likewise.
20193 [C99-based standards] (clog10f): Likewise.
20194 [C99-based standards] (clog1pf): Likewise.
20195 [C99-based standards] (clog2f): Likewise.
20196 [C99-based standards] (clgammaf): Likewise.
20197 [C99-based standards] (ctgammaf): Likewise.
20198 [C99-based standards] (cerfl): Likewise.
20199 [C99-based standards] (cerfcl): Likewise.
20200 [C99-based standards] (cexp2l): Likewise.
20201 [C99-based standards] (cexpm1l): Likewise.
20202 [C99-based standards] (clog10l): Likewise.
20203 [C99-based standards] (clog1pl): Likewise.
20204 [C99-based standards] (clog2l): Likewise.
20205 [C99-based standards] (clgammal): Likewise.
20206 [C99-based standards] (ctgammal): Likewise.
20207 * conform/data/inttypes.h-data [C99-based standards]: Include
20208 stdint.h-data. Remove all expectations for stdint.h contents.
20209 [C99-based standards] (PRI*): Do not allow.
20210 [C99-based standards] (SCN*): Likewise.
20211 [C99-based standards] (*_t): Likewise.
20212 [C99-based-standards] (PRId8): Expect macro.
20213 [C99-based-standards] (PRIi8): Likewise.
20214 [C99-based-standards] (PRIo8): Likewise.
20215 [C99-based-standards] (PRIu8): Likewise.
20216 [C99-based-standards] (PRIx8): Likewise.
20217 [C99-based-standards] (PRIX8): Likewise.
20218 [C99-based-standards] (SCNd8): Likewise.
20219 [C99-based-standards] (SCNi8): Likewise.
20220 [C99-based-standards] (SCNo8): Likewise.
20221 [C99-based-standards] (SCNu8): Likewise.
20222 [C99-based-standards] (SCNx8): Likewise.
20223 [C99-based-standards] (PRIdLEAST8): Likewise.
20224 [C99-based-standards] (PRIiLEAST8): Likewise.
20225 [C99-based-standards] (PRIoLEAST8): Likewise.
20226 [C99-based-standards] (PRIuLEAST8): Likewise.
20227 [C99-based-standards] (PRIxLEAST8): Likewise.
20228 [C99-based-standards] (PRIXLEAST8): Likewise.
20229 [C99-based-standards] (SCNdLEAST8): Likewise.
20230 [C99-based-standards] (SCNiLEAST8): Likewise.
20231 [C99-based-standards] (SCNoLEAST8): Likewise.
20232 [C99-based-standards] (SCNuLEAST8): Likewise.
20233 [C99-based-standards] (SCNxLEAST8): Likewise.
20234 [C99-based-standards] (PRIdFAST8): Likewise.
20235 [C99-based-standards] (PRIiFAST8): Likewise.
20236 [C99-based-standards] (PRIoFAST8): Likewise.
20237 [C99-based-standards] (PRIuFAST8): Likewise.
20238 [C99-based-standards] (PRIxFAST8): Likewise.
20239 [C99-based-standards] (PRIXFAST8): Likewise.
20240 [C99-based-standards] (SCNdFAST8): Likewise.
20241 [C99-based-standards] (SCNiFAST8): Likewise.
20242 [C99-based-standards] (SCNoFAST8): Likewise.
20243 [C99-based-standards] (SCNuFAST8): Likewise.
20244 [C99-based-standards] (SCNxFAST8): Likewise.
20245 [C99-based-standards] (PRId16): Likewise.
20246 [C99-based-standards] (PRIi16): Likewise.
20247 [C99-based-standards] (PRIo16): Likewise.
20248 [C99-based-standards] (PRIu16): Likewise.
20249 [C99-based-standards] (PRIx16): Likewise.
20250 [C99-based-standards] (PRIX16): Likewise.
20251 [C99-based-standards] (SCNd16): Likewise.
20252 [C99-based-standards] (SCNi16): Likewise.
20253 [C99-based-standards] (SCNo16): Likewise.
20254 [C99-based-standards] (SCNu16): Likewise.
20255 [C99-based-standards] (SCNx16): Likewise.
20256 [C99-based-standards] (PRIdLEAST16): Likewise.
20257 [C99-based-standards] (PRIiLEAST16): Likewise.
20258 [C99-based-standards] (PRIoLEAST16): Likewise.
20259 [C99-based-standards] (PRIuLEAST16): Likewise.
20260 [C99-based-standards] (PRIxLEAST16): Likewise.
20261 [C99-based-standards] (PRIXLEAST16): Likewise.
20262 [C99-based-standards] (SCNdLEAST16): Likewise.
20263 [C99-based-standards] (SCNiLEAST16): Likewise.
20264 [C99-based-standards] (SCNoLEAST16): Likewise.
20265 [C99-based-standards] (SCNuLEAST16): Likewise.
20266 [C99-based-standards] (SCNxLEAST16): Likewise.
20267 [C99-based-standards] (PRIdFAST16): Likewise.
20268 [C99-based-standards] (PRIiFAST16): Likewise.
20269 [C99-based-standards] (PRIoFAST16): Likewise.
20270 [C99-based-standards] (PRIuFAST16): Likewise.
20271 [C99-based-standards] (PRIxFAST16): Likewise.
20272 [C99-based-standards] (PRIXFAST16): Likewise.
20273 [C99-based-standards] (SCNdFAST16): Likewise.
20274 [C99-based-standards] (SCNiFAST16): Likewise.
20275 [C99-based-standards] (SCNoFAST16): Likewise.
20276 [C99-based-standards] (SCNuFAST16): Likewise.
20277 [C99-based-standards] (SCNxFAST16): Likewise.
20278 [C99-based-standards] (PRId32): Likewise.
20279 [C99-based-standards] (PRIi32): Likewise.
20280 [C99-based-standards] (PRIo32): Likewise.
20281 [C99-based-standards] (PRIu32): Likewise.
20282 [C99-based-standards] (PRIx32): Likewise.
20283 [C99-based-standards] (PRIX32): Likewise.
20284 [C99-based-standards] (SCNd32): Likewise.
20285 [C99-based-standards] (SCNi32): Likewise.
20286 [C99-based-standards] (SCNo32): Likewise.
20287 [C99-based-standards] (SCNu32): Likewise.
20288 [C99-based-standards] (SCNx32): Likewise.
20289 [C99-based-standards] (PRIdLEAST32): Likewise.
20290 [C99-based-standards] (PRIiLEAST32): Likewise.
20291 [C99-based-standards] (PRIoLEAST32): Likewise.
20292 [C99-based-standards] (PRIuLEAST32): Likewise.
20293 [C99-based-standards] (PRIxLEAST32): Likewise.
20294 [C99-based-standards] (PRIXLEAST32): Likewise.
20295 [C99-based-standards] (SCNdLEAST32): Likewise.
20296 [C99-based-standards] (SCNiLEAST32): Likewise.
20297 [C99-based-standards] (SCNoLEAST32): Likewise.
20298 [C99-based-standards] (SCNuLEAST32): Likewise.
20299 [C99-based-standards] (SCNxLEAST32): Likewise.
20300 [C99-based-standards] (PRIdFAST32): Likewise.
20301 [C99-based-standards] (PRIiFAST32): Likewise.
20302 [C99-based-standards] (PRIoFAST32): Likewise.
20303 [C99-based-standards] (PRIuFAST32): Likewise.
20304 [C99-based-standards] (PRIxFAST32): Likewise.
20305 [C99-based-standards] (PRIXFAST32): Likewise.
20306 [C99-based-standards] (SCNdFAST32): Likewise.
20307 [C99-based-standards] (SCNiFAST32): Likewise.
20308 [C99-based-standards] (SCNoFAST32): Likewise.
20309 [C99-based-standards] (SCNuFAST32): Likewise.
20310 [C99-based-standards] (SCNxFAST32): Likewise.
20311 [C99-based-standards] (PRId64): Likewise.
20312 [C99-based-standards] (PRIi64): Likewise.
20313 [C99-based-standards] (PRIo64): Likewise.
20314 [C99-based-standards] (PRIu64): Likewise.
20315 [C99-based-standards] (PRIx64): Likewise.
20316 [C99-based-standards] (PRIX64): Likewise.
20317 [C99-based-standards] (SCNd64): Likewise.
20318 [C99-based-standards] (SCNi64): Likewise.
20319 [C99-based-standards] (SCNo64): Likewise.
20320 [C99-based-standards] (SCNu64): Likewise.
20321 [C99-based-standards] (SCNx64): Likewise.
20322 [C99-based-standards] (PRIdLEAST64): Likewise.
20323 [C99-based-standards] (PRIiLEAST64): Likewise.
20324 [C99-based-standards] (PRIoLEAST64): Likewise.
20325 [C99-based-standards] (PRIuLEAST64): Likewise.
20326 [C99-based-standards] (PRIxLEAST64): Likewise.
20327 [C99-based-standards] (PRIXLEAST64): Likewise.
20328 [C99-based-standards] (SCNdLEAST64): Likewise.
20329 [C99-based-standards] (SCNiLEAST64): Likewise.
20330 [C99-based-standards] (SCNoLEAST64): Likewise.
20331 [C99-based-standards] (SCNuLEAST64): Likewise.
20332 [C99-based-standards] (SCNxLEAST64): Likewise.
20333 [C99-based-standards] (PRIdFAST64): Likewise.
20334 [C99-based-standards] (PRIiFAST64): Likewise.
20335 [C99-based-standards] (PRIoFAST64): Likewise.
20336 [C99-based-standards] (PRIuFAST64): Likewise.
20337 [C99-based-standards] (PRIxFAST64): Likewise.
20338 [C99-based-standards] (PRIXFAST64): Likewise.
20339 [C99-based-standards] (SCNdFAST64): Likewise.
20340 [C99-based-standards] (SCNiFAST64): Likewise.
20341 [C99-based-standards] (SCNoFAST64): Likewise.
20342 [C99-based-standards] (SCNuFAST64): Likewise.
20343 [C99-based-standards] (SCNxFAST64): Likewise.
20344 [C99-based-standards] (PRIdMAX): Likewise.
20345 [C99-based-standards] (PRIiMAX): Likewise.
20346 [C99-based-standards] (PRIoMAX): Likewise.
20347 [C99-based-standards] (PRIuMAX): Likewise.
20348 [C99-based-standards] (PRIxMAX): Likewise.
20349 [C99-based-standards] (PRIXMAX): Likewise.
20350 [C99-based-standards] (SCNdMAX): Likewise.
20351 [C99-based-standards] (SCNiMAX): Likewise.
20352 [C99-based-standards] (SCNoMAX): Likewise.
20353 [C99-based-standards] (SCNuMAX): Likewise.
20354 [C99-based-standards] (SCNxMAX): Likewise.
20355 [C99-based-standards] (PRIdPTR): Likewise.
20356 [C99-based-standards] (PRIiPTR): Likewise.
20357 [C99-based-standards] (PRIoPTR): Likewise.
20358 [C99-based-standards] (PRIuPTR): Likewise.
20359 [C99-based-standards] (PRIxPTR): Likewise.
20360 [C99-based-standards] (PRIXPTR): Likewise.
20361 [C99-based-standards] (SCNdPTR): Likewise.
20362 [C99-based-standards] (SCNiPTR): Likewise.
20363 [C99-based-standards] (SCNoPTR): Likewise.
20364 [C99-based-standards] (SCNuPTR): Likewise.
20365 [C99-based-standards] (SCNxPTR): Likewise.
20366 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
20367 allow.
20368 * conform/data/stdint.h-data: Update comments to clarify
20369 requirements.
20370 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
20371 type.
20372 [C99-based standards] (INT8_MAX): Likewise.
20373 [C99-based standards] (INT16_MIN): Likewise.
20374 [C99-based standards] (INT16_MAX): Likewise.
20375 [C99-based standards] (INT32_MIN): Likewise.
20376 [C99-based standards] (INT32_MAX): Likewise.
20377 [C99-based standards] (INT64_MIN): Likewise.
20378 [C99-based standards] (INT64_MAX): Likewise.
20379 [C99-based standards] (UINT8_MAX): Likewise.
20380 [C99-based standards] (UINT16_MAX): Likewise.
20381 [C99-based standards] (UINT32_MAX): Likewise.
20382 [C99-based standards] (UINT64_MAX): Likewise.
20383 [C99-based standards] (INT_LEAST8_MIN): Likewise.
20384 [C99-based standards] (INT_LEAST8_MAX): Likewise.
20385 [C99-based standards] (INT_LEAST16_MIN): Likewise.
20386 [C99-based standards] (INT_LEAST16_MAX): Likewise.
20387 [C99-based standards] (INT_LEAST32_MIN): Likewise.
20388 [C99-based standards] (INT_LEAST32_MAX): Likewise.
20389 [C99-based standards] (INT_LEAST64_MIN): Likewise.
20390 [C99-based standards] (INT_LEAST64_MAX): Likewise.
20391 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
20392 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
20393 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
20394 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
20395 [C99-based standards] (INT_FAST8_MIN): Likewise.
20396 [C99-based standards] (INT_FAST8_MAX): Likewise.
20397 [C99-based standards] (INT_FAST16_MIN): Likewise.
20398 [C99-based standards] (INT_FAST16_MAX): Likewise.
20399 [C99-based standards] (INT_FAST32_MIN): Likewise.
20400 [C99-based standards] (INT_FAST32_MAX): Likewise.
20401 [C99-based standards] (INT_FAST64_MIN): Likewise.
20402 [C99-based standards] (INT_FAST64_MAX): Likewise.
20403 [C99-based standards] (UINT_FAST8_MAX): Likewise.
20404 [C99-based standards] (UINT_FAST16_MAX): Likewise.
20405 [C99-based standards] (UINT_FAST32_MAX): Likewise.
20406 [C99-based standards] (UINT_FAST64_MAX): Likewise.
20407 [C99-based standards] (INTPTR_MIN): Likewise.
20408 [C99-based standards] (INTPTR_MAX): Likewise.
20409 [C99-based standards] (UINTPTR_MAX): Likewise.
20410 [C99-based standards] (INTMAX_MIN): Likewise.
20411 [C99-based standards] (INTMAX_MAX): Likewise.
20412 [C99-based standards] (UINTMAX_MAX): Likewise.
20413 [C99-based standards] (PTRDIFF_MIN): Likewise.
20414 [C99-based standards] (PTRDIFF_MAX): Likewise.
20415 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
20416 [C99-based standards] (SIZE_MAX): Likewise.
20417 [C99-based standards] (WCHAR_MAX): Likewise.
20418 [C99-based standards] (WINT_MAX): Likewise.
20419 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
20420 constraint on value.
20421 [C99-based standards] (WCHAR_MIN): Likewise.
20422 [C99-based standards] (WINT_MIN): Likewise.
20423 [C99-based standards] (*_t): Allow.
20424 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
20425 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
20426 Include math.h-data and complex.h-data. Remove all expectations
20427 of math.h and complex.h contents.
20428 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
20429 at end of line.
20430 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
20431 (struct tm): Expect tag.
20432 [C99-based-standards] (wcstof): Expect function.
20433 [C99-based-standards] (wcstold): Likewise.
20434 [C99-based-standards] (wcstoll): Likewise.
20435 [C99-based-standards] (wcstoull): Likewise.
20436 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
20437 macro-int-constant. Specify type.
20438 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
20439 constraint on value.
20440 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
20441 Specify type.
20442 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
20443 Specify value.
20444 [ISO C standards]: Do not allow headers.
20445 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
20446 wcs[abcdefghijklmnopqrstuvwxyz]*.
20447 [ISO C standards] (*_t): Do not allow.
20448 * conform/data/wctype.h-data [C99-based standards] (iswblank):
20449 Expect function.
20450 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
20451 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
20452 Specify type.
20453 [ISO C standards]: Do not allow headers.
20454 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
20455 is[abcdefghijklmnopqrstuvwxyz]*.
20456 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
20457 to[abcdefghijklmnopqrstuvwxyz]*.
20458 [ISO C standards] (*_t): Do not allow.
20459 * conform/data/stdalign.h-data: New file.
20460 * conform/data/stdbool.h-data: Likewise.
20461 * conform/data/stdnoreturn.h-data: Likewise.
20462
7514feb8
RM
204632012-11-07 Roland McGrath <roland@hack.frob.com>
20464
20465 [BZ #14815]
20466 * manual/filesys.texi (Directory Entries): Typo fix.
20467 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
20468
19b2ecfc
MS
204692012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20470
20471 * elf/elf.h (EM_AARCH64): New macro.
20472 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
20473 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
20474 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
20475 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
20476 (R_AARCH64_TLSDESC): Likewise.
20477 (NT_ARM_TLS): Likewise.
20478 (NT_ARM_HW_BREAK): Likewise.
20479 (NT_ARM_HW_WATCH): Likewise.
20480
60e235ee
JM
204812012-11-07 Joseph Myers <joseph@codesourcery.com>
20482
20483 [BZ #14811]
20484 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
20485 (__ieee754_powl): Saturate nonzero exponents with absolute value
20486 below 0x1p-79 to +/- 0x1p-79.
20487 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
20488 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
20489 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
20490 nonzero exponents with absolute value below 0x1p-32 to +/-
20491 0x1p-32.
20492 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
20493 (__ieee754_powl): Saturate nonzero exponents with absolute value
20494 below 0x1p-79 to +/- 0x1p-79.
20495 * math/libm-test.inc (pow_test): Add more tests.
20496
0ab234b7
AK
204972012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20498
20499 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
20500 _dl_s390_cap_flags with kernel. Increase string length.
20501 (_dl_s390_platforms): Add z196 and zEC12.
20502
45832f74
JM
205032012-11-07 Joseph Myers <joseph@codesourcery.com>
20504
20505 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
20506 Change XOPEN21K to XOPEN2K.
20507
19218757
MK
205082012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
20509
20510 * string/memmove.c: Use memcpy when possible.
20511
c5f45721
AJ
205122012-11-06 Andreas Jaeger <aj@suse.de>
20513
20514 * po/eo.po: Update from translation team.
20515
82477c28
JM
205162012-11-06 Joseph Myers <joseph@codesourcery.com>
20517
20518 [BZ #14793]
20519 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
20520 exponent and small x and y exponents, scale x or y up. Increase
20521 by 2 the exponent used in scaling up.
20522 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
20523 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20524 * math/libm-test.inc (fma_test): Add more tests.
20525 (fma_test_towardzero): Likewise.
20526 (fma_test_downward): Likewise.
20527 (fma_test_upward): Likewise.
20528
99252c8c
JM
205292012-11-05 Joseph Myers <joseph@codesourcery.com>
20530
acfa885f
JM
20531 [BZ #14805]
20532 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
20533 fenv_t *.
20534
99252c8c
JM
20535 [BZ #14801]
20536 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
20537 namespace for names of struct fields.
20538 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
20539 fenv_t fields.
20540 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
20541 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
20542
d6d98dea
ST
205432012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
20544
20545 [BZ #3665]
20546 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
20547
e10bb107
TS
205482012-11-04 Thomas Schwinge <thomas@codesourcery.com>
20549
20550 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
20551 PTR_DEMANGLE.
20552
20553 [BZ #5246]
20554 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
20555 PTR_DEMANGLE.
20556
a0c2940d
JM
205572012-11-04 Joseph Myers <joseph@codesourcery.com>
20558
20559 [BZ #14797]
20560 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
20561 definitely overflow as x * y not x * y + z.
20562 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
20563 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20564 * math/libm-test.inc (fma_test): Add more tests.
20565 (fma_test_towardzero): Likewise.
20566 (fma_test_downward): Likewise.
20567 (fma_test_upward): Likewise.
20568
b830319d
TS
205692012-11-04 Thomas Schwinge <thomas@codesourcery.com>
20570
20571 [BZ #157]
20572
20573 * include/stub-tag.h: Remove file.
20574 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
20575 '#include' of it.
20576 * manual/maint.texi (Porting): Don't reference it.
20577 * Makerules ($(objpfx)stubs): Likewise.
20578 * dirent/closedir.c: Don't include <stub-tag.h>.
20579 * dirent/dirfd.c: Likewise.
20580 * dirent/fdopendir.c: Likewise.
20581 * dirent/getdents.c: Likewise.
20582 * dirent/getdents64.c: Likewise.
20583 * dirent/opendir.c: Likewise.
20584 * dirent/readdir.c: Likewise.
20585 * dirent/readdir64.c: Likewise.
20586 * dirent/readdir64_r.c: Likewise.
20587 * dirent/readdir_r.c: Likewise.
20588 * dirent/rewinddir.c: Likewise.
20589 * dirent/seekdir.c: Likewise.
20590 * dirent/telldir.c: Likewise.
20591 * gmon/profil.c: Likewise.
20592 * grp/setgroups.c: Likewise.
20593 * inet/if_index.c: Likewise.
20594 * io/access.c: Likewise.
20595 * io/chdir.c: Likewise.
20596 * io/chmod.c: Likewise.
20597 * io/chown.c: Likewise.
20598 * io/close.c: Likewise.
20599 * io/dup.c: Likewise.
20600 * io/dup2.c: Likewise.
20601 * io/dup3.c: Likewise.
20602 * io/euidaccess.c: Likewise.
20603 * io/faccessat.c: Likewise.
20604 * io/fchdir.c: Likewise.
20605 * io/fchmod.c: Likewise.
20606 * io/fchmodat.c: Likewise.
20607 * io/fchown.c: Likewise.
20608 * io/fchownat.c: Likewise.
20609 * io/fcntl.c: Likewise.
20610 * io/flock.c: Likewise.
20611 * io/fstatfs.c: Likewise.
20612 * io/fstatfs64.c: Likewise.
20613 * io/fstatvfs.c: Likewise.
20614 * io/fstatvfs64.c: Likewise.
20615 * io/futimens.c: Likewise.
20616 * io/fxstat.c: Likewise.
20617 * io/fxstat64.c: Likewise.
20618 * io/fxstatat.c: Likewise.
20619 * io/fxstatat64.c: Likewise.
20620 * io/getcwd.c: Likewise.
20621 * io/isatty.c: Likewise.
20622 * io/lchmod.c: Likewise.
20623 * io/lchown.c: Likewise.
20624 * io/link.c: Likewise.
20625 * io/linkat.c: Likewise.
20626 * io/lseek.c: Likewise.
20627 * io/lseek64.c: Likewise.
20628 * io/lxstat64.c: Likewise.
20629 * io/mkdir.c: Likewise.
20630 * io/mkdirat.c: Likewise.
20631 * io/mkfifo.c: Likewise.
20632 * io/mkfifoat.c: Likewise.
20633 * io/open.c: Likewise.
20634 * io/open64.c: Likewise.
20635 * io/openat.c: Likewise.
20636 * io/openat64.c: Likewise.
20637 * io/pipe.c: Likewise.
20638 * io/pipe2.c: Likewise.
20639 * io/poll.c: Likewise.
20640 * io/posix_fadvise.c: Likewise.
20641 * io/posix_fadvise64.c: Likewise.
20642 * io/posix_fallocate.c: Likewise.
20643 * io/posix_fallocate64.c: Likewise.
20644 * io/read.c: Likewise.
20645 * io/readlink.c: Likewise.
20646 * io/readlinkat.c: Likewise.
20647 * io/rmdir.c: Likewise.
20648 * io/sendfile.c: Likewise.
20649 * io/sendfile64.c: Likewise.
20650 * io/statfs.c: Likewise.
20651 * io/statfs64.c: Likewise.
20652 * io/statvfs.c: Likewise.
20653 * io/statvfs64.c: Likewise.
20654 * io/symlink.c: Likewise.
20655 * io/symlinkat.c: Likewise.
20656 * io/ttyname.c: Likewise.
20657 * io/ttyname_r.c: Likewise.
20658 * io/umask.c: Likewise.
20659 * io/unlink.c: Likewise.
20660 * io/unlinkat.c: Likewise.
20661 * io/utime.c: Likewise.
20662 * io/utimensat.c: Likewise.
20663 * io/write.c: Likewise.
20664 * io/xmknod.c: Likewise.
20665 * io/xmknodat.c: Likewise.
20666 * io/xstat.c: Likewise.
20667 * io/xstat64.c: Likewise.
20668 * login/getpt.c: Likewise.
20669 * login/grantpt.c: Likewise.
20670 * login/unlockpt.c: Likewise.
20671 * math/e_acoshl.c: Likewise.
20672 * math/e_acosl.c: Likewise.
20673 * math/e_asinl.c: Likewise.
20674 * math/e_atan2l.c: Likewise.
20675 * math/e_atanhl.c: Likewise.
20676 * math/e_coshl.c: Likewise.
20677 * math/e_expl.c: Likewise.
20678 * math/e_fmodl.c: Likewise.
20679 * math/e_gammal_r.c: Likewise.
20680 * math/e_hypotl.c: Likewise.
20681 * math/e_j0l.c: Likewise.
20682 * math/e_j1l.c: Likewise.
20683 * math/e_jnl.c: Likewise.
20684 * math/e_lgammal_r.c: Likewise.
20685 * math/e_log10l.c: Likewise.
20686 * math/e_log2l.c: Likewise.
20687 * math/e_logl.c: Likewise.
20688 * math/e_powl.c: Likewise.
20689 * math/e_rem_pio2l.c: Likewise.
20690 * math/e_sinhl.c: Likewise.
20691 * math/e_sqrtl.c: Likewise.
20692 * math/fclrexcpt.c: Likewise.
20693 * math/fedisblxcpt.c: Likewise.
20694 * math/feenablxcpt.c: Likewise.
20695 * math/fegetenv.c: Likewise.
20696 * math/fegetexcept.c: Likewise.
20697 * math/fegetround.c: Likewise.
20698 * math/feholdexcpt.c: Likewise.
20699 * math/fesetenv.c: Likewise.
20700 * math/fesetround.c: Likewise.
20701 * math/feupdateenv.c: Likewise.
20702 * math/fgetexcptflg.c: Likewise.
20703 * math/fraiseexcpt.c: Likewise.
20704 * math/fsetexcptflg.c: Likewise.
20705 * math/ftestexcept.c: Likewise.
20706 * math/k_cosl.c: Likewise.
20707 * math/k_rem_pio2l.c: Likewise.
20708 * math/k_sinl.c: Likewise.
20709 * math/k_tanl.c: Likewise.
20710 * math/s_asinhl.c: Likewise.
20711 * math/s_atanl.c: Likewise.
20712 * math/s_cbrtl.c: Likewise.
20713 * math/s_erfl.c: Likewise.
20714 * math/s_expm1l.c: Likewise.
20715 * math/s_log1pl.c: Likewise.
20716 * math/s_tanhl.c: Likewise.
20717 * misc/acct.c: Likewise.
20718 * misc/brk.c: Likewise.
20719 * misc/chflags.c: Likewise.
20720 * misc/chroot.c: Likewise.
20721 * misc/fchflags.c: Likewise.
20722 * misc/fgetxattr.c: Likewise.
20723 * misc/flistxattr.c: Likewise.
20724 * misc/fremovexattr.c: Likewise.
20725 * misc/fsetxattr.c: Likewise.
20726 * misc/fsync.c: Likewise.
20727 * misc/ftruncate.c: Likewise.
20728 * misc/futimes.c: Likewise.
20729 * misc/futimesat.c: Likewise.
20730 * misc/getdomain.c: Likewise.
20731 * misc/getdtsz.c: Likewise.
20732 * misc/gethostid.c: Likewise.
20733 * misc/gethostname.c: Likewise.
20734 * misc/getloadavg.c: Likewise.
20735 * misc/getpagesize.c: Likewise.
20736 * misc/getsysstats.c: Likewise.
20737 * misc/getxattr.c: Likewise.
20738 * misc/gtty.c: Likewise.
20739 * misc/ioctl.c: Likewise.
20740 * misc/lgetxattr.c: Likewise.
20741 * misc/listxattr.c: Likewise.
20742 * misc/llistxattr.c: Likewise.
20743 * misc/lremovexattr.c: Likewise.
20744 * misc/lsetxattr.c: Likewise.
20745 * misc/lutimes.c: Likewise.
20746 * misc/madvise.c: Likewise.
20747 * misc/mincore.c: Likewise.
20748 * misc/mlock.c: Likewise.
20749 * misc/mlockall.c: Likewise.
20750 * misc/mmap.c: Likewise.
20751 * misc/mprotect.c: Likewise.
20752 * misc/msync.c: Likewise.
20753 * misc/munlock.c: Likewise.
20754 * misc/munlockall.c: Likewise.
20755 * misc/munmap.c: Likewise.
20756 * misc/preadv.c: Likewise.
20757 * misc/preadv64.c: Likewise.
20758 * misc/ptrace.c: Likewise.
20759 * misc/pwritev.c: Likewise.
20760 * misc/pwritev64.c: Likewise.
20761 * misc/readv.c: Likewise.
20762 * misc/reboot.c: Likewise.
20763 * misc/remap_file_pages.c: Likewise.
20764 * misc/removexattr.c: Likewise.
20765 * misc/revoke.c: Likewise.
20766 * misc/select.c: Likewise.
20767 * misc/setdomain.c: Likewise.
20768 * misc/setegid.c: Likewise.
20769 * misc/seteuid.c: Likewise.
20770 * misc/sethostid.c: Likewise.
20771 * misc/sethostname.c: Likewise.
20772 * misc/setregid.c: Likewise.
20773 * misc/setreuid.c: Likewise.
20774 * misc/setxattr.c: Likewise.
20775 * misc/sstk.c: Likewise.
20776 * misc/stty.c: Likewise.
20777 * misc/swapoff.c: Likewise.
20778 * misc/swapon.c: Likewise.
20779 * misc/sync.c: Likewise.
20780 * misc/syncfs.c: Likewise.
20781 * misc/syscall.c: Likewise.
20782 * misc/truncate.c: Likewise.
20783 * misc/ualarm.c: Likewise.
20784 * misc/usleep.c: Likewise.
20785 * misc/ustat.c: Likewise.
20786 * misc/utimes.c: Likewise.
20787 * misc/vhangup.c: Likewise.
20788 * misc/writev.c: Likewise.
20789 * posix/_exit.c: Likewise.
20790 * posix/alarm.c: Likewise.
20791 * posix/execve.c: Likewise.
20792 * posix/fexecve.c: Likewise.
20793 * posix/fork.c: Likewise.
20794 * posix/fpathconf.c: Likewise.
20795 * posix/getaddrinfo.c: Likewise.
20796 * posix/getegid.c: Likewise.
20797 * posix/geteuid.c: Likewise.
20798 * posix/getgid.c: Likewise.
20799 * posix/getgroups.c: Likewise.
20800 * posix/getlogin.c: Likewise.
20801 * posix/getlogin_r.c: Likewise.
20802 * posix/getpgid.c: Likewise.
20803 * posix/getpid.c: Likewise.
20804 * posix/getppid.c: Likewise.
20805 * posix/getresgid.c: Likewise.
20806 * posix/getresuid.c: Likewise.
20807 * posix/getsid.c: Likewise.
20808 * posix/getuid.c: Likewise.
20809 * posix/glob64.c: Likewise.
20810 * posix/nanosleep.c: Likewise.
20811 * posix/pathconf.c: Likewise.
20812 * posix/pause.c: Likewise.
20813 * posix/posix_madvise.c: Likewise.
20814 * posix/pread.c: Likewise.
20815 * posix/pread64.c: Likewise.
20816 * posix/pwrite.c: Likewise.
20817 * posix/pwrite64.c: Likewise.
20818 * posix/sched_getaffinity.c: Likewise.
20819 * posix/sched_getp.c: Likewise.
20820 * posix/sched_gets.c: Likewise.
20821 * posix/sched_primax.c: Likewise.
20822 * posix/sched_primin.c: Likewise.
20823 * posix/sched_rr_gi.c: Likewise.
20824 * posix/sched_setaffinity.c: Likewise.
20825 * posix/sched_setp.c: Likewise.
20826 * posix/sched_sets.c: Likewise.
20827 * posix/sched_yield.c: Likewise.
20828 * posix/setgid.c: Likewise.
20829 * posix/setlogin.c: Likewise.
20830 * posix/setpgid.c: Likewise.
20831 * posix/setresgid.c: Likewise.
20832 * posix/setresuid.c: Likewise.
20833 * posix/setsid.c: Likewise.
20834 * posix/setuid.c: Likewise.
20835 * posix/sleep.c: Likewise.
20836 * posix/spawni.c: Likewise.
20837 * posix/sysconf.c: Likewise.
20838 * posix/times.c: Likewise.
20839 * posix/wait.c: Likewise.
20840 * posix/wait3.c: Likewise.
20841 * posix/wait4.c: Likewise.
20842 * posix/waitpid.c: Likewise.
20843 * resolv/gai_sigqueue.c: Likewise.
20844 * resource/getpriority.c: Likewise.
20845 * resource/getrlimit.c: Likewise.
20846 * resource/getrusage.c: Likewise.
20847 * resource/nice.c: Likewise.
20848 * resource/setpriority.c: Likewise.
20849 * resource/setrlimit.c: Likewise.
20850 * resource/ulimit.c: Likewise.
20851 * rt/aio_cancel.c: Likewise.
20852 * rt/aio_fsync.c: Likewise.
20853 * rt/aio_read.c: Likewise.
20854 * rt/aio_sigqueue.c: Likewise.
20855 * rt/aio_suspend.c: Likewise.
20856 * rt/aio_write.c: Likewise.
20857 * rt/clock_getres.c: Likewise.
20858 * rt/clock_gettime.c: Likewise.
20859 * rt/clock_nanosleep.c: Likewise.
20860 * rt/clock_settime.c: Likewise.
20861 * rt/lio_listio.c: Likewise.
20862 * rt/mq_close.c: Likewise.
20863 * rt/mq_getattr.c: Likewise.
20864 * rt/mq_notify.c: Likewise.
20865 * rt/mq_open.c: Likewise.
20866 * rt/mq_receive.c: Likewise.
20867 * rt/mq_send.c: Likewise.
20868 * rt/mq_setattr.c: Likewise.
20869 * rt/mq_timedreceive.c: Likewise.
20870 * rt/mq_timedsend.c: Likewise.
20871 * rt/mq_unlink.c: Likewise.
20872 * rt/shm_open.c: Likewise.
20873 * rt/shm_unlink.c: Likewise.
20874 * rt/timer_create.c: Likewise.
20875 * rt/timer_delete.c: Likewise.
20876 * rt/timer_getoverr.c: Likewise.
20877 * rt/timer_gettime.c: Likewise.
20878 * rt/timer_settime.c: Likewise.
20879 * setjmp/__longjmp.c: Likewise.
20880 * setjmp/setjmp.c: Likewise.
20881 * signal/kill.c: Likewise.
20882 * signal/killpg.c: Likewise.
20883 * signal/raise.c: Likewise.
20884 * signal/sigaction.c: Likewise.
20885 * signal/sigaltstack.c: Likewise.
20886 * signal/sigblock.c: Likewise.
20887 * signal/sigignore.c: Likewise.
20888 * signal/sigintr.c: Likewise.
20889 * signal/signal.c: Likewise.
20890 * signal/sigpause.c: Likewise.
20891 * signal/sigpending.c: Likewise.
20892 * signal/sigqueue.c: Likewise.
20893 * signal/sigreturn.c: Likewise.
20894 * signal/sigset.c: Likewise.
20895 * signal/sigsetmask.c: Likewise.
20896 * signal/sigstack.c: Likewise.
20897 * signal/sigsuspend.c: Likewise.
20898 * signal/sigtimedwait.c: Likewise.
20899 * signal/sigvec.c: Likewise.
20900 * signal/sigwait.c: Likewise.
20901 * signal/sigwaitinfo.c: Likewise.
20902 * signal/sysv_signal.c: Likewise.
20903 * socket/accept.c: Likewise.
20904 * socket/accept4.c: Likewise.
20905 * socket/bind.c: Likewise.
20906 * socket/connect.c: Likewise.
20907 * socket/getpeername.c: Likewise.
20908 * socket/getsockname.c: Likewise.
20909 * socket/getsockopt.c: Likewise.
20910 * socket/isfdtype.c: Likewise.
20911 * socket/listen.c: Likewise.
20912 * socket/recv.c: Likewise.
20913 * socket/recvfrom.c: Likewise.
20914 * socket/recvmsg.c: Likewise.
20915 * socket/send.c: Likewise.
20916 * socket/sendmsg.c: Likewise.
20917 * socket/sendto.c: Likewise.
20918 * socket/setsockopt.c: Likewise.
20919 * socket/shutdown.c: Likewise.
20920 * socket/sockatmark.c: Likewise.
20921 * socket/socket.c: Likewise.
20922 * socket/socketpair.c: Likewise.
20923 * stdio-common/ctermid.c: Likewise.
20924 * stdio-common/cuserid.c: Likewise.
20925 * stdio-common/remove.c: Likewise.
20926 * stdio-common/rename.c: Likewise.
20927 * stdio-common/renameat.c: Likewise.
20928 * stdio-common/tempname.c: Likewise.
20929 * stdlib/getcontext.c: Likewise.
20930 * stdlib/makecontext.c: Likewise.
20931 * stdlib/setcontext.c: Likewise.
20932 * stdlib/swapcontext.c: Likewise.
20933 * stdlib/system.c: Likewise.
20934 * streams/fattach.c: Likewise.
20935 * streams/fdetach.c: Likewise.
20936 * streams/getmsg.c: Likewise.
20937 * streams/getpmsg.c: Likewise.
20938 * streams/putmsg.c: Likewise.
20939 * streams/putpmsg.c: Likewise.
20940 * sysdeps/unix/bsd/getpt.c: Likewise.
20941 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
20942 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
20943 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
20944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
20945 Likewise.
20946 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
20947 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
20948 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
20949 * sysvipc/msgctl.c: Likewise.
20950 * sysvipc/msgget.c: Likewise.
20951 * sysvipc/msgrcv.c: Likewise.
20952 * sysvipc/msgsnd.c: Likewise.
20953 * sysvipc/semctl.c: Likewise.
20954 * sysvipc/semget.c: Likewise.
20955 * sysvipc/semop.c: Likewise.
20956 * sysvipc/semtimedop.c: Likewise.
20957 * sysvipc/shmat.c: Likewise.
20958 * sysvipc/shmctl.c: Likewise.
20959 * sysvipc/shmdt.c: Likewise.
20960 * sysvipc/shmget.c: Likewise.
20961 * termios/tcdrain.c: Likewise.
20962 * termios/tcflow.c: Likewise.
20963 * termios/tcflush.c: Likewise.
20964 * termios/tcgetattr.c: Likewise.
20965 * termios/tcgetpgrp.c: Likewise.
20966 * termios/tcsendbrk.c: Likewise.
20967 * termios/tcsetattr.c: Likewise.
20968 * termios/tcsetpgrp.c: Likewise.
20969 * time/adjtime.c: Likewise.
20970 * time/clock.c: Likewise.
20971 * time/getitimer.c: Likewise.
20972 * time/gettimeofday.c: Likewise.
20973 * time/setitimer.c: Likewise.
20974 * time/settimeofday.c: Likewise.
20975 * time/stime.c: Likewise.
20976 * time/time.c: Likewise.
20977
209782012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 20979
a20492cf
PT
20980 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
20981 /usr/old/bin.
20982
72e182e3
PT
20983 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
20984 instead of spaces.
20985 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
20986
fbeafede
JM
209872012-11-03 Joseph Myers <joseph@codesourcery.com>
20988
5b5b04d6
JM
20989 [BZ #14796]
20990 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
20991 FE_TONEAREST before applying Dekker multiplication and Knuth
20992 addition. Clear inexact exceptions and check for exact zero
20993 results afterwards.
20994 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
20995 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
20996 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20997 * math/libm-test.inc (fma_test): Add more tests.
20998 (fma_test_towardzero): Likewise.
20999 (fma_test_downward): Likewise.
21000 (fma_test_upward): Likewise.
21001 * sysdeps/generic/math_private.h (default_libc_fesetround): New
21002 function.
21003 (libc_fesetround): New macro.
21004 (libc_fesetroundf): Likewise.
21005 (libc_fesetroundl): Likewise.
21006 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
21007 function.
21008 (libc_fesetround_387): Likewise.
21009 (libc_fesetroundf): New macro.
21010 (libc_fesetround): Likewise.
21011 (libc_fesetroundl): Likewise.
21012 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
21013 function.
21014 (libc_fesetroundf): New macro.
21015 (libc_fesetround): Likewise.
21016 (libc_fesetroundl): Likewise.
21017 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
21018 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
21019 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
21020 libm_hidden_ver.
21021 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
21022 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
21023 libm_hidden_def.
21024 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
21025 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
21026 libm_hidden_ver.
21027 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
21028 libm_hidden_def.
21029
fbeafede
JM
21030 [BZ #3439]
21031 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
21032 integer constant usable in #if and use that to give value to enum
21033 constant.
21034 (FE_DIVBYZERO): Likewise.
21035 (FE_UNDERFLOW): Likewise.
21036 (FE_OVERFLOW): Likewise.
21037 (FE_INVALID): Likewise.
21038 (FE_INVALID_SNAN): Likewise.
21039 (FE_INVALID_ISI): Likewise.
21040 (FE_INVALID_IDI): Likewise.
21041 (FE_INVALID_ZDZ): Likewise.
21042 (FE_INVALID_IMZ): Likewise.
21043 (FE_INVALID_COMPARE): Likewise.
21044 (FE_INVALID_SOFTWARE): Likewise.
21045 (FE_INVALID_SQRT): Likewise.
21046 (FE_INVALID_INTEGER_CONVERSION): Likewise.
21047 (FE_TONEAREST): Likewise.
21048 (FE_TOWARDZERO): Likewise.
21049 (FE_UPWARD): Likewise.
21050 (FE_DOWNWARD): Likewise.
21051 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
21052 (FE_DIVBYZERO): Likewise.
21053 (FE_OVERFLOW): Likewise.
21054 (FE_UNDERFLOW): Likewise.
21055 (FE_INEXACT): Likewise.
21056 (FE_TONEAREST): Likewise.
21057 (FE_DOWNWARD): Likewise.
21058 (FE_UPWARD): Likewise.
21059 (FE_TOWARDZERO): Likewise.
21060 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
21061 (FE_UNDERFLOW): Likewise.
21062 (FE_OVERFLOW): Likewise.
21063 (FE_DIVBYZERO): Likewise.
21064 (FE_INVALID): Likewise.
21065 (FE_TONEAREST): Likewise.
21066 (FE_TOWARDZERO): Likewise.
21067 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
21068 (FE_OVERFLOW): Likewise.
21069 (FE_UNDERFLOW): Likewise.
21070 (FE_DIVBYZERO): Likewise.
21071 (FE_INEXACT): Likewise.
21072 (FE_TONEAREST): Likewise.
21073 (FE_TOWARDZERO): Likewise.
21074 (FE_UPWARD): Likewise.
21075 (FE_DOWNWARD): Likewise.
21076 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
21077 (FE_DIVBYZERO): Likewise.
21078 (FE_OVERFLOW): Likewise.
21079 (FE_UNDERFLOW): Likewise.
21080 (FE_INEXACT): Likewise.
21081 (FE_TONEAREST): Likewise.
21082 (FE_DOWNWARD): Likewise.
21083 (FE_UPWARD): Likewise.
21084 (FE_TOWARDZERO): Likewise.
21085
105ca950
CM
210862012-11-02 Chris Metcalf <cmetcalf@tilera.com>
21087
21088 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
21089
a542b389
AS
210902012-11-03 Andreas Schwab <schwab@linux-m68k.org>
21091
21092 * scripts/cross-test-ssh.sh (command): Use newlines to separate
21093 commands. Quote $PWD.
21094 (blacklist_exports): Don't use remove_newlines. Replace "declare
21095 -x" by "export".
21096 (remove_newlines): Remove.
21097
f62c8abc
L
210982012-11-02 H.J. Lu <hongjiu.lu@intel.com>
21099
21100 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
21101 * stdlib/stdlib.h (atof): Moved to ...
21102 * include/bits/stdlib-float.h: Here. New file.
21103 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
21104 * stdlib/bits/stdlib-float.h: New file.
21105 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
21106 -mno-sse -mno-mmx.
21107 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
21108 <xmmintrin.h>.
21109
0155d5b2
JM
211102012-11-02 Joseph Myers <joseph@codesourcery.com>
21111
a68d0680
JM
21112 * conform/conformtest.pl (@headers): Add fenv.h.
21113 * conform/data/fenv.h-data: New file.
21114 * include/fenv.h [_ISOMAC]: Disable all contents of file except
21115 include of <math/fenv.h>.
21116
caf7f573
JM
21117 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
21118 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
21119 && !UNIX98]. Enables tests for XOPEN2K8.
21120 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
21121 POSIX2008]: Likewise.
21122
6c073ad6
JM
21123 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
21124 (struct rusage): Do not expect type or its members.
21125
0155d5b2
JM
21126 [BZ #3439]
21127 * math/math.h (FP_NAN): Define macro to integer constant usable in
21128 #if and use that to give value to enum constant.
21129 (FP_INFINITE): Likewise.
21130 (FP_ZERO): Likewise.
21131 (FP_SUBNORMAL): Likewise.
21132 (FP_NORMAL): Likewise.
21133
b5dcacb4
AS
211342012-11-02 Andreas Schwab <schwab@linux-m68k.org>
21135
21136 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
21137 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
21138 arguments.
21139
f7934be8
RM
211402012-11-02 Roland McGrath <roland@hack.frob.com>
21141
21142 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
21143 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
21144 autoconf-time if not.
21145 * configure.in: Remove AC_PREREQ.
21146
d7d08bde
TMQMF
211472012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21148
21149 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
21150 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
21151 of the internal implementation.
21152
dcdae19a
JM
211532012-11-02 Joseph Myers <joseph@codesourcery.com>
21154
21155 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
21156 except include of <misc/sys/syslog.h>.
21157
d6cffd3e
AS
211582012-11-01 Andreas Schwab <schwab@linux-m68k.org>
21159
21160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
21161 function returns with a NULL context exit with zero.
21162
b3563932
TMQMF
211632012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21164
21165 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
21166
b288a93d
L
211672012-11-01 H.J. Lu <hongjiu.lu@intel.com>
21168
21169 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
21170 (run_program_cmd): This.
21171 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
21172 (tst_langinfo): New variable. Use it.
21173
a2421a68
SAS
211742012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
21175
21176 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
21177 floating point opcodes.
21178
6f796e1b
TS
211792012-11-01 Thomas Schwinge <thomas@codesourcery.com>
21180
7402596b
TS
21181 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
21182 variable.
21183
d0d4f868
TS
21184 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
21185
6f796e1b
TS
21186 * sysdeps/mach/hurd/powerpc: Remove directory.
21187 * sysdeps/mach/powerpc: Likewise.
21188
4da224a2
AS
211892012-11-01 Andreas Schwab <schwab@linux-m68k.org>
21190
21191 * scripts/check-local-headers.sh: Ignore c++ headers.
21192
341dd673
TS
211932012-11-01 Thomas Schwinge <thomas@codesourcery.com>
21194
21195 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
21196 __libc_cleanup_region_start argument.
21197
473611b2
JM
211982012-11-01 Joseph Myers <joseph@codesourcery.com>
21199
21200 [BZ #14784]
21201 [BZ #14785]
21202 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
21203 x * y using scaling, not as x * y + z.
21204 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21205 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21206 * math/libm-test.inc (fma_test): Add more tests.
21207 (fma_test_towardzero): Likewise.
21208 (fma_test_downward): Likewise.
21209 (fma_test_upward): Likewise.
21210
4078da3d
TS
212112012-11-01 Thomas Schwinge <thomas@codesourcery.com>
21212
21213 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
21214
903252aa
JM
212152012-10-31 Joseph Myers <joseph@codesourcery.com>
21216
21217 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
21218 New variable.
21219
cbc818d0
TS
212202012-10-31 Thomas Schwinge <thomas@codesourcery.com>
21221
21222 * rt/tst-shm.c (worker): Correct checking for mmap failure.
21223
5a03cb1e
AS
212242012-10-31 Andreas Schwab <schwab@linux-m68k.org>
21225
21226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21227 Fix sort order.
21228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21229 Likewise.
21230
90aff2ff
TMQMF
212312012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21232
21233 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21234 Fix the order of the list for glibc 2.17.
21235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21236 Likewise.
21237
1818fcb7
AS
212382012-10-31 Andreas Schwab <schwab@linux-m68k.org>
21239
21240 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21241
ef82f4da
JM
212422012-10-31 Joseph Myers <joseph@codesourcery.com>
21243
16a0e2ec
JM
21244 [BZ #14610]
21245 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
21246 for low part of x being zero before using __atanl (y).
21247 * math/libm-test.inc (atan2_test): Add another test.
21248
0eb69512
JM
21249 * manual/install.texi (Configuring and compiling): Document
21250 general use of test-wrapper and test-wrapper-env.
21251 * INSTALL: Regenerated.
21252
ef82f4da
JM
21253 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
21254 (__fma): Do not extract and scale down low bits on after-rounding
21255 systems when result rounded to normal precision would have normal
21256 exponent.
21257 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
21258 (__fmal): Do not extract and scale down low bits on after-rounding
21259 systems when result rounded to normal precision would have normal
21260 exponent.
21261 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
21262 (__fmal): Do not extract and scale down low bits on after-rounding
21263 systems when result rounded to normal precision would have normal
21264 exponent.
21265 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
21266 macro.
21267 (fma_test): Add more tests.
21268 (fma_test_towardzero): Likewise.
21269 (fma_test_downward): Likewise.
21270 (fma_test_upward): Likewise.
21271
954ef0d9
L
212722012-10-30 H.J. Lu <hongjiu.lu@intel.com>
21273
21274 * sysdeps/i386/tininess.h: Renamed to ...
21275 * sysdeps/x86/tininess.h: This.
21276 * sysdeps/x86_64/tininess.h: Removed.
21277
df61ffb2
JM
212782012-10-30 Joseph Myers <joseph@codesourcery.com>
21279
21280 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
21281 input. Use $(build-program-cmd).
21282 ($(objpfx)tst-array1-static.out): Likewise.
21283 ($(objpfx)tst-array2.out): Likewise.
21284 ($(objpfx)tst-array3.out): Likewise.
21285 ($(objpfx)tst-array4.out): Likewise.
21286 ($(objpfx)tst-array5.out): Likewise.
21287 ($(objpfx)tst-array5-static.out): Likewise.
21288
01767843
CM
212892012-10-30 Chris Metcalf <cmetcalf@tilera.com>
21290
47cc1490
CM
21291 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
21292 if defined.
21293
01767843
CM
21294 * nss/nsswitch.h (nss_interface_function): Provide new
21295 macro for use with NSS functions.
21296 * grp/initgroups.c: Use new macro.
21297 * nss/getXXbyYY.c: Likewise.
21298 * nss/getXXbyYY_r.c: Likewise.
21299 * nss/getXXent.c: Likewise.
21300 * nss/getXXent_r.c: Likewise.
21301 * sysdeps/posix/getaddrinfo.c: Likewise.
21302
8321aa97
AJ
213032012-10-30 Andreas Jaeger <aj@suse.de>
21304
21305 * po/ru.po: Update Russion translation from translation project.
21306
2a27fd6d
JM
213072012-10-30 Joseph Myers <joseph@codesourcery.com>
21308
8627a232
JM
21309 [BZ #14152]
21310 [BZ #14783]
21311 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
21312 result and shift together with sticky bit instead of replicating
21313 round-to-nearest rounding.
21314 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21315 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21316 * math/libm-test.inc (fma_test): Add more tests. Do not permit
21317 missing underflow exceptions.
21318 (fma_test_towardzero): Add more tests.
21319 (fma_test_downward): Likewise.
21320 (fma_test_upward): Likewise.
21321
2a27fd6d
JM
21322 [BZ #14047]
21323 * sysdeps/generic/tininess.h: New file.
21324 * sysdeps/i386/tininess.h: Likewise.
21325 * sysdeps/sh/tininess.h: Likewise.
21326 * sysdeps/x86_64/tininess.h: Likewise.
21327 * stdlib/tst-strtod-underflow.c: Likewise.
21328 * stdlib/tst-tininess.c: Likewise.
21329 * stdlib/strtod_l.c: Include <tininess.h>.
21330 (round_and_return): Do not set errno for exact underflow cases.
21331 Force an underflow exception when setting errno for underflow.
21332 Determine underflow based on rounding to normal precision if
21333 TININESS_AFTER_ROUNDING.
21334 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
21335 ERANGE for exact underflow cases.
21336 * stdlib/Makefile (tests): Add tst-tininess and
21337 tst-strtod-underflow.
21338 ($(objpfx)tst-tininess): Use $(link-libm).
21339 ($(objpfx)tst-strtod-underflow): Likewise.
21340
e7170363
AJ
213412012-10-30 Andreas Jaeger <aj@suse.de>
21342
e5088dc6
AJ
21343 [BZ#14767]
21344 * elf/Makefile (tests): Remove conditional for have-initfini-array
21345 since this is now always required and the variable does not exist
21346 anymore.
21347 (tests-static): Likewise.
21348 (modules-names): Likewise.
21349
e7170363 21350 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
21351
21352 * elf/tst-array1.c (fini_array): Make writeable so that it can be
21353 merged with constructor/destructor.
21354 (init_array): Likewise.
21355 * elf/tst-array2dep.c (fini_array): Likewise.
21356 (init_array): Likewise.
21357
60457d8a
MF
213582012-10-29 Mike Frysinger <vapier@gentoo.org>
21359
21360 * manual/message.texi: Delete @cartouche tags.
21361
8bece752
PT
213622012-10-29 Pino Toscano <toscano.pino@tiscali.it>
21363
94ce799f
PT
21364 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
21365 EOPNOTSUPP.
21366 * sysdeps/mach/hurd/fsync.c: Likewise.
21367
8bece752
PT
21368 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
21369 [_POSIX_REALTIME_SIGNALS]: Change condition to
21370 [_POSIX_REALTIME_SIGNALS > 0].
21371
86ebe6b1
AJ
213722012-10-27 Andreas Jaeger <aj@suse.de>
21373
21374 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
21375 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
21376 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
21377 [__WORDSIZE != 64]: Likewise.
21378
54399c08
L
213792012-10-26 H.J. Lu <hongjiu.lu@intel.com>
21380
21381 * iconvdata/tst-table.sh: Remove ${SHELL}.
21382 * iconvdata/tst-tables.sh: Likewise.
21383
e2211bed
DM
213842012-10-25 David S. Miller <davem@davemloft.net>
21385
21386 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21387 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
21388 of strtoull.
21389
f303f97c
DM
21390 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
21391 ifunc-impl-list.c
21392 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
21393 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
21394 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
21395 file.
21396
1e9d84cd
RM
213972012-10-25 Roland McGrath <roland@hack.frob.com>
21398
21399 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21400 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
21401 __getdirentries.
21402
df381762
JM
214032012-10-25 Joseph Myers <joseph@codesourcery.com>
21404 Jim Blandy <jimb@codesourcery.com>
21405
21406 * scripts/cross-test-ssh.sh: New file.
21407 * manual/install.texi (Configuring and compiling): Document use of
21408 cross-test-ssh.sh.
21409 * INSTALL: Regenerated.
21410
bff64913
PT
214112012-10-25 Pino Toscano <toscano.pino@tiscali.it>
21412
21413 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
21414 EOPNOTSUPP.
21415
25fe8932
JM
214162012-10-25 Joseph Myers <joseph@codesourcery.com>
21417
21418 * Makeconfig (run-program-prefix): Fix comment.
21419
cc1290d0
JM
214202012-10-24 Joseph Myers <joseph@codesourcery.com>
21421 Jim Blandy <jimb@codesourcery.com>
21422
21423 * Makeconfig (test-wrapper): New variable,
21424 (test-wrapper-env): Likewise.
21425 [$(cross-compiling) = yes && $(test-wrapper) != ""]
21426 (run-built-tests): Define to yes.
21427 (run-program-prefix): Use $(test-wrapper).
21428 (built-program-cmd): Likewise.
21429 * Rules (make-test-out): Use $(test-wrapper-env) and
21430 $(host-built-program-cmd).
21431 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
21432 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
21433 tst-pathopt.sh.
21434 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
21435 $(test-wrapper-env) to tst-rtld-load-self.sh.
21436 ($(objpfx)order2.out): Use $(test-wrapper).
21437 ($(objpfx)tst-initorder.out): Likewise.
21438 ($(objpfx)tst-initorder2.out): Likewise.
21439 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
21440 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
21441 (test_wrapper_env): New variable. Use it to run ld.so.
21442 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
21443 Use it to run ld.so.
21444 (test_wrapper_env): Likewise.
21445 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
21446 $(test-wrapper) to run-iconv-test.sh.
21447 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
21448 (ICONV): Use $test_wrapper.
21449 * posix/Makefile ($(objpfx)globtest.out): Pass
21450 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
21451 globtest.sh, not $(run-program-prefix).
21452 * posix/globtest.sh (run_via_rtld_prefix): New variable.
21453 (test_wrapper): Likewise.
21454 (test_wrapper_env): Likewise. Use it to run globtest with HOME
21455 set together with run_via_rtld_prefix.
21456 (run_program_prefix): Define in terms of test_wrapper and
21457 run_via_rtld_prefix.
21458
6e6249d0
RM
214592012-10-24 Roland McGrath <roland@hack.frob.com>
21460
21461 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
21462 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
21463 Targets removed.
21464
21465 [BZ #14743]
21466 * include/time.h: Remove librt_hidden_proto (clock_gettime).
21467 Declare __clock_getres, __clock_gettime, __clock_settime,
21468 __clock_nanosleep, and __clock_getcpuclockid.
21469 * rt/clock_gettime.c: Define __clock_gettime as an alias.
21470 Remove librt_hidden_def (clock_gettime).
21471 * sysdeps/unix/clock_gettime.c: Likewise.
21472 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
21473 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
21474 * rt/clock_getres.c: Define __clock_getres as an alias.
21475 * sysdeps/posix/clock_getres.c: Likewise.
21476 * rt/clock_settime.c: Define __clock_settime as an alias.
21477 * sysdeps/unix/clock_settime.c: Likewise.
21478 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
21479 * sysdeps/unix/clock_nanosleep.c: Likewise.
21480 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
21481 * rt/clock-compat.c: New file.
21482 * rt/Makefile (librt-routines): Add clock-compat and move
21483 $(clock-routines) to ...
21484 (routines): ... here, new variable.
21485 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
21486 Don't add get_clockfreq here.
21487 * rt/Versions (libc: GLIBC_2.17): New version set.
21488 Add clock_* symbols here.
21489 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
21490 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
21491 (GLIBC_2.17): Add clock_* symbols.
21492 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
21493 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
21494 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
21495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21496 Likewise.
21497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21498 Likewise.
21499 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
21500 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
21501 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
21502 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
21503 * NEWS: Mention the move.
21504
21505 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
21506 Use __open, __read, __close rather than their public counterparts.
21507 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21508 (__get_clockfreq_via_cpuinfo): Likewise.
21509 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
21510 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
21511
21512 * config.h.in (HAVE_IFUNC): New #undef.
21513 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
21514 was successful.
21515 * configure: Regenerated.
21516
0cae3f4b
MF
215172012-10-24 Mike Frysinger <vapier@gentoo.org>
21518
21519 * configure.in: Move READELF check to start of file.
21520 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
21521 libc_cv_asm_gnu_indirect_function in the process.
21522 * configure: Regenerated.
21523
8175a253
MF
215242012-10-24 Mike Frysinger <vapier@gentoo.org>
21525
21526 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
21527 send the output to /dev/null.
21528 (libc_cv_cc_with_libunwind): Likewise.
21529 (libc_cv_as_noexecstack): Likewise.
21530 * configure: Regenerate.
21531
0708a7d1
JM
215322012-10-24 Joseph Myers <joseph@codesourcery.com>
21533
10b40d85
JM
21534 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
21535
0708a7d1
JM
21536 * posix/globtest.sh (TMPDIR): Do not set.
21537 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
21538 (testout): Likewise.
21539
9fddec1a
AJ
215402012-10-24 Andreas Jaeger <aj@suse.de>
21541
3a8db22f
AJ
21542 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
21543 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
21544 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
21545 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
21546 posix_fadvise64, posix_fallocate64.
21547
9fddec1a
AJ
21548 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
21549 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
21550 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
21551 Likewise.
21552 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
21553 Likewise.
21554 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
21555
21556 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
21557 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
21558 <bits/fcntl-linux.h>.
21559 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
21560
21561 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
21562 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
21563 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
21564 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
21565 [__WORDSIZE != 64]: Likewise.
21566
ebfd1bbd
JM
215672012-10-23 Joseph Myers <joseph@codesourcery.com>
21568
03ac099f
JM
21569 * Makeconfig (run-built-tests): New variable.
21570 * Rules [$(cross-compiling) = yes]: Change condition to
21571 [$(run-built-tests) = no].
21572 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
21573 to [$(run-built-tests) = yes].
21574 * elf/Makefile [$(cross-compiling) = no]: Likewise
21575 * grp/Makefile [$(cross-compiling) = no]: Likewise.
21576 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
21577 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
21578 * intl/Makefile [$(cross-compiling) = no]: Likewise.
21579 * io/Makefile [$(cross-compiling) = no]: Likewise.
21580 * libio/Makefile [$(cross-compiling) = no]: Likewise.
21581 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
21582 * misc/Makefile [$(cross-compiling) = no]: Likewise.
21583 * posix/Makefile [$(cross-compiling) = no]: Likewise.
21584 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
21585 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
21586 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
21587 * string/Makefile [$(cross-compiling) = no]: Likewise.
21588
ebfd1bbd
JM
21589 * posix/Makefile ($(objpfx)globtest.out): Pass
21590 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
21591 $(rtld-installed-name).
21592 * posix/globtest.sh (elf_objpfx): Remove variable.
21593 (rtld_installed_name): Likewise.
21594 (library_path): Likewise.
21595 (run_program_prefix): New variable. Use for running globtest
21596 binary.
21597
166bca24
JB
215982012-10-23 Jim Blandy <jimb@codesourcery.com>
21599 Joseph Myers <joseph@codesourcery.com>
21600
21601 * Makeconfig (host-built-program-cmd): New variable.
21602 * elf/Makefile (tst-stackguard1-ARGS): Use
21603 $(host-built-program-cmd).
21604 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
21605 (tst-spawn-ARGS): Likewise.
21606 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
21607
88866099
JM
216082012-10-23 Joseph Myers <joseph@codesourcery.com>
21609 Jim Blandy <jimb@codesourcery.com>
21610
21611 * Makeconfig (run-via-rtld-prefix): New variable.
21612 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
21613 (built-program-cmd): Likewise.
21614
b4b4c296
AJ
216152012-10-22 Andreas Jaeger <aj@suse.de>
21616
21617 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
21618 __O_RSYNC if it exists, otherwise to O_SYNC.
21619
6fb54a22
JB
216202012-10-22 Jim Blandy <jimb@codesourcery.com>
21621 Joseph Myers <joseph@codesourcery.com>
21622
21623 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
21624 /dev/null.
21625 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
21626 from /dev/null
21627 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
21628 /dev/null.
21629
481b90b9
AJ
216302012-10-22 Andreas Jaeger <aj@suse.de>
21631
2a0e2669
AJ
21632 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
21633 Define always.
21634 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
21635
76e38f9a
AJ
21636 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21637 bits/fcntl-linux.h.
21638
7cd37b43
AJ
21639 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
21640 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
21641
481b90b9
AJ
21642 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
21643 to __O_LARGEFILE.
21644 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
21645 to __O_LARGEFILE.
21646
aba75984
JB
216472012-10-21 Jim Blandy <jimb@codesourcery.com>
21648 Joseph Myers <joseph@codesourcery.com>
21649
21650 * config.make.in (NM): New variable.
21651
88d4247f
AJ
216522012-10-21 Andreas Jaeger <aj@suse.de>
21653
21654 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
21655 definitions and declarations that are provided by
21656 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
21657
f2eed205
L
216582012-10-20 H.J. Lu <hongjiu.lu@intel.com>
21659
21660 [BZ #14683]
21661 * elf/Makefile (tests-static): Add tst-leaks1-static.
21662 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
21663 ($(objpfx)tst-leaks1-static): New rule.
21664 ($(objpfx)tst-leaks1-static-mem): Likewise.
21665 (tst-leaks1-static-ENV): New macro.
21666 * elf/dl-open.c (dl_open_worker): Check the main application
21667 only if SHARED is defined.
21668 * elf/tst-leaks1-static.c: New file.
21669
335e6931
AJ
216702012-10-20 Andreas Jaeger <aj@suse.de>
21671
21672 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
21673 generic values for Linux.
21674 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
21675 and declarations that are provided by <bits/fcntl-linux.h> and
21676 include <bits/fcntl-linux.h>.
21677 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21678 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21679
ac5c94d3
RM
216802012-10-20 Roland McGrath <roland@hack.frob.com>
21681
21682 * io/fcntl.h: Move include of <bits/types.h> to the top and
21683 include it unconditionally.
21684
de54b33a
L
216852012-10-20 H.J. Lu <hongjiu.lu@intel.com>
21686
228cfb01
L
21687 * wcsmbs/Makefile (tests-ifunc): New variable.
21688 (tests): Add $(tests-ifunc).
21689 * wcsmbs/test-wcschr-ifunc.c: New file.
21690 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
21691 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
21692 * wcsmbs/test-wcslen-ifunc.c: Likewise.
21693 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
21694 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
21695
69f07e5f
L
21696 * string/Makefile (tests-ifunc): New variable.
21697 (tests): Add $(tests-ifunc).
21698 * string/test-memccpy.c (TEST_NAME): New macro.
21699 * string/test-memchr.c (TEST_NAME): Likewise.
21700 * string/test-memcmp.c (TEST_NAME): Likewise.
21701 * string/test-memcpy.c (TEST_NAME): Likewise.
21702 * string/test-memmem.c (TEST_NAME): Likewise.
21703 * string/test-memmove.c (TEST_NAME): Likewise.
21704 * string/test-memset.c (TEST_NAME): Likewise.
21705 * string/test-rawmemchr.c (TEST_NAME): Likewise.
21706 * string/test-stpcpy.c (TEST_NAME): Likewise.
21707 * string/test-stpncpy.c (TEST_NAME): Likewise.
21708 * string/test-strcasecmp.c (TEST_NAME): Likewise.
21709 * string/test-strcasestr.c (TEST_NAME): Likewise.
21710 * string/test-strcat.c (TEST_NAME): Likewise.
21711 * string/test-strchr.c (TEST_NAME): Likewise.
21712 * string/test-strcmp.c(TEST_NAME): Likewise.
21713 * string/test-strcpy.c (TEST_NAME): Likewise.
21714 * string/test-strcspn.c (TEST_NAME): Likewise.
21715 * string/test-strlen.c (TEST_NAME): Likewise.
21716 * string/test-strncasecmp.c (TEST_NAME): Likewise.
21717 * string/test-strncmp.c (TEST_NAME): Likewise.
21718 * string/test-strncpy.c (TEST_NAME): Likewise.
21719 * string/test-strnlen.c (TEST_NAME): Likewise.
21720 * string/test-strpbrk.c (TEST_NAME): Likewise.
21721 * string/test-strrchr.c (TEST_NAME): Likewise.
21722 * string/test-strspn.c (TEST_NAME): Likewise.
21723 * string/test-strstr.c (TEST_NAME): Likewise.
21724 * string/test-bcopy-ifunc.c: New file.
21725 * string/test-bzero-ifunc.c: Likewise.
21726 * string/test-memccpy-ifunc.c: Likewise.
21727 * string/test-memchr-ifunc.c: Likewise.
21728 * string/test-memcmp-ifunc.c: Likewise.
21729 * string/test-memcpy-ifunc.c: Likewise.
21730 * string/test-memmem-ifunc.c: Likewise.
21731 * string/test-memmove-ifunc.c: Likewise.
21732 * string/test-mempcpy-ifunc.c: Likewise.
21733 * string/test-memset-ifunc.c: Likewise.
21734 * string/test-rawmemchr-ifunc.c: Likewise.
21735 * string/test-stpcpy-ifunc.c: Likewise.
21736 * string/test-stpncpy-ifunc.c: Likewise.
21737 * string/test-strcasecmp-ifunc.c: Likewise.
21738 * string/test-strcasestr-ifunc.c: Likewise.
21739 * string/test-strcat-ifunc.c: Likewise.
21740 * string/test-strchr-ifunc.c: Likewise.
21741 * string/test-strchrnul-ifunc.c: Likewise.
21742 * string/test-strcmp-ifunc.c: Likewise.
21743 * string/test-strcpy-ifunc.c: Likewise.
21744 * string/test-strcspn-ifunc.c: Likewise.
21745 * string/test-strlen-ifunc.c: Likewise.
21746 * string/test-strncasecmp-ifunc.c: Likewise.
21747 * string/test-strncat-ifunc.c: Likewise.
21748 * string/test-strncmp-ifunc.c: Likewise.
21749 * string/test-strncpy-ifunc.c: Likewise.
21750 * string/test-strnlen-ifunc.c: Likewise.
21751 * string/test-strpbrk-ifunc.c: Likewise.
21752 * string/test-strrchr-ifunc.c: Likewise.
21753 * string/test-strspn-ifunc.c: Likewise.
21754 * string/test-strstr-ifunc.c: Likewise.
21755
de54b33a
L
21756 * debug/Makefile (tests-ifunc): New variable.
21757 (tests): Add $(tests-ifunc).
21758 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
21759 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
21760 * debug/test-stpcpy_chk-ifunc.c: New file.
21761 * debug/test-strcpy_chk-ifunc.c: Likewise.
21762
88481c16
SP
217632012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
21764
21765 [BZ #13601]
21766 * elf/dl-load.c (open_verify): Retry read if the entire ELF
21767 header is not read in.
21768
135948bd
JM
217692012-10-19 Joseph Myers <joseph@codesourcery.com>
21770
89f1c388
JM
21771 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
21772 script to $(SHELL) as $<. Pass $(common-objpfx) to script
21773 directly. Pass built executable to script as
21774 $(built-program-cmd).
21775 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
21776 $testprogram without using LD_LIBRARY_PATH and $ldso.
21777
e40a0d21
JM
21778 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
21779 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
21780 $(rtld-installed-name).
21781 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
21782 (rtld_installed_name): Likewise.
21783 (library_path): Likewise.
21784 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
21785 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
21786 $(run-program-prefix) to tst-tables.sh.
21787 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
21788 it to run tst-table-from and tst-table-to.
21789 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
21790 Pass it to tst-table.sh.
21791 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
21792 $(run-program-prefix) to tst-gettext.sh.
21793 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
21794 tst-translit.sh.
21795 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
21796 tst-gettext2.sh.
21797 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
21798 to run tst-gettext.
21799 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
21800 to run tst-gettext2.
21801 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
21802 to run tst-translit.
21803 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
21804 $(run-program-prefix) to tst-mtrace.sh.
21805 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
21806 to run tst-mtrace.
21807 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
21808 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
21809 $(rtld-installed-name).
21810 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
21811 (rtld_installed_name): Likewise.
21812 (run_program_prefix): New variable. Use it to run wordexp-test.
21813
728e272a
JM
21814 * Makeconfig (ARCH): Remove all definitions.
21815 (machine): Likewise.
21816 [ARCH]: Remove conditional code.
21817 [!objdir]: Give error.
21818 [!objdir] (objpfx): Remove.
21819 [!objdir] (common-objpfx): Likewise.
21820 [!objdir] (common-objdir): Likewise.
21821 * configure.in (config_makefile): Remove. Hardcode Makefile in
21822 AC_CONFIG_FILES call.
21823 * configure: Regenerated.
21824
d528cdcf
JM
21825 [BZ #13888]
21826 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
21827 or TMPDIR.
21828 (testout): Likewise.
21829
135948bd
JM
21830 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
21831 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
21832 $(rtld-installed-name).
21833 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
21834 (rtld_installed_name): Likwise.
21835 (runit): Remove function.
21836 (run_getconf): New variable, Use it for running getconf binary.
21837
38c78296
L
218382012-10-18 H.J. Lu <hongjiu.lu@intel.com>
21839
21840 [BZ #14716]
21841 * string/test-memmem.c (check_result): New function.
21842 (do_one_test): Use it.
21843 (check1): New function.
21844 (test_main): Use it.
21845
d077f65f
MT
218462012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
21847
21848 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
21849
ced52c71
JM
218502012-10-18 Joseph Myers <joseph@codesourcery.com>
21851
21852 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
21853 (_G_LSEEK64): Likewise.
21854 (_G_MMAP64): Likewise.
21855 (_G_FSTAT64): Likewise.
21856 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
21857 (_G_LSEEK64): Likewise.
21858 (_G_MMAP64): Likewise.
21859 (_G_FSTAT64): Likewise.
21860 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
21861 unconditional. Call __mmap64 directly.
21862 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
21863 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
21864 __lseek64 directly.
21865 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
21866 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
21867 __mmap64 directly.
21868 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
21869 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
21870 __lseek64 directly.
21871 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
21872 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
21873 __lseek64 directly.
21874 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
21875 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
21876 __lseek64 directly.
21877 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
21878 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
21879 __fxstat64 directly.
21880 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
21881 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
21882 unconditional.
21883 (freopen64) [!_G_OPEN64]: Remove conditional code.
21884 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
21885 unconditional.
21886 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
21887 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
21888 unconditional.
21889 (ftello64) [!_G_LSEEK64]: Remove conditional code.
21890 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
21891 unconditional.
21892 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
21893 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
21894 unconditional.
21895 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
21896 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
21897 unconditional.
21898 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
21899 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
21900 unconditional.
21901 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
21902 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
21903 unconditional.
21904 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
21905
b741de23
SP
219062012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
21907
21908 [BZ #12140]
21909 * manual/memory.texi (Malloc Tunable Parameters): Add note
21910 about free list pointers overwriting some perturb bytes.
21911 Wording suggested by Roland McGrath.
21912
f9b9d9c9
JM
219132012-10-17 Joseph Myers <joseph@codesourcery.com>
21914
21915 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
21916 (lgamma_test): Likewise.
21917 (tgamma_test): Likewise.
21918
172a631a
FW
219192012-10-16 Florian Weimer <fweimer@redhat.com>
21920
21921 [BZ #14700]
21922 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
21923 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
21924
e9f37252
MK
219252012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
21926
21927 * NEWS: Mention BZ #14716.
21928 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
21929 when removing AVAILABLE1_USES_J macro.
21930
d394eb74
L
219312012-10-12 H.J. Lu <hongjiu.lu@intel.com>
21932
21933 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
21934 (__bswap_64): __uint64_t for unsigned 64-bit int.
21935
ca38dc17
AS
219362012-10-12 Andreas Schwab <schwab@linux-m68k.org>
21937
21938 * include/string.h (memmem): Declare libc hidden alias.
21939 * string/memmem.c (memmem): Define libc hidden alias.
21940 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
21941 __read, __close instead of open, read, close.
21942
9a387d1f
L
219432012-10-11 H.J. Lu <hongjiu.lu@intel.com>
21944
ac49ecaf
L
21945 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
21946 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
21947 global and hidden.
21948 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
21949 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
21950 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
21951 Likewise.
21952 (__rawmemchr_sse2): Likewise.
21953 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
21954 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
21955 (__strchr_sse2): Likewise.
21956 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
21957 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
21958 (__strcasecmp_sse2): Likewise.
21959 (__strncasecmp_sse2): Likewise.
21960 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
21961 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
21962 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
21963 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
21964 (__strrchr_sse2): Likewise.
21965 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
21966 ifunc-impl-list.c.
21967 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
21968 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
21969 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
21970 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
21971 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
21972 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
21973 * sysdeps/x86_64/multiarch/memset.S: Likewise.
21974 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
21975 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
21976 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
21977 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
21978 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
21979 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
21980 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
21981 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
21982 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
21983 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
21984 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
21985 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
21986 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
21987 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
21988 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
21989 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
21990 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
21991 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
21992 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
21993 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
21994 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
21995 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
21996 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
21997
b090e8ea
L
21998 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
21999 global and hidden.
22000 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
22001 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
22002 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
22003 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
22004 Likewise.
22005 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
22006 Likewise.
22007 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
22008 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
22009 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
22010 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
22011 ifunc-impl-list.c.
22012 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
22013 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
22014 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
22015 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
22016 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
22017 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
22018 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
22019 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
22020 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
22021 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
22022 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
22023 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
22024 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
22025 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
22026 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
22027 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
22028 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
22029 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
22030 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
22031 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
22032 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
22033 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
22034 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
22035 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
22036 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
22037 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
22038 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
22039 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
22040 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
22041 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
22042 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
22043 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
22044 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
22045 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
22046 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
22047 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
22048 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
22049 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
22050 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
22051 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
22052 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
22053
11dd4af6
L
22054 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
22055 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
22056 * include/ifunc-impl-list.h: New file.
22057 * misc/ifunc-impl-list.c: Likewise.
22058 * misc/Makefile (routines): Add ifunc-impl-list.
22059 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
22060 * string/test-string.h: Include <ifunc-impl-list.h>.
22061 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
22062 impl_array): New variables.
22063 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
22064 are defined.
22065 (test_init): Call __libc_ifunc_impl_list to initialize
22066 func_list if TEST_IFUNC and TEST_NAME are defined.
22067
9a387d1f
L
22068 * string/Makefile (strop-tests): Add bcopy and bzero.
22069 * string/test-bcopy.c: New file.
22070 * string/test-bzero.c: Likewise.
22071 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
22072 defined.
22073 * string/test-memset.c: Support bzero test if TEST_BZERO is
22074 defined.
22075 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
22076 __libc_memmove.
22077 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
22078 __libc_memset.
22079 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
22080 of memset.
22081
472371b9
JM
220822012-10-10 Joseph Myers <joseph@codesourcery.com>
22083
1e4a9536
JM
22084 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
22085 * configure: Regenerated.
22086
d173d12e
JM
22087 * Makeconfig (+link-static-before-libc): Don't include
22088 $(link-static-libc).
22089
472371b9
JM
22090 * libio/libio.h (_IO_pos_t): Remove.
22091
89a3ad0b
AO
220922012-10-10 Alexandre Oliva <aoliva@redhat.com>
22093
22094 * NEWS: Add note about FIPS mode. Wording suggested by Roland
22095 McGrath.
22096
e7451425
AO
220972012-10-10 Alexandre Oliva <aoliva@redhat.com>
22098
22099 * crypt/crypt-entry.c: Include fips-private.h.
22100 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
22101 * crypt/md5c-test.c (main): Tolerate disabled MD5.
22102 * sysdeps/unix/sysv/linux/fips-private.h: New file.
22103 * sysdeps/generic/fips-private.h: New file, dummy fallback.
22104
4ba74a35
AO
221052012-10-10 Alexandre Oliva <aoliva@redhat.com>
22106
22107 * crypt/crypt-private.h: Include stdbool.h.
22108 (_ufc_setup_salt_r): Return bool.
22109 * crypt/crypt-entry.c: Include errno.h.
22110 (__crypt_r): Return NULL with EINVAL for bad salt.
22111 * crypt/crypt_util.c (bad_for_salt): New.
22112 (_ufc_setup_salt_r): Check that salt is long enough and within
22113 the specified alphabet.
22114 * crypt/badsalttest.c: New file.
22115 * crypt/Makefile (tests): Add it.
22116 ($(objpfx)badsalttest): New.
22117
f96f1242
MK
221182012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
22119
22120 * NEWS: Add entry for BZ #14602.
22121
0e8e0c1c
JM
221222012-10-09 Joseph Myers <joseph@codesourcery.com>
22123
22124 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
22125 type-generic.
22126 * math/libm-test.inc: Update comment listing what functions and
22127 macros are tested.
22128 (isgreater_test): New function.
22129 (isgreaterequal_test): Likewise.
22130 (isless_test): Likewise.
22131 (islessequal_test): Likewise.
22132 (islessgreater_test): Likewise.
22133 (isunordered_test): Likewise.
22134 (main): Call the new functions.
22135
273edc5e
RM
221362012-10-09 Roland McGrath <roland@hack.frob.com>
22137
b8493de0
RM
22138 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
22139 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
22140 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
22141 * sysdeps/i386/configure: Regenerated.
22142 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
22143 * sysdeps/mach/configure: Regenerated.
22144 * sysdeps/mach/hurd/configure: Regenerated.
22145 * sysdeps/powerpc/configure: Regenerated.
22146 * sysdeps/powerpc/powerpc32/configure: Regenerated.
22147 * sysdeps/powerpc/powerpc64/configure: Regenerated.
22148 * sysdeps/s390/s390-32/configure: Regenerated.
22149 * sysdeps/s390/s390-64/configure: Regenerated.
22150 * sysdeps/sh/configure: Regenerated.
22151 * sysdeps/sparc/configure: Regenerated.
22152 * sysdeps/unix/sysv/linux/configure: Regenerated.
22153 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
22154 * sysdeps/x86_64/configure: Regenerated.
22155
273edc5e
RM
22156 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
22157 defined. Don't check if MAP is NULL.
22158
c8450f70
JM
221592012-10-09 Joseph Myers <joseph@codesourcery.com>
22160
22161 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
22162 (_G_stat64): Likewise.
22163 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
22164 (_G_stat64): Likewise.
22165 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
22166 instead of struct _G_stat64.
22167 * libio/fileops.c (mmap_remap_check): Likewise.
22168 (decide_maybe_mmap): Likewise.
22169 (_IO_new_file_seekoff): Likewise.
22170 (_IO_file_stat): Likewise.
22171 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
22172 _G_off64_t.
22173 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
22174 instead of struct _G_stat64.
22175 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
22176
57e605ba
MK
221772012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
22178
22179 [BZ #14602]
22180 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
22181 Replace with ...
22182 (CHECK_EOL): New macro.
22183 (two_way_short_needle): Check beginning of haystack for EOL. Use
22184 CHECK_EOL.
22185 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
22186 Replace with CHECK_EOL.
22187 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
22188 Replace with CHECK_EOL.
22189
ef1bb361
JM
221902012-10-08 Joseph Myers <joseph@codesourcery.com>
22191
22192 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
22193 type-generic.
22194 * math/libm-test.inc: Update comment listing what functions and
22195 macros are tested.
22196 (finite_test): New function.
22197 (isinf_test): Likewise.
22198 (isnan_test): Likewise.
22199 (fpclassify_test): Test subnormal input.
22200 (isfinite_test): Likewise.
22201 (isnormal_test): Likewise.
22202 (main): Call the new functions.
22203
55f11534
JN
222042012-10-08 Jonathan Nieder <jrnieder@gmail.com>
22205
22206 [BZ #14660]
22207 * Makerules (%.dynsym): Force C locale when running
22208 $(OBJDUMP) --dynamic-syms.
22209
1ab29350
AS
222102012-10-08 Andreas Schwab <schwab@linux-m68k.org>
22211
22212 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
22213 <stdint.h>.
22214
f1ecb7ef
DM
222152012-10-06 David S. Miller <davem@davemloft.net>
22216
22217 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
22218 upper 32-bits of the length value in %o2 since we use branch-on-register
22219 tests which consider the entire 64-bit register.
22220
5d41d91a
L
222212012-10-06 H.J. Lu <hongjiu.lu@intel.com>
22222
22223 * string/test-strstr.c (check2): Add a test for page boundary.
22224
3baddb72
DM
222252012-10-05 David S. Miller <davem@davemloft.net>
22226
22227 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
22228 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
22229 file.
22230 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
22231 sysdep_routines.
22232 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
22233 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
22234 and bzero when HWCAP_SPARC_CRYPTO is present.
22235
9cee5585
L
222362012-10-05 H.J. Lu <hongjiu.lu@intel.com>
22237
d7e0dab9
L
22238 [BZ #14602]
22239 * string/test-strstr.c (check2): New function.
22240 (test_main): Call check2.
22241
03759f47
L
22242 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
22243 and bug-strchr1.
22244 * string/bug-strcasestr1.c (do_test): Moved to ...
22245 * string/test-strcasestr.c (check1): Here. New function.
22246 (do_one_test): Break out result checking code into ...
22247 (check_result): This. New function.
22248 (do_one_test): Call check_result.
22249 (test_main): Call check1.
22250 * string/bug-strchr1.c (do_test): Moved to ...
22251 * string/test-strchr.c (check1): Here. New function.
22252 (do_one_test): Break out result checking code into ...
22253 (check_result): This. New function.
22254 (do_one_test): Call check_result.
22255 (test_main): Call check1.
22256 * string/bug-strstr1.c (main): Moved to ...
046f153e 22257 * string/test-strstr.c (check1): Here. New function.
03759f47
L
22258 (do_one_test): Break out result checking code into ...
22259 (check_result): This. New function.
22260 (do_one_test): Call check_result.
22261 (test_main): Call check1.
22262 * string/bug-strcasestr1.c: Removed.
22263 * string/bug-strchr1.c: Likewise.
22264 * string/bug-strstr1.c: Likewise.
22265
53cea63e
L
22266 * elf/Makefile (dl-routines): Add hwcaps.
22267 * elf/dl-support.c (_dl_important_hwcaps): Removed.
22268 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
22269 (_dl_important_hwcaps): Moved to ...
22270 * elf/dl-hwcaps.c: Here. New file.
22271 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
22272
9cee5585 22273 [BZ #14557]
bb859b06
L
22274 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
22275 if IS_IN_rtld isn't defined.
22276
9cee5585
L
22277 * elf/dl-support.c (_dl_sysinfo_map): New.
22278 Include "get-dynamic-info.h" and "setup-vdso.h".
22279 (_dl_non_dynamic_init): Call setup_vdso.
22280 * elf/dynamic-link.h: Don't include <assert.h>.
22281 (elf_get_dynamic_info): Moved to ...
22282 * elf/get-dynamic-info.h: Here. New file.
22283 * elf/dynamic-link.h: Include "get-dynamic-info.h".
22284 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
22285 * elf/setup-vdso.h: Here. New file.
22286 * elf/rtld.c: Include "setup-vdso.h".
22287 (dl_main): Call setup_vdso.
22288
23c31b76
JM
222892012-10-05 Joseph Myers <joseph@codesourcery.com>
22290
28234b07
JM
22291 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
22292 creal in comment listing functions tested. List finite, isinf,
22293 isnan, isless, islessequal, isgreater, isgreaterequal,
22294 islessgreater, isunordered, lgamma_r and pow10 as functions and
22295 macros not tested. Mention which functions not tested are aliases
22296 for other functions. Fix typo. Note that signs of NaNs are not
22297 tested.
22298
23c31b76
JM
22299 * scripts/config.guess: Update from config.git.
22300 * scripts/config.sub: Likewise.
22301
9043e228
RM
223022012-10-04 Roland McGrath <roland@hack.frob.com>
22303
22304 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
22305 * misc/madvise.c (madvise): Renamed to __madvise.
22306 Make madvise a weak alias.
22307 * include/sys/mman.h: Declare __madvise.
22308 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
22309 * sysdeps/unix/syscalls.list
22310 (madvise): Make __madvise the strong name, and madvise a weak alias.
22311 * sysdeps/unix/sysv/linux/syscalls.list
22312 (madvise, mmap): Remove redundant entries.
22313 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
22314 * malloc/malloc.c (mtrim): Likewise.
22315 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
22316
f57f8055
RM
223172012-10-03 Roland McGrath <roland@hack.frob.com>
22318
22319 * sysdeps/mach/hurd/dl-cache.c: File removed.
22320 * config.h.in (USE_LDCONFIG): New #undef.
22321 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
22322 * configure: Regenerated.
22323 * elf/Makefile (dl-routines): Add dl-cache only under
22324 [$(use-ldconfig) = yes].
22325 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
22326 cache on [USE_LDCONFIG].
22327 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
22328 [USE_LDCONFIG].
22329 * elf/rtld.c (dl_main): Likewise.
22330
5bb0c10a
PT
223312012-10-03 Pino Toscano <toscano.pino@tiscali.it>
22332
22333 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
22334 _SC_LEVEL4_CACHE_LINESIZE.
22335
010188c6
RM
223362012-10-03 Roland McGrath <roland@hack.frob.com>
22337
22338 * sysdeps/unix/bsd/confstr.h: File removed.
22339
b6c5ec07
AO
223402012-10-02 Alexandre Oliva <aoliva@redhat.com>
22341
22342 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
22343 sys/sdt-config.h.
22344
408223d4
RM
223452012-10-02 Roland McGrath <roland@hack.frob.com>
22346
22347 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
22348 Make 'mapoff' field ElfW(Off) rather than off_t.
22349
bb9510dc
DL
223502012-10-02 Dmitry V. Levin <ldv@altlinux.org>
22351
fc997c6e
DL
22352 * nscd/Makefile: Remove nscd-cflags and all its users.
22353 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
22354 (CFLAGS-nonlib): Add compiler flags for nscd modules.
22355
bb9510dc
DL
22356 [BZ #10631]
22357 * malloc.c (malloc_printerr): Clarify error message.
22358
05699367
L
223592012-10-02 H.J. Lu <hongjiu.lu@intel.com>
22360
22361 [BZ #14648]
22362 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22363 Set bit_FMA_Usable if FMA is supported.
22364 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
22365 macro.
22366 (bit_FMA4_Usable): Updated.
22367 (index_FMA_Usable): New macro.
22368 (CPUID_FMA): Likewise
22369 (HAS_FMA): Defined with bit_FMA_Usable.
22370
51367701
RM
223712012-10-01 Roland McGrath <roland@hack.frob.com>
22372
22373 * bits/types.h (__swblk_t): Type removed.
22374 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
22375 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
22376 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22377 (__SWBLK_T_TYPE): Likewise.
22378 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
22379 (__SWBLK_T_TYPE): Likewise.
22380 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22381 (__SWBLK_T_TYPE): Likewise.
22382 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22383 (__SWBLK_T_TYPE): Likewise.
22384
4d57bf63 223852012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 22386 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
22387
22388 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
22389 (xdr_mapname): Use YPMAXMAP as maxsize.
22390 (xdr_peername): Use YPMAXPEER as maxsize.
22391 (xdr_keydat): Use YPAXRECORD as maxsize.
22392 (xdr_valdat): Use YPMAXRECORD as maxsize.
22393
93c65d43
RM
223942012-10-01 Roland McGrath <roland@hack.frob.com>
22395
497a03d6
RM
22396 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
22397
93c65d43
RM
22398 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
22399 * csu/init-first.c: ... here.
22400 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
22401 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
22402 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
22403 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
22404 * sysdeps/i386/init-first.c: File removed.
22405 * sysdeps/sh/init-first.c: File removed.
22406
bec749fd
JM
224072012-10-01 Joseph Myers <joseph@codesourcery.com>
22408
22409 [BZ #14645]
22410 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
22411 if x * y might underflow to zero and z is zero.
22412 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22413 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22414 * math/libm-test.inc (min_subnorm_value): New variable.
22415 (fma_test): Add more tests.
22416 (fma_test_towardzero): Likewise.
22417 (fma_test_downward): Likewise
22418 (fma_test_upward): Likewise.
22419 (initialize): Set min_subnorm_value.
22420
8ec5b013
JM
224212012-09-29 Joseph Myers <joseph@codesourcery.com>
22422
22423 [BZ #14638]
22424 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
22425 0 + 0.
22426 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
22427 mode for addition resulting in exact zero.
22428 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
22429 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
22430 exact 0 + 0.
22431 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
22432 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22433 * math/libm-test.inc (fma_test): Add more tests.
22434 (fma_test_towardzero): New function.
22435 (fma_test_downward): Likewise.
22436 (fma_test_upward): Likewise.
22437 (main): Call the new functions.
22438
b1fa802e
DM
224392012-09-28 David S. Miller <davem@davemloft.net>
22440
22441 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
22442
d3b9fd9e
RM
224432012-09-28 Roland McGrath <roland@hack.frob.com>
22444
ea4d37b3
RM
22445 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
22446 instead of SIGALRM.
22447
ac51c949
RM
22448 * sysdeps/gnu/_G_config.h: Moved to ...
22449 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
22450 * sysdeps/mach/hurd/_G_config.h: Moved to ...
22451 * sysdeps/generic/_G_config.h: ... here.
22452
28c195f7
RM
22453 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
22454
848917f9
RM
22455 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
22456
6bacf05b
RM
22457 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
22458 Conditionalize target on [libnss_test1.so-version].
22459
91363dbb
RM
22460 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
22461
cc87f7d8
RM
22462 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
22463 (elfobjdir): Move out of conditionals.
22464
b1c608fe
RM
22465 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
22466 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
22467 (__nss_lookup_function): Conditionalize label remove_from_tree on
22468 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 22469
1d9a6d96
DM
224702012-09-28 David S. Miller <davem@davemloft.net>
22471
22472 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
22473 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
22474 file.
22475 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
22476 sysdep_routines.
22477 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
22478 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
22479 when HWCAP_SPARC_CRYPTO is present.
22480
72581615
PT
224812012-09-28 Pino Toscano <toscano.pino@tiscali.it>
22482
22483 * io/tst-mknodat.c: Create a FIFO instead of a socket.
22484
715a900c
JL
224852012-09-28 Andreas Schwab <schwab@linux-m68k.org>
22486
22487 [BZ #6530]
22488 * stdio-common/vfprintf.c (process_string_arg): Revert
22489 2000-07-22 change.
22490
224912011-09-28 Jonathan Nieder <jrnieder@gmail.com>
22492
22493 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
22494 for testcase.
22495 * stdio-common/tst-sprintf.c: Include <locale.h>
22496 (main): Test sprintf's handling of incomplete multibyte
22497 characters.
22498
9bac1d86
L
224992012-09-28 H.J. Lu <hongjiu.lu@intel.com>
22500
22501 * elf/dl-runtime.c (VERSYMIDX): Removed.
22502 * elf/dl-version.c (VERSYMIDX): Likewise.
22503 * elf/do-rel.h (VERSYMIDX): Likewise.
22504 (VALIDX): Likewise.
22505 * elf/dynamic-link.h (VERSYMIDX): Likewise.
22506 * elf/rtld.c (VALIDX): Likewise.
22507 (ADDRIDX): Likewise.
9bac1d86
L
22508 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
22509 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
22510 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
22511 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
22512 (VALIDX): Likewise.
22513 (ADDRIDX): Likewise.
9bac1d86 22514
b31606c0
PT
225152012-09-28 Pino Toscano <toscano.pino@tiscali.it>
22516
22517 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
22518
11541177
JL
225192012-09-28 Dmitry V. Levin <ldv@altlinux.org>
22520
22521 [BZ #11438]
22522 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
22523 to global scope.
22524 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
22525 addresses are in the same scope as 192.0.2/24.
22526 * posix/gai.conf: Document new scope table defaults.
22527
adb26fae
SP
225282012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22529
22530 [BZ #5298]
22531 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
22532 for ftell. Compute offsets from write pointers instead.
22533 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
22534
4573c6b0
SP
225352012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22536
22537 [BZ #14543]
22538 * libio/Makefile (tests): New test case tst-fseek.
22539 * libio/tst-fseek.c: New test case to verify that fseek/ftell
22540 combination works in wide mode.
22541 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
22542 state when the external buffer state changes.
22543
aa9bbfe6
DM
225442012-09-27 David S. Miller <davem@davemloft.net>
22545
22546 [BZ #14376]
22547 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
22548 pass reloc->r_addend in as the 'high' argument to
22549 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
22550
784421e7
DM
22551 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22552
c39bc8b8
PT
225532012-09-28 Pino Toscano <toscano.pino@tiscali.it>
22554
22555 * rt/tst-aio2.c: Include <pthread.h>.
22556 * rt/tst-aio3.c: Likewise.
22557
1ccc2399
SE
225582012-09-27 Steve Ellcey <sellcey@mips.com>
22559
22560 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
22561
31ed4153
L
225622012-09-27 H.J. Lu <hongjiu.lu@intel.com>
22563
25f5f885
L
22564 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
22565 contents on [SHARED].
31ed4153 22566
b7bfe116
MP
225672012-09-26 Marek Polacek <polacek@redhat.com>
22568
22569 [BZ #14530]
22570 [BZ #13741]
22571 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
22572 for C++ and GCC <4.3 as well as for non GCC compilers.
22573
43c4edba
MT
225742012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
22575
22576 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22577
6a1bf82f
RM
225782012-09-25 Roland McGrath <roland@hack.frob.com>
22579
22580 * Makefile.in (all, install): Declare with .PHONY.
22581 Reported by Michael Hope <michael.hope@linaro.org>.
22582
8ad11b9a
TMQMF
225832012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22584
22585 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
22586 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
22587 system header.
22588 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
22589 Likewise.
22590 (sydep_routines): Add the new and the internal functions.
22591 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
22592 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
22593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
22594 (GLIBC_2.17): Add the new function.
22595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
22596 (GLIBC_2.17): Likewise.
22597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
22598 (GLIBC_2.17): Likewise.
22599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
22600 (GLIBC_2.17): Likewise.
22601 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
22602
7e2fca8d
AM
226032012-09-25 Alan Modra <amodra@gmail.com>
22604
22605 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
22606 Add release barrier before setting once_control to say
22607 initialisation is done. Add hints on lwarx. Use macro in
22608 place of isync.
22609 (clear_once_control): Add release barrier.
22610
b87c4b24
JM
226112012-09-25 Joseph Myers <joseph@codesourcery.com>
22612
d032e0d2
JM
22613 [BZ #13629]
22614 * math/s_clog.c (__clog): Handle more values close to |z| = 1
22615 specially.
22616 * math/s_clog10.c (__clog10): Likewise.
22617 * math/s_clog10f.c (__clog10f): Likewise.
22618 * math/s_clog10l.c (__clog10l): Likewise.
22619 * math/s_clogf.c (__clogf): Likewise.
22620 * math/s_clogl.c (__clogl): Likewise.
22621 * math/Makefile (libm-calls): Add x2y2m1.
22622 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
22623 (__x2y2m1): Likewise.
22624 (__x2y2m1l): Likewise.
22625 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
22626 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
22627 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
22628 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
22629 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
22630 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
22631 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
22632 * sysdeps/i386/fpu/libm-test-ulps: Update.
22633 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22634
b87c4b24
JM
22635 [BZ #14621]
22636 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
22637 int as type of variable DEPTH.
22638 (glob): Use size_t instead of int as type of variables NEWCOUNT
22639 and OLD_PATHC.
22640
6d3bf199
LD
226412012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22642
22bf5c17
LD
22643 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
22644 Add s_sincosf-sse2.
22645 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
22646 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
22647 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
22648 macros for using routine as __sincosf_ia32.
22649 Use macro for function declaration and weak_alias.
22650 * sysdeps/i386/fpu/libm-test-ulps: Update.
22651
22652 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
22653 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22654
22655 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
22656 subnormal argument.
22657 * math/s_cexpf.c (__cexpf): Likewise.
22658 * math/s_csinf.c (__csinf): Likewise.
22659 * math/s_csinhf.c (__csinhf): Likewise.
22660 * math/s_ctanf.c (__ctanf): Likewise.
22661 * math/s_ctanhf.c (__ctanhf): Likewise.
22662 * math/s_ccosh.c (__ccoshf): Likewise.
22663 * math/s_cexp.c (__cexpl): Likewise.
22664 * math/s_csin.c (__csin): Likewise.
22665 * math/s_csinh.c (__csinh): Likewise.
22666 * math/s_ctan.c (__ctan): Likewise.
22667 * math/s_ctanh.c (ctanh): Likewise.
22668 * math/s_ccoshl.c (__ccoshl): Likewise.
22669 * math/s_cexpl.c (__cexpl): Likewise.
22670 * math/s_csinl.c (__csinl): Likewise.
22671 * math/s_csinhl.c (__csinhl): Likewise.
22672 * math/s_ctanl.c (__ctanl): Likewise.
22673 * math/s_ctanhl.c (__ctanhl): Likewise.
22674
203e5603
JM
226752012-09-25 Joseph Myers <joseph@codesourcery.com>
22676
22677 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
22678 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
22679 (_IO_off_t): Define to __off_t, not _G_off_t.
22680 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
22681 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
22682 (_IO_wint_t): Define to wint_t, not _G_wint_t.
22683 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
22684 type of __dummy and __dummy2 fields.
22685 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
22686 (_G_ssize_t): Likewise.
22687 (_G_off_t): Likewise.
22688 (_G_pid_t): Likewise.
22689 (_G_uid_t): Likewise.
22690 (_G_wchar_t): Likewise.
22691 (_G_wint_t): Likewise.
22692 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
22693 (_G_ssize_t): Likewise.
22694 (_G_off_t): Likewise.
22695 (_G_pid_t): Likewise.
22696 (_G_uid_t): Likewise.
22697 (_G_wchar_t): Likewise.
22698 (_G_wint_t): Likewise.
22699 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
22700 (_G_ssize_t): Likewise.
22701 (_G_off_t): Likewise.
22702 (_G_pid_t): Likewise.
22703 (_G_uid_t): Likewise.
22704 (_G_wchar_t): Likewise.
22705 (_G_wint_t): Likewise.
22706
9fab36eb
SP
227072012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
22708
22709 * malloc/arena.c: Include malloc-sysdep.h.
22710 (shrink_heap): Use check_may_shrink_heap to decide if madvise
22711 is sufficient to shrink the heap or an unmap is needed.
22712 * sysdeps/generic/malloc-sysdep.h: New file. Define
22713 new function check_may_shrink_heap.
22714 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
22715 new function check_may_shrink_heap.
22716
2b4f00d1
SP
227172012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
22718
22719 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
22720 comments.
22721
9a9028b1
DL
227222012-09-24 Dmitry V. Levin <ldv@altlinux.org>
22723
57c69bef
DL
22724 * catgets/test-gencat.sh: Add "set -e".
22725 * elf/tst-pathopt.sh: Likewise.
22726 * grp/tst_fgetgrent.sh: Likewise.
22727 * iconvdata/run-iconv-test.sh: Likewise.
22728 * intl/tst-gettext.sh: Likewise.
22729 * intl/tst-gettext2.sh: Likewise.
22730 * intl/tst-gettext4.sh: Likewise.
22731 * intl/tst-gettext6.sh: Likewise.
22732 * intl/tst-translit.sh: Likewise.
22733 * io/ftwtest-sh: Likewise.
22734 * libio/test-freopen.sh: Likewise.
22735 * malloc/tst-mtrace.sh: Likewise.
22736 * posix/globtest.sh: Likewise.
22737 * posix/tst-getconf.sh: Likewise.
22738 * posix/wordexp-tst.sh: Likewise.
22739 * stdio-common/tst-printf.sh: Likewise.
22740 * stdio-common/tst-unbputc.sh: Likewise.
22741 * stdlib/tst-fmtmsg.sh: Likewise.
22742 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
22743 * catgets/Makefile: Do not specify -e option when running
22744 testsuite shell scripts.
22745 * elf/Makefile: Likewise.
22746 * grp/Makefile: Likewise.
22747 * iconvdata/Makefile: Likewise.
22748 * intl/Makefile: Likewise.
22749 * io/Makefile: Likewise.
22750 * libio/Makefile: Likewise.
22751 * malloc/Makefile: Likewise.
22752 * posix/Makefile: Likewise.
22753 * stdio-common/Makefile: Likewise.
22754 * stdlib/Makefile: Likewise.
22755 * sysdeps/x86_64/Makefile: Likewise.
22756
9a9028b1
DL
22757 * io/ftwtest-sh: Add copyright header.
22758 * posix/globtest.sh: Likewise.
22759 * posix/tst-getconf.sh: Likewise.
22760 * posix/wordexp-tst.sh: Likewise.
22761 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
22762
ced6f16e
L
227632012-09-24 H.J. Lu <hongjiu.lu@intel.com>
22764
94b32c39
L
22765 [BZ #13679]
22766 * Makeconfig (+link): Defined as $(+link-static) if
22767 $(build-shared) isn't yes.
22768 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
22769 isn't yes.
22770 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
22771
189e935b
L
22772 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
22773
ced6f16e
L
22774 [BZ #14562]
22775 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
22776 new chunk size with MALLOC_ALIGN_MASK.
22777
a9f8e53a
JM
227782012-09-24 Joseph Myers <joseph@codesourcery.com>
22779
22780 [BZ #5044]
22781 * stdio-common/printf_fphex.c: Include <stdbool.h> and
22782 <rounding-mode.h>.
22783 (__printf_fphex): Determine rounding using get_rounding_mode and
22784 round_away.
22785 * stdio-common/tst-printf-round.c (struct hex_test): New
22786 structure.
22787 (hex_tests): New variable.
22788 (test_hex_in_one_mode): New function.
22789 (do_test): Also run tests for hex float output.
22790
43153109
JM
227912012-09-21 Joseph Myers <joseph@codesourcery.com>
22792
22793 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
22794 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
22795 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
22796 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
22797 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
22798 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
22799 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
22800 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
22801
8a26625d
JM
228022012-09-20 Joseph Myers <joseph@codesourcery.com>
22803
22804 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
22805 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
22806 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
22807 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
22808
f3fd569c
DL
228092012-09-19 Dmitry V. Levin <ldv@altlinux.org>
22810
22811 [BZ #14579]
22812 * elf/rtld.c (dl_main): Limit the check for self loading to normal
22813 mode only.
22814 * elf/tst-rtld-load-self.sh: New test.
22815 * elf/Makefile: Run it.
22816
63bbedd4
JM
228172012-09-18 Joseph Myers <joseph@codesourcery.com>
22818
22819 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
22820 (tst-writev-ENV): Remove.
22821 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
22822
626f8b6a
CM
228232012-09-17 Chris Metcalf <cmetcalf@tilera.com>
22824
22825 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
22826
b7aaa4d6
JM
228272012-09-17 Joseph Myers <joseph@codesourcery.com>
22828
22829 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
22830 unconditional.
22831 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
22832 Likewise.
22833 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
22834 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
22835 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
22836 Likewise.
22837
65513990
L
228382012-09-14 H.J. Lu <hongjiu.lu@intel.com>
22839
22840 [BZ #14587]
22841 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
22842 * config.make.in (have-cpp-asm-debuginfo): Removed.
22843 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
22844 * configure: Regenerated.
22845
784761be
JM
228462012-09-14 Joseph Myers <joseph@codesourcery.com>
22847
22848 [BZ #5044]
22849 * stdio-common/printf_fp.c: Include <stdbool.h> and
22850 <rounding-mode.h>.
22851 (___printf_fp): Determine rounding using get_rounding_mode and
22852 round_away.
22853 * stdio-common/tst-printf-round.c: New file.
22854 * stdio-common/Makefile (tests): Add tst-printf-round.
22855 (link-libm): New variable.
22856 ($(objpfx)tst-printf-round): Depend in $(link-libm).
22857
9503345f
L
228582012-09-13 H.J. Lu <hongjiu.lu@intel.com>
22859
22860 [BZ #14576]
22861 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
22862 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
22863 Likewise.
22864 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
22865 Likewise.
22866
ad35fc00
JM
228672012-09-13 Joseph Myers <joseph@codesourcery.com>
22868
22869 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
22870 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
22871 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
22872 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
22873
6c9b0f68
JM
228742012-09-12 Joseph Myers <joseph@codesourcery.com>
22875
22876 [BZ #14518]
22877 * include/rounding-mode.h: New file.
22878 * sysdeps/generic/get-rounding-mode.h: Likewise.
22879 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
22880 * stdlib/strtod_l.c: Include <rounding-mode.h>.
22881 (MAX_VALUE): New macro.
22882 (MIN_VALUE): Likewise.
22883 (overflow_value): New function.
22884 (underflow_value): Likewise.
22885 (round_and_return): Use overflow_value and underflow_value to
22886 determine return values in overflow and underflow cases. Use
22887 round_away to determine rounding depending on rounding mode.
22888 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
22889 determine return values in overflow and underflow cases.
22890 * stdlib/tst-strtod-round.c: Include <fenv.h>.
22891 (struct test_results): New structure.
22892 (struct test): Use struct test_results to store expected results
22893 for all rounding modes.
22894 (TEST): Include expected results for all rounding modes.
22895 (test_in_one_mode): New function.
22896 (do_test): Use test_in_one_mode to compute and check results.
22897 Check results for all rounding modes.
22898 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
22899 $(link-libm).
22900
19fcedd5
AM
229012012-12-09 Allan McRae <allan@archlinux.org>
22902
1e9d84cd 22903 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 22904
8bbfd2f1
JM
229052012-09-11 Joseph Myers <joseph@codesourcery.com>
22906
22907 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
22908 (_G_int32_t): Likewise.
22909 (_G_uint16_t): Likewise.
22910 (_G_uint32_t): Likewise.
22911 (_G_HAVE_BOOL): Likewise.
22912 (_G_HAVE_ATEXIT): Likewise.
22913 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
22914 (_G_HAVE_IO_FILE_OPEN): Likewise.
22915 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
22916 (_G_int32_t): Likewise.
22917 (_G_uint16_t): Likewise.
22918 (_G_uint32_t): Likewise.
22919 (_G_HAVE_BOOL): Likewise.
22920 (_G_HAVE_ATEXIT): Likewise.
22921 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
22922 (_G_HAVE_IO_FILE_OPEN): Likewise.
22923 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
22924 (_G_int32_t): Likewise.
22925 (_G_uint16_t): Likewise.
22926 (_G_uint32_t): Likewise.
22927 (_G_HAVE_BOOL): Likewise.
22928 (_G_HAVE_ATEXIT): Likewise.
22929 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
22930 (_G_HAVE_IO_FILE_OPEN): Likewise.
22931
b1dc5912
L
229322012-09-11 H.J. Lu <hongjiu.lu@intel.com>
22933
22934 * csu/libc-tls.c: Update copyright years.
22935
0e886ef9
JM
229362012-09-10 Joseph Myers <joseph@codesourcery.com>
22937
28361c5e
JM
22938 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
22939 [!_G_USING_THUNKS]: Remove conditional code.
22940 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
22941 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
22942
0e886ef9
JM
22943 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
22944 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
22945 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
22946 (_G_VTABLE_LABEL_PREFIX): Likewise.
22947 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
22948 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
22949 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
22950 (_G_VTABLE_LABEL_PREFIX): Likewise.
22951 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
22952 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
22953 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
22954 (_G_VTABLE_LABEL_PREFIX): Likewise.
22955 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
22956
bcba7aa2
L
229572012-09-10 H.J. Lu <hongjiu.lu@intel.com>
22958
22959 * libio/Makefile: Include ../Makeconfig before tests.
22960 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
22961 only if $(build-shared) is yes.
22962
06585ee8
L
22963 * iconv/gconv_db.c: Update copyright years.
22964
80ccd52c
LD
229652012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22966
22967 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
22968 unwind info if defined PIC. Fix special cases description.
22969 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
22970
22971 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
22972 DP_HI_MASK entry.
22973 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
22974
691bc9c1
L
229752012-09-07 H.J. Lu <hongjiu.lu@intel.com>
22976
3d9b46b3
L
22977 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
22978
de2139a9
L
22979 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
22980 is NULL.
22981
5ca78dd0
L
22982 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
22983 (LDLIBS-tst-chk4): This.
22984 (LDFLAGS-tst-chk5): Renamed to ...
22985 (LDLIBS-tst-chk5): This.
22986 (LDFLAGS-tst-chk6): Renamed to ...
22987 (LDLIBS-tst-chk6): This.
22988 (LDFLAGS-tst-lfschk4): Renamed to ...
22989 (LDLIBS-tst-lfschk4): This.
22990 (LDFLAGS-tst-lfschk5): Renamed to ...
22991 (LDLIBS-tst-lfschk5): This.
22992 (LDFLAGS-tst-lfschk6): Renamed to ...
22993 (LDLIBS-tst-lfschk6): This.
22994
691bc9c1
L
22995 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
22996 on $(common-objpfx)soversions.mk.
22997
65cafb1c
JM
229982012-09-07 Joseph Myers <joseph@codesourcery.com>
22999
23000 [BZ #10014]
23001 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
23002 example host name.
23003
c78ab094
SP
230042012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
23005
23006 * malloc/arena.c (arena_get_retry): New function that gets
23007 another arena for the caller to try its request on.
23008 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
23009 current arena cannot fulfill the request.
23010 (__libc_memalign): Likewise.
23011 (__libc_memalign): Likewise.
23012 (__libc_pvalloc): Likewise.
23013 (__libc_calloc): Likewise.
23014
01f49f59
JT
230152012-09-05 John Tobey <john.tobey@gmail.com>
23016
23017 [BZ #13542]
23018 * manual/arith.texi (Operations on Complex): Fix description
23019 of carg branch cut.
23020
4c23fed5
JM
230212012-09-06 Joseph Myers <joseph@codesourcery.com>
23022
1d3c8572
JM
23023 [BZ #10014]
23024 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
23025 host name.
23026
4c23fed5
JM
23027 [BZ #10038]
23028 * manual/memory.texi (Memory): Make order of menu items match
23029 order of sections.
23030
04570aaa
L
230312012-09-06 H.J. Lu <hongjiu.lu@intel.com>
23032
23033 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
23034 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
23035 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
23036
b80af2f4
L
230372012-09-06 H.J. Lu <hongjiu.lu@intel.com>
23038
23039 * csu/libc-tls.c (static_dtv): Renamed to ...
23040 (_dl_static_dtv): This. Make it global.
23041 (_dl_initial_dtv): Removed.
23042 (__libc_setup_tls): Updated.
23043 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
23044 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
23045 DL_INITIAL_DTV.
23046
2abe9f15
PM
230472012-09-06 Petr Machata <pmachata@redhat.com>
23048
23049 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
23050 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
23051 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
23052 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
23053
0948c3af
L
230542012-09-06 H.J. Lu <hongjiu.lu@intel.com>
23055
23056 [BZ #14545]
23057 * csu/libc-tls.c (_dl_initial_dtv): New variable.
23058 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
23059 freeing dtv[-1].
23060
a5055ad1
L
230612012-09-06 H.J. Lu <hongjiu.lu@intel.com>
23062
23063 [BZ #14544]
23064 * Makeconfig (link-static-before-libc): Replace $(+prector)
23065 with $(+prectorT).
23066 (link-static-after-libc): Replace $(+postctor) with
23067 $(+postctorT).
23068 (link-bounded): Replace $(+prector)/$(+postctor) with
23069 $(+prectorT)/$(+postctorT).
23070 (+prectorT): New macro.
23071 (+postctorT): Likewise.
23072
ed8c2ecd
JM
230732012-09-06 Joseph Myers <joseph@codesourcery.com>
23074
23075 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
23076 (round_str): Handle values above the maximum for IBM long double
23077 as inexact.
23078 * stdlib/tst-strtod-round.c (tests): Regenerated.
23079
14c996c8
AK
230802012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23081
23082 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
23083 assembler flag.
23084 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
23085 zarch_nohighgprs around the zarch optimized routines.
23086 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
23087 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
23088 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
23089 for zarch.
23090
430d6ce6
DM
230912012-09-05 David S. Miller <davem@davemloft.net>
23092
23093 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23094
ff04dda4
DM
23095 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
23096 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
23097 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
23098 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
23099 entries.
23100
24d4e01b
AO
231012012-09-05 Alexandre Oliva <aoliva@redhat.com>
23102
23103 * malloc/arena.c: Fold copyright years.
23104 * malloc/mcheck.c, malloc/memusage.c: Likewise.
23105
61d58174
AO
231062012-09-05 Alexandre Oliva <aoliva@redhat.com>
23107
23108 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
23109
20196a5e
AO
231102012-09-05 Alexandre Oliva <aoliva@redhat.com>
23111
23112 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
23113
5c447383
AO
231142012-09-05 Alexandre Oliva <aoliva@redhat.com>
23115
23116 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
23117 change internal state upon failure.
23118
fad64255
AO
231192012-09-05 Alexandre Oliva <aoliva@redhat.com>
23120
23121 * malloc/mcheck.c (mcheck_check_all): Fix typo.
23122 * malloc/memusage.c (mmap): Likewise.
23123 (mmap64, mremap): Likewise. Adjust name in comment.
23124
1ffb8c90
SP
231252012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
23126
23127 * libio/fileops.c: Fix typos in comments.
23128 * libio/oldfileops.c: Likewise.
23129 * libio/wfileops.c: Likewise.
23130
6ef9cc37
SP
231312012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
23132
23133 [BZ #1349]
23134 * malloc/Makefile (tests): Add tst-malloc-usable test case.
23135 (tst-malloc-usable-ENV): Set environment for test case.
23136 * malloc/hooks.c (malloc_check_get_size): New function to get
23137 requested size.
23138 * malloc/malloc.c (musable): Use malloc_check_get_size.
23139 * malloc/tst-malloc-usable.c: New test case.
23140
4d038ae3
AS
231412012-09-05 Andreas Schwab <schwab@linux-m68k.org>
23142
23143 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
23144
c4e85184
AM
231452012-09-05 Allan McRae <allan@archlinux.org>
23146
b9dafc56 23147 [BZ #13966]
c4e85184
AM
23148 * configure.in (CXX_SYSINCLUDES): Use compiler output to
23149 determine header location.
23150 * configure: Regenerated.
23151
e1343020
AS
231522012-09-05 Andreas Schwab <schwab@linux-m68k.org>
23153
23154 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
23155 float format.
23156 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
23157 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
23158 format.
e1343020
AS
23159 (test): Regenerate.
23160
0a9f1987
DM
231612012-09-04 David S. Miller <davem@davemloft.net>
23162
23163 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
23164 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
23165 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
23166
29237804
FW
231672012-09-04 Florian Weimer <fweimer@redhat.com>
23168
23169 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
23170 failures.
23171
edb3cb88
FW
23172 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
23173
60160d83
JM
231742012-09-04 Joseph Myers <joseph@codesourcery.com>
23175
23176 [BZ #9914]
23177 * libio/iogetdelim.c: Include <limits.h>.
23178 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
23179 + len + 1 would overflow.
23180
bcd6c8dc
AJ
231812012-09-03 Andreas Jaeger <aj@suse.de>
23182
23183 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23184 * sysdeps/i386/fpu/libm-test-ulps: Update.
23185
4ffffbd2
LD
231862012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23187
23188 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
23189 Add s_sinf-sse2, s_conf-sse2.
23190
23191 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
23192 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
23193 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
23194 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
23195
23196 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
23197 for using routine as __sinf_ia32.
23198 Use macro for function declaration and weak_alias.
23199 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
23200 for using routine as __cosf_ia32.
23201 Use macro for function declaration and weak_alias.
23202
23203 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
23204 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
23205
23206 * sysdeps/x86_64/fpu/s_sinf.S: New file.
23207 * sysdeps/x86_64/fpu/s_cosf.S: New file.
23208 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23209
23210 * math/libm-test.inc (cos_test): Add more test cases.
23211 (sin_test): Likewise.
23212 (sincos_test): Likewise.
23213
511fa286
AK
232142012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23215
23216 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
23217 (IFUNC_RESOLVE): Make pointers to the specialized implementations
23218 hidden.
23219 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
23220
5f30cfec
L
232212012-09-02 H.J. Lu <hongjiu.lu@intel.com>
23222
23223 [BZ #14538]
23224 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
23225 first element of the GOT.
23226 (elf_machine_load_address): Return the difference between
23227 the runtime address of _DYNAMIC and elf_machine_dynamic ().
23228
0786794f
AM
232292012-09-01 Allan McRae <allan@archlinux.org>
23230
5f30cfec
L
23231 [BZ #13412]
23232 * configure.in (AWK): Require gawk version 3.0 or later.
23233 * configure: Regenerated.
0786794f 23234
26889eac
JM
232352012-09-01 Joseph Myers <joseph@codesourcery.com>
23236
23237 * sysdeps/unix/sysv/linux/kernel-features.h
23238 (__ASSUME_POSIX_CPU_TIMERS): Remove.
23239 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
23240 [__NR_clock_getres]: Make code unconditional.
23241 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
23242 (clock_getcpuclockid): Remove code left unreachable by removal of
23243 conditionals.
23244 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
23245 code unconditional.
23246 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
23247 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
23248 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
23249 Make code unconditional.
23250 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
23251 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
23252 * sysdeps/unix/sysv/linux/clock_settime.c
23253 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
23254 conditional code.
23255 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
23256 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
23257
d22e28b0
L
232582012-08-29 H.J. Lu <hongjiu.lu@intel.com>
23259
23260 [BZ #14476]
23261 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
23262 scripts/test-installation.pl.
23263
23264 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
23265 and $ld_so_version if it is set.
23266
050af9c4
SP
232672012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
23268
23269 [BZ #14516]
23270 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
23271 failure if reading from procfs failed.
23272 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
23273
ad845c0b
JM
232742012-08-27 Joseph Myers <joseph@codesourcery.com>
23275
23276 * sysdeps/unix/sysv/linux/kernel-features.h
23277 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
23278 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
23279 Remove conditional code.
23280 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23281 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
23282 Remove conditional code.
23283 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23284 * sysdeps/unix/sysv/linux/i386/fxstat.c
23285 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
23286 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23287 * sysdeps/unix/sysv/linux/i386/fxstatat.c
23288 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
23289 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23290 * sysdeps/unix/sysv/linux/i386/lxstat.c
23291 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
23292 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23293 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
23294 Remove conditional code.
23295 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23296 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
23297 Remove conditional code.
23298 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23299 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
23300 <kernel-features.h>.
23301 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
23302 Remove.
23303 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
23304 Remove conditional code.
23305 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23306 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
23307 Remove conditional.
23308
5dbf56af
MF
233092012-08-27 Mike Frysinger <vapier@gentoo.org>
23310
23311 [BZ #5400]
23312 * NEWS: Add fixed bug number.
23313
d6e70f43
JM
233142012-08-27 Joseph Myers <joseph@codesourcery.com>
23315
7efb4737
JM
23316 [BZ #14519]
23317 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
23318 underflowing exponent in case of negative sign.
23319 * stdlib/tst-strtod-round-data: Add more tests.
23320 * stdlib/tst-strtod-round.c (tests): Regenerated.
23321
af92131a
JM
23322 [BZ #3479]
23323 * stdlib/strtod_l.c (NDIG): Remove.
23324 (HEXNDIG): Likewise.
23325 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
23326 smallest representable value.
23327 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
23328 lie within an exact representation of 1/2 ulp of the result.
23329 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
23330 unconditionally.
23331 (TENS_P9_IDX): Define unconditionally.
23332 (TENS_P9_SIZE): Likewise.
23333 (TENS_P10_IDX): Likewise.
23334 (TENS_P10_SIZE): Likewise.
23335 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
23336 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
23337 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
23338 entries for 10^2^13 and 10^2^14.
23339 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
23340 (TENS_P13_IDX): Define.
23341 (TENS_P13_SIZE): Likewise.
23342 (TENS_P14_IDX): Likewise.
23343 (TENS_P14_SIZE): Likewise.
23344 (_fpioconst_pow10): Change array size to
23345 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
23346 unconditional.
23347 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
23348 1024]: Add entries for 10^2^13 and 10^2^14.
23349 [LAST_POW10 > _LAST_POW10]: Remove #error.
23350 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
23351 (_fpioconst_pow10): Change array size to
23352 FPIOCONST_POW10_ARRAY_SIZE.
23353 * stdlib/gen-fpioconst.c: New file.
23354 * stdlib/gen-tst-strtod-round.c: Likewise.
23355 * stdlib/tst-strtod-round-data: Likewise.
23356 * stdlib/tst-strtod-round.c: Likewise.
23357 * stdlib/Makefile (tests): Add tst-strtod-round.
23358
d6e70f43
JM
23359 [BZ #14459]
23360 * stdlib/strtod_l.c: Include <stdint.h>.
23361 (NDEBUG): Do not define.
23362 (round_and_return): Change EXPONENT parameter to type intmax_t.
23363 Rearrange calculations to avoid internal overflow possibilities.
23364 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
23365 Rearrange calculations to avoid internal overflow possibilities.
23366 Assert that number fits inside MPNSIZE limbs.
23367 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
23368 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
23369 calculations and add assertions to avoid internal overflow
23370 possibilities. Add casts to avoid signed/unsigned operations.
23371 * stdlib/tst-strtod-overflow.c: New file.
23372 * stdlib/Makefile (tests): Add tst-strtod-overflow.
23373
1f529f7d
MP
233742012-08-25 Marek Polacek <polacek@redhat.com>
23375
23376 * time/time.h: Fix some typos in comments.
23377
59a629f1
RM
233782012-08-23 Roland McGrath <roland@hack.frob.com>
23379
23380 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
23381 * posix/tst-rfc3484-2.c: Likewise.
23382 * posix/tst-rfc3484-3.c: Likewise.
23383
d3bafbc9
SM
233842012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
23385
23386 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
23387 (EF_ARM_ABI_FLOAT_HARD): Likewise.
23388
4efcc022
JM
233892012-08-23 Joseph Myers <joseph@codesourcery.com>
23390
23391 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
23392 #include of fxstatat64.c.
23393
3cc3ef96
RM
233942012-08-22 Roland McGrath <roland@hack.frob.com>
23395
f04e2132
RM
23396 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
23397 * shadow/getspent_r.c: Likewise.
23398 * shadow/getspnam.c: Likewise.
23399 * shadow/getspnam_r.c: Likewise.
23400 * gshadow/getsgent.c: Likewise.
23401 * gshadow/getsgent_r.c: Likewise.
23402 * gshadow/getsgnam.c: Likewise.
23403 * gshadow/getsgnam_r.c: Likewise.
23404 * inet/getnetbyad.c: Likewise.
23405 * inet/getnetbyad_r.c: Likewise.
23406 * inet/getnetbynm.c: Likewise.
23407 * inet/getnetbynm_r.c: Likewise.
23408 * inet/getnetent.c: Likewise.
23409 * inet/getnetent_r.c: Likewise.
23410 * inet/getproto.c: Likewise.
23411 * inet/getproto_r.c: Likewise.
23412 * inet/getprtent.c: Likewise.
23413 * inet/getprtent_r.c: Likewise.
23414 * inet/getprtname.c: Likewise.
23415 * inet/getprtname_r.c: Likewise.
23416 * inet/getrpcbyname.c: Likewise.
23417 * inet/getrpcbyname_r.c: Likewise.
23418 * inet/getrpcbynumber.c: Likewise.
23419 * inet/getrpcbynumber_r.c: Likewise.
23420 * inet/getrpcent.c: Likewise.
23421 * inet/getrpcent_r.c: Likewise.
23422 * inet/getaliasent.c: Likewise.
23423 * inet/getaliasent_r.c: Likewise.
23424 * inet/getaliasname.c: Likewise.
23425 * inet/getaliasname_r.c: Likewise.
23426 * nscd/getgrgid_r.c: Likewise.
23427 * nscd/getgrnam_r.c: Likewise.
23428 * nscd/gethstbyad_r.c: Likewise.
23429 * nscd/gethstbynm3_r.c: Likewise.
23430 * nscd/getpwnam_r.c: Likewise.
23431 * nscd/getpwuid_r.c: Likewise.
23432 * nscd/getsrvbynm_r.c: Likewise.
23433 * nscd/getsrvbypt_r.c: Likewise.
23434 * nscd/gai.c: Likewise.
23435
c53d909c
RM
23436 * configure.in (build_nscd): New substituted variable, set
23437 by --disable-build-nscd and defaults to $use_nscd.
23438 * configure: Regenerated.
23439 * config.make.in (build-nscd): New substituted variable.
23440 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
23441 Change conditional to require [$(build-nscd) = yes] as well.
23442 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
23443
3cc3ef96
RM
23444 [BZ# 13696]
23445 * configure.in (use_nscd): New substituted variable, set by
23446 --disable-nscd. If enabled, define USE_NSCD.
23447 * configure: Regenerated.
23448 * config.h.in: Add USE_NSCD.
23449 * config.make.in (use-nscd): New substituted variable.
23450 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
23451 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
23452 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
23453 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
23454 (CFLAGS-getgrnam_r.c): Likewise.
23455 (CFLAGS-initgroups.c): Likewise.
23456 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
23457 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
23458 Variables removed.
23459 * inet/getnetgrent_r.c
23460 (nscd_setnetgrent): New function, broken out of ...
23461 (setnetgrent): ... here. Call it.
23462 (innetgr): Conditionalize nscd bits on [USE_NSCD].
23463 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
23464 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
23465 * nscd/Makefile (routines, aux): Move definitions after include of
23466 Makeconfig. Conditionalize on [$(use-nscd) != no].
23467 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
23468 Conditionalize on [USE_NSCD].
23469 (is_nscd, nscd_init_cb): Likewise.
23470 (nss_load_library): Conditionalize init callback on [USE_NSCD].
23471 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
23472 * nss/nss_db/db-init.c: Likewise.
23473 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
23474 [USE_NSCD].
23475 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
23476 (make_request): Use it.
23477 (cache_valid_p): New function.
23478 (__check_pf): Use it.
23479 * NEWS: Add item for --disable-nscd.
23480
07e51550
DL
234812012-08-22 Dmitry V. Levin <ldv@altlinux.org>
23482
23483 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
23484 to support sed >= 4.2.1-20-ga9bf076.
23485 * configure: Regenerated.
23486
35a5b08b
RM
234872012-08-22 Roland McGrath <roland@hack.frob.com>
23488
23489 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
23490 Conditionalize whole body on [IREL].
23491
8479f23a
JL
234922012-08-22 Jeff Law <law@redhat.com>
23493
23494 [BZ #14505]
23495 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
23496 if the family is PF_UNSPEC.
23497
48da0b21
MF
234982012-08-22 Mike Frysinger <vapier@gentoo.org>
23499
23500 * Makerules (lib-version): Rename from V.
23501 (install-lib-nosubdir): Change V to lib-version.
23502
15d0da8c
WS
235032012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
23504
23505 [BZ #14252]
23506 * powerpc32/power6/wcschr.c: New file.
23507 * powerpc32/power6/wcscpy.c: New file.
23508 * powerpc32/power6/wcsrchr.c: New file.
23509 * powerpc64/power6/wcschr.c: New file.
23510 * powerpc64/power6/wcscpy.c: New file.
23511 * powerpc64/power6/wcsrchr.c: New file.
23512
bcca0895
MK
235132012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
23514
23515 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
23516 (two_way_short_needle): Use it.
5a4aaa33
RM
23517 * string/strstr.c (AVAILABLE1_USES_J): Define.
23518 * string/strcasestr.c: Likewise.
99677e57
MK
23519
23520 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
23521 array references.
23522 * string/strcasestr.c (TOLOWER): Make side-effect safe.
23523
400726de
MK
23524 [BZ #11607]
23525 * NEWS: Add an entry.
23526 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
23527 define their defaults.
23528 (two_way_short_needle): Detect end-of-string on-the-fly.
23529 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
23530 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
23531 * string/bug-strcasestr1.c: New test.
23532 * string/Makefile: Run it.
23533
20a71f2c
MK
235342012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
23535
23536 [BZ #11607]
23537 * string/str-two-way.h (two_way_short_needle): Optimize matching of
23538 the first character.
23539
21ad0558
RM
235402012-08-21 Roland McGrath <roland@hack.frob.com>
23541
23542 * csu/elf-init.c (__libc_csu_irel): Function removed.
23543 * csu/libc-start.c (apply_irel): New function.
23544 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
23545
0e1d9911
JM
235462012-08-21 Joseph Myers <joseph@codesourcery.com>
23547
23548 * sysdeps/unix/sysv/linux/kernel-features.h
23549 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
23550 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
23551 <kernel-features.h>.
23552 [__NR_fadvise64_64]: Make code unconditional.
23553 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
23554 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
23555 !__NR_fadvise64_64)]: Likewise.
23556 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
23557 !__NR_fadvise64_64))]: Likewise.
23558 [__NR_fadvise64]: Make code unconditional.
23559 [!__NR_fadvise64]: Remove conditional code.
23560 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
23561 <kernel-features.h>.
23562 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
23563 unconditional.
23564 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
23565 conditional code.
23566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
23567 not include <kernel-features.h>.
23568 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
23569 unconditional.
23570 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
23571 conditional code.
23572 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
23573 include <kernel-features.h>.
23574 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
23575 unconditional.
23576 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
23577 conditional code.
23578
14a50c9d
WS
235792012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
23580
23581 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
23582 slight instruction rearrangements per scrollpipe analysis.
23583 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
23584
c0f4faf0
RM
235852012-08-20 Roland McGrath <roland@hack.frob.com>
23586
696da859
RM
23587 * manual/syslog.texi (syslog; vsyslog, closelog):
23588 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
23589 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
23590
c0f4faf0
RM
23591 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
23592 DSOCAPS to match condition on defining it.
23593
348363b2
JM
235942012-08-20 Joseph Myers <joseph@codesourcery.com>
23595
a35cbf28
JM
23596 * sysdeps/unix/sysv/linux/kernel-features.h
23597 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
23598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
23599 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
23600 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
23601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
23602 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
23603 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
23604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
23605 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
23606 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
23607
445f7ecd
JM
23608 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
23609 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
23610
348363b2
JM
23611 * sysdeps/unix/sysv/linux/kernel-features.h
23612 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
23613 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
23614 unconditional.
23615 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
23616 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
23617 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
23618 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
23619 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
23620 Make code unconditional.
23621 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
23622 (__mmap64) [!__NR_mmap2]: Likewise.
23623 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
23624 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
23625 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
23626 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
23627 [__NR_mmap2]: Make code unconditional.
23628 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
23629 (__mmap64) [!__NR_mmap2]: Likewise.
23630
bc5bc0e5
AK
236312012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23632
23633 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
23634
88d506de
AJ
236352012-08-18 Andreas Jaeger <aj@suse.de>
23636
23637 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
23638
493387d2
MF
236392012-08-18 Mike Frysinger <vapier@gentoo.org>
23640
23641 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
23642 * include/unistd.h (__have_sock_cloexec): Likewise.
23643 (__have_pipe2): Likewise.
23644 (__have_dup3): Likewise.
23645
a277af22
MF
236462012-08-18 Mike Frysinger <vapier@gentoo.org>
23647
23648 [BZ #9685]
23649 * include/unistd.h (__have_pipe2): Change define into an extern int.
23650 (__have_dup3): Likewise.
23651 * socket/have_sock_cloexec.c: Include fcntl.h.
23652 (__have_pipe2): New variable.
23653 (__have_dup3): Likewise.
23654
fdab8fd3
MF
236552012-08-17 Mike Frysinger <vapier@gentoo.org>
23656
23657 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
23658
31035e80
MP
236592012-08-17 Marek Polacek <polacek@redhat.com>
23660
23661 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
23662 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
23663
3bd9e993
RM
236642012-08-17 Roland McGrath <roland@hack.frob.com>
23665
c91c505f
RM
23666 * configure.in: Add AC_SUBST for sysheaders.
23667 * configure: Regenerated.
23668 * config.make.in (sysheaders): New substituted variable.
23669
7c6f9d53
RM
23670 * sysdeps/unix/mkfifo.c: Moved ...
23671 * sysdeps/posix/mkfifo.c: ... here.
23672 * sysdeps/unix/mkfifoat.c: Moved ...
23673 * sysdeps/posix/mkfifoat.c: ... here.
23674
23675 * sysdeps/unix/utime.c: Moved ...
23676 * sysdeps/posix/utime.c: ... here.
23677
23678 * sysdeps/unix/time.c: Moved ...
23679 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
23680 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
23681 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
23682
23683 * sysdeps/unix/nice.c: Moved ...
23684 * sysdeps/posix/nice.c: ... here.
23685
23686 * sysdeps/unix/alarm.c: Moved ...
23687 * sysdeps/posix/alarm.c: ... here.
23688
3bd9e993
RM
23689 * intl/Makefile ($(codeset_mo)): Depend on the input file.
23690
d1f09384
JL
236912012-08-17 Jeff Law <law@redhat.com>
23692
23693 * intl/Makefile (codeset_mo): New variable.
23694 ($(codeset_mo)): New target.
23695 (tst-codeset.out): Depend on that. Remove explicit rule.
23696 (tst-gettext3.out, tst-gettext5.out): Likewise.
23697 (LOCPATH-ENV, tst-codeset-ENV): New variables.
23698 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
23699 * intl/tst-codeset.sh: Remove.
23700 * intl/tst-gettext3.sh: Likewise.
23701 * intl/tst-gettext5.sh: Likewise.
23702
2ae1ae5c
RM
237032012-08-17 Roland McGrath <roland@hack.frob.com>
23704
c31fdb83
RM
23705 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
23706 * sysdeps/unix/syscalls.list: ... here.
23707
a0844057
RM
23708 * sysdeps/posix/getaddrinfo.c
23709 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
23710 (gaiconf_init, gaiconf_reload): Use them.
23711 [!_STATBUF_ST_NSEC]
23712 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
23713 Define using time_t rather than struct timespec.
23714
750c1f2a
RM
23715 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
23716 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
23717 Macros removed.
23718 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
23719 [!NO_THREADS].
23720 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
23721 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
23722 Likewise.
23723
2ae1ae5c
RM
23724 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
23725 __libc_cleanup_push argument.
23726
e66a42f5
RM
23727 * bits/param.h: New file.
23728 * misc/sys/param.h: New file.
23729 * include/sys/param.h: New file.
23730 * misc/Makefile (headers): Add bits/param.h.
23731 * sysdeps/generic/sys/param.h: File removed.
23732 * sysdeps/unix/sysv/linux/bits/param.h: New file.
23733 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
23734 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 23735 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 23736
b7c08a66
RM
23737 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
23738 last change.
23739
b2e1c562
RM
23740 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
23741 [_IO_MTSAFE_IO].
23742 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
23743 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
23744 New macros.
23745
c75ccd4c
RM
23746 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
23747 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
23748 rather than -D_IO_MTSAFE_IO conditionally.
23749 * stdio-common/Makefile (CPPFLAGS): Likewise.
23750 * wcsmbs/Makefile (CPPFLAGS): Likewise.
23751 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
23752 Use $(libio-mtsafe).
23753 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
23754 of -D_IO_MTSAFE_IO.
23755 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
23756 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
23757 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
23758 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
23759 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
23760 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
23761 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
23762 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
23763 (CFLAGS-fread_u_chk.c): Likewise.
23764 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
23765 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
23766 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
23767 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
23768 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
23769 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
23770 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
23771 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
23772 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
23773
23774 * libio/Makefile: Test [$(libc-reentrant) = yes]
23775 instead of [$(filter %REENTRANT, $(defines)) nonempty].
23776
23777 * Makeconfig
23778 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
23779 * sysdeps/pthread/configure: File removed.
23780 * sysdeps/pthread/Makeconfig: New file.
23781 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
23782 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
23783
d9195db8
GB
237842012-08-16 Gary Benson <gbenson@redhat.com>
23785
23786 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
23787 unmapping the first object in a namespace.
23788
86466cd9
RM
237892012-08-16 Roland McGrath <roland@hack.frob.com>
23790
23791 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
23792 (__internal_setnetgrent): ... this. Add internal_function to
23793 definition. Add libc_hidden_def.
23794 (setnetgrent): Update caller.
23795 (internal_endnetgrent): Renamed to ...
23796 (__internal_endnetgrent): ... this. Add internal_function to
23797 definition. Add libc_hidden_def.
23798 (endnetgrent): Update caller.
23799 (internal_getnetgrent_r): Renamed to ...
23800 (__internal_getnetgrent_r): ... this. Add internal_function to
23801 definition. Add libc_hidden_def.
23802 (__getnetgrent_r): Update caller.
23803 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
23804
c3c8283c
JM
238052012-08-16 Joseph Myers <joseph@codesourcery.com>
23806
23807 * stdlib/longlong.h: Update from GCC.
23808
db1ee0a8
RM
238092012-08-16 Roland McGrath <roland@hack.frob.com>
23810
23811 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
23812 on _QL, which is set by umul_ppmm but never used.
23813 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
23814 variables, which are set by GMP macros but never used.
23815 * stdio-common/_itowa.c (_itowa): Likewise.
23816 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
23817 * stdlib/mod_1.c (mpn_mod_1): Likewise.
23818
30f69637
CD
238192012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
23820
23821 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
23822 struct La_sh_regs is not constant.
23823 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
23824 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
23825 and struct La_sparc64_regs are not constant.
23826
93a78ac4
JM
238272012-08-16 Joseph Myers <joseph@codesourcery.com>
23828
23829 * sysdeps/unix/sysv/linux/kernel-features.h
23830 (__ASSUME_POSIX_TIMERS): Remove.
23831 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
23832 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
23833 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
23834 Make code unconditional.
23835 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
23836 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
23837 Make code unconditional.
23838 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
23839 * sysdeps/unix/sysv/linux/clock_nanosleep.c
23840 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
23841 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
23842 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
23843 Make code unconditional.
23844 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
23845 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
23846 (__libc_missing_posix_timers): Remove.
23847
dd924cd7
RM
238482012-08-15 Roland McGrath <roland@hack.frob.com>
23849
4b4f2771
RM
23850 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
23851 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
23852
601c888b
RM
23853 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
23854
176790a7
RM
23855 * elf/dl-sym.c: Include <stdlib.h>.
23856
329bc018
RM
23857 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
23858 constants, which avoids warnings in 32-bit builds.
23859
e04e272d
RM
23860 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
23861 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
23862
952bf94a
RM
23863 * misc/lseek.c: File moved to ...
23864 * io/lseek.c: ... here.
23865
7c99b50a
RM
23866 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
23867
dd924cd7
RM
23868 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
23869 shifting LEN more than 31 bits at once.
23870
b3f479a8
LD
238712012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23872
23873 [BZ #14195]
8c4ae0d4
RM
23874 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
23875 segmentation fault for a case of two empty input strings.
b3f479a8
LD
23876 * string/test-strncasecmp.c (check1): Renamed to...
23877 (bz12205): ...this.
23878 (bz14195): Add new testcase for two empty input strings and N > 0.
23879 (test_main): Call new testcase, adapt for renamed function.
23880
9c55864e
AJ
238812012-08-15 Andreas Jaeger <aj@suse.de>
23882
23883 [BZ #14090]
23884 * crypt/md5test2.c: New test, based on test supplied by Serge
23885 Belyshev <belyshev@depni.sinp.msu.ru>.
23886 * crypt/Makefile (xtests): Add md5test-giant..
23887 * crypt/Makefile ($(objpfx)md5test-giant): Add.
23888
02dcb6c5
PE
238892012-08-15 Paul Eggert <eggert@cs.ucla.edu>
23890
23891 [BZ #14090]
23892 * crypt/md5.c (md5_process_block): Don't assume the buffer
23893 length is less than 2**32.
23894 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
23895 length is less than 2**64.
23896
a3f95dcc
RM
238972012-08-15 Roland McGrath <roland@hack.frob.com>
23898
be75d758
RM
23899 * string/str-two-way.h: Include <sys/param.h>.
23900 (MAX): Macro removed.
23901
7312ca90
RM
23902 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
23903 Move #define and #undef of memmove to just before and after
23904 including <string.h>.
23905
9a0a5486
RM
23906 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
23907 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
23908 and after including <string.h>. Move declarations of
23909 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
23910 to before #include "string/memmove.c".
23911
67cc348d
RM
23912 * include/dirent.h: Declare __getdirentries.
23913
a3f95dcc
RM
23914 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
23915 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
23916
ca98e171
MF
239172012-08-14 Mike Frysinger <vapier@gentoo.org>
23918
23919 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
23920 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
23921 * sysdeps/i386/configure: Regenerated.
23922 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
23923 STABS_CURRENT_FILE, and STABS_FUN.
23924 (END): Remove call to STABS_FUN_END.
23925 (STABS_CURRENT_FILE1): Delete.
23926 (STABS_CURRENT_FILE): Likewise.
23927 (STABS_FUN): Likewise.
23928 (STABS_FUN_END): Likewise.
23929 (STABS_FUN2): Likewise.
23930 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
23931 * sysdeps/x86_64/configure: Regenerated.
23932
5908bf46
RM
239332012-08-14 Roland McGrath <roland@hack.frob.com>
23934
23935 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 23936 * elf/dl-lookup.c: Likewise.
5908bf46 23937
f2c05b9e
JM
239382012-08-14 Joseph Myers <joseph@codesourcery.com>
23939
23940 * sysdeps/unix/sysv/linux/kernel-features.h
23941 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
23942 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
23943 unconditionally.
23944 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
23945 unconditionally.
23946 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
23947 condition on __ASSUME_CLONE_THREAD_FLAGS.
23948
e11f5155
AJ
239492012-08-14 Andreas Jaeger <aj@suse.de>
23950
23951 * sysdeps/i386/fpu/libm-test-ulps: Update.
23952
51a9ba86
MK
239532012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
23954
2fdd4f78
AJ
23955 * include/atomic.h (atomic_exchange_and_add): Split into ...
23956 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
23957 New atomic macros.
51a9ba86 23958
ba6cba9e
MT
239592012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
23960
23961 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23962
42443a47
JL
239632012-08-13 Jeff Law <law@redhat.com>
23964
23965 * manual/stdio.texi (snprintf): Clarify handling of the trailing
23966 null byte in the output string.
23967
121dce05
JM
239682012-08-10 Joseph Myers <joseph@codesourcery.com>
23969
23970 * sysdeps/unix/sysv/linux/kernel-features.h
23971 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
23972 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
23973 (__ASSUME_ARG_MAX_STACK_BASED): Define.
23974 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
23975 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
23976 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
23977 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
23978
bf51f568
JL
239792012-08-09 Jeff Law <law@redhat.com>
23980
23981 [BZ #13939]
23982 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
23983 When avoid_arena is set, don't retry in the that arena. Pick the
23984 next one, whatever it might be.
23985 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
23986 (arena_lock): Pass in new parameter to arena_get2.
23987 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
23988 arena_get2.
23989 (__libc_malloc): Unify retrying after main arena failure with
23990 __libc_memalign version.
23991 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
23992
f85fa270
L
239932012-08-09 H.J. Lu <hongjiu.lu@intel.com>
23994
23995 [BZ #14166]
23996 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
23997 to __redirect_strstr.
23998 (__strstr_sse42): Use typeof __redirect_strstr.
23999 (__strstr_ia32): Likewise.
24000 (__libc_strstr): New prototype.
24001 (strstr): Renamed to ...
24002 (__libc_strstr): This.
24003 (strstr): New strong alias of __libc_strstr.
24004 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
24005 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
24006 __redirect_time.
24007 Include <time.h>.
24008 (__libc_time): New prototype.
24009 (time_ifunc): Replace time with __libc_time.
24010 (time): New strong alias and hidden definition of __libc_time.
24011 (__GI_time): Remove strong alias.
24012 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
24013 Include <stddef.h>.
24014 (memmove): Redefined to __redirect_memmove.
24015 (__memmove_sse2): Use typeof __redirect_memmove.
24016 (__memmove_ssse3): Likewise.
24017 (__memmove_ssse3_back): Likewise.
24018 (__libc_memmove): New prototype.
24019 (memmove): Renamed to ...
24020 (__libc_memmove): This.
24021 (memmove): New strong alias of __libc_memmove.
24022
33b4a91e
MS
240232012-08-08 Mark Salter <msalter@redhat.com>
24024
24025 * elf/elf.h
24026 (R_MN10300_TLS_GD): Define.
24027 (R_MN10300_TLS_LD): Likewise.
24028 (R_MN10300_TLS_LDO): Likewise.
24029 (R_MN10300_TLS_GOTIE): Likewise.
24030 (R_MN10300_TLS_IE): Likewise.
24031 (R_MN10300_TLS_LE): Likewise.
24032 (R_MN10300_TLS_DTPMOD): Likewise.
24033 (R_MN10300_TLS_DTPOFF): Likewise.
24034 (R_MN10300_TLS_TPOFF): Likewise.
24035 (R_MN10300_SYM_DIFF): Likewise.
24036 (R_MN10300_ALIGN): Likewise.
24037 (R_MN10300_NUM): Update.
24038
b36137f1
JM
240392012-08-08 Joseph Myers <joseph@codesourcery.com>
24040
24041 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
24042 Remove.
24043
cdd915fd
RM
240442012-08-08 Roland McGrath <roland@hack.frob.com>
24045
a2433aac
RM
24046 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
24047
cdd915fd
RM
24048 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
24049 sysdeps/unix -> sysdeps/posix move.
24050 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
24051
bf9b740a
AM
240522012-08-07 Allan McRae <allan@archlinux.org>
24053
24054 [BZ #14303]
24055 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
24056 (SUNOS_CPP): Likewise.
24057 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
24058 not found.
24059 (open_input): Call CPP using execvp.
24060
93df14ee
JM
240612012-08-07 Joseph Myers <joseph@codesourcery.com>
24062
24063 * sysdeps/unix/sysv/linux/kernel-features.h
24064 (__ASSUME_PROT_GROWSUPDOWN): Remove.
24065 (__ASSUME_NO_CLONE_DETACHED): Likewise.
24066 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
24067 (__ASSUME_WAITID_SYSCALL): Likewise.
24068 * sysdeps/unix/sysv/linux/dl-execstack.c
24069 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
24070 code unconditional.
24071 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
24072 conditional code.
24073 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
24074 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
24075 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
24076 code.
24077 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
24078 unconditional.
24079 [__ASSUME_WAITID_SYSCALL]: Likewise.
24080 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
24081
d34689de
RM
240822012-08-07 Roland McGrath <roland@hack.frob.com>
24083
a281decc
RM
24084 * sysdeps/unix/closedir.c: Renamed to ...
24085 * sysdeps/posix/closedir.c: ... here.
24086 * sysdeps/unix/dirfd.c: Renamed to ...
24087 * sysdeps/posix/dirfd.c: ... here.
24088 * sysdeps/unix/dirstream.h: Renamed to ...
24089 * sysdeps/posix/dirstream.h: ... here.
24090 * sysdeps/unix/fdopendir.c: Renamed to ...
24091 * sysdeps/posix/fdopendir.c: ... here.
24092 * sysdeps/unix/opendir.c: Renamed to ...
24093 * sysdeps/posix/opendir.c: ... here.
24094 * sysdeps/unix/readdir.c: Renamed to ...
24095 * sysdeps/posix/readdir.c: ... here.
24096 * sysdeps/unix/readdir_r.c: Renamed to ...
24097 * sysdeps/posix/readdir_r.c: ... here.
24098 * sysdeps/unix/rewinddir.c: Renamed to ...
24099 * sysdeps/posix/rewinddir.c: ... here.
24100 * sysdeps/unix/seekdir.c: Renamed to ...
24101 * sysdeps/posix/seekdir.c: ... here.
24102 * sysdeps/unix/telldir.c: Renamed to ...
24103 * sysdeps/posix/telldir.c: ... here.
24104 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
24105 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
24106 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
24107 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
24108
22895b47
RM
24109 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
24110 * bits/fcntl.h: ... here.
24111
707a53b6
RM
24112 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
24113 not 0.
24114 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
24115 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
24116 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
24117 (struct flock): Move l_start, l_len to the beginning.
24118 Use __pid_t for l_pid.
24119 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
24120 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
24121 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
24122 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
24123 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
24124 [__USE_LARGEFILE64] (struct flock64): New type.
24125 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
24126
f0bd3e25
RM
24127 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
24128 * bits/dirent.h: ... here.
24129
d34689de
RM
24130 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
24131 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
24132
6dad2c06
JM
241332012-08-07 Joseph Myers <joseph@codesourcery.com>
24134
24135 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
24136 Change from 2.6.0 to 2.6.16.
24137 * sysdeps/unix/sysv/linux/configure: Regenerated.
24138 * sysdeps/unix/sysv/linux/kernel-features.h
24139 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
24140 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
24141 version.
24142 (__ASSUME_UTIMES): Likewise.
24143 (__ASSUME_CLONE_STOPPED): Remove.
24144 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
24145 architectures, not kernel version.
24146 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
24147 (__ASSUME_NO_CLONE_DETACHED): Likewise.
24148 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
24149 (__ASSUME_WAITID_SYSCALL): Likewise.
24150 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
24151 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
24152 * README: State 2.6.16 as minimum Linux kernel version. Do not
24153 refer to older versions.
24154
03af9520
RM
241552012-08-06 Roland McGrath <roland@hack.frob.com>
24156
8e49df1d
RM
24157 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
24158 Define alphasort64 as an alias.
24159 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
24160 Define versionsort64 as an alias.
24161 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
24162 Define scandir64 as an alias.
24163 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
24164 Define scandirat64 as an alias.
24165 * dirent/alphasort64.c (alphasort64):
24166 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
24167 * dirent/versionsort64.c: Likewise.
24168 * dirent/scandir64.c: Likewise.
24169 * dirent/scandirat64.c: Likewise.
24170 * sysdeps/wordsize-64/alphasort.c: File removed.
24171 * sysdeps/wordsize-64/alphasort64.c: File removed.
24172 * sysdeps/wordsize-64/scandir.c: File removed.
24173 * sysdeps/wordsize-64/scandir64.c: File removed.
24174 * sysdeps/wordsize-64/scandirat.c: File removed.
24175 * sysdeps/wordsize-64/scandirat64.c: File removed.
24176 * sysdeps/wordsize-64/versionsort.c: File removed.
24177 * sysdeps/wordsize-64/versionsort64.c: File removed.
24178 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
24179 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
24180 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
24181 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
24182 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
24183 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
24184 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
24185 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
24186
24187 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
24188 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
24189 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
24190 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24191 [defined __arch64__ || defined __sparcv9]
24192 (__INO_T_MATCHES_INO64_T): New macro.
24193 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
24194 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
24195 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
24196 * sysdeps/unix/sysv/linux/bits/dirent.h
24197 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
24198 (_DIRENT_MATCHES_DIRENT64): New macro.
24199
03af9520
RM
24200 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
24201 Define lockf64 as an alias.
24202 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
24203 Define fseeko64 as an alias.
24204 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
24205 Define ftello64 as an alias.
24206 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
24207 Define _IO_fgetpos64 and fgetpos64 as aliases.
24208 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
24209 Define _IO_fsetpos64 and fsetpos64 as aliases.
24210 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
24211 Conditionalize body on this.
24212 * libio/fseeko64.c: Likewise.
24213 * libio/ftello64.c: Likewise.
24214 * libio/iofgetpos64.c: Likewise.
24215 * libio/iofsetpos64.c: Likewise.
24216 * sysdeps/wordsize-64/lockf.c: File removed.
24217 * sysdeps/wordsize-64/lockf64.c: File removed.
24218 * sysdeps/wordsize-64/fseeko.c: File removed.
24219 * sysdeps/wordsize-64/fseeko64.c: File removed.
24220 * sysdeps/wordsize-64/ftello.c: File removed.
24221 * sysdeps/wordsize-64/ftello64.c: File removed.
24222 * sysdeps/wordsize-64/iofgetpos.c: File removed.
24223 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
24224 * sysdeps/wordsize-64/iofsetpos.c: File removed.
24225 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
24226 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
24227 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
24228 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
24229 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
24230 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
24231 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
24232 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
24233 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
24234 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
24235 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
24236
24237 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
24238 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
24239 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
24240 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24241 [defined __arch64__ || defined __sparcv9]
24242 (__OFF_T_MATCHES_OFF64_T): New macro.
24243 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
24244 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
24245 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24246 (__OFF_T_MATCHES_OFF64_T): New macro.
24247
c5757acd
L
242482012-08-06 H.J. Lu <hongjiu.lu@intel.com>
24249
24250 * stdlib/secure-getenv.c (__secure_getenv): Replace
24251 GLIBC_2_16 with GLIBC_2_17.
24252
3a31811e
L
242532012-08-06 H.J. Lu <hongjiu.lu@intel.com>
24254
24255 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
24256 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
24257
faa2bccb
DM
242582012-08-03 David S. Miller <davem@davemloft.net>
24259
24260 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24261
85fe1997
JM
242622012-08-03 Joseph Myers <joseph@codesourcery.com>
24263
24264 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
24265 Remove.
24266 (__ASSUME_CORRECT_SI_PID): Likewise.
24267 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
24268 (__ASSUME_TMPFS_NAME): Likewise.
24269 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
24270 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
24271 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
24272 (HAVE_AUX_SECURE): Make definition unconditional.
24273 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
24274 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
24275
4f75b7a0
RM
242762012-08-03 Roland McGrath <roland@hack.frob.com>
24277
24278 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
24279 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
24280 * sysdeps/mach/hurd/eloop-threshold.h: New file.
24281 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
24282 __eloop_threshold instead of SYMLOOP_MAX.
24283
24284 * sysdeps/generic/eloop-threshold.h: New file.
24285 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
24286 of MAXSYMLINKS.
24287 * elf/chroot_canon.c (chroot_canon): Likewise.
24288
7aab07e4
JM
242892012-08-03 Joseph Myers <joseph@codesourcery.com>
24290
24291 [BZ #13717]
24292 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
24293 Change to 2.6.0 everywhere.
24294 * sysdeps/unix/sysv/linux/configure: Regenerated.
24295 * sysdeps/unix/sysv/linux/kernel-features.h
24296 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
24297 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
24298 kernel versions.
24299 (__ASSUME_POSIX_TIMERS): Define unconditionally.
24300 (__ASSUME_FUTEX_REQUEUE): Remove.
24301 (__ASSUME_STATFS64): Define unconditionally.
24302 (__ASSUME_AT_SECURE): Likewise.
24303 (__ASSUME_CORRECT_SI_PID): Likewise.
24304 (__ASSUME_TGKILL): Define without depending on kernel version for
24305 i386.
24306 (__ASSUME_UTIMES): Likewise.
24307 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
24308 kernel version.
24309 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
24310 (__ASSUME_TMPFS_NAME): Likewise.
24311 * README: Update reference to Linux kernel versions.
24312
b67e9372
MP
243132012-08-02 Marek Polacek <polacek@redhat.com>
24314
1f529f7d 24315 [BZ# 14150]
b67e9372
MP
24316 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
24317 libc_cv_asm_type_prefix with %.
24318 * configure: Regenerated.
d2441631
RM
24319 * include/libc-symbols.h: Remove comment about
24320 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
24321 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
24322 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
24323 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
24324 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
24325 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
24326 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
24327 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
24328 * elf/tst-unique2mod1.c: Likewise.
24329 * elf/tst-unique1mod2.c: Likewise.
24330 * elf/tst-unique1mod1.c: Likewise.
24331 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
24332 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
24333 Replace ASM_TYPE_DIRECTIVE with .type.
24334 * sysdeps/s390/s390-64/sysdep.h: Likewise.
24335 * sysdeps/i386/sysdep.h: Likewise.
24336 * sysdeps/x86_64/sysdep.h: Likewise.
24337 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
24338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
24339 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 24340 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
24341 * sysdeps/powerpc/powerpc32/sysdep.h:
24342 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
24343 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
24344 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
24345 * sysdeps/i386/fpu/e_powf.S: Likewise.
24346 * sysdeps/i386/fpu/e_expl.S: Likewise.
24347 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
24348 * sysdeps/i386/fpu/e_acosh.S: Likewise.
24349 * sysdeps/i386/fpu/e_pow.S: Likewise.
24350 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
24351 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
24352 * sysdeps/i386/fpu/s_expm1.S: Likewise.
24353 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
24354 * sysdeps/i386/fpu/e_log2.S: Likewise.
24355 * sysdeps/i386/fpu/e_log2l.S: Likewise.
24356 * sysdeps/i386/fpu/e_scalb.S: Likewise.
24357 * sysdeps/i386/fpu/e_powl.S: Likewise.
24358 * sysdeps/i386/fpu/e_log10f.S: Likewise.
24359 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
24360 * sysdeps/i386/fpu/e_logl.S: Likewise.
24361 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
24362 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
24363 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
24364 * sysdeps/i386/fpu/e_log2f.S: Likewise.
24365 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
24366 * sysdeps/i386/fpu/e_log.S: Likewise.
24367 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
24368 * sysdeps/i386/fpu/e_logf.S: Likewise.
24369 * sysdeps/i386/fpu/e_log10l.S: Likewise.
24370 * sysdeps/i386/fpu/e_atanh.S: Likewise.
24371 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
24372 * sysdeps/i386/fpu/e_log10.S: Likewise.
24373 * sysdeps/i386/fpu/s_frexp.S: Likewise.
24374 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
24375 * sysdeps/i386/fpu/s_asinh.S: Likewise.
24376 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
24377 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
24378 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
24379 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
24380 * sysdeps/i386/i686/strtok.S: Likewise.
24381 * sysdeps/i386/i386-mcount.S: Likewise.
24382 * sysdeps/i386/strtok.S: Likewise.
24383 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
24384 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
24385 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
24386 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
24387 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
24388 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
24389 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
24390 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
24391 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
24392 * sysdeps/x86_64/_mcount.S: Likewise.
24393 * sysdeps/x86_64/strtok.S: Likewise.
24394 * sysdeps/sh/_mcount.S: Likewise.
24395
2747bf9a
RM
243962012-08-01 Roland McGrath <roland@hack.frob.com>
24397
24398 * libio/iofopen.c: Include <fcntl.h>.
24399 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
24400 (_IO_fopen64, fopen64): Define as aliases.
24401 * libio/iofopen64.c: Include <fcntl.h>.
24402 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
24403 Conditionalize body on this.
24404 * sysdeps/wordsize-64/iofopen.c: File removed.
24405 * sysdeps/wordsize-64/iofopen64.c: File removed.
24406
3fb791b8
MP
244072012-08-01 Marek Polacek <polacek@redhat.com>
24408
24409 * libc/Makeconfig: Use elf in place of binfmt-subdir.
24410 Use dlfcn directly instead of a variable.
24411 (binfmt-subdir): Do not define.
24412 (dlfcn): Likewise.
24413
a9f1039f
JM
244142012-08-01 Joseph Myers <joseph@codesourcery.com>
24415
23bddc06
JM
24416 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
24417 Remove all definitions.
24418 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
24419 <kernel-features.h>.
24420 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
24421 (miss_F_GETOWN_EX): Remove all definitions.
24422 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
24423 macro definition.
24424 [!__ASSUME_FCNTL64]: Remove conditional code.
24425 [__ASSUME_FCNTL64]: Make code unconditional.
24426 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
24427 <kernel-features.h>.
24428 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
24429 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
24430 (lockf64) [__NR_fcntl64]: Make code unconditional.
24431 (lockf64) [__ASSUME_FCNTL64]: Likewise.
24432
a9f1039f
JM
24433 * sysdeps/unix/sysv/linux/kernel-features.h
24434 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
24435 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
24436 Make code unconditional.
24437 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
24438 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
24439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
24440 [__NR_vfork]: Make code unconditional.
24441 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
24442 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
24443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
24444 [__NR_vfork]: Make code unconditional.
24445 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
24446 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
24447
09c0ee5f
RM
244482012-08-01 Roland McGrath <roland@hack.frob.com>
24449
48aec5b9
RM
24450 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
24451 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
24452
cd97c966
RM
24453 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
24454 Define mkstemp64 as an alias.
3f55550c
RM
24455 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
24456 Define mkstemps64 as an alias.
cd97c966
RM
24457 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
24458 Define mkostemp64 as an alias.
b8625cfc
RM
24459 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
24460 Define mkostemps64 as an alias.
cd97c966
RM
24461 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
24462 Conditionalize body on this.
24463 * misc/mkostemp64.c: Likewise.
b8625cfc 24464 * misc/mkostemps64.c: Likewise.
3f55550c 24465 * misc/mkstemps64.c: Likewise.
cd97c966
RM
24466 * sysdeps/wordsize-64/mkstemp64.c: File removed.
24467 * sysdeps/wordsize-64/mkostemp64.c: File removed.
24468 * sysdeps/wordsize-64/mkostemp.c: File removed.
24469 * sysdeps/wordsize-64/mkstemp.c: File removed.
24470 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
24471 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
24472 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
24473 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
24474
09c0ee5f
RM
24475 [BZ #14138]
24476 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
24477 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
24478 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
24479 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
24480
24481 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
24482 compat_symbol macros from <shlib-compat.h> rather than the underlying
24483 default_symbol_version and symbol_version macros, so that DEFAULT
24484 lines in shlib-versions are respected.
24485 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
24486
7e66ee51
FW
244872012-08-01 Florian Weimer <fweimer@redhat.com>
24488
24489 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
24490 Declare with warn_unused_result.
24491 (setgid, setregid, setegid, setresgid): Likewise.
24492 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
24493 Likewise.
24494 * WUR-REPORT: Remove set*id functions.
24495
d2a54255
PT
244962012-07-31 Pino Toscano <toscano.pino@tiscali.it>
24497
24498 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
24499
7ecdb005
RM
245002012-07-31 Roland McGrath <roland@hack.frob.com>
24501
b4180a5e 24502 [BZ #10191]
789bd351
RM
24503 * include/sys/socket.h (__libc_accept, __libc_accept4):
24504 Add attribute_hidden.
24505 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
24506
40ce302d
RM
24507 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
24508 use of PTR_MANGLE.
24509 * inet/getnetgrent_r.c (setup): Likewise.
24510
7ecdb005
RM
24511 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
24512
e2eabb2c
DM
245132012-07-31 David S. Miller <davem@davemloft.net>
24514
24515 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24516
d0419dbf
JM
245172012-07-31 Joseph Myers <joseph@codesourcery.com>
24518
24519 [BZ #13629]
24520 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
24521 value between 1.0 and 2.0 and smaller part has absolute value less
24522 than 1.0.
24523 * math/s_clog10.c (__clog10): Likewise.
24524 * math/s_clog10f.c (__clog10f): Likewise.
24525 * math/s_clog10l.c (__clog10l): Likewise.
24526 * math/s_clogf.c (__clogf): Likewise.
24527 * math/s_clogl.c (__clogl): Likewise.
24528 * math/libm-test.inc (clog_test): Add more tests.
24529 (clog10_test): Likewise.
24530 * sysdeps/i386/fpu/libm-test-ulps: Update.
24531 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24532
2bc13872
FW
245332012-07-31 Florian Weimer <fweimer@redhat.com>
24534
24535 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
24536 Exit with zero in case no suitable GID is found, and write a
24537 message to standard error.
24538
bea9b193
RM
245392012-07-30 Roland McGrath <roland@hack.frob.com>
24540
24541 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
24542 rather than to 1.
24543 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
24544 (MAXPATHLEN): Removed.
24545 (NOGROUP, NODEV): New macros.
24546 (setbit, clrbit, isset, isclr): New macros.
24547 (howmany, roundup, powerof2): New macros.
24548 (DEV_BSIZE): New macro.
24549
24550 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
24551 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
24552
24553 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
24554 definition on [!__NO_LONG_DOUBLE_MATH].
24555
24556 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
24557 PTR_MANGLE and PTR_DEMANGLE.
24558
24559 * socket/accept4.c (accept4): Rename to __libc_accept4.
24560 Define accept4 as a weak alias.
24561
24562 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
24563 on [_DIRENT_HAVE_D_TYPE].
24564 * io/ftw.c (ftw_dir): Likewise.
24565
24566 * io/xmknod.c (__xmknod): Don't check PATH for being null.
24567
24568 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
24569
24570 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
24571 Use the BSD numbers rather than the arbitrary ones we had.
24572 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
24573 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
24574 (SIGXCPU, SIGXFSZ): New macros.
24575 (_NSIG): Now 32.
24576
24577 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
24578 initializer on [_LIBC_REENTRANT].
24579
24580 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
24581 definitions inside [_POSIX_MAPPED_FILES].
24582
24583 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
24584
24585 * dirent/opendir.c: Include <fcntl.h>.
24586
24587 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
24588 (__libc_getspecific): Likewise.
24589 (__libc_key_create): Likewise.
24590
24591 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
24592 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
24593 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
24594 (tmpfile64): Define as alias.
24595 * sysdeps/wordsize-64/tmpfile.c: File removed.
24596 * sysdeps/wordsize-64/tmpfile64.c: File removed.
24597 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
24598 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
24599
24600 * stdio-common/vfscanf.c: Include <stdbool.h>.
24601 * nss/makedb.c: Likewise.
24602 * stdio-common/_i18n_number.h: Likewise.
24603 * argp/argp-help.c: Likewise.
24604 * posix/wordexp.c: Likewise.
24605 * sysdeps/posix/spawni.c: Likewise.
24606 * nss/nss_files/files-initgroups.c: Likewise.
24607 * stdio-common/reg-modifier.c: Include <stdlib.h>.
24608 * nss/nss_files/files-initgroups.c: Likewise.
24609 * nss/nss_db/db-netgrp.c: Likewise.
24610 * nss/nss_db/db-initgroups.c: Likewise.
24611 * io/fchmodat.c: Include <sys/stat.h>.
24612
24613 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
24614 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
24615
24616 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
24617 [HAVE_MMAP].
24618
24619 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
24620 Add multiple inclusion protection.
24621
e5abc686
DM
246222012-07-27 David S. Miller <davem@davemloft.net>
24623
24624 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24625
815e6fa3
GB
246262012-07-27 Gary Benson <gbenson@redhat.com>
24627
24628 [BZ #14298]
24629 * elf/rtld.c: Include <stap-probe.h>.
24630 (dl_main): Added static probes "init_start" and "init_complete".
24631 * elf/dl-load.c: Include <stap-probe.h>.
24632 (lose): Take new parameter "nsid".
24633 Added static probe "map_failed".
24634 (_dl_map_object_from_fd): Pass namespace id to lose.
24635 Added static probe "map_start".
24636 (open_verify): Pass namespace id to lose.
24637 * elf/dl-open.c: Include <stap-probe.h>.
24638 (dl_open_worker) Added static probes "map_complete", "reloc_start"
24639 and "reloc_complete".
24640 * elf/dl-close.c: Include <stap-probe.h>.
24641 (_dl_close_worker): Added static probes "unmap_start" and
24642 "unmap_complete".
24643 * elf/rtld-debugger-interface.txt: New file documenting the above.
24644
9f98c16c
RM
246452012-07-26 Roland McGrath <roland@hack.frob.com>
24646
24647 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
24648 rather than a string variable.
24649 * sunrpc/rpc_main.c (h_output): Likewise.
24650 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
24651
f3c22df3
PT
246522012-07-26 Pino Toscano <toscano.pino@tiscali.it>
24653
24654 * inet/check_native.c: New file.
24655
3129cfc6
JM
246562012-07-26 Joseph Myers <joseph@codesourcery.com>
24657
da865e95
JM
24658 [BZ #13629]
24659 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
24660 if larger part has absolute value 1.0.
24661 * math/s_clog10.c (__clog10): Likewise.
24662 * math/s_clog10f.c (__clog10f): Likewise.
24663 * math/s_clog10l.c (__clog10l): Likewise.
24664 * math/s_clogf.c (__clogf): Likewise.
24665 * math/s_clogl.c (__clogl): Likewise.
24666 * math/libm-test.inc (clog_test): Add more tests.
24667 (clog10_test): Likewise.
24668 * sysdeps/i386/fpu/libm-test-ulps: Update.
24669 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24670
3129cfc6
JM
24671 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
24672 (pltexit): Likewise.
24673 (La_regs): Likewise.
24674 (La_retval): Likewise.
24675 (int_retval): Likewise.
24676 Update #error for removed macros to refer only to definitions in
24677 tst-audit.h.
24678 * elf/tst-auditmod3b.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-auditmod4b.c (pltenter): Remove all definitions of
24685 macro.
24686 (pltexit): Likewise.
24687 (La_regs): Likewise.
24688 (La_retval): Likewise.
24689 (int_retval): Likewise.
24690 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
24691 macro.
24692 (pltexit): Likewise.
24693 (La_regs): Likewise.
24694 (La_retval): Likewise.
24695 (int_retval): Likewise.
24696 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
24697 macro.
24698 (pltexit): Likewise.
24699 (La_regs): Likewise.
24700 (La_retval): Likewise.
24701 (int_retval): Likewise.
24702 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
24703 macro.
24704 (pltexit): Likewise.
24705 (La_regs): Likewise.
24706 (La_retval): Likewise.
24707 (int_retval): Likewise.
24708 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
24709 macro.
24710 (pltexit): Likewise.
24711 (La_regs): Likewise.
24712 (La_retval): Likewise.
24713 (int_retval): Likewise.
24714 * sysdeps/generic/tst-audit.h: Update comment to refer only to
24715 macro definitions in tst-audit.h.
24716 * sysdeps/i386/tst-audit.h: New file.
24717 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
24718 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
24719 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
24720 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
24721 * sysdeps/sh/tst-audit.h: Likewise.
24722 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
24723 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
24724 * sysdeps/x86_64/tst-audit.h: Likewise.
24725
bfc07087
AJ
247262012-07-26 Andreas Jaeger <aj@suse.de>
24727
b1b2aaf8
AJ
24728 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
24729 ptrace.
24730
24731 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
24732 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
24733 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
24734 PTRACE_O_MASK.
24735 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
24736 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
24737 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
24738
bfc07087
AJ
24739 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
24740 value.
24741
24742 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
24743 _sigsys.
24744 (si_call_addr, si_syscall, si_arch): Define new macro.
24745 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
24746 _sigsys.
24747 (si_call_addr, si_syscall, si_arch): Define new marcro.
24748 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
24749 _sigsys.
24750 (si_call_addr, si_syscall, si_arch): Define new macro.
24751 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
24752 _sigsys.
24753 (si_call_addr, si_syscall, si_arch): Define new macro.
24754
89b4b02f
JM
247552012-07-25 Joseph Myers <joseph@codesourcery.com>
24756
24757 [BZ #13717]
24758 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
24759 Change to 2.4.21 where previously 2.4.1.
24760 * sysdeps/unix/sysv/linux/configure: Regenerated.
24761 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
24762 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
24763 Linux kernel version.
24764 (__ASSUME_STD_AUXV): Remove.
24765 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
24766 kernel version.
24767 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
24768 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
24769 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
24770 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
24771 (__ASSUME_NETLINK_SUPPORT): Likewise.
24772 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
24773 (__no_netlink_support): Remove conditional definition.
24774 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
24775 Remove.
24776 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
24777 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
24778 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
24779 (if_nameindex_ioctl): Remove.
24780 (if_nameindex_netlink): Do not handle __no_netlink_support.
24781 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
24782 code.
24783 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
24784 Remove conditional code.
24785 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
24786 code.
24787 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
24788 unconditional.
24789 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
24790 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
24791 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
24792 Remove.
24793 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
24794 [!__ASSUME_STD_AUXV]: Remove conditional code.
24795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
24796 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
24797 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
24798 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
24799 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
24800 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
24801 code.
24802 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
24803 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
24804 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
24805 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
24806 conditional code.
24807 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
24808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
24809 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
24810 code.
24811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
24812 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
24813 conditional code.
24814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
24815 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
24816 code unconditional.
24817 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
24818 conditional code.
24819 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
24820 unconditional.
24821 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
24822 conditional code.
24823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
24824 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
24825 unconditional.
24826 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
24827 conditional code.
24828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
24829 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
24830 code unconditional.
24831 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
24832 conditional code.
24833 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
24834 unconditional.
24835 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
24836 conditional code.
24837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
24838 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
24839 code unconditional.
24840 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
24841 conditional code.
24842 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
24843 unconditional.
24844 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
24845 conditional code.
24846
842a39cd
AS
248472012-07-25 Andreas Schwab <schwab@linux-m68k.org>
24848
24849 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
24850 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
24851 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
24852 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
24853 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
24854 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
24855 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
24856 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
24857 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
24858 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
24859 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
24860 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
24861 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
24862 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
24863 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
24864 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
24865 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
24866 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
24867 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
24868 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
24869 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
24870 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
24871 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
24872
84b3fd84
FW
248732012-07-25 Florian Weimer <fweimer@redhat.com>
24874
24875 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
24876 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
24877 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
24878 Introduce __libc_secure_getenv.
0c7936d5
FW
24879 * stdlib/Versions (2.17): Add secure_getenv
24880 (GLIBC_PRIVATE): Add __libc_secure_getenv.
24881 * stdlib/secure-getenv.c: Rename __secure_getenv to
24882 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
24883 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
24884 * stdlib/tst-secure-getenv.c: New.
24885 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
24886 * manual/startup.texi (Environment Access): Document
24887 secure_getenv.
84b3fd84
FW
24888 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
24889 __libc_secure_getenv.
24890 * inet/ruserpass.c (ruserpass): Likewise.
24891 * malloc/mtrace.c (mtrace): Likewise.
24892 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 24893 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
24894 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
24895 * sysdeps/posix/tempname.c: Likewise. Evaluate
24896 HAVE_SECURE_GETENV.
24897 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 24898 __secure_getenv to __libc_secure_getenv.
84b3fd84 24899 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
24900 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24901 Likewise.
24902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24903 Likewise.
24904 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
24905 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
24906 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
24907 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
24908 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
24909 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
24910 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 24911
56e49b71
JM
249122012-07-25 Joseph Myers <joseph@codesourcery.com>
24913
24914 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
24915 (struct La_i86_retval): Likewise.
24916 (struct La_x86_64_regs): Likewise.
24917 (struct La_x86_64_retval): Likewise.
24918 (struct La_x32_regs): Likewise.
24919 (struct La_x32_retval): Likewise.
24920 (struct La_ppc32_regs): Likewise.
24921 (struct La_ppc32_retval): Likewise.
24922 (struct La_ppc64_regs): Likewise.
24923 (struct La_ppc64_retval): Likewise.
24924 (struct La_sh_regs): Likewise.
24925 (struct La_sh_retval): Likewise.
24926 (struct La_s390_32_regs): Likewise.
24927 (struct La_s390_32_retval): Likewise.
24928 (struct La_s390_64_regs): Likewise.
24929 (struct La_s390_64_retval): Likewise.
24930 (struct La_sparc32_regs): Likewise.
24931 (struct La_sparc32_retval): Likewise.
24932 (struct La_sparc64_regs): Likewise.
24933 (struct La_sparc64_retval): Likewise.
24934 (struct audit_ifaces): Remove architecture-specific pltenter and
24935 pltexit members.
24936 * sysdeps/i386/ldsodefs.h: New file.
24937 * sysdeps/powerpc/ldsodefs.h: Likewise.
24938 * sysdeps/s390/ldsodefs.h: Likewise.
24939 * sysdeps/sh/ldsodefs.h: Likewise.
24940 * sysdeps/sparc/ldsodefs.h: Likewise.
24941 * sysdeps/x86_64/ldsodefs.h: Likewise.
24942
354691b7
MP
249432012-07-25 Marek Polacek <polacek@redhat.com>
24944
24945 [BZ #6808]
24946 * math/libm-test.inc (yn_test): Add another test.
24947 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
24948 to ERANGE when the result is +-Inf.
24949 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
24950 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
24951 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
24952 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
24953
bf9e2071
JM
249542012-07-24 Joseph Myers <joseph@codesourcery.com>
24955
24956 * conform/data/time.h-data (NULL): Use macro-constant. Require
24957 equal to 0.
24958 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
24959 clock_t.
24960 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
24961
57633811
TS
249622012-07-23 Thomas Schwinge <thomas@codesourcery.com>
24963
24964 * configure.in <sysdeps resolving>: Correct printing
24965 Implies_before.
24966 * configure: Regenerate.
24967
c23c33b0
TS
249682012-07-22 Thomas Schwinge <thomas@codesourcery.com>
24969
24970 * math/w_ilogb.c: Include <limits.h>.
24971 * math/w_ilogbl.c: Likewise.
24972
b5982523
JM
249732012-07-20 Joseph Myers <joseph@codesourcery.com>
24974
24975 * manual/lang.texi (__va_copy): Document primarily as ISO C99
24976 va_copy. Document allowing for unavailable va_copy only as
24977 pre-C99 compatibility.
24978 * manual/string.texi (Copying and Concatenation): Use va_copy
24979 instead of __va_copy in concat example.
24980
ac4ea442
PT
249812012-07-20 Pino Toscano <toscano.pino@tiscali.it>
24982
24983 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
24984 (__sendto): Use create_address_port. Initialize APORT and deallocate
24985 it if not null.
24986
f98eafbd
PT
24987 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
24988 with O_NOLINK passed to __file_name_lookup.
24989
898c7aab
PT
24990 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
24991 with O_NOLINK passed to __file_name_lookup.
24992
0ced335a
PT
24993 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
24994 negative N or less than NGIDS.
24995
b3404dbd
PT
24996 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
24997 type to string_t. Set ERANGE as errno and return it if NAME is not big
24998 enough. Use memcpy instead of strncpy.
24999
0f48659e
JM
250002012-07-20 Joseph Myers <joseph@codesourcery.com>
25001
25002 * elf/Makefile (check-data): Remove.
25003 (localplt.data): New vpath directive.
25004 ($(objpfx)check-localplt.out): Use localplt.data from vpath
25005 instead of $(check-data).
25006 * scripts/data/localplt-generic.data: Move to ...
25007 * sysdeps/generic/localplt.data: ... here.
25008 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
25009 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
25010 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
25011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
25012 ... here.
25013 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
25014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
25015 ... here.
25016 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
25017 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
25018 ... here.
25019 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
25020 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
25021 ... here.
25022 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
25023 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
25024 ... here.
25025 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
25026 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
25027 ... here.
25028
d37cbdaa
AZ
250292012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25030
25031 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
25032 PPC32 and PPC64 files.
25033 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
25034 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
25035
46f85fc2
AK
250362012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25037
25038 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
25039 __makecontext_ret to ...
25040 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
25041 ... here and call exit if uc_link is NULL. New file.
25042 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
25043 __makecontext_ret.S.
25044 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
25045 __makecontext_ret to ...
25046 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
25047 ... here and call exit if uc_link is NULL. New file.
25048 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
25049 __makecontext_ret.S.
25050
08f43f9b
AK
250512012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25052
25053 * elf/elf.h (R_390_IRELATIVE): New definition.
25054 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
25055 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
25056 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
25057 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
25058 (elf_machine_lazy_rel): Likewise.
25059 * sysdeps/s390/dl-irel.h: New file.
25060 * sysdeps/s390/s390-64/memcpy.S: New asm code.
25061 * sysdeps/s390/s390-64/memset.S: New asm code.
25062 * sysdeps/s390/s390-64/memcmp.S: New asm code.
25063 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
25064 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
25065 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
25066 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
25067 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
25068 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
25069 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
25070 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
25071 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
25072 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
25073 * sysdeps/s390/s390-32/memcpy.S: New asm code.
25074 * sysdeps/s390/s390-32/memset.S: New asm code.
25075 * sysdeps/s390/s390-32/memcmp.S: New asm code.
25076
3b05db33
MP
250772012-07-17 Marek Polacek <polacek@redhat.com>
25078
25079 [BZ #14349]
25080 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
25081 * sysdeps/s390/s390-64/configure.in: Likewise.
25082 * sysdeps/sparc/configure.in: Likewise.
25083 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
25084 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
25085 * sysdeps/i386/configure.in: Likewise.
25086 * sysdeps/x86_64/configure.in: Likewise.
25087 * sysdeps/sh/configure.in: Likewise.
25088 * sysdeps/s390/s390-32/configure: Regenerated.
25089 * sysdeps/s390/s390-64/configure: Likewise.
25090 * sysdeps/x86_64/configure: Likewise.
25091 * sysdeps/sh/configure: Likewise.
25092 * sysdeps/powerpc/powerpc64/configure: Likewise.
25093 * sysdeps/powerpc/powerpc32/configure: Likewise.
25094 * sysdeps/sparc/configure: Likwise.
25095 * sysdeps/i386/configure: Likewise.
25096
a66877c6
MP
25097 * elf/dl-open.c: Comment fixes.
25098
cfc82fd8
JM
250992012-07-17 Joseph Myers <joseph@codesourcery.com>
25100
bd29910a
JM
25101 * Makefile [CXX] (check-data): Remove.
25102 [CXX] (c++-types.data): New vpath directive.
25103 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
25104 vpath. Do not allow for C++ type data being missing.
25105 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
25106 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
25107 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
25108 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
25109 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
25110 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
25111 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
25112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
25113 ... here.
25114 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
25115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
25116 ... here.
25117 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
25118 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
25119 ... here.
25120 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
25121 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
25122 ... here.
25123 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
25124 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
25125 ... here.
25126 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
25127 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
25128 ... here.
25129 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
25130 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
25131 ... here.
25132 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
25133 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
25134
cfc82fd8
JM
25135 * elf/tls-macros.h (TLS_LE): Move architecture-specific
25136 definitions to architecture-specific files.
25137 (TLS_IE): Likewise.
25138 (TLS_LD): Likewise.
25139 (TLS_GD): Likewise.
25140 * sysdeps/i386/tls-macros.h: New file.
25141 * sysdeps/powerpc/tls-macros.h: Likewise.
25142 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
25143 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
25144 * sysdeps/sh/tls-macros.h: Likewise.
25145 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
25146 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
25147 * sysdeps/x86_64/tls-macros.h: Likewise.
25148
f7db3170
TS
251492012-07-17 Thomas Schwinge <thomas@codesourcery.com>
25150
07cbfc23
TS
25151 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
25152 zero value for regular exit case.
25153
f7db3170
TS
25154 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
25155 (__start_context): Preserve zero value for regular exit case.
25156
dc97c227
TS
251572012-07-17 Thomas Schwinge <thomas@codesourcery.com>
25158 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25159
25160 * manual/setjmp.texi (setcontext): Clarify normal process
25161 termination when uc_link is the null pointer.
25162 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
25163 exit call.
25164
d0cd7d02
AS
251652012-07-16 Andreas Schwab <schwab@linux-m68k.org>
25166
25167 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
25168 preprocessor. Test for each exception mask separately.
25169
dd318934
AJ
251702012-07-16 Andreas Jaeger <aj@suse.de>
25171
25172 * po/ru.po: Update from translation team.
25173
8048311a
JM
251742012-07-15 Joseph Myers <joseph@codesourcery.com>
25175
25176 * conform/data/string.h-data (NULL): Use macro-constant. Require
25177 equal to 0.
25178 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
25179 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
25180 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
25181 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
25182 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25183
b637d46e
AJ
251842012-07-13 Andreas Jaeger <aj@suse.de>
25185
25186 * po/fr.po: Update from translation team.
25187
541428fe
MP
251882012-07-12 Marek Polacek <polacek@redhat.com>
25189
25190 [BZ #14173]
25191 * math/libm-test.inc (yn_test): Add test for BZ #14173.
25192 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
25193 loop condition.
25194
ec332e94
JM
251952012-07-12 Joseph Myers <joseph@codesourcery.com>
25196
25197 [BZ #13717]
25198 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25199 Change to 2.4.1 where previously 2.4.0.
25200 * sysdeps/unix/sysv/linux/configure: Regenerated.
25201 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
25202 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
25203 version.
25204 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
25205 (__ASSUME_AT_CLKTCK): Remove.
25206 (__ASSUME_AT_PAGESIZE): Likewise.
25207 (__ASSUME_AT_XID): Likewise.
25208 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
25209 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
25210 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
25211 unconditionally.
25212 (HAVE_AUX_PAGESIZE): Likewise.
25213 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
25214 [__ASSUME_AT_CLKTCK]: Make code unconditional.
25215 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
25216
7b6e99be
JB
252172012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
25218
25219 [BZ #14307]
25220 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
25221 the temporary buffer used to invoke __gethostbyname2_r,
25222 __gethostbyaddr_r and gethostbyname4_r to make room for struct
25223 host_data / struct gaih_addrtuple.
25224 * resolv/nss_dns/dns-host.c (global scope): Move definition of
25225 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
25226 header file nss/nsswitch.h.
25227 * nss/nsswitch.h (global scope): Add definition of implementation
25228 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
25229 resolv/nss_dns/dns-host.c).
25230
608404eb
AJ
252312012-07-11 Andreas Jaeger <aj@suse.de>
25232
25233 * po/fr.po: Update from translation team.
25234
71220aca
AJ
25235 * po/sv.po: Update from translation team
25236 * po/fr.po: Another update from translation team.
25237
28cfe843
AZ
252382012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25239
25240 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
25241 for subnormals or multiply small sinh result by itself.
25242 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
25243 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25244
6b90f981
DM
252452012-07-11 David S. Miller <davem@davemloft.net>
25246
25247 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25248
c6825772
AS
252492012-07-10 Andreas Schwab <schwab@linux-m68k.org>
25250
25251 [BZ #14347]
25252 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
25253 (INTERNAL_MARK): Shift it here.
25254
7b8e0d49
MP
252552012-07-10 Marek Polacek <polacek@redhat.com>
25256
25257 [BZ #14151]
25258 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
25259 libc_cv_asm_global_directive with .globl.
25260 * configure: Regenerated.
25261 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
25262 with .globl.
25263 * sysdeps/i386/configure: Regenerated.
25264 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
25265 with .globl.
25266 * sysdeps/x86_64/configure: Regenerated.
25267 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
25268 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
25269 * elf/tst-unique2mod2.c: Likewise.
25270 * elf/tst-unique2mod1.c: Likewise.
25271 * elf/tst-unique1mod2.c: Likewise.
25272 * elf/tst-unique1mod1.c: Likewise.
25273 * sysdeps/s390/s390-32/sysdep.h: Likewise.
25274 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
25275 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25276 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
25277 * sysdeps/mach/sysdep.h: Likewise.
25278 * sysdeps/i386/sysdep.h: Likewise.
25279 * sysdeps/i386/i386-mcount.S: Likewise.
25280 * sysdeps/x86_64/_mcount.S: Likewise.
25281 * sysdeps/x86_64/sysdep.h: Likewise.
25282 * sysdeps/sh/_mcount.S: Likewise.
25283 * sysdeps/sh/sysdep.h: Likewise.
25284 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
25285 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
25286 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
25287 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
25288 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
25289 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
25290 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
25291 * locale/localeinfo.h: Likewise.
25292 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
25293 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
25294
6c55cda3
RM
252952012-07-09 Roland McGrath <roland@hack.frob.com>
25296
25297 [BZ #14336]
25298 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
25299 system".
25300 * manual/message.texi (The Uniforum approach): Likewise.
25301 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
25302 (glibc iconv Implementation): Likewise.
25303
638a572e
JM
253042012-07-09 Joseph Myers <joseph@codesourcery.com>
25305
25306 [BZ #14337]
25307 * math/s_clog.c (__clog): Avoid scaling a value down where that
25308 could result in underflow.
25309 * math/s_clog10.c (__clog10): Likewise.
25310 * math/s_clog10f.c (__clog10f): Likewise.
25311 * math/s_clog10l.c (__clog10l): Likewise.
25312 * math/s_clogf.c (__clogf): Likewise.
25313 * math/s_clogl.c (__clogl): Likewise.
25314 * math/libm-test.inc (clog_test): Add more tests.
25315 (clog10_test): Likewise.
25316 * sysdeps/i386/fpu/libm-test-ulps: Update.
25317 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25318
261f4859
AS
253192012-07-06 Andreas Schwab <schwab@linux-m68k.org>
25320
0abaf3e4
AS
25321 [BZ #14283]
25322 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
25323 by 7 not 8 to examine high bit of fractional part.
25324
261f4859
AS
25325 [BZ #14042]
25326 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
25327 for call to __mcount_internal.
25328 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
25329 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
25330 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
25331
f17ac40d
JM
253322012-07-06 Joseph Myers <joseph@codesourcery.com>
25333
9ad63c23
JM
25334 [BZ #14154]
25335 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
25336 approximation for values within 0x1p-13f of an odd multiple of
25337 pi/4.
25338 * math/libm-test.inc (tan_test): Do not allow spurious underflow
25339 exception. Add more tests.
25340 * sysdeps/i386/fpu/libm-test-ulps: Update.
25341
f17ac40d
JM
25342 [BZ #6778]
25343 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
25344 inputs and return -1 for them. Do not check for +Inf in case not
25345 reachable for +Inf.
25346 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
25347 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
25348 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
25349 and return -1 for them. Do not check for +Inf in case not
25350 reachable for +Inf.
25351 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
25352 define.
25353 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
25354 and return -1 for them. Do not check for +Inf in case not
25355 reachable for +Inf.
25356 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
25357 spurious underflow.
25358 * sysdeps/i386/fpu/libm-test-ulps: Update.
25359 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25360
fb21f89b
MF
253612012-07-06 Mike Frysinger <vapier@gentoo.org>
25362
25363 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
25364
cdfe2c5e
JM
253652012-07-05 Joseph Myers <joseph@codesourcery.com>
25366
25367 [BZ #14157]
25368 [BZ #14331]
25369 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
25370 could result in spurious underflow. Scale down values above
25371 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
25372 * math/s_csqrtf.c (__csqrtf): Likewise.
25373 * math/s_csqrtl.c (__csqrtl): Likewise.
25374 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
25375 spurious underflow.
25376 * sysdeps/i386/fpu/libm-test-ulps: Update.
25377 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25378
70d35b67
AS
253792012-07-04 Andreas Schwab <schwab@linux-m68k.org>
25380
704bc459
AS
25381 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
25382 xopen-msg.sed.
25383 * catgets/xopen-msg.awk: New file.
25384 * catgets/xopen-msg.sed: Removed.
25385
70d35b67
AS
25386 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
25387 po2text.sed.
25388 * intl/po2test.awk: New file.
25389 * intl/po2test.sed: Removed.
25390
ca61cf32
JM
253912012-07-04 Joseph Myers <joseph@codesourcery.com>
25392
25393 [BZ #14328]
25394 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
25395 or multiply small sinh result by itself.
25396 * math/s_ctanf.c (__ctanf): Likewise.
25397 * math/s_ctanh.c (__ctanh): Likewise.
25398 * math/s_ctanhf.c (__ctanhf): Likewise.
25399 * math/s_ctanhl.c (__ctanhl): Likewise.
25400 * math/s_ctanl.c (__ctanl): Likewise.
25401 * math/libm-test.inc (ctan_test_tonearest): New function.
25402 (ctan_test_towardzero): Likewise.
25403 (ctan_test_downward): Likewise.
25404 (ctan_test_upward): Likewise.
25405 (ctanh_test_tonearest): Likewise.
25406 (ctanh_test_towardzero): Likewise.
25407 (ctanh_test_downward): Likewise.
25408 (ctanh_test_upward): Likewise.
25409 (main): Call these new functions.
25410 * sysdeps/i386/fpu/libm-test-ulps: Update.
25411 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25412
ca48a46a
MF
254132012-07-03 Mike Frysinger <vapier@gentoo.org>
25414
25415 * .gitignore: Delete /ports entry.
25416
9d63d37d
AJ
254172012-07-03 Andreas Jaeger <aj@suse.de>
25418
25419 * po/bg.po: Update from translation team.
25420 * po/cs.po: Likewise.
25421 * po/de.po: Likewise.
25422 * po/hr.po: Likewise.
25423 * po/nl.pl: Likewise.
25424 * po/pl.po: Likewise.
25425 * po/vi.po: Likewise.
25426
370ca3d2
JM
254272012-07-03 Joseph Myers <joseph@codesourcery.com>
25428
95f5a9a8
JM
25429 * Makeconfig [!+link] (+link-before-libc): New variable.
25430 [!+link] (+link-after-libc): Likewise.
25431 [!+link] (+link-tests): Likewise.
25432 [!+link] (+link): Define in terms of $(+link-before-libc) and
25433 $(+link-after-libc).
25434 [!+link-static] (+link-static-before-libc): New variable.
25435 [!+link-static] (+link-static-after-libc): Likewise.
25436 [!+link-static] (+link-static-tests): Likewise.
25437 [!+link-static] (+link-static): Define in terms of
25438 $(+link-static-before-libc) and $(+link-static-after-libc).
25439 [build-shared] (link-libc-before-gnulib): New variable.
25440 [build-shared] (link-libc-tests): Likewise.
25441 [build-shared] (link-libc): Define in terms of
25442 $(link-libc-before-gnulib).
25443 [!build-shared] (link-libc-tests): New variable.
25444 (link-libc-static-tests): New variable.
25445 [!gnulib] (gnulib-arch): New variable.
25446 [!gnulib] (gnulib-tests): Likewise.
25447 [!gnulib] (static-gnulib-arch): Likewise.
25448 [!gnulib] (static-gnulib-tests): Likewise.
25449 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
25450 Define with "=" instead of ":=".
25451 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
25452 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
25453 * Rules (binaries-all-notests): New variable.
25454 (binaries-all-tests): Likewise.
25455 (binaries-static-notests): Likewise.
25456 (binaries-static-tests): Likewise.
25457 (binaries-all): Define using $(binaries-all-notests) and
25458 $(binaries-all-tests).
25459 (binaries-static): Define using $(binaries-static-notests) and
25460 $(binaries-static-tests).
25461 (binaries-shared-tests): New variable.
25462 (binaries-shared-notests): Likewise.
25463 (binaries-shared): Remove variable.
25464 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
25465 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
25466 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
25467 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
25468 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
25469 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
25470 * elf/Makefile (sln-modules): New variable.
25471 (extra-objs): Add $(sln-modules:=.o).
25472 (ldconfig-modules): Add static-stubs.
25473 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
25474 * elf/static-stubs.c: New file.
25475
7a845b2c
JM
25476 [BZ #14283]
25477 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
25478 by 7 not 8 to examine high bit of fractional part. Use volatile
25479 variables when splitting into final array of floats if
25480 __FLT_EVAL_METHOD__ != 0.
25481 * math/libm-test.inc (cos_test): Add another test.
25482 (sin_test): Likewise.
25483 * sysdeps/i386/fpu/libm-test-ulps: Update.
25484
e2283f38
JM
25485 [BZ #14273]
25486 * math/libm-test.inc (cosh_test): Add more tests.
25487
370ca3d2
JM
25488 * version.h (RELEASE): Set to "development".
25489 (VERSION): Set to "2.16.90".
25490
ee9247c3
CD
254912012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
25492
25493 * NEWS: Update copyright. Remove last-updated date.
25494 Mention math library bug fixes and timezone data changes.
25495 * README: Mention GNU/Hurd, x32, and HPPA support status.
25496
4648c381
TS
254972012-06-28 Thomas Schwinge <thomas@codesourcery.com>
25498
25499 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
25500
aac78a43
AJ
255012012-06-27 Andreas Jaeger <aj@suse.de>
25502
25503 * manual/contrib.texi (Contributors): Add Samuel Thibault.
25504
ed3dbfad
AJ
255052012-06-25 Andreas Jaeger <aj@suse.de>
25506
25507 * sysdeps/s390/fpu/libm-test-ulps: Update.
25508
4d0ee855
AS
255092012-06-23 Andreas Schwab <schwab@linux-m68k.org>
25510 Thomas Schwinge <thomas@codesourcery.com>
25511
25512 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
25513 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
25514 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
25515 fanotify_mark.
25516
af1bce34
TS
255172012-06-23 Thomas Schwinge <thomas@codesourcery.com>
25518
a9fa33ba
TS
25519 * sysdeps/mach/start.c: Remove file.
25520 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
25521 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
25522 * sysdeps/sh/init-first.c: Likewise.
25523
58f902b8
TS
25524 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
25525 registers for frame unwinding purposes, add CFI directives.
25526 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
25527 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
25528 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
25529 Likewise.
25530
1518f58b
TS
25531 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
25532 __fortify_fail returning.
25533 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
25534
db9b5059
TS
25535 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
25536 sysdeps/sh/____longjmp_chk.S.
25537 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
25538 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
25539 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
25540 (gen-as-const-headers): Append sigaltstack-offsets.sym.
25541
967705fe
TS
25542 * sysdeps/sh/abort-instr.h: New file.
25543 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
25544 process in case exit returns.
25545
a9def8c4
TS
25546 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
25547 initialize the GOT register before use.
25548
2a649725
TS
25549 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
25550 calculation of ARGC > 4.
25551
af1bce34
TS
25552 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
25553 meaningful names to some local labels.
25554
d230f50a
KK
255552012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
25556 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25557
25558 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
25559 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
25560 (__arch_compare_and_exchange_val_16_acq): Likewise.
25561 (__arch_compare_and_exchange_val_32_acq): Likewise.
25562 (atomic_exchange_and_add): Fix gUSA sequence.
25563 (atomic_add): Likewise.
25564 (atomic_add_negative): Likewise.
25565 (atomic_add_zero): Likewise.
25566 (atomic_bit_test_set): Likewise.
25567
0479b305
AS
255682012-06-22 Andreas Schwab <schwab@redhat.com>
25569
25570 [BZ #13579]
25571 * include/link.h (struct link_map): Add l_free_initfini.
25572 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
25573 l_initfini.
25574 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
25575 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
25576 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
25577 set.
25578
0e3933b9
CD
255792012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
25580
25581 * configure.in: Use AC_LANG_SOURCE.
25582 * configure: Regenerate.
25583
4248b1b1
RM
255842012-06-22 Roland McGrath <roland@hack.frob.com>
25585
25586 * configure.in (libc_cv_localstatedir): New substituted variable.
25587 * configure: Regenerated.
25588 * config.make.in (localstatedir): New variable, substituted from
25589 libc_cv_localstatedir.
25590 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
25591 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
25592 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
25593 * sysdeps/gnu/configure: Regenerated.
25594
006dd861
JL
255952012-06-21 Jeff Law <law@redhat.com>
25596
25597 [BZ #14277]
25598 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
25599 free. Simplify list management for _LIBC case.
25600
79662d42
JM
256012012-06-21 Joseph Myers <joseph@codesourcery.com>
25602
b7abb4bf
JM
25603 [BZ #14273]
25604 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
25605 Clear sign bit of 64-bit integer value before comparing against
25606 overflow value.
25607
79662d42
JM
25608 * sysdeps/mach/configure: Regenerated.
25609
1f150908
L
256102012-06-21 H.J. Lu <hongjiu.lu@intel.com>
25611
25612 [BZ #14278]
25613 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
25614
28363bbf
JL
256152012-06-21 Jeff Law <law@redhat.com>
25616
25617 [BZ #13882]
25618 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
25619 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 25620 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
25621 * elf/dl-open.c (dl_open_worker): Likewise.
25622
09615db4
CD
256232012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
25624
25625 * scripts/list-sources.sh: Scan PORTS for translations.
25626 * po/libc.pot: Regenerated.
25627
2174c6dd
AJ
256282012-06-21 Andreas Jaeger <aj@suse.de>
25629
25630 [BZ #12194]
25631 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
25632 warning.
25633 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
25634 * bits/byteswap-16.h (__bswap_16): Likewise.
25635 * bits/byteswap.h (__bswap_constant_16): Likewise.
25636
3ee947b1
L
256372012-06-18 H.J. Lu <hongjiu.lu@intel.com>
25638
25639 [BZ #14117]
a2f34833
L
25640 * sysdeps/i386/fpu_control.h: Removed.
25641 * sysdeps/x86_64/fpu_control.h: Moved to ...
25642 * sysdeps/x86/fpu_control.h: Here.
25643
3ee947b1
L
25644 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
25645 (_FPU_SETCW): Likewise.
25646
ed1825f8
L
256472012-06-15 H.J. Lu <hongjiu.lu@intel.com>
25648
25f1282a
L
25649 [BZ #14117]
25650 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
25651 * sysdeps/x86/fpu/bits/mathinline.h: This.
25652 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
25653
ed1825f8
L
25654 [BZ #14050]
25655 [BZ #14117]
25656 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
25657 functions if __x86_64__ is defined.
25658
36d54b74
CLT
256592012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
25660
25661 * string/endian.h: Add !__ASSEMBLER__ condition for including
25662 conversion interfaces.
25663
10285c21
JM
256642012-06-15 Joseph Myers <joseph@codesourcery.com>
25665
25666 [BZ #14241]
25667 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
25668 of ABS(x) in calculating zero to negative powers other than odd
25669 integers.
25670 * math/libm-test.inc (pow_test): Add more tests.
25671
06c5abbd
AJ
256722012-06-15 Andreas Jaeger <aj@suse.de>
25673
25674 * manual/contrib.texi (Contributors): Update entry of Liubov
25675 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
25676 Machado Filho.
25677
a3aeac40
CH
256782012-06-15 Cyril Hrubis <metan@ucw.cz>
25679
25680 * string/string.h: Add __wur to GNU version of strerror_r.
25681
49bdf4c1
L
256822012-06-14 H.J. Lu <hongjiu.lu@intel.com>
25683
25684 [BZ #14229]
25685 * string/Makefile (tests): Add tst-strtok_r.
25686 * string/tst-strtok_r.c: New file.
25687 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
25688 RAX_LP/RDX_LP on SAVE_PTR.
25689
834f9b8d
RM
256902012-06-14 Roland McGrath <roland@hack.frob.com>
25691
25692 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
25693
75fa1921
JM
256942012-06-14 Joseph Myers <joseph@codesourcery.com>
25695
25696 * libm_test.inc (csqrt_test): Allow more spurious underflow
25697 exceptions.
25698 (j0_test): Likewise.
25699 (j1_test): Likewise.
25700 (y0_test): Likewise.
25701 (y1_test): Likewise.
25702
771766df
CD
257032012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
25704
25705 * po/Makefile (libc.pot): Use UTF-8 charset.
25706
ceb9e56b
PP
257072012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
25708
25709 [BZ #14210]
25710 Suppress sign-conversion warning from FD_SET.
25711 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
25712 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
25713 not unsigned long int.
25714 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
25715
ddb28975
L
257162012-06-12 H.J. Lu <hongjiu.lu@intel.com>
25717
25718 [BZ #14050]
25719 [BZ #14117]
25720 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
25721 __extern_always_inline instead of __extern_inline.
25722 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
25723 (__signbit): Likewise.
25724 (__signbitl): Support C++ namespace.
25725 (lrintf): New inline function.
25726 (lrint): Likewise.
25727 (llrintf): Likewise.
25728 (llrint): Likewise.
25729 (fmaxf): Likewise.
25730 (fmax): Likewise.
25731 (fminf): Likewise.
25732 (fmin): Likewise.
25733 (rint): Likewise.
25734 (rintf): Likewise.
25735 (ceil): Likewise.
25736 (ceilf): Likewise.
25737 (floor): Likewise.
25738 (floorf): Likewise.
25739 (nearbyint): Likewise.
25740 (nearbyintf): Likewise.
25741
d7b4fb26
TS
257422012-06-12 Thomas Schwinge <thomas@codesourcery.com>
25743
25744 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
25745 non-default versions.
25746
eb55f5c2
RM
257472012-06-11 Roland McGrath <roland@hack.frob.com>
25748
25749 [BZ #14218]
25750 * manual/argp.texi (Argp): Reword argp_parse description slightly.
25751
366af02c
TS
257522012-06-09 Thomas Schwinge <thomas@codesourcery.com>
25753
99ff6e5c
TS
25754 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
25755 (FE_UPWARD, FE_DOWNWARD): Don't define.
25756 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
25757 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
25758
366af02c
TS
25759 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
25760 reading it.
25761 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
25762 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
25763
793ea851
KK
257642012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25765
25766 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
25767 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
25768 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
25769 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
25770
a728a38f
L
257712012-06-06 H.J. Lu <hongjiu.lu@intel.com>
25772
25773 [BZ #14117]
c08010c7
L
25774 * sysdeps/i386/fpu/bits/fenv.h: Removed.
25775 * sysdeps/i386/fpu/Implies: New file.
25776 * sysdeps/x86_64/fpu/Implies: Likewise.
25777 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
25778 * sysdeps/x86/fpu/bits/fenv.h: This.
25779
a728a38f
L
25780 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
25781 __SSE_MATH__.
25782
6e230d11
SP
257832012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
25784
25785 [BZ #14134]
25786 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
25787 character 0xffff that matches the last element of the
25788 conversion table.
25789
1b671feb
AZ
257902012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25791
25792 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
25793 fmodl commit.
25794
6043738b
AZ
257952012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25796
25797 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
25798 values higher than 25.6283.
25799
34ae0b32
AZ
258002012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25801
25802 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
25803 subnormal exponent extraction and add some __builtin_expect.
25804 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
25805 Fix for subnormal mantissa calculation.
25806
1214ec8f
MF
258072012-06-04 Mike Frysinger <vapier@gentoo.org>
25808
25809 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
25810 cpu2 is -1 and errno is not ENOSYS.
25811
f3d1f93c
L
258122012-06-04 H.J. Lu <hongjiu.lu@intel.com>
25813
25814 [BZ #14117]
0e4a3cd7
L
25815 * sysdeps/i386/i486/bits/string.h: Renamed to ...
25816 * sysdeps/x86/bits/string.h: This.
25817 * sysdeps/x86_64/bits/string.h: Removed.
25818
6704c645
L
25819 * sysdeps/i386/i486/bits/string.h: Define inline functions only
25820 if not compiling for x86-64, but compiling for >= i486.
25821
48495318
L
25822 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
25823 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
25824
14adcbfc
L
25825 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
25826 New macro from Linux kernel 3.4.0.
25827 (FP_XSTATE_MAGIC2): Likewise.
25828 (FP_XSTATE_MAGIC2_SIZE): Likewise.
25829 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
25830 (struct _fpx_sw_bytes): New struct.
25831 (struct _xsave_hdr): Likewise.
25832 (struct _ymmh_state): Likewise.
25833 (struct _xstate): Likewise.
25834
68e408ab
L
25835 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
25836 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
25837 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
25838 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
25839 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
25840 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
25841
f3d1f93c
L
25842 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
25843 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
25844 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
25845 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
25846 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
25847 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
25848
d9dc34cd
TMQMF
258492012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25850
25851 [BZ #13743]
25852 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
25853 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
25854 (sysdep_headers): Include sys/platform/ppc.h.
25855 * sysdeps/powerpc/test-gettimebase.c: Test for
25856 __ppc_get_timebase() to catch future ISA opcode/insn changes.
25857 * manual/Makefile (appendices): Include platform.texi.
25858 * manual/contrib.texi (Contributors): Update @node pointers.
25859 * manual/maint.texi (Maintenance): Likewise.
25860 (Platform): New node.
25861 * manual/platform.texi: New file. Document the new features.
25862
4af3879c
SP
258632012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
25864 Jakub Jelinek <jakub@redhat.com>
25865
25866 [BZ #14188]
25867 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
25868 where __builtin_expect is unavailable.
25869
2fd6ff13
DM
258702012-06-03 David S. Miller <davem@davemloft.net>
25871
25872 * stdlib/longlong.h: Updated from GCC.
25873
173f7220
AS
258742012-06-02 Andreas Schwab <schwab@linux-m68k.org>
25875
25876 [BZ #14042]
25877 * sysdeps/powerpc/powerpc32/mcount.c: New file.
25878 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
25879 __mcount_internal.
25880 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
25881 (GLIBC_2.16): Likewise.
25882
f34a1c6f
L
258832012-06-01 H.J. Lu <hongjiu.lu@intel.com>
25884
25885 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
25886
88a4576f
JM
258872012-06-01 Joseph Myers <joseph@codesourcery.com>
25888
ea32bcdd
JM
25889 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
25890 (default-abi): New variable.
25891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
25892 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
25893 variable.
25894 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
25895 Likewise.
25896 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
25897 Likewise.
25898 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
25899 Likewise.
25900
88a4576f
JM
25901 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
25902 definition. Document in comment.
25903
402fe938
DM
259042012-06-01 David S. Miller <davem@davemloft.net>
25905
25906 * stdlib/longlong.h: Updated from GCC.
25907
3553723f
L
259082012-06-01 H.J. Lu <hongjiu.lu@intel.com>
25909
25910 [BZ #14117]
3bd872c4
L
25911 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
25912 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
25913 sys/debugreg.h sys/io.h here.
25914 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
25915 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
25916 sys/io.h.
25917 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
25918 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
25919 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
25920 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
25921 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
25922 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
25923
3553723f
L
25924 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
25925 Define only if __x86_64__ is defined.
25926
4842e4fe
JM
259272012-06-01 Joseph Myers <joseph@codesourcery.com>
25928
c5bfe3d5
JM
25929 [BZ #14048]
25930 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
25931 Use int64_t for variable i.
25932 * math/libm-test.inc (fmod_test): Add more tests.
25933
4842e4fe
JM
25934 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
25935 z computation is not scheduled after fetestexcept.
25936 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
25937 Use math_force_eval instead of asm to ensure calculation scheduled
25938 before exception test.
25939 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
25940 Ensure a1 + u.d computation is not scheduled after fetestexcept.
25941
efb73488
AJ
259422012-06-01 Aurelien Jarno <aurelien@aurel32.net>
25943
25944 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
25945 computation is not scheduled after fetestexcept.
25946
29bcce7c
L
259472012-06-01 H.J. Lu <hongjiu.lu@intel.com>
25948
25949 [BZ #14117]
25950 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
25951 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
25952
73a68f94
AZ
259532012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25954
25955 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
25956 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
25957
67b6df78
L
259582012-05-31 H.J. Lu <hongjiu.lu@intel.com>
25959
edf2933a 25960 [BZ #14117]
ebc64a18
L
25961 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
25962 <bits/wordsize.h>.
25963 (__WCHAR_MIN): Support __WORDSIZE == 64.
25964 (__WCHAR_MAX): Likewise.
25965
edf2933a
L
25966 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
25967 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
25968
57c6cf40
L
25969 [BZ #14183]
25970 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
25971 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
25972
67b6df78 25973 [BZ #14117]
8eb6281e
L
25974 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
25975 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
25976
aac639f4
L
25977 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
25978 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
25979
67b6df78
L
25980 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
25981 Defined to 1 if __x86_64__ isn't defined.
25982 (_STAT_VER_LINUX_OLD): New.
25983 (st_atime): Remove duplicate.
25984 (st_mtime): Likewise.
25985 (st_ctime): Likewise.
25986
1c2cfe81
DM
259872012-05-31 David S. Miller <davem@davemloft.net>
25988
25989 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
25990 entries.
25991
5be8418c
AS
259922012-06-01 Andreas Schwab <schwab@linux-m68k.org>
25993
e7725326
AS
25994 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
25995 gen-libm-test.pl.
25996
5be8418c
AS
25997 [BZ #14132]
25998 * elf/dl-reloc.c: Include <_itoa.h>.
25999 (_dl_reloc_bad_type): Remove use of INTUSE.
26000 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
26001 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
26002 * stdio-common/psiginfo.c (psiginfo): Likewise.
26003 * stdio-common/psignal.c (psignal): Likewise.
26004 * string/strsignal.c (strsignal): Likewise.
26005 * include/signal.h (_sys_siglist): Declare hidden proto.
26006 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
26007 INTVARDEF with libc_hidden_data_def.
26008 * stdio-common/itoa-udigits.c: Likewise.
26009 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
26010 (_itoa_lower_digits_internal): Remove declaration.
26011 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
26012 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
26013 (_sys_sigabbrev_internal): Remove aliases.
26014 (_sys_siglist): Define hidden alias.
26015
507352f1
MT
260162012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
26017
26018 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26019 bits/sysctl.h.
26020
42bbb1c3
L
260212012-05-31 H.J. Lu <hongjiu.lu@intel.com>
26022
26023 [BZ #14117]
6bd784b6
L
26024 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
26025 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
26026
8bca20f0
L
26027 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
26028 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
26029 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
26030 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
26031 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
26032 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
26033
f9e890a9
L
26034 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
26035 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
26036 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
26037
471101a1
L
26038 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
26039 with __addr.
26040 (insw): Likewise.
26041 (insl): Likewise.
26042 (outsb): Likewise.
26043 (outsw): Likewise.
26044 (outsl): Likewise.
26045
6451c862
L
26046 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
26047 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
26048 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
26049
a254b8c9
L
26050 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
26051 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
26052 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
26053 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
26054 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
26055 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
26056
b8dfdd92
L
26057 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
26058 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
26059
578cd270
L
26060 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
26061 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
26062
de662f5f
L
26063 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
26064 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
26065 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
26066
25653439
L
26067 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
26068 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
26069 to ...
26070 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
26071
6bad24a0
L
26072 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
26073 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
26074 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
26075
42bbb1c3
L
26076 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
26077 for x86-64.
26078 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
26079
2d10d547
JM
260802012-05-31 Joseph Myers <joseph@codesourcery.com>
26081
26082 * math/math.h (M_El): Use two more decimal places.
26083 (M_LOG2El): Likewise.
26084 (M_LOG10El): Likewise.
26085 (M_LN2l): Likewise.
26086 (M_LN10l): Likewise.
26087 (M_PIl): Likewise.
26088 (M_PI_2l): Likewise.
26089 (M_PI_4l): Likewise.
26090 (M_1_PIl): Likewise.
26091 (M_2_PIl): Likewise.
26092 (M_2_SQRTPIl): Likewise.
26093 (M_SQRT2l): Likewise.
26094 (M_SQRT1_2l): Likewise.
26095
f230c29b
DM
260962012-05-31 David S. Miller <davem@davemloft.net>
26097
26098 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
26099 values between float registers.
26100 * sysdeps/sparc/sparc64/memset.S: Likewise.
26101 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
26102
fed806c3
MF
261032012-05-31 Mike Frysinger <vapier@gentoo.org>
26104
26105 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
26106 -D_FORTIFY_SOURCE=1.
26107 (CPPFLAGS-tst-longjmp_chk.c): Define.
26108 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
26109 (CPPFLAGS-tst-longjmp_chk2.c): Define.
26110 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
26111 CFLAGS-tst-wchar-h.c.
26112
30917259
MP
261132012-05-31 Marek Polacek <polacek@redhat.com>
26114
26115 [BZ #14132]
26116 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
26117 __endmntent_internal): Remove declaration.
26118 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
26119 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
26120 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
26121
1c58d5dc
DM
261222012-05-30 David S. Miller <davem@davemloft.net>
26123
26124 * sysdeps/sparc/sparc32/soft-fp/q_util.c
26125 (___Q_simulate_exceptions): Use real FP ops rather than writing
26126 into the %fsr.
26127 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
26128 Likewise.
26129
7dc00e0d
L
261302012-05-30 H.J. Lu <hongjiu.lu@intel.com>
26131
26132 [BZ #14117]
0bd53985
L
26133 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
26134 * sysdeps/x86/bits/xtitypes.h: This.
26135
3a257e66
L
26136 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
26137 * sysdeps/x86/bits/wordsize.h: This.
26138
62f62904
L
26139 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
26140 * sysdeps/x86/bits/huge_vall.h: This.
26141
404fe9d9
L
26142 * sysdeps/i386/bits/select.h: Removed.
26143 * sysdeps/x86_64/bits/select.h: Renamed to ...
26144 * sysdeps/x86/bits/select.h: This.
26145
d48d0446
L
26146 * sysdeps/i386/bits/setjmp.h: Removed.
26147 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
26148 * sysdeps/x86/bits/setjmp.h: This.
26149
7dc00e0d
L
26150 * sysdeps/i386/bits/mathdef.h: Removed.
26151 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
26152 * sysdeps/x86/bits/mathdef.h: This.
26153
03277f8f
AS
261542012-05-30 Andreas Schwab <schwab@linux-m68k.org>
26155
26156 [BZ #14132]
26157 * include/sys/socket.h (__connect_internal)
26158 (__libc_sa_len_internal): Remove declaration.
26159 (__connect, __libc_sa_len): Declare hidden_proto.
26160 (SA_LEN): Remove use of INTUSE.
26161 * socket/connect.c: Add libc_hidden_def.
26162 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
26163 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
26164 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
26165 alias.
26166 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
26167 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
26168 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
26169 of adding _internal alias.
26170
13764867
L
261712012-05-30 H.J. Lu <hongjiu.lu@intel.com>
26172
26173 [BZ #14117]
6bd97696
L
26174 * sysdeps/i386/bits/link.h: Removed.
26175 * sysdeps/i386/bits/linkmap.h: Likewise.
26176 * sysdeps/x86_64/bits/link.h: Renamed to ...
26177 * sysdeps/x86/bits/link.h: This.
26178 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
26179 * sysdeps/x86/bits/linkmap.h: This.
26180
f726f0bb
L
26181 * sysdeps/i386/bits/endian.h: Removed.
26182 * sysdeps/x86_64/bits/endian.h: Renamed to ...
26183 * sysdeps/x86/bits/endian.h: This.
26184
13764867
L
26185 * sysdeps/i386/bits/byteswap.h: Removed.
26186 * sysdeps/i386/bits/byteswap-16.h: Likewise.
26187 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
26188 * sysdeps/x86/bits/byteswap.h: This.
26189 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
26190 * sysdeps/x86/bits/byteswap-16.h: This.
26191 * sysdeps/i386/Implies: Add x86.
26192 * sysdeps/x86_64/Implies: Likewise.
26193
ae251b0b
DM
261942012-05-30 David S. Miller <davem@davemloft.net>
26195
26196 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
26197 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
26198 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
26199 (FP_TRAPPING_EXCEPTIONS): Define.
26200 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
26201 (FP_TRAPPING_EXCEPTIONS): Define.
26202 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
26203 subnormals only when inexact has been signalled or underflow
26204 exceptions are enabled.
26205 (_FP_PACK_CANONICAL): Likewise.
26206
d5c90867
L
262072012-05-30 H.J. Lu <hongjiu.lu@intel.com>
26208
26209 [BZ #14183]
26210 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
26211 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
26212
63f1549e
RH
262132012-05-30 Richard Henderson <rth@twiddle.net>
26214
8d8f2279
RH
26215 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
26216 with #ifndef NOT_IN_libc.
26217
63f1549e
RH
26218 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
26219 marked to avoid plt entry.
26220
0ab0291b
L
262212012-05-30 H.J. Lu <hongjiu.lu@intel.com>
26222
26223 [BZ #14112]
26224 * Makeconfig (default-abi): New macro.
26225 (abi-includes): Likewise.
26226 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
26227 $(abi-$(default-abi)-lib-soname) for soname if defined.
26228 ($(common-objpfx)gnu/lib-names.stmp): Generate from
26229 abi-variants.
26230 * Makefile (installed-stubs): Likewise.
26231 * include/stubs-biarch.h: Removed.
26232 * scripts/lib-names.awk: Only handle one library at a time.
26233 * scripts/soversions.awk: Remove WORDSIZE support.
26234 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
26235 entries.
26236 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
26237 Removed.
26238 (syscall-list-default-condition): Likewise.
26239 (syscall-list-default-condition): Likewise.
26240 (syscall-list-includes): Likewise.
26241 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
26242 syscall-list-* with abi-*. Handle undefined abi-variants.
26243 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
26244 * sysdeps/unix/sysv/linux/i386/Implies: New file.
26245 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
26246 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
26247 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
26248 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
26249 Removed.
26250 (syscall-list-32-options): Likewise.
26251 (syscall-list-32-condition): Likewise.
26252 (syscall-list-64-options): Likewise.
26253 (syscall-list-64-condition): Likewise.
26254 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
26255 macro.
26256 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
26257 Renamed to ...
26258 (abi-*): This.
26259 (abi-64-ld-soname): New macro.
26260 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
26261 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
26262 Renamed to ...
26263 (abi-*): This.
26264 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
26265 * sysdeps/x86_64/x32/shlib-versions: Likewise.
26266
4da0431d
JM
262672012-05-30 Joseph Myers <joseph@codesourcery.com>
26268
3a85279c
JM
26269 * sysdeps/unix/sysv/linux/kernel-features.h
26270 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
26271 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
26272 include <kernel-features.h>.
26273 [!__NR_ftruncate64]: Remove conditional code.
26274 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26275 [__NR_ftruncate64]: Make code unconditional.
26276 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26277 * sysdeps/unix/sysv/linux/truncate64.c: Do not
26278 include <kernel-features.h>.
26279 [!__NR_ftruncate64]: Remove conditional code.
26280 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26281 [__NR_ftruncate64]: Make code unconditional.
26282 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
26284 include <kernel-features.h>.
26285 [!__NR_ftruncate64]: Remove conditional code.
26286 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26287 [__NR_ftruncate64]: Make code unconditional.
26288 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
26290 include <kernel-features.h>.
26291 [!__NR_ftruncate64]: Remove conditional code.
26292 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26293 [__NR_ftruncate64]: Make code unconditional.
26294 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26295
4da0431d
JM
26296 * configure.in (libc_cv_fpie): Weaken to a compile test using
26297 LIBC_TRY_CC_OPTION.
26298 * configure: Regenerated.
26299
11ef492c
AK
263002012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26301
26302 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
26303 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
26304 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
26305 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
26306 Refreshed.
26307 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
26308 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
26309 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
26310 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
26311 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
26312 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
26313 Refreshed.
26314
d66ef399
DM
263152012-05-27 David S. Miller <davem@davemloft.net>
26316
26317 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
26318 (___Q_zero): New.
26319 (__Q_simulate_exceptions): Return void. Change to simulate
26320 exceptions by writing into the %fsr.
26321 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
26322 (__Qp_handle_exceptions): Likewise.
26323 (numbers): Delete.
26324 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
26325 __Qp_handle_exceptions.
26326 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
26327 __Qp_handle_exceptions.
26328 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
26329 as unused and give dummy FP_RND_NEAREST initializer.
26330 (FP_INHIBIT_RESULTS): Define.
26331 (___Q_simulate_exceptions): Update declaration.
26332 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
26333 formatting.
26334 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
26335 as unused and give dummy FP_RND_NEAREST initializer.
26336 (__Qp_handle_exceptions): Update declaration.
26337 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
26338 formatting.
26339
04fb54b5
TS
263402012-05-27 Thomas Schwinge <thomas@codesourcery.com>
26341
26342 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
26343 the temporary FPU control word.
26344 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
26345 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
26346 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
26347 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
26348 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
26349 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
26350 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
26351 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
26352 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
26353 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
26354 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
26355
3f99608f
KK
263562012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26357
26358 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
26359 fields.
26360
65a4de4e
CLT
263612012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
26362
26363 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
26364 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
26365 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
26366 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
26367 Likewise.
26368 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
26369 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
26370 Likewise.
26371
15749d40
UD
263722012-05-27 Ulrich Drepper <drepper@gmail.com>
26373
26374 * po/h.po: Update from translation team.
26375
25dbcb27
AS
263762012-05-26 Andreas Schwab <schwab@linux-m68k.org>
26377
3d3f8e55
AS
26378 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
26379
25dbcb27
AS
26380 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
26381 handling of denormals.
26382 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
26383 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
26384 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
26385 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
26386 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
26387 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
26388 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
26389 Likewise.
26390
7ad47a80 263912012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
26392
26393 [BZ #14152]
26394 * math/libm-test.inc (fma_test): Don't always expect underflow
26395 exception.
26396
9c6ea9fa
SP
263972012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26398
26399 [BZ #12416]
26400 * elf/tst-execstack.c: Include stackinfo.h.
26401 (do_test): Adjust test case to ensure that pthread_getattr_np
26402 behaviour remains the same after marking stack executable.
26403
a8239222
JM
264042012-05-25 Joseph Myers <joseph@codesourcery.com>
26405
26406 * sysdeps/unix/sysv/linux/kernel-features.h
26407 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
26408 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
26409 kernel-features.h.
26410 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
26411 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
26412 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
26413 kernel-features.h.
26414 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
26415 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
26416
918b5606
L
264172012-05-25 H.J. Lu <hongjiu.lu@intel.com>
26418
26419 * configure.in: Define the default includes to being none.
26420 * configure: Regenerated.
26421
3a097cc7
RM
264222012-05-25 Roland McGrath <roland@hack.frob.com>
26423
8422c9a5
RM
26424 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
26425 * sysdeps/x86_64/setjmp.S: Likewise.
26426 * sysdeps/i386/bsd-setjmp.S: Likewise.
26427 * sysdeps/i386/bsd-_setjmp.S: Likewise.
26428 * sysdeps/i386/setjmp.S: Likewise.
26429 * sysdeps/i386/__longjmp.S: Likewise.
26430 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
26431 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
26432
3a097cc7
RM
26433 * include/stap-probe.h: New file.
26434 * configure.in: Handle --enable-systemtap.
26435 * configure: Regenerated.
26436 * config.h.in (USE_STAP_PROBE): New #undef.
26437 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
26438 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
26439 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
26440
21708942
JM
264412012-05-25 Joseph Myers <joseph@codesourcery.com>
26442
26443 [BZ #13717]
26444 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
26445 to 2.4.0 where earlier.
26446 * sysdeps/unix/sysv/linux/configure: Regenerated.
26447 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
26448 <kernel-features.h>.
26449 [__ASSUME_32BITUIDS]: Make code unconditional.
26450 [!__ASSUME_32BITUIDS]: Remove conditional code.
26451 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
26452 <kernel-features.h>.
26453 [__ASSUME_32BITUIDS]: Make code unconditional.
26454 [!__ASSUME_32BITUIDS]: Remove conditional code.
26455 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
26456 [__ASSUME_32BITUIDS]: Make code unconditional.
26457 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
26458 * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.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/getgid.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/getgroups.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/getresgid.c: Do not include
26475 <kernel-features.h>.
26476 [__ASSUME_32BITUIDS]: Make code unconditional.
26477 [!__ASSUME_32BITUIDS]: Remove conditional code.
26478 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
26479 <kernel-features.h>.
26480 [__ASSUME_32BITUIDS]: Make code unconditional.
26481 [!__ASSUME_32BITUIDS]: Remove conditional code.
26482 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
26483 <kernel-features.h>.
26484 [__ASSUME_32BITUIDS]: Make code unconditional.
26485 [!__ASSUME_32BITUIDS]: Remove conditional code.
26486 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
26487 <kernel-features.h>.
26488 [__ASSUME_32BITUIDS]: Make code unconditional.
26489 [!__ASSUME_32BITUIDS]: Remove conditional code.
26490 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
26491 <kernel-features.h>.
26492 [__ASSUME_32BITUIDS]: Make code unconditional.
26493 [!__ASSUME_32BITUIDS]: Remove conditional code.
26494 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
26495 <kernel-features.h>.
26496 [__ASSUME_32BITUIDS]: Make code unconditional.
26497 [!__ASSUME_32BITUIDS]: Remove conditional code.
26498 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
26499 <kernel-features.h>.
26500 [__NR_setresgid] (__setresgid): Do not declare.
26501 [__ASSUME_32BITUIDS]: Make code unconditional.
26502 [!__ASSUME_32BITUIDS]: Remove conditional code.
26503 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
26504 <kernel-features.h>.
26505 [__NR_setresuid] (__setresuid): Do not declare.
26506 [__ASSUME_32BITUIDS]: Make code unconditional.
26507 [!__ASSUME_32BITUIDS]: Remove conditional code.
26508 * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/setgid.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/setgroups.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/i386/setregid.c: Do not include
26525 <kernel-features.h>.
26526 [__ASSUME_32BITUIDS]: Make code unconditional.
26527 [!__ASSUME_32BITUIDS]: Remove conditional code.
26528 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
26529 <kernel-features.h>.
26530 [__ASSUME_32BITUIDS]: Make code unconditional.
26531 [!__ASSUME_32BITUIDS]: Remove conditional code.
26532 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
26533 <kernel-features.h>.
26534 [__ASSUME_32BITUIDS]: Make code unconditional.
26535 [!__ASSUME_32BITUIDS]: Remove conditional code.
26536 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
26537 <kernel-features.h>.
26538 [__ASSUME_32BITUIDS]: Make code unconditional.
26539 [!__ASSUME_32BITUIDS]: Remove conditional code.
26540 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
26541 <kernel-features.h>.
26542 [__ASSUME_32BITUIDS]: Make code unconditional.
26543 [!__ASSUME_32BITUIDS]: Remove conditional code.
26544 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
26545 <kernel-features.h>.
26546 [__ASSUME_32BITUIDS]: Make code unconditional.
26547 [!__ASSUME_32BITUIDS]: Remove conditional code.
26548 * sysdeps/unix/sysv/linux/kernel-features.h
26549 (__ASSUME_SETRESUID_SYSCALL): Remove.
26550 (__ASSUME_SETRESGID_SYSCALL): Likewise.
26551 (__ASSUME_32BITUIDS): Likewise.
26552 (__ASSUME_LDT_WORKS): Likewise.
26553 (__ASSUME_O_DIRECTORY): Likewise.
26554 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
26555 architecture but not kernel version.
26556 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
26557 (__ASSUME_MMAP2_SYSCALL): Likewise.
26558 (__ASSUME_STAT64_SYSCALL): Likewise.
26559 (__ASSUME_IPC64): Likewise.
26560 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
26561 <kernel-features.h>.
26562 [__ASSUME_32BITUIDS]: Make code unconditional.
26563 [!__ASSUME_32BITUIDS]: Remove conditional code.
26564 * sysdeps/unix/sysv/linux/opendir.c: Do not include
26565 <kernel-features.h>.
26566 [__ASSUME_O_DIRECTORY]: Make code unconditional.
26567 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
26568 132096]: Remove conditional code.
26569 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
26570 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
26571 <kernel-features.h>.
26572 [__ASSUME_32BITUIDS]: Make code unconditional.
26573 [!__ASSUME_32BITUIDS]: Remove conditional code.
26574 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
26575 <kernel-features.h>.
26576 [__ASSUME_32BITUIDS]: Make code unconditional.
26577 [!__ASSUME_32BITUIDS]: Remove conditional code.
26578 * sysdeps/unix/sysv/linux/setegid.c: Do not include
26579 <kernel-features.h>.
26580 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
26581 unconditional.
26582 (__setresgid): Do not declare.
26583 [__ASSUME_32BITUIDS]: Make code unconditional.
26584 [!__ASSUME_32BITUIDS]: Remove conditional code.
26585 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
26586 <kernel-features.h>.
26587 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
26588 unconditional.
26589 (__setresuid): Do not declare.
26590 [__ASSUME_32BITUIDS]: Make code unconditional.
26591 [!__ASSUME_32BITUIDS]: Remove conditional code.
26592 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
26593 <kernel-features.h>.
26594 [__ASSUME_32BITUIDS]: Make code unconditional.
26595 [!__ASSUME_32BITUIDS]: Remove conditional code.
26596 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
26597 <kernel-features.h>.
26598 [__ASSUME_32BITUIDS]: Make code unconditional.
26599 [!__ASSUME_32BITUIDS]: Remove conditional code.
26600
a386f1cc
RH
266012012-05-25 Richard Henderson <rth@twiddle.net>
26602
26603 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
26604 dl_hwcap to ifunc resolver.
26605 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
26606 elf_ifunc_invoke.
26607 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
26608 dl_hwcap to ifunc resolver.
26609 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
26610
b6550497
JM
266112012-05-24 Joseph Myers <joseph@codesourcery.com>
26612
26613 [BZ #14153]
26614 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
26615 for |x| <= 2**-26, not 2**-57.
26616 * math/libm-test.inc (acos_test): Do not allow spurious underflow
26617 exception.
26618
b0bc23a1
JL
266192012-05-24 Jeff Law <law@redhat.com>
26620
26621 * stdio-common/Makefile (tests): Add bug25.
26622 * stdio-common/bug25.c: New test.
26623
347c92e9
L
266242012-05-24 H.J. Lu <hongjiu.lu@intel.com>
26625
26626 [BZ #13576]
26627 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
26628 multiple of MALLOC_ALIGNMENT in size.
26629 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
26630
6bcc8b3f
JM
266312012-05-24 Joseph Myers <joseph@codesourcery.com>
26632
26633 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
26634 Require >= 256.
26635 (FILENAME_MAX): Use macro-int-constant.
26636 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
26637 (_IOFBF): Use macro-int-constant.
26638 (_IOLBF): Likewise.
26639 (_IONBF): Likewise.
26640 (SEEK_CUR): Likewise.
26641 (SEEK_END): Likewise.
26642 (SEEK_SET): Likewise.
26643 (TMP_MAX): Likewise.
26644 (EOF): Use macro-int-constant. Require < 0.
26645 (NULL): Use macro-constant. Require == 0.
26646 (stdin): Require type to be FILE *.
26647 (stdout): Likewise.
26648 (stderr): Likewise.
26649 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
26650 macro-int-constant.
26651 (EXIT_SUCCESS): Likewise.
26652 (NULL): Use macro-constant. Require == 0.
26653 (RAND_MAX): Use macro-int-constant.
26654 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
26655 [C99-based standards] (strtof): Require function.
26656 [C99-based standards] (strtold): Likewise.
26657 [C99-based standards] (strtoll): Likewise.
26658 [C99-based standards] (strtoull): Likewise.
26659 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
26660 [ISO || ISO99 || ISO11] (limits.h): Likewise.
26661 [ISO || ISO99 || ISO11] (math.h): Likewise.
26662 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
26663 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
26664 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26665
d18ea0c5
AS
266662012-05-24 Andreas Schwab <schwab@linux-m68k.org>
26667
26668 [BZ #14132]
56d25bb8
AS
26669 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
26670 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
26671 * intl/dgettext.c (DCGETTEXT): Likewise.
26672 * intl/gettext.c (DCGETTEXT): Likewise.
26673 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
26674 * posix/regex_internal.h (gettext): Likewise.
26675 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
26676 Remove declaration.
26677 * include/argz.h (__argz_count_internal)
26678 (__argz_stringify_internal): Remove declaration.
26679 (__argz_count, __argz_stringify): Declare hidden proto.
26680 * intl/dcgettext.c: Remove use of INTDEF.
26681 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
26682 * string/argz-stringify.c: Likewise.
26683 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
26684 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
26685 Declare hidden proto.
d18ea0c5
AS
26686 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
26687 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
26688 Declare hidden proto.
26689 * include/stdio.h (__asprintf_internal): Don't declare.
26690 (__asprintf): Don't define as macro. Declare hidden proto.
26691 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
26692 (__fsetlocking): Declare hidden proto.
26693 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
26694 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
26695 hidden proto.
26696 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
26697 (_IO_setlinebuf): Remove use of INTUSE.
26698 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
26699 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
26700 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
26701 Remove declaration.
26702 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
26703 (_IO_do_flush): Remove use of INTUSE.
26704 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
26705 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
26706 (_IO_adjust_column, _IO_least_wmarker)
26707 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
26708 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
26709 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
26710 (_IO_default_doallocate, _IO_wdefault_doallocate)
26711 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
26712 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
26713 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
26714 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
26715 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
26716 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
26717 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
26718 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
26719 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
26720 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
26721 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
26722 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
26723 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
26724 proto.
26725 (_IO_flush_all_internal, _IO_adjust_column_internal)
26726 (_IO_default_uflow_internal, _IO_default_finish_internal)
26727 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
26728 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
26729 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
26730 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
26731 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
26732 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
26733 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
26734 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
26735 (_IO_file_close_internal, _IO_file_close_it_internal)
26736 (_IO_file_underflow_internal, _IO_file_overflow_internal)
26737 (_IO_file_init_internal, _IO_file_attach_internal)
26738 (_IO_file_fopen_internal, _IO_file_read_internal)
26739 (_IO_file_sync_internal, _IO_file_seek_internal)
26740 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
26741 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
26742 (_IO_str_underflow_internal, _IO_str_overflow_internal)
26743 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
26744 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
26745 (_IO_list_all_internal, _IO_link_in_internal)
26746 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
26747 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
26748 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
26749 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
26750 (_IO_do_write_internal, _IO_padn_internal)
26751 (_IO_getline_info_internal, _IO_getline_internal)
26752 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
26753 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
26754 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
26755 (_IO_vfscanf_internal, _IO_vfprintf_internal)
26756 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
26757 (_IO_init_internal, _IO_un_link_internal): Don't declare.
26758 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
26759 with libc_hidden_ver, remove use of INTUSE.
26760 * libio/genops.c: Likewise.
26761 * libio/freopen.c: Likewise.
26762 * libio/freopen64.c: Likewise.
26763 * libio/iofclose.c: Likewise.
26764 * libio/iofdopen.c: Likewise.
26765 * libio/iofflush.c: Likewise.
26766 * libio/iofflush_u.c: Likewise.
26767 * libio/iofgets.c: Likewise.
26768 * libio/iofgets_u.c: Likewise.
26769 * libio/iofopen.c: Likewise.
26770 * libio/iofopncook.c: Likewise.
26771 * libio/iofread.c: Likewise.
26772 * libio/iofread_u.c: Likewise.
26773 * libio/ioftell.c: Likewise.
26774 * libio/iofwrite.c: Likewise.
26775 * libio/iogetline.c: Likewise.
26776 * libio/iogets.c: Likewise.
26777 * libio/iogetwline.c: Likewise.
26778 * libio/iopadn.c: Likewise.
26779 * libio/iopopen.c: Likewise.
26780 * libio/ioseekoff.c: Likewise.
26781 * libio/ioseekpos.c: Likewise.
26782 * libio/iosetbuffer.c: Likewise.
26783 * libio/iosetvbuf.c: Likewise.
26784 * libio/ioungetc.c: Likewise.
26785 * libio/ioungetwc.c: Likewise.
26786 * libio/iovdprintf.c: Likewise.
26787 * libio/iovsprintf.c: Likewise.
26788 * libio/iovsscanf.c: Likewise.
26789 * libio/memstream.c: Likewise.
26790 * libio/obprintf.c: Likewise.
26791 * libio/oldfileops.c: Likewise.
26792 * libio/oldiofclose.c: Likewise.
26793 * libio/oldiofdopen.c: Likewise.
26794 * libio/oldiofopen.c: Likewise.
26795 * libio/oldiopopen.c: Likewise.
26796 * libio/oldstdfiles.c: Likewise.
26797 * libio/putc.c: Likewise.
26798 * libio/setbuf.c: Likewise.
26799 * libio/setlinebuf.c: Likewise.
26800 * libio/stdfiles.c: Likewise.
26801 * libio/strops.c: Likewise.
26802 * libio/vasprintf.c: Likewise.
26803 * libio/vscanf.c: Likewise.
26804 * libio/vsnprintf.c: Likewise.
26805 * libio/vswprintf.c: Likewise.
26806 * libio/wfiledoalloc.c: Likewise.
26807 * libio/wfileops.c: Likewise.
26808 * libio/wgenops.c: Likewise.
26809 * libio/wmemstream.c: Likewise.
26810 * libio/wstrops.c: Likewise.
26811 * libio/__fpurge.c: Likewise.
26812 * libio/__fsetlocking.c: Likewise.
26813 * assert/assert.c: Likewise.
26814 * debug/fgets_chk.c: Likewise.
26815 * debug/fgets_u_chk.c: Likewise.
26816 * debug/fread_chk.c: Likewise.
26817 * debug/fread_u_chk.c: Likewise.
26818 * debug/gets_chk.c: Likewise.
26819 * debug/obprintf_chk.c: Likewise.
26820 * debug/vasprintf_chk.c: Likewise.
26821 * debug/vdprintf_chk.c: Likewise.
26822 * debug/vsnprintf_chk.c: Likewise.
26823 * debug/vsprintf_chk.c: Likewise.
26824 * malloc/mtrace.c: Likewise.
26825 * misc/error.c: Likewise.
26826 * misc/syslog.c: Likewise.
26827 * stdio-common/asprintf.c: Likewise.
26828 * stdio-common/fxprintf.c: Likewise.
26829 * stdio-common/getw.c: Likewise.
26830 * stdio-common/isoc99_fscanf.c: Likewise.
26831 * stdio-common/isoc99_scanf.c: Likewise.
26832 * stdio-common/isoc99_vfscanf.c: Likewise.
26833 * stdio-common/isoc99_vscanf.c: Likewise.
26834 * stdio-common/isoc99_vsscanf.c: Likewise.
26835 * stdio-common/printf-prs.c: Likewise.
26836 * stdio-common/printf_fp.c: Likewise.
26837 * stdio-common/printf_fphex.c: Likewise.
26838 * stdio-common/printf_size.c: Likewise.
26839 * stdio-common/putw.c: Likewise.
26840 * stdio-common/scanf.c: Likewise.
26841 * stdio-common/sprintf.c: Likewise.
26842 * stdio-common/tmpfile.c: Likewise.
26843 * stdio-common/vfprintf.c: Likewise.
26844 * stdio-common/vfscanf.c: Likewise.
26845 * stdlib/strfmon_l.c: Likewise.
26846 * sunrpc/openchild.c: Likewise.
26847 * sunrpc/xdr_stdio.c: Likewise.
26848 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
26849 * sysdeps/mach/hurd/tmpfile.c: Likewise.
26850
d6c33fda
RM
268512012-05-24 Roland McGrath <roland@hack.frob.com>
26852
c1487492
RM
26853 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
26854
26855 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
26856 in the third column, to generate for the shared library an IFUNC
26857 that uses _dl_vdso_vsym.
26858 * Makerules (COMPILE.c, compile-stdin.c): New variables.
26859 * Makeconfig (object-suffixes-noshared): New variable.
26860
26861 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
26862 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
26863 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
26864 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
26865
d6c33fda
RM
26866 [BZ #14132]
26867 * include/sys/time.h (__gettimeofday): Remove macro.
26868 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
26869 * time/gettimeofday.c (__gettimeofday): Remove #undef.
26870 Remove INTDEF.
26871 (__gettimeofday): Add libc_hidden_def.
26872 (gettimeofday): Add libc_hidden_weak.
26873 * sysdeps/mach/gettimeofday.c: Likewise.
26874 * sysdeps/posix/gettimeofday.c: Likewise.
26875 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
26876 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
26877 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
26878 (__gettimeofday_internal): Remove strong_alias.
26879 (__gettimeofday): Add libc_hidden_def.
26880 (gettimeofday): Add libc_hidden_weak.
26881 * sysdeps/unix/syscalls.list (gettimeofday):
26882 Remove __gettimeofday_internal alias.
26883
b5a2bbe6
L
268842012-05-24 Daniel Jacobowitz <drow@false.org>
26885 H.J. Lu <hongjiu.lu@intel.com>
26886
26887 [BZ #12495]
26888 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
26889 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
26890 (largebin_index_32_big): New.
26891 (largebin_index): Use it for 16-byte alignment.
26892 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
26893 correction with front_misalign.
26894
cfba4fda
L
268952012-05-24 H.J. Lu <hongjiu.lu@intel.com>
26896
7f907421
L
26897 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
26898 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
26899 Likewise.
26900 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
26901 Likewise.
26902 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
26903 Likewise.
26904 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
26905 Likewise.
26906 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
26907 Likewise.
26908 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
26909 Likewise.
26910 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
26911 Likewise.
26912 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
26913 Likewise.
26914 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
26915 Likewise.
26916 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
26917 Likewise.
26918 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
26919 Likewise.
26920 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
26921 Likewise.
26922
cfba4fda
L
26923 * scripts/data/c++-types-x32-linux-gnu.data: New file.
26924 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
26925
80bad0cc
JM
269262012-05-24 Joseph Myers <joseph@codesourcery.com>
26927
7a25eb06
JM
26928 [BZ #10846]
26929 [BZ #14036]
26930 * math/libm-test.inc (exp_test): Add test from bug 14036.
26931 (pow_test): Add test from bug 10846.
26932
795405f9
JM
26933 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
26934 and other flags.
26935 (special_function): Do not include flags in test name.
26936 (parse_args): Likewise.
26937 * sysdeps/i386/fpu/libm-test-ulps: Update.
26938 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26939 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
26940 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
26941 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26942
80bad0cc
JM
26943 * math/gen-libm-test.pl (%beautify): Add entries for underflow
26944 exceptions.
26945 * math/libm-test.inc ("Philosophy"): Update comment about
26946 exception testing.
26947 (UNDERFLOW_EXCEPTION): New macro.
26948 (UNDERFLOW_EXCEPTION_OK): Likewise.
26949 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
26950 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
26951 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
26952 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
26953 (INVALID_EXCEPTION_OK): Update value.
26954 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
26955 (OVERFLOW_EXCEPTION_OK): Likewise.
26956 (IGNORE_ZERO_INF_SIGN): Likewise.
26957 (test_exceptions): Handle underflow exceptions.
26958 (acos_test): Update for underflow exception expectations.
26959 (cexp_test): Likewise.
26960 (clog_test): Likewise.
26961 (clog10_test): Likewise.
26962 (csqrt_test): Likewise.
26963 (ctan_test): Likewise.
26964 (ctanh_test): Likewise.
26965 (exp_test): Likewise.
26966 (exp10_test): Likewise.
26967 (exp2_test): Likewise.
26968 (expm1_test): Likewise.
26969 (fma_test): Likewise.
26970 (j0_test): Likewise.
26971 (jn_test): Likewise.
26972 (nexttoward_test): Likewise.
26973 (pow_test): Likewise.
26974 (scalbn_test): Likewise.
26975 (scalbln_test): Likewise.
26976 (tan_test): Likewise.
26977 (y1_test): Likewise.
26978 * sysdeps/i386/fpu/libm-test-ulps: Update.
26979 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26980
9e0e3d0b
DM
269812012-05-23 David S. Miller <davem@davemloft.net>
26982
26983 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
26984 (__libc_sigaction): Remove unused local variables.
26985
ccd0a08f
L
269862012-05-23 H.J. Lu <hongjiu.lu@intel.com>
26987
26988 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
26989
62bdf9a6
PE
269902012-05-23 Paul Eggert <eggert@cs.ucla.edu>
26991
f8591f80
PE
26992 mktime: avoid signed integer overflow
26993 * time/mktime.c (__mktime_internal): Do not mishandle the case
26994 where diff == INT_MIN.
26995
94c7d826
PE
26996 mktime: simplify computation of average
26997 * time/mktime.c (ranged_convert): Use new time_t_avg function
26998 instead of rolling our own (probably-slower) code.
26999
ce73d683
PE
27000 mktime: do not assume signed right shift propagates sign bit
27001 * time/mktime.c (isdst_differ): New static function.
27002 (__mktime_internal): No need to normalize tm_isdst now.
27003 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
27004 tm_isdst values.
27005
72a22e59
PE
27006 mktime: merge another wrapv change from gnulib
27007 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
27008 from some compilers.
27009
68605433
PE
27010 mktime: remove incorrect attempt at unusual arithmetics
27011 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
27012 The code didn't really work on such machines anyway.
27013 (TYPE_MINIMUM): Assume two's complement.
27014 (twos_complement_arithmetic): Verify that long_int and time_t
27015 are two's complement (or unsigned, in the latter case).
27016
03cf7fe3
PE
27017 mktime: check signed shifts on long_int and time_t, too
27018 * time/mktime.c (SHR): Check that shifts work as desired
27019 on the types long_int and time_t too, as SHR is used on
27020 such types.
27021
f04dfbc2
PE
27022 mktime: do not assume 'long' is wide enough
27023 * time/mktime.c (verify): Move decl up.
27024 (long_int): New type.
27025 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
27026 to remove assumption in the code that 'long' is wide enough to
27027 store year values. This assumption is not true on x32 and on
27028 some non-glibc platforms.
27029
62bdf9a6
PE
27030 mktime: merge wrapv change from gnulib
27031 * time/mktime.c (WRAPV): New macro.
27032 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
27033 (guess_time_tm, __mktime_internal): Do not assume that signed
27034 integer overflow wraps around; modern compilers generate code
27035 where this assumption is no longer valid.
27036
5e292e4f
L
270372012-05-23 H.J. Lu <hongjiu.lu@intel.com>
27038
27039 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
27040 Replace "jmp L(pseudo_end)" with "ret".
27041 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
27042 Likewise.
27043
8caf8c87
AJ
270442012-05-23 Andreas Jaeger <aj@suse.de>
27045
27046 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
27047 * sysdeps/unix/sysv/linux/poll.c: Remove file.
27048
1a09dc56
AJ
270492012-05-23 Andreas Jaeger <aj@suse.de>
27050 Maximilian Attems <max@stro.at>
27051
27052 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
27053 New macros.
27054
1c87aba0
L
270552012-05-23 H.J. Lu <hongjiu.lu@intel.com>
27056
27057 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
27058 code so that pseudo_end is just ret and the stack pointer is
27059 correct also for static library in error case.
27060
40e45bd5
JM
270612012-05-23 Joseph Myers <joseph@codesourcery.com>
27062
c2670533
JM
27063 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
27064 move to syscalls.list.
27065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
27066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
27067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
27068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
27069
40e45bd5
JM
27070 * manual/install.texi (Running make install): Do not mention Linux
27071 kernel version for which pt_chown is not needed.
27072 (Linux): Do not mention problems with nscd with 2.0 kernels.
27073 * INSTALL: Regenerated.
27074
be08eda5
AJ
270752012-05-23 Andreas Jaeger <aj@suse.de>
27076
27077 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
27078 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
27079 macro.
27080 * sysdeps/unix/sysv/linux/s390/bits/mman.h
27081 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27082 * sysdeps/unix/sysv/linux/sh/bits/mman.h
27083 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27084 * sysdeps/unix/sysv/linux/i386/bits/mman.h
27085 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27086 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
27087 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27088 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
27089 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27090 * sysdeps/unix/sysv/linux/bits/in.h
27091 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
27092
a6a056bb
RM
270932012-05-22 Roland McGrath <roland@hack.frob.com>
27094
27095 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
27096 (PREPARE_VERSION): Just use assert instead, it will be elided
27097 under [NDEBUG] anyway.
27098
c9009328
L
270992012-05-22 H.J. Lu <hongjiu.lu@intel.com>
27100
27101 * sysdeps/unix/sysv/linux/Makefile: Include
27102 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 27103 (sysdep_routines): Remove sysctl.
c9009328
L
27104 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
27105 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
27106 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
27107 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
27108 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
27109
73338355
AJ
271102012-05-22 Andreas Jaeger <aj@suse.de>
27111
27112 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
27113 that pseudo_end is just ret and the stack pointer is correct also
27114 for static library in error case.
27115
d44638b0
PP
271162012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
27117
27118 [BZ #14122]
27119 * nss/nsswitch.c (defconfig_entries): New variable.
27120 (__nss_database_lookup): Don't leak defconfig entries.
27121 (nss_parse_service_list): Don't leak on error paths.
27122 (free_database_entries): New function.
27123 (free_defconfig): New function.
27124 (free_mem): Move common code to free_database_entries.
27125
31a39bd8
L
271262012-05-22 H.J. Lu <hongjiu.lu@intel.com>
27127
da0331a8
L
27128 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
27129 Add arch_prctl.
27130 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
27131
31a39bd8
L
27132 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
27133 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
27134 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
27135 New macro.
27136 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
27137 (INTERNAL_SYSCALL_TYPES): Likewise.
27138 (LOAD_ARGS_TYPES_[1-6]): Likewise.
27139 (LOAD_REGS_TYPES_[1-6]): Likewise.
27140 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
27141 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
27142
45470df3
AZ
271432012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27144
27145 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
27146 copysignl for GLIBC_2_0.
27147 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
27148 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
27149 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
27150 logbl for GLIBC_2_0.
27151 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
27152 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
27153
98a61bcb
L
271542012-05-22 H.J. Lu <hongjiu.lu@intel.com>
27155
a4f6e481
L
27156 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
27157 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
27158
f63d5db6
L
27159 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
27160 Use "neg %eax".
27161
98a61bcb
L
27162 * time/mktime.c: Update copyright years.
27163
95770f14
PE
271642012-05-22 Paul Eggert <eggert@cs.ucla.edu>
27165
6226efbd
PE
27166 mktime: merge comment-quoting-style change from gnulib
27167 * time/mktime.c: Quote 'like this' in comments.
27168 The GNU coding standards suggest that we no longer quote `like this',
27169 as "`" and "'" are typically rendered asymmetrically nowadays.
27170 The typical gnulib style is to quote 'like this' when quoting
27171 code, and "like this" when quoting English.
27172
b99e4f78
PE
27173 * time/mktime.c (compile-command): Add "-I.".
27174
643e01e6
PE
27175 mktime: merge mktime-internal.h change from gnulib
27176 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
27177
2554247d
PE
27178 mktime: merge time_r change from gnulib
27179 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
27180
826dd0ab
PE
27181 mktime: merge DEBUG change from gnulib
27182 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
27183 case system <time.h> has a #define.
27184
bd83aabe
PE
27185 mktime: merge <sys/types.h> change from gnulib
27186 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
27187 since <time.t> is now guaranteed to define time_t.
27188
95770f14
PE
27189 mktime: merge HAVE_CONFIG_H change from gnulib
27190 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
27191
5e1a27a9
L
271922012-05-22 H.J. Lu <hongjiu.lu@intel.com>
27193
0e44a77e
L
27194 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
27195 Use "neg %eax".
27196
5e1a27a9
L
27197 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
27198 __rlim_t cast.
27199 (struct rusage): Use anonymous union to pad each field to
27200 __syscall_slong_t.
27201
46259bec
DM
272022012-05-21 David S. Miller <davem@davemloft.net>
27203
27204 * Makefules (o-iterator): Remove .s cases.
27205 (compile-command.s): Delete.
27206 (COMPILE.s): Delete.
27207 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
27208
59f0c22e
JM
272092012-05-21 Joseph Myers <joseph@codesourcery.com>
27210
27211 * configure.in (libc_cv_predef_stack_protector): Only consider
27212 "foobar" and "__stack_chk_fail" lines in libc_undefs.
27213 * configure: Regenerated.
27214
20c07380
L
272152012-05-21 H.J. Lu <hongjiu.lu@intel.com>
27216
bbb3154b
L
27217 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
27218 New macro. Use R*LP on int and pointer.
27219 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
27220 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
27221 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
27222 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
27223
20c07380
L
27224 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
27225 [__WORDSIZE_TIME64_COMPAT32] instead of
27226 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
27227 (struct utmp): Likewise.
27228 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
27229 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
27230 Renamed to ...
27231 (__WORDSIZE_TIME64_COMPAT32): This.
27232 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
27233 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
27234 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
27235 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
27236 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
27237 (__WORDSIZE_TIME64_COMPAT32): New macro.
27238
d8d1017e
AJ
272392012-05-21 Andreas Jaeger <aj@suse.de>
27240
27241 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
27242 only if [SHARED]. Add prototype for __wcschr_ia32.
27243
6c7fb145
RM
272442012-05-21 Roland McGrath <roland@hack.frob.com>
27245
27246 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
27247 of %rbp unmolested in the jmp_buf while mangling the low bits.
27248 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
27249 unmolested high bits of %rbp while demangling the low bits.
27250 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
27251
66274218
AJ
272522012-05-21 Andreas Jaeger <aj@suse.de>
27253
07c58f8f
AJ
27254 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
27255 * sunrpc/svc_simple.c: Use it for registerrpc.
27256 * sunrpc/xcrypt.c: Use it for passwd2des.
27257
66274218
AJ
27258 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
27259
61f65140
L
272602012-05-21 H.J. Lu <hongjiu.lu@intel.com>
27261
27262 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
27263 Don't define if [__SYSCALL_WORDSIZE != 32].
27264 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
27265 New macro.
27266
5fefb436
AJ
272672012-05-21 Bruno Haible <bruno@clisp.org>
27268 Andreas Jaeger <aj@suse.de>
27269
27270 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
27271 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
27272 inptr and inend for must_buffer_ch.
27273 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
27274 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
27275 * stdio-common/Makefile (tests): Remove bug15.
27276 (bug15-ENV): Remove macro.
27277 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
27278 anymore.
27279
d8e272ab
AJ
272802012-05-19 Andreas Jaeger <aj@suse.de>
27281 Roland McGrath <roland@hack.frob.com>
27282
27283 * manual/contrib.texi: Completely rewritten. It contains now an
27284 alphabetical list of contributors and their contributions.
27285
4a56a162
RH
272862012-05-21 Richard Henderson <rth@twiddle.net>
27287
27288 * misc/getauxval.c (__getauxval): Use unsigned long int.
27289 * misc/sys/auxv.h: Include <sys/cdefs.h>.
27290 (getauxval): Use unsigned long int.
27291
d024d23c
L
272922012-05-21 H.J. Lu <hongjiu.lu@intel.com>
27293
27294 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
27295
cbc00a03
RM
272962012-05-21 Roland McGrath <roland@hack.frob.com>
27297
27298 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
27299 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
27300 __alignof__ (long double).
27301
478143fa
AZ
273022012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27303
27304 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27305
c7683a6d
RH
273062012-05-20 Richard Henderson <rth@twiddle.net>
27307
27308 * misc/getauxval.c: New file.
27309 * misc/sys/auxv.h: New file.
27310 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
27311 (routines): Add getauxval.
27312 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
27313 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
27314 * elf/dl-sysdep.c (_dl_auxv): Remove.
27315 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
27316 * elf/dl-support.c (_dl_auxv): New variable.
27317 (_dl_aux_init): Initialize it.
27318 * manual/startup.texi (Auxiliary Vector): New node.
27319 * sysdeps/generic/bits/hwcap.h: New file.
27320 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
27321 * sysdeps/powerpc/sysdep.h: ... here. Include it.
27322 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
27323 * sysdeps/sparc/sysdep.h: ... here. Include it.
27324 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
27325 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
27326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27327 Update.
c7683a6d
RH
27328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
27329 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
27330 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
27331 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
27332 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
27333 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
27334 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
27335 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
27336
a6f1845d
AZ
273372012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27338
27339 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27340
cbcbe830
DM
273412012-05-19 David S. Miller <davem@davemloft.net>
27342
27343 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27344
e0b16cc2
JM
273452012-05-19 Joseph Myers <joseph@codesourcery.com>
27346
27347 [BZ #14123]
27348 * math/s_ccosh.c: Include <float.h>
27349 (__ccosh): Avoid internal overflow calculating sinh and cosh
27350 values before multiplying by sin and cos values.
27351 * math/s_ccoshf.c: Likewise.
27352 * math/s_ccoshl.c: Likewise.
27353 * math/s_csin.c: Likewise.
27354 * math/s_csinf.c: Likewise.
27355 * math/s_csinl.c: Likewise.
27356 * math/s_csinh.c: Likewise.
27357 * math/s_csinhf.c: Likewise.
27358 * math/s_csinhl.c: Likewise.
27359 * math/libm-test.inc (ccos_test): Add more tests.
27360 (ccosh_test): Likewise.
27361 (csin_test): Likewise.
27362 (csinh_test): Likewise.
27363 * sysdeps/i386/fpu/libm-test-ulps: Update.
27364 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27365
6ad13e08
L
273662012-05-19 H.J. Lu <hongjiu.lu@intel.com>
27367
f66f0ce8
L
27368 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
27369 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
27370
6ad13e08
L
27371 * sysdeps/x86_64/x32/_itoa.h: Add comment.
27372
b1d072a7
JM
273732012-05-19 Joseph Myers <joseph@codesourcery.com>
27374
27375 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
27376 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
27377 * sysdeps/powerpc/soft-fp/Versions: Likewise.
27378 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
27379 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
27380 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
27381 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
27382 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
27383 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
27384 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
27385 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
27386 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
27387 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
27388 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
27389 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
27390 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
27391 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
27392 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
27393 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
27394 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
27395 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
27396 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
27397 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
27398 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
27399 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
27400 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
27401 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
27402 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
27403 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
27404 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
27405 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
27406
9eae47cb
AJ
274072012-05-18 Andreas Jaeger <aj@suse.de>
27408
27409 * csu/.gitignore: Delete.
27410
bb07f69f
L
274112012-05-18 H.J. Lu <hongjiu.lu@intel.com>
27412
27413 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
27414 (timex): Use __syscall_slong_t.
27415
e6bdb741
AJ
274162012-05-18 Andreas Jaeger <aj@suse.de>
27417 Carlos O'Donell <carlos_odonell@mentor.com>
27418
27419 * manual/install.texi (Configuring and compiling): Update
27420 description about files modified in the source directory.
d6c33fda 27421 * INSTALL: Regenerated.
e6bdb741 27422
1b74487e
L
274232012-05-18 H.J. Lu <hongjiu.lu@intel.com>
27424
27425 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
27426 value. Use "or" to set return value to -1.
27427 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
27428 negate return value.
27429
a88b64b9
TMQMF
274302012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27431
27432 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
27433 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
27434 failure if the compiler has Graphite support disabled.
27435 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
27436 Likewise.
27437 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
27438 CFLAGS-memmove.c): Likewise.
27439 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
27440 Likewise.
27441
3707636e
L
274422012-05-18 H.J. Lu <hongjiu.lu@intel.com>
27443
610b8622
L
27444 * sysdeps/x86_64/x32/_itoa.h: New file.
27445
7cd195df
L
27446 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
27447 getdents system call only if kernel and user dirents have the
27448 same d_ino and d_off.
27449
94b07d20
L
27450 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
27451 LLONG_MAX != LONG_MAX.
27452 (_itoa_word): Use _ITOA_WORD_TYPE on value.
27453 (_fitoa_word): Likewise.
27454
18298070
L
27455 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
27456 years.
27457 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
27458 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
27459 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
27460
553c7ea4
L
27461 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
27462 include <bits/wordsize.h>. Check __x86_64__ instead of
27463 __WORDSIZE.
27464 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
27465 if __x86_64__ is defined. Use anonymous union on fpstate.
27466
3707636e
L
27467 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
27468 anonymous union.
27469
b53ef01a
AS
274702012-05-18 Andreas Schwab <schwab@linux-m68k.org>
27471
37fb1dc0
AS
27472 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
27473 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
27474 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
27475 Refer to _rtld_local_ro instead of _rtld_global_ro.
27476 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
27477 Likewise.
27478 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
27479 Likewise.
27480 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
27481 Likewise.
27482 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
27483 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
27484 of _rtld_global, and rtld_progname instead of _dl_argv[0].
27485
b53ef01a
AS
27486 * sysdeps/powerpc/powerpc32/dl-machine.c
27487 (__elf_machine_runtime_setup) [PROF]: Don't reference
27488 _dl_prof_resolve.
27489
7a185db2
AJ
274902012-05-18 Andreas Jaeger <aj@suse.de>
27491
27492 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
27493 function only available for GCCs before 3.4 since GCC 3.4
27494 introduced a builtin.
27495 (lrint): Likewise.
27496 (llrintf): Likewise.
27497 (llrint): Likewise.
27498 (fmaxf): Likewise.
27499 (fmax): Likewise.
27500 (fminf): Likewise.
27501 (fmin): Likewise.
27502 (rint): Likewise.
27503 (rintf): Likewise.
27504 (nearbyint): Likewise.
27505 (nearbyintf): Likewise.
27506 (ceil): Likewise.
27507 (ceilf): Likewise.
27508 (floor): Likewise.
27509 (floorf): Likewise.
27510
3e5aef87
L
275112012-05-17 H.J. Lu <hongjiu.lu@intel.com>
27512
428bd707
L
27513 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
27514 on both fields and cast pointer to __syscall_ulong_t.
27515
3e5aef87
L
27516 * bits/types.h (__fsword_t): New type.
27517 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
27518 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
27519 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27520 (__FSWORD_T_TYPE): Likewise.
27521 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
27522 (__FSWORD_T_TYPE): Likewise.
27523 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27524 (__FSWORD_T_TYPE): Likewise.
27525 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
27526 (__FSWORD_T_TYPE): Likewise.
27527 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
27528 __SWORD_TYPE with __fsword_t.
27529 (statfs64): Likewise.
27530
1ba7c3dc
DM
275312012-05-17 David S. Miller <davem@davemloft.net>
27532
27533 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
27534
59910343
AJ
275352012-05-17 Andreas Jaeger <aj@suse.de>
27536
27537 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
27538 warning.
27539
2e4c1e9e
L
275402012-05-17 H.J. Lu <hongjiu.lu@intel.com>
27541
27542 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
27543
de7f5ce7
AJ
275442012-05-17 Andreas Jaeger <aj@suse.de>
27545
27546 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
27547 when it is used.
27548
286abc3d
CM
275492012-05-17 Chris Metcalf <cmetcalf@tilera.com>
27550
27551 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
27552
477cc68e
L
275532012-05-17 H.J. Lu <hongjiu.lu@intel.com>
27554
27555 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
27556 * sysdeps/x86_64/tst-mallocalign1.c: New file.
27557
1a0994f5
CD
275582012-05-17 Andreas Jaeger <aj@suse.de>
27559 Carlos O'Donell <carlos_odonell@mentor.com>
27560
27561 [BZ #14059]
27562 * sysdeps/x86_64/multiarch/init-arch.h
27563 (bit_YMM_Usable): Rename to...
27564 (bit_AVX_Usable): ... this.
27565 (bit_FMA4_Usable): New macro.
27566 (bit_XMM_state): New macro.
27567 (bit_YMM_state): New macro.
27568 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
27569 [__ASSEMBLER__] (index_AVX_Usable): ... this.
27570 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
27571 (CPUID_OSXSAVE): New macro.
27572 (CPUID_AVX): New macro.
27573 (CPUID_FMA4): New macro.
27574 (index_YMM_Usable): Rename to...
27575 (index_AVX_Usable): ... this.
27576 (HAS_AVX): Use HAS_ARCH_FEATURE.
27577 (HAS_FMA4): Likewise.
27578 (HAS_YMM_USABLE): Remove.
27579 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27580 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
27581 are present.
27582 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
27583 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
27584 * sysdeps/x86_64/multiarch/Makefile: Likewise.
27585 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
27586 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
27587
0af797de
CM
275882012-05-17 Chris Metcalf <cmetcalf@tilera.com>
27589
27590 * math/libm-test.c: Support platforms without multiple rounding modes.
27591 * math/bug-nextafter.c: Support platforms without FP exceptions.
27592 * math/bug-nexttoward.c: Likewise.
27593 * math/test-fenv.c: Likewise.
27594 * math/test-misc.c: Likewise.
27595 * stdlib/bug-getcontext.c: Likewise.
27596
e39745ff
AJ
275972012-05-17 Andreas Jaeger <aj@suse.de>
27598
27599 * manual/examples/search.c (critter_cmp): Change signature to
27600 avoid warnings.
27601 * manual/string.texi (Collation Functions): Likewise.
27602
48970aba
L
276032012-05-16 H.J. Lu <hongjiu.lu@intel.com>
27604
27605 * bits/types.h: Fold copyright years.
27606 * bits/typesizes.h: Likewise.
27607 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
27608 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
27609 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
27610 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
27611 * time/time.h: Likewise.
27612
bedee953
PP
276132012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
27614
27615 [BZ #208]
27616 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
27617 in instead of returning them. Return void.
27618 (__libc_mallinfo): Accumulate over all arenas.
27619 (__malloc_stats): Adjust for change in int_mallinfo interface.
27620
61653dfb
RM
276212012-05-16 Roland McGrath <roland@hack.frob.com>
27622
30b99d79
RM
27623 [BZ #10375]
27624 * configure.in (NM): Add AC_CHECK_TOOL for it.
27625 (libc_extra_cflags): New substituted variable.
27626 Check for -fstack-protector being used implicitly.
27627 * configure: Regenerated.
27628 * config.make.in (config-extra-cflags): New variable,
27629 gets @libc_extra_cflags@.
27630 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
27631
61653dfb
RM
27632 [BZ #10375]
27633 * configure.in: Check for _FORTIFY_SOURCE being predefined.
27634 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
27635 * configure: Regenerated.
27636 * config.make.in (CPPUNDEFS): New substituted variable.
27637 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
27638 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
27639 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
27640
661768bb
L
276412012-05-16 H.J. Lu <hongjiu.lu@intel.com>
27642
27643 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
27644 (mq_attr): Use __syscall_slong_t.
27645
d4261567
L
276462012-05-16 H.J. Lu <hongjiu.lu@intel.com>
27647
27648 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
27649 Check __x86_64__ instead of __WORDSIZE.
27650 (_STAT_VER_LINUX): Likewise.
27651 (stat): Check __x86_64__ instead of __WORDSIZE. Use
27652 __syscall_ulong_t and __syscall_slong_t.
27653 (stat64): Likewise.
27654
cf3ff365
L
276552012-05-16 H.J. Lu <hongjiu.lu@intel.com>
27656
27657 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
27658
76cf3e4d
L
276592012-05-16 H.J. Lu <hongjiu.lu@intel.com>
27660
27661 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
27662
a637753a
L
276632012-05-16 H.J. Lu <hongjiu.lu@intel.com>
27664
27665 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
27666 __syscall_ulong_t.
27667
d5e05119
L
27668 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
27669 include <bits/wordsize.h>. Check __x86_64__ instead of
27670 __WORDSIZE.
27671 (greg_t): Use "__extension__ long long int" if __x86_64__ is
27672 defined.
27673 (mcontext_t): Replace "unsigned long" with "unsigned long long".
27674
f62ee380
L
27675 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
27676 include <bits/wordsize.h>. Check __x86_64__ instead of
27677 __WORDSIZE.
27678 (user_regs_struct): Use "__extension__ unsigned long long"
27679 instead of "unsigned long" if __x86_64__ is defined.
27680 (user): Likewise. Pad after pointer field if __ILP32__ is
27681 defined.
27682
4e124ced
JM
276832012-05-16 Joseph Myers <joseph@codesourcery.com>
27684
6a3951a0
JM
27685 * configure.in (makeinfo): Require version 4.5 or later. Allow
27686 versions 5 to 9.
27687 * configure: Regenerated.
27688 * manual/install.texi (texinfo): Increase version requirement to
27689 4.5 or later.
27690 * INSTALL: Regenerated.
27691
4e124ced
JM
27692 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
27693
953ca31a
L
276942012-05-16 H.J. Lu <hongjiu.lu@intel.com>
27695
27696 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
27697
617aca05
L
27698 * sysdeps/x86_64/x32/ffs.c: New file.
27699
5762f7ae
L
27700 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
27701 __syscall_ulong_t.
27702 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
27703 defined. Use __syscall_ulong_t.
27704 (shminfo): Use __syscall_ulong_t.
27705 (shm_info): Likewise.
27706
a26b6856
L
27707 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
27708 __syscall_ulong_t.
27709
cb2b9ef7
L
27710 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
27711 <bits/wordsize.h>.
27712 (msgqnum_t): Use __syscall_ulong_t.
27713 (msglen_t): Likewise.
27714 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
27715 __syscall_ulong_t.
27716
34683bb0
L
27717 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
27718 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
27719
84a68786
L
27720 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
27721
48baa5f1
L
27722 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
27723 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
27724
180be88b
L
27725 * sysvipc/sys/msg.h (msgbuf): Replace long int with
27726 __syscall_slong_t.
27727
5e90c8ad
L
27728 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
27729 include <bits/wordsize.h>. Check __x86_64__ instead of
27730 __WORDSIZE.
27731
23dfb58b
L
27732 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
27733 "unsigned long long int" if __x86_64__ is defined.
27734 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
27735
ce5d54b0
L
27736 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
27737 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
27738 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
27739
13dc9eac
L
27740 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
27741 <stdint.h>.
27742 (GET_PC): Cast to uintptr_t first.
27743 (GET_FRAME): Likewise.
27744 (GET_STACK): Likewise.
27745
a7895d15
L
27746 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
27747 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
27748 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
27749 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
27750 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
27751 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
27752 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
27753 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
27754 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
27755 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
27756 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
27757 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
27758 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
27759 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
27760 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
27761 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
27762 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
27763 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
27764 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
27765 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
27766 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
27767 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
27768 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
27769 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
27770 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
27771 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
27772 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
27773 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
27774 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
27775
656416c9
AS
277762012-05-16 Andreas Schwab <schwab@linux-m68k.org>
27777
5bd66283
AS
27778 * Makerules (+depfiles): Also collect depfiles from .oS in
27779 $(extra-objs).
27780 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
27781 .oS, $(libnldbl-routines)).
27782
656416c9
AS
27783 * Makerules (native-compile-mkdep-flags): Define.
27784 * sunrpc/Makefile (extra-objs): Add $(addprefix
27785 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
27786 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
27787 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
27788 calling $(make-target-directory).
27789
a46f2169
L
277902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27791
27792 * bits/types.h (__snseconds_t): Removed.
27793 * time/time.h (struct timespec): Replace __snseconds_t with
27794 __syscall_slong_t.
27795 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
27796 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
27797 Likewise.
27798 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27799 (__SNSECONDS_T_TYPE): Likewise.
27800 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
27801 (__SNSECONDS_T_TYPE): Likewise.
27802 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27803 (__SNSECONDS_T_TYPE): Likewise.
27804
6af6528b
L
278052012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27806
27807 * sysdeps/mach/hurd/bits/typesizes.h
27808 (__SYSCALL_SLONG_TYPE): New macro.
27809 (__SYSCALL_ULONG_TYPE): Likewise.
27810
de986b56
L
278112012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27812
27813 * bits/types.h (__syscall_slong_t): New type.
27814 (__syscall_ulong_t): Likewise.
27815
27816 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
27817 (__SYSCALL_ULONG_TYPE): Likewise.
27818 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27819 (__SYSCALL_SLONG_TYPE): Likewise.
27820 (__SYSCALL_ULONG_TYPE): Likewise.
27821 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
27822 (__SYSCALL_SLONG_TYPE): Likewise.
27823 (__SYSCALL_ULONG_TYPE): Likewise.
27824 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27825 (__SYSCALL_SLONG_TYPE): Likewise.
27826 (__SYSCALL_ULONG_TYPE): Likewise.
27827
85736dc7
L
278282012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27829
27830 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
27831 Add sigaltstack-offsets.sym.
27832 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
27833 <sigaltstack-offsets.h>.
27834 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
27835 longjmp_msg pointer.
27836 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
27837 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
27838 signal stack.
27839 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
27840
cc03b296
JM
278412012-05-15 Joseph Myers <joseph@codesourcery.com>
27842
a9538892
JM
27843 * elf/stackguard-macros.h: Remove file.
27844 * sysdeps/generic/stackguard-macros.h: New file.
27845 * sysdeps/i386/stackguard-macros.h: Likewise.
27846 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
27847 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
27848 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
27849 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
27850 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
27851 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
27852 * sysdeps/x86_64/stackguard-macros.h: Likewise.
27853 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
27854 <elf/stackguard-macros.h>.
27855
cc03b296
JM
27856 [BZ #14109]
27857 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
27858 __aligned__ in attribute.
27859 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
27860 (gregset_t): Likewise.
27861
93171016
L
278622012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27863
27864 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
27865 * sysdeps/x86_64/64/Implies-after: Here. New file.
27866 * sysdeps/x86_64/x32/Implies-after: New file.
27867
d86813a0
L
278682012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27869
27870 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
27871 and access return value for _dl_profile_fixup. Use R10_LP to
27872 load frame size.
27873
2953ec75
L
278742012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27875
27876 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
27877
3b550e9e
L
278782012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27879
27880 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
27881 * sysdeps/x86_64/x32/sysdep.h: New file.
27882
eda41706
L
278832012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27884
27885 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
27886 * sysdeps/x86_64/setjmp.S: Likewise.
27887
9ea01d93
AZ
278882012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27889
27890 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
27891 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
27892 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
27893 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
27894 remove unused global constant.
27895
02a91938
CM
278962012-05-15 Chris Metcalf <cmetcalf@tilera.com>
27897
27898 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
27899 include of <not-cancel.h>.
27900
6540185f
RM
279012012-05-15 Roland McGrath <roland@hack.frob.com>
27902
27903 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
27904
509072a0
AJ
279052012-05-15 Jeff Law <law@redhat.com>
27906 Andreas Jaeger <aj@suse.de>
27907
27908 [BZ #13594]
27909 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
27910 out from...
27911 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
27912 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
27913 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
27914 code changing __hst_map_handle.map.
27915
ba75122d
RM
279162012-05-15 Roland McGrath <roland@hack.frob.com>
27917
27918 * configure.in (sysnames): Look for Implies-before and Implies-after
27919 files.
27920 * configure: Regenerated.
27921
890d8bd8
L
279222012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27923
27924 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
27925 8-byte data alignment with LP_SIZE alignment.
27926
f6ee6623
L
279272012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27928
27929 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
27930 into R10_LP.
27931
ea2626f6
L
279322012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27933
27934 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
27935
085f715e
L
279362012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27937
27938 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
27939 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
27940 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
27941 Likewise.
27942 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
27943
be8498fc
L
279442012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27945
27946 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
27947 (stackinfo_sub_sp): Likewise.
27948
70bc83b9
L
279492012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27950
27951 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
27952 RAX_LP.
27953
9bc0b730
L
279542012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27955
27956 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
27957 into R*_LP.
27958
6d2850e7
L
279592012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27960
27961 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
27962 sizes into R*_LP.
27963
3cb84561
L
279642012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27965
27966 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
27967
54e2ed81
L
279682012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27969
27970 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
27971 into R11_LP and load __x86_64_shared_cache_size_half into
27972 R8_LP.
27973
8a17f349
L
279742012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27975
27976 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
27977 R8_LP.
27978
777b1eea
AZ
279792012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27980
27981 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
27982 logb for POWER7.
27983 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
27984 logbf for POWER7.
27985 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
27986 logbl for POWER7.
27987 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
27988 powerpc32/power7/fpu/s_logb.c via #include.
27989 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
27990 powerpc32/power7/fpu/s_logbf.c via #include.
27991 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
27992 powerpc32/power7/fpu/s_logbl.c via #include.
27993
d20d4ac2
JM
279942012-05-15 Joseph Myers <joseph@codesourcery.com>
27995
27996 * README.libm: Remove file.
27997
6cdef1ab
L
279982012-05-14 H.J. Lu <hongjiu.lu@intel.com>
27999
28000 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
28001 count for x32. Use R*_LP and omit operand-size suffix.
28002
0b254d8f
L
280032012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28004
28005 * shlib-versions: Move x86_64-.*-linux.* entries to ...
28006 * sysdeps/x86_64/64/shlib-versions: Here. New file.
28007 * sysdeps/x86_64/x32/shlib-versions: New file.
28008
ceb809dc
RM
280092012-05-14 Roland McGrath <roland@hack.frob.com>
28010
28011 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
28012 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
28013 Use _dl_fatal_printf instead.
28014
37f1abd4
JM
280152012-05-14 Joseph Myers <joseph@codesourcery.com>
28016
28017 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
28018 set if not set by the user. Do not allow for being unset.
28019 * sysdeps/unix/sysv/linux/configure: Regenerated.
28020
11de3a33
L
280212012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28022
28023 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
28024 the `q' suffix from lea and replace .quad with ASM_ADDR.
28025
e02f153a
L
280262012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28027
28028 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
28029 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
28030 instead of $17.
28031 (PTR_DEMANGLE): Likewise.
28032
520ae0fd
L
280332012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28034
28035 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
28036 (LP_OP): Likewise.
28037 (ASM_ADDR): Likewise.
28038 (RAX_LP): Likewise.
28039 (RBP_LP): Likewise.
28040 (RBX_LP): Likewise.
28041 (RCX_LP): Likewise.
28042 (RDI_LP): Likewise.
28043 (RSI_LP): Likewise.
28044 (RSP_LP): Likewise.
28045 (R8_LP): Likewise.
28046 (R9_LP): Likewise.
28047 (R10_LP): Likewise.
28048 (R10_LP): Likewise.
28049 (R11_LP): Likewise.
28050 (R12_LP): Likewise.
28051 (R13_LP): Likewise.
28052 (R14_LP): Likewise.
28053 (R15_LP): Likewise.
28054
b985be81
L
280552012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28056
28057 * sysdeps/x86_64/x32/dl-machine.h: New file.
28058
6a4888ff
AJ
280592012-05-14 Andreas Jaeger <aj@suse.de>
28060
28061 * manual/Makefile (subdir): Remove export of subdir.
28062 (all): Remove target.
28063 (.PHONY): Remove all from list.
28064 (mkinstalldirs): Remove.
28065 (.PHONY): Remove installdirs from list.
28066 ($(inst_infodir)/libc.info): Use make-target-directory.
28067 (installdirs): Remove.
28068 (subdir_%): Remove.
28069 (glibc-targets): Remove.
28070 (lib): Remove.
28071 (stubs): Remove.
28072 ($(objpfx)stubs ../po/manual.pot): Remove.
28073 ($(objpfx)stamp%): Remove.
28074 (make-target-directory): Remove.
28075 (subdir_install): Remove.
28076 (routines): Remove.
28077 (aux): Remove.
28078 (sources): Remove.
28079 (objects): Remove.
28080 (headers): Remove.
28081
28082 [BZ #13750]
28083 * manual/.gitignore: Remove, it's not needed anymore.
28084 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
28085 all files in it.
28086 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
28087 directory.
28088 (texis): Renamed to $(objpfx)texis.
28089 (texis-path): New, contains path to generated files.
28090 (chapters.%): Use texis-path for complete path, add extra argument
28091 libc-texinfo.sh.
28092 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
28093 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
28094 (summary,texi, stamp-summary): Use complete path of
28095 files. Generate files in build dir.
28096 (dir-add.texi): Build in build dir.
28097 (libm-err.texi,stamp-libm-err): Likewise.
28098 (version.texi, stamp-version): Likewise.
28099 (.%c.texi): Likewise.
28100 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
28101 (mostlyclean): Remove target.
28102 (realclean): Remove target.
28103 (generated): Add new variable with contents from mostlyclean and
28104 realclean, remove entries duplicated in common-mostlyclean, add
28105 stamp-libm-err and stamp-version.
28106 (generated-dirs): Add libc directory.
28107 ($(inst_infodir)/libc.info): Install files from build dir.
28108
28109 * manual/install.texi (Configuring and compiling): Adjust since
28110 the info files are not part of the tar ball anymore.
28111
7ac77294
AJ
281122012-05-14 Andreas Jaeger <aj@suse.de>
28113
28114 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
28115 variable.
28116
ffb7875d
JM
281172012-05-14 Joseph Myers <joseph@codesourcery.com>
28118
28119 [BZ #13717]
28120 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
28121 to 2.2.0 where earlier.
28122 * sysdeps/unix/sysv/linux/configure: Regenerated.
28123 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
28124 Remove conditional code.
28125 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
28126 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
28127 Remove conditional code.
28128 [!__NR_lchown]: Likewise.
28129 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
28130 [__NR_lchown]: Likewise.
28131 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
28132 comment referencing __ASSUME_LCHOWN_SYSCALL.
28133 * sysdeps/unix/sysv/linux/i386/sigaction.c
28134 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28135 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28136 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
28137 Remove conditional code.
28138 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
28139 (__protocol_available): Remove #if 0 code.
28140 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
28141 conditional code.
28142 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
28143 * sysdeps/unix/sysv/linux/kernel-features.h
28144 (__ASSUME_GETCWD_SYSCALL): Don't define.
28145 (__ASSUME_REALTIME_SIGNALS): Likewise.
28146 (__ASSUME_PREAD_SYSCALL): Likewise.
28147 (__ASSUME_PWRITE_SYSCALL): Likewise.
28148 (__ASSUME_POLL_SYSCALL): Likewise.
28149 (__ASSUME_LCHOWN_SYSCALL): Likewise.
28150 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
28151 non-SPARC.
28152 (__ASSUME_SIOCGIFNAME): Don't define.
28153 (__ASSUME_MSG_NOSIGNAL): Likewise.
28154 (__ASSUME_SENDFILE): Define unconditionally.
28155 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
28156 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
28157 conditional code.
28158 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
28159 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
28160 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
28161 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
28162 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
28163 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
28164 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
28165 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
28166 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
28167 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
28169 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
28170 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
28172 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28173 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
28175 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28176 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
28178 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
28179 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
28181 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
28182 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
28184 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28185 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
28187 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28188 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28189 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
28190 Remove conditional code.
28191 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28192 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
28193 Remove conditional code.
28194 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28195 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
28196 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
28197 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
28198 Remove conditional code.
28199 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28200 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
28201 Remove conditional code.
28202 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28203 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
28204 Remove conditional code.
28205 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28206 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
28207 Remove conditional code.
28208 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28209 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
28210 Remove conditional code.
28211 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28212 * sysdeps/unix/sysv/linux/sh/pwrite64.c
28213 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28214 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28215 * sysdeps/unix/sysv/linux/sigaction.c
28216 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28217 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28218 * sysdeps/unix/sysv/linux/sigpending.c
28219 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28220 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28221 * sysdeps/unix/sysv/linux/sigprocmask.c
28222 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28223 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28224 * sysdeps/unix/sysv/linux/sigsuspend.c
28225 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28226 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28227 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
28228 (__libc_missing_rt_sigs): Remove.
28229 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
28230 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
28231 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
28232 Remove conditional code.
28233 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
28234 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
28235 return 1.
28236 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
28237 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
28238 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
28239 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
28240
1bfb7291
AJ
282412012-05-14 Andreas Jaeger <aj@suse.de>
28242
caae5a81
AJ
28243 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
28244 it's not used in glibc.
28245 (__coshm1): Likewise.
28246 (__acosh1p): Likewise.
28247 (__sgn): Likewise.
28248
1bfb7291
AJ
28249 * manual/string.texi (Copying and Concatenation): Add missing
28250 variable in concat example.
28251 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
28252
c044d724
L
282532012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28254
144c5467 28255 [BZ #14103]
c044d724
L
28256 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
28257 __builtin_clzl with __builtin_clzll.
28258
2523c62b
L
282592012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28260
28261 [BZ #14104]
28262 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
28263 libc_freeres_ptr.
28264
d7bb4c42
LD
282652012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28266
28267 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
28268 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
28269 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
28270 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
28271
9dc4e1fb
MF
282722012-05-14 Mike Frysinger <vapier@gentoo.org>
28273
28274 * NEWS: Update ia64 info.
28275
c7df0112
AS
282762012-05-12 Andreas Schwab <schwab@linux-m68k.org>
28277
28278 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
28279 used as bcopy.
28280
dc70356c
TS
282812012-05-12 Thomas Schwinge <thomas@codesourcery.com>
28282
28283 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
28284 * sysdeps/unix/syscalls.list (dup3): Likewise.
28285 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
28286 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
28287
9fb1a21f
L
282882012-05-11 H.J. Lu <hongjiu.lu@intel.com>
28289
28290 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
28291 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
28292
4822a2a5
L
282932012-05-11 H.J. Lu <hongjiu.lu@intel.com>
28294
28295 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
28296 thread pointer.
28297 (TLS_IE): Use mov/add instead of movq/addq to load thread
28298 pointer.
28299 (TLS_GD_PREFIX): New.
28300 (TLS_GD): Use it.
28301
842b81d6
DM
283022012-05-11 David S. Miller <davem@davemloft.net>
28303
28304 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
28305 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
28306 (_FPU_SETCW): Likewise.
28307
1cf463cd
L
283082012-05-10 H.J. Lu <hongjiu.lu@intel.com>
28309
28310 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
28311 is 32-byte aligned.
28312
60cc4a18
AS
283132012-05-11 Andreas Schwab <schwab@linux-m68k.org>
28314
28315 [BZ #11837]
28316 * iconvdata/gb18030.c: Update tables.
28317 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
28318 characters specially.
28319 (BODY for TO_LOOP): Add encoding of missing ranges.
28320
febb44a4
TS
283212012-05-11 Thomas Schwinge <thomas@codesourcery.com>
28322
28323 [BZ #13673]
28324 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
28325 * sysdeps/mach/hurd/dup3.c: Likewise.
28326 * sysdeps/mach/hurd/readlinkat.c: Likewise.
28327 * sysdeps/powerpc/memmove.c:: Likewise.
28328
0a10fb9e
L
283292012-05-10 H.J. Lu <hongjiu.lu@intel.com>
28330
28331 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
28332 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
28333
df8a552f
L
283342012-05-10 H.J. Lu <hongjiu.lu@intel.com>
28335
28336 * elf/elf.h (R_X86_64_RELATIVE64): New.
28337 (R_X86_64_NUM): Updated.
28338 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
28339 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
28340 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
28341 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
28342 tst-quad1pie tst-quad2pie
28343 (modules-names): Add tst-quadmod1 tst-quadmod2.
28344 ($(objpfx)tst-quad1): New dependency.
28345 ($(objpfx)tst-quad2): Likewise.
28346 ($(objpfx)tst-quad1pie): Likewise.
28347 ($(objpfx)tst-quad2pie): Likewise.
28348 * sysdeps/x86_64/tst-quad1.c: New file.
28349 * sysdeps/x86_64/tst-quad1pie.c: New file.
28350 * sysdeps/x86_64/tst-quad2.c: Likewise.
28351 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
28352 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
28353 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
28354 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
28355 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
28356
f34d6f84
ST
283572012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28358
f42d41d1
ST
28359 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
28360 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
28361 * streams/stropts.h (t_scalar_t): Define type.
28362
3c3571fc
ST
28363 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
28364 (_PATH_PRESERVE): Set to "/var/lib".
28365 (_PATH_RWHODIR): Set to "/var/spool/rwho".
28366
61f06bd3
ST
28367 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
28368 instead of int.
28369
918d4d71
ST
28370 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
28371 if __dir_mkfile succeeded.
28372
f34d6f84
ST
28373 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
28374 checking for _hurd_dtablesize. Unlock it right after having
28375 finished _hurd_dtable allocation.
28376
10589b4a
TS
283772012-05-10 Thomas Schwinge <thomas@schwinge.name>
28378
674cdbc7
TS
28379 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
28380 * sysdeps/mach/hurd/configure: Regenerated.
28381 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
28382 special-casing to...
28383 * sysdeps/gnu/configure.in: ... this new file.
28384 * sysdeps/unix/sysv/linux/configure: Regenerated.
28385 * sysdeps/gnu/configure: New generated file.
28386
8e41b99f
TS
28387 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
28388 for Linux: use nsec instead of usec, as well as:
28389 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
28390 members of type struct timespec.
28391 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
28392 New macros.
28393 (struct stat64): Likewise.
28394 (_STATBUF_ST_NSEC): New macro.
28395 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
28396
10589b4a
TS
28397 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
28398 __strtoul_internal rather than strtoul.
28399
63643c85
PT
284002012-05-10 Pino Toscano <toscano.pino@tiscali.it>
28401
28402 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
28403 and reject them.
28404
3faebe6a
ST
284052012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28406
28407 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
28408 which preserves existing values.
28409 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
28410
c6474b07
PT
284112012-05-10 Pino Toscano <toscano.pino@tiscali.it>
28412
28413 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
28414 TIMEOUT values. Return EINVAL for NFDS values either negative or
28415 greater than FD_SETSIZE.
28416
1043890b
ST
284172012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28418
28419 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
28420 allocated, call __vm_protect to finish enabling the existing space, and
28421 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
28422 allocate the remainder.
28423
37ed8b9b
PT
284242012-05-10 Pino Toscano <toscano.pino@tiscali.it>
28425
28426 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
28427 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
28428
db653660
ST
284292012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28430
37ed8b9b
PT
28431 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
28432 sysdeps/mach/hurd/readlink.c.
b29d4053 28433
db653660
ST
28434 * posix/tst-sysconf.c (posix_options): Only use
28435 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
28436 _POSIX_SYNCHRONIZED_IO when they are defined
28437 * sysdeps/mach/hurd/bits/posix_opt.h:
28438 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
28439 (_XOPEN_REALTIME): Undefine macro.
28440 (_XOPEN_REALTIME_THREADS): Undefine macro.
28441 (_XOPEN_SHM): Undefine macro.
28442 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
28443 macro to -1.
28444 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
28445 macro to -1.
28446 (_POSIX_ASYNC_IO): Undefine macro.
28447 (_POSIX_PRIORITIZED_IO): Undefine macro.
28448 (_POSIX_SPIN_LOCKS): Define macro to -1.
28449
ee16e894
ST
28450 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
28451 SA_NODEFER, SA_RESETHAND.
28452 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
28453 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
28454 F_DUPFD_CLOEXEC.
28455
6103ae3b
TS
284562012-05-10 Thomas Schwinge <thomas@schwinge.name>
28457
28458 * elf/Makefile (pldd-modules): Define unconditionally.
28459
80b4e5f3
TS
284602012-05-10 Thomas Schwinge <thomas@schwinge.name>
28461
28462 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
28463
edadcbd6
ST
284642012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28465
28466 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
28467 Return ENOENT when name is empty.
28468 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
28469
80694780
TS
284702012-05-10 Thomas Schwinge <thomas@schwinge.name>
28471
1792c087
TS
28472 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
28473
80694780
TS
28474 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
28475
6b645f0d
ST
284762012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28477
80694780
TS
28478 Fix mlock in all cases except non-readable pages.
28479 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
28480 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 28481
6b645f0d
ST
28482 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
28483 (__mkdir): When path is `/', just fail with EEXIST.
28484 * sysdeps/mach/hurd/mkdirat.c: Likewise.
28485
e468f8a3
TS
284862012-05-10 Thomas Schwinge <thomas@schwinge.name>
28487
28488 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
28489 <sys/uio.h> (for writev).
28490 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
28491 and <sys/param.h> (for MIN).
28492
a4186cff
PT
284932012-05-10 Pino Toscano <toscano.pino@tiscali.it>
28494
28495 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
28496 REQUESTED_TIME. Properly set the remaining time and return EINTR
28497 if interrupted.
28498
510bbf14
TS
284992012-05-10 Thomas Schwinge <thomas@schwinge.name>
28500
28501 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
28502 Depend on against $(link-rpcuserlibs).
28503
5d5722e8
ST
285042012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28505
a4186cff
PT
28506 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
28507 (__libc_stack_end): Do not use attribute_relro.
28508 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
28509 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 28510 to libthread-provided value.
a4186cff
PT
28511 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
28512 attribute_relro.
5d5722e8 28513
37233df9
TS
285142012-05-10 Thomas Schwinge <thomas@schwinge.name>
28515
be971a2b
TS
28516 [BZ #3748]
28517 * bits/libc-lock.h (__libc_once_get): New macro.
28518 * sysdeps/mach/bits/libc-lock.h: Likewise.
28519 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
28520 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
28521 instead of using implementation details.
28522
37233df9
TS
28523 * libio/fileops.c: Unconditionally include <kernel-features.h>.
28524 * libio/freopen.c: Likewise.
28525 * libio/freopen64.c: Likewise.
28526 * misc/syslog.c: Likewise.
28527 * nscd/connections.c: Likewise.
28528 * nscd/netgroupcache.c: Likewise.
28529 * sysdeps/posix/getcwd.c: Likewise.
28530
38de94a5
RM
285312012-05-10 Roland McGrath <roland@hack.frob.com>
28532
28533 * math/w_ilogbf.c: Add #include <limits.h>.
28534
67530489
ST
285352012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28536
a4186cff 28537 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
28538 path instead of returning without unlocking.
28539
67530489
ST
28540 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
28541 immediate-write ioctls.
28542 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
28543
5aa3a74a
TS
285442012-05-10 Thomas Schwinge <thomas@schwinge.name>
28545
18bad2ae
TS
28546 * sysdeps/mach/hurd/i386/init-first.c (init): Use
28547 __builtin_frame_address instead of making assumptions about the
28548 location of the return address relative to DATA. Force early load of
28549 the return address.
28550 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
28551 __builtin_frame_address.
28552
5aa3a74a
TS
28553 dup3 for GNU Hurd.
28554 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
28555 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
28556 implement dup3 and do some further code clean-ups.
28557 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
28558 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
28559
ecd0de9a
ST
285602012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28561
cd9fa985
ST
28562 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
28563
a4186cff
PT
28564 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
28565 HURD_CRITICAL_END around holding _hurd_dtable_lock.
28566 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
28567 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
28568 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
28569 d->port.lock.
802ca5a5 28570
a4186cff
PT
28571 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
28572 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
28573 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 28574
bcf55240
TS
285752012-05-10 Thomas Schwinge <thomas@schwinge.name>
28576
6960eb42
TS
28577 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
28578 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
28579 definitions.
28580
eb43375f
TS
28581 accept4 for GNU Hurd.
28582 * include/sys/socket.h (__libc_accept4): New prototype.
28583 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
28584 to implement __libc_accept4.
28585 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
28586 __libc_accept4.
28587 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
28588
bcf55240
TS
28589 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
28590 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
28591 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
28592 signal-defines.sym.
28593
6178c55b
ST
285942012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28595
a4186cff 28596 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 28597
6f080c2f
TS
285982012-05-10 Thomas Schwinge <thomas@schwinge.name>
28599
28600 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
28601 assertion on O_CLOEXEC flag.
28602 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
28603 * hurd/intern-fd.c: Likewise.
28604 * hurd/port2fd.c: Likewise.
28605
bcfe3a54
ST
286062012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28607
28608 [BZ #3906]
28609 * bits/in.h (IPV6_PKTINFO): Define new macro.
28610 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
28611
89c9aa49
AZ
286122012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28613
28614 [BZ #13954]
28615 [BZ #13955]
28616 [BZ #13956]
28617 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
28618 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
28619 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
28620 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
28621 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
28622 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
28623 * math/libm-test.inc (logb_test) : Additional logb tests.
28624
021db4be
AJ
286252012-05-09 Andreas Schwab <schwab@linux-m68k.org>
28626 Andreas Jaeger <aj@suse.de>
28627
28628 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
28629 * configure: Regenerated.
28630 * config.h.in (LINK_OBSOLETE_RPC): New macro.
28631 * config.make.in (link-obsolete-rpc): New substituted variable.
28632 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
28633 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
28634 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
28635 (shared-only-routines): Don't set it under [link-obsolete-rpc],
28636 so that libc.a contains the symbols.
28637 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
28638 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
28639 * sunrpc/auth_none.c: Likewise.
28640 * sunrpc/auth_unix.c: Likewise.
28641 * sunrpc/authdes_prot.c: Likewise.
28642 * sunrpc/authuxprot.c: Likewise.
28643 * sunrpc/clnt_gen.c: Likewise.
28644 * sunrpc/clnt_perr.c: Likewise.
28645 * sunrpc/clnt_raw.c: Likewise.
28646 * sunrpc/clnt_simp.c: Likewise.
28647 * sunrpc/clnt_tcp.c: Likewise.
28648 * sunrpc/clnt_udp.c: Likewise.
28649 * sunrpc/clnt_unix.c: Likewise.
28650 * sunrpc/des_crypt.c: Likewise.
28651 * sunrpc/des_soft.c: Likewise.
28652 * sunrpc/get_myaddr.c: Likewise.
28653 * sunrpc/key_call.c: Likewise.
28654 * sunrpc/key_prot.c: Likewise.
28655 * sunrpc/netname.c: Likewise.
28656 * sunrpc/pm_getmaps.c: Likewise.
28657 * sunrpc/pm_getport.c: Likewise.
28658 * sunrpc/pmap_clnt.c: Likewise.
28659 * sunrpc/pmap_prot.c: Likewise.
28660 * sunrpc/pmap_prot2.c: Likewise.
28661 * sunrpc/pmap_rmt.c: Likewise.
28662 * sunrpc/publickey.c: Likewise.
28663 * sunrpc/rpc_cmsg.c: Likewise.
28664 * sunrpc/rpc_common.c: Likewise.
28665 * sunrpc/rpc_dtable.c: Likewise.
28666 * sunrpc/rpc_prot.c: Likewise.
28667 * sunrpc/rpc_thread.c: Likewise.
28668 * sunrpc/rtime.c: Likewise.
28669 * sunrpc/svc.c: Likewise.
28670 * sunrpc/svc_auth.c: Likewise.
28671 * sunrpc/svc_raw.c: Likewise.
28672 * sunrpc/svc_run.c: Likewise.
28673 * sunrpc/svc_tcp.c: Likewise.
28674 * sunrpc/svc_udp.c: Likewise.
28675 * sunrpc/svc_unix.c: Likewise.
28676 * sunrpc/svcauth_des.c: Likewise.
28677 * sunrpc/xcrypt.c: Likewise.
28678 * sunrpc/xdr.c: Likewise.
28679 * sunrpc/xdr_array.c: Likewise.
28680 * sunrpc/xdr_float.c: Likewise.
28681 * sunrpc/xdr_intXX_t.c: Likewise.
28682 * sunrpc/xdr_mem.c: Likewise.
28683 * sunrpc/xdr_rec.c: Likewise.
28684 * sunrpc/xdr_ref.c: Likewise.
28685 * sunrpc/xdr_sizeof.c: Likewise.
28686 * sunrpc/xdr_stdio.c: Likewise.
28687
b5c086a2
RM
286882012-05-10 Roland McGrath <roland@hack.frob.com>
28689
28690 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
28691 change. Update copyright years.
28692
6d74dd09
JM
286932012-05-10 Joseph Myers <joseph@codesourcery.com>
28694
28695 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
28696
28e72501
MK
286972012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
28698 Joseph Myers <joseph@codesourcery.com>
28699 Paul Pluzhnikov <ppluzhnikov@google.com>
28700
28701 [BZ #14012]
28702 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
28703 requiring rpcgen.
28704 [cross-compiling] (extra-libs): Likewise.
28705 [cross-compiling] (extra-libs-others): Likewise.
28706 [cross-compiling] (librpcsvc-routines): Likewise.
28707 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
28708 [cross-compiling] (omit-deps): Likewise.
28709 (sunrpc-CPPFLAGS): New variable.
28710 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
28711 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
28712 (cross-rpcgen-objs): New variable.
28713 (extra-objs): Append $(cross-rpcgen-objs).
28714 ($(cross-rpcgen-objs)): New rule.
28715 ($(objpfx)cross-rpcgen): Likewise.
28716 (rpcgen-cmd): Define to use $(built-program-file). Expand
28717 comment.
28718 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
28719 ($(objpfx)x%.stmp): Likewise.
28720 * sunrpc/proto.h [IS_IN_build] (_): Define.
28721 [IS_IN_build] (_libc_intl_domainname): Likewise.
28722
c8c59454
L
287232012-05-10 H.J. Lu <hongjiu.lu@intel.com>
28724
28725 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
28726 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
28727 and R_X86_64_TPOFF64.
28728
6f27cd16
JM
287292012-05-10 Joseph Myers <joseph@codesourcery.com>
28730
28731 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
28732 sysdeps/unix/sysv/syscalls.list.
28733 (stime): Likewise.
28734 (utime): Likewise.
28735 * sysdeps/unix/sysv/syscalls.list: Remove file.
28736
02467e1c
PE
287372012-05-10 Paul Eggert <eggert@cs.ucla.edu>
28738
28739 [BZ #3440]
28740 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
28741 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
28742 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
28743 (__LC_IDENTIFICATION): Make these macros useful in #if
28744 expressions, as required by C99.
28745
da392631
AS
287462012-05-10 Andreas Schwab <schwab@linux-m68k.org>
28747
28748 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
28749 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
28750 after this.
28751
8115f29b
L
287522012-05-09 H.J. Lu <hongjiu.lu@intel.com>
28753
28754 * stdlib/longlong.h: Updated from GCC.
28755
bdd74070
AJ
287562012-05-09 Andreas Jaeger <aj@suse.de>
28757
edfe0dbe
AJ
28758 * nscd/nscd.c (run_modes): Make named enum, reorder so that
28759 default is first entry.
28760 (run_mode): Set type.
28761 (main): Remove informal message about syslog.
28762 (options): Fix typo.
28763
bcfe3a54
ST
28764 [BZ #14053]
28765 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 28766 to asm.
bcfe3a54
ST
28767 (lrint): Likewise.
28768 (llrintf): Likewise.
28769 (llrint): Likewise.
28770 (rint): Likewise.
28771 (rintf): Likewise.
28772 (nearbyint): Likewise.
28773 (nearbyintf): Likewise.
bdd74070 28774
91d8d69e
AJ
287752012-05-09 Andreas Jaeger <aj@suse.de>
28776 Pedro Alves <palves@redhat.com>
28777
28778 * nscd/nscd.c (run_mode): Use enum.
28779 (main): Cleanup coding style issue.
28780
bb90b80b
AJ
287812012-05-09 Alexandre Oliva <aoliva@redhat.com>
28782 Andreas Jaeger <aj@suse.de>
28783
bcfe3a54
ST
28784 * nscd/nscd.c (go_background): Replaced with...
28785 (run_mode): ... this.
bb90b80b 28786 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
28787 (options): Add -F --foreground.
28788 (main): Implement it.
28789 (parse_opt): Parse it.
bb90b80b 28790
1a4b75a1
AJ
287912012-05-09 Andreas Jaeger <aj@suse.de>
28792
28793 [BZ #14083]
28794 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
28795 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
28796 -Wconversion warning.
28797 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
28798 Likewise.
28799
b1cc2472
JM
288002012-05-09 Joseph Myers <joseph@codesourcery.com>
28801
28802 * conform/data/locale.h-data (NULL): Use macro-constant. Require
28803 == 0.
28804 (LC_ALL): Use macro-int-constant.
28805 (LC_COLLATE): Likewise.
28806 (LC_CTYPE): Likewise.
28807 (LC_MESSAGES): Likewise.
28808 (LC_MONETARY): Likewise.
28809 (LC_NUMERIC): Likewise.
28810 (LC_TIME): Likewise.
28811 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
28812 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
28813 [ISO || ISO99 || ISO11] (*_t): Do not allow.
28814 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
28815 Specify type.
28816 [C99-based standards] (float_t): Expect type.
28817 [C99-based standards] (double_t): Expect type.
28818 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
28819 type.
28820 [C99-based standards] (HUGE_VALL): Likewise.
28821 [C99-based standards] (INFINITY): Likewise.
28822 [C99-based standards] (NAN): Likewise.
28823 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
28824 [C99-based standards] (FP_NAN): Likewise.
28825 [C99-based standards] (FP_NORMAL): Likewise.
28826 [C99-based standards] (FP_SUBNORMAL): Likewise.
28827 [C99-based standards] (FP_ZERO): Likewise.
28828 [C99-based standards] (FP_FAST_FMA): Use
28829 optional-macro-int-constant. Specify type. Require == 1.
28830 [C99-based standards] (FP_FAST_FMAF): Likewise.
28831 [C99-based standards] (FP_FAST_FMAL): Likewise.
28832 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
28833 [C99-based standards] (FP_ILOGBNAN): Likewise.
28834 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
28835 Specify type.
28836 [C99-based standards] (MATH_ERREXCEPT): Likewise.
28837 [C99-based standards] (math_errhandling): Specify type.
28838 [ISO99 || ISO11] (signgam): Do not allow.
28839 [non-C99-based standards] (copysignf): Do not allow.
28840 [non-C99-based standards] (exp2f): Likewise.
28841 [non-C99-based standards] (log2f): Likewise.
28842 [non-C99-based standards] (modff): Allow.
28843 [non-C99-based standards] (erff): Do not allow.
28844 [non-C99-based standards] (erfcf): Likewise.
28845 [non-C99-based standards] (gammaf): Likewise.
28846 [non-C99-based standards] (hypotf): Likewise.
28847 [non-C99-based standards] (j0f): Likewise.
28848 [non-C99-based standards] (j1f): Likewise.
28849 [non-C99-based standards] (jnf): Likewise.
28850 [non-C99-based standards] (lgammaf): Likewise.
28851 [non-C99-based standards] (tgammaf): Likewise.
28852 [non-C99-based standards] (y0f): Likewise.
28853 [non-C99-based standards] (y1f): Likewise.
28854 [non-C99-based standards] (ynf): Likewise.
28855 [non-C99-based standards] (isnanf): Likewise.
28856 [non-C99-based standards] (acoshf): Likewise.
28857 [non-C99-based standards] (asinhf): Likewise.
28858 [non-C99-based standards] (atanhf): Likewise.
28859 [non-C99-based standards] (cbrtf): Likewise.
28860 [non-C99-based standards] (expm1f): Likewise.
28861 [non-C99-based standards] (ilogbf): Likewise.
28862 [non-C99-based standards] (log1pf): Likewise.
28863 [non-C99-based standards] (logbf): Likewise.
28864 [non-C99-based standards] (nextafterf): Likewise.
28865 [non-C99-based standards] (remainderf): Likewise.
28866 [non-C99-based standards] (rintf): Likewise.
28867 [non-C99-based standards] (scalbf): Likewise.
28868 [non-C99-based standards] (copysignl): Likewise.
28869 [non-C99-based standards] (exp2l): Likewise.
28870 [non-C99-based standards] (log2l): Likewise.
28871 [non-C99-based standards] (modfl): Allow.
28872 [non-C99-based standards] (erfl): Do not allow.
28873 [non-C99-based standards] (erfcl): Likewise.
28874 [non-C99-based standards] (gammal): Likewise.
28875 [non-C99-based standards] (hypotl): Likewise.
28876 [non-C99-based standards] (j0l): Likewise.
28877 [non-C99-based standards] (j1l): Likewise.
28878 [non-C99-based standards] (jnl): Likewise.
28879 [non-C99-based standards] (lgammal): Likewise.
28880 [non-C99-based standards] (tgammal): Likewise.
28881 [non-C99-based standards] (y0l): Likewise.
28882 [non-C99-based standards] (y1l): Likewise.
28883 [non-C99-based standards] (ynl): Likewise.
28884 [non-C99-based standards] (isnanl): Likewise.
28885 [non-C99-based standards] (acoshl): Likewise.
28886 [non-C99-based standards] (asinhl): Likewise.
28887 [non-C99-based standards] (atanhl): Likewise.
28888 [non-C99-based standards] (cbrtl): Likewise.
28889 [non-C99-based standards] (expm1l): Likewise.
28890 [non-C99-based standards] (ilogbl): Likewise.
28891 [non-C99-based standards] (log1pl): Likewise.
28892 [non-C99-based standards] (logbl): Likewise.
28893 [non-C99-based standards] (nextafterl): Likewise.
28894 [non-C99-based standards] (remainderl): Likewise.
28895 [non-C99-based standards] (rintl): Likewise.
28896 [non-C99-based standards] (scalbl): Likewise.
28897 [ISO || ISO99 || ISO11] (*_t): Do not allow.
28898 [non-C99-based standards] (FP_*): Do not allow.
28899 [C99-based standards] (FP_*): Change to
28900 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
28901 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
28902 allow.
28903 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
28904 (SIG_ERR): Likewise.
28905 [X/Open-based standards] (SIG_HOLD): Likewise.
28906 (SIG_IGN): Likewise.
28907 (SIGABRT): Use macro-int-constant. Specify type. Require
28908 positive value.
28909 (SIGFPE): Likewise.
28910 (SIGILL): Likewise.
28911 (SIGINT): Likewise.
28912 (SIGSEGV): Likewise.
28913 (SIGTER): Likewise.
28914 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
28915 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
28916 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
28917 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
28918 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
28919 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
28920 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
28921 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
28922 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
28923 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
28924 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
28925 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
28926 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
28927 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
28928 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
28929 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
28930 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
28931 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
28932 [X/Open-based standards] (SIGTRAP): Likewise.
28933 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
28934 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
28935 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
28936 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
28937 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
28938 allow.
28939
b9f1922d
IW
289402012-05-08 Ian Wienand <ianw@vmware.com>
28941
28942 [BZ #14080]
28943 * time/tzset.c (__tzset_parse_tz): Update default rules for
28944 daylight time changes in the Energy Policy Act of 2005.
28945
1db86e88
AJ
289462012-05-09 Andreas Jaeger <aj@suse.de>
28947
28948 [BZ #13983]
28949 * elf/ldconfig.c (parse_conf): Change string to make clear that
28950 ldconfig only issued a warning if ld.so.conf does not exist.
28951
dee4a4e3
DM
289522012-05-08 David S. Miller <davem@davemloft.net>
28953
ee0db190
DM
28954 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
28955 movxtod instead of popping the value on the stack.
28956
dee4a4e3
DM
28957 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28958
6a43ec98
CD
289592012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
28960
28961 * config.h.in: Add HAVE_ARM_PCS_VFP.
28962
05c2c961
RMG
289632012-05-08 Roland Mc Grath <roland@hack.frob.com>
28964
bcfe3a54
ST
28965 [BZ #13979]
28966 * include/features.h: Warn if user requests __FORTIFY_SOURCE
28967 checking but the checks are disabled for any reason.
05c2c961 28968
4b30f61a
L
289692012-05-08 H.J. Lu <hongjiu.lu@intel.com>
28970
28971 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
28972 and ELF64_R_TYPE with ELFW(R_TYPE).
28973
eee2bc67
JM
289742012-05-08 Joseph Myers <joseph@codesourcery.com>
28975
7ea5391a
JM
28976 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
28977 (ulimit): Likewise.
28978
eee2bc67
JM
28979 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
28980 (settimeofday): Likewise.
28981
abb66a67
MF
289822012-05-08 Mike Frysinger <vapier@gentoo.org>
28983
28984 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
28985 a struct th_u2 inside the union, and move tu_block/tu_code into
28986 a new th_u3 union of tu_block/tu_code inside of that. Move
28987 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
28988 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
28989 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
28990 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
28991 (th_stuff): Change to th_u1.tu_stuff.
28992 (th_data): Define.
28993 (th_msg): Change to th_u1.th_u2.tu_data.
28994
7f18b530
DM
289952012-05-07 David S. Miller <davem@davemloft.net>
28996
05760585
DM
28997 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28998
7f18b530
DM
28999 [BZ #14074]
29000 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
29001 (SETUP_PIC_REG): Use it.
29002 (SETUP_PIC_REG_LEAF): Use it.
29003
495fd99f
JM
290042012-05-07 Joseph Myers <joseph@codesourcery.com>
29005
29006 [BZ #13885]
29007 [BZ #13923]
29008 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
29009 USE_AS_EXPM1L.
29010 (EXPL_FINITE): Likewise.
29011 (FLDLOG): Likewise.
29012 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
29013 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
29014 e_expl.S.
29015 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
29016 USE_AS_EXPM1L.
29017 (EXPL_FINITE): Likewise.
29018 (FLDLOG): Likewise.
29019 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
29020 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
29021 e_expl.S.
29022 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
29023 test of -max_value argument for long double.
29024 * sysdeps/i386/fpu/libm-test-ulps: Update.
29025 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29026
6693d694
DM
290272012-05-06 David S. Miller <davem@davemloft.net>
29028
29029 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
29030 quad soft-float symbols whose references which are compiler
29031 generated.
29032 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
29033
6c23e11c
JM
290342012-05-06 Joseph Myers <joseph@codesourcery.com>
29035
d8b82cad
JM
29036 [BZ #13884]
29037 [BZ #13914]
29038 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
29039 USE_AS_EXP10L.
29040 (EXPL_FINITE): Likewise.
29041 (FLDLOG): Likewise.
29042 (c0): Likewise.
29043 (c1): Likewise.
29044 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
29045 Adjust comments for base varying.
29046 (__expl_finite): Change alias to EXPL_FINITE.
29047 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
29048 e_expl.S.
29049 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
29050 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
29051 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
29052 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
29053 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
29054 USE_AS_EXP10L.
29055 (EXPL_FINITE): Likewise.
29056 (FLDLOG): Likewise.
29057 (c0): Likewise.
29058 (c1): Likewise.
29059 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
29060 Adjust comments for base varying.
29061 (__expl_finite): Change alias to EXPL_FINITE.
29062 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
29063 tests for bugs.
29064 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29065
6c23e11c
JM
29066 [BZ #14064]
29067 * math/libm-test.inc (check_float_internal): Correct ulp
29068 calculation for subnormal expected results.
29069
29ba805c
AJ
290702012-05-06 Andreas Jaeger <aj@suse.de>
29071
29072 * Makeconfig (+math-flags): New, set to -frounding-math.
29073 (+cflags): Add +math-flags so that all of glibc gets compiled with
29074 it.
29075
29076 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
29077
7b17aeda
JM
290782012-05-05 Joseph Myers <joseph@codesourcery.com>
29079
5779f134
JM
29080 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
29081 Disable one test.
29082
41498f4d
JM
29083 [BZ #13787]
29084 [BZ #13922]
29085 [BZ #14036]
29086 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
29087 (__ieee754_expl): Allow for and saturate large arguments.
29088 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
29089 (u_threshold): Likewise.
29090 (__exp): Call __ieee754_exp before checking for overflow and
29091 underflow.
29092 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
29093 (u_threshold): Likewise.
29094 (__expf): Call __ieee754_expf before checking for overflow and
29095 underflow.
29096 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
29097 (u_threshold): Likewise.
29098 (__expl): Call __ieee754_expl before checking for overflow and
29099 underflow.
29100 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
29101 (__ieee754_expl): Allow for and saturate large arguments.
29102 * math/libm-test.inc (exp_test): Add another test. Do not allow
29103 missing overflow exception on overflow.
29104 (expm1_test): Do not allow missing overflow exception on overflow.
29105
6698b8bf
JM
29106 * sysdeps/i386/fpu/e_expl.c: Move to ...
29107 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
29108 rather than using inline asm.
29109 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
29110 * sysdeps/x86_64/fpu/e_expl.S: Copy from
29111 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
29112
7b17aeda
JM
29113 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
29114 (nice): Likewise.
29115 (poll): Likewise.
29116 (signal): Likewise.
29117 (time): Likewise.
29118 (times): Likewise.
29119
f7c85819
JM
291202012-05-04 Joseph Myers <joseph@codesourcery.com>
29121
29122 * sysdeps/unix/syscalls.list (adjtime): Add entry from
29123 sysdeps/unix/common/syscalls.list.
29124 (fchmod): Likewise.
29125 (fchown): Likewise.
29126 (ftruncate): Likewise.
29127 (getrusage): Likewise.
29128 (gettimeofday): Likewise.
29129 (setpgid): Likewise.
29130 (setregid): Likewise.
29131 (setreuid): Likewise.
29132 (sigaction): Likewise.
29133 (truncate): Likewise.
29134 (vhangup): Likewise.
29135 * sysdeps/unix/common/syscalls.list: Remove file.
29136 * sysdeps/unix/bsd/Implies: Don't include unix/common.
29137 * sysdeps/unix/sysv/linux/Implies: Likewise.
29138
336270d0
L
291392012-05-04 H.J. Lu <hongjiu.lu@intel.com>
29140
29141 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
29142 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
29143 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
29144 Moved to ...
29145 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
29146 Here.
29147 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
29148 to ...
29149 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
29150 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
29151 to ...
29152 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
29153 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
29154 to ...
29155 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
29156 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
29157 to ...
29158 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
29159 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
29160 to ...
29161 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
29162 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
29163 to ...
29164 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
29165 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
29166 to ...
29167 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
29168 Here.
29169 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
29170 to ...
29171 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
29172 Here.
29173 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
29174 to ...
29175 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
29176 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
29177 Moved to ...
29178 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
29179 Here.
29180 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
29181 to ...
29182 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
29183
d128e450
JM
291842012-05-04 Joseph Myers <joseph@codesourcery.com>
29185
fa8ee516
JM
29186 * sysdeps/unix/common/bits/dirent.h: Remove file.
29187 * sysdeps/unix/common/bits/fcntl.h: Likewise.
29188
d128e450
JM
29189 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
29190 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
29191 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
29192 * sysdeps/unix/bsd/isatty.c: Likewise.
29193 * sysdeps/unix/bsd/tcdrain.c: Likewise.
29194 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
29195 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
29196
ff8faaf0 291972012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 29198
62881be4 29199 [BZ #13563]
31dc8730
AZ
29200 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
29201 long double comparison inaccuracies.
29202 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
29203 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29204
6fef930c
AS
292052012-05-04 Andreas Schwab <schwab@linux-m68k.org>
29206
29207 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
29208 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
29209
8f203e6c
JM
292102012-05-04 Joseph Myers <joseph@codesourcery.com>
29211
29212 [BZ #14049]
29213 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
29214 nonzero digits before rounding a hex value.
29215 * stdlib/tst-strtod.c (tests): Add another test.
29216
5197d9c2
AK
292172012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29218
29219 * sysdeps/s390/fpu/libm-test-ulps: Update.
29220
f0c1dedf
AJ
292212012-05-03 Andreas Jaeger <aj@suse.de>
29222
29223 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
29224 does not get optimized out.
29225 (malloc_opt_barrier): New.
29226
a65ef2ae 292272012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 29228 Roland McGrath <roland@hack.frob.com>
a65ef2ae 29229
2b942cb7 29230 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 29231 intermediate file deletion.
2b942cb7 29232 (generated): Add .symlist files.
a65ef2ae 29233
54b71e02
JM
292342012-05-03 Joseph Myers <joseph@codesourcery.com>
29235
29236 [BZ #13775]
29237 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
29238 Redirect under this condition.
29239 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
29240 [__USE_GNU] (__dprintf_chk): Not under this condition.
29241 [__USE_GNU] (__vdprintf_chk): Likewise.
29242 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
29243 under this condition.
29244 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
29245 [__USE_XOPEN2K8] (dprintf): Define under this condition.
29246 [__USE_XOPEN2K8] (vdprintf): Likewise.
29247 [__USE_GNU] (__dprintf_chk): Not under this condition.
29248 [__USE_GNU] (__vdprintf_chk): Likewise.
29249 [__USE_GNU] (dprintf): Likewise.
29250 [__USE_GNU] (vdprintf): Likewise.
29251
d3dfcc41
RM
292522012-05-03 Roland McGrath <roland@hack.frob.com>
29253
29254 * elf/Makefile (common-generated): Set this instead of generated for
29255 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
29256 $(all-built-dso)-derived lists.
29257
7ac30cc5
AJ
292582012-05-03 Andreas Jaeger <aj@suse.de>
29259
0c51e550
AJ
29260 * sysdeps/i386/fpu/libm-test-ulps: Update.
29261
7ac30cc5
AJ
29262 * FAQ: Removed.
29263 * FAQ.in: Likewise.
29264 * scripts/gen-FAQ.pl: Likewise.
29265 * manual/install.texi (Installation): Point to online location of
29266 FAQ.
29267 * Makefile (files-for-dist): Remove FAQ.
29268 (FAQ): Remove.
29269
d4c2917f
AM
292702012-05-02 Allan McRae <allan@archlinux.org>
29271
29272 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
29273 (LDFLAGS-reldepmod5.so): Likewise.
29274 (LDFLAGS-reldep6mod1.so): Likewise.
29275 (LDFLAGS-reldep6mod4.so): Likewise.
29276 (LDFLAGS-reldep8mod3.so): Likewise.
29277 (LDFLAGS-unload4mod1.so): Likewise.
29278 (LDFLAGS-unload4mod2.so): Likewise.
29279 (LDFLAGS-tst-initorder): Likewise.
29280 (LDFLAGS-tst-initordera2.so): Likewise.
29281 (LDFLAGS-tst-initordera3.so): Likewise.
29282 (LDFLAGS-tst-initordera4.so): Likewise.
29283 (LDFLAGS-tst-initorderb2.so): Likewise.
29284 (LDFLAGS-noload): Likewise.
29285 (LDFLAGS-next): Likewise.
29286 (LDFLAGS-order2mod1.so): Likewise.
29287 (LDFLAGS-order2mod2.so): Likewise.
29288 (LDFLAGS-tst-initorder2): Likewise.
29289 (LDFLAGS-tst-initorder2a.so): Likewise.
29290 (LDFLAGS-tst-initorder2b.so): Likewise.
29291 (LDFLAGS-tst-initorder2c.so): Likewise.
29292 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
29293
d77f993f
DM
292942012-05-02 David S. Miller <davem@davemloft.net>
29295
29296 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29297
171a70b4
PP
292982012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
29299
29300 [BZ #14055]
29301 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
29302
0be196ad
AJ
293032012-05-02 Andreas Jaeger <aj@suse.de>
29304
29305 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
29306 since we manipulate rounding mode.
29307 (CPPFLAGS-test-idouble.c): Likewise.
29308 (CPPFLAGS-test-ifloat.c): Likewise.
29309 (CFLAGS-test-ldouble.c): Likewise.
29310 (CFLAGS-test-double.c): Likewise.
29311 (CFLAGS-test-float.c): Likewise.
29312 (CFLAGS-test-misc.c): Likewise.
29313 (CFLAGS-test-test-fenv.c): Likewise.
29314
4f9d04aa
AZ
293152012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29316
2b942cb7
RM
29317 [BZ #2550]
29318 [BZ #2570]
29319 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
29320 comparisons to determine direction to adjust input.
4f9d04aa 29321
82a79e7d
RM
293222012-05-01 Roland McGrath <roland@hack.frob.com>
29323
f5a01ca9
RM
29324 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
29325 output to the target.
29326
90fe4186
RM
29327 * scripts/localplt.awk: New file.
29328 * elf/Makefile ($(objpfx)check-localplt): Target removed.
29329 (check-localplt-CFLAGS): Variable removed.
29330 ($(all-built-dso:=.jmprel)): New static pattern rule.
29331 (generated): Add those targets.
29332 (localplt-built-dso): New variable.
29333 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
29334
29335 * elf/check-localplt.c: File removed.
29336
82397ed6
RM
29337 * scripts/check-execstack.awk: New file.
29338 * elf/Makefile ($(objpfx)check-execstack): Target removed.
29339 (check-execstack-CFLAGS): Variable removed.
29340 ($(objpfx)check-execstack.h): Target removed.
29341 ($(objpfx)execstack-default): New target.
29342 (generated): Add that instead of check-execstack.h.
29343 ($(all-built-dso:=.phdr)): New static pattern rule.
29344 (generated): Add those targets.
29345 * elf/check-execstack.c: File removed.
29346
82a79e7d
RM
29347 * scripts/check-textrel.awk: New file.
29348 * elf/Makefile ($(objpfx)check-textrel): Target removed.
29349 (check-textrel-CFLAGS): Variable removed.
29350 (all-built-dso): Use := to define.o
29351 ($(all-built-dso:=.dyn)): New static pattern rule.
29352 (generated): Add those targets.
29353 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
29354 * config.make.in (READELF): New substituted variable.
29355 * elf/check-textrel.c: File removed.
29356
62fde54f 293572012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 29358
615605c9
JM
29359 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
29360 allow.
29361 * conform/data/ctype.h-data [C99-based standards] (isblank):
29362 Expect function.
29363 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
29364 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
29365 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29366 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
29367 Specify type. Require positive value.
29368 (EILSEQ): Likewise.
29369 (ERANGE): Likewise.
29370 [ISO || POSIX] (EILSEQ): Do not expect.
29371 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
29372 Specify type. Require positive value.
29373 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
29374 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
29375 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
29376 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
29377 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
29378 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
29379 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
29380 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
29381 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
29382 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
29383 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
29384 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
29385 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
29386 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
29387 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
29388 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
29389 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
29390 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
29391 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
29392 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
29393 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
29394 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
29395 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
29396 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
29397 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
29398 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
29399 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
29400 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
29401 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
29402 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
29403 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
29404 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
29405 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
29406 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
29407 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
29408 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
29409 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
29410 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
29411 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
29412 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
29413 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
29414 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
29415 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
29416 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
29417 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
29418 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
29419 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
29420 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
29421 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
29422 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
29423 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
29424 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
29425 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
29426 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
29427 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
29428 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
29429 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
29430 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
29431 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
29432 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
29433 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
29434 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
29435 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
29436 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
29437 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
29438 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
29439 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
29440 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
29441 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
29442 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
29443 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
29444 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
29445 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
29446 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
29447 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
29448 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
29449 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
29450 Require >= 2.
29451 (FLT_ROUNDS): Expect as macro, not constant.
29452 (FLT_MANT_DIG): Use macro-int-constant.
29453 (DBL_MANT_DIG): Likewise.
29454 (LDBL_MANT_DIG): Likewise.
29455 (FLT_DIG): Likewise.
29456 (DBL_DIG): Likewise.
29457 (LDBL_DIG): Likewise.
29458 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
29459 (DBL_MIN_EXP): Likewise.
29460 (LDBL_MIN_EXP): Likewise.
29461 (FLT_MAX_EXP): Use macro-int-constant.
29462 (DBL_MAX_EXP): Likewise.
29463 (LDBL_MAX_EXP): Likewise.
29464 (FLT_MAX_10_EXP): Likewise.
29465 (DBL_MAX_10_EXP): Likewise.
29466 (LDBL_MAX_10_EXP): Likewise.
29467 (FLT_MAX): Use macro-constant.
29468 (DBL_MAX): Likewise.
29469 (LDBL_MAX): Likewise.
29470 (FLT_EPSILON): Use macro-constant. Give upper bound.
29471 (DBL_EPSILON): Likewise.
29472 (LDBL_EPSILON): Likewise.
29473 (FLT_MIN): Likewise.
29474 (DBL_MIN): Likewise.
29475 (LDBL_MIN): Likewise.
29476 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
29477 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
29478 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
29479 [ISO11] (FLT_HAS_SUBNORM): Likewise.
29480 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
29481 [ISO11] (DBL_DECIMAL_DIG): Likewise.
29482 [ISO11] (FLT_DECIMAL_DIG): Likewise.
29483 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
29484 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
29485 [ISO11] (FLT_TRUE_MIN): Likewise.
29486 [ISO11] (LDBL_TRUE_MIN): Likewise.
29487 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29488 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
29489 (SCHAR_MIN): Use macro-int-constant. Specify type.
29490 (SCHAR_MAX): Likewise.
29491 (UCHAR_MAX): Likewise.
29492 (CHAR_MIN): Likewise.
29493 (CHAR_MAX): Likewise.
29494 (MB_LEN_MAX): Use macro-int-constant.
29495 (SHRT_MIN): Use macro-int-constant. Specify type.
29496 (SHRT_MAX): Likewise.
29497 (USHRT_MAX): Likewise.
29498 (INT_MAX): Likewise.
29499 (INT_MIN): Use macro-int-constant. Specify type. Make upper
29500 bound negative.
29501 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
29502 bound with "U".
29503 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
29504 bound with "L".
29505 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
29506 bound negative. Suffix upper bound with "L".
29507 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
29508 bound with "UL".
29509 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
29510 Specify type.
29511 [C99-based standards] (LLONG_MAX): Likewise.
29512 [C99-based standards] (ULLONG_MAX): Likewise.
29513 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
29514 == 0.
29515 [ISO11] (max_align_t): Require type.
29516 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29517
c9140a62
JM
29518 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
29519 from $CFLAGS, without defining away __attribute__ calls.
29520 (checknamespace): Use $CFLAGS_namespace.
29521
9af0bf29
JM
29522 * conform/conformtest.pl (@keywords): Only include C99 keywords
29523 for standards based on C99 or C11.
29524
343222a2
JM
29525 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
29526 Disable tests.
29527 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
29528 UNIX98]: Likewise.
29529
661f8cf0
JM
29530 * conform/conformtest.pl: Handle "macro-int-constant" and test for
29531 usability of symbols in #if.
29532
ee74b9cb
JM
29533 * conform/conformtest.pl: If macro or constant types start
29534 "promoted:", expect the symbol to be of the following type
29535 promoted by the integer promotions.
62fde54f 29536
aafc49b3
JM
29537 * conform/conformtest.pl: Parse all "constant" and "macro" lines
29538 in one place. Also handle "macro-constant".
29539
fefdf574
JM
29540 * conform/conformtest.pl: Only accept expected macro values with
29541 "==". Parse all "macro" lines in one place.
29542 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
29543
f2d922fe
JM
29544 * conform/conformtest.pl: Handle braced types on "constant" lines
29545 instead of handling "typed-constant".
29546 * conform/data/signal.h-data: Use "constant" instead of
29547 "typed-constant".
29548
d22956c9
JM
29549 * conform/conformtest.pl: Handle "optional-" at start of lines in
29550 one place rather than duplicating several cases. Handle each
29551 format of "macro" line with initial "optional-".
29552
028e2e38
JM
29553 * conform/conformtest.pl: Only accept expected constant or
29554 optional-constant values with "==". Parse all "constant" lines in
29555 one place. Parse all "optional-constant" lines in one place.
29556 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
29557 * conform/data/fmtmsg.h-data: Likewise.
29558 * conform/data/netinet/in.h-data: Likewise.
29559 * conform/data/tar.h-data: Likewise.
29560 * conform/data/limits.h-data: Use "==" form on "constant" and
29561 "optional-constant" lines.
29562
1b8f2850
JM
29563 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
29564 Use -std=c99 for XOPEN2K.
29565 (@knownproblems): Remove.
29566 (newtoken): Don't check %isknown.
29567
a05a144b
JM
29568 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
29569 Do not expect macro.
29570 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
29571 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
29572 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
29573 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
29574 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
29575 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
29576 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
29577 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
29578 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
29579 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
29580 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
29581 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
29582 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
29583 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
29584 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
29585 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
29586 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
29587 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
29588 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
29589 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
29590 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
29591 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
29592 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
29593 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
29594 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
29595 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
29596 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
29597 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
29598 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
29599 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
29600 [XPG3] (acosh): Likewise.
29601 [XPG3] (asinh): Likewise.
29602 [XPG3] (atanh): Likewise.
29603 [XPG3] (cbrt): Likewise.
29604 [XPG3] (expm1): Likewise.
29605 [XPG3] (ilogb): Likewise.
29606 [XPG3] (log1p): Likewise.
29607 [XPG3] (logb): Likewise.
29608 [XPG3] (nextafter): Likewise.
29609 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
29610 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
29611 [XPG3] (remainder): Likewise.
29612 [XPG3] (rint): Likewise.
29613 [XPG3 || XPG4 || UNIX98] (round): Likewise.
29614 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
29615 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
29616 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
29617 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
29618 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
29619 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
29620 [UNIX98 || XOPEN2K] (scalb): Expect.
29621 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
29622 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
29623 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
29624 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
29625 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
29626 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
29627 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
29628 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
29629 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
29630 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
29631 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
29632 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
29633 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
29634 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
29635 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
29636 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
29637 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
29638 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
29639 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
29640 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
29641 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
29642 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
29643 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
29644 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
29645 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
29646 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
29647 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
29648 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
29649 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
29650 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
29651 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
29652 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
29653 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
29654 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
29655 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
29656 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
29657 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
29658 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
29659 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
29660 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
29661 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
29662 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
29663 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
29664 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
29665 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
29666 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
29667 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
29668 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
29669 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
29670 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
29671 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
29672 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
29673 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
29674 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
29675 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
29676 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
29677 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
29678 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
29679 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
29680 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
29681 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
29682 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
29683 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
29684 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
29685 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
29686 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
29687 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
29688 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
29689 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
29690 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
29691 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
29692 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
29693 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
29694 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
29695 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
29696 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
29697 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
29698 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
29699 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
29700 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
29701 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
29702 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
29703 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
29704 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
29705 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
29706 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
29707 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
29708 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
29709 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
29710 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
29711 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
29712 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
29713 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
29714 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
29715 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
29716 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
29717 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
29718 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
29719 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
29720 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
29721 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
29722 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
29723 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
29724 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
29725 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
29726 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
29727 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
29728 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
29729 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
29730 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
29731 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
29732 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
29733 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
29734 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
29735 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
29736 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
29737 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
29738 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
29739 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
29740 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
29741 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
29742 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
29743 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
29744 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
29745 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
29746 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
29747 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
29748 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
29749 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
29750 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
29751 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
29752 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
29753 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
29754 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
29755 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
29756 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
29757 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
29758
73c5ebe3
JM
29759 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
29760 _XOPEN_SOURCE_EXTENDED for XPG4.
29761
39c33b6c
JM
29762 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
29763
62fde54f
JM
29764 * Makeconfig (localtime): Remove variable.
29765 (inst_localtime-file): Likewise.
29766
0741d64c
AS
297672012-05-01 Andreas Schwab <schwab@linux-m68k.org>
29768
29769 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
29770 Update.
29771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29772 Update.
29773 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
29774 Update.
29775 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
29776 Update.
29777 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
29778 Update.
29779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
29780 Update.
29781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29782 Update.
29783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
29784 Update.
29785 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
29786 Update.
29787
7cb029ee
JM
297882012-05-01 Joseph Myers <joseph@codesourcery.com>
29789
29790 [BZ #2550]
29791 [BZ #2570]
29792 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
29793 comparisons to determine direction to adjust input.
29794 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
29795 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
29796 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
29797 Likewise.
29798 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
29799 Likewise.
29800 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
29801 Likewise.
29802 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
29803 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
29804 Likewise.
29805 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
29806 Likewise.
29807 * math/libm-test.inc (nexttoward_test): Add more tests.
29808
412bd966
AS
298092012-05-01 Andreas Schwab <schwab@linux-m68k.org>
29810
29811 [BZ #14040]
29812 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
29813 in version GLIBC_2.1, not GLIBC_2.0.
29814 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
29815 Likewise.
29816
9568c0c2
JM
298172012-04-30 Joseph Myers <joseph@codesourcery.com>
29818
adfbc8ac
JM
29819 [BZ #13942]
29820 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
29821 (1 - x) * (1 + x).
29822 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
29823 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
29824 * math/libm-test.inc (acos_test): Add more tests.
29825 (asin_test): Likewise.
29826 * sysdeps/i386/fpu/libm-test-ulps: Update.
29827 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29828
5ba3cc69
JM
29829 [BZ #14034]
29830 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
29831 of square root.
29832 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
29833 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
29834 * math/libm-test.inc (acos_test_tonearest): New function.
29835 (acos_test_towardzero): Likewise.
29836 (acos_test_downward): Likewise.
29837 (acos_test_upward): Likewise.
29838 (asin_test_tonearest): Likewise.
29839 (asin_test_towardzero): Likewise.
29840 (asin_test_downward): Likewise.
29841 (asin_test_upward): Likewise.
29842 (main): Call the new functions.
29843 * sysdeps/i386/fpu/libm-test-ulps: Update.
29844 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29845
9568c0c2
JM
29846 [BZ #13884]
29847 [BZ #13924]
29848 * math/e_exp10.c: Include <float.h>.
29849 (__ieee754_exp10): Handle underflow here rather than multiplying
29850 large negative argument by M_LN10.
29851 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
29852 of __ieee754_expf.
29853 * math/e_exp10l.c: Include <float.h>.
29854 (__ieee754_exp10l): Handle underflow here rather than multiplying
29855 large negative argument by M_LN10l.
29856 * math/libm-test.inc (exp10_test): Add another test. Do not allow
29857 spurious overflow exception on underflow.
29858
5ac3ea17
MP
298592012-04-29 Marek Polacek <polacek@redhat.com>
29860
29861 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
29862 (__fortify_function): New macro.
29863 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
29864 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
29865 __extern_always_inline.
29866 * libio/bits/stdio2.h: Likewise.
29867 * libio/bits/stdio.h: Likewise.
29868 * string/string.h: Likewise.
29869 * string/bits/string3.h: Likewise.
29870 * include/stdio.h: Likewise.
29871 * stdlib/bits/stdlib.h: Likewise.
29872 * stdlib/stdlib.h: Likewise.
29873 * rt/bits/mqueue2.h: Likewise.
29874 * rt/mqueue.h: Likewise.
29875 * posix/bits/unistd.h: Likewise.
29876 * posix/unistd.h: Likewise.
29877 * io/bits/poll2.h: Likewise.
29878 * io/bits/fcntl2.h: Likewise.
29879 * io/fcntl.h: Likewise.
29880 * io/sys/poll.h: Likewise.
29881 * misc/bits/syslog.h: Likewise.
29882 * misc/bits/syslog-ldbl.h: Likewise.
29883 * misc/sys/syslog.h: Likewise.
29884 * socket/bits/socket2.h: Likewise.
29885 * socket/sys/socket.h: Likewise.
29886 * debug/tst-chk1.c: Likewise.
29887 * wcsmbs/bits/wchar2.h: Likewise.
29888 * wcsmbs/bits/wchar-ldbl.h: Likewise.
29889 * wcsmbs/wchar.h: Likewise.
29890
ecf0ebfb
AJ
298912012-04-29 Andreas Jaeger <aj@suse.de>
29892
29893 * Makerules (tests): Remove enable-check-abi protection.
29894 (check-abi-warn): Remove.
29895 (check-abi-%): Remove check-abi-warn usage.
29896
29897 * configure.in: Remove check-abi configure option.
29898 * configure: Regenerated.
29899 * config.make.in (enable-check-abi): Remove.
29900
6d5c57fa
AS
299012012-04-28 Andreas Schwab <schwab@linux-m68k.org>
29902
24c5d07e 29903 [BZ #14033]
ded5180a
AS
29904 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
29905 double functions to double *_finite functions.
29906
7e0d315d
AS
29907 [BZ #13941]
29908 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
29909 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
29910 LDBL_MIN_EXP.
29911 * stdio-common/Makefile (tests): Add tst-sprintf3.
29912 * stdio-common/tst-sprintf3.c: New file.
29913
6d5c57fa
AS
29914 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
29915 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
29916
0749ff8b
JM
299172012-04-28 Joseph Myers <joseph@codesourcery.com>
29918
29919 * conform/conformtest.pl: Remove duplicate typed-constant
29920 handling.
29921
8dbd5d7b
DM
299222012-04-28 David S. Miller <davem@davemloft.net>
29923
29924 * Makerules (%.abilist): Add vpath on sysdep_dirs.
29925 (check-abi-%): Remove AWK script prerequisite and explicit
29926 abilist directory.
29927 (check-abi): Rewrite to just diff the symlist with the abilist.
29928 (config-tls, config-abi-config): Delete, no longer used.
29929 (update-abi-%): Remove AWK script and explicit abilist directory.
29930 (update-abi): Rewrite to simply compare and conditionally copy the
29931 symlist and the sysdep abilist file. Remove update-abi-config
29932 checks.
29933 * abilist/ld.abilist: Remove.
29934 * abilist/libBrokenLocale.abilist: Remove.
29935 * abilist/libanl.abilist: Remove.
29936 * abilist/libcrypt.abilist: Remove.
29937 * abilist/libdl.abilist: Remove.
29938 * abilist/librt.abilist: Remove.
29939 * abilist/libthread_db.abilist: Remove.
29940 * abilist/libutil.abilist: Remove.
29941 * scripts/extract-abilist.awk: Remove.
29942 * scripts/merge-abilist.awk: Remove.
29943 * sysdeps/generic/libcidn.abilist: New file.
29944 * sysdeps/generic/libnss_compat.abilist: New file.
29945 * sysdeps/generic/libnss_db.abilist: New file.
29946 * sysdeps/generic/libnss_dns.abilist: New file.
29947 * sysdeps/generic/libnss_files.abilist: New file.
29948 * sysdeps/generic/libnss_hesiod.abilist: New file.
29949 * sysdeps/generic/libnss_nis.abilist: New file.
29950 * sysdeps/generic/libnss_nisplus.abilist: New file.
29951 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
29952 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
29953 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
29954 file.
29955 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
29956 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
29957 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
29958 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
29959 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
29960 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
29961 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
29962 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
29963 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
29964 file.
29965 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
29966 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
29967 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
29968 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
29969 file.
29970 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
29971 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
29972 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
29973 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
29974 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
29975 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
29976 file.
29977 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
29978 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
29979 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
29980 file.
29981 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
29982 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
29983 New file.
29984 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
29985 New file.
29986 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
29987 New file.
29988 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
29989 New file.
29990 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
29991 New file.
29992 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
29993 New file.
29994 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
29995 New file.
29996 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
29997 New file.
29998 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
29999 New file.
30000 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
30001 New file.
30002 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
30003 New file.
30004 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
30005 New file.
30006 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
30007 New file.
30008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
30009 file.
30010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
30011 New file.
30012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
30013 New file.
30014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
30015 file.
30016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
30017 New file.
30018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
30019 New file.
30020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
30021 file.
30022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
30023 New file.
30024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
30025 New file.
30026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
30027 New file.
30028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
30029 New file.
30030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
30031 New file.
30032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
30033 New file.
30034 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
30035 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
30036 file.
30037 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
30038 New file.
30039 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
30040 file.
30041 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
30042 file.
30043 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
30044 file.
30045 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
30046 file.
30047 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
30048 file.
30049 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
30050 New file.
30051 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
30052 file.
30053 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
30054 file.
30055 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
30056 New file.
30057 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
30058 file.
30059 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
30060 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
30061 file.
30062 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
30063 New file.
30064 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
30065 file.
30066 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
30067 file.
30068 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
30069 file.
30070 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
30071 file.
30072 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
30073 file.
30074 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
30075 New file.
30076 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
30077 file.
30078 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
30079 file.
30080 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
30081 New file.
30082 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
30083 file.
30084 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
30085 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
30086 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
30087 file.
30088 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
30089 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
30090 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
30091 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
30092 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
30093 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
30094 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
30095 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
30096 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
30097 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
30098 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
30099 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
30100 file.
30101 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
30102 New file.
30103 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
30104 file.
30105 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
30106 file.
30107 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
30108 file.
30109 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
30110 file.
30111 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
30112 file.
30113 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
30114 New file.
30115 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
30116 New file.
30117 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
30118 file.
30119 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
30120 New file.
30121 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
30122 file.
30123 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
30124 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
30125 file.
30126 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
30127 New file.
30128 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
30129 file.
30130 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
30131 file.
30132 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
30133 file.
30134 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
30135 file.
30136 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
30137 file.
30138 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
30139 New file.
30140 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
30141 New file.
30142 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
30143 file.
30144 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
30145 New file.
30146 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
30147 file.
30148
41d73a1b
JM
301492012-04-28 Joseph Myers <joseph@codesourcery.com>
30150
30151 * conform/conformtest.pl: Fix typo in handling typed-constant from
30152 allow-header.
30153
28aeeda4
JM
301542012-04-27 Joseph Myers <joseph@codesourcery.com>
30155
adae8f5e
JM
30156 * README: Cut down references to pre-2.6 Linux kernels and
30157 Linuxthreads. Update lists of configurations in libc and ports
30158 and sort alphabetically. Say "or newer" with Linux kernel version
30159 requirements.
30160
28aeeda4
JM
30161 * config.h.in [IS_IN_build]: Allow compiling without optimization.
30162
a462cb63
RA
301632012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
30164
30165 [BZ #887]
30166 * math/libm-test.inc (logb_test_downward): New test to expose
30167 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
30168 rounding mode.
30169
6ad3493e
JM
301702012-04-27 Joseph Myers <joseph@codesourcery.com>
30171
30172 [BZ #14027]
30173 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
30174 to be done.
30175 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
30176 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
30177
2ce4f015
JM
301782012-04-26 Joseph Myers <joseph@codesourcery.com>
30179
5aeb141a
JM
30180 * sysdeps/unix/i386/brk.S: Remove file.
30181 * sysdeps/unix/i386/dl-brk.S: Likewise.
30182 * sysdeps/unix/i386/pipe.S: Likewise.
30183 * sysdeps/unix/i386/sigreturn.S: Likewise.
30184 * sysdeps/unix/i386/syscall.S: Likewise.
30185 * sysdeps/unix/i386/vfork.S: Likewise.
30186 * sysdeps/unix/i386/wait.S: Likewise.
30187
7143acae
JM
30188 * sysdeps/unix/common/tcsendbrk.c: Move to ...
30189 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
30190
2ce4f015
JM
30191 * configure.in (arm*-none*): Do not allow without
30192 --enable-hacker-mode.
30193 (netbsd*): Remove case setting base_os.
30194 (386bsd*): Likewise.
30195 (freebsd*): Likewise.
30196 (bsdi*): Likewise.
30197 (osf*): Likewise.
30198 (sunos*): Likewise.
30199 (ultrix*): Likewise.
30200 (newsos*): Likewise.
30201 (dynix*): Likewise.
30202 (*bsd*): Likewise.
30203 (sysv*): Likewise.
30204 (isc*): Likewise.
30205 (esix*): Likewise.
30206 (sco*): Likewise.
30207 (minix*): Likewise.
30208 (irix4*): Likewise.
30209 (irix6*): Likewise.
30210 (solaris[2-9]*): Likewise.
30211 (none): Likewise.
30212 * configure: Regenerated.
30213
0ac229c8
AZ
302142012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30215
30216 [BZ #11521]
30217 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
30218 overflow or cancellation in calculating denominator.
30219 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
30220 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
30221 down expression to avoid unexpected rounding in newer GCCs.
30222 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
30223
33f244f4
DM
302242012-04-26 David S. Miller <davem@davemloft.net>
30225
30226 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
30227 long-double compat symbols.
30228 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
30229 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
30230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
30231 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
30232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
30233 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
30234 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
30235 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
30236 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
30237 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
30238 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
30239 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
30240 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
30241
cfa1f3e8
DM
302422012-04-25 David S. Miller <davem@davemloft.net>
30243
30244 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
30245 HWCAP_* values only after the memory barriers have been defined.
30246 (atomic_full_barrier): Define.
30247 (atomic_read_barrier): Define.
30248 (atomic_write_barrier): Define.
30249
6e236b92
SP
302502012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
30251
30252 * shlib-versions: Add libgcc_s version information.
30253 * sysdeps/generic/libgcc_s.h: Remove.
30254 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
30255 libgcc_s.h.
30256 * sysdeps/gnu/unwind-resume.c: Likewise.
30257 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
30258
aab39a09
DM
302592012-04-25 David S. Miller <davem@davemloft.net>
30260
30261 * sysdeps/unix/sparc/brk.S: Delete.
30262 * sysdeps/unix/sparc/dl-brk.S: Delete.
30263 * sysdeps/unix/sparc/pipe.S: Delete.
30264 * sysdeps/unix/sparc/sysdep.S: Delete.
30265 * sysdeps/unix/sparc/sysdep.h: Delete.
30266 * sysdeps/unix/sparc/vfork.S: Delete.
30267 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
30268 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
30269 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
30270 ret_ERRVAL, r0, r1, MOVE): Define.
30271 (JUMPTARGET): Remove.
30272 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
30273 sysdeps/unix/sparc/sysdep.h
30274 (ENTRY, END): Remove.
30275 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30276
a3cc4f48
JM
302772012-04-25 Joseph Myers <joseph@codesourcery.com>
30278
2ed8cda2
JM
30279 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
30280 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
30281 -DIS_IN_build.
30282
35d76d59
JM
30283 * timezone/README: Update upstream location and email address for
30284 tzcode and tzdata.
30285 * timezone/zdump.c: Update from tzcode 2012b.
30286 * timezone/zic.c: Likewise.
30287
a3cc4f48
JM
30288 * configure.in (libc_cv_as_needed): Remove test.
30289 * configure: Regenerated.
30290 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
30291 conditional definition.
30292 [$(have-as-needed) != yes] (no-as-needed): Likewise.
30293 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
30294 * config.make.in (have-as-needed): Remove variable.
30295
ceab42c3
SP
302962012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
30297 Paul Pluzhnikov <ppluzhnikov@google.com>
30298
30299 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
30300 strings correctly.
30301
3ce2865f
CLT
303022012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
30303
30304 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
30305 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
30306 * sysdeps/sh/strlen.S: Likewise.
30307
f37e0d68
JM
303082012-04-24 Joseph Myers <joseph@codesourcery.com>
30309
ae186e9a
JM
30310 * sysdeps/unix/fork.S: Remove file.
30311 * sysdeps/unix/i386/fork.S: Likewise.
30312 * sysdeps/unix/sparc/fork.S: Likewise.
30313
b96914af
JM
30314 * sysdeps/unix/system.c: Remove file.
30315 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
30316
f37e0d68
JM
30317 * sysdeps/unix/getegid.S: Remove file.
30318 * sysdeps/unix/geteuid.S: Likewise.
30319
87ef29ca
RM
303202012-04-24 Roland McGrath <roland@hack.frob.com>
30321
83bcd236
RM
30322 * scripts/check-localplt.awk: New file.
30323 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
30324 of diff.
30325 * scripts/data/localplt-generic.data: Add a comment.
30326
87ef29ca
RM
30327 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
30328 NODE when __dir_mkfile failed.
30329 * sysdeps/mach/hurd/symlinkat.c: Likewise.
30330 Reported by Ludovic Courtès <ludo@gnu.org>.
30331
e5a6e567
AJ
303322012-04-24 Andreas Jaeger <aj@suse.de>
30333
30334 * Makerules (common-clean): Also remove gen-as-const-headers
30335 files.
30336
c1820385
JM
303372012-04-24 Joseph Myers <joseph@codesourcery.com>
30338
30339 * Makerules (native-compile): Do not change working directory for
30340 build. Use $(OUTPUT_OPTION) in command.
30341 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
30342
94e02fc4
AZ
303432012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30344
30345 [BZ #13886]
30346 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
30347 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
30348 * math/libm-test.inc (floor_test): Add more tests.
30349 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
30350
3a533ca3
JM
303512012-04-24 Joseph Myers <joseph@codesourcery.com>
30352
940ab4b3
JM
30353 * sysdeps/unix/getdents.c: Remove file.
30354 * sysdeps/unix/sysv/getdents.c: Likewise.
30355 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
30356
90e037bd
JM
30357 * sysdeps/unix/syscalls.list (madvise): Add syscall from
30358 sysdeps/unix/mman/syscalls.list.
30359 (mmap): Likewise.
30360 (mprotect): Likewise.
30361 (msync): Likewise.
30362 (munmap): Likewise.
30363 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
30364 * sysdeps/unix/mman/syscalls.list: Remove.
30365 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
30366
3a533ca3
JM
30367 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
30368 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
30369 * configure: Regenerated.
30370 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
30371 $(libgcc_s_suffix).
30372 * config.make.in (libgcc_s_suffix): Remove variable.
30373
1ad743de
JM
303742012-04-23 Joseph Myers <joseph@codesourcery.com>
30375
4ad451e2
JM
30376 * sysdeps/unix/sysv/gethostname.c: Move to ...
30377 * sysdeps/posix/gethostname.c: ... here.
30378
5e37ce39
JM
30379 * sysdeps/unix/execve.S: Remove file.
30380
1ad743de
JM
30381 * sysdeps/unix/_exit.S: Remove file.
30382
4e681b5b
AJ
303832012-04-23 Andreas Jaeger <aj@suse.de>
30384
30385 [BZ #13739]
30386 * manual/Makefile: Remove make dist support, there's no
30387 need for a stand-alone documentation tar ball.
30388 (TEXI2DVI): Define always, it's not in Makeconfig.
30389 (dist): Removed.
30390 (tar-it): Removed.
30391 (edition): Removed.
30392 (glibc-doc-$(edition).tar): Removed
30393 (%.Z): Removed.
30394 (%.gz): Removed.
30395 (%.uu): Removed.
30396 (ETAGS): Remove, it's in Makeconfig.
30397 (move-if-change): Remove, it's in Makeconfig.
30398
38686a03 303992012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
30400
30401 [BZ #13970]
30402 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
30403 (strtod, strtof, strtold, strtol, strtoul, strtoq)
30404 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
30405 (strtod_l, strtof_l, strtold_l): Remove __wur.
30406 It is not necessarily an error to ignore strtol's return value.
30407 One can reliably look at the stored endptr to decide whether
30408 the number had valid syntax.
30409
7c0616fa
AJ
304102012-04-21 Andreas Jaeger <aj@suse.de>
30411
803cb6b7 30412 [BZ #13739]
7c0616fa
AJ
30413 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
30414
b0fe253f
JM
304152012-04-21 Joseph Myers <joseph@codesourcery.com>
30416
30417 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
30418 * sysdeps/unix/sysv/Versions: Remove file.
30419
8280f22d
MT
304202012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
30421
30422 [BZ #13927]
30423 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30424
75ce411f 304252012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
30426
30427 [BZ #7064]
30428 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
30429 version from __vm86.
30430
097d59fa
JM
304312012-04-20 Joseph Myers <joseph@codesourcery.com>
30432
a90f3bcb
JM
30433 * sysdeps/unix/common/lxstat.c: Remove file.
30434 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
30435
edc7ea78
JM
30436 * sysdeps/unix/sysv/Makefile: Remove file.
30437
cb78c221
JM
30438 * sysdeps/unix/sysv/direct.h: Remove file.
30439
efa6a45f
JM
30440 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
30441 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
30442 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
30443 * sysdeps/unix/sysv/bits/signum.h: Likewise.
30444 * sysdeps/unix/sysv/bits/stat.h: Likewise.
30445 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
30446 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
30447
9c9f2d0c
JM
30448 * sysdeps/unix/sysv/setrlimit.c: Remove file.
30449
4541c83b
JM
30450 * sysdeps/unix/xmknod.c: Remove file.
30451 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
30452
f5d153a0
JM
30453 * sysdeps/unix/sysv/settimeofday.c: Remove file.
30454
aa746595
JM
30455 * sysdeps/unix/sysv/i386/time.S: Remove file.
30456
cce5905e
JM
30457 * sysdeps/unix/fxstat.c: Remove file.
30458 * sysdeps/unix/xstat.c: Likewise.
30459 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
30460
37fa3841
JM
30461 * sysdeps/unix/sysv/sigaction.c: Remove file.
30462
ff1962a3
JM
30463 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
30464 (sysdep_headers): Remove variable.
30465 [termio.h not in sysdep_headers] (generated): Likewise.
30466 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
30467 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
30468 * sysdeps/unix/sysv/tcdrain.c: Likewise.
30469 * sysdeps/unix/sysv/tcflow.c: Likewise.
30470 * sysdeps/unix/sysv/tcflush.c: Likewise.
30471 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
30472 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
30473 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
30474 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
30475 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
30476
e7740d31
JM
30477 * sysdeps/unix/siglist.c: Remove file.
30478
ee06f18b
JM
30479 * sysdeps/unix/getppid.S: Remove file.
30480
097d59fa
JM
30481 * sysdeps/unix/mkdir.c: Remove file.
30482 * sysdeps/unix/rmdir.c: Likewise.
30483
ff3d51ec
AS
304842012-04-19 Andreas Schwab <schwab@linux-m68k.org>
30485
30486 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
30487 ERR_MAX value.
30488 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
30489 errlist-compat value.
30490
50f81fd7
DM
304912012-04-18 David S. Miller <davem@davemloft.net>
30492
30493 * sysdeps/generic/memcopy.h (reg_char): Delete.
30494 * debug/strcat_chk.c: Use char, not reg_char.
30495 * debug/strcpy_chk.c: Likewise.
30496 * debug/strncat_chk.c: Likewise.
30497 * debug/strncpy_chk.c: Likewise.
30498 * string/memchr.c: Likewise.
30499 * string/memrchr.c: Likewise.
30500 * string/rawmemchr.c: Likewise.
30501 * string/strcat.c: Likewise.
30502 * string/strchr.c: Likewise.
30503 * string/strchrnul.c: Likewise.
30504 * string/strcmp.c: Likewise.
30505 * string/strcpy.c: Likewise.
30506 * string/strncat.c: Likewise.
30507 * string/strncmp.c: Likewise.
30508 * string/strncpy.c: Likewise.
30509
8ff41c46
WS
305102012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
30511
30512 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
30513 __builtin_memcopy is called when src and dest ranges are known to not
30514 overlap.
30515
6b652f46
WS
305162012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
30517
30518 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
30519 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
30520 fwd_align_merge macro call.
30521 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
30522 bwd_align_merge macro call.
30523 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
30524
b282631e
WS
305252012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
30526
30527 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
30528 bwd_align_merge macros.
30529 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
30530 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
30531 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
30532
95aa737c
DM
305332012-04-18 David S. Miller <davem@davemloft.net>
30534
30535 * sysdeps/sparc/sparc64/memcopy.h: Delete.
30536
7a99a614
AJ
305372012-04-18 Andreas Jaeger <aj@suse.de>
30538
30539 [BZ# 6794]
30540 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
30541 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
30542 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
30543
30544 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
30545 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
30546 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
30547
30548 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
30549 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
30550 Adjust for changed ldbl-128 files.
30551
30552 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
30553 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
30554 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
30555
e5270c23
DM
305562012-04-17 David S. Miller <davem@davemloft.net>
30557
30558 * sysdeps/sparc/sparc32/memcopy.h: Delete.
30559
fb5e92c9
AS
305602012-04-17 Andreas Schwab <schwab@linux-m68k.org>
30561
30562 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
30563 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
30564 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
30565 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
30566 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
30567 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
30568
76da7265
AZ
305692012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30570
30571 [BZ #6794]
30572 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
30573 * math/libm-test.inc: Add ilogb errno and exception tests.
30574 * math/w_ilogb.c: New file: ilogb wrapper.
30575 * math/w_ilogbf.c: New file: ilogbf wrapper.
30576 * math/w_ilogbl.c: New file: ilogbl wrapper.
30577 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
30578 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
30579 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
30580 exception being thrown with 0.0 as argument.
30581 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
30582 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
30583 exception being thrown with 0.0 as argument.
30584 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
30585 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
30586 exception being thrown with 0.0 as argument.
30587 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
30588 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
30589 exception being thrown with 0.0 as argument.
30590 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
30591 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 30592 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
30593 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
30594 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
30595 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
30596 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
30597 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
30598 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
30599
0396e69d
PB
306002012-04-17 Petr Baudis <pasky@ucw.cz>
30601
30602 * include/sys/uio.h: Change __vector to __iovec to avoid clash
30603 with altivec.
30604
750b5926
MP
306052012-04-16 Marek Polacek <polacek@redhat.com>
30606
30607 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
30608
751728a1
MP
306092012-04-16 Marek Polacek <polacek@redhat.com>
30610
30611 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
30612 operands of fdivp instruction.
30613
34a27407
L
306142012-04-13 H.J. Lu <hongjiu.lu@intel.com>
30615
30616 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
30617 * elf/tst-auditmod3b.c: Likewise.
30618 * elf/tst-auditmod4b.c: Likewise.
30619 * elf/tst-auditmod5b.c: Likewise.
30620 * elf/tst-auditmod6b.c: Likewise.
30621 * elf/tst-auditmod6c.c: Likewise.
30622 * elf/tst-auditmod7b.c: Likewise.
30623 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
30624 * sysdeps/x86_64/preconfigure.in: Likewise.
30625 * sysdeps/x86_64/preconfigure: Regenerated.
30626
7e73e17d
L
306272012-04-13 H.J. Lu <hongjiu.lu@intel.com>
30628
30629 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
30630 __ILP32__.
30631
c7a6ab72
AB
306322012-04-13 Antoine Balestrat <merkil33@gmail.com>
30633
30634 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
30635 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
30636
a9e8e0e0
CL
306372012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
30638
30639 [BZ #13973]
30640 * locale/iso-639.def: Fix gl language name. Spotted by
30641 Yaron Shahrabani.
30642
ec98af7d
RM
306432012-04-12 Roland McGrath <roland@hack.frob.com>
30644
30645 [BZ #2074]
30646 * libio/libio.h (__io_write_fn): Update comment.
30647
247c3ede
PB
306482012-04-12 Petr Baudis <pasky@ucw.cz>
30649
30650 [BZ #2074]
30651 * stdio.texi (Hook Functions): The user provided writer function
30652 is not allowed to return -1.
30653
55939d6d
DM
306542012-04-11 David S. Miller <davem@davemloft.net>
30655
30656 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30657
90020f5a
MF
306582012-04-11 Mike Frysinger <vapier@gentoo.org>
30659
30660 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
30661 Add a leading slash to rtkaio.
30662
288f9098
JM
306632012-04-11 Jim Meyering <meyering@redhat.com>
30664
90020f5a
MF
30665 [BZ #11959]
30666 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
30667 It is not necessarily an error to ignore fwrite's return
30668 value. One can reliably use ferror to test for errors after
30669 the fact.
288f9098 30670
4be2b570
L
306712012-04-10 H.J. Lu <hongjiu.lu@intel.com>
30672
30673 * bits/types.h (__snseconds_t): New type.
30674 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
30675
30676 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
30677 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30678 (__SNSECONDS_T_TYPE): Likewise.
30679 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30680 (__SNSECONDS_T_TYPE): Likewise.
30681 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30682 (__SNSECONDS_T_TYPE): Likewise.
30683
288f9098 306842012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
30685
30686 [BZ #2636]
30687 * manual/time.texi (Processor Time): Return type of times is
30688 elapsed real time since an arbitrary point in the past.
30689 (CPU Time): Move CLK_TCK from here...
30690 (Processor Time): ...to here. Correct description.
30691 * manual/conf.texi (Constants for Sysconf): Correct description of
30692 _SC_CLK_TCK.
30693
d7dd4413
DM
306942012-04-10 David S. Miller <davem@davemloft.net>
30695
30696 [BZ #13967]
30697 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
30698 where the is a gap between DT_REL(A) and DT_JMPREL.
30699
b46068fc
L
307002012-04-10 H.J. Lu <hongjiu.lu@intel.com>
30701
30702 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
30703 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
30704 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
30705
73d65cc3
SP
307062012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
30707
30708 * elf/dl-support.c (_dl_inhibit_cache): New variable.
30709 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
30710 (dl_main): Handle --inhibit-cache.
30711 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
30712 _dl_inhibit_cache.
30713 * elf/dl-load.c (_dl_map_object): Use it.
30714 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
30715
bcc8d661
JM
307162012-04-09 Joseph Myers <joseph@codesourcery.com>
30717
8f9a2fae
JM
30718 [BZ #13872]
30719 * sysdeps/i386/fpu/e_powl.S (p78): New object.
30720 (__ieee754_powl): Saturate large exponents rather than testing for
30721 overflow of y*log2(x).
30722 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30723 * math/libm-test.inc (pow_test): Do not permit spurious overflow
30724 exceptions.
30725
bcc8d661
JM
30726 [BZ #11521]
30727 * math/s_ctan.c: Include <float.h>.
30728 (__ctan): Avoid internal overflow or cancellation in calculating
30729 denominator.
30730 * math/s_ctanf.c: Likewise.
30731 * math/s_ctanl.c: Likewise.
30732 * math/s_ctanh.c: Likewise.
30733 * math/s_ctanhf.c: Likewise.
30734 * math/s_ctanhl.c: Likewise.
30735 * math/libm-test.inc (ctan_test): Add more tests.
30736 (ctanh_test): Likewise.
30737 * sysdeps/i386/fpu/libm-test-ulps: Update.
30738 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30739
823fbbb4
AJ
307402012-04-09 Andreas Jaeger <aj@suse.de>
30741
03879793
AJ
30742 [BZ #6894]
30743 * manual/filesys.texi (Directory Entries): Mention that d_namlen
30744 is an optional BSD extension.
30745
823fbbb4
AJ
30746 [BZ #10254]
30747 * manual/stdio.texi (Opening Streams): Document additional fopen
30748 parameters.
30749
8de131cb
RM
307502012-04-09 Roland McGrath <roland@hack.frob.com>
30751
30752 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
30753 %eax without telling the compiler.
30754
c0ed9d7d
CD
307552012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
30756
30757 [BZ # 13963]
30758 * manual/install.texi: Use sourceware.org.
30759
c483f6b4
JM
307602012-04-09 Joseph Myers <joseph@codesourcery.com>
30761
d7dd9453
JM
30762 [BZ #13873]
30763 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
30764 (__ieee754_pow): Generate overflow and underflow using huge*huge
30765 and tiny*tiny rather than just returning constant infinity or zero
30766 for large exponents.
30767 * math/libm-test.inc (pow_test): Require overflow exceptions for
30768 applicable cases of large exponents.
30769
c483f6b4
JM
30770 [BZ #706]
30771 * sysdeps/i386/fpu/e_pow.S (p10): New object.
30772 (__ieee754_pow): Use iterative multiplication algorithm only for
30773 integer exponents with absolute value below 1024. Check for odd
30774 integer exponents when using algorithm for real exponents.
30775 * math/libm-test.inc (pow_test): Add more tests.
30776 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30777
d2de7579
JM
307782012-04-08 Joseph Myers <joseph@codesourcery.com>
30779
30780 [BZ #13705]
30781 * math/libm-test.inc (exp_test): Do not allow overflow exception
30782 on underflow test.
30783
f77f1232
AJ
307842012-04-08 Aurelien Jarno <aurelien@aurel32.net>
30785
30786 [BZ #13705]
30787 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
30788 instead of __kernel_standard_f.
30789
3884932b
MF
307902012-04-08 Mike Frysinger <vapier@gentoo.org>
30791
30792 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
30793 * sysdeps/x86_64/memset_chk.S: Likewise.
30794
54472e9c
AJ
307952012-04-08 Andreas Jaeger <aj@suse.de>
30796
6ab0fbfc
AJ
30797 [BZ #10153]
30798 * manual/startup.texi (Environment Access): Describe return value
30799 for putenv and setenv.
30800
61efba8c
AJ
30801 [BZ #6895]
30802 * manual/filesys.texi (Directory Entries): Add description for
30803 DT_LNK.
30804
95c3f29a
AJ
30805 [BZ #6890]
30806 * manual/filesys.texi (Directory Entries): Clarify that it's file
30807 system not operating system in the description of DT_UNKNOWN.
30808
54472e9c
AJ
30809 [BZ #6578]
30810 * manual/syslog.texi (closelog): Fix reference, it's openlog.
30811
624254b1
SC
308122012-04-08 Stephen Compall <s11@member.fsf.org>
30813
30814 [BZ #6649]
30815 * manual/llio.texi (Opening and Closing Files): Add cross
30816 reference to explain mode argument.
30817
1e4920e0
MF
308182012-04-07 Mike Frysinger <vapier@gentoo.org>
30819
30820 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
30821 * sysdeps/x86_64/memset_chk.S: Likewise.
30822
5ed848f3
DM
308232012-04-07 David S. Miller <davem@davemloft.net>
30824
30825 * elf/elf.h (R_SPARC_WDISP10): Define.
30826 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
30827 R_SPARC_SIZE32.
30828 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
30829 R_SPARC_SIZE64 and R_SPARC_H34.
30830
96154cd8
CD
308312012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
30832
30833 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
30834 conditions and remove no longer applicable assertion.
30835
9904dc47
L
308362012-04-06 H.J. Lu <hongjiu.lu@intel.com>
30837
30838 * bits/byteswap.h: Include <features.h>.
30839 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
30840 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
30841
f8887d0a
L
308422012-04-06 H.J. Lu <hongjiu.lu@intel.com>
30843
30844 * bits/byteswap.h (__bswap_16): Removed.
30845 Include <bits/byteswap-16.h> to get __bswap_16.
30846 * sysdeps/i386/bits/byteswap.h: Likewise.
30847 * sysdeps/s390/bits/byteswap.h: Likewise.
30848 * sysdeps/x86_64/bits/byteswap.h: Likewise.
30849 * bits/byteswap-16.h: New file.
30850 * sysdeps/i386/bits/byteswap-16.h: Likewise.
30851 * sysdeps/s390/bits/byteswap-16.h: Likewise.
30852 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
30853 * string/Makefile (headers): Add bits/byteswap-16.h.
30854
62470f60
PP
308552012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
30856
30857 [BZ #13895]
30858 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
30859 extra indirection.
30860 * nss/Makefile (tests-static, tests): Add tst-nss-static.
30861 * nss/tst-nss-static.c: New.
30862
4dad7bab
RM
308632012-04-06 Robert Millan <rmh@gnu.org>
30864
30865 [BZ #6486]
30866 * manual/llio.texi (File Position Primitive): lseek
30867 refers to WHENCE when it really means OFFSET.
30868
e9142a17
AJ
308692012-04-06 Andreas Jaeger <aj@suse.de>
30870
2c040eff
AJ
30871 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
30872 strncmp declarations.
30873
e9142a17
AJ
30874 * abilist/libc.abilist: Add __poll and __ppoll.
30875
ff9f1c5f
DM
308762012-04-05 David S. Miller <davem@davemloft.net>
30877
dcd2ae90
DM
30878 * scripts/check-local-headers.sh: Accept a host triplet in the
30879 path matched by the exclude regexp.
30880
993eb054
DM
30881 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
30882 definition.
30883 * sysdeps/powerpc/powerpc32/dl-machine.h
30884 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
30885 * sysdeps/s390/s390-32/dl-machine.h
30886 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
30887 * sysdeps/sparc/sparc32/dl-machine.h
30888 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
30889 * sysdeps/sparc/sparc64/dl-machine.h
30890 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
30891
ff9f1c5f
DM
30892 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
30893 lazy binding.
48e2e132 30894 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
30895 undefined symbol errors.
30896
48e2e132 30897 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
30898 DT_NEEDED entries.
30899
e80d6f94
MM
309002012-04-05 Michael Matz <matz@suse.de>
30901
30902 [BZ #13592]
30903 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
30904
349fa79f
AJ
309052012-04-05 Andreas Jaeger <aj@suse.de>
30906
30907 [BZ #13908]
30908 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
30909 comment.
30910
f402708f
KK
309112012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
30912
30913 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
30914 which ROUND is no valid rounding mode.
30915
2ecccfc9
KK
309162012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
30917
30918 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
30919 read again.
30920 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
30921
8a53f50f
KK
309222012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
30923
30924 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
30925 an exception using FPU order intentionally.
30926
309272012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
30928
30929 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
30930 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
30931 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
30932 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
30933
d653abb7
SJ
309342012-04-05 Simon Josefsson <simon@josefsson.org>
30935
30936 [BZ #12340]
30937 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
30938 EINVAL when BUFLEN is too smal.
30939
c3b1bf7d
TS
309402012-04-05 Thomas Schwinge <thomas@codesourcery.com>
30941
30942 [BZ #13553]
30943 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
30944 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
30945
b1aa60f3
AJ
309462012-04-03 Andreas Jaeger <aj@suse.de>
30947
c3b1bf7d 30948 [BZ #13938]
67f60a26
AJ
30949 * manual/setjmp.texi (System V contexts): Fix sentence.
30950
b1aa60f3
AJ
30951 [BZ #13926]
30952 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
30953 New macro for this case.
30954 [!__GNUC__] (__bswap_64): New inline function for this case.
30955 * sysdeps/x86_64/bits/byteswap.h: Likewise.
30956 * bits/byteswap.h: Likewise.
30957 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
30958 ull, guard with __GLIBC_HAVE_LONG_LONG.
30959
30960 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
30961 __GLIBC_HAVE_LONG_LONG.
30962
30963 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
30964 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
30965
39c59c35
TMQMF
309662012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30967
30968 [BZ #13691]
30969 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
30970 inptr and inend, rather than using last_ch.
30971
135ffda8
DM
309722012-04-02 David S. Miller <davem@davemloft.net>
30973
30974 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
30975 * stdio-common/printf-parse.h (read_int): Change return type to
30976 'int', return -1 on INT_MAX overflow.
30977 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
30978 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
30979 overflows INT_MAX. Check for overflow of in-format-string precision
30980 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
30981 SIZE_MAX not INT_MAX for integer overflow test.
30982 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
30983 skip the construct in the format string but do not record anything.
30984 * stdio-common/bug22.c: Adjust to test both width/prevision
30985 INT_MAX overflow as well as total length INT_MAX overflow. Check
30986 explicitly for proper errno values.
30987
228c019e
TS
309882012-04-02 Thomas Schwinge <thomas@codesourcery.com>
30989
302cadd3
TS
30990 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
30991 CHAR_MAX.
30992 * string/test-strcmp.c [! WIDE]: Likewise.
30993 * time/tst-mktime2.c: Likewise for INT_MAX.
30994 * string/test-string.h: #include <sys/param.h> for MIN.
30995
228c019e
TS
30996 * csu/init-first.c (__libc_init_first): Call __ctype_init.
30997 * sysdeps/i386/init-first.c (init): Likewise.
30998 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
30999 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
31000 * sysdeps/sh/init-first.c (init): Likewise.
31001
cfa633f5
UD
310022012-04-01 Ulrich Drepper <drepper@gmail.com>
31003
31004 * po/ru.po: Update from translation team.
d1635ef8 31005 * po/vi.po: Likewise.
cfa633f5 31006
6cd0a5ea
SP
310072012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
31008
31009 * resolv/nss_dns/dns-host.c: Merge copyright years.
31010
4b43400f
LD
310112012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31012
31013 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
31014 Optimize memcpy with prefetch if
31015 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
31016 src, dst pointers have unequal 16 byte alignments.
31017
48c41d04
SP
310182012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
31019
31020 [BZ #13928]
31021 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
31022 from a CNAME entry and return the minimum ttl for the query.
31023 (gaih_getanswer_slice): Likewise.
31024
b8dc394d
JL
310252012-03-30 Jeff Law <law@redhat.com>
31026
31027 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
31028 due to long keys.
31029 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
31030 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
31031
2f5a5ed0
JL
31032 * resolv/nss_dns/dns-host.c: Update copyright year.
31033
1d39e359
UD
310342012-03-30 Ulrich Drepper <drepper@gmail.com>
31035
c030f70c 31036 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 31037 requests to save a system call. Fix check that all bytes are sent.
c030f70c 31038
1d39e359
UD
31039 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
31040 comments for sendmmsg.
31041
310422012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
31043
31044 [BZ #13691]
31045 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
31046 with only 1 character between 0x0041 and 0x01b0.
31047 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
31048 * wcsmbs/tst-mbsnrtowcs.c: New file.
31049
20fde227
DM
310502012-03-29 David S. Miller <davem@davemloft.net>
31051
31052 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
31053 small copies by hand.
31054
984a4237
JL
310552012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
31056
31057 [BZ #13761]
31058 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
31059 _nss_compat_initgroups_dyn): Fall back to malloc/free
31060 for large group memberships.
31061
18c9d62b
DM
310622012-03-28 David S. Miller <davem@davemloft.net>
31063
88d85d4f
DM
31064 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
31065 that branches into memcpy.
31066 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
31067 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
31068 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
31069 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
31070 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
31071 bits.
31072 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
31073 implementation too.
31074 * sysdeps/sparc/mempcpy.S: New file.
31075
e5aa83e1
DM
31076 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
31077 the IFUNC routine in the libc case.
31078 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
31079
88570753
DM
31080 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
31081 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
31082 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
31083 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
31084 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
31085 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
31086 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
31087 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
31088
249d7567
DM
31089 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
31090 loop to 256 bytes instead of 64 bytes and fix test signedness.
31091
18c9d62b
DM
31092 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
31093 * sysdeps/sparc/sparc32/Makefile: rather than here...
31094 * sysdeps/sparc/sparc64/Makefile: and here.
31095
05f3d1f6
UD
310962012-03-28 Ulrich Drepper <drepper@gmail.com>
31097
31098 * malloc/mallocbug.c: Avoid warnings about unused variables.
31099
86ae07a8
JL
311002012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
31101
31102 [BZ #13760]
31103 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
31104 in the right place. Discard and retry query if response is
31105 larger than input buffer size.
31106
41bf21a1
JM
311072012-03-28 Joseph Myers <joseph@codesourcery.com>
31108
d6270972
JM
31109 [BZ #369]
31110 [BZ #2678]
31111 [BZ #3866]
31112 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
31113 x for large integer exponent.
31114 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
31115 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
31116 sign of result as needed afterwards.
31117 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
31118 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
31119 result for underflowing pow the same as for overflow.
31120 (__kernel_standard_l): Handle powl overflow and underflow here
31121 rather than calling __kernel_standard.
31122 * math/libm-test.inc (pow_test): Add more tests.
31123
414fca03 31124 [BZ #3868]
41bf21a1
JM
31125 [BZ #13879]
31126 [BZ #13910]
31127 [BZ #13911]
31128 [BZ #13912]
31129 [BZ #13913]
31130 [BZ #13915]
31131 [BZ #13916]
31132 [BZ #13917]
31133 [BZ #13918]
31134 [BZ #13919]
31135 [BZ #13920]
31136 [BZ #13921]
31137 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
31138 * sysdeps/ieee754/k_standard.c: Include <float.h>.
31139 (__kernel_standard_l): New function.
31140 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
31141 __kernel_standard.
31142 * math/w_acosl.c (__acosl): Likewise.
31143 * math/w_asinl.c (__asinl): Likewise.
31144 * math/w_atan2l.c (__atan2l): Likewise.
31145 * math/w_atanhl.c (__atanhl): Likewise.
31146 * math/w_coshl.c (__coshl): Likewise.
31147 * math/w_exp10l.c (__exp10l): Likewise.
31148 * math/w_exp2l.c (__exp2l): Likewise.
31149 * math/w_fmodl.c (__fmodl): Likewise.
31150 * math/w_hypotl.c (__hypotl): Likewise.
31151 * math/w_j0l.c (__j0l, __y0l): Likewise.
31152 * math/w_j1l.c (__j1l, __y1l): Likewise.
31153 * math/w_jnl.c (__jnl, __ynl): Likewise.
31154 * math/w_lgammal.c (__lgammal): Likewise.
31155 * math/w_log10l.c (__log10l): Likewise.
31156 * math/w_log2l.c (__log2l): Likewise.
31157 * math/w_logl.c (__logl): Likewise.
31158 * math/w_powl.c (__powl): Likewise.
31159 * math/w_remainderl.c (__remainderl): Likewise.
31160 * math/w_scalbl.c (sysv_scalbl): Likewise.
31161 * math/w_sinhl.c (__sinhl): Likewise.
31162 * math/w_sqrtl.c (__sqrtl): Likewise.
31163 * math/w_tgammal.c (__tgammal): Likewise.
31164 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
31165 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
31166 * math/libm-test.inc (acos_test): Add more tests.
31167 (acosh_test): Likewise.
31168 (asin_test): Likewise.
31169 (atanh_test): Likewise.
31170 (exp_test): Likewise.
31171 (exp10_test): Likewise.
31172 (exp2_test): Likewise.
31173 (expm1_test): Likewise.
31174 (lgamma_test): Likewise.
31175 (log_test): Likewise.
31176 (log10_test): Likewise.
31177 (log1p_test): Likewise.
31178 (log2_test): Likewise.
31179 (pow_test): Do not allow some spurious overflow exceptions.
31180 (sqrt_test): Add more tests.
31181 (tgamma_test): Likewise.
31182 (y0_test): Likewise.
31183 (y1_test): Likewise.
31184 (yn_test): Likewise.
31185
dd62fda6
AB
311862012-03-27 Anton Blanchard <anton@samba.org>
31187
31188 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
31189 MAP_HUGETLB.
31190 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
31191 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
31192 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
31193
1e3cdfda
AJ
311942012-03-27 David S. Miller <davem@davemloft.net>
31195
b855ab85
DM
31196 * conform/Makefile: Run run-conformtest.sh using $(BASH).
31197
1e3cdfda
AJ
31198 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
31199 have-as-vis3 check.
31200
312012012-03-27 Andreas Jaeger <aj@suse.de>
31202
31203 * sysdeps/x86_64/elf/configure.in: Moved to ...
31204 * sysdeps/x86_64/configure.in: ... here.
31205 * sysdeps/x86_64/elf/start.S: Moved to ...
31206 * sysdeps/x86_64/start.S: ... here.
31207 * sysdeps/x86_64/elf/configure: Delete.
31208
31209 * sysdeps/x86_64/configure.in: Merge contents from
31210 sysdeps/i386/configure.in (without i686 check).
31211
31212 * sysdeps/i386/elf/Versions: Merge into ...
31213 * sysdeps/i386/Versions: ... this.
31214 * sysdeps/i386/elf/Versions: Delete file.
31215 * sysdeps/i386/elf/start.S: Moved to ...
31216 * sysdeps/i386/start.S: ...here.
31217 * sysdeps/i386/elf/configure.in: Merge into...
31218 * sysdeps/i386/configure.in: ...here.
31219 * sysdeps/i386/elf/configure.in: Delete file.
31220 * sysdeps/i386/elf/configure: Delete file.
31221
31222 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
31223 * debug/backtracesyms.c: ... here.
31224 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
31225 * debug/backtracesymsfd.c: ... here.
31226 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
31227 * sysdeps/generic/ifunc-sel.h: ... here.
31228
31229 * sysdeps/unix/i386/start.c: Delete file.
31230 * sysdeps/unix/sparc/start.c: Delete file.
31231 * sysdeps/unix/start.c: Delete file.
31232
31233 * sysdeps/sh/elf/configure.in: Moved to ...
31234 * sysdeps/sh/configure.in: ... here.
31235 * sysdeps/sh/elf/start.S: Moved to ...
31236 * sysdeps/sh/start.S: ... here.
31237 * sysdeps/sh/elf/configure: Delete file.
31238
31239 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
31240 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
31241 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
31242 * sysdeps/powerpc/powerpc64/entry.h: ... here.
31243 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
31244 * sysdeps/powerpc/powerpc64/start.S: here.
31245 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
31246 * sysdeps/powerpc/powerpc64/Makefile: ... this.
31247 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
31248 * sysdeps/powerpc/powerpc64/configure.in: ... this.
31249 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
31250
31251 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
31252 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
31253 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
31254 * sysdeps/powerpc/powerpc32/start.S: ... here.
31255 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
31256 * sysdeps/powerpc/powerpc32/configure.in: ... this.
31257 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
31258
31259 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
31260 * sysdeps/powerpc/ifunc-sel.h: ... here.
31261 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
31262 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
31263
31264 * sysdeps/sparc/elf/configure.in: Moved to ...
31265 * sysdeps/sparc/configure.in: ... here.
31266 * sysdeps/sparc/elf/configure: Delete file.
31267 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
31268 * sysdeps/sparc/sparc32/start.S: ... here.
31269 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
31270 * sysdeps/sparc/sparc64/start.S: ... here.
31271 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
31272 * sysdeps/sparc/sparc32/Makefile: ... this.
31273 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
31274 * sysdeps/sparc/sparc64/Makefile: ... this.
31275
31276 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
31277 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
31278 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
31279 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
31280 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
31281 * sysdeps/s390/s390-32/setjmp.S: ... here.
31282 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
31283 * sysdeps/s390/s390-32/configure.in: ... here.
31284 * sysdeps/s390/s390-32/elf/configure: Delete file.
31285 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
31286 * sysdeps/s390/s390-32/start.S: ... here.
31287
31288 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
31289 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
31290 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
31291 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
31292 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
31293 * sysdeps/s390/s390-64/setjmp.S: ... here.
31294 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
31295 * sysdeps/s390/s390-64/configure.in: ... here
31296 * sysdeps/s390/s390-64/elf/configure: Delete file.
31297 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
31298 * sysdeps/s390/s390-64/start.S: ... here.
31299 * sysdeps/s390/s390-64/elf/configure: Delete.
31300
31301 * configure.in: Remove support for elf directories in sysdeps.
31302
31303 * configure: Regenerated.
31304 * sysdeps/i386/configure: Regenerated.
31305 * sysdeps/powerpc/powerpc32/configure: Regenerated.
31306 * sysdeps/powerpc/powerpc64/configure: Regenerated.
31307 * sysdeps/s390/s390-32/configure: Regenerated.
31308 * sysdeps/s390/s390-64/configure: Regenerated.
31309 * sysdeps/sh/configure: Regenerated.
31310 * sysdeps/sparc/configure: Regenerated.
31311 * sysdeps/x86_64/configure: Regenerated.
31312
a3f61311
AS
313132012-03-26 Andreas Schwab <schwab@linux-m68k.org>
31314
c876e002
AS
31315 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31316
a3f61311
AS
31317 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
31318 denormal result into account.
31319
ac4c54f0
RM
313202012-03-25 Roland McGrath <roland@hack.frob.com>
31321
31322 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
31323 Reported by Allan McRae <allan@archlinux.org>.
31324
6a9b9c02
JL
313252012-03-23 Jeff Law <law@redhat.com>
31326
31327 * nss/getnssent.c (__nss_getent): Fix typo.
31328
4c42a0c1
DM
313292012-03-23 David S. Miller <davem@davemloft.net>
31330
31331 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31332
1532c7ac
L
313332012-03-23 H.J. Lu <hongjiu.lu@intel.com>
31334
31335 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
31336 to pad to uint64_t for each field.
31337 (dl_tls_index): Replace unsigned long with uint64_t.
31338
3ff42526
PP
313392012-03-23 Daniel Jacobowitz <dmj@google.com>
31340 Paul Pluzhnikov <ppluzhnikov@google.com>
31341
31342 [BZ #6528]
31343 * grp/Makefile (otherlibs): Don't set it.
31344 * inet/Makefile (otherlibs): Likewise.
31345 * login/Makefile (otherlibs): Likewise.
31346 * nscd/Makefile (otherlibs): Likewise.
31347 * posix/Makefile (otherlibs): Likewise.
31348 * pwd/Makefile (otherlibs): Likewise.
31349 * rt/Makefile (otherlibs): Likewise.
31350 * sunrpc/Makefile (otherlibs): Likewise.
31351 * nss/Makefile (otherlibs): Likewise.
31352 Add libnss_files to routines and static-only-routines.
31353 ($(objpfx)getent): Remove rule.
31354 * resolv/Makefile: Add libnss_dns and libresolv to routines and
31355 static-only-routines.
31356
7c69cd14
JM
313572012-03-22 Joseph Myers <joseph@codesourcery.com>
31358
31359 [BZ #13892]
31360 * math/s_cexp.c: Include <float.h>.
31361 (__cexp): Handle exp result overflowing not necessarily
31362 overflowing both real and imaginary parts of result.
31363 * math/s_cexpf.c: Likewise.
31364 * math/s_cexpl.c: Likewise.
31365 * math/libm-test.inc (cexp_test): Add more tests.
31366 * sysdeps/i386/fpu/libm-test-ulps: Update.
31367 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31368
81b035fe
L
313692012-03-22 H.J. Lu <hongjiu.lu@intel.com>
31370
31371 * include/link.h (ELFW): New macro.
31372 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
31373 Replace ELF64_R_TYPE with ELFW(R_TYPE).
31374
1da7940c
L
313752012-03-22 H.J. Lu <hongjiu.lu@intel.com>
31376
31377 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
31378 with uint64_t.
31379
b749dbb9
L
313802012-03-22 H.J. Lu <hongjiu.lu@intel.com>
31381
31382 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
31383 declaration.
31384 (struct La_x32_retval): Likewise.
31385
2ff87f3f
L
313862012-03-22 H.J. Lu <hongjiu.lu@intel.com>
31387
31388 * sysdeps/x86_64/preconfigure.in: New file.
31389 * sysdeps/x86_64/preconfigure: New generated file.
31390
c0df8e69
JM
313912012-03-22 Joseph Myers <joseph@codesourcery.com>
31392
48e44791
JM
31393 [BZ #13824]
31394 * math/e_exp2l.c: Include <float.h>.
31395 (__ieee754_exp2l): Handle overflow and underflow cases
31396 separately. Only pass fractional part of argument to
31397 __ieee754_expl.
31398 * math/libm-test.inc (exp2_test): Add more tests.
31399
c0df8e69
JM
31400 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
31401 negating x to take absolute value.
31402 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
31403 Likewise.
31404 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
31405 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
31406 Likewise.
31407 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
31408 computing low part if x was negated.
31409 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
31410
c8e43ba7
L
314112012-03-21 H.J. Lu <hongjiu.lu@intel.com>
31412
31413 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
31414 la_x32_gnu_pltexit.
31415 (pltexit): Cast int_retval to ptrdiff_t.
31416 * elf/tst-auditmod3b.c: Likewise.
31417 * elf/tst-auditmod4b.c: Likewise.
31418 * elf/tst-auditmod5b.c: Likewise.
31419 * elf/tst-auditmod6b.c: Likewise.
31420 * elf/tst-auditmod6c.c: Likewise.
31421 * elf/tst-auditmod7b.c: Likewise.
31422
31423 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
31424 and x32_gnu_pltexit.
31425
31426 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
31427 __ELF_NATIVE_CLASS.
31428 (La_x32_regs): New macro.
31429 (La_x32_retval): Likewise.
31430 (la_x32_gnu_pltenter): New function prototype.
31431 (la_x32_gnu_pltexit): Likewise.
31432
7998fa78
AS
314332012-03-21 Andreas Schwab <schwab@linux-m68k.org>
31434
dcb33988
AS
31435 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
31436 exponent.
31437
233fc563
AS
31438 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31439
7998fa78
AS
31440 * configure.in (libc_cv_cc_nofma): Check for option to disable
31441 generation of FMA instructions.
31442 * configure: Regenerate.
31443 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
31444 * sysdeps/ieee754/dbl-64/Makefile: New file.
31445 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
31446 Remove brandred-fma4.
31447 (CFLAGS-brandred-fma4.c): Remove.
31448 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
31449 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
31450 define.
31451 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
31452 define.
31453
8e95c99a
L
314542012-03-21 H.J. Lu <hongjiu.lu@intel.com>
31455
31456 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
31457 LLONG_MAX != LONG_MAX.
31458 (_itoa_word): Use _ITOA_WORD_TYPE on value.
31459 (_fitoa_word): Likewise.
31460 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
31461 LLONG_MAX != LONG_MAX.
31462 * stdio-common/_itowa.h: Include <_itoa.h>.
31463 (_itowa_word): Use _ITOA_WORD_TYPE on value.
31464 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
31465 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
31466 only if not defined.
31467 (_ITOA_WORD_TYPE): Likewise.
31468 (_itoa_word): Use _ITOA_WORD_TYPE on value.
31469 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
31470
6f4db457
DM
314712012-03-21 David S. Miller <davem@davemloft.net>
31472
31473 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31474
7785fe5a
L
314752012-03-21 H.J. Lu <hongjiu.lu@intel.com>
31476
31477 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
31478 of x86_64 when setting libc_cv_slibdir, libdir and
31479 libc_cv_localedir.
31480 * sysdeps/unix/sysv/linux/configure: Regenerated.
31481
4535cd55
JM
314822012-03-21 Joseph Myers <joseph@codesourcery.com>
31483
31484 * manual/lang.texi (Old Varargs): Remove section.
31485 (How Variadic): Update menu.
31486 (va_start): Do not mention varargs.h.
31487
17228132
TS
314882012-03-21 Thomas Schwinge <thomas@codesourcery.com>
31489 Joseph Myers <joseph@codesourcery.com>
31490
31491 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
31492 link test.
31493 * configure: Regenerated.
31494
8149f976
TS
314952012-03-21 Thomas Schwinge <thomas@codesourcery.com>
31496
05f3d1f6
UD
31497 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
31498 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
31499 conformtest.pl
8149f976 31500
1a4ac776
JM
315012012-03-21 Joseph Myers <joseph@codesourcery.com>
31502
be22ce65
JM
31503 * NOTES: Remove.
31504 * Makefile (files-for-dist): Remove NOTES.
31505 (NOTES): Remove rule.
31506 * README: Don't refer to NOTES.
31507 * manual/creature.texi: Don't include macros.texi.
31508 * manual/intro.texi (creature.texi): Remove comment referring to
31509 NOTES.
31510
40b601fb
JM
31511 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
31512 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
31513 * configure: Regenerated.
31514 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
31515 LIBC_TRY_CC_OPTION.
31516 (libc_cv_as_i686): Likewise.
31517 (libc_cv_cc_avx): Likewise.
31518 (libc_cv_cc_sse2avx): Likewise.
31519 (libc_cv_cc_fma4): Likewise.
31520 (libc_cv_cc_novzeroupper): Likewise.
31521 * sysdeps/i386/configure: Regenerated.
31522
1a4ac776
JM
31523 [BZ #13883]
31524 * sysdeps/i386/fpu/s_cexp.S: Remove.
31525 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
31526 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
31527 * math/libm-test.inc (cexp_test): Add more tests.
31528 * sysdeps/i386/fpu/libm-test-ulps: Update.
31529 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31530
a458e7fe
AM
315312012-03-21 Allan McRae <allan@archlinux.org>
31532
31533 * timezone/Makefile: Do not install iso3166.tab and zone.tab
31534
0cb7efc5
JM
315352012-03-21 Joseph Myers <joseph@codesourcery.com>
31536
31537 [BZ #13871]
31538 * math/w_exp2.c: Do not include <float.h>.
31539 (o_threshold, u_threshold): Remove.
31540 (__exp2): Calculate result before checking finiteness and calling
31541 __kernel_standard.
31542 * math/w_exp2f.c: Likewise.
31543 * math/w_exp2l.c: Likewise.
31544 * math/libm-test.inc (exp2_test): Require overflow exception for
31545 1e6 input.
2460d3aa
JM
31546
31547 [BZ #3866]
31548 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
31549 range of signed 64-bit integers before using fistpll. Remove
31550 checks for whether integers fit in mantissa bits.
31551 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
31552 the range of signed 32-bit integers before using fistpl. Remove
31553 checks for whether integers fit in mantissa bits.
31554 * sysdeps/i386/fpu/e_powl.S (p64): New object.
31555 (__ieee754_powl): Test for y outside the range of signed 64-bit
31556 integers before using fistpll. Reduce 64-bit values to 63-bit
31557 ones as needed.
31558 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
31559 divide-by-zero is raised for zero to large negative powers.
31560 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
31561 (__ieee754_powl): Test for y outside the range of signed 64-bit
31562 integers before using fistpll. Reduce 64-bit values to 63-bit
31563 ones as needed.
31564 * math/libm-test.inc (pow_test): Add more tests.
31565
eb96ffb0
L
315662012-03-20 H.J. Lu <hongjiu.lu@intel.com>
31567
31568 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
31569 <stdio-common/_itoa.h>.
31570 * debug/segfault.c: Likewise.
31571 * elf/dl-cache.c: Likewise.
31572 * elf/dl-minimal.c: Likewise.
31573 * elf/dl-misc.c: Likewise.
31574 * elf/dl-sysdep.c: Likewise.
31575 * elf/dl-version.c: Likewise.
31576 * elf/rtld.c: Likewise.
31577 * hurd/hurdsock.c: Likewise.
31578 * hurd/lookup-retry.c: Likewise.
31579 * malloc/malloc.c: Likewise.
31580 * malloc/mtrace.c: Likewise.
31581 * nscd/nscd_getgr_r.c: Likewise.
31582 * nscd/nscd_getpw_r.c: Likewise.
31583 * nscd/nscd_getserv_r.c: Likewise.
31584 * posix/getopt_init.c: Likewise.
31585 * posix/wordexp.c: Likewise.
31586 * stdio-common/_itoa.c: Likewise.
31587 * stdio-common/printf_fphex.c: Likewise.
31588 * stdio-common/vfprintf.c: Likewise.
31589 * string/_strerror.c: Likewise.
31590 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
31591 * sysdeps/i386/i686/hp-timing.h: Likewise.
31592 * sysdeps/mach/_strerror.c: Likewise.
31593 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
31594 * sysdeps/mach/hurd/sethostid.c: Likewise.
31595 * sysdeps/mach/hurd/xmknodat.c: Likewise.
31596 * sysdeps/mach/xpg-strerror.c: Likewise.
31597 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
31598 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
31599 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
31600 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
31601 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
31602 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
31603 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
31604 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
31605 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
31606 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
31607 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
31608 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
31609 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
31610 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
31611 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
31612 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
31613 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
31614 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
31615 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
31616 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
31617 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
31618
31619 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
31620
31621 * stdio-common/_itoa.h: Moved to ...
31622 * sysdeps/generic/_itoa.h: Here.
31623
31624 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
31625
31626 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
31627 instead of "_itoa.h" and "_itowa.h".
31628 * stdio-common/vfprintf.: Likewise.
31629
d1af992d
L
316302012-03-20 H.J. Lu <hongjiu.lu@intel.com>
31631
31632 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
31633 <bits/wordsize.h>.
31634 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
31635 (__signbit): Likwise.
31636 (llrintf): Likwise.
31637 (llrint): Likwise.
31638
114883e0
L
316392012-03-20 H.J. Lu <hongjiu.lu@intel.com>
31640
31641 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
31642 __WORDSIZE != 64.
31643
c135cc1b
JM
316442012-03-20 Joseph Myers <joseph@codesourcery.com>
31645
31646 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
31647 OVERFLOW_EXCEPTION_OK.
31648 * math/libm-test.inc ("Philosophy"): Update comment about
31649 exception testing.
31650 (OVERFLOW_EXCEPTION): Define.
31651 (OVERFLOW_EXCEPTION_OK): Likewise.
31652 (INVALID_EXCEPTION_OK): Renumber.
31653 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
31654 (IGNORE_ZERO_INF_SIGN): Likewise.
31655 (test_exceptions): Handle FE_OVERFLOW.
31656 (exp10_test): Expect overflow exceptions.
31657 (exp2_test): Likewise.
31658 (expm1_test): Likewise.
31659 (nextafter_test): Likewise.
31660 (pow_test): Likewise.
31661 (scalbn_test): Likewise.
31662 (scalbln_test): Likewise.
31663
95443d88
L
316642012-03-19 H.J. Lu <hongjiu.lu@intel.com>
31665
31666 * sysdeps/x86_64/bits/atomic.h
31667 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
31668 64bit integer.
31669 (atomic_exchange_acq): Likewise.
31670 (__arch_exchange_and_add_body): Likewise.
31671 (__arch_add_body): Likewise.
31672 (atomic_add_negative): Likewise.
31673 (atomic_add_zero): Likewise.
31674
490df6c4
L
316752012-03-19 H.J. Lu <hongjiu.lu@intel.com>
31676
c2722551 31677 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
31678 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
31679
5e52b189
L
316802012-03-19 H.J. Lu <hongjiu.lu@intel.com>
31681
31682 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
31683 Check __x86_64__ instead of __WORDSIZE.
31684
a9879d4c
L
316852012-03-19 H.J. Lu <hongjiu.lu@intel.com>
31686
31687 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
31688
5df98260
DM
316892012-03-19 David S. Miller <davem@davemloft.net>
31690
e1497744
DM
31691 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31692
5df98260
DM
31693 * sysdeps/sparc/fpu/fenv_private.h: New file.
31694 * sysdeps/sparc/fpu/math_private.h: Use it.
31695 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
31696 Remove.
31697 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
31698 (libc_feholdexcept_setroundl): Remove.
31699 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
31700 Remove.
31701 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
31702 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
31703
b4c35121
L
317042012-03-19 H.J. Lu <hongjiu.lu@intel.com>
31705
31706 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
31707 int64_t instead of long int.
31708 (INSERT_WORDS64): Likwise.
31709
56965fd7
L
317102012-03-19 H.J. Lu <hongjiu.lu@intel.com>
31711
31712 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
31713 _Unwind_GetCFA return to _Unwind_Ptr first.
31714
83d1aec8
JM
317152012-03-19 Joseph Myers <joseph@codesourcery.com>
31716
1897ad44
JM
31717 [BZ #13629]
31718 * math/s_clog.c: Include <float.h>.
31719 (__clog): Scale large or subnormal inputs.
31720 * math/s_clogf.c: Likewise.
31721 * math/s_clogl.c: Likewise.
31722 * math/s_clog10.c: Include <float.h>.
31723 (M_LOG10_2): Define.
31724 (__clog10): Scale large or subnormal inputs.
31725 * math/s_clog10f.c: Likewise.
31726 * math/s_clog10l.c: Likewise.
31727 * math/libm-test.inc (clog_test): Add more tests.
31728 (clog10_test): Likewise.
31729 * sysdeps/i386/fpu/libm-test-ulps: Update.
31730 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31731
7726d6a9
JM
31732 [BZ #11451]
31733 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
31734 x and y.
31735 * math/libm-test.inc (atan2_test): Add another test.
31736
83d1aec8
JM
31737 * Makerules (common-objdir-compile): Remove.
31738 * sysdeps/unix/Makefile (config-generated): Do not add
31739 $(unix-generated) to variable.
31740 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
31741 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
31742 Remove rule.
31743 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
31744 Likewise.
31745 [generic bits/local_lim.h] (before-compile): Do not append to
31746 variable.
31747 [generic bits/local_lim.h] (common-generated): Likewise.
31748 [generic sys/param.h] (before-compile): Do not append to variable.
31749 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
31750 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
31751 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
31752 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
31753 include.
31754 [generic sys/param.h] (sys/param.h-includes): Remove variable.
31755 [generic sys/param.h] (sys/param.h-includes): Remove rule.
31756 [generic sys/param.h] ($(addprefix
31757 $(common-objpfx),$(sys/param.h-includes))): Likewise.
31758 [generic sys/param.h] (common-generated): Do not append to
31759 variable.
31760 [generic sys/param.h] (sysdep_headers): Likewise.
31761 [generic bits/errno.h] (before-compile): Do not append to
31762 variable.
31763 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
31764 rule.
31765 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
31766 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
31767 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
31768 [generic bits/errno.h] (common-generated): Do not append to
31769 variable.
31770 [generic bits/ioctls.h] (before-compile): Do not append to
31771 variable.
31772 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
31773 rule.
31774 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
31775 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
31776 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
31777 rule.
31778 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
31779 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
31780 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
31781 [generic bits/ioctls.h] (common-generated): Do not append to
31782 variable.
31783 [generic sys/syscall.h] (syscall.h): Remove variable.
31784 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
31785 rule.
31786 [generic sys/syscall.h] (before-compile): Do not append to
31787 variable.
31788 [generic sys/syscall.h] (common-generated): Likewise.
31789 * sysdeps/unix/errnos-tmpl.c: Remove file.
31790 * sysdeps/unix/errnos.awk: Likewise.
31791 * sysdeps/unix/ioctls-tmpl.c: Likewise.
31792 * sysdeps/unix/ioctls.awk: Likewise.
31793 * sysdeps/unix/mk-local_lim.c: Likewise.
31794 * sysdeps/unix/snarf-ioctls: Likewise.
31795
4851a949
RH
317962012-03-19 Richard Henderson <rth@twiddle.net>
31797
bd37f2ee
RH
31798 * sysdeps/i386/fpu/fenv_private.h: New file.
31799 * sysdeps/i386/fpu/math_private.h: Use it.
31800 (math_opt_barrier, math_force_eval): Remove.
31801 (libc_feholdexcept_setround_53bit): Remove.
31802 (libc_feupdateenv_53bit): Remove.
31803 * sysdeps/x86_64/fpu/math_private.h: Likewise.
31804 (math_opt_barrier, math_force_eval): Remove.
31805 (libc_feholdexcept): Remove.
31806 (libc_feholdexcept_setround): Remove.
31807 (libc_fetestexcept, libc_fesetenv): Remove.
31808 (libc_feupdateenv_test): Remove.
31809 (libc_feupdateenv, libc_feholdsetround): Remove.
31810 (libc_feresetround): Remove.
31811
d0adc922
RH
31812 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
31813 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
31814
0fe0f1f8
RH
31815 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
31816 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
31817 (libc_feupdateenv_testl): New.
31818 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
31819 (libc_feupdateenv_testf): New.
31820 (libc_feupdateenv): Use libc_feupdateenv_test.
31821 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
31822 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
31823
eb92c487
RH
31824 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
31825 (libc_feholdsetroundf, libc_feholdsetroundl): New.
31826 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
31827 (libc_feresetround_noex): New.
31828 (libc_feresetround_noexf): New.
31829 (libc_feresetround_noexl): New.
31830 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
31831 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
31832 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
31833 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
31834 SET_RESTORE_ROUND.
31835 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
31836 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
31837 (__cos): Likewise.
31838 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
31839 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
31840 SET_RESTORE_ROUND_NOEX.
31841 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
31842 SET_RESTORE_ROUND_NOEXF.
31843 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
31844 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
31845 (libc_feholdsetroundf): New.
31846 (libc_feresetround, libc_feresetroundf): New.
31847
7d2e8012
RH
31848 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
31849 (libc_feholdexcept_setround_53bit): Convert from macro to function.
31850 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
31851
b4dabbb4
RH
31852 * sysdeps/generic/math_private.h: Include <fenv.h>.
31853 (default_libc_feholdexcept): New.
31854 (default_libc_feholdexcept_setround): New.
31855 (default_libc_fesetenv, default_libc_feupdateenv): New.
31856 (libc_feholdexcept): Only define if undefined.
31857 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
31858 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
31859 (libc_feholdexcept_setroundl): Likewise.
31860 (libc_feholdexcept_setround_53bit): Likewise.
31861 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
31862 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
31863 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
31864 (libc_feupdateenv_53bit): Likewise.
31865 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
31866 (libc_feholdexcept): Convert from macro to inline function.
31867 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
31868 (libc_fesetenv, libc_feupdateenv): Likewise.
31869
4851a949
RH
31870 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
31871 not previously defined.
31872 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
31873 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
31874 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
31875 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
31876 * sysdeps/ieee754/flt-32/math_private.h: New file.
31877 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
31878 math_private.h below SET_FLOAT_WORD.
31879 (__isnan, __isinf_ns, __finite): Remove.
31880 (__isnanf, __isinf_nsf, __finitef): Remove.
31881
e79d442e
AS
318822012-03-18 Andreas Schwab <schwab@linux-m68k.org>
31883
31884 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31885
90b80344
DM
318862012-03-17 David S. Miller <davem@davemloft.net>
31887
31888 [BZ #6471]
31889 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
31890 for 2.16.
31891
edc21804
DM
318922012-03-16 David S. Miller <davem@davemloft.net>
31893
77e927af
DM
31894 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
31895 warnings.
31896
374976dd
DM
31897 [BZ #6471]
31898 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
31899 properly.
31900 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
31901 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
31902 sysdep_routines when subdir is sysvipc.
31903 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
31904 __getshmlba helper.
31905
edc21804
DM
31906 * sysdeps/sparc/fpu/libm-test/ulps: Update.
31907
473c3ef3
L
319082012-03-16 H.J. Lu <hongjiu.lu@intel.com>
31909
31910 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
31911 [__LP64__].
31912
eb0f39b6
L
319132012-03-16 H.J. Lu <hongjiu.lu@intel.com>
31914
31915 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
31916 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
31917 (__lround): Renamed to ...
31918 (__llround): This. Replace long int with long long int.
31919 Define lround functions as aliases of llround functions.
31920 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
31921
6b6cd74b
L
319222012-03-16 H.J. Lu <hongjiu.lu@intel.com>
31923
31924 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
31925 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
31926 adresses to uintptr_t. Replace "long int" and "unsigned long
31927 int" with "greg_t" on va_arg.
31928
f1a77b01
L
319292012-03-16 H.J. Lu <hongjiu.lu@intel.com>
31930
31931 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
31932 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
31933
31934 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
31935 Move e_machine check before EI_CLASS check. Handle x32
31936 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
31937 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
31938 SKIP_EM_IA_64 and include
31939 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
31940
31941 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
31942 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
31943 (add_system_dir): New macro.
31944
31945 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
31946 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
31947
11b90b9f
JM
319482012-03-16 Joseph Myers <joseph@codesourcery.com>
31949
c36e1d23
JM
31950 [BZ #2551]
31951 [BZ #2552]
31952 [BZ #2553]
31953 [BZ #2554]
31954 [BZ #2562]
31955 [BZ #2563]
31956 [BZ #2565]
31957 [BZ #2566]
31958 [BZ #2576]
31959 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
31960 (y0): Likewise.
31961 * math/w_j0f.c (j0f): Likewise.
31962 (y0f): Likewise.
31963 * math/w_j0l.c (__j0l): Likewise.
31964 (__y0l): Likewise.
31965 * math/w_j1.c (j1): Likewise.
31966 (y1): Likewise.
31967 * math/w_j1f.c (j1f): Likewise.
31968 (y1f): Likewise.
31969 * math/w_j1l.c (__j1l): Likewise.
31970 (__y1l): Likewise.
31971 * math/w_jn.c (jn): Likewise.
31972 (yn): Likewise.
31973 * math/w_jnf.c (jnf): Likewise.
31974 (ynf): Likewise.
31975 * math/w_jnl.c (__jnl): Likewise.
31976 (__ynl): Likewise.
31977 * math/libm-test.inc (j0_test): Add more tests.
31978 (j1_test): Likewise.
31979 (jn_test): Likewise. Add trailing semicolon to existing test.
31980 (y0_test): Likewise.
31981 (y1_test): Likewise.
31982 * sysdeps/i386/fpu/libm-test-ulps: Update.
31983 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31984
11b90b9f
JM
31985 [BZ #13851]
31986 [BZ #13854]
31987 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
31988 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
31989 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
31990 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
31991 (__tanl): Set errno for infinite argument.
31992 * sysdeps/i386/fpu/mptan.c: Remove.
31993 * sysdeps/i386/fpu/s_tan.S: Likewise.
31994 * sysdeps/i386/fpu/s_tanl.S: Likewise.
31995 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
31996 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
31997 * math/libm-test.inc (tan_test): Add more tests and enable more
31998 tests for double and long double.
31999 * sysdeps/i386/fpu/libm-test-ulps: Update.
32000 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32001
6a1bd2a1
JK
320022012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
32003
32004 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
32005 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
32006
10a803e0
RM
320072012-03-16 Roland McGrath <roland@hack.frob.com>
32008
32009 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
32010 * configure.in: Use it for both main tree and add-ons.
32011 * configure: Regenerated.
32012
f196c7f7
L
320132012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32014
32015 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
32016
8848d99d
JM
320172012-03-16 Joseph Myers <joseph@codesourcery.com>
32018
96cbe7f4
JM
32019 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
32020 in comment.
32021
8848d99d
JM
32022 [BZ #13851]
32023 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
32024 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
32025 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
32026 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
32027 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
32028 infinite argument.
32029 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
32030 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
32031 != 0 for prec == 2.
32032 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
32033 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
32034 * sysdeps/i386/fpu/s_cosl.S: Likewise.
32035 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
32036 * sysdeps/i386/fpu/s_sinl.S: Likewise.
32037 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
32038 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
32039 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
32040 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
32041 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
32042 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
32043 * math/libm-test.inc (cos_test): Add more tests and enable more
32044 tests for long double.
32045 (sin_test): Likewise.
32046 (sincos_test): Likewise.
32047 * sysdeps/i386/fpu/libm-test-ulps: Update.
32048 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32049
dd7f4703
DM
320502012-03-16 David S. Miller <davem@davemloft.net>
32051
32052 * sysdeps/sparc/fpu/math_private.h: New file.
32053
006f1daa
DM
320542012-03-15 David S. Miller <davem@davemloft.net>
32055
c0c83bc8
DM
32056 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
32057 file.
e6a62e18 32058 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
32059 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
32060 file.
e6a62e18
DM
32061 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
32062 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
32063 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
32064 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
32065 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
32066 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
32067 sysdep routines.
32068 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
32069
88cb87d9
DM
32070 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
32071 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
32072
006f1daa 32073 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
32074 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
32075 sparc-ifunc.h
006f1daa 32076 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
32077 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
32078 Likewise.
32079 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
32080 Likewise.
006f1daa
DM
32081 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
32082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
32083 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
32084 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
32085 Likewise.
006f1daa
DM
32086 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
32087 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
32088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
32089 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
32090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
32091 Likewise.
32092 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
32093 Likewise.
006f1daa
DM
32094 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
32095 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
32096 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
32097 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
32098 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
32099 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
32100 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
32101 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
32102 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
32103 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
32104 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
32105 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
32106 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
32107 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
32108 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
32109 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
32110 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
32111 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
32112 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
32113 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
32114 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
32115 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
32116 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
32117 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
32118
11e0098e
AS
321192012-03-15 Andreas Schwab <schwab@linux-m68k.org>
32120
32121 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
32122 scaling.
32123 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32124
e85b09d0
AJ
321252012-03-15 Andreas Jaeger <aj@suse.de>
32126
32127 [BZ #13852]
32128 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
32129 ieee754/flt-32 implementation for sin, cos and sincos.
32130 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
32131 * sysdeps/i386/fpu/s_cosf.S: Likewise.
32132 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
32133 * sysdeps/i386/fpu/s_sinf.S: Likewise.
32134 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
32135 ieee754/flt-32 implementation for tan.
32136
32137 * math/libm-test.inc (cos_test): Enable some large input tests for
32138 float as well
32139 (sin_test): Likewise.
32140 (sincos_test): Likewise.
32141 (tan_test): Add tests for large input.
32142
32143 * sysdeps/i386/fpu/libm-test-ulps: Update.
32144
81c64153
AJ
321452012-03-15 Andreas Jaeger <aj@suse.de>
32146
32147 [BZ #13658]
32148 * math/libm-test.inc (cos_test): Add more test cases.
32149 (sin_test): Likewise.
32150 (sincos_test): Likewise.
32151
7bbfa5c6
AJ
321522012-03-15 Andreas Jaeger <aj@suse.de>
32153
32154 [BZ #13837]
32155 * math/libm-test.inc (cos_test): Add a test case for large input
32156 value.
32157 (sin_test): Likewise.
32158 (sincos_test): Likewise.
32159
321602012-03-15 Andreas Jaeger <aj@suse.de>,
32161 Joseph Myers <joseph@codesourcery.com>
32162
32163 [BZ #13658]
0671f479 32164 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
32165 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
32166 * sysdeps/i386/fpu/branred.c: Likewise.
32167 * sysdeps/i386/fpu/dosincos.c: Likewise.
32168 * sysdeps/i386/fpu/mpa.c: Likewise.
32169 * sysdeps/i386/fpu/s_cos.S: Likewise.
32170 * sysdeps/i386/fpu/s_sin.S: Likewise.
32171 * sysdeps/i386/fpu/s_sincos.S: Likewise.
32172 * sysdeps/i386/fpu/sincos32.c: Likewise.
32173
32174 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
32175 Define.
32176 (libc_feupdateenv_53bit): Define.
32177 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
32178 Define.
32179 (libc_feupdateenv_53bit): Define.
32180
32181 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
32182 53 bit (without extend i386 double precision).
32183
32184 * math/libm-test.inc (sincos_test): Add tests for large input.
32185 (sin): Likewise.
32186 (cos): Likewise.
32187
32188 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
32189
9cad04ea
AS
321902012-03-15 Andreas Schwab <schwab@linux-m68k.org>
32191
32192 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32193
f7062b9a
DM
321942012-03-15 David S. Miller <davem@davemloft.net>
32195
32196 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
32197 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
32198 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
32199 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
32200 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
32201 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
32202 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
32203 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
32204 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
32205 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
32206 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
32207 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
32208 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
32209 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
32210 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
32211 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
32212 file.
f7062b9a 32213 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
32214 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
32215 file.
f7062b9a 32216 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
32217 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
32218 file.
f7062b9a 32219 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
32220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
32221 file.
f7062b9a
DM
32222 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
32223 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
32224 fmin/fmax sysdep routines.
32225 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
32226
7bd951ff
DM
322272012-03-14 David S. Miller <davem@davemloft.net>
32228
559398ab
DM
32229 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
32230 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
32231 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
32232 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
32233 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
32234 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
32235 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
32236 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
32237 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
32238 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
32239 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
32240 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
32241 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
32242 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
32243 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
32244 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
32245 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
32246 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
32247 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
32248 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
32249 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
32250 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
32251 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
32252 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
32253 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
32254 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
32255 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
32256 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
32257 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
32258 routines.
32259 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
32260 file.
559398ab 32261 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
32262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
32263 file.
559398ab 32264 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
32265 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
32266 file.
559398ab 32267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
32268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
32269 file.
559398ab 32270 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
32271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
32272 file.
559398ab 32273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
32274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
32275 file.
32276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
32277 file.
32278 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
32279 file.
32280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
32281 file.
32282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
32283 New file.
32284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
32285 file.
32286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
32287 file.
559398ab 32288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
32289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
32290 file.
559398ab 32291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
32292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
32293 file.
559398ab 32294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
32295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
32296 file.
559398ab 32297 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
32298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
32299 VIS3 routines.
559398ab
DM
32300
32301 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
32302 New file.
32303
5a1c1e32
DM
32304 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32305
eae47a36
DM
32306 * sysdeps/sparc/configure.in: New file.
32307 * sysdeps/sparc/configure: Generate.
32308 * configure.in (libc_cv_sparc_as_vis3): Substitute.
32309 * configure: Regenerate.
32310 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
32311 * config.make.in (have-as-vis3): New.
32312 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
32313 available use -Av9d instead of -Av9a.
32314 * sysdeps/sparc/sparc64/Makefile: Likewise.
32315 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
32316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
32317 New file.
32318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
32319 file.
32320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
32321 New file.
32322 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
32323 file.
eae47a36
DM
32324 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
32325 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
32326 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
32327 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
32328 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
32329
c0c83bc8
DM
32330 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
32331 fzeros/fnegs to load 0x80000000 into a float register instead of
32332 using the stack.
7bd951ff
DM
32333 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
32334
bd951ccb
JM
323352012-03-14 Joseph Myers <joseph@codesourcery.com>
32336
32337 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32338 bits/syscall.h.
32339 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
32340 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
32341 ($(inst_includedir)/bits/syscall.h): Remove rule.
32342 ($(objpfx)bits/syscall.d): Include instead of
32343 $(objpfx)syscall-list.d.
32344 (generated): Change syscall-list.h and syscall-list.d to
32345 bits/syscall.h and bits/syscall.d.
32346
bb4e6db2
RM
323472012-03-14 Roland McGrath <roland@hack.frob.com>
32348
32349 [BZ #13846]
32350 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
32351
aa4a2ae1
JM
323522012-03-14 Joseph Myers <joseph@codesourcery.com>
32353
e456826d
JM
32354 [BZ #13841]
32355 * math/s_csqrt.c: Include <float.h>.
32356 (__csqrt): Scale large or subnormal inputs.
32357 * math/s_csqrtf.c: Likewise.
32358 * math/s_csqrtl.c: Likewise.
32359 * math/libm-test.inc (csqrt_test): Add more tests.
32360 * sysdeps/i386/fpu/libm-test-ulps: Update.
32361 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32362
aa4a2ae1
JM
32363 [BZ #13840]
32364 * math/libm-test.inc (hypot_test): Add more tests.
32365
7c10fd35
DM
323662012-03-13 David S. Miller <davem@davemloft.net>
32367
32368 [BZ #13840]
32369 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
32370 double-precision for the calculation instead of scaling.
32371
f453b98b
JM
323722012-03-13 Joseph Myers <joseph@codesourcery.com>
32373
32374 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
32375 manipulate bits before adding and subtracting TWO52[sx].
32376 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
32377 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
32378 Likewise.
32379 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
32380
09a3453f
DM
323812012-03-13 David S. Miller <davem@davemloft.net>
32382
8e59da90
DM
32383 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
32384 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
32385 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
32386 rtld-global-offsets.h
32387 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
32388
2a8ab7f2
DM
32389 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
32390 large parameters.
32391
10f62770
DM
32392 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
32393
5f0bdb18
DM
32394 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
32395 'err' in the ifdef scope in which it is actually used.
32396
09a3453f
DM
32397 * nss/nss_db/db-init.c: Include string.h
32398
b4b2eb5e
DM
323992012-03-12 David S. Miller <davem@davemloft.net>
32400
98bb2f1c
DM
32401 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
32402 masking out of the most significant byte of random value used.
32403 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32404 Fix coding style in previous change.
32405
b4b2eb5e
DM
32406 * sysdeps/unix/sysv/linux/kernel-features.h
32407 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
32408 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
32409 expression.
32410 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
32411 later.
32412
6e226b09
DM
324132012-03-11 David S. Miller <davem@davemloft.net>
32414
a1bcbd40
DM
32415 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
32416 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
32417 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
32418 for 'resultvar' otherwise things get truncated on 64-bit.
32419
cb9d6174
DM
32420 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32421 Fix masking out of the most significant byte of random value used.
32422
6e226b09
DM
32423 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32424
058c132d
AS
324252012-03-10 Andreas Schwab <schwab@linux-m68k.org>
32426
32427 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32428
2d2cd515
DM
324292012-03-09 David S. Miller <davem@davemloft.net>
32430
32431 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
32432 variables with appropriate CPP guards.
32433 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
32434 frame pointer, not the stack pointer. Correct layout comments. Fix test
32435 on resulting framesize and the management of the outregs buffer for pltexit.
32436 Preserve floating point return values across _dl_call_pltexit call.
32437 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
32438 framesize and the management of the outregs buffer for pltexit.
32439 Preserve floating point return values across _dl_call_pltexit
32440 call.
32441 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
32442 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
32443 (print_exit): Fix format string for return register value.
32444
9a07f9d0
JM
324452012-03-10 Joseph Myers <joseph@codesourcery.com>
32446
32447 * sunrpc/Makefile (others): Add rpcgen.
32448 ($(objpfx)rpcgen): Remove special build rule and dependency on
32449 libc.
32450 * sunrpc/rpcgen.c: New file.
32451
547b5e30
PE
324522012-03-09 Paul Eggert <eggert@cs.ucla.edu>
32453
c524201a
PE
32454 [BZ #13673]
32455 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
32456 * stdio-common/bug-vfprintf-nargs.c: Likewise.
32457 * sysdeps/i386/crti.S: Likewise.
32458 * sysdeps/i386/crtn.S: Likewise.
32459 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
32460 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
32461 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
32462 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
32463 * sysdeps/sh/crti.S: Likewise.
32464 * sysdeps/sh/crtn.S: Likewise.
32465 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
32466
7b6235f2
PE
32467 [BZ #13673]
32468 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
32469 with URL.
32470 * locale/programs/locfile-kw.gperf: Likewise.
32471 * locale/programs/charmap-kw.h: Regenerated.
32472 * locale/programs/locfile-kw.h: Likewise.
32473
547b5e30
PE
32474 [BZ #13673]
32475 * intl/plural.y: Replace FSF snail mail address with URL.
32476 * intl/plural.c: Regenerated.
32477
5f0a5dae
RH
324782012-03-09 Richard Henderson <rth@twiddle.net>
32479
32480 * include/math_private.h: Remove file.
32481 * math/math_private.h: Move file ...
32482 * sysdeps/generic/math_private.h: ... here.
32483
b8c03620
RH
32484 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
32485 * sysdeps/powerpc/fpu/math_private.h: Likewise.
32486 * sysdeps/x86_64/fpu/math_private.h: Likewise.
32487
4e234f5d 32488 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
32489 and <math_private.h>.
32490 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
32491 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
32492 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
32493 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
32494 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
32495 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
32496 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
32497 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32498 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
32499 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32500 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32501 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
32502 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
32503 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32504 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
32505 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
32506 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
32507 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
32508 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
32509 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
32510 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32511 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
32512 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
32513 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32514 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
32515 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
32516 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
32517 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
32518 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32519 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
32520 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
32521 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32522 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
32523 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
32524 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
32525 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
32526 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
32527 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
32528 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
32529 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32530 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
32531 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
32532 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
32533 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
32534 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
32535 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
32536 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
32537 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
32538 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
32539 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
32540 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
32541 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
32542 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
32543 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
32544 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
32545 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
32546 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32547 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
32548 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
32549 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
32550 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
32551 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
32552 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32553 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
32554 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
32555 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
32556 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
32557 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
32558 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
32559 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
32560 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
32561 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
32562 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
32563 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32564 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
32565 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
32566 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
32567 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
32568 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
32569 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
32570 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
32571 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
32572 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
32573 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
32574 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
32575 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
32576 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
32577 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
32578 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
32579 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
32580 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
32581 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
32582 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
32583 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
32584 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
32585 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
32586 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
32587 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
32588 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
32589 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
32590 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
32591 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
32592 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
32593 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
32594 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
32595 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
32596 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
32597 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
32598 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
32599 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
32600 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
32601 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
32602 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
32603 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
32604 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
32605 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
32606 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
32607 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
32608 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
32609 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
32610 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
32611 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
32612 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
32613 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
32614 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
32615 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
32616 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
32617 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
32618 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
32619 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
32620 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
32621 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
32622 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
32623 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
32624 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
32625 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
32626 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
32627 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
32628 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
32629 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
32630 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
32631 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
32632 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
32633 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
32634 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
32635 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
32636 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
32637 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
32638 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
32639 * sysdeps/ieee754/k_standard.c: Likewise.
32640 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
32641 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
32642 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
32643 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
32644 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
32645 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
32646 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
32647 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
32648 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
32649 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
32650 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
32651 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
32652 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
32653 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
32654 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
32655 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
32656 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
32657 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
32658 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
32659 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
32660 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
32661 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
32662 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
32663 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
32664 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
32665 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
32666 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
32667 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
32668 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
32669 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
32670 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
32671 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
32672 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
32673 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
32674 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
32675 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
32676 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
32677 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
32678 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
32679 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
32680 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
32681 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
32682 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
32683 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
32684 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
32685 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
32686 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
32687 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
32688 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
32689 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
32690 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
32691 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
32692 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
32693 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
32694 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
32695 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
32696 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
32697 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
32698 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
32699 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
32700 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
32701 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
32702 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
32703 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
32704 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
32705 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
32706 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
32707 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
32708 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
32709 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
32710 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
32711 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
32712 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
32713 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
32714 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
32715 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
32716 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
32717 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
32718 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
32719 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
32720 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
32721 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
32722 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
32723 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
32724 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
32725 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
32726 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
32727 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
32728 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
32729 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
32730 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
32731 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
32732 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
32733 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
32734 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
32735 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
32736 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
32737 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
32738 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
32739 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
32740 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
32741 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
32742 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
32743 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
32744 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
32745 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
32746 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
32747 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
32748 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
32749 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
32750 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
32751 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
32752 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
32753 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
32754 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
32755 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
32756 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
32757 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
32758 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
32759 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
32760 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
32761 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
32762 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
32763 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
32764 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
32765 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
32766 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
32767 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
32768 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
32769 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
32770 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
32771 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
32772 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
32773 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
32774 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
32775 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
32776 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
32777 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
32778 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
32779 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
32780 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
32781 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
32782 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
32783 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
32784 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
32785 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
32786 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
32787 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
32788 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
32789 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
32790 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
32791 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
32792 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
32793 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
32794 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
32795 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
32796 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
32797 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
32798 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
32799 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
32800 * sysdeps/ieee754/s_lib_version.c: Likewise.
32801 * sysdeps/ieee754/s_matherr.c: Likewise.
32802 * sysdeps/ieee754/s_signgam.c: Likewise.
32803 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
32804 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
32805 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
32806 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
32807 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
32808 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
32809 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
32810 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
32811 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
32812 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
32813 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
32814 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
32815 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
32816 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
32817 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
32818 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
32819 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
32820 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
32821 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
32822 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
32823 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 32824
1991fa03
JM
328252012-03-09 Joseph Myers <joseph@codesourcery.com>
32826
32827 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
32828 * sunrpc/rpc_main.c: Likewise.
32829 * sunrpc/rpc_svcout.c: Likewise.
32830
60d6f5a6
DM
328312012-03-09 David S. Miller <davem@davemloft.net>
32832
32833 * include/math_private.h: New file.
32834
4962050e
JM
328352012-03-09 Joseph Myers <joseph@codesourcery.com>
32836
02a6f887
JM
32837 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
32838 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
32839 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
32840 from <bits/socket_type.h>.
32841 (enum __socket_type): Don't define here.
32842 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
32843 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32844 bits/socket_type.h.
32845
c6e013c1
JM
32846 [BZ #13566]
32847 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
32848 checking __USE_GNU.
32849
4962050e
JM
32850 * Makerules ($(inst_includedir)/%.h): New rule.
32851 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
32852 (install-others): Remove variable setting.
32853 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
32854
38842f45
RH
328552012-03-08 Richard Henderson <rth@twiddle.net>
32856
67bb6da6
RH
32857 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
32858 from macro to inline function; merge with the
32859 !__LIBC_INTERNAL_MATH_INLINES version.
32860 (__ieee754_sqrtf): Likewise.
32861
15194b4b
RH
32862 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
32863 to inline function.
32864 (__rintf, __floor, __floorf): Likewise.
32865
64e21ede
RH
32866 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
32867 macro to inline function.
32868 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
32869
38842f45
RH
32870 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
32871 not <math/math_private.h>.
32872
c64bf5fe
DM
328732012-03-08 David S. Miller <davem@davemloft.net>
32874
32875 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
32876 copyright year.
32877 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
32878
82d86f28
TS
328792012-03-08 Thomas Schwinge <thomas@codesourcery.com>
32880
32881 * resolv/gai_misc.c (handle_requests): Fix struct timespec
32882 normalization.
32883 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
32884 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
32885
aea5d727
UD
328862012-03-08 Ulrich Drepper <drepper@gmail.com>
32887
32888 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
32889 be defined individually, they must be defined as a block. Define
32890 S for printing a string instead of hidint the different by using a
32891 macro for adding the 'l'.
32892 * stdio-common/tst-fphex-wide.c: Adjust.
32893
70bca0a3
MP
328942012-03-07 Marek Polacek <polacek@redhat.com>
32895
32896 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
32897
65b81130
MP
328982012-03-08 Marek Polacek <polacek@redhat.com>
32899
32900 [BZ #13806]
32901 * stdio-common/Makefile (tests): Add tst-fphex-wide.
32902 * stdio-common/tst-fphex.c: Define a few macros to make the
32903 test reusable. Use them.
32904 * stdio-common/tst-fphex-wide.c: New file.
32905
07037eeb
JM
329062012-03-08 Joseph Myers <joseph@codesourcery.com>
32907
a7a93d50
JM
32908 [BZ #6911]
32909 * manual/macros.texi (gnusystems): New macro.
32910 (nongnusystems): Likewise.
32911 (gnulinuxhurdsystems): Likewise.
32912 (gnuhurdsystems): Likewise..
32913 (gnulinuxsystems): Likewise.
32914 * manual/charset.texi: Use new macros or @theglibc{} to refer to
32915 variants of the GNU system, not "GNU system".
32916 * manual/conf.texi: Likewise.
32917 * manual/errno.texi: Likewise. Update example of errno macro
32918 expansion.
32919 * manual/filesys.texi: Likewise.
32920 (getumask): Document as specific to GNU/Hurd.
32921 * manual/install.texi: Likewise. Reword some references to
32922 GNU/Linux.
32923 * manual/intro.texi: Likewise.
32924 * manual/io.texi: Likewise.
32925 (File Name Portability): Detail which constraints are inapplicable
32926 to all GNU systems and which are only inapplicable to GNU/Hurd.
32927 * manual/job.texi: Likewise.
32928 * manual/llio.texi: Likewise.
32929 (O_NOCTTY): Document as present on GNU/Linux.
32930 * manual/maint.texi: Likewise.
32931 * manual/memory.texi: Likewise.
32932 * manual/pattern.texi: Likewise.
32933 * manual/pipe.texi: Likewise.
32934 * manual/process.texi: Likewise.
32935 * manual/resource.texi: Likewise.
32936 (RUSAGE_CHILDREN): Remove statement about specifying a particular
32937 child on GNU/Hurd.
32938 * manual/setjmp.texi: Likewise.
32939 * manual/signal.texi: Likewise.
32940 * manual/startup.texi: Likewise.
32941 * manual/stdio.texi: Likewise.
32942 * manual/terminal.texi: Likewise.
32943 (ONLCR): Document as POSIX.
32944 (OXTABS): Document availability on GNU/Linux as XTABS.
32945 (ONOEOT): Document availability separately from other bits.
32946 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
32947 * manual/time.texi: Likewise.
32948 * manual/users.texi: Likewise.
32949 * INSTALL: Regenerated.
32950 * sysdeps/gnu/errlist.c: Regenerated.
32951
07037eeb
JM
32952 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
32953 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
32954 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
32955 puts.
32956 * configure: Regenerated.
32957
d1d3431a
JM
329582012-03-07 Joseph Myers <joseph@codesourcery.com>
32959
af6a1e37
JM
32960 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
32961 default includes instead of AC_HEADER_CHECK.
32962 * sysdeps/i386/configure: Regenerated.
32963
d1d3431a
JM
32964 [BZ #10716]
32965 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
32966 * math/s_cacoshf.c (__cacoshf): Likewise.
32967 * math/s_cacoshl.c (__cacoshl): Likewise.
32968 * math/s_casinh.c (__casinh): Set signs of result from argument.
32969 * math/s_casinhf.c (__casinhf): Likewise.
32970 * math/s_casinhl.c (__casinhl): Likewise.
32971 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
32972 (casinh_test): Add more tests.
32973 * sysdeps/i386/fpu/libm-test-ulps: Update.
32974 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32975
482ff4da
UD
329762012-03-07 Ulrich Drepper <drepper@gmail.com>
32977
872fda05
UD
32978 * po/zh_TW.po: Update from translation team.
32979
a4300c7a
UD
32980 * login/Makefile (distribute): Remove variable.
32981 * catgets/Makefile: Likewise.
32982 * mach/Makefile: Likewise.
32983 * malloc/Makefile: Likewise.
32984 * misc/Makefile: Likewise.
32985 * iconv/Makefile: Likewise.
32986 * nscd/Makefile: Likewise.
32987 * hurd/Makefile: Likewise.
32988 * manual/Makefile: Likewise.
32989 * locale/Makefile: Likewise.
32990 * intl/Makefile: Likewise.
32991 * conform/Makefile: Likewise.
32992 * nss/Makefile: Likewise.
32993 * time/Makefile: Likewise.
32994 * soft-fp/Makefile: Likewise.
32995 * dirent/Makefile: Likewise.
32996 * gmon/Makefile: Likewise.
32997 * po/Makefile: Likewise.
32998 * rt/Makefile: Likewise.
32999 * socket/Makefile: Likewise.
33000 * math/Makefile: Likewise.
33001 * signal/Makefile: Likewise.
33002 * debug/Makefile: Likewise.
33003 * elf/Makefile: Likewise.
33004 * timezone/Makefile: Likewise.
33005 * stdlib/Makefile: Likewise.
33006 * iconvdata/Makefile: Likewise.
33007 * sunrpc/Makefile: Likewise.
33008 * io/Makefile: Likewise.
33009 * argp/Makefile: Likewise.
33010 * inet/Makefile: Likewise.
33011 * hesiod/Makefile: Likewise.
33012 * grp/Makefile: Likewise.
33013 * csu/Makefile: Likewise.
33014 * wctype/Makefile: Likewise.
33015 * crypt/Makefile: Likewise.
33016 * libio/Makefile: Likewise.
33017 * string/Makefile: Likewise.
33018 * nis/Makefile: Likewise.
33019 * resolv/Makefile: Likewise.
33020 * stdio-common/Makefile: Likewise.
33021 * wcsmbs/Makefile: Likewise.
33022 * dlfcn/Makefile: Likewise.
33023 * posix/Makefile: Likewise.
33024
3b7c4e74 33025 [BZ #6959]
482ff4da
UD
33026 * timezone/Makefile: Don't install timezone files, just the programs
33027 and scripts.
33028
f72ed77d
UD
330292012-03-06 Ulrich Drepper <drepper@gmail.com>
33030
a000466f
UD
33031 * nss/databases.def: Add missing gshadow entry.
33032
f72ed77d
UD
33033 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
33034
a53b7a4e
MP
330352012-03-06 Marek Polacek <polacek@redhat.com>
33036
33037 [BZ #13726]
33038 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
33039 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
33040 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
33041 * stdio-common/tst-long-dbl-fphex.c: New file.
33042
e9258400
DM
330432012-03-06 David S. Miller <davem@davemloft.net>
33044
33045 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33046 (set_obp_int): New function.
33047 (get_obp_int): New function.
33048 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
33049 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
33050 Avoid unused variable warnings on 'val' and use builtin_expect.
33051 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
33052 __builtin_expect.
e9258400
DM
33053 (INLINE_CLONE_SYSCALL): Likewise.
33054
3bd2c723
DM
330552012-03-05 David S. Miller <davem@davemloft.net>
33056
33057 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33058
bbb78d03
AS
330592012-03-05 Andreas Schwab <schwab@linux-m68k.org>
33060
884c5db4
AS
33061 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33062
bbb78d03
AS
33063 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
33064 only for |x| >= 40.
33065 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33066
1c9f702a 330672012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
33068
33069 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
33070 Replace gettimeofday with __vdso_gettimeofday.
33071
7be16f82
RM
33072 * sysdeps/unix/sysv/linux/x86_64/init-first.c
33073 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
33074 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
33075
33076 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
33077 time with __vdso_time.
33078
ed58a00f
JM
330792012-03-05 Joseph Myers <joseph@codesourcery.com>
33080
33081 * manual/lang.texi (size_t): Note types to which size_t may be
33082 equivalent with the GNU C Library, but do not describe when
33083 differences between them are significant.
33084
30ee4ced
AJ
330852012-03-05 Andreas Jaeger <aj@suse.de>
33086
33087 * sysdeps/i386/fpu/libm-test-ulps: Update.
33088
b7cd39e8
JM
330892012-03-05 Joseph Myers <joseph@codesourcery.com>
33090
33091 [BZ #3976]
33092 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
33093 (__ieee754_pow): Save and restore rounding mode and use
33094 round-to-nearest for main computations.
33095 * math/libm-test.inc (pow_test_tonearest): New function.
33096 (pow_test_towardzero): Likewise.
33097 (pow_test_downward): Likewise.
33098 (pow_test_upward): Likewise.
33099 (main): Call the new functions.
33100 * sysdeps/i386/fpu/libm-test-ulps: Update.
33101 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
33102
33103 [BZ #3976]
33104 * math/libm-test.inc (cosh_test_tonearest): New function.
33105 (cosh_test_towardzero): Likewise.
33106 (cosh_test_downward): Likewise.
33107 (cosh_test_upward): Likewise.
33108 (sinh_test_tonearest): Likewise.
33109 (sinh_test_towardzero): Likewise.
33110 (sinh_test_downward): Likewise.
33111 (sinh_test_upward): Likewise.
33112 (main): Call the new functions.
33113 * sysdeps/i386/fpu/libm-test-ulps: Update.
33114 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33115
6c6a98c9
TV
331162012-03-05 Tom de Vries <tom@codesourcery.com>
33117
33118 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
33119 default stack guard is set in last bytes.
33120 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
33121
21bb2d2e 331222012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 33123
21bb2d2e 33124 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 33125
21bb2d2e
AJ
33126 [BZ #13656]
33127 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
33128 possibly allocate from heap instead of stack.
33129 * stdio-common/bug-vfprintf-nargs.c: New file.
33130 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 33131
c6922934
AS
331322012-03-03 Andreas Schwab <schwab@linux-m68k.org>
33133
33134 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33135
bc957d53
MP
331362012-03-03 Marek Polacek <polacek@redhat.com>
33137
33138 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
33139 * math/math_private.h: Likewise.
33140 * stdlib/tst-strtod.c: Likewise.
33141 * sysdeps/i386/i486/bits/atomic.h: Likewise.
33142 * sysdeps/x86_64/bits/atomic.h: Likewise.
33143
6358490d
DM
331442012-03-02 David S. Miller <davem@davemloft.net>
33145
33146 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
33147 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
33148 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
33149 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
33150 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
33151 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
33152 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
33153 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
33154
01ae168d
RM
331552012-03-02 Roland McGrath <roland@hack.frob.com>
33156
d9a17c07
RM
33157 [BZ #13792]
33158 * manual/examples/README: New file, says the example source files
33159 can be used under GPL>=2.
33160 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
33161 line containing just "*/".
33162 * manual/examples/add.c: Add copyright header (GPL>=2).
33163 * manual/examples/argp-ex1.c: Likewise.
33164 * manual/examples/argp-ex2.c: Likewise.
33165 * manual/examples/argp-ex3.c: Likewise.
33166 * manual/examples/argp-ex4.c: Likewise.
33167 * manual/examples/atexit.c: Likewise.
33168 * manual/examples/db.c: Likewise.
33169 * manual/examples/dir.c: Likewise.
33170 * manual/examples/dir2.c: Likewise.
33171 * manual/examples/execinfo.c: Likewise.
33172 * manual/examples/filecli.c: Likewise.
33173 * manual/examples/filesrv.c: Likewise.
33174 * manual/examples/fmtmsgexpl.c: Likewise.
33175 * manual/examples/genpass.c: Likewise.
33176 * manual/examples/inetcli.c: Likewise.
33177 * manual/examples/inetsrv.c: Likewise.
33178 * manual/examples/isockad.c: Likewise.
33179 * manual/examples/longopt.c: Likewise.
33180 * manual/examples/memopen.c: Likewise.
33181 * manual/examples/memstrm.c: Likewise.
33182 * manual/examples/mkfsock.c: Likewise.
33183 * manual/examples/mkisock.c: Likewise.
33184 * manual/examples/mygetpass.c: Likewise.
33185 * manual/examples/pipe.c: Likewise.
33186 * manual/examples/popen.c: Likewise.
33187 * manual/examples/rprintf.c: Likewise.
33188 * manual/examples/search.c: Likewise.
33189 * manual/examples/select.c: Likewise.
33190 * manual/examples/setjmp.c: Likewise.
33191 * manual/examples/sigh1.c: Likewise.
33192 * manual/examples/sigusr.c: Likewise.
33193 * manual/examples/stpcpy.c: Likewise.
33194 * manual/examples/strdupa.c: Likewise.
33195 * manual/examples/strftim.c: Likewise.
33196 * manual/examples/strncat.c: Likewise.
33197 * manual/examples/subopt.c: Likewise.
33198 * manual/examples/swapcontext.c: Likewise.
33199 * manual/examples/termios.c: Likewise.
33200 * manual/examples/testopt.c: Likewise.
33201 * manual/examples/testpass.c: Likewise.
33202 * manual/examples/timeval_subtract.c: Likewise.
33203
01ae168d
RM
33204 [BZ #13792]
33205 * manual/time.texi (Elapsed Time): Move timeval_subtract example
33206 function to ...
33207 * manual/timeval_subtract.c.texi: ... here, new file.
33208
49efa33d
DM
332092012-03-02 David S. Miller <davem@davemloft.net>
33210
33211 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
33212
28afd92d
JM
332132012-03-02 Joseph Myers <joseph@codesourcery.com>
33214
804360ed
JM
33215 [BZ #3976]
33216 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
33217 (__sin): Save and restore rounding mode and use round-to-nearest
33218 for all computations.
33219 (__cos): Save and restore rounding mode and use round-to-nearest
33220 for all computations.
33221 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
33222 <fenv.h>.
33223 (tan): Save and restore rounding mode and use round-to-nearest for
33224 all computations.
33225 * math/libm-test.inc (cos_test_tonearest): New function.
33226 (cos_test_towardzero): Likewise.
33227 (cos_test_downward): Likewise.
33228 (cos_test_upward): Likewise.
33229 (sin_test_tonearest): Likewise.
33230 (sin_test_towardzero): Likewise.
33231 (sin_test_downward): Likewise.
33232 (sin_test_upward): Likewise.
33233 (tan_test_tonearest): Likewise.
33234 (tan_test_towardzero): Likewise.
33235 (tan_test_downward): Likewise.
33236 (tan_test_upward): Likewise.
33237 (main): Call the new functions.
33238 * sysdeps/i386/fpu/libm-test-ulps: Update.
33239 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33240
a6d06d7b
JM
33241 [BZ #10135]
33242 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
33243 small n, then large n, before computing and testing k+n.
33244 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
33245 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
33246 Likewise.
33247 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
33248 Likewise.
33249 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
33250 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
33251 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
33252 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
33253 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
33254 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
33255 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
33256 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
33257 * math/libm-test.inc (scalbn_test): Add more tests.
33258 (scalbln_test): Likewise.
33259
07e12bb3
JM
33260 * manual/filesys.texi (mode_t): Describe constraints on size and
33261 signedness, not exact equivalence to a particular type.
33262 (ino_t): Likewise.
33263 (ino64_t): Likewise.
33264 (dev_t): Likewise.
33265 (nlink_t): Likewise.
33266 (blkcnt_t): Likewise.
33267 (blkcnt64_t): Likewise.
33268 * manual/llio.texi (off_t): Likewise.
33269
28afd92d
JM
33270 [BZ #3976]
33271 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
33272 (__ieee754_exp): Save and restore rounding mode and use
33273 round-to-nearest for all computations.
33274 * math/libm-test.inc (exp_test_tonearest): New function.
33275 (exp_test_towardzero): Likewise.
33276 (exp_test_downward): Likewise.
33277 (exp_test_upward): Likewise.
33278 (main): Call the new functions.
33279 * sysdeps/i386/fpu/libm-test-ulps: Update.
33280 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33281
b1eeb65d
CD
332822012-03-01 Chris Demetriou <cgd@google.com>
33283
33284 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
33285 have predictable order.
33286
53362a4b
DM
332872012-03-01 David S. Miller <davem@davemloft.net>
33288
3c969083
DM
33289 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
33290
759707de
DM
33291 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
33292 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
33293 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
33294 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
33295
dfdb8ff2
DM
33296 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
33297 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
33298 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
33299 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
33300 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
33301 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
33302 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
33303 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
33304 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
33305
ead89f96
DM
33306 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33307
7f66bd07
DM
33308 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
33309 * sysdeps/sparc/fpu/libm-test-ulps: to here.
33310 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
33311
53362a4b
DM
33312 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
33313 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
33314 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
33315 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
33316 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
33317 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
33318 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
33319 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
33320 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
33321 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
33322 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
33323 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
33324 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
33325 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
33326 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
33327 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33328 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
33329 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
33330 * sysdeps/sparc/elf/configure: Regenerated.
33331
7b1902cb
JM
333322012-03-01 Joseph Myers <joseph@codesourcery.com>
33333
bec039bc
JM
33334 * configure.in (AS, LD): Require binutils 2.20 or later.
33335 * configure: Regenerated.
33336 * manual/install.texi (Tools for Compilation): Give binutils 2.20
33337 as required minimum version.
33338 * INSTALL: Regenerated.
33339
7b1902cb
JM
33340 [BZ #2541]
33341 [BZ #4108]
33342 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
33343 before squaring exponent.
33344 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
33345 bottom long double and 27 bits of top long double before squaring
33346 exponent.
33347 * math/libm-test.inc (erfc_test): Add more tests.
33348 * sysdeps/i386/fpu/libm-test-ulps: Update.
33349 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33350 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33351
f775c276
KT
333522012-03-01 Kai Tietz <ktietz@redhat.com>
33353
33354 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
33355 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
33356 containing bit-fields.
33357 * soft-fp/extended.h (_FP_UNION_E): Likewise.
33358 * soft-fp/single.h (_FP_UNION_S): Likewise.
33359 * soft-fp/double.h (_FP_UNION_D): Likewise.
33360
5b8a4d4a
JM
333612012-02-29 Joseph Myers <joseph@codesourcery.com>
33362
0bab47b6
JM
33363 [BZ #13786]
33364 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
33365 not include ../strcmp.S.
33366 [USE_AS_STRNCASECMP_L]: Likewise.
33367 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
33368 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
33369 * sysdeps/i386/i686/multiarch/strncase_l-c.c
33370 (__strncasecmp_l_ia32): Define as alias to
33371 __strncasecmp_l_nonascii.
33372
0fcad3e2
JM
33373 [BZ #5794]
33374 * math/libm-test.inc (expm1_test): Add test for bug 5794.
33375 * sysdeps/i386/fpu/libm-test-ulps: Update.
33376 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33377
5b8a4d4a
JM
33378 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
33379 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33380
8fdceb2e
JL
333812012-02-29 Jeff Law <law@redhat.com>
33382
33383 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
33384 out of bounds read.
33385
1f393a11
MP
333862012-02-29 Marek Polacek <polacek@redhat.com>
33387
33388 [BZ #13706]
33389 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
33390 * elf/Makefile: Add rules to run tst-unused-dep.out.
33391
8847f037
DM
333922012-02-28 David S. Miller <davem@davemloft.net>
33393
33394 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
33395 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
33396 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
33397 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
33398 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
33399 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
33400
169d7f11
JM
334012012-02-29 Joseph Myers <joseph@codesourcery.com>
33402
33403 * math/libm-test.inc (llround_test): Move one test from
33404 lround_test. Use TEST_f_L in moved test.
33405 (lround_test): Move misplaced test to llround_test. Add testcase
33406 from bug 2561.
33407
39adf059
UD
334082012-02-28 Ulrich Drepper <drepper@gmail.com>
33409
33410 * sysdeps/x86_64/fpu/e_expf.S: New file.
33411 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
33412
71b5d1c5
SB
334132012-02-28 Stanislav Brabec <sbrabec@suse.cz>
33414
33415 [BZ #13637]
33416 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
33417 of remain_len that may cause incomplete multi-byte character and
33418 false match.
33419 * posix/bug-regex33.c: New file.
33420 * posix/Makefile (tests): Add bug-regex33.
33421
1f77f049
JM
334222012-02-28 Joseph Myers <joseph@codesourcery.com>
33423
33424 * manual/macros.texi: New file.
33425 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
33426 * manual/libc.texinfo: Include macros.texi.
33427 * manual/creatute.texi: Likewise.
33428 * manual/install.texi: Likewise.
33429 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
33430 @glibcadj{} in references to the GNU C Library.
33431 * manual/charset.texi: Likewise.
33432 * manual/conf.texi: Likewise.
33433 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
33434 when not using those macros.
33435 * manual/creature.texi: Likewise.
33436 * manual/crypt.texi: Likewise.
33437 * manual/errno.texi: Likewise.
33438 * manual/filesys.texi: Likewise.
33439 * manual/header.texi: Likewise.
33440 * manual/install.texi: Likewise.
33441 * manual/intro.texi: Likewise.
33442 * manual/io.texi: Likewise.
33443 * manual/job.texi: Likewise.
33444 * manual/lang.texi: Likewise.
33445 * manual/libc.texiinfo: Likewise.
33446 * manual/llio.texi: Likewise.
33447 * manual/locale.texi: Likewise.
33448 * manual/maint.texi: Likewise.
33449 * manual/math.texi: Likewise.
33450 * manual/memory.texi: Likewise.
33451 * manual/message.texi: Likewise.
33452 * manual/nss.texi: Likewise.
33453 * manual/pattern.texi: Likewise.
33454 * manual/process.texi: Likewise.
33455 * manual/resource.texi: Likewise.
33456 * manual/search.texi: Likewise.
33457 * manual/setjmp.texi: Likewise.
33458 * manual/signal.texi: Likewise.
33459 * manual/socket.texi: Likewise.
33460 * manual/startup.texi: Likewise.
33461 * manual/stdio.texi: Likewise.
33462 * manual/string.texi: Likewise.
33463 * manual/sysinfo.texi: Likewise.
33464 * manual/syslog.texi: Likewise.
33465 * manual/terminal.texi: Likewise.
33466 * manual/time.texi: Likewise.
33467 * manual/users.texi: Likewise.
33468 * INSTALL: Regenerated.
33469 * NOTES: Regenerated.
d40c5d54 33470 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 33471
450bf206
AS
334722012-02-28 Andreas Schwab <schwab@linux-m68k.org>
33473
33474 * include/dirent.h: Include <dirstream.h> before
33475 <dirent/dirent.h>.
33476
741a235b
DM
334772012-02-28 David S. Miller <davem@davemloft.net>
33478
33479 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
33480 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
33481 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
33482 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
33483
d6b5aa58
DM
334842012-02-27 David S. Miller <davem@davemloft.net>
33485
1aff59a3
DM
33486 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
33487 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
33488 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
33489 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
33490
d6b5aa58
DM
33491 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
33492 frame pointer instead of stack pointer relative arg slot.
33493 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
33494 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
33495 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
33496
433f48bf
CD
334972012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
33498
33499 [BZ #3992]
33500 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
33501
d674b76d
DM
335022012-02-27 David S. Miller <davem@davemloft.net>
33503
33504 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
33505 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
33506 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
33507 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
33508 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
33509 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
33510 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
33511 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
33512
0e7727f7
JM
335132012-02-27 Joseph Myers <joseph@codesourcery.com>
33514
33515 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
33516 later. Allow versions 5-9.
43be4ca2 33517 * configure: Regenerated.
0e7727f7
JM
33518 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
33519 required minimum version and 4.6 as recommended version. Do not
33520 mention bugs in GCC 2.7 and 2.8.
43be4ca2 33521 * INSTALL: Regenerated.
0e7727f7 33522
a78bc654
DM
335232012-02-27 David S. Miller <davem@davemloft.net>
33524
428d5830
DM
33525 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
33526 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
33527 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
33528 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
33529 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
33530 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
33531 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
33532 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
33533
a78bc654
DM
33534 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
33535 manipulate bits before adding and subtracting TWO112[sx].
33536 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
33537
4579f81c
RM
335382012-02-27 Roland McGrath <roland@hack.frob.com>
33539
36c8acb4
RM
33540 [BZ #13775]
33541 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
33542 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
33543 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
33544 being in POSIX, because they are in 1003.1-2008.
33545
84ad622b
RM
33546 * rt/tst-aio.c: Include <fcntl.h>.
33547 * rt/tst-aio7.c: Likewise.
33548 * rt/tst-aio64.c: Likewise.
33549
4579f81c
RM
33550 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
33551
abd923db
JM
335522012-02-27 Joseph Myers <joseph@codesourcery.com>
33553
33554 * manual/install.texi (--with-headers): Describe headers as
33555 interface headers, not private headers.
33556 (Specific advice for GNU/Linux systems): Describe use of headers
33557 from "make headers_install", not private headers from older
33558 kernels.
43be4ca2 33559 * INSTALL: Regenerated.
abd923db
JM
33560 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
33561 Change to 2.6.19.
33562 * sysdeps/unix/sysv/linux/configure: Regenerated.
33563
6664049b
JM
33564 * manual/llio.texi (fclean): Remove documentation.
33565
bb8b6697
JM
33566 * manual/Makefile (libc-texi-generated): New variable. Include
33567 version.texi.
33568 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
33569 $(libc-texi-generated), not duplicated list of files.
33570 (version.texi, stamp-version): New rules.
33571 (realclean): Remove $(libc-texi-generated), not individual files
33572 from that list. Do not remove dir-add.texinfo.
33573 * manual/libc.texinfo: Comment out uses of edition numbers and
33574 references to printed manual. Remove last-updated dates.
33575 (EDITION): Comment out.
33576 (ISBN): Likewise.
33577 (VERSION, UPDATED): Remove.
33578 (version.texi): Include.
33579
12e5c3b9
AS
335802012-02-27 Andreas Schwab <schwab@linux-m68k.org>
33581
33582 * sysdeps/posix/spawni.c: Include <signal.h>.
33583 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
33584 * sysdeps/pthread/aio_fsync.c: Likewise.
33585
4efeffc1 335862012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 33587
ba63ba08
UD
33588 * conform/Makefile (tests): Run only when not cross-compiling and
33589 when fast-check is not defined.
33590
d94a4670
UD
33591 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
33592 * conform/data/limits.h-data: Fixes for POSIX2008.
33593 * conform/run-conformtest.sh: Run all tests.
33594 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
33595 headers.
33596 * include/bits/dlfcn.h: Likewise.
33597 * include/langinfo.h: Likewise.
33598 * include/monetary.h: Likewise.
33599 * include/sys/poll.h: Likewise.
33600
33601 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
33602 for __USE_GNU.
33603 * posix/spawn.h: Define __need_sigset_t.
33604 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
33605 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
33606 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
33607 to get sigevent_t only.
33608 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
33609 only for __USE_GNU.
33610 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
33611 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
33612 process_vm_writev only for __USE_GNU.
33613 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
33614
33615 * conform/Makefile: For now ignore errors from run-conformtest.
33616 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
33617 POSIX to avoid namespace pollution. Don't prepend headers.
33618 * conform/data/aio.h-data: Fixes for POSIX testing.
33619 * conform/data/fcntl.h-data: Likewise.
33620 * conform/data/glob.h-data: Likewise.
33621 * conform/data/grp.h-data: Likewise.
33622 * conform/data/pthread.h-data: Likewise.
33623 * conform/data/pwd.h-data: Likewise.
33624 * conform/data/signal.h-data: Likewise.
33625 * conform/data/spawn.h-data: Likewise.
33626 * conform/data/stdio.h-data: Likewise.
33627 * conform/data/stdlib.h-data: Likewise.
33628 * conform/data/stropts.h-data: Likewise.
33629 * conform/data/sys/mman.h-data: Likewise.
33630 * conform/data/sys/stat.h-data: Likewise.
33631 * conform/data/sys/types.h-data: Likewise.
33632 * conform/data/sys/wait.h-data: Likewise.
33633 * conform/data/time.h-data: Likewise.
33634 * conform/data/unistd.h-data: Likewise.
33635 * conform/data/utime.h-data: Likewise.
33636
33637 * io/sys/stat.h: fchmod was always in POSIX.
33638 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
33639 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
33640 * rt/aio.h: Define __need_timespec before including <time.h>.
33641 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
33642 struct. Add forward declaration of pthread_attr_t and use it in
33643 sigevent.
33644 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
33645 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
33646 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
33647 always remove CLK_TCK definition.
33648
c20105c3
AS
336492012-02-26 Andreas Schwab <schwab@linux-m68k.org>
33650
33651 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
33652
7a270350
UD
336532012-02-25 Ulrich Drepper <drepper@gmail.com>
33654
31341567
UD
33655 * conform/run-conformtest.sh: New file.
33656 * conform/Makefile: Run run-conformtest for tests.
33657 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
33658 support.
33659
33660 * conform/data/uchar.h-data: New file.
33661 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
33662 * conform/data/arpa/inet.h-data: Likewise.
33663 * conform/data/assert.h-data: Likewise.
33664 * conform/data/complex.h-data: Likewise.
33665 * conform/data/cpio.h-data: Likewise.
33666 * conform/data/ctype.h-data: Likewise.
33667 * conform/data/dirent.h-data: Likewise.
33668 * conform/data/dlfcn.h-data: Likewise.
33669 * conform/data/errno.h-data: Likewise.
33670 * conform/data/fcntl.h-data: Likewise.
33671 * conform/data/float.h-data: Likewise.
33672 * conform/data/fmtmsg.h-data: Likewise.
33673 * conform/data/fnmatch.h-data: Likewise.
33674 * conform/data/ftw.h-data: Likewise.
33675 * conform/data/glob.h-data: Likewise.
33676 * conform/data/grp.h-data: Likewise.
33677 * conform/data/iconv.h-data: Likewise.
33678 * conform/data/inttypes.h-data: Likewise.
33679 * conform/data/langinfo.h-data: Likewise.
33680 * conform/data/libgen.h-data: Likewise.
33681 * conform/data/limits.h-data: Likewise.
33682 * conform/data/locale.h-data: Likewise.
33683 * conform/data/math.h-data: Likewise.
33684 * conform/data/monetary.h-data: Likewise.
33685 * conform/data/mqueue.h-data: Likewise.
33686 * conform/data/ndbm.h-data: Likewise.
33687 * conform/data/net/if.h-data: Likewise.
33688 * conform/data/netdb.h-data: Likewise.
33689 * conform/data/netinet/in.h-data: Likewise.
33690 * conform/data/nl_types.h-data: Likewise.
33691 * conform/data/poll.h-data: Likewise.
33692 * conform/data/pthread.h-data: Likewise.
33693 * conform/data/pwd.h-data: Likewise.
33694 * conform/data/regex.h-data: Likewise.
33695 * conform/data/sched.h-data: Likewise.
33696 * conform/data/search.h-data: Likewise.
33697 * conform/data/semaphore.h-data: Likewise.
33698 * conform/data/setjmp.h-data: Likewise.
33699 * conform/data/signal.h-data: Likewise.
33700 * conform/data/spawn.h-data: Likewise.
33701 * conform/data/stdarg.h-data: Likewise.
33702 * conform/data/stdio.h-data: Likewise.
33703 * conform/data/stdlib.h-data: Likewise.
33704 * conform/data/string.h-data: Likewise.
33705 * conform/data/strings.h-data: Likewise.
33706 * conform/data/stropts.h-data: Likewise.
33707 * conform/data/sys/ipc.h-data: Likewise.
33708 * conform/data/sys/mman.h-data: Likewise.
33709 * conform/data/sys/msg.h-data: Likewise.
33710 * conform/data/sys/resource.h-data: Likewise.
33711 * conform/data/sys/select.h-data: Likewise.
33712 * conform/data/sys/sem.h-data: Likewise.
33713 * conform/data/sys/shm.h-data: Likewise.
33714 * conform/data/sys/socket.h-data: Likewise.
33715 * conform/data/sys/stat.h-data: Likewise.
33716 * conform/data/sys/statvfs.h-data: Likewise.
33717 * conform/data/sys/time.h-data: Likewise.
33718 * conform/data/sys/timeb.h-data: Likewise.
33719 * conform/data/sys/times.h-data: Likewise.
33720 * conform/data/sys/types.h-data: Likewise.
33721 * conform/data/sys/uio.h-data: Likewise.
33722 * conform/data/sys/un.h-data: Likewise.
33723 * conform/data/sys/utsname.h-data: Likewise.
33724 * conform/data/sys/wait.h-data: Likewise.
33725 * conform/data/syslog.h-data: Likewise.
33726 * conform/data/tar.h-data: Likewise.
33727 * conform/data/termios.h-data: Likewise.
33728 * conform/data/utime.h-data: Likewise.
33729 * conform/data/utmpx.h-data: Likewise.
33730 * conform/data/varargs.h-data: Likewise.
33731 * conform/data/wchar.h-data: Likewise.
33732 * conform/data/wctype.h-data: Likewise.
33733 * conform/data/wordexp.h-data: Likewise.
33734
33735 * include/stropts.h: New file.
33736 * include/uchar.h: New file.
33737 * include/aio.h: Changes to allow conformtest.pl to use the headers.
33738 * include/assert.h: Likewise.
33739 * include/ctype.h: Likewise.
33740 * include/dirent.h: Likewise.
33741 * include/dlfcn.h: Likewise.
33742 * include/fcntl.h: Likewise.
33743 * include/fnmatch.h: Likewise.
33744 * include/glob.h: Likewise.
33745 * include/grp.h: Likewise.
33746 * include/libio.h: Likewise.
33747 * include/locale.h: Likewise.
33748 * include/math.h: Likewise.
33749 * include/net/if.h: Likewise.
33750 * include/netdb.h: Likewise.
33751 * include/netinet/in.h: Likewise.
33752 * include/pthread.h: Likewise.
33753 * include/pwd.h: Likewise.
33754 * include/regex.h: Likewise.
33755 * include/sched.h: Likewise.
33756 * include/search.h: Likewise.
33757 * include/setjmp.h: Likewise.
33758 * include/signal.h: Likewise.
33759 * include/stdio.h: Likewise.
33760 * include/stdlib.h: Likewise.
33761 * include/string.h: Likewise.
33762 * include/sys/cdefs.h: Likewise.
33763 * include/sys/mman.h: Likewise.
33764 * include/sys/msg.h: Likewise.
33765 * include/sys/resource.h: Likewise.
33766 * include/sys/select.h: Likewise.
33767 * include/sys/socket.h: Likewise.
33768 * include/sys/stat.h: Likewise.
33769 * include/sys/statvfs.h: Likewise.
33770 * include/sys/time.h: Likewise.
33771 * include/sys/times.h: Likewise.
33772 * include/sys/uio.h: Likewise.
33773 * include/sys/utsname.h: Likewise.
33774 * include/sys/wait.h: Likewise.
33775 * include/termios.h: Likewise.
33776 * include/time.h: Likewise.
33777 * include/ulimit.h: Likewise.
33778 * include/unistd.h: Likewise.
33779 * include/utime.h: Likewise.
33780 * include/wchar.h: Likewise.
33781 * include/wctype.h: Likewise.
33782 * include/wordexp.h: Likewise.
33783
33784 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
33785
7a270350
UD
33786 * time/time.h: TIME_UTC must be a macro.
33787 Make timespec_get available for ISO C11 only as well.
33788
7724defc
UD
337892012-02-24 Ulrich Drepper <drepper@gmail.com>
33790
33791 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
33792 Reported by Peng Haitao <penght@cn.fujitsu.com>.
33793
6b1d1d46
JM
337942012-02-24 Joseph Myers <joseph@codesourcery.com>
33795
33796 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 33797
0f8bbd69
JM
337982012-02-24 Joseph Myers <joseph@codesourcery.com>
33799
33800 * manual/texinfo.tex: Update to version 2012-01-19.16.
33801
66ab80bc
JM
338022012-02-24 Joseph Myers <joseph@codesourcery.com>
33803
33804 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
33805
74981cc5
RM
338062012-02-24 Roland McGrath <roland@hack.frob.com>
33807
ee968201
RM
33808 [BZ #13738]
33809 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
33810 * manual/fdl-1.3.texi: New file.
33811 * manual/fdl-1.1.texi: File removed.
33812
74981cc5
RM
33813 [BZ #13738]
33814 * manual/libc.texinfo (FDL_VERSION): New @set.
33815 Use it for mention of FDL in cover text.
33816 (Documentation License): Use it in @include file name.
33817
7bb764bc
JM
338182012-02-22 Joseph Myers <joseph@codesourcery.com>
33819 Roland McGrath <roland@hack.frob.com>
33820
33821 [BZ #5461]
33822 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
33823 not LONG_LONG_MAX and LONG_LONG_MIN.
33824 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
33825 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
33826 name.
33827 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
33828
6cbeae47
JM
338292012-02-22 Joseph Myers <joseph@codesourcery.com>
33830
33831 [BZ #2547]
33832 [BZ #11365]
33833 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
33834 manipulate bits before adding and subtracting TWO23[sx].
33835 * math/libm-test.inc (nearbyint_test): Add more tests.
33836
fe45ce09
JM
338372012-02-22 Joseph Myers <joseph@codesourcery.com>
33838
33839 [BZ #2548]
33840 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
33841 bits before adding and subtracting TWO23[sx].
33842 * math/libm-test.inc (rint_test): Add more tests.
33843 (rint_test_tonearest): Likewise.
33844 (rint_test_towardzero): Likewise.
33845 (rint_test_downward): Likewise.
33846 (rint_test_upward: Likewise.
33847
ff3b3d82
JM
338482012-02-22 Joseph Myers <joseph@codesourcery.com>
33849
33850 [BZ #10110]
33851 * include/stdc-predef.h: New file. Extracted from features.h.
33852 * include/features.h: Include stdc-predef.h.
33853 * Makefile (headers): Add stdc-predef.h.
33854 * CONFORMANCE (Compiler limitations): Update.
33855
ef0aab35
JM
338562012-02-22 Joseph Myers <joseph@codesourcery.com>
33857
33858 * manual/libc.texinfo (VERSION, UPDATED): Revert.
33859
58639409
DM
338602012-02-21 David S. Miller <davem@davemloft.net>
33861
33862 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
33863 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
33864
c0e70b25
DM
338652012-02-20 David S. Miller <davem@davemloft.net>
33866
33867 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
33868 using a normal save/restore sequence, rather than allocating a
33869 dummy stack frame just to store a frame pointer and restore.
33870 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
33871
fb06851d
JM
338722012-02-21 Joseph Myers <joseph@codesourcery.com>
33873
33874 * manual/install.texi: Fix stray word in line-wrapped comment.
33875
7a8b71c3
DM
338762012-02-20 David S. Miller <davem@davemloft.net>
33877
d510c123
DM
33878 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
33879 both binutils and gcc support GOTDATA.
33880
0722d7c2
DM
33881 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
33882 "rd %pc" in the PIC register setup sequences.
33883
3d2b3019
DM
33884 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
33885 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
33886 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
33887 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
33888 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
33889 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
33890 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
33891 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
33892 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
33893 (SYSCALL_ERROR_HANDLER): Likewise.
33894 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
33895 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
33896 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
33897 (SYSCALL_ERROR_HANDLER): Likewise.
33898
c80098a9
DM
33899 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
33900 (HAVE_GCC_GOTDATA): New.
33901 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
33902 relocation support in both binutils and gcc.
33903 * sysdeps/sparc/elf/configure: Regenerate.
33904
3a2545a0
DM
33905 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
33906 * sysdeps/sparc/sparc32/elf/configure: Delete.
33907 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
33908 * sysdeps/sparc/sparc64/elf/configure: Delete.
33909 * sysdeps/sparc/elf/configure.in: New file.
33910 * sysdeps/sparc/elf/configure: Generate.
33911
7a8b71c3
DM
33912 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
33913 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
33914 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
33915 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
33916 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
33917
f1e86fca
JM
339182012-02-21 Joseph Myers <joseph@codesourcery.com>
33919
33920 * manual/install.texi: Do not mention specific glibc version
33921 numbers.
33922 * manual/libc.texinfo (VERSION, UPDATED): Update.
33923 (@copying): Use @copyright{} and range of years.
33924
0e7dfaef
JM
339252012-02-21 Joseph Myers <joseph@codesourcery.com>
33926
33927 [BZ #13695]
33928 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
33929 [crti.S not in sysdirs] (generated): Do not append.
33930 [crti.S not in sysdirs] (omit-deps): Likewise.
33931 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
33932 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
33933 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
33934 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
33935 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
33936 Likewise.
33937 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
33938 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
33939 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
33940 * csu/defs.awk: Remove file.
33941 * sysdeps/generic/initfini.c: Likewise.
33942 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
33943 variable.
33944 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
33945 Likewise.
33946
599af3ca
JM
339472012-02-20 Joseph Myers <joseph@codesourcery.com>
33948
33949 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
33950 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
33951 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
33952 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
33953 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
33954 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
33955 <bits/epoll.h>.
33956 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
33957 (__EPOLL_PACKED): Define to empty if not defined by
33958 <bits/epoll.h>.
33959 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
33960 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33961 bits/epoll.h.
33962
0e499750
JM
339632012-02-20 Joseph Myers <joseph@codesourcery.com>
33964
33965 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
33966 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
33967 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
33968 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
33969 <bits/timerfd.h>.
33970 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
33971 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33972 bits/timerfd.h.
33973
5ad91f6e
JM
339742012-02-20 Joseph Myers <joseph@codesourcery.com>
33975
33976 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
33977 in C locale.
33978 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33979 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
33980 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
33981 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33982
06b99b02
AJ
339832012-02-20 Aurelien Jarno <aurelien@aurel32.net>
33984
33985 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33986 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
33987
7638c0fd
AS
339882012-02-19 Andreas Schwab <schwab@linux-m68k.org>
33989
33990 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
33991 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
33992 defined.
33993 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
33994 Likewise.
33995 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
33996 entry for 2.16.
33997
92221550
AJ
339982012-02-19 Aurelien Jarno <aurelien@aurel32.net>
33999
34000 * math/w_acos.c: Use non-signaling floating-point comparisons.
34001 * math/w_acosf.c: Likewise.
34002 * math/w_acosh.c: Likewise.
34003 * math/w_acoshf.c: Likewise.
34004 * math/w_acoshl.c: Likewise.
34005 * math/w_acosl.c: Likewise.
34006 * math/w_asin.c: Likewise.
34007 * math/w_asinf.c: Likewise.
34008 * math/w_asinl.c: Likewise.
34009 * math/w_atanh.c: Likewise.
34010 * math/w_atanhf.c: Likewise.
34011 * math/w_atanhl.c: Likewise.
34012 * math/w_exp2.c: Likewise.
34013 * math/w_exp2f.c: Likewise.
34014 * math/w_exp2l.c: Likewise.
34015 * math/w_j0.c: Likewise.
34016 * math/w_j0f.c: Likewise.
34017 * math/w_j0l.c: Likewise.
34018 * math/w_j1.c: Likewise.
34019 * math/w_j1f.c: Likewise.
34020 * math/w_j1l.c: Likewise.
34021 * math/w_jn.c: Likewise.
34022 * math/w_jnf.c: Likewise.
34023 * math/w_log.c: Likewise.
34024 * math/w_log10.c: Likewise.
34025 * math/w_log10f.c: Likewise.
34026 * math/w_log10l.c: Likewise.
34027 * math/w_log2.c: Likewise.
34028 * math/w_log2f.c: Likewise.
34029 * math/w_log2l.c: Likewise.
34030 * math/w_logf.c: Likewise.
34031 * math/w_logl.c: Likewise.
34032 * math/w_sqrt.c: Likewise.
34033 * math/w_sqrtf.c: Likewise.
34034 * math/w_sqrtl.c: Likewise.
34035 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
34036 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
34037 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
34038 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
34039 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
34040
ebaf36eb
JM
340412012-02-19 Joseph Myers <joseph@codesourcery.com>
34042
34043 [BZ #9739]
34044 * manual/string.texi (strnlen): Use correct parameter name in
34045 equivalent expression.
34046
71c254a6
JM
340472012-02-19 Joseph Myers <joseph@codesourcery.com>
34048
34049 [BZ #11174]
34050 * manual/users.texi (seteuid): Consistently use neweuid for
34051 argument name.
34052
16d2c631
JM
340532012-02-19 Joseph Myers <joseph@codesourcery.com>
34054
34055 [BZ #13704]
34056 * manual/nss.texi (Services in the NSS configuration): Correct
34057 list of services in example configuration file.
34058
cd837b09
NB
340592012-02-19 Nick Bowler <nbowler@draconx.ca>
34060
34061 [BZ #11322]
34062 * manual/arith.texi: Remove statements about negative zero
34063 behaving identically to zero.
34064
02c4bbad
JM
340652012-02-18 Joseph Myers <joseph@codesourcery.com>
34066
34067 [BZ #5993]
34068 * manual/install.texi: Do not document upgrading from libc5.
34069
366842e7
JM
340702012-02-18 Joseph Myers <joseph@codesourcery.com>
34071
34072 [BZ #4596]
34073 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
34074
dd54084d
DM
340752012-02-18 David S. Miller <davem@davemloft.net>
34076
34077 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
34078 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
34079 %o7 across the call.
34080 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
34081 instead.
34082 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
34083 SETUP_PIC_REG_LEAF.
34084 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34085 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
34086 * sysdeps/sparc/crtn.S: Likewise.
34087
2bcc53a3
UD
340882012-02-17 Ulrich Drepper <drepper@gmail.com>
34089
34090 * aout/Makefile: Remove.
34091
09c093b5
RK
340922012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
34093
34094 [BZ #13058]
34095 * manual/examples/argp-ex1.c (main): Format definition in GNU
34096 style.
34097 * manual/examples/argp-ex2.c (main): Likewise.
34098 * manual/examples/argp-ex3.c (main): Likewise.
34099 * manual/examples/argp-ex4.c (main): Likewise.
34100 * manual/examples/longopt.c (main): Use new-style prototype
34101 definition.
34102 * manual/examples/strncat.c (main): Specify return type and use
34103 (void) for arguments.
34104 * manual/examples/subopt.c (main): Use char **argv argument.
34105
2ee633a2
JM
341062012-02-17 Joseph Myers <joseph@codesourcery.com>
34107
34108 [BZ #5077]
34109 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
34110 rounding modes.
34111
0520adde
FB
341122012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
34113
34114 [BZ #6907]
34115 * manual/string.texi (strchr): Change when strchrnul is
34116 recommended.
34117
3f4081cd
DGM
341182012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
34119
34120 [BZ #174]
34121 * manual/locale.texi (setlocale): Document LOCPATH.
34122
d1b10e78
JM
341232012-02-17 Joseph Myers <joseph@codesourcery.com>
34124
34125 [BZ #10210]
34126 * manual/process.texi (execle): Move @dots{} before last argument.
34127
79c6869c
PB
341282012-02-17 Paul Bolle <pebolle@tiscali.nl>
34129
34130 [BZ #12047]
34131 * manual/charset.texi (Generic Charset Conversion): Fix typo
34132 (LC_TYPE -> LC_CTYPE).
34133
cc6e48bc
NB
341342012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
34135
34136 [BZ #5805]
34137 * manual/arith.texi (scalbn): Use @var{} on parameter names.
34138 (scalbnf): Likewise.
34139 (scalbnl): Likewise.
34140 (scalbln): Likewise.
34141 (scalblnf): Likewise.
34142 (scalblnl): Likewise.
34143 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
34144 (vwarnx): Likewise.
34145 (verr): Likewise.
34146 (verrx): Likewise.
34147 * manual/filesys.texi (telldir): Use braces around return type.
34148 * manual/llio.texi (mmap): Add space after comma.
34149 (mmap64): Likewise.
34150 * manual/math.texi (jn): Use @var{} on parameter names.
34151 (jnf): Likewise.
34152 (jnl): Likewise.
34153 (yn): Likewise.
34154 (ynf): Likewise.
34155 (ynl): Likewise.
34156 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
34157 line.
34158 * manual/resource.texi (ulimit): Use @dots{} instead of literal
34159 "...".
34160 (sched_get_priority_min): Remove semicolon on @deftypefun line.
34161 (sched_get_priority_max): Likewise.
34162 * manual/signal.texi (sigvec): Add space after comma.
34163 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
34164 names.
34165 (if_indextoname): Likewise.
34166 (if_freenameindex): Likewise.
34167 (sendto): Use ',' instead of '.' in prototype.
34168 * manual/startup.texi (syscall): Use @dots{} instead of literal
34169 "...".
34170 * manual/stdio.texi (__fpending): Separate initial words of
34171 paragraph from @deftypefun line.
34172 * manual/syslog.texi (syslog): Use @dots{} instead of literal
34173 "...".
34174 (vsyslog): Use @var{} on parameter names.
34175 * manual/terminal.texi (stty): Use @var{} on parameter names.
34176 * manual/users.texi (getutmp): Use @var{} on parameter names.
34177 (getutmpx): Likewise.
34178
5b23062f
JM
341792012-02-17 Joseph Myers <joseph@codesourcery.com>
34180
34181 [BZ #6884]
34182 * manual/stdio.texi (fopen): Fix typos in description of
34183 ",ccs=STRING".
34184
8dee4833
AJ
341852012-02-17 Aurelien Jarno <aurelien@aurel32.net>
34186
34187 [BZ #4026]
34188 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
34189 get clock_id definition.
34190
9078ce93
TS
341912012-02-17 Thomas Schwinge <thomas@schwinge.name>
34192
34193 [BZ #4822]
34194 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
34195 (madvise): Cast every argument to void on its own.
34196
3835c55f
JM
341972012-02-17 Joseph Myers <joseph@codesourcery.com>
34198
34199 [BZ #9902]
34200 * manual/startup.texi (Exit Status): Fix typo.
34201
35c47e37
JM
342022012-02-17 Joseph Myers <joseph@codesourcery.com>
34203
34204 [BZ #10140]
34205 * manual/examples/argp-ex1.c: Include <stdlib.h>.
34206 * manual/examples/argp-ex2.c: Likewise.
34207 * manual/examples/argp-ex3.c: Likewise.
34208
e3b69ca7
RH
342092012-02-16 Richard Henderson <rth@redhat.com>
34210
34211 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
34212 * sysdeps/s390/s390-32/initfini.c: Remove.
34213 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
34214 * sysdeps/s390/s390-64/initfini.c: Remove.
34215
df83af67
KK
342162012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
34217
34218 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
34219 compiler output for sysdeps/generic/initfini.c.
34220 * sysdeps/sh/elf/initfini.c: Remove file.
34221
f63f3380
DM
342222012-02-16 David S. Miller <davem@davemloft.net>
34223
fb59b3a4
DM
34224 [BZ #11494]
34225 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
34226
f63f3380
DM
34227 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
34228 * sysdeps/sparc/crti.S: New file.
34229 * sysdeps/sparc/crtn.S: New file.
34230 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
34231 * sysdeps/sparc/sparc64/Makefile: Likewise.
34232
df6a4a4a
MF
342332012-02-15 Mike Frysinger <vapier@gentoo.org>
34234
6dd8f3dc 34235 [BZ #3335]
df6a4a4a
MF
34236 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
34237
1cac7236
RM
342382012-02-15 Roland McGrath <roland@hack.frob.com>
34239
d2c736f8
RM
34240 [BZ #4822]
34241 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
34242
1cac7236
RM
34243 * mach/devstream.c (cookie_io_functions_t): Macro removed.
34244 (write, read, close): Likewise.
34245 Patch by Aurelien Jarno <aurelien@aurel32.net>.
34246
8e475601
JM
342472012-02-15 Joseph Myers <joseph@codesourcery.com>
34248
34249 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
34250 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
34251 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
34252 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
34253 <bits/signalfd.h>.
34254 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
34255 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34256 bits/signalfd.h.
34257
ed656b40
MP
342582012-02-14 Marek Polacek <polacek@redhat.com>
34259
34260 * sysdeps/x86_64/crti.S: New file.
34261 * sysdeps/x86_64/crtn.S: New file.
34262 * sysdeps/x86_64/elf/initfini.c: Remove file.
34263
2a979d3a
JM
342642012-02-13 Joseph Myers <joseph@codesourcery.com>
34265
34266 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
34267 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
34268 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
34269 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
34270 <bits/inotify.h>.
34271 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
34272 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34273 bits/inotify.h.
34274
2a418ac3
JM
342752012-02-13 Joseph Myers <joseph@codesourcery.com>
34276
34277 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
34278 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
34279 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
34280 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
34281 <bits/eventfd.h>.
34282 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
34283 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34284 bits/eventfd.h.
34285
fb779be7
TS
342862012-02-10 Thomas Schwinge <thomas@codesourcery.com>
34287
e19e83c5
RM
34288 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
34289 __feraiseexcept instead of feraiseexcept.
7c35ffed 34290
fb779be7
TS
34291 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
34292 nanosleep invocations.
34293 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
34294 strings, and add error checking for a nanosleep invocations.
34295
59ba27a6
PE
342962012-02-09 Paul Eggert <eggert@cs.ucla.edu>
34297
34298 Replace FSF snail mail address with URLs, as per GNU coding standards.
34299 Most of the snail mail addresses were wrong anyway, and omitting
34300 them makes the source code easier to maintain. Almost all of the
34301 changes are to license notices and to locale LC_IDENTIFICATION
34302 addresses, except for this one:
34303 * manual/libc.texinfo: In "Published by", give the FSF's URL,
34304 not its snail mail address.
34305
57b957eb
RH
343062012-02-09 Richard Henderson <rth@twiddle.net>
34307
af850b1c
RH
34308 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
34309 of kernel-features.h.
34310
57b957eb
RH
34311 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
34312
6b73181a
MP
343132012-02-08 Marek Polacek <polacek@redhat.com>
34314
34315 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
34316 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
34317 * sysdeps/gnu/_G_config.h: Likewise.
34318 * sysdeps/generic/_G_config.h: Likewise.
34319
26ecc33a
AS
343202012-02-08 Andreas Schwab <schwab@linux-m68k.org>
34321
6c6dbc63
AS
34322 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
34323 tests.
34324 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34325
e216c012
AS
34326 * sysdeps/powerpc/powerpc32/crti.S: New file.
34327 * sysdeps/powerpc/powerpc32/crtn.S: New file.
34328 * sysdeps/powerpc/powerpc64/crti.S: New file.
34329 * sysdeps/powerpc/powerpc64/crtn.S: New file.
34330
26ecc33a
AS
34331 * Makeconfig (have-initfini): Don't set.
34332 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
34333 * configure.in (nopic_initfini): Don't substitute.
34334 * config.h.in (HAVE_INITFINI): Don't #undef.
34335 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
34336 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
34337
3add8e13
JM
343382012-02-08 Joseph Myers <joseph@codesourcery.com>
34339
34340 Support crti.S and crtn.S provided directly by architectures.
34341 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
34342 [crti.S in sysdirs] (omit-deps): Likewise.
34343 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
34344 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
34345 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
34346 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
34347 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
34348 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
34349 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
34350 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
34351 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
34352 compiler output for sysdeps/generic/initfini.c.
34353 * sysdeps/i386/elf/Makefile: Remove file.
34354 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
34355
a22f12b4
MP
343562012-02-07 Marek Polacek <polacek@redhat.com>
34357
34358 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
34359 * sysdeps/gnu/_G_config.h: Likewise.
34360 * sysdeps/mach/hurd/_G_config.h: Likewise.
34361
148cf100
MP
343622012-02-07 Marek Polacek <polacek@redhat.com>
34363
34364 * math/Makefile (tests): Add tst-CMPLX2.
34365 * math/tst-CMPLX2.c: New file.
34366
cfdc0dd7
AS
343672012-02-07 Andreas Schwab <schwab@linux-m68k.org>
34368
84ba42c4
AS
34369 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34370
cfdc0dd7
AS
34371 * math/libm-test.inc (jn_test): Add missing L suffix.
34372
622c86f4
MP
343732012-02-06 Marek Polacek <polacek@redhat.com>
34374
34375 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
34376 * sysdeps/i386/fpu/e_powf.S: Likewise.
34377 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
34378 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
34379 * sysdeps/i386/fpu/e_acosh.S: Likewise.
34380 * sysdeps/i386/fpu/e_pow.S: Likewise.
34381 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
34382 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
34383 * sysdeps/i386/fpu/s_expm1.S: Likewise.
34384 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
34385 * sysdeps/i386/fpu/e_log2.S: Likewise.
34386 * sysdeps/i386/fpu/e_log2l.S: Likewise.
34387 * sysdeps/i386/fpu/e_scalb.S: Likewise.
34388 * sysdeps/i386/fpu/e_powl.S: Likewise.
34389 * sysdeps/i386/fpu/s_log1p.S: Likewise.
34390 * sysdeps/i386/fpu/e_log10f.S: Likewise.
34391 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
34392 * sysdeps/i386/fpu/e_logl.S: Likewise.
34393 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
34394 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
34395 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
34396 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
34397 * sysdeps/i386/fpu/e_log2f.S: Likewise.
34398 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
34399 * sysdeps/i386/fpu/e_log.S: Likewise.
34400 * sysdeps/i386/fpu/s_cexp.S: Likewise.
34401 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
34402 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
34403 * sysdeps/i386/fpu/e_logf.S: Likewise.
34404 * sysdeps/i386/fpu/e_log10l.S: Likewise.
34405 * sysdeps/i386/fpu/e_atanh.S: Likewise.
34406 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
34407 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
34408 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
34409 * sysdeps/i386/fpu/e_log10.S: Likewise.
34410 * sysdeps/i386/fpu/s_frexp.S: Likewise.
34411 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
34412 * sysdeps/i386/fpu/s_asinh.S: Likewise.
34413 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
34414 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
34415 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
34416 * sysdeps/i386/asm-syntax.h: Likewise.
34417 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
34418 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
34419 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
34420 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
34421 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
34422 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
34423 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
34424 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
34425 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
34426 * sysdeps/powerpc/sysdep.h: Likewise.
34427 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
34428 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
34429
d4a54ac6
JM
344302012-02-06 Joseph Myers <joseph@codesourcery.com>
34431
34432 [BZ #411]
34433 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
34434
314054ea
JM
344352012-02-06 Joseph Myers <joseph@codesourcery.com>
34436
34437 * sysdeps/i386/sysdep.h: Include <features.h>.
34438 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
34439 version.
34440
d8e0ca50
JM
344412012-02-05 Joseph Myers <joseph@codesourcery.com>
34442
34443 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
34444 Define.
34445 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
34446 LOAD_PIC_REG_STR.
34447
b1da7dd9
JM
344482012-02-03 Joseph Myers <joseph@codesourcery.com>
34449
34450 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
34451 (SETUP_PIC_REG): Use GET_PC_THUNK.
34452 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
34453 macro.
34454
9a1d9254
JM
344552012-02-03 Joseph Myers <joseph@codesourcery.com>
34456
34457 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
34458 for non-PIC compilation.
34459 (SETUP_PIC_REG): Add .p2align directive.
34460 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
34461 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
34462 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
34463 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
34464 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
34465 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
34466 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
34467 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
34468 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
34469 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
34470 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
34471 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
34472 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
34473 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
34474 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
34475 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
34476 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
34477 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
34478 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
34479 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
34480 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
34481 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
34482 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
34483 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
34484 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
34485 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
34486 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
34487 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
34488 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
34489 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
34490 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
34491 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
34492 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
34493 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
34494 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
34495 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
34496 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
34497 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
34498 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
34499 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
34500 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
34501
65dc3b75
JM
345022012-02-03 Joseph Myers <joseph@codesourcery.com>
34503
34504 * math/tst-CMPLX.c: Include <stdio.h>.
34505
d55bf177
JM
345062012-01-31 Joseph Myers <joseph@codesourcery.com>
34507
34508 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
34509 float.
34510 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
34511 * sysdeps/sparc/bits/mathdef.h: Likewise.
34512
69db4f8f
MP
345132012-01-31 Marek Polacek <polacek@redhat.com>
34514
34515 * libio/libio.h: Don't define _PARAMS.
34516 * locale/programs/config.h: Don't define PARAMS.
34517 * stdlib/strtol_l.c: Likewise.
34518 (__strtol_l): Remove PARAMS from the prototype.
34519
41b81892
UD
345202012-01-31 Ulrich Drepper <drepper@gmail.com>
34521
3b49edc0
UD
34522 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
34523 names. Just use the correct names. Remove unnecessary wrapper
34524 functions.
34525 * malloc/arena.c: Likewise.
34526 * malloc/hooks.c: Likewise.
34527
41b81892
UD
34528 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
34529 ARENA_TEST says not to. Simplify test for creation of a new arena.
34530 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
34531
27a25b6e
UD
345322012-01-30 Ulrich Drepper <drepper@gmail.com>
34533
34534 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
34535 into tail calls.
34536 (update_get_addr): New function.
34537 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
34538 GET_ADDR_MODULE parameter.
34539
c8a89e7d
JM
345402012-01-30 Joseph Myers <joseph@codesourcery.com>
34541
34542 * crypt/cert.c: Remove __STDC__ conditionals.
34543 * crypt/crypt-entry.c: Likewise.
34544 * crypt/crypt_util.c: Likewise.
34545 * libio/filedoalloc.c: Likewise.
34546 * libio/fileops.c: Likewise.
34547 * libio/genops.c: Likewise.
34548 * libio/iofclose.c: Likewise.
34549 * libio/iofdopen.c: Likewise.
34550 * libio/iofopen.c: Likewise.
34551 * libio/iofopen64.c: Likewise.
34552 * libio/iogetdelim.c: Likewise.
34553 * libio/iopopen.c: Likewise.
34554 * libio/obprintf.c: Likewise.
34555 * libio/oldfileops.c: Likewise.
34556 * libio/oldiofclose.c: Likewise.
34557 * libio/oldiofdopen.c: Likewise.
34558 * libio/oldiofopen.c: Likewise.
34559 * libio/oldiopopen.c: Likewise.
34560 * libio/wfiledoalloc.c: Likewise.
34561 * libio/wgenops.c: Likewise.
34562 * locale/programs/xmalloc.c: Likewise.
34563 * misc/syslog.c: Likewise.
34564 * stdio-common/xbug.c: Likewise.
34565 * string/memchr.c: Likewise.
34566 * string/memcmp.c: Likewise.
34567 * string/memrchr.c: Likewise.
34568 * string/rawmemchr.c: Likewise.
34569 * sysdeps/posix/getcwd.c: Likewise.
34570 * time/strftime_l.c: Likewise.
34571
3b100462
JM
345722012-01-30 Joseph Myers <joseph@codesourcery.com>
34573
34574 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
34575 * config.make.in (config-cflags-sse2avx): Define.
34576 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
34577 Fix typo.
34578
607998af
CM
345792012-01-29 Chris Metcalf <cmetcalf@tilera.com>
34580
34581 * scripts/config.guess: Update from upstream config git repository.
34582 * scripts/config.sub: Likewise.
34583
3601428f
CM
345842012-01-28 Chris Metcalf <cmetcalf@tilera.com>
34585
3ac8b282
CM
34586 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
34587 (EM_NUM): Update.
34588 (R_TILEPRO_*, R_TILEGX_*): New macros.
34589
e034841e
CM
34590 * scripts/firstversions.awk: Fix bug in version range handling.
34591
540d7568
CM
34592 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
34593
3601428f
CM
34594 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
34595
463de862
CM
34596 * include/sys/epoll.h: New file.
34597 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
34598 libc_hidden_def.
34599
73139a76
UD
346002012-01-28 Ulrich Drepper <drepper@gmail.com>
34601
96bc5b45
UD
34602 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
34603 Avoid unnecessary __WORDSIZE == 64 test.
34604 (fmaxf): Use VEX format if possible.
34605 (fmax): Likewise.
34606 (fminf): Likewise.
34607 (fmin): Likewise.
34608
56f6f6a2
UD
34609 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
34610 * math/math_private.h: Remove libc_fegetround* and
34611 libc_fesetround*.
34612 * sysdeps/i386/configure.in: Check for -msse2avx.
34613 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
34614 also if SSE2AVX is defined.
34615 Remove libc_fegetround* and libc_fesetround*.
34616 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
34617 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
34618 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
34619 of HAS_YMM_USABLE.
34620 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
34621 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
34622 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
34623 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
34624 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
34625
73139a76
UD
34626 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
34627
d73f93a4
AZ
346282012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34629
34630 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
34631 size is not set.
34632 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
34633
6ee65ed6
UD
346342012-01-27 Ulrich Drepper <drepper@gmail.com>
34635
34636 [BZ #13618]
34637 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
34638 relocation.
34639 * Makeconfig (libm): Define.
34640 * elf/Makefile: Add rules to build and run tst-relsort1.
34641 * elf/tst-relsort1.c: New file.
34642 * elf/tst-relsort1mod1.c: New file.
34643 * elf/tst-relsort1mod2.c: New file.
34644
8db21882
JM
346452012-01-27 Joseph Myers <joseph@codesourcery.com>
34646
34647 * math/s_ldexp.c: Remove __STDC__ conditionals.
34648 * math/s_ldexpf.c: Likewise.
34649 * math/s_ldexpl.c: Likewise.
34650 * math/s_nextafter.c: Likewise.
34651 * math/s_nexttowardf.c: Likewise.
34652 * math/s_significand.c: Likewise.
34653 * math/s_significandf.c: Likewise.
34654 * math/s_significandl.c: Likewise.
34655 * math/w_jnl.c: Likewise.
34656 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
34657 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
34658 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
34659 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
34660 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
34661 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
34662 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
34663 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
34664 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
34665 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
34666 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
34667 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
34668 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
34669 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
34670 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
34671 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
34672 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
34673 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
34674 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
34675 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
34676 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
34677 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
34678 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
34679 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
34680 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
34681 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
34682 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
34683 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
34684 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
34685 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
34686 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
34687 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
34688 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
34689 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
34690 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
34691 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
34692 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
34693 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
34694 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
34695 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
34696 * sysdeps/ieee754/k_standard.c: Likewise.
34697 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
34698 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
34699 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
34700 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
34701 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
34702 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
34703 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
34704 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
34705 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
34706 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
34707 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
34708 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
34709 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
34710 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
34711 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
34712 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
34713 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
34714 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
34715 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
34716 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
34717 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
34718 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
34719 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
34720 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
34721 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
34722 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
34723 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
34724 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
34725 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
34726 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
34727 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
34728 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
34729 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
34730 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
34731 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
34732 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
34733 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
34734 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
34735 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
34736 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
34737 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
34738 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
34739 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
34740 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
34741 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
34742 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
34743 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
34744 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
34745 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
34746 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
34747 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
34748 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
34749 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
34750 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
34751 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
34752 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
34753 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
34754 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
34755 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
34756 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
34757 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
34758 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
34759 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
34760 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
34761 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
34762 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
34763 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
34764 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
34765 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
34766 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
34767 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
34768 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
34769 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
34770 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
34771 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
34772 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
34773 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
34774 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
34775 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
34776 * sysdeps/ieee754/s_matherr.c: Likewise.
34777 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
34778 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
34779 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
34780 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
34781
965a54a4
JM
347822012-01-26 Joseph Myers <joseph@codesourcery.com>
34783
34784 * crypt/md5.h: Remove __STDC__ conditionals.
34785 * libio/libioP.h: Likewise.
34786 * locale/programs/config.h: Likewise.
34787 * sysdeps/generic/sysdep.h: Likewise.
34788 * sysdeps/i386/asm-syntax.h: Likewise.
34789 * sysdeps/s390/asm-syntax.h: Likewise.
34790 * sysdeps/unix/sysdep.h: Likewise.
34791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
34792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
34793
7071ad79
JM
347942012-01-26 Joseph Myers <joseph@codesourcery.com>
34795
34796 * libio/libio.h: Remove __STDC__ conditionals.
34797 * malloc/obstack.h: Likewise.
34798 * math/complex.h: Likewise.
34799 * math/math.h: Likewise.
34800 * sysdeps/generic/_G_config.h: Likewise.
34801 * sysdeps/gnu/_G_config.h: Likewise.
34802 * sysdeps/mach/hurd/_G_config.h: Likewise.
34803 * sysdeps/powerpc/bits/mathdef.h: Likewise.
34804 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
34805 * sysdeps/sparc/bits/mathdef.h: Likewise.
34806
afc5ed09
UD
348072012-01-26 Ulrich Drepper <drepper@gmail.com>
34808
34809 [BZ #13583]
34810 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 34811 Clean up HAS_* macros.
afc5ed09 34812 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
34813 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
34814 possible.
34815 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
34816 HAS_AVX.
34817 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
34818 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
34819 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
34820 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
34821 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 34822
bdb6de1d
JM
348232012-01-25 Joseph Myers <joseph@codesourcery.com>
34824
34825 * elf/tst-unique3.cc (gets): Remove declaration.
34826 * elf/tst-unique3lib.cc (gets): Likewise.
34827 * elf/tst-unique3lib2.cc (gets): Likewise.
34828 * elf/tst-unique4.cc (gets): Likewise.
34829
b15549e6
UD
348302012-01-24 Ulrich Drepper <drepper@gmail.com>
34831
34832 * include/stdio.h: Add C++ protection. Add gets declarations and
34833 definitions.
34834 * debug/tst-chk1.c: Don't declare gets here.
34835 * stdio-common/tst-gets.c: Likewise.
34836
a037381f
JM
348372012-01-24 Joseph Myers <joseph@codesourcery.com>
34838
34839 * posix/glob: Remove directory.
34840
f1d4aa75
JM
348412012-01-24 Joseph Myers <joseph@codesourcery.com>
34842
34843 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
34844
81c0c964
PT
348452012-01-22 Pino Toscano <toscano.pino@tiscali.it>
34846
34847 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
34848 of the non-standard EPFNOSUPPORT.
34849
0ea698ae
ST
348502011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
34851
34852 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
34853 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
34854 ANYWHERE set to 1 only on KERN_NO_SPACE error.
34855
d220b117
UD
348562012-01-21 Ulrich Drepper <drepper@gmail.com>
34857
34858 * wcsmbs/uchar.h: Test __STDC_VERSION__.
34859
3e1aa84e
UD
348602012-01-20 Ulrich Drepper <drepper@gmail.com>
34861
34862 * nscd/aicache.c (addhstaiX): Do not cache negative results of
34863 transient errors.
34864 * nscd/grpcache.c (cache_addgr): Likewise.
34865 * nscd/hstcache.c (cache_addhst): Likewise.
34866 * nscd/initgrcache.c (addinitgroupsX): Likewise.
34867 * nscd/pwdcache.c (cache_addpw): Likewise.
34868 * nscd/servicescache.c (cache_addserv): Likewise.
34869
400aa020
UD
348702012-01-16 Ulrich Drepper <drepper@gmail.com>
34871
d77e7869
UD
34872 * malloc/malloc.c: Various cleanups.
34873 * malloc/hooks.c: Likewise.
34874
400aa020
UD
34875 * stdlib/Makefile (tests): Add bug-fmtmsg1.
34876 * stdlib/bug-fmtmsg1.c: New file.
34877
34878 * stdlib/fmtmsg.c (init): Add missing unlock.
34879 Patch by Peng Haitao <penght@cn.fujitsu.com>.
34880
e0a309cf
MP
348812012-01-12 Marek Polacek <polacek@redhat.com>
34882
34883 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
34884 and _GNU_SOURCE.
34885
929d11c7
WS
348862012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
34887
34888 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
34889 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
34890 macro to ensure uniqueness of label name.
34891 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
34892 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
34893
41d0e869
UD
348942012-01-11 Ulrich Drepper <drepper@gmail.com>
34895
0cc5ed3b
UD
34896 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
34897
41d0e869
UD
34898 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
34899 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
34900 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
34901 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
34902
a47a831a
UD
349032012-01-10 Ulrich Drepper <drepper@gmail.com>
34904
daa891c0
UD
34905 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
34906
34907 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
34908 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
34909 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
34910
e58ef0f2
UD
34911 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
34912
a47a831a 34913 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
34914 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
34915 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 34916 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
34917
34918 * math/bits/math-finite.h: Add ldexp support.
34919
a0bfc9c7
MP
349202012-01-10 Marek Polacek <polacek@redhat.com>
34921
34922 * locale/programs/localedef.h (show_archive_content): Add noreturn
34923 attribute.
34924
d6e97a1d
UD
349252012-01-09 Ulrich Drepper <drepper@gmail.com>
34926
34927 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
34928
d5835c26
UD
349292012-01-08 Ulrich Drepper <drepper@gmail.com>
34930
e5f484c6
UD
34931 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
34932
d5835c26
UD
34933 * io/Makefile (headers): Add bits/poll2.h.
34934
d1f741e9
WS
349352011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
34936
34937 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
34938 typo #include statement.
34939
ec09c1c4
UD
349402012-01-08 Ulrich Drepper <drepper@gmail.com>
34941
34942 * include/sys/cdefs.h: Define __attribute_alloc_size.
34943 * catgets/gencat.c: Add alloc_size attribute and apply consistently
34944 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
34945 * elf/pldd.c: Likewise.
34946 * iconv/iconv_charmap.c: Likewise.
34947 * iconv/iconvconfig.c: Likewise.
34948 * iconv/strtab.c: Likewise.
34949 * locale/programs/locale.c: Likewise.
34950 * locale/programs/localedef.h: Likewise.
34951 * locale/programs/simple-hash.c: Likewise.
34952 * nscd/nscd.h: Likewise.
34953 * nss/makedb.c: Likewise.
34954 * sysdeps/generic/ldconfig.h: Likewise.
34955 * locale/programs/localedef.c: Remove xmalloc prototype.
34956 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
34957
20b38e03
PP
349582012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
34959
34960 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
34961 appropriate.
34962
a0da5fe1
UD
349632012-01-08 Ulrich Drepper <drepper@gmail.com>
34964
1d5a644a 34965 * math/Makefile (tests): Add tst-CMPLX.
669704fd 34966 * math/tst-CMPLX.c: New file.
1d5a644a 34967
8784a6db
UD
34968 * math/complex.h (CMPLXL): Fix typo.
34969
d9a216c0
UD
34970 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
34971 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
34972 GLIBC_2.16.
34973 * debug/tst-chk1.c: Add poll and ppoll tests.
34974 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
34975 * include/sys/poll.h: Add hidden proto for ppoll.
34976 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
34977 * sysdeps/mach/hurd/ppoll.c: Likewise.
34978 * io/ppoll.c: Likewise.
34979 * debug/poll_chk.c: New file.
34980 * debug/ppoll_chk.c: New file.
34981 * include/bits/poll2.h: New file.
34982 * io/bits/poll2.h: New file.
34983
ac097f5c
UD
34984 [BZ #1350]
34985 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
34986
2119dcfa
UD
34987 * configure.in: static is always set to yes. Remove.
34988 * config.make.in: Don't set build-static.
34989 * Makeconfig: Remove use of build-static.
34990 * dlfcn/Makefile: Likewise.
34991 * elf/Makefile: Likewise.
34992 * math/Makefile: Likewise.
34993 * misc/Makefile: Likewise.
34994 * nptl/Makefile: Likewise.
34995 * sysdeps/mach/hurd/Makefile: Likewise.
34996
121766a9
UD
34997 * configure.in: PWD_P is not used anymore.
34998 * config.make.in: Remove PWD_P entry.
34999
51a1d39c 35000 * configure.in: Remove last remnants of RANLIB.
8720d066 35001 No need to check for signed size_t anymore.
215f4bdc
UD
35002 Don't set libc_commonpagesize and libc_relro_required here for Alpha
35003 and IA-64.
3857022a 35004 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
35005 * aclocal.m4: Likewise.
35006
d3ed7225
UD
35007 * wcsmbs/mbrtoc16.c: Implement using towc function.
35008 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
35009 * wcsmbs/wcsmbsload.c: Likewise.
35010 * iconv/gconv_simple.c: Likewise.
35011 * iconv/gconv_int.h: Likewise.
35012 * iconv/gconv_builtin.h: Likewise.
35013 * iconv/iconv_prog.c: Remove CHAR16 handling.
35014
35015 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
35016
35017 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
35018
a0da5fe1
UD
35019 * configure.in: Remove --with-elf and --enable-bounded options.
35020 Dont set base_machine for ia64. More non-ELF conditions removed.
35021 Remove testing and setting of leading underscore information.
35022 * config.make.in (build-bounded): Set to no.
35023 * config.h.in: Remove NO_UNDERSCORES entry.
35024 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
35025 them.
35026 * csu/start.c: Remove !NO_UNDERSCORE code.
35027 * locale/localeinfo.h: Likewise.
35028 * sysdeps/generic/machine-gmon.h: Likewise.
35029 * sysdeps/generic/sysdep.h: Likewise.
35030 * sysdeps/i386/sysdep.h: Likewise.
35031 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
35032 * sysdeps/mach/sysdep.h: Likewise.
35033 * sysdeps/s390/s390-32/sysdep.h: Likewise.
35034 * sysdeps/s390/s390-64/sysdep.h: Likewise.
35035 * sysdeps/sh/sysdep.h: Likewise.
35036 * sysdeps/sparc/sparc32/alloca.S: Likewise.
35037 * sysdeps/unix/i386/sysdep.S: Likewise.
35038 * sysdeps/unix/sparc/start.c: Likewise.
35039 * sysdeps/unix/sparc/sysdep.S: Likewise.
35040 * sysdeps/unix/sparc/sysdep.h: Likewise.
35041 * sysdeps/unix/start.c: Likewise.
35042 * sysdeps/unix/x86_64/sysdep.S: Likewise.
35043 * sysdeps/x86_64/sysdep.h: Likewise.
35044
df78418a
UD
350452012-01-07 Ulrich Drepper <drepper@gmail.com>
35046
a784e502
UD
35047 [BZ #13553]
35048 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
35049 for non-gcc.
35050 * argp/argp-fmtstream.h: Use const instead __const.
35051 * argp/argp.h: Likewise.
35052 * assert/assert.h: Likewise.
35053 * bits/fenv.h: Likewise.
35054 * bits/sched.h: Likewise.
35055 * bits/sigset.h: Likewise.
35056 * bits/sigthread.h: Likewise.
35057 * catgets/nl_types.h: Likewise.
35058 * conform/data/pthread.h-data: Likewise.
35059 * crypt/crypt-private.h: Likewise.
35060 * crypt/crypt.h: Likewise.
35061 * crypt/crypt_util.c: Likewise.
35062 * ctype/ctype.h: Likewise.
35063 * debug/execinfo.h: Likewise.
35064 * debug/mbsnrtowcs_chk.c: Likewise.
35065 * debug/mbsrtowcs_chk.c: Likewise.
35066 * debug/wcsnrtombs_chk.c: Likewise.
35067 * debug/wcsrtombs_chk.c: Likewise.
35068 * debug/wcstombs_chk.c: Likewise.
35069 * dirent/dirent.h: Likewise.
35070 * dlfcn/dlfcn.h: Likewise.
35071 * elf/neededtest4.c: Likewise.
35072 * grp/grp.h: Likewise.
35073 * gshadow/gshadow.h: Likewise.
35074 * iconv/gconv.h: Likewise.
35075 * iconv/gconv_int.h: Likewise.
35076 * iconv/gconv_simple.c: Likewise.
35077 * iconv/iconv.h: Likewise.
35078 * iconv/loop.c: Likewise.
35079 * iconv/skeleton.c: Likewise.
35080 * include/aio.h: Likewise.
35081 * include/aliases.h: Likewise.
35082 * include/argz.h: Likewise.
35083 * include/arpa/inet.h: Likewise.
35084 * include/assert.h: Likewise.
35085 * include/dirent.h: Likewise.
35086 * include/dlfcn.h: Likewise.
35087 * include/execinfo.h: Likewise.
35088 * include/fcntl.h: Likewise.
35089 * include/fenv.h: Likewise.
35090 * include/glob.h: Likewise.
35091 * include/grp.h: Likewise.
35092 * include/libintl.h: Likewise.
35093 * include/mntent.h: Likewise.
35094 * include/netdb.h: Likewise.
35095 * include/pwd.h: Likewise.
35096 * include/rpc/netdb.h: Likewise.
35097 * include/sched.h: Likewise.
35098 * include/search.h: Likewise.
35099 * include/shadow.h: Likewise.
35100 * include/signal.h: Likewise.
35101 * include/stdio.h: Likewise.
35102 * include/stdlib.h: Likewise.
35103 * include/string.h: Likewise.
35104 * include/sys/socket.h: Likewise.
35105 * include/sys/stat.h: Likewise.
35106 * include/sys/statfs.h: Likewise.
35107 * include/sys/statvfs.h: Likewise.
35108 * include/sys/syslog.h: Likewise.
35109 * include/sys/time.h: Likewise.
35110 * include/sys/uio.h: Likewise.
35111 * include/time.h: Likewise.
35112 * include/unistd.h: Likewise.
35113 * include/utmp.h: Likewise.
35114 * include/wchar.h: Likewise.
35115 * include/wctype.h: Likewise.
35116 * inet/aliases.h: Likewise.
35117 * inet/arpa/inet.h: Likewise.
35118 * inet/netinet/ether.h: Likewise.
35119 * inet/netinet/in.h: Likewise.
35120 * intl/libintl.h: Likewise.
35121 * io/bits/fcntl2.h: Likewise.
35122 * io/fcntl.h: Likewise.
35123 * io/ftw.h: Likewise.
35124 * io/sys/poll.h: Likewise.
35125 * io/sys/stat.h: Likewise.
35126 * io/sys/statfs.h: Likewise.
35127 * io/sys/statvfs.h: Likewise.
35128 * io/utime.h: Likewise.
35129 * libio/bits/stdio.h: Likewise.
35130 * libio/bits/stdio2.h: Likewise.
35131 * libio/libio.h: Likewise.
35132 * libio/libioP.h: Likewise.
35133 * libio/stdio.h: Likewise.
35134 * locale/lc-ctype.c: Likewise.
35135 * locale/locale.h: Likewise.
35136 * login/utmp.h: Likewise.
35137 * malloc/arena.c: Likewise.
35138 * malloc/malloc.c: Likewise.
35139 * malloc/malloc.h: Likewise.
35140 * malloc/mcheck.c: Likewise.
35141 * malloc/mtrace.c: Likewise.
35142 * math/bits/mathcalls.h: Likewise.
35143 * math/fenv.h: Likewise.
35144 * math/math_private.h: Likewise.
35145 * misc/bits/error.h: Likewise.
35146 * misc/bits/syslog.h: Likewise.
35147 * misc/err.h: Likewise.
35148 * misc/error.h: Likewise.
35149 * misc/fstab.h: Likewise.
35150 * misc/mntent.h: Likewise.
35151 * misc/regexp.h: Likewise.
35152 * misc/search.h: Likewise.
35153 * misc/sgtty.h: Likewise.
35154 * misc/sys/mman.h: Likewise.
35155 * misc/sys/syslog.h: Likewise.
35156 * misc/sys/uio.h: Likewise.
35157 * misc/sys/xattr.h: Likewise.
35158 * misc/ttyent.h: Likewise.
35159 * nis/rpcsvc/ypclnt.h: Likewise.
35160 * nss/nss.h: Likewise.
35161 * posix/bits/unistd.h: Likewise.
35162 * posix/fnmatch.h: Likewise.
35163 * posix/glob.h: Likewise.
35164 * posix/sched.h: Likewise.
35165 * posix/spawn.h: Likewise.
35166 * posix/sys/wait.h: Likewise.
35167 * posix/unistd.h: Likewise.
35168 * posix/wordexp.h: Likewise.
35169 * pwd/pwd.h: Likewise.
35170 * resolv/netdb.h: Likewise.
35171 * resource/sys/resource.h: Likewise.
35172 * rt/aio.h: Likewise.
35173 * rt/bits/mqueue2.h: Likewise.
35174 * rt/mqueue.h: Likewise.
35175 * shadow/shadow.h: Likewise.
35176 * signal/signal.h: Likewise.
35177 * socket/send.c: Likewise.
35178 * socket/sendto.c: Likewise.
35179 * socket/sys/socket.h: Likewise.
35180 * stdio-common/printf.h: Likewise.
35181 * stdlib/bits/stdlib.h: Likewise.
35182 * stdlib/fmtmsg.h: Likewise.
35183 * stdlib/monetary.h: Likewise.
35184 * stdlib/stdlib.h: Likewise.
35185 * stdlib/ucontext.h: Likewise.
35186 * streams/stropts.h: Likewise.
35187 * string/argz.h: Likewise.
35188 * string/bits/string2.h: Likewise.
35189 * string/string.h: Likewise.
35190 * string/strings.h: Likewise.
35191 * sunrpc/rpc/auth.h: Likewise.
35192 * sunrpc/rpc/auth_des.h: Likewise.
35193 * sunrpc/rpc/clnt.h: Likewise.
35194 * sunrpc/rpc/netdb.h: Likewise.
35195 * sunrpc/rpc/pmap_clnt.h: Likewise.
35196 * sunrpc/rpc/xdr.h: Likewise.
35197 * sysdeps/generic/inttypes.h: Likewise.
35198 * sysdeps/generic/net/if.h: Likewise.
35199 * sysdeps/generic/sys/swap.h: Likewise.
35200 * sysdeps/gnu/net/if.h: Likewise.
35201 * sysdeps/gnu/utmpx.h: Likewise.
35202 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
35203 * sysdeps/i386/i486/bits/string.h: Likewise.
35204 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
35205 * sysdeps/s390/bits/string.h: Likewise.
35206 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
35207 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
35208 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
35209 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
35210 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
35211 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
35212 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
35213 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
35214 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
35215 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
35216 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
35217 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
35218 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
35219 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
35220 * sysdeps/unix/sysv/linux/readv.c: Likewise.
35221 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
35222 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
35223 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
35224 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
35225 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
35226 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
35227 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
35228 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
35229 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
35230 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
35231 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
35232 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
35233 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
35234 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
35235 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
35236 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
35237 * sysvipc/sys/ipc.h: Likewise.
35238 * sysvipc/sys/msg.h: Likewise.
35239 * sysvipc/sys/sem.h: Likewise.
35240 * sysvipc/sys/shm.h: Likewise.
35241 * termios/termios.h: Likewise.
35242 * time/sys/time.h: Likewise.
35243 * time/time.h: Likewise.
35244 * wcsmbs/bits/wchar2.h: Likewise.
35245 * wcsmbs/uchar.h: Likewise.
35246 * wcsmbs/wchar.h: Likewise.
35247 * wctype/wctype.h: Likewise.
35248
0269750c
UD
35249 [BZ #13551]
35250 * Makeconfig: Remove all but ELF support including AIX support.
35251 * Makerules: Likewise.
35252 * config.h.in: Likewise.
35253 * config.make.in: Likewise.
35254 * configure: Likewise.
35255 * configure.in: Likewise.
35256 * csu/Makefile: Likewise.
35257 * csu/version.c: Likewise.
35258 * debug/Makefile: Likewise.
35259 * dlfcn/Makefile: Likewise.
35260 * elf/Makefile: Likewise.
35261 * extra-lib.mk: Likewise.
35262 * iconv/Makefile: Likewise.
35263 * include/libc-symbols.h: Likewise.
35264 * include/shlib-compat.h: Likewise.
35265 * resolv/Makefile: Likewise.
35266 * resolv/res_libc.c: Likewise.
35267 * rt/Makefile: Likewise.
35268 * sysdeps/i386/asm-syntax.h: Likewise.
35269 * sysdeps/i386/sysdep.h: Likewise.
35270 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
35271 * sysdeps/mach/sysdep.h: Likewise.
35272 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
35273 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
35274 * sysdeps/s390/asm-syntax.h: Likewise.
35275 * sysdeps/s390/s390-32/sysdep.h: Likewise.
35276 * sysdeps/s390/s390-64/sysdep.h: Likewise.
35277 * sysdeps/sh/sysdep.h: Likewise.
35278 * sysdeps/unix/sparc/sysdep.h: Likewise.
35279 * sysdeps/wordsize-32/divdi3.c: Likewise.
35280 * sysdeps/x86_64/sysdep.h: Likewise.
35281
00bbd29b
UD
35282 * argp/Versions: Remove _argp_unlock_xxx.
35283
35284 [BZ #13559]
35285 * abilist/ld.abilist: Update. Adjust for removal of tls option.
35286 * abilist/libBrokenLocale.abilist: Likewise.
35287 * abilist/libanl.abilist: Likewise.
35288 * abilist/libc.abilist: Likewise.
35289 * abilist/libcrypt.abilist: Likewise.
35290 * abilist/libdl.abilist: Likewise.
35291 * abilist/libm.abilist: Likewise.
35292 * abilist/libnsl.abilist: Likewise.
35293 * abilist/libpthread.abilist: Likewise.
35294 * abilist/libresolv.abilist: Likewise.
35295 * abilist/librt.abilist: Likewise.
35296 * abilist/libthread_db.abilist: Likewise.
35297 * abilist/libutil.abilist: Likewise.
35298 * abilist/libnss_db.abilist: New file.
35299
35300 * scripts/abilist.awk: Add support for indirect functions.
35301
a2693a0e
UD
35302 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
35303
3f05895f
UD
35304 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
35305
ecb6fb48
UD
35306 * shlib-versions: Remove entries for ports architectures.
35307
664f8cb9
UD
35308 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
35309 files in ports.
35310 * elf/stackguard-macros.h: Remove support for IA-64.
35311 * elf/tst-auditmod1.c: Likewise.
35312 * sysdeps/generic/ldsodefs.h: Likewise.
35313
7ae81d88
UD
35314 * sysdeps/unix/sysv/linux/configure.in: Ports should define
35315 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
35316 configure files.
35317
bdeba135
UD
35318 [BZ #13552]
35319 * configure.in: Remove --enable-omitfp support.
35320 * FAQ.in: Adjust.
35321 * config.make.in: Likewise.
35322 * Makeconfig: Likewise.
35323 * manual/install.texi: Likewise.
35324
d75a0a62
UD
35325 In case anyone cares, the IA-64 architecture could move to ports.
35326 * sysdeps/ia64/*: Removed.
35327 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 35328 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 35329
dcc9756b
UD
35330 [BZ #13555]
35331 * configure.in: Remove entries for unsupported architectures.
35332
d3761ebc 35333 [BZ #13533]
9954432e
UD
35334 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
35335 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
35336 routines.
35337 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
35338 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
35339 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
35340 fall back to using wcrtomb.
35341 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
35342 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
35343 renaming.
35344 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
35345 * wcsmbs/tst-c16c32-1.c: New file.
35346
35347 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
35348 local variable.
35349
c3a87236
UD
35350 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
35351
28926a1b
UD
35352 * elf/tst-unique3.cc: Add explicit declaration of gets.
35353 * elf/tst-unique3lib.cc: Likewise.
35354 * elf/tst-unique3lib2.cc: Likewise.
35355 * elf/tst-unique4.cc: Likewise.
35356
df78418a
UD
35357 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
35358
8ecd6b2a
JM
353592012-01-06 Joseph Myers <joseph@codesourcery.com>
35360
35361 [BZ #13566]
35362 * assert/assert.h (static_assert): Don't define for C++.
35363 * libio/stdio.h (gets): Do declare for C++ <= C++11.
35364 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
35365
9f115170
UD
353662012-01-03 Ulrich Drepper <drepper@gmail.com>
35367
5e0d0300
UD
35368 * iconv/loop.c (single loop): Fix assertion in storing of
35369 remaining bytes.
35370
9f115170
UD
35371 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
35372
81fb02b0
UD
353732012-01-01 Ulrich Drepper <drepper@gmail.com>
35374
35375 * posix/getconf.c: Update copyright year.
35376 * nss/getent.c: Likewise.
a316c1f6 35377 * nss/makedb.c: Likewise.
81fb02b0
UD
35378 * iconv/iconvconfig.c: Likewise.
35379 * iconv/iconv_prog.c: Likewise.
35380 * elf/ldconfig.c: Likewise.
a316c1f6
UD
35381 * elf/pldd.c: Likewise.
35382 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
35383 * catgets/gencat.c: Likewise.
35384 * csu/version.c: Likewise.
35385 * elf/ldd.bash.in: Likewise.
35386 * elf/sprof.c (print_version): Likewise.
35387 * locale/programs/locale.c: Likewise.
35388 * locale/programs/localedef.c: Likewise.
a316c1f6 35389 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
35390 * nscd/nscd.c (print_version): Likewise.
35391 * debug/xtrace.sh: Likewise.
35392 * malloc/memusage.sh: Likewise.
35393 * malloc/mtrace.pl: Likewise.
35394 * debug/catchsegv.sh: Likewise.
35395
2ba92745
JJ
353962011-12-30 Jakub Jelinek <jakub@redhat.com>
35397
35398 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
35399 pure attribute.
35400
dadebdae
UD
354012011-12-24 Ulrich Drepper <drepper@gmail.com>
35402
d3761ebc 35403 [BZ #13533]
db6af3eb
UD
35404 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
35405 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
35406 transformations.
35407 * iconv/gconv_int.h: Likewise.
35408 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
35409 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
35410 from libc for GLIBC_2.16.
35411 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
35412 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
35413 * wcsmbs/uchar.h: Really define mbstate_t.
35414 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
35415 * wcsmbs/c16rtomb.c: New file.
35416 * wcsmbs/mbrtoc16.c: New file.
35417 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
35418 for C/POSIX locale.
35419 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
35420 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
35421
dadebdae
UD
35422 * wcsmbs/wchar.h: Add missing __restrict.
35423
67371b56
UD
354242011-12-23 Ulrich Drepper <drepper@gmail.com>
35425
74033a25
UD
35426 [BZ #13532]
35427 * time/Makefile (routines): Add timespec_get.
35428 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
35429 * time/time.h: Define TIME_UTC and declare timespec_get. Define
35430 timespec for ISO C11.
35431 * time/timespec_get.c: New file.
35432 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
35433 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
35434
380d7e87
UD
35435 [BZ #13531]
35436 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
35437 * stdlib/stdlib.h: Declare aligned_alloc.
35438 * Versions.def: Add GLIBC_2.16 for libc.
35439 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
35440
4e9e7a35
UD
35441 [BZ 13527]
35442 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
35443 ISO C11.
35444
380d7e87 35445 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
35446 code.
35447
03a71829
UD
35448 [BZ #13528]
35449 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
35450
839e283e
UD
35451 [BZ #13529]
35452 * assert/assert.h (static_assert): Define.
35453
ce5294e2 35454 * version.h: Update for 2.16 development version.
90fa7312 35455
8d44e150 35456 [BZ #13526]
d7809905
UD
35457 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
35458 _ISOC11_SOURCE.
35459
c0da14cd
UD
35460 * version.h (RELEASE): Bump for 2.15 release.
35461 * include/features.h (__GLIBC_MINOR__): Bump to 15.
35462
530a3249
MP
35463 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
35464 Patch by Marek Polacek <mpolacek@redhat.com>.
35465
67371b56
UD
35466 * bits/byteswap.h: Protect long long constants with __extension__.
35467 * sysdeps/i386/bits/byteswap.h: Likewise.
35468 * sysdeps/ia64/bits/byteswap.h: Likewise.
35469 * sysdeps/s390/bits/byteswap.h: Likewise.
35470 * sysdeps/x86_64/bits/byteswap.h: Likewise.
35471
15db4de1
LD
354722011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35473
35474 [BZ #13540]
bbe315ea
LD
35475 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
35476 destination buffer.
15db4de1
LD
35477 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
35478
2b2596b1
MP
354792011-12-23 Marek Polacek <polacek@redhat.com>
35480
35481 * elf/dl-addr.c (determine_info): Add inline keyword.
35482 * elf/tst-auditmod4b.c (check_avx): Likewise.
35483 * elf/tst-auditmod6b.c (check_avx): Likewise.
35484 * elf/tst-auditmod6c.c (check_avx): Likewise.
35485 * elf/tst-auditmod7b.c (check_avx): Likewise.
35486
70c6c246
UD
354872011-12-23 Ulrich Drepper <drepper@gmail.com>
35488
35489 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
35490 !__SSE_MATH__.
35491
c044cf14
LD
354922011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35493
15db4de1 35494 [BZ #13540]
c044cf14
LD
35495 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
35496 processing for last bytes.
35497
6b13d9d9
BH
354982011-08-06 Bruno Haible <bruno@clisp.org>
35499
d455f537
BH
35500 [BZ #13061]
35501 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
35502 U+0385, not to U+1FEE.
35503
6b13d9d9
BH
35504 [BZ #13062]
35505 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
35506 entry for U+00A5 U+0301.
35507
db910efd
UD
355082011-12-22 Ulrich Drepper <drepper@gmail.com>
35509
27deeafc
UD
35510 [BZ #13166]
35511 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
35512 buffer for the output is too small.
35513
aed9d171
UD
35514 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
35515 optimization.
35516
db910efd
UD
35517 [BZ #13185]
35518 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
35519 SSE flags if possible.
35520
2bd779ae
LD
355212011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35522
e7f9dac3 35523 [BZ #13540]
2bd779ae
LD
35524 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
35525 processing for last bytes.
35526
154bfc16
JM
355272011-12-22 Joseph Myers <joseph@codesourcery.com>
35528
35529 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
35530 (syscall-list-default-options, syscall-list-default-condition)
35531 (syscall-list-includes): Define.
35532 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
35533 list of ABIs and options and #if conditions for each ABI. Do not
35534 handle common syscalls between ABIs specially.
35535 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
35536 Remove.
35537 (syscall-list-variants, syscall-list-32bit-options)
35538 (syscall-list-32bit-condition, syscall-list-64bit-options)
35539 (syscall-list-64bit-condition): Define.
35540 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
35541 (syscall-list-variants, syscall-list-32bit-options)
35542 (syscall-list-32bit-condition, syscall-list-64bit-options)
35543 (syscall-list-64bit-condition): Define.
35544 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
35545 Remove.
35546 (syscall-list-variants, syscall-list-32bit-options)
35547 (syscall-list-32bit-condition, syscall-list-64bit-options)
35548 (syscall-list-64bit-condition): Define.
35549 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
35550 Remove.
35551 (syscall-list-variants, syscall-list-32bit-options)
35552 (syscall-list-32bit-condition, syscall-list-64bit-options)
35553 (syscall-list-64bit-condition): Define.
35554
21eaf3a5
UD
355552011-12-22 Ulrich Drepper <drepper@gmail.com>
35556
16c6f992
UD
35557 * locale/iso-639.def: Add brx entry.
35558
41043168
UD
35559 [BZ #13328]
35560 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
35561 Proposed by Mariusz_Cukr <marcukr@op.pl>.
35562
21eaf3a5
UD
35563 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
35564 __feraiseexcept_renamed.
35565
e3a851a2
UD
355662011-12-21 Ulrich Drepper <drepper@gmail.com>
35567
4920765e
UD
35568 [BZ #13538]
35569 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
35570 EPOLLET with unsigned values.
35571 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
35572 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
35573
e3a851a2
UD
35574 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
35575 to large cancellation.
35576 * math/s_cacoshf.c: Likewise.
35577 * math/s_cacoshl.c: Likewise.
35578
b27e24b8
RK
355792011-11-18 Richard B. Kreckel <kreckel@ginac.de>
35580
35581 [BZ #13305]
aebefeee 35582 [BZ #12786]
b27e24b8
RK
35583 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
35584 * math/s_cacoshf.c: Likewise.
35585 * math/s_cacoshl.c: Likewise.
35586
ee190f67
UD
355872011-12-21 Ulrich Drepper <drepper@gmail.com>
35588
35589 [BZ #13439]
35590 * iconv/gconv.h: Define __GCONV_SWAP.
35591 * iconvdata/unicode.c: The swap bit must be stored in __flags.
35592 * iconvdata/utf-16.c: Likewise.
35593 * iconvdata/utf-32.c: Likewise.
35594
707f25df
AS
355952011-12-21 Andreas Schwab <schwab@linux-m68k.org>
35596
35597 [BZ #13524]
35598 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
35599 numerator after shifting it by one limb.
35600
d2daaa1e
RÁE
356012011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
35602
35603 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
35604 under [__USE_EXTERN_INLINES].
35605
a4647e72
UD
356062011-12-17 Ulrich Drepper <drepper@gmail.com>
35607
35608 [BZ #13446]
35609 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
35610
f0b264f1
AZ
356112011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35612
35613 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
35614 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
35615 optimized code.
35616 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
35617 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
35618 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
35619 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
35620 for strncasecmp/strncasecmp_l compilation.
35621 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
35622 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
35623
8ef4f244
MP
356242011-12-08 Marek Polacek <mpolacek@redhat.com>
35625
35626 [BZ #13484]
35627 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
35628 of __asm__.
35629
97ac2654
UD
356302011-12-17 Ulrich Drepper <drepper@gmail.com>
35631
35632 [BZ #13506]
35633 * time/tzfile.c (__tzfile_read): Check values from file header.
35634
91d2a845
WS
356352011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
35636
35637 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
35638 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
35639 * powerpc/powerpc32/dl-start.S: Likewise.
35640 * powerpc/powerpc32/elf/start.S: Likewise.
35641 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
35642 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
35643 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
35644 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
35645 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
35646 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
35647 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
35648 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
35649 * powerpc/powerpc32/fpu/s_round.S: Likewise.
35650 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
35651 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
35652 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
35653 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
35654 * powerpc/powerpc32/memset.S: Likewise.
35655 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
35656 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
35657 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
35658 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
35659 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
35660 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
35661 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
35662 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
35663 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
35664 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
35665 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
35666 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
35667 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
35668
a1267ba1
AZ
356692011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35670
35671 * math/libm-test.inc: Added more nearbyint tests.
35672 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
35673 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
35674 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
35675 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
35676
ad8ac1bd
RL
356772011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
35678
35679 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
35680 FD_CLOEXEC.
35681
1d3e4b61
UD
356822011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35683
35684 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
35685 Add wcscpy-ssse3 wcscpy-c.
35686 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
35687 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
35688 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
35689 * sysdeps/x86_64/wcschr.S: New file.
35690 * sysdeps/x86_64/wcsrchr.S: New file.
35691 * string/test-strcmp.c: Remove checking of wcscmp function for
35692 wrong alignments.
35693 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
35694 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
35695 wcsrchr-sse2 wcsrchr-c.
35696 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
35697 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
35698 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
35699 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
35700 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
35701 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
35702 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
35703 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
35704 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
35705 * wcsmbc/wcschr.c (WCSCHR): New macro.
35706
5b330a2d
UD
357072011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35708
35709 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
35710 * wcsmbs/test-wcsrchr.c: New file.
35711 * string/test-strrchr.c: Add wcsrchr support.
35712 (WIDE): New macro.
35713 * wcsmbs/test-wcscpy.c: New file.
35714 * string/test-strcpy.c: Add wcscpy support.
35715 (WIDE): New macro.
26428b7c 35716
f039c043
UD
357172011-12-10 Ulrich Drepper <drepper@gmail.com>
35718
35719 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
35720 the inner loop.
35721
850fb039
AS
357222011-12-06 Andreas Schwab <schwab@linux-m68k.org>
35723
35724 [BZ #13472]
35725 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
35726
4efbd5cb
UD
357272011-12-04 Ulrich Drepper <drepper@gmail.com>
35728
52ff5dd0 35729 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 35730 Minor optimizations.
52ff5dd0 35731
4efbd5cb
UD
35732 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
35733 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
35734 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
35735
8a426e12
UD
357362011-12-03 Ulrich Drepper <drepper@gmail.com>
35737
aff2453d
UD
35738 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
35739 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
35740 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
35741 for gcc to avoid warnings.
35742 * inet/Makefile (tests): Add tst-checks.
35743 * inet/tst-checks.c: New file.
35744
35745 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
35746 warning.
35747
35748 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
35749 __wmemcmp_sse2.
35750
35751 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
35752 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
35753
8a426e12
UD
35754 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
35755
9bea3473
UD
357562011-12-02 Ulrich Drepper <drepper@gmail.com>
35757
3a965496
UD
35758 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
35759 problem.
35760
9bea3473
UD
35761 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
35762
f101631b
UD
357632011-11-29 Joseph Myers <joseph@codesourcery.com>
35764
35765 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
35766 conditional on GCC version.
35767 (__arch_compare_and_exchange_val_8_acq)
35768 (__arch_compare_and_exchange_val_16_acq)
35769 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
35770 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
35771 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
35772
a98275aa
UD
357732011-12-02 Joseph Myers <joseph@codesourcery.com>
35774
35775 * sysdeps/sh/backtrace.c: New file.
35776
d4cc29a2
AS
357772011-12-02 Andreas Schwab <schwab@redhat.com>
35778
35779 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
35780 parenthesis.
35781
6257af2d
AS
357822011-12-01 Andreas Schwab <schwab@redhat.com>
35783
35784 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
35785 falling back to utime.
35786
b5f44c1a
AS
357872011-11-30 Andreas Schwab <schwab@redhat.com>
35788
35789 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
35790 expectations for float.
35791
f3a6cc0a
AS
357922011-11-29 Andreas Schwab <schwab@redhat.com>
35793
35794 * locale/weight.h (findidx): Add parameter len.
35795 * locale/weightwc.h (findidx): Likewise.
35796 * posix/fnmatch_loop.c (FCT): Adjust caller.
35797 * posix/regcomp.c (build_equiv_class): Likewise.
35798 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
35799 * posix/regexec.c (check_node_accept_bytes): Likewise.
35800 * string/strcoll_l.c (STRCOLL): Likewise.
35801 * string/strxfrm_l.c (STRXFRM): Likewise.
35802
9d65ea3a
UD
358032011-11-17 Ulrich Drepper <drepper@gmail.com>
35804
35805 * Makefile.in: Remove CVSOPT handling.
35806 * configure.in: Remove use of AC_REVISION.
35807 * iconvdata/Makefile (distribute): No need to filter out CVS.
35808 * scripts/list-sources.sh: Remove CVS, subversion and monotone
35809 handling.
35810
5583a086
AS
358112011-11-16 Andreas Schwab <schwab@redhat.com>
35812
35813 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
35814 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
35815 [USE_AS_STRNCASECMP_L]: Likewise.
35816 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
35817 NO_TLS_DIRECT_SEG_REFS.
35818 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
35819 Fix argument offsets for non-PIC.
35820 [USE_AS_STRNCASECMP_L]: Likewise.
35821 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
35822 NO_TLS_DIRECT_SEG_REFS.
35823
d62a8200
UD
358242011-11-15 Ulrich Drepper <drepper@gmail.com>
35825
9d65ea3a 35826 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
35827 O_CLOEXEC.
35828 * locale/loadlocale.c (_nl_load_locale): Likewise.
35829
09f93bd3
AS
358302011-11-15 Andreas Schwab <schwab@redhat.com>
35831
446514f9
AS
35832 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
35833 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
35834 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
35835 (SYSCALL_GETTIME): Set errno on error.
35836
09f93bd3
AS
35837 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
35838 count references to noai6ai_cached.
35839
312be3f9
UD
358402011-11-15 Ulrich Drepper <drepper@gmail.com>
35841
35842 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
35843
35844 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
35845 FD_CLOEXEC for /proc/self/maps.
35846
35847 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
35848 FD_CLOEXEC for /proc/meminfo.
35849
35850 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
35851 gai.conf.
35852
35853 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
35854 FD_CLOEXEC for given file.
35855
35856 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
35857
35858 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
35859 FD_CLOEXEC for /etc/hosts.
35860 (_gethtent): Likewise.
35861
35862 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
35863
35864 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
35865 cancellation and set FD_CLOEXEC for /etc/netgroup.
35866
35867 * nss/nss_files/files-key.c (search): Don't allow cancellation when
35868 reading /etc/publickey.
35869
35870 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
35871 allow cancellation when reading /etc/group.
35872
35873 * nss/nss_files/files-alias.c (internal_setent): Don't allow
35874 cancellation.
35875 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
35876
35877 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
35878 when using data file.
35879
35880 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
35881
35882 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
35883 (write_nis_obj): Use "c" and "e" in fopen.
35884
35885 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
35886
35887 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
35888
35889 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
35890
35891 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
35892
35893 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
35894 locale.alias.
35895
35896 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
35897
35898 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
35899
35900 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
35901
35902 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
35903 file parsing and set FD_CLOEXEC.
35904
82af0fa8
UD
359052011-11-14 Ulrich Drepper <drepper@gmail.com>
35906
35907 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
35908
a5fb313c
AS
359092011-11-14 Andreas Schwab <schwab@redhat.com>
35910
35911 * malloc/arena.c (arena_get2): Don't call reused_arena when
35912 _int_new_arena failed.
35913
6abf3465
UD
359142011-11-14 Ulrich Drepper <drepper@gmail.com>
35915
35916 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
35917 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
35918 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
35919 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
35920 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
35921 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
35922 to compile strcasecmp and strncasecmp.
35923 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
35924 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
35925
35926 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
35927
76e3966e
UD
359282011-11-13 Ulrich Drepper <drepper@gmail.com>
35929
35930 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
35931 locale-defines.sym to gen-as-const-headers.
35932 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
35933 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
35934 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
35935 to compile strcasecmp and strncasecmp.
35936 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
35937 strcasecmp_l and strncasecmp_l.
35938 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
35939 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
35940 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
35941 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
35942 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
35943 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
35944 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
35945 * sysdeps/i386/i686/multiarch/strncase.S: New file.
35946 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
35947 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
35948 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
35949
ab26144e
UD
359502011-11-12 Ulrich Drepper <drepper@gmail.com>
35951
7edb22ef
UD
35952 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
35953 result of SYSDEP_GETTIME_CPU to retval.
35954 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
35955 parameter list to macro. Remove trailing semicolon. Adjust users.
35956
9694fc44
UD
35957 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
35958 variable.
35959
8ad89ef8
UD
35960 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
35961 mantissa words.
35962 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
35963
0c822ef9
UD
35964 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
35965 from unused variable.
35966
874e0564
UD
35967 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
35968 DWARF definitions.
35969 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
35970 for assembling.
35971
3a2edc79
UD
35972 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
35973 over namespaces.
35974
f3c2577f
UD
35975 * sunrpc/rpc_prot.c (rejected): Fix case value.
35976
294ce126
UD
35977 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
35978 unsigned long long int to avoid warnings in shift.
35979
5e2b63c6
UD
35980 * posix/regex_internal.c (re_string_reconstruct): Actually use result
35981 of use of trans.
35982 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
35983 variable tmp.
35984
e7f4b08e
UD
35985 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
35986 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
35987 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
35988
ab26144e
UD
35989 * nis/nis_table.c (nis_list): Use variable of correct type for
35990 result of __follow_path call.
35991
8a6d5255
AZ
359922011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35993
35994 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
35995 of math functions ceil, trunc, floor, round, and sqrt, when
35996 avaliable on the platform.
35997 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
35998 name clash.
35999 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
36000 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
36001 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
36002
aaddc98c
MP
360032011-10-30 Marek Polacek <mpolacek@redhat.com>
36004
36005 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
36006 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
36007
95b7042b
RM
360082011-11-11 Roland McGrath <roland@hack.frob.com>
36009
36010 * include/unistd.h: Fix __readlink return type.
36011 Reported by Chris Metcalf <cmetcalf@tilera.com>.
36012
57769839
UD
360132011-11-11 Ulrich Drepper <drepper@gmail.com>
36014
36015 * stdlib/ucontext.h: Undo last change for makecontext.
36016
edc5984d
AS
360172011-11-11 Andreas Schwab <schwab@redhat.com>
36018
98591e58
AS
36019 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
36020
edc5984d
AS
36021 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
36022 * setjmp/setjmp.h: Mark functions as non-leaf.
36023 * setjmp/bits/setjmp2.h: Likewise.
36024 * stdlib/ucontext.h: Likewise.
36025
77cdc054
AS
360262011-11-10 Andreas Schwab <schwab@redhat.com>
36027
36028 * malloc/arena.c (_int_new_arena): Don't increment narenas.
36029 (reused_arena): Don't check arena limit.
36030 (arena_get2): Atomically check arena limit.
36031
fe72eebd
UD
360322011-11-08 Ulrich Drepper <drepper@gmail.com>
36033
5f078c32
UD
36034 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
36035 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
36036
fe72eebd
UD
36037 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
36038 instructions.
36039
ae1bc2fa
AS
360402011-11-07 Andreas Schwab <schwab@redhat.com>
36041
7583a88d
AS
36042 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
36043 handler when locking.
36044
ae1bc2fa
AS
36045 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
36046 Fix size of allocated buffer.
36047
10fb0bfa
AS
360482011-11-04 Andreas Schwab <schwab@redhat.com>
36049
998832a4
AS
36050 [BZ #10103]
36051 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
36052 declarations for long double functions.
36053 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
36054
10fb0bfa
AS
36055 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
36056
3d7ba52b
AS
360572011-11-03 Andreas Schwab <schwab@redhat.com>
36058
a9ae54a1
AS
36059 * nscd/nscd.c (main): Don't start AVC thread until credentials are
36060 installed.
36061
3d7ba52b
AS
36062 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
36063 is disabled.
36064
bc8db248
ST
360652011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
36066
36067 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
36068
45b96dd6
AS
360692011-11-01 Andreas Schwab <schwab@linux-m68k.org>
36070
647776f6
AS
36071 * include/alloca.h (stackinfo_alloca_round): Define.
36072 (extend_alloca): Use it.
36073 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
36074 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
36075 here.
36076
d91a8b93
AS
36077 * scripts/check-local-headers.sh: Ignore libaudit.h.
36078
45b96dd6
AS
36079 * nscd/Makefile (extra-objs): Make recursively expanded.
36080
432d41ce
UD
360812011-11-01 Ulrich Drepper <drepper@gmail.com>
36082
34372fc6
UD
36083 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
36084 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
36085
fadb59f8
UD
36086 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
36087 * posix/tst-rfc3484-2.c: Likewise.
36088 * posix/tst-rfc3484-3.c: Likewise.
36089
78239589
UD
36090 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
36091 process_vm_writev.
36092 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
36093 process_vm_writev.
36094 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
36095 process_vm_writev from libc using GLIBC_2.15 version.
36096
432d41ce
UD
36097 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
36098
02f9c6cf
PP
360992011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
36100
36101 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
36102 stack usage.
36103
3a2c0242
UD
361042011-10-31 Ulrich Drepper <drepper@gmail.com>
36105
f4ec4833
UD
36106 [BZ #13367]
36107 * nss/getent.c (initgroups_keys): Show error message in case no group
36108 names are given.
36109
3a2c0242
UD
36110 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
36111 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
36112 __bump_nl_timestamp.
36113 * nscd/connections (nscd_init): When host database is served open
36114 netlink socket and request notification about configuration changes.
36115 (main_loop_poll): Track netlink file descriptor and bump timestamp
36116 in case data becomes available.
36117 (main_loop_epoll): Likewise.
36118 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
36119 (database_pers_head): Add extra_data fileds.
36120 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
36121 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
36122 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
36123 Adjust caller.
36124 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
36125 in6ai data, call __free_in6ai.
36126 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
36127 Add -DHAVE_NETLINK.
36128 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
36129 interface information. Reuse previous data if netlink timestamp
36130 is not changed.
36131 (__bump_nl_timestamp): New function.
36132 (__free_in6ai): New function.
36133
636064eb
UD
361342011-10-30 Ulrich Drepper <drepper@gmail.com>
36135
36136 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
36137 close_not_cancel_no_status here.
36138 (__check_pf): Reorganize code a bit to not call close twice if OOM.
36139
9beb2334
UD
361402011-10-29 Ulrich Drepper <drepper@gmail.com>
36141
6ef76f3b
UD
36142 [BZ #13276]
36143 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
36144 return value.
36145
0ffc4f3e 36146 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
36147 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
36148 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
36149
cb95113e
UD
361502011-07-03 Andreas Jaeger <aj@suse.de>
36151
36152 [BZ #10709]
36153 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
36154 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
36155 * math/libm-test.inc (sin_test): Add test case.
36156
a1b560ff
UD
361572011-10-29 Ulrich Drepper <drepper@gmail.com>
36158
c9aaface
UD
36159 [BZ #13337]
36160 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
36161 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
36162
d272e7f1
UD
36163 * elf/chroot_canon.c (chroot_canon): Cleanups.
36164
1bc33071
UD
36165 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
36166
1760874d
TJ
36167 [BZ #13335]
36168 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
36169 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
36170
51d91b18
UD
36171 * string/test-strchr.c: Make usable for strchrnul testing.
36172 * string/test-strchrnul.c: New file.
36173 * string/Makefile (strop-tests): Add strchrnul.
36174
a1b560ff 36175 * po/it.po: Update from translation team.
b611fb81 36176 * po/es.po: Likewise.
a1b560ff 36177
a5b81e1f
UD
361782011-10-28 Ulrich Drepper <drepper@gmail.com>
36179
fd52bc6d
UD
36180 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
36181 the three constants needed as parameters. Drop the others.
36182 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
36183 __m128i_strloadu_tolower.
52e4b9eb
UD
36184 Create and initialize variable zero and use it in all the places
36185 where _mm_setzero_si128 was used.
fd52bc6d 36186
a5b81e1f
UD
36187 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
36188 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
36189 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
36190 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
36191 anymore.
36192 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
36193 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
36194 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
36195 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
36196 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
36197 __mpranred, __mptan.
36198 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
36199 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
36200 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
36201 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
36202 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
36203 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
36204 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
36205 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
36206 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
36207
b4343346
AS
362082011-10-28 Andreas Schwab <schwab@redhat.com>
36209
0c92d8a8
AS
36210 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
36211 redefine if SHARED.
36212 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
36213
b4343346
AS
36214 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
36215 wide char related routines to wcsmbs subdir.
36216
3871f58f
AS
362172011-10-27 Andreas Schwab <schwab@redhat.com>
36218
36219 [BZ #13344]
36220 * misc/sys/cdefs.h (__THROWNL): Define.
36221 * posix/unistd.h: Use __THREADNL instead of __THREAD
36222 for memory synchronization functions.
36223
94d44d9f
RM
362242011-10-26 Roland McGrath <roland@hack.frob.com>
36225
21b64b15 36226 [BZ #13349]
94d44d9f
RM
36227 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
36228 doesn't exist.
36229 * manual/stdio.texi (Obstack Streams): Node removed.
36230
f6ce9294
AS
362312011-10-26 Andreas Schwab <schwab@redhat.com>
36232
80479147
AS
36233 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
36234 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
36235 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
36236
f6ce9294
AS
36237 * math/math_private.h (math_force_eval): Allow non-addressable
36238 arguments.
36239 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
36240
618280a1
UD
362412011-10-25 Ulrich Drepper <drepper@gmail.com>
36242
e0016b11
UD
36243 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
36244 file is not needed.
36245
36246 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
36247 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
36248 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
36249 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
36250 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
36251 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
36252 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
36253 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
36254 Add AVX variants.
36255 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
36256 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
36257 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
36258 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
36259 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
36260 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
36261 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
36262 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
36263 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
36264 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
36265 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
36266 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
36267 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
36268 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
36269 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
36270 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
36271 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
36272 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
36273 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
36274
36275 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
36276 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
36277
618280a1
UD
36278 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
36279 place. Use VEX encoding when compiling for AVX.
36280
37822576
AS
362812011-10-25 Andreas Schwab <schwab@redhat.com>
36282
1f1e1947
AS
36283 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
36284 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
36285
37822576
AS
36286 * string/test-strchr.c (do_test): Don't generate NUL bytes.
36287
31ea014d
UD
362882011-10-25 Ulrich Drepper <drepper@gmail.com>
36289
d7826aa1 36290 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 36291 useless if() expression.
d7826aa1
UD
36292 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
36293 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
36294 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
36295 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
36296 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
36297 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
36298 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
36299 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
36300 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
36301 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
36302 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
36303 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
36304 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
36305 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
36306 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
36307 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
36308 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
36309 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
36310 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
36311
31ea014d
UD
36312 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
36313
16437fec
AS
363142011-10-25 Andreas Schwab <schwab@redhat.com>
36315
36316 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
36317 condition.
36318 * elf/dl-fini.c (_dl_sort_fini): Likewise.
36319
31d3cc00
UD
363202011-10-25 Ulrich Drepper <drepper@gmail.com>
36321
36322 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
36323 .text section. Avoid duplicate constants.
36324 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
36325 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36326 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
36327 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36328 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36329 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36330 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36331 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36332 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
36333 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
36334 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
36335 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
36336 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
36337 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
36338 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
36339 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
36340 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
36341 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
36342 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
36343 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36344 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
36345 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
36346 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
36347 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
36348 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
36349 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
36350 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
36351 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
36352 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
36353 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
36354 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
36355 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
36356 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
36357 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
36358 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
36359 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
36360 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
36361 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
36362 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
36363 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
36364 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
36365 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
36366 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
36367 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
36368 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
36369
58985aa9
UD
363702011-10-24 Ulrich Drepper <drepper@gmail.com>
36371
202c9deb
UD
36372 * sysdeps/x86_64/dla.h: Move to ...
36373 * sysdeps/x86_64/fpu/dla.h: ...here.
36374 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
36375 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 36376
af968f62
UD
36377 * config.make.in: Add have-mfma4 entry.
36378 * configure.in: Substitute libc_cv_cc_fma4.
36379 * math/Makefile (dbl-only-routines): Add sincostab.
36380 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
36381 Use __sincostab not sincos.
36382 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
36383 name is a macro.
36384 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36385 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36386 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36387 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
36388 using __copysign.
36389 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
36390 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
36391 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
36392 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
36393 and __inv.
36394 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
36395 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
36396 __copysign.
36397 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
36398 define aliases when function name is a macro.
36399 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
36400 sysdeps/ieee754/dbl-64/sincos.tbl.
36401 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
36402 fma4-enabled routines.
36403 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
36404 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
36405 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
36406 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
36407 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
36408 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
36409 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
36410 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
36411 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
36412 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
36413 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
36414 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
36415 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
36416 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
36417 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
36418 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
36419 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
36420 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
36421 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
36422 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
36423 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
36424 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
36425 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
36426 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
36427 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
36428 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
36429 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
36430 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
36431 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
36432 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
36433
58985aa9
UD
36434 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
36435 rename.
36436 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36437 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36438 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36439 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36440 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36441 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36442 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
36443 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36444
a201fbcf
AS
364452011-10-24 Andreas Schwab <schwab@redhat.com>
36446
36447 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
36448
fc2ee42a
LD
364492011-10-23 Ulrich Drepper <drepper@gmail.com>
36450
bb3129bd
UD
36451 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
36452
0275fff8
UD
36453 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
36454 prediction.
36455 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
36456
2fa2ae85
UD
36457 * string/strnlen.c: Don't define STRNLEN, reverse logic.
36458 Remove unused variable magic_bits.
36459 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
36460
fc2ee42a
LD
36461 * string/strnlen.c: Define and use STRNLEN macro.
36462 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
36463 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
36464 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
36465 * wcsmbs/wcslen.c: Define and use WCSLEN.
36466 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
36467 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
36468 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
36469 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
36470 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
36471 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
36472 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
36473
ce7dd29f
LD
364742011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36475
36476 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36477 strnlen-sse2-no-bsf.
36478 Rename strlen-no-bsf to strlen-sse2-no-bsf.
36479 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
36480 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
36481 Add strnlen support.
36482 (USE_AS_STRNLEN): New macro.
36483 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
36484 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
36485 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
36486 * sysdeps/x86_64/wcslen.S: New file.
36487
979c70a3
MZ
364882011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
36489
36490 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
36491 XMM-moves are used for copying on small sizes.
36492
2d09f82f
LD
364932011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36494
36495 * wcsmbs/Makefile (strop-tests): Add wcschr.
36496 * wcsmbs/test-wcschr.c: New file.
36497 * string/test-strchr.c: Update.
36498 Add wcschr support.
36499 (WIDE): New macro.
36500
619fccca
LD
365012011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36502
2d09f82f 36503 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
36504 * wcsmbs/test-wcslen.c: New file.
36505 * string/test-strlen.c: Update.
36506 Add wcslen support.
36507 (WIDE): New macro.
36508
09f699ea
UD
365092011-10-23 Ulrich Drepper <drepper@gmail.com>
36510
36511 * po/it.po: Update from translation team.
36512
95584d3b
LD
365132011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36514
36515 * sysdeps/x86_64/wcscmp.S: Update.
36516 Fix wrong comparison semantics.
36517 wcscmp shall use signed comparison not unsigned.
36518 Don't use substraction to avoid overflow bug.
36519 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
36520 * wcsmbc/wcscmp.c: Likewise.
36521 * string/test-strcmp.c: Likewise.
36522 Add new tests to check cases with negative values.
36523
c8b3296b
UD
365242011-10-23 Ulrich Drepper <drepper@gmail.com>
36525
36526 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
36527 * sysdeps/x86_64/dla.h: ...here. New file.
36528 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
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/e_sqrt.c: Likewise.
36534 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36535 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
36536 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36537
246ad57a
AS
365382011-10-23 Andreas Schwab <schwab@linux-m68k.org>
36539
36540 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
36541 __ynl_finite aliases.
36542
a1a87169
UD
365432011-10-22 Ulrich Drepper <drepper@gmail.com>
36544
0d355eb7
UD
36545 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36546
a1a87169
UD
36547 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
36548 define DLA_FMA.
36549 [DLA_FMA] (EMULV): Use DLA_FMA.
36550 [DLA_FMA] (MUL12): Use EMULV.
36551 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
36552 that are not needed.
36553 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36554 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36555 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36556 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36557 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36558 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
36559 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36560
ee2aafe0
AS
365612011-10-22 Andreas Schwab <schwab@linux-m68k.org>
36562
36563 * math/s_nan.c: Undef __nan.
36564 * math/s_nanf.c: Undef __nanf.
36565 * math/s_nanl.c: Undef __nanl.
36566 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
36567 "math_private.h".
36568
bc62c2fb
UD
365692011-10-22 Ulrich Drepper <drepper@gmail.com>
36570
77425c63
UD
36571 * math/s_catan.c: Add branch predictions.
36572 * math/s_catanf.c: Likewise.
36573 * math/s_catanh.c: Likewise.
36574 * math/s_catanhf.c: Likewise.
36575 * math/s_catanhl.c: Likewise.
36576 * math/s_catanl.c: Likewise.
36577 * math/s_cexp.c: Likewise.
36578 * math/s_cexpf.c: Likewise.
36579 * math/s_cexpl.c: Likewise.
36580 * math/s_clog.c: Likewise.
36581 * math/s_clog10.c: Likewise.
36582 * math/s_clog10f.c: Likewise.
36583 * math/s_clog10l.c: Likewise.
36584 * math/s_clogf.c: Likewise.
36585 * math/s_clogl.c: Likewise.
36586 * math/s_csqrt.c: Likewise.
36587 * math/s_csqrtf.c: Likewise.
36588 * math/s_csqrtl.c: Likewise.
36589 * math/s_ctanf.c: Likewise.
36590 * math/s_ctanh.c: Likewise.
36591 * math/s_ctanhf.c: Likewise.
36592 * math/s_ctanhl.c: Likewise.
36593 * math/s_ctanl.c: Likewise.
36594
bc62c2fb
UD
36595 * math/math_private.h: Define __nan, __nanf, __nanl.
36596 * math/s_cacosh.c: Include <math_private.h>.
36597 * math/s_cacoshl.c: Likewise.
36598 * math/s_casinh.c: Likewise.
36599 * math/s_casinhf.c: Likewise.
36600 * math/s_casinhl.c: Likewise.
36601 * math/s_ccos.c: Rely entire on ccosh.
36602 * math/s_ccosf.c: Rely entire on ccoshf.
36603 * math/s_ccosl.c: Rely entirely on ccoshl.
36604 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
36605 Remove tests for FE_INVALID.
36606 * math/s_ccoshf.c: Likewise.
36607 * math/s_ccoshl.c: Likewise.
36608 * math/s_csin.c: Likewise.
36609 * math/s_csinf.c: Likewise.
36610 * math/s_csinh.c Likewise.
36611 * math/s_csinhf.c: Likewise.
36612 * math/s_csinhl.c: Likewise.
36613 * math/s_csinl.c: Likewise.
36614 * math/s_ctan.c: Likewise.
36615 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
36616 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
36617 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
36618
8ec250a4
UD
366192011-10-21 Ulrich Drepper <drepper@gmail.com>
36620
c196fed8
UD
36621 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
36622 compilation problems.
36623
8ec250a4
UD
36624 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
36625 __builtin_expect.
36626
8d4f46c6
UD
366272011-10-20 Ulrich Drepper <drepper@gmail.com>
36628
ed72b654
UD
36629 * sysdeps/i386/configure.in: Test for -mfma4 option.
36630 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
36631 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
36632 COMMON_CPUID_INDEX_80000001.
36633 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
36634 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
36635 use it if FMA3 is not supported.
36636 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
36637
8d4f46c6
UD
36638 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
36639 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
36640
d45c60c2
AS
366412011-10-20 Andreas Schwab <schwab@redhat.com>
36642
36643 [BZ #12892]
36644 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
36645 it would create a cycle with a link time dependency.
36646
d9a4d2ab
UD
366472011-10-19 Ulrich Drepper <drepper@gmail.com>
36648
855d1560
UD
36649 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
36650 instruction.
36651 * string/Makefile (strop-tests): Add rawmemchr.
36652 * string/test-rawmemchr.c: New file.
36653
d9a4d2ab
UD
36654 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
36655 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
36656 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
36657 when compiling str{,n}casecmp and when AVX is available. Hook up
36658 new optimized code in initializers.
36659
8f3b1ffe
AS
366602011-10-19 Andreas Schwab <schwab@redhat.com>
36661
36662 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
36663 __feraiseexcept instead of feraiseexcept.
36664
d38f1dba
UD
366652011-10-18 Ulrich Drepper <drepper@gmail.com>
36666
d9a8d0ab
UD
36667 * math/math_private.h: Define defaults for libc_fetestexcept and
36668 libc_feupdateenv.
36669 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
36670 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
36671 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
36672 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
36673 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
36674 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
36675 libc_fetestexcept and libc_feupdateenv.
36676
4855e3dd
UD
36677 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
36678 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
36679 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
36680 * sysdeps/x86_64/fpu/math_private.h: Define special version of
36681 libc_feholdexcept_setround.
36682
581d30e3
UD
36683 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
36684 Add s_nearbyint-c and s_nearbyintf-c.
36685 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
36686 nearbyintf inlines.
36687 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
36688 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
36689 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
36690 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
36691
d38f1dba
UD
36692 * math/math_private.h: Define defaults for libc_fegetround,
36693 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
36694 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
36695 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
36696 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
36697 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
36698 standard functions.
36699 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
36700 Remove comments and hacks for old compiler versions.
36701 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
36702 libc_fegetround, libc_fesetround, libc_feholdexcept, and
36703 libc_feholdexceptl.
36704
caa6c9d8
AS
367052011-10-18 Andreas Schwab <schwab@redhat.com>
36706
36707 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
36708 (__feraiseexcept_renamed): Add __NTH.
36709 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
36710 namespace violations.
36711
97c066e6
UD
367122011-10-17 Ulrich Drepper <drepper@gmail.com>
36713
99ce7b04
UD
36714 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
36715
1004d182
UD
36716 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
36717
228a984d
UD
36718 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
36719 recently added interfaces.
36720 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
36721
c8553a6a
UD
36722 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
36723 about macro parameter expansion.
36724
ed22dcf6
UD
36725 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
36726 __NO_MATH_INLINES is defined. Cleanups.
36727
36728 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
36729 and __floorf is target has SSE4.1.
36730 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
36731 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
36732 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
36733 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
36734
b171c137
UD
36735 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
36736 name.
36737 (floorf): Likewise.
36738
97c066e6
UD
36739 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
36740
629f62ef
AS
367412011-10-17 Andreas Schwab <schwab@redhat.com>
36742
49a43d80
AS
36743 * misc/sys/cdefs.h: Fix last change.
36744
629f62ef
AS
36745 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
36746 database lookup.
36747
e453f6cd
UD
367482011-10-16 Ulrich Drepper <drepper@gmail.com>
36749
aa78043a
UD
36750 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
36751
ad0f5cad
UD
36752 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
36753 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
36754 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
36755 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
36756 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
36757 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
36758 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
36759 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
36760 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
36761 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
36762 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
36763 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
36764 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
36765 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
36766 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
36767 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
36768 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
36769 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
36770 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
36771 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
36772 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
36773 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
36774
36775 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
36776 ceil, ceilf, floor, floorf.
36777
36778 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
36779 Perform IRELATIVE relocations last.
36780
e453f6cd
UD
36781 * elf/do-rel.h: Add another parameter nrelative, replacing the
36782 local variable with the same name. Change name of the function
36783 to end in Rel or Rela (uppercase).
36784 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
36785 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
36786 elf_dynamic_do_##reloc function.
36787
fd5bdc09
UD
367882011-10-15 Ulrich Drepper <drepper@gmail.com>
36789
79b195b5
UD
36790 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
36791 is sufficient, at least on modern CPUs.
36792
d4a28569
UD
36793 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
36794
b61099b5
UD
36795 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
36796 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
36797
bcf01e6d
UD
36798 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
36799 __expl_finite.
36800 * math/bits/math-finite.h: Add entries for exp.
36801 * math/e_expl.c: Add __*_finite alias.
36802 * sysdeps/i386/fpu/e_exp.S: Likewise.
36803 * sysdeps/i386/fpu/e_expf.S: Likewise.
36804 * sysdeps/i386/fpu/e_expl.c: Likewise.
36805 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36806 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
36807 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
36808 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
36809 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
36810 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
36811 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
36812
ba1a0d59
UD
36813 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
36814 is sufficient, at least on modern CPUs.
36815
fd5bdc09
UD
36816 * ctype/ctype-info.c (__ctype_init): Define.
36817 * include/ctype.h (__ctype_init): Declare.
36818 (__ctype_b_loc): The variable is always initialized.
36819 (__ctype_toupper_loc): Likewise.
36820 (__ctype_tolower_loc): Likewise.
36821 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
36822 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
36823
7872cfb0
AS
368242011-10-15 Andreas Schwab <schwab@linux-m68k.org>
36825
b468825a
AS
36826 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
36827
7872cfb0
AS
36828 * configure.in: Also look in $cxxmachine/include for C++ system
36829 headers.
36830
be13f7bf
LD
368312011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36832
36833 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
36834 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
36835 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
36836 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
36837 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
36838 (USE_AS_WMEMCMP): New macro.
36839 Fixing indents.
36840 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
36841 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
36842 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
36843 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
36844 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36845 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
36846 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
36847 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
36848 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
36849 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
36850 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
36851 (USE_AS_WMEMCMP): New macro.
36852 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
36853 * sysdeps/string/test-memcmp.c: Update.
36854 Fix simple_wmemcmp.
36855 Add new tests.
36856 * wcsmbs/wmemcmp.c: Update.
36857 (WMEMCMP): New macro.
36858 Fix overflow bug.
36859
556a2007
AJ
368602011-10-12 Andreas Jaeger <aj@suse.de>
36861
36862 [BZ #13268]
36863 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
36864
538faaa7
UD
368652011-10-15 Ulrich Drepper <drepper@gmail.com>
36866
ab6737ff
UD
36867 * libio/iofwide.c (do_length): Avoid warning.
36868
538faaa7
UD
36869 * ctype/ctype.h (__isctype_f): Add missing __THROW.
36870
396a21b1
UD
368712011-10-14 Ulrich Drepper <drepper@gmail.com>
36872
cdf2901f
UD
36873 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
36874
38ad40ce
UD
36875 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
36876 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
36877 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
36878 * sysdeps/i386/i686/fpu/e_log.S: New file.
36879 * sysdeps/i386/i686/fpu/e_logf.S: New file.
36880 * sysdeps/i386/i686/fpu/e_logl.S: New file.
36881
396a21b1
UD
36882 * ctype/ctype.h: Add support for inlined isXXX functions when
36883 compiling C++ code.
36884
6b1f68c9
AS
368852011-10-14 Andreas Schwab <schwab@redhat.com>
36886
349290c0
AS
36887 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
36888
6b1f68c9
AS
36889 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
36890
f2282d42
RM
368912011-10-13 Roland McGrath <roland@hack.frob.com>
36892
36893 [BZ #13291]
36894 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
36895
5298ffa8
AS
368962011-10-13 Andreas Schwab <schwab@redhat.com>
36897
714fad23
AS
36898 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
36899 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
36900 feraiseexcept.
36901
81dcc7fb
AS
36902 * sysdeps/x86_64/memrchr.S: Check for zero size.
36903
5298ffa8
AS
36904 * string/stratcliff.c: Add memrchr tests.
36905
951fbcec
LD
369062011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36907
36908 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36909 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
36910 rawmemchr-sse2 rawmemchr-sse2-bsf.
36911 * sysdeps/i386/i686/multiarch/memchr.S: New file.
36912 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
36913 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
36914 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
36915 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
36916 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
36917 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
36918 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
36919 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
36920 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
36921 * string/memrchr.c (MEMRCHR): New macro.
36922
0ac5ae23
UD
369232011-10-12 Ulrich Drepper <drepper@gmail.com>
36924
36925 Add integration with gcc's -ffinite-math-only and optimize wrapper
36926 functions in libm.
36927 * Versions.def: Define GLIBC_2.15 version for libm.
36928 * math/Makefile (headers): Add bits/math-finite.h.
36929 * math/bits/math-finite.h: New file.
36930 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
36931 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
36932 * math/e_acoshl.c: Add __*_finite alias.
36933 * math/e_acosl.c: Likewise.
36934 * math/e_asinl.c: Likewise.
36935 * math/e_atan2l.c: Likewise.
36936 * math/e_atanhl.c: Likewise.
36937 * math/e_coshl.c: Likewise.
36938 * math/e_exp10.c: Likewise.
36939 * math/e_exp10f.c: Likewise.
36940 * math/e_exp10l.c: Likewise.
36941 * math/e_exp2l.c: Likewise.
36942 * math/e_fmodl.c: Likewise.
36943 * math/e_gammal_r.c: Likewise.
36944 * math/e_hypotl.c: Likewise.
36945 * math/e_j0l.c: Likewise.
36946 * math/e_j1l.c: Likewise.
36947 * math/e_jnl.c: Likewise.
36948 * math/e_lgammal_r.c: Likewise.
36949 * math/e_log10l.c: Likewise.
36950 * math/e_log2l.c: Likewise.
36951 * math/e_logl.c: Likewise.
36952 * math/e_powl.c: Likewise.
36953 * math/e_sinhl.c: Likewise.
36954 * math/e_sqrtl.c: Likewise.
36955 * math/e_scalb.c: Completely rewritten and optimized.
36956 * math/e_scalbf.c: Likewise.
36957 * math/e_scalbl.c: Likewise.
36958 * math/w_acos.c: Likewise.
36959 * math/w_acosf.c: Likewise.
36960 * math/w_acosl.c: Likewise.
36961 * math/w_acosh.c: Likewise.
36962 * math/w_acoshf.c: Likewise.
36963 * math/w_acoshl.c: Likewise.
36964 * math/w_asin.c: Likewise.
36965 * math/w_asinf.c: Likewise.
36966 * math/w_asinl.c: Likewise.
36967 * math/w_atan2.c: Likewise.
36968 * math/w_atan2f.c: Likewise.
36969 * math/w_atan2l.c: Likewise.
36970 * math/w_atanh.c: Likewise.
36971 * math/w_atanhf.c: Likewise.
36972 * math/w_atanhl.c: Likewise.
36973 * math/w_exp10.c: Likewise.
36974 * math/w_exp10f.c: Likewise.
36975 * math/w_exp10l.c: Likewise.
36976 * math/w_fmod.c: Likewise.
36977 * math/w_fmodf.c: Likewise.
36978 * math/w_fmodl.c: Likewise.
36979 * math/w_j0.c: Likewise.
36980 * math/w_j0f.c: Likewise.
36981 * math/w_j0l.c: Likewise.
36982 * math/w_j1.c: Likewise.
36983 * math/w_j1f.c: Likewise.
36984 * math/w_j1l.c: Likewise.
36985 * math/w_jn.c: Likewise.
36986 * math/w_jnf.c: Likewise.
36987 * math/w_log.c: Likewise.
36988 * math/w_logf.c: Likewise.
36989 * math/w_logl.c: Likewise.
36990 * math/w_log10.c: Likewise.
36991 * math/w_log10f.c: Likewise.
36992 * math/w_log10l.c: Likewise.
36993 * math/w_log2.c: Likewise.
36994 * math/w_log2f.c: Likewise.
36995 * math/w_log2l.c: Likewise.
36996 * math/w_pow.c: Likewise.
36997 * math/w_powf.c: Likewise.
36998 * math/w_powl.c: Likewise.
36999 * math/w_remainder.c: Likewise.
37000 * math/w_remainderf.c: Likewise.
37001 * math/w_remainderl.c: Likewise.
37002 * math/w_scalb.c: Likewise.
37003 * math/w_scalbf.c: Likewise.
37004 * math/w_scalbl.c: Likewise.
37005 * math/w_sqrt.c: Likewise.
37006 * math/w_sqrtf.c: Likewise.
37007 * math/w_sqrtl.c: Likewise.
37008 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
37009 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
37010 used.
37011 * math/math_private.h: Declare __kernel_standard_f.
37012 * math/w_cosh.c: Remove cruft and optimize a bit.
37013 * math/w_coshf.c: Likewise.
37014 * math/w_coshl.c: Likewise.
37015 * math/w_exp2.c: Likewise.
37016 * math/w_exp2f.c: Likewise.
37017 * math/w_exp2l.c: Likewise.
37018 * math/w_hypot.c: Likewise.
37019 * math/w_hypotf.c: Likewise.
37020 * math/w_hypotl.c: Likewise.
37021 * math/w_lgamma.c: Likewise.
37022 * math/w_lgamma_r.c: Likewise.
37023 * math/w_lgammaf.c: Likewise.
37024 * math/w_lgammaf_r.c: Likewise.
37025 * math/w_lgammal.c: Likewise.
37026 * math/w_lgammal_r.c: Likewise.
37027 * math/w_sinh.c: Likewise.
37028 * math/w_sinhf.c: Likewise.
37029 * math/w_sinhl.c: Likewise.
37030 * math/w_tgamma.c: Likewise.
37031 * math/w_tgammaf.c: Likewise.
37032 * math/w_tgammal.c: Likewise.
37033 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
37034 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37035 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
37036 Minor optimizations. Pretty printing. Remove cruft.
37037 * sysdeps/i386/fpu/e_acosf.S: Likewise.
37038 * sysdeps/i386/fpu/e_acosh.S: Likewise.
37039 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
37040 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
37041 * sysdeps/i386/fpu/e_acosl.c: Likewise.
37042 * sysdeps/i386/fpu/e_asin.S: Likewise.
37043 * sysdeps/i386/fpu/e_asinf.S: Likewise.
37044 * sysdeps/i386/fpu/e_atan2.S: Likewise.
37045 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
37046 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
37047 * sysdeps/i386/fpu/e_atanh.S: Likewise.
37048 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
37049 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
37050 * sysdeps/i386/fpu/e_exp10.S: Likewise.
37051 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
37052 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
37053 * sysdeps/i386/fpu/e_exp2.S: Likewise.
37054 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
37055 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
37056 * sysdeps/i386/fpu/e_fmod.S: Likewise.
37057 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
37058 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
37059 * sysdeps/i386/fpu/e_hypot.S: Likewise.
37060 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
37061 * sysdeps/i386/fpu/e_log.S: Likewise.
37062 * sysdeps/i386/fpu/e_log10.S: Likewise.
37063 * sysdeps/i386/fpu/e_log10f.S: Likewise.
37064 * sysdeps/i386/fpu/e_log10l.S: Likewise.
37065 * sysdeps/i386/fpu/e_log2.S: Likewise.
37066 * sysdeps/i386/fpu/e_log2f.S: Likewise.
37067 * sysdeps/i386/fpu/e_log2l.S: Likewise.
37068 * sysdeps/i386/fpu/e_logf.S: Likewise.
37069 * sysdeps/i386/fpu/e_logl.S: Likewise.
37070 * sysdeps/i386/fpu/e_pow.S: Likewise.
37071 * sysdeps/i386/fpu/e_powf.S: Likewise.
37072 * sysdeps/i386/fpu/e_powl.S: Likewise.
37073 * sysdeps/i386/fpu/e_remainder.S: Likewise.
37074 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
37075 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
37076 * sysdeps/i386/fpu/e_scalb.S: Likewise.
37077 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
37078 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
37079 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
37080 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
37081 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
37082 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
37083 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
37084 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37085 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
37086 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
37087 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
37088 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
37089 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
37090 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
37091 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
37092 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
37093 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
37094 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37095 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
37096 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
37097 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37098 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
37099 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
37100 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37101 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37102 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
37103 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
37104 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
37105 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
37106 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
37107 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
37108 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
37109 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
37110 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
37111 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
37112 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
37113 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
37114 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
37115 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
37116 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
37117 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
37118 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
37119 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
37120 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
37121 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
37122 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
37123 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
37124 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
37125 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
37126 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
37127 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
37128 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
37129 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
37130 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
37131 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
37132 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
37133 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
37134 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
37135 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
37136 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
37137 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
37138 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
37139 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
37140 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
37141 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
37142 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
37143 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
37144 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
37145 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
37146 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
37147 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
37148 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
37149 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
37150 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
37151 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
37152 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
37153 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
37154 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
37155 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
37156 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
37157 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
37158 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
37159 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
37160 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
37161 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
37162 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
37163 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
37164 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
37165 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
37166 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
37167 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
37168 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
37169 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
37170 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
37171 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
37172 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
37173 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
37174 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
37175 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
37176 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
37177 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
37178 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
37179 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
37180 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
37181 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
37182 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
37183 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
37184 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
37185 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
37186 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
37187 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
37188 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
37189 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
37190 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
37191 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
37192 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
37193 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
37194 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
37195 (__isnanf): Likewise.
37196 (__isinf_ns): Likewise.
37197 (__isinf_nsf): Likewise.
37198 (__finite): Likewise.
37199 (__finitef): Likewise.
37200 (__ieee754_sqrt): Define as macro.
37201 (__ieee754_sqrtf): Define as macro.
37202 (__ieee754_sqrtl): Define as macro.
37203 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
37204 inlined copy.
37205 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
37206 __FINITE_MATH_ONLY__ consistent.
37207 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
37208
12cc2fcd
AS
372092011-10-10 Andreas Schwab <schwab@linux-m68k.org>
37210
a843a204
AS
37211 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
37212 of rawmemchr.
37213
12cc2fcd
AS
37214 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
37215
c853acd5
UD
372162011-10-09 Ulrich Drepper <drepper@gmail.com>
37217
37218 * po/ja.po: Update from translation team.
37219
c658d255
RM
372202011-10-08 Roland McGrath <roland@hack.frob.com>
37221
110946e4
RM
37222 * locale/programs/locarchive.c (prepare_address_space): New function.
37223 (create_archive, enlarge_archive, open_archive): Use it.
37224
50604220
RM
37225 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
37226 inside [SHARED], where it is used.
37227
c658d255
RM
37228 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
37229
37230 * nss/getent.c (netgroup_keys): Remove unused variable.
37231 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
37232
6a621eb7
UD
372332011-10-08 Ulrich Drepper <drepper@gmail.com>
37234
7edb55ce
UD
37235 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
37236 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
37237 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
37238 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
37239 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
37240 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
37241 * math/Makefile (libm-calls): Add s_isinf_ns.
37242 * math/divtc3.c: Use __isinf_nsl instead of isinf.
37243 * math/multc3.c: Likewise.
37244 * math/s_casin.c: Likewise.
37245 * math/s_casinf.c: Likewise.
37246 * math/s_casinl.c: Likewise.
37247 * math/s_ccos.c: Likewise.
37248 * math/s_ccosf.c: Likewise.
37249 * math/s_ccosl.c: Likewise.
37250 * math/s_ctan.c: Likewise.
37251 * math/s_ctanf.c: Likewise.
37252 * math/s_ctanh.c: Likewise.
37253 * math/s_ctanhf.c: Likewise.
37254 * math/s_ctanhl.c: Likewise.
37255 * math/s_ctanl.c: Likewise.
37256 * math/w_fmod.c: Likewise.
37257 * math/w_fmodf.c: Likewise.
37258 * math/w_fmodl.c: Likewise.
37259 * math/w_remainder.c: Likewise.
37260 * math/w_remainderf.c: Likewise.
37261 * math/w_remainderl.c: Likewise.
37262 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
37263 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
37264 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
37265 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
37266 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
37267 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
37268 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
37269 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
37270
187da0ae
UD
37271 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
37272 of the number.
37273 * stdio-common/printf_fphex.c: Likewise.
37274 * stdio-common/printf_size.c: Likewise.
37275
9277c064
UD
37276 * math/e_exp10.c: Include math_private.h using <...> not "...".
37277 * math/e_exp10f.c: Likewise.
37278 * math/e_exp10l.c: Likewise.
37279 * math/e_exp2l.c: Likewise.
37280 * math/e_j0l.c: Likewise.
37281 * math/e_j1l.c: Likewise.
37282 * math/e_jnl.c: Likewise.
37283 * math/e_lgammal_r.c: Likewise.
37284 * math/e_rem_pio2l.c: Likewise.
37285 * math/e_scalb.c: Likewise.
37286 * math/e_scalbf.c: Likewise.
37287 * math/e_scalbl.c: Likewise.
37288 * math/k_cosl.c: Likewise.
37289 * math/k_sinl.c: Likewise.
37290 * math/k_tanl.c: Likewise.
37291 * math/s_cacoshf.c: Likewise.
37292 * math/s_catan.c: Likewise.
37293 * math/s_catanf.c: Likewise.
37294 * math/s_catanh.c: Likewise.
37295 * math/s_catanhf.c: Likewise.
37296 * math/s_catanhl.c: Likewise.
37297 * math/s_catanl.c: Likewise.
37298 * math/s_ccosh.c: Likewise.
37299 * math/s_ccoshf.c: Likewise.
37300 * math/s_ccoshl.c: Likewise.
37301 * math/s_cexp.c: Likewise.
37302 * math/s_cexpf.c: Likewise.
37303 * math/s_cexpl.c: Likewise.
37304 * math/s_clog.c: Likewise.
37305 * math/s_clog10.c: Likewise.
37306 * math/s_clog10f.c: Likewise.
37307 * math/s_clog10l.c: Likewise.
37308 * math/s_clogf.c: Likewise.
37309 * math/s_clogl.c: Likewise.
37310 * math/s_csin.c: Likewise.
37311 * math/s_csinf.c: Likewise.
37312 * math/s_csinh.c: Likewise.
37313 * math/s_csinhf.c: Likewise.
37314 * math/s_csinhl.c: Likewise.
37315 * math/s_csinl.c: Likewise.
37316 * math/s_csqrt.c: Likewise.
37317 * math/s_csqrtf.c: Likewise.
37318 * math/s_csqrtl.c: Likewise.
37319 * math/s_ctan.c: Likewise.
37320 * math/s_ctanf.c: Likewise.
37321 * math/s_ctanh.c: Likewise.
37322 * math/s_ctanhf.c: Likewise.
37323 * math/s_ctanhl.c: Likewise.
37324 * math/s_ctanl.c: Likewise.
37325 * math/s_ldexp.c: Likewise.
37326 * math/s_ldexpf.c: Likewise.
37327 * math/s_ldexpl.c: Likewise.
37328 * math/s_significand.c: Likewise.
37329 * math/s_significandf.c: Likewise.
37330 * math/s_significandl.c: Likewise.
37331 * math/w_acos.c: Likewise.
37332 * math/w_acosf.c: Likewise.
37333 * math/w_acosh.c: Likewise.
37334 * math/w_acoshf.c: Likewise.
37335 * math/w_acoshl.c: Likewise.
37336 * math/w_acosl.c: Likewise.
37337 * math/w_asin.c: Likewise.
37338 * math/w_asinf.c: Likewise.
37339 * math/w_asinl.c: Likewise.
37340 * math/w_atan2.c: Likewise.
37341 * math/w_atan2f.c: Likewise.
37342 * math/w_atan2l.c: Likewise.
37343 * math/w_atanh.c: Likewise.
37344 * math/w_atanhf.c: Likewise.
37345 * math/w_atanhl.c: Likewise.
37346 * math/w_cosh.c: Likewise.
37347 * math/w_coshf.c: Likewise.
37348 * math/w_coshl.c: Likewise.
37349 * math/w_dremf.c: Likewise.
37350 * math/w_exp10.c: Likewise.
37351 * math/w_exp10f.c: Likewise.
37352 * math/w_exp10l.c: Likewise.
37353 * math/w_exp2.c: Likewise.
37354 * math/w_exp2f.c: Likewise.
37355 * math/w_fmod.c: Likewise.
37356 * math/w_fmodf.c: Likewise.
37357 * math/w_fmodl.c: Likewise.
37358 * math/w_hypot.c: Likewise.
37359 * math/w_hypotf.c: Likewise.
37360 * math/w_hypotl.c: Likewise.
37361 * math/w_j0.c: Likewise.
37362 * math/w_j0f.c: Likewise.
37363 * math/w_j0l.c: Likewise.
37364 * math/w_j1.c: Likewise.
37365 * math/w_j1f.c: Likewise.
37366 * math/w_j1l.c: Likewise.
37367 * math/w_jn.c: Likewise.
37368 * math/w_jnf.c: Likewise.
37369 * math/w_jnl.c: Likewise.
37370 * math/w_lgamma.c: Likewise.
37371 * math/w_lgamma_r.c: Likewise.
37372 * math/w_lgammaf.c: Likewise.
37373 * math/w_lgammaf_r.c: Likewise.
37374 * math/w_lgammal.c: Likewise.
37375 * math/w_lgammal_r.c: Likewise.
37376 * math/w_log.c: Likewise.
37377 * math/w_log10.c: Likewise.
37378 * math/w_log10f.c: Likewise.
37379 * math/w_log10l.c: Likewise.
37380 * math/w_log2.c: Likewise.
37381 * math/w_log2f.c: Likewise.
37382 * math/w_log2l.c: Likewise.
37383 * math/w_logf.c: Likewise.
37384 * math/w_logl.c: Likewise.
37385 * math/w_pow.c: Likewise.
37386 * math/w_powf.c: Likewise.
37387 * math/w_powl.c: Likewise.
37388 * math/w_remainder.c: Likewise.
37389 * math/w_remainderf.c: Likewise.
37390 * math/w_remainderl.c: Likewise.
37391 * math/w_scalb.c: Likewise.
37392 * math/w_scalbf.c: Likewise.
37393 * math/w_scalbl.c: Likewise.
37394 * math/w_sinh.c: Likewise.
37395 * math/w_sinhf.c: Likewise.
37396 * math/w_sinhl.c: Likewise.
37397 * math/w_sqrt.c: Likewise.
37398 * math/w_sqrtf.c: Likewise.
37399 * math/w_sqrtl.c: Likewise.
37400 * math/w_tgamma.c: Likewise.
37401 * math/w_tgammaf.c: Likewise.
37402 * math/w_tgammal.c: Likewise.
37403
6a621eb7
UD
37404 * po/ja.po: Update from translation team.
37405
bf582445
AJ
374062011-09-29 Andreas Jaeger <aj@suse.de>
37407
f9efbf3a
AJ
37408 [BZ #13179]
37409 * sunrpc/netname.c (netname2host): Fix logic.
37410
bf582445
AJ
37411 [BZ #6779]
37412 [BZ #6783]
37413 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
37414 correctly.
37415 * math/w_remainder.c (__remainder): Likewise.
37416 * math/w_remainderf.c (__remainderf): Likewise.
37417 * math/libm-test.inc (remainder_test): Add test cases.
37418
48693bea
AK
374192011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37420
37421 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
37422 sdiv_qrnnd.
37423
42622229
LD
374242011-10-07 Ulrich Drepper <drepper@gmail.com>
37425
37426 * string/test-memcmp.c: Avoid unncessary #defines.
37427 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
37428
093ecf92
LD
374292011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37430
37431 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
37432 Use new sse2 version for core i3 - i7 as it's faster
37433 than sse42 version.
37434 (bit_Prefer_PMINUB_for_stringop): New.
37435 * sysdeps/x86_64/rawmemchr.S: Update.
37436 Replace with faster SSE2 version.
37437 * sysdeps/x86_64/memrchr.S: New file.
37438 * sysdeps/x86_64/memchr.S: Update.
37439 Replace with faster SSE2 version.
37440
fde56e5c
MP
374412011-09-12 Marek Polacek <mpolacek@redhat.com>
37442
37443 * elf/dl-load.c (lose): Add cast to avoid warning.
37444
21fd49a9
UD
374452011-10-07 Ulrich Drepper <drepper@gmail.com>
37446
5a06e643
UD
37447 * po/ca.po: Update from translation team.
37448
684ae515
UD
37449 * inet/getnetgrent_r.c: Hook up nscd.
37450 * nscd/Makefile (routines): Add nscd_netgroup.
37451 (nscd-modules): Add netgroupcache.
37452 (CFLAGS-netgroupcache.c): Define.
37453 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
37454 (cache_search): Add const to second parameter.
37455 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
37456 INNETGR.
37457 (dbs): Add netgrdb entry.
37458 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
37459 (verify_persistent_db): Handle netgrdb.
37460 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
37461 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
37462 GETFDNETGR.
37463 (netgroup_response_header): Define.
37464 (innetgroup_response_header): Define.
37465 (datahead): Add netgroup_response_header and innetgroup_response_header
37466 elements.
37467 * nscd/nscd.conf: Add entries for netgroup cache.
37468 * nscd/nscd.h (dbtype): Add netgrdb.
37469 (_PATH_NSCD_NETGROUP_DB): Define.
37470 (netgroup_iov_disabled): Declare.
37471 (xmalloc, xcalloc, xrealloc): Move declarations here.
37472 (cache_search): Adjust prototype.
37473 Add netgroup-related prototypes.
37474 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
37475 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
37476 (__nscd_innetgr): Declare.
37477 * nscd/selinux.c (perms): Use access_vector_t as element type and
37478 add netgroup-related initializers.
37479 * nscd/netgroupcache.c: New file.
37480 * nscd/nscd_netgroup.c: New file.
37481 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
37482 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
37483 For four parameters use innetgr.
37484 * nss/nss_files/files-init.c: Add definition and callback for netgr.
37485 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
37486 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
37487 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
37488
21fd49a9
UD
37489 * nscd/connections.c (register_traced_file): Don't register file
37490 for disabled databases.
37491
054c0457
UD
374922011-10-06 Ulrich Drepper <drepper@gmail.com>
37493
32b63198
UD
37494 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
37495
054c0457
UD
37496 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
37497 from tree and freeing node.
37498
64031225
JO
374992011-09-25 Jiri Olsa <jolsa@redhat.com>
37500
37501 * nss/nsswitch.c (__nss_database_lookup): Handle
37502 nss_parse_service_list out of memory case.
37503
0490345c
JO
375042011-09-15 Jiri Olsa <jolsa@redhat.com>
37505
37506 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
37507 out of memory case.
37508
3a62d00d
AS
375092011-10-04 Andreas Schwab <schwab@redhat.com>
37510
37511 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
37512 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
37513 pass it down.
37514 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
37515 elf_machine_rela, elf_machine_lazy_rel.
37516 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
37517 (ELF_DYNAMIC_DO_REL): Likewise.
37518 (ELF_DYNAMIC_DO_RELA): Likewise.
37519 (ELF_DYNAMIC_RELOCATE): Likewise.
37520 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
37521 to ELF_DYNAMIC_DO_REL.
37522 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
37523 (dl_main): In trace mode always set __RTLD_NOIFUNC.
37524 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
37525 elf_machine_rela.
37526 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
37527 skip_ifunc, don't call ifunc function if non-zero.
37528 (elf_machine_rela): Likewise.
37529 (elf_machine_lazy_rel): Likewise.
37530 (elf_machine_lazy_rela): Likewise.
37531 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
37532 (elf_machine_lazy_rel): Likewise.
37533 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
37534 Likewise.
37535 (elf_machine_lazy_rel): Likewise.
37536 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
37537 Likewise.
37538 (elf_machine_lazy_rel): Likewise.
37539 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
37540 (elf_machine_lazy_rel): Likewise.
37541 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
37542 (elf_machine_lazy_rel): Likewise.
37543 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
37544 (elf_machine_lazy_rel): Likewise.
37545 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
37546 (elf_machine_lazy_rel): Likewise.
37547 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
37548 (elf_machine_lazy_rel): Likewise.
37549 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
37550 (elf_machine_lazy_rel): Likewise.
37551
68577918
UD
375522011-09-28 Ulrich Drepper <drepper@gmail.com>
37553
37554 * nss/nss_files/files-init.c (_nss_files_init): Use static
37555 initialization for all the *_traced_file variables.
37556
68822d74
AS
375572011-09-28 Andreas Schwab <schwab@redhat.com>
37558
37559 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
37560
2056100b
RM
375612011-09-27 Roland McGrath <roland@hack.frob.com>
37562
37563 [BZ #13226]
37564 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
37565
32c76b63
AS
375662011-09-27 Andreas Schwab <schwab@redhat.com>
37567
37568 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
37569 Reread the line before reparsing it.
37570
bf972c9d
AS
375712011-09-26 Andreas Schwab <schwab@redhat.com>
37572
37573 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
37574
e057a1b5
JM
375752011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
37576 Maxim Kuvyrkov <maxim@codesourcery.com>
37577 Joseph Myers <joseph@codesourcery.com>
37578
37579 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
37580 if needed for __stack_chk_guard.
37581
bc7e1c36
RM
375822011-09-19 Roland McGrath <roland@hack.frob.com>
37583
ecb1482f
RM
37584 * sysdeps/posix/spawni.c (script_execute): Always define it.
37585 It will be optimized away if unused.
37586 (maybe_script_execute): New function.
37587 (__spawni): Call it.
37588
bc7e1c36
RM
37589 * Makerules: Don't include tls.make.
37590 (config-tls): Always set to thread.
37591 * tls.make.c: File removed.
37592
1c3b002b
MF
375932011-09-19 Mike Frysinger <vapier@gentoo.org>
37594
37595 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
37596 * config.make.in (CPPFLAGS-config): New substituted variable.
37597
2840865d
UD
375982011-09-15 Ulrich Drepper <drepper@gmail.com>
37599
88738eb6
UD
37600 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
37601
cbf645a6 37602 [BZ #13192]
2840865d
UD
37603 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
37604 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
37605
b402e91a
RM
376062011-09-15 Roland McGrath <roland@hack.frob.com>
37607
37608 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
37609 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
37610 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
37611 (CALL_FAIL): Likewise.
37612 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
37613 (CALL_FAIL): Macro removed.
37614 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
37615
4c1a1f71
UD
376162011-09-15 Ulrich Drepper <drepper@gmail.com>
37617
37618 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
37619 for __FINITE_MATH_ONLY__ == 1.
37620
edc121be
AS
376212011-09-15 Andreas Schwab <schwab@redhat.com>
37622
37623 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
37624 __ieee754_sqrt instead of sqrt.
37625 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
37626 __ieee754_sqrtf instead of sqrtf.
37627 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
37628 __floorf instead of floorf.
37629 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
37630 __floorf, __truncf instead of floorf, truncf.
37631
cd205654
UD
376322011-09-14 Ulrich Drepper <drepper@gmail.com>
37633
ee4d0315
UD
37634 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
37635
cd205654
UD
37636 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
37637 __extern_always_inline.
37638 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
37639 32-bit.
37640
48b67d71
AS
376412011-09-14 Andreas Schwab <schwab@redhat.com>
37642
37643 * elf/rtld.c (dl_main): Also relocate in dependency order when
37644 doing symbol dependency testing.
37645
1ae12c75
AS
376462011-09-13 Andreas Schwab <schwab@linux-m68k.org>
37647
37648 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
37649 Always define `refsym'.
37650
995a80df
AS
376512011-09-13 Andreas Schwab <schwab@redhat.com>
37652
e529793b
AS
37653 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
37654 (__FD_ELT): Renamed from __FDELT.
37655 * misc/bits/select2.h (__FD_ELT): Likewise.
37656 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
37657 __FD_MASK instead of __FDELT, __FDMASK.
37658 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
37659 Likewise.
37660 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
37661 Likewise.
37662
52d4fef8
AS
37663 * elf/Makefile (gen-ldd): Fix pattern.
37664
995a80df
AS
37665 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
37666 (init_tls): Likewise.
37667
8682f8b0
UD
376682011-09-12 Ulrich Drepper <drepper@gmail.com>
37669
37670 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
37671
de82006d
AS
376722011-09-12 Andreas Schwab <schwab@redhat.com>
37673
a7c8e6a1
AS
37674 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
37675 `struct cmsghdr *' instead of `void *'.
37676 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
37677 Likewise.
37678
0f31fe77
AS
376792011-09-11 Andreas Schwab <schwab@linux-m68k.org>
37680
37681 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
37682 if non-absolute.
37683 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
37684 ldd_rewrite_script.
0f31fe77 37685
32b4c839
UD
376862011-09-11 Ulrich Drepper <drepper@gmail.com>
37687
83cd1420
UD
37688 * configure.in: Remove --with-tls option.
37689 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
37690 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
37691 out in case it is missing.
37692 * sysdeps/ia64/elf/configure.in: Likewise.
37693 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
37694 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
37695 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
37696 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
37697 * sysdeps/sh/elf/configure.in: Likewise.
37698 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
37699 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
37700 * sysdeps/x86_64/elf/configure.in: Likewise.
37701 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
37702 * sysdeps/mach/hurd/tls.h: Likewise.
37703
633f745d
UD
37704 [BZ #13067]
37705 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
37706
f318beb8
UD
37707 [BZ #13090]
37708 * configure.in: Fix use of AC_INIT.
37709
32b4c839
UD
37710 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
37711
3ce1f295
UD
377122011-09-10 Ulrich Drepper <drepper@gmail.com>
37713
bb016596
UD
37714 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
37715 __set_errno.
8e58439c
UD
37716 * malloc/hooks.c: Likewise.
37717
aebae053 37718 [BZ #11929]
02d46fc4
UD
37719 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
37720 variables statically.
37721 (narenas): Initialize.
37722 (list_lock): Initialize.
bb016596
UD
37723 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
37724 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
37725 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
37726 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
37727 Add initializers to main_arena and mp_.
37728 (malloc_state): Remove pagesize member. Change all users to use
37729 GLRO(dl_pagesize).
37730
37731 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
37732 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
37733 is always initialized.
37734
22a89187
UD
37735 * malloc/malloc.c: Removed unused configurations and dead code.
37736 * malloc/arena.c: Likewise.
37737 * malloc/hooks.c: Likewise.
02d46fc4 37738 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 37739
d063d164
UD
37740 * include/tls.h: Removed. USE___THREAD must always be defined.
37741 * bits/libc-tsd.h: Don't handle !USE___THREAD.
37742 * elf/dl-libc.c: Likewise.
37743 * elf/dl-tsd.c: Likewise.
37744 * include/errno.h: Likewise.
37745 * include/netdb.h: Likewise.
37746 * include/resolv.h: Likewise.
37747 * inet/herrno-loc.c: Likewise.
37748 * inet/herrno.c: Likewise.
37749 * malloc/arena.c: Likewise.
37750 * malloc/hooks.c: Likewise.
37751 * malloc/malloc.c: Likewise.
37752 * resolv/res-state.c: Likewise.
37753 * resolv/res_libc.c: Likewise.
37754 * sysdeps/i386/dl-machine.h: Likewise.
37755 * sysdeps/ia64/dl-machine.h: Likewise.
37756 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
37757 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
37758 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
37759 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
37760 * sysdeps/sh/dl-machine.h: Likewise.
37761 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
37762 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
37763 * sysdeps/unix/i386/sysdep.S: Likewise.
37764 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
37765 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
37766 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
37767 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
37768 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
37769 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
37770 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
37771 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
37772 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37773 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
37774 * sysdeps/unix/x86_64/sysdep.S: Likewise.
37775 * sysdeps/x86_64/dl-machine.h: Likewise.
37776 * tls.make.c: Likewise.
37777
3ce1f295
UD
37778 * configure.in: Remove --with-__thread option. Make tests for
37779 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
37780 tls_model attribute fail if no support is available. Remove
37781 USE_IN_LIBIO.
37782 * Makeconfig: Adjust for dropped configure option. All features are
37783 now mandatory.
37784 * Makerules: Likewise.
37785 * Versions.def: Likewise.
37786 * argp/argp-fmtstream.c: Likewise.
37787 * argp/argp-fmtstream.h: Likewise.
37788 * argp/argp-help.c: Likewise.
37789 * assert/assert.c: Likewise.
37790 * config.h.in: Likewise.
37791 * config.make.in: Likewise.
37792 * configure: Likewise.
37793 * configure.in: Likewise.
37794 * csu/Versions: Likewise.
37795 * csu/init.c: Likewise.
37796 * elf/tst-audit2.c: Likewise.
37797 * elf/tst-tls10.c: Likewise.
37798 * elf/tst-tls10.h: Likewise.
37799 * elf/tst-tls11.c: Likewise.
37800 * elf/tst-tls12.c: Likewise.
37801 * elf/tst-tls14.c: Likewise.
37802 * elf/tst-tlsmod11.c: Likewise.
37803 * elf/tst-tlsmod12.c: Likewise.
37804 * elf/tst-tlsmod13.c: Likewise.
37805 * elf/tst-tlsmod13a.c: Likewise.
37806 * elf/tst-tlsmod14a.c: Likewise.
37807 * elf/tst-tlsmod15b.c: Likewise.
37808 * elf/tst-tlsmod16a.c: Likewise.
37809 * elf/tst-tlsmod16b.c: Likewise.
37810 * elf/tst-tlsmod7.c: Likewise.
37811 * elf/tst-tlsmod8.c: Likewise.
37812 * elf/tst-tlsmod9.c: Likewise.
37813 * gmon/gmon.c: Likewise.
37814 * grp/fgetgrent_r.c: Likewise.
37815 * grp/putgrent.c: Likewise.
37816 * hurd/fopenport.c: Likewise.
37817 * include/libc-symbols.h: Likewise.
37818 * include/tls.h: Likewise.
37819 * intl/gettextP.h: Likewise.
37820 * intl/loadinfo.h: Likewise.
37821 * locale/global-locale.c: Likewise.
37822 * locale/localeinfo.h: Likewise.
37823 * mach/devstream.c: Likewise.
37824 * malloc/arena.c: Likewise.
37825 * malloc/set-freeres.c: Likewise.
37826 * misc/err.c: Likewise.
37827 * misc/getttyent.c: Likewise.
37828 * misc/mntent_r.c: Likewise.
37829 * posix/getopt.c: Likewise.
37830 * posix/wordexp.c: Likewise.
37831 * pwd/fgetpwent_r.c: Likewise.
37832 * resolv/Versions: Likewise.
37833 * resolv/res_hconf.c: Likewise.
37834 * shadow/fgetspent_r.c: Likewise.
37835 * shadow/putspent.c: Likewise.
37836 * stdio-common/printf_fphex.c: Likewise.
37837 * stdio-common/tmpfile.c: Likewise.
37838 * stdlib/abort.c: Likewise.
37839 * stdlib/fmtmsg.c: Likewise.
37840 * sunrpc/auth_unix.c: Likewise.
37841 * sunrpc/clnt_perr.c: Likewise.
37842 * sunrpc/clnt_tcp.c: Likewise.
37843 * sunrpc/clnt_udp.c: Likewise.
37844 * sunrpc/clnt_unix.c: Likewise.
37845 * sunrpc/openchild.c: Likewise.
37846 * sunrpc/svc_simple.c: Likewise.
37847 * sunrpc/svc_tcp.c: Likewise.
37848 * sunrpc/svc_udp.c: Likewise.
37849 * sunrpc/svc_unix.c: Likewise.
37850 * sunrpc/xdr.c: Likewise.
37851 * sunrpc/xdr_array.c: Likewise.
37852 * sunrpc/xdr_rec.c: Likewise.
37853 * sunrpc/xdr_ref.c: Likewise.
37854 * sunrpc/xdr_stdio.c: Likewise.
37855
1248c1c4
PB
378562011-09-09 Ulrich Drepper <drepper@gmail.com>
37857
37858 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
37859
378602011-07-03 Andreas Jaeger <aj@suse.de>
37861
37862 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
37863 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
37864 regenerate with gen-libm-tests.pl.
37865
378662010-05-12 Petr Baudis <pasky@suse.cz>
37867
37868 [BZ #11589]
37869 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
37870 around j0() zero points by switching to j1().
37871 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
37872 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
37873 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
37874 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
37875
f22e1074
UD
378762011-09-09 Ulrich Drepper <drepper@gmail.com>
37877
f19009c1
UD
37878 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
37879 instead of 0.
37880 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 37881 instead of 0.
f19009c1
UD
37882 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
37883 Patch in part by Pavel Roskin <proski@gnu.org>.
37884
3f8cc204
UD
37885 [BZ #13138]
37886 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
37887 realloc.
37888 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
37889 Free memory block if necessary.
37890
f22e1074
UD
37891 [BZ #12847]
37892 * libio/genops.c (INTDEF): For string streams the _lock pointer can
37893 be NULL. Don't lock in this case.
37894
0a2349f9
RM
378952011-09-09 Roland McGrath <roland@hack.frob.com>
37896
37897 * elf/elf.h (ELFOSABI_GNU): New macro.
37898 (ELFOSABI_LINUX): Define to that.
37899
f3cdd467
DZ
379002011-07-29 Denis Zaitceff <zaitceff@gmail.com>
37901
37902 * string/strncat.c (strncat): Undef the symbol in case it has been
37903 defined in bits/string.h.
37904
74718d13
UD
379052011-09-09 Ulrich Drepper <drepper@gmail.com>
37906
633e9e0f
UD
37907 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
37908
0a2349f9 37909 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
37910 link map.
37911
f9924780
AJ
379122011-08-17 Andreas Jaeger <aj@suse.de>
37913
37914 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
37915
7f5517aa
PP
379162011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
37917 Ian Lance Taylor <iant@google.com>
37918
37919 * math/libm-test.inc (lround_test): New testcase.
37920 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
37921
762011fe
UD
379222011-09-08 Ulrich Drepper <drepper@gmail.com>
37923
92963737
UD
37924 * Makefile: Remove support for automatic cvs check-ins.
37925 * Makerules: Likewise.
37926 * config.make.in: Likewise.
37927 * configure.in: Likewise.
37928 * intl/Makefile: Likewise.
37929 * locale/Makefile: Likewise.
37930 * po/Makefile: Likewise.
37931 * posix/Makefile: Likewise.
37932 * sysdeps/gnu/Makefile: Likewise.
37933 * sysdeps/mach/hurd/Makefile: Likewise.
37934 * sysdeps/sparc/sparc32/Makefile: Likewise.
37935
b0727fd8
JS
37936 [BZ #13118]
37937 * posix/Makefile (bug-regex32-ENV): Define.
37938 Patch by John Stanley <jpsinthemix@verizon.net>.
37939
a0f33f99
UD
37940 * misc/Makefile (headers): Add bits/select2.h.
37941 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
37942 * misc/bits/select2.h: New file.
37943 * include/bits/select2.h: New file.
37944 * debug/Makefile (routines): Add fdelt_chk.
37945 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
37946 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
37947 FD_ISSET.
37948 * debug/fdelt_chk.c: New file.
37949
762011fe
UD
37950 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
37951 * wcsmbs/test-wmemcmp.c: Likewise.
37952 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 37953 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
37954
379552011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37956
37957 * string/Makefile (strop-tests): Add memcmp.
37958 * string/test-wmemcmp.c: New file.
37959 * string/test-memcmp.c: Add wmemcmp support.
37960
7f513ec8
RM
379612011-09-08 Roland McGrath <roland@hack.frob.com>
37962
0442afb4
RM
37963 [BZ #13153]
37964 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
37965 2011-07-19 change.
37966
7f513ec8
RM
37967 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
37968 garbage value in a __mach_port_mod_refs call in the cases of the
37969 task-self and thread-self ports.
37970
a12b2239
ST
379712011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
37972
37973 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
37974
610f9ab4
AS
379752011-09-08 Andreas Schwab <schwab@redhat.com>
37976
7f513ec8 37977 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 37978
48882a1a
LD
379792011-09-07 Ulrich Drepper <drepper@gmail.com>
37980
b49865be
UD
37981 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
37982
fdc86bc9
UD
37983 * elf/dl-libc.c (dlerror_run): Pass back error code from
37984 dl_catch_error.
37985
c966526a
UD
37986 [BZ #13123]
37987 * elf/dl-load.c (lose): Free l_origin if it is valid.
37988
48882a1a
LD
37989 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
37990 names.
37991 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
37992 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
37993 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
37994 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
37995 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
37996 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
37997
77a2a8b4
AZ
379982011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37999
38000 * sysdeps/powerpc/fpu/e_hypot.c: New file.
38001 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
38002 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
38003 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
38004 * sysdeps/powerpc/fpu/k_cosf.c: New file.
38005 * sysdeps/powerpc/fpu/k_sinf.c: New file.
38006 * sysdeps/powerpc/fpu/s_cosf.c: New file.
38007 * sysdeps/powerpc/fpu/s_sinf.c: New file.
38008 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
38009 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
38010
24f579d8
AM
380112011-08-15 Alan Modra <amodra@gmail.com>
38012
38013 [BZ #13092]
38014 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
38015 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
38016 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
38017 ppc_mcount to static-only-routines.
38018 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
38019 __mcount_internal.
38020 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
38021 __mcount_internal with usual JUMPTARGET. Remove useless nop.
38022
3d4837df
UD
380232011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
38024
38025 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
38026 for finite and infinity parameters.
38027
22700377
WS
380282011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
38029
38030 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
38031 and add nop instructions for throughput optimization.
38032 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
38033
5025581e
WS
380342011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
38035
38036 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
38037 aligned copy for power7 with vector-scalar instructions.
38038 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
38039
08a300c9
L
380402011-07-24 H.J. Lu <hongjiu.lu@intel.com>
38041
38042 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
38043 AVX check.
38044
59178ef9
AS
380452011-09-07 Andreas Schwab <schwab@redhat.com>
38046
38047 [BZ #13144]
38048 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
38049 last change.
38050
e38ba7ab
UD
380512011-09-07 Ulrich Drepper <drepper@gmail.com>
38052
38053 * sysdeps/unix/sysv/linux/x86_64/init-first.c
38054 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
38055 syscall wrapper around clock_gettime in __vdso_clock_gettime.
38056 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
38057 clock_gettime.
38058
d53a73ac
UD
380592011-09-06 Ulrich Drepper <drepper@gmail.com>
38060
fc8bffcc
UD
38061 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
38062 Forgot to demangle the pointer.
38063
ceaa0c5d
UD
38064 * sysdeps/i386/sysdep.h: Define atom_text_section.
38065 * sysdeps/x86_64/sysdep.h: Likewise.
38066 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
38067 section with atom_text_section.
38068 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
38069 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
38070 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
38071 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
38072 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
38073
a77d3c17
UD
38074 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
38075 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
38076 already be defined. Change to take two parameters and don't assign
38077 result to variable. Adjust all users.
38078 Define INTERNAL_GETTIME if not already defined.
38079 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
38080 call.
38081 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
38082 HAVE_CLOCK_GETTIME_VSYSCALL.
38083 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
38084
d53a73ac
UD
38085 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
38086 gettimeofday vsyscall, just use time.
38087
a8f84144
AS
380882011-09-06 Andreas Schwab <schwab@redhat.com>
38089
38090 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
38091 <errno.h>.
38092
ef606249
UD
380932011-09-06 Ulrich Drepper <drepper@gmail.com>
38094
38095 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
38096 syscall on x86-64.
38097 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
38098 syscall.
38099 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
38100 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
38101 syscall if possible.
38102
6585cb60
UD
381032011-09-05 Ulrich Drepper <drepper@gmail.com>
38104
38105 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
38106 e_ident. Don't pass to find_mapsXX.
38107 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
38108
a5f524e4
LD
381092011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
38110
38111 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38112 strchr-sse2-no-bsf strrchr-sse2-no-bsf
38113 * sysdeps/x86_64/multiarch/strchr.S: Update.
38114 Check bit_slow_BSF bit.
38115 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
38116 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
38117 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
38118
554881ef
UD
381192011-09-05 Ulrich Drepper <drepper@gmail.com>
38120
d96de963
UD
38121 [BZ #13134]
38122 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
38123 before glibc 2.15.
38124 (tryshell): Define.
38125 (__spawni): Change last parameter to be flag. Test
38126 SPAWN_XFLAGS_USE_PATH flag to use path or not.
38127 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
38128 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
38129 * posix/spawni.c: Likewise.
38130 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
38131 * posix/spawnp.c: Likewise. Change normal version to use
38132 SPAWN_XFLAGS_USE_PATH.
38133 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
38134 SPAWN_XFLAGS_TRY_SHELL.
38135
d48e5868
UD
38136 [BZ #13150]
38137 * posix/glob.h: Remove gcc 1.x support.
38138
554881ef
UD
38139 [BZ #13068]
38140 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
38141
693fb948
LD
381422011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
38143
38144 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38145 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
38146 strrchr-sse2-bsf
38147 * sysdeps/i386/i686/multiarch/strchr.S: New file.
38148 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
38149 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
38150 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
38151 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
38152 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
38153
1b48c537
UD
381542011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38155
49d42c37
UD
38156 * sysdeps/x86_64/wcscmp.S: New file.
38157
1b48c537
UD
38158 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
38159 wcscmp-c wcscmp-sse2
38160 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
38161 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
38162 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
38163 * wcsmbs/wcscmp.c: Allow renaming.
38164
15c95c5d
DM
381652011-09-05 David S. Miller <davem@davemloft.net>
38166
38167 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
38168 stack slot, rather than the struct return pointer slot.
38169 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
38170 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
38171 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
38172 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
38173
2f0ad8f3
UD
381742011-09-05 Ulrich Drepper <drepper@gmail.com>
38175
d88ae418
UD
38176 * po/ja.po: Update from translation team.
38177
2f0ad8f3
UD
38178 [BZ #13144]
38179 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
38180 kernel in 64-bit binaries.
38181
5f4318d1
DM
381822011-09-01 David S. Miller <davem@davemloft.net>
38183
38184 * elf/elf.h (HWCAP_SPARC_*): Move to..
38185 * sysdeps/sparc/sysdep.h: this new file and add new values.
38186 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
38187 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
38188 _DL_HWCAP_COUNT to 24.
38189 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
38190 entries.
38191 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
38192 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
38193 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
38194 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
38195 instead of magic constants.
38196 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
38197
3ba57516
DM
381982011-08-31 David S. Miller <davem@davemloft.net>
38199
38200 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
38201 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
38202 Reimplement to do errno handling inline.
38203 (SYSCALL_ERROR_HANDLER): New macro.
38204 (__SYSCALL_STRING): Do not do errno handling in asm.
38205 (__CLONE_SYSCALL_STRING): Delete.
38206 (__INTERNAL_SYSCALL_STRING): Delete.
38207 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
38208 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
38209 (PSEUDO): Reimplement to do errno handling inline.
38210 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
38211 (SYSCALL_ERROR_HANDLER): New macro.
38212 (__SYSCALL_STRING): Do not do errno handling in asm.
38213 (__CLONE_SYSCALL_STRING): Delete.
38214 (__INTERNAL_SYSCALL_STRING): Delete.
38215 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
38216 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
38217 i386.
38218 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
38219 (inline_syscall*): Add 'err' argument.
38220 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
38221 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
38222 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
38223 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
38224
38225 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
38226 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
38227
2bc17433
AS
382282011-08-30 Andreas Schwab <schwab@redhat.com>
38229
38230 * elf/rtld.c (dl_main): Relocate objects in dependency order.
38231
fbeb5f4d
JO
382322011-08-29 Jiri Olsa <jolsa@redhat.com>
38233
38234 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
38235 directive.
38236
ad69cc26
DM
382372011-08-24 David S. Miller <davem@davemloft.net>
38238
38239 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
38240
39dd69df
AS
382412011-08-24 Andreas Schwab <schwab@redhat.com>
38242
38243 * elf/Makefile: Add rules to build and run unload8 test.
38244 * elf/unload8.c: New file.
38245 * elf/unload8mod1.c: New file.
38246 * elf/unload8mod1x.c: New file.
38247 * elf/unload8mod2.c: New file.
38248 * elf/unload8mod3.c: New file.
38249
38250 * elf/dl-close.c (_dl_close_worker): Reset private search list if
38251 it wasn't used.
38252
2c0b250a
DM
382532011-08-23 David S. Miller <davem@davemloft.net>
38254
38255 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
38256 subtract stack bias.
38257 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
38258 %sp not %fp in calculations.
38259 (_JMPBUF_UNWINDS_ADJ): Likewise.
38260
22044b48
DM
38261 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
38262 (aio_suspend): Call it to force an exception region around the
38263 AIO_MISC_WAIT() invocation.
38264
2cae4995
AS
382652011-08-23 Andreas Schwab <schwab@redhat.com>
38266
38267 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
38268 backslash.
38269
873a772e
AJ
382702011-07-04 Aurelien Jarno <aurelien@aurel32.net>
38271
38272 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
38273 protection macro.
38274 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
38275 and <dl-machine.h>.
38276 (Elf64_FuncDesc): Remove.
38277
25ad0df1
DM
382782011-08-22 David S. Miller <davem@davemloft.net>
38279
38280 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
38281 sigaltstack check, add missing cfi directives.
38282 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
38283 missing cfi directives, and sigaltstack handling.
38284
e888bcbe
AS
382852011-08-16 Andreas Schwab <schwab@redhat.com>
38286
38287 [BZ #11724]
38288 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
38289 object is seen twice.
38290 * elf/dl-fini.c (_dl_sort_fini): Likewise.
38291
38292 * elf/Makefile (distribute): Add tst-initorder2.c.
38293 (tests): Add tst-initorder2.
38294 (modules-names): Add tst-initorder2a tst-initorder2b
38295 tst-initorder2c tst-initorder2d. Add rules to build them.
38296 ($(objpfx)tst-initorder2.out): New rule.
38297 * elf/tst-initorder2.c: New file.
38298 * elf/tst-initorder2.exp: New file.
38299
87162f46
AS
383002011-08-22 Andreas Schwab <schwab@redhat.com>
38301
70538b7f
AS
38302 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
38303
f55ffe58
AS
38304 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
38305 dependencies back to end of function.
38306
87162f46
AS
38307 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
38308 $(elfobjdir)/ld.so.
38309
91b392a4
UD
383102011-08-21 Ulrich Drepper <drepper@gmail.com>
38311
38312 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
38313 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
38314 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
38315 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
38316 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
38317 of __vdso_gettimeofday.
38318 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
38319 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
38320 attribute_hidden.
38321 (_libc_vdso_platform_setup): Remove initialization of
38322 __vdso_gettimeofday and __vdso_time.
38323
5c43483f
UD
383242011-08-20 Ulrich Drepper <drepper@gmail.com>
38325
775a77e7
UD
38326 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
38327 and fgetc_unlocked.
38328 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
38329 getc_unlocked.
89f447ed 38330
49c74ba9
UD
38331 * elf/dl-open.c (add_to_global): Report additions to the global scope
38332 for LD_DEBUG=scopes.
38333 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 38334 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 38335
5c43483f
UD
38336 [BZ #13114]
38337 * stdio-common/Makefile (tests): Add bug24.
38338 * stdio-common/bug24.c: New file.
38339
a101b025
AJ
383402011-08-19 Andreas Jaeger <aj@suse.de>
38341
38342 [BZ #13114]
38343 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
38344 non-existant file when using close-on-exec mode.
38345
c88f1766
UD
383462011-08-20 Ulrich Drepper <drepper@gmail.com>
38347
0276a718
UD
38348 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
38349 the very first instruction.
38350
c88f1766
UD
38351 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
38352 the CFI state in the end.
38353 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
38354 inclusion of dl-trampoline.h.
38355 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
38356
51ccffa0
AS
383572011-08-19 Andreas Schwab <schwab@redhat.com>
38358
94d7165f
AS
38359 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
38360 expectations for long double.
38361
51ccffa0
AS
38362 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
38363 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
38364
fd708658 383652011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
38366
38367 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
38368 artificual limit depends upon the system page size.
38369
44f0a71e
UD
383702011-08-17 Ulrich Drepper <drepper@gmail.com>
38371
38372 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
38373 * resolv/Makefile: Define CFLAGS-libresolv.
38374
8de79a24
AS
383752011-08-17 Andreas Schwab <schwab@redhat.com>
38376
38377 * nss/makedb.c (compute_tables): Make variables used in nested
38378 function static.
38379
27724598
UD
383802011-08-17 Ulrich Drepper <drepper@gmail.com>
38381
c5305d88
UD
38382 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
38383 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
38384 if buffer was too small.
38385
27724598
UD
38386 * elf/pldd.c (main): Attach to all threads in the process.
38387 Rewrite /proc handling to use *at functions.
38388
076fe015
UD
383892011-08-16 Ulrich Drepper <drepper@gmail.com>
38390
174baab3
UD
38391 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
38392 specifies first scope to show.
38393 (dl_open_worker): Update callers. Move printing scope of new
38394 object to before the relocation.
44f0a71e 38395 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
38396 * sysdeps/generic/ldsodefs.h: Update declaration.
38397
076fe015
UD
38398 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
38399 string for the scope number.
38400
a60df2c3
UD
384012011-08-14 Ulrich Drepper <drepper@gmail.com>
38402
38403 * nscd/servicescache.c (cache_addserv): Make sure written is always
38404 initialized.
38405
5e4287d1
RM
384062011-08-14 Roland McGrath <roland@hack.frob.com>
38407
85ae0589
RM
38408 * sysdeps/i386/i486/bits/atomic.h
38409 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
38410 statement expression, so as to suppress "set but not used" warning.
38411 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
38412
69f63097
RM
38413 * string/strncat.c (STRNCAT): Use prototype definition.
38414
675456ef
RM
38415 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
38416 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
38417 -Iprograms here.
38418 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
38419 (localedef-modules): Add localedef.
38420 (locale-modules): Add locale.
38421
5e4287d1
RM
38422 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
38423 * elf/rtld.c (dl_main): Invert order of assignment in last change,
38424 to avoid a warning.
38425
9c96ff23
DM
384262011-08-14 David S. Miller <davem@davemloft.net>
38427
38428 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
38429 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
38430
f9ddf089
UD
384312011-08-13 Ulrich Drepper <drepper@gmail.com>
38432
44f0a71e 38433 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
38434 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
38435 * elf/rtld.c (dl_main): Set l_name of vDSO.
38436 Call _dl_show_scope when DL_DEBUG_SCOPES.
38437 (process_dl_debug): Recognize scopes flag and also set it for all.
38438 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
38439 Declare _dl_show_scope.
38440
1dc27704
UD
38441 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
38442 (do_dlopen): Pass caller_dlopen to dl_open.
38443 (__libc_dlopen_mode): Initialize caller_dlopen.
38444
f9ddf089
UD
38445 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
38446 of libc. Make tolower call locale-independent. Optimize a bit by
38447 using isdigit instead of isalnum.
38448 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
38449
9ac533d3
UD
384502011-08-12 Ulrich Drepper <drepper@gmail.com>
38451
38452 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
38453 was a dependency or dynamically loaded.
38454
89edf2e9
UD
384552011-08-11 Ulrich Drepper <drepper@gmail.com>
38456
8e999d29
UD
38457 * intl/l10nflist.c: Allow architecture-specific pop function.
38458 * sysdeps/x86_64/l10nflist.c: New file.
38459
89edf2e9
UD
38460 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
38461 classification.
38462
14d96785
AS
384632011-08-10 Andreas Schwab <schwab@redhat.com>
38464
38465 * include/dirent.h: Add libc_hidden_proto for scandirat and
38466 scandirat64. Don't declare __scandirat64.
38467 * dirent/scandirat.c: Add libc_hidden_def.
38468 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
38469 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
38470
6761ac04
DM
384712011-08-10 David S. Miller <davem@davemloft.net>
38472
38473 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
38474 enum.
38475 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
38476 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
38477 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
38478
c55fbd1e
UD
384792011-08-09 Ulrich Drepper <drepper@gmail.com>
38480
38481 * Versions.def [libc]: Add GLIBC_2.15.
38482 * dirent/Makefile (routines): Add scandirat and scandirat64.
38483 * dirent/Versions [libc]: Export scandirat and scandirat64 for
38484 GLIBC_2.15.
38485 * dirent/dirent.h: Declare scandirat and scandirat64.
38486 * dirent/scandirat.c: New file.
38487 * dirent/scandirat64.c: New file.
38488 * sysdeps/wordsize-64/scandirat.c: New file.
38489 * sysdeps/wordsize-64/scandirat64.c: New file.
38490 * dirent/opendir.c: Define opendirat.
38491 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
38492 using scandirat.
38493 * dirent/scandir64.c: Adjust for scandir.c change.
38494 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
38495 __scandirat64, and __scandir_cancel_handler.
38496 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
38497 additional parameter and use openat instead of open (outside of ld.so).
38498 Add new __opendir as wrapper around __opendirat.
38499 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
38500 here without requiring old scandirat implementation.
38501
879165f2
UD
385022011-08-08 Ulrich Drepper <drepper@gmail.com>
38503
38504 * dirent/scandir.c (cancel_handler): Renamed to
38505 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
38506 defined. Adjust users.
38507 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
38508 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
38509
cb7e923b
UD
385102011-08-04 Ulrich Drepper <drepper@gmail.com>
38511
16292edd
UD
38512 * string/test-string.h (IMPL): Use __STRING to expand name and then
38513 stringify it.
38514
cb7e923b
UD
38515 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
38516 of cleanups.
38517
cff82933
LD
385182011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38519
38520 * string/Makefile: Update.
38521 (strop-tests): Append strncat.
38522 * string/test-wcscmp.c: New file.
38523 New comprehensive test for wcscmp.
38524 * string/test-strcmp.c: Update.
38525 (WIDE): New define.
38526
9be9bfcc
AS
385272011-07-22 Andreas Schwab <schwab@redhat.com>
38528
38529 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
38530 line.
38531
2e96f1c7
AS
385322011-07-26 Andreas Schwab <schwab@redhat.com>
38533
38534 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
38535 encoding to ACE if AI_IDN.
38536
85188888
JJ
385372011-08-01 Jakub Jelinek <jakub@redhat.com>
38538
38539 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
38540 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
38541
5fa16e9b
LD
385422011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
38543
38544 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
38545 Fix overflow bug in strncat.
38546 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
38547
38548 * string/test-strncat.c: Update.
38549 Add new tests for checking overflow bugs.
38550
385512011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
38552
38553 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38554 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
38555 * sysdeps/i386/i686/multiarch/strcat.S: New file.
38556 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
38557 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
38558 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
38559 * sysdeps/i386/i686/multiarch/strncat.S: New file.
38560 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
38561 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
38562
38563 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
38564 (USE_AS_STRCAT): Define.
38565 Add strcat and strncat support.
38566 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
38567
8c1a459f
AS
385682011-07-25 Andreas Schwab <schwab@redhat.com>
38569
38570 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
38571 __n bigger than INT_MAX+1.
38572 (__strncmp_g): Likewise.
38573
bba33c28
UD
385742011-07-23 Ulrich Drepper <drepper@gmail.com>
38575
798be72d
UD
38576 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
38577 * libio/stido.h: Likewise.
38578
8accd4dc
UD
38579 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
38580 (AF_NFC): Define.
38581 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
38582 (AF_NFC): Define.
38583
cbff0d96
UD
38584 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
38585 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
38586 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
38587 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
38588 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
38589
9191c04a
UD
38590 [BZ #13021]
38591 * scripts/test-installation.pl: Don't expect libnss_test1 to be
38592 installed.
38593
bba33c28
UD
38594 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
38595 typo.
38596 (_dl_x86_64_save_sse): Likewise.
38597
90f139dd
UD
385982011-07-22 Ulrich Drepper <drepper@gmail.com>
38599
1aae088a
UD
38600 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
38601 OSXSAVE.
38602 (_dl_x86_64_save_sse): Likewise.
38603
8e2045f5
UD
38604 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
38605
90f139dd
UD
38606 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
38607
1d002f25
AS
386082011-07-21 Andreas Schwab <schwab@redhat.com>
38609
38610 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
38611 change.
38612 (_dl_x86_64_save_sse): Use correct AVX check.
38613
21137f89
UD
386142011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38615
38616 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
38617 bug in strncpy/strncat.
38618 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
38619
a65c0b7a
UD
386202011-07-21 Ulrich Drepper <drepper@gmail.com>
38621
38622 * string/tester.c (test_strcat): Add tests for different alignments
38623 of source and destination.
38624 (test_strncat): Likewise.
38625
6986b98a
UD
386262011-07-20 Ulrich Drepper <drepper@gmail.com>
38627
90bb2039
UD
38628 [BZ #12852]
38629 * posix/glob.c (glob): Check passed in values before using them in
38630 expressions to avoid some overflows.
38631 (glob_in_dir): Likewise.
38632
5644ef54
UD
38633 [BZ #13007]
38634 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
38635 check for AVX enablement so that we don't crash with old kernels and
38636 new hardware.
38637 * elf/tst-audit4.c: Add same checks here.
38638 * elf/tst-audit6.c: Likewise.
38639
38640 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 38641
bfc9dc9b
AS
386422011-07-09 Andreas Schwab <schwab@linux-m68k.org>
38643
38644 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
38645
702e64bb
UD
386462011-07-20 Ulrich Drepper <drepper@gmail.com>
38647
38648 * po/cs.po: Update from translation team.
38649 * po/bg.po: Likewise.
38650
295e904f
MP
386512011-07-12 Marek Polacek <mpolacek@redhat.com>
38652
38653 * misc/sys/cdefs.h: Add support for const attribute.
38654 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
38655 to gnu_dev_{major,minor,makedev} functions.
38656
3ff94596
MP
386572011-07-20 Marek Polacek <mpolacek@redhat.com>
38658
38659 * intl/dcigettext.c (get_output_charset): Add missing bracket.
38660
28b59fca
AS
386612011-07-20 Andreas Schwab <schwab@redhat.com>
38662
38663 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
38664 strlen results.
38665
19df733e
AK
386662011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38667
38668 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
38669 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
38670 register in order to avoid conflicts with the soft frame pointer
38671 being held in r11 when necessary.
38672 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
38673 (INTERNAL_VSYSCALL_NCS): Likewise.
38674
c8835729
MP
386752011-07-14 Marek Polacek <mpolacek@redhat.com>
38676
38677 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
38678 * elf/dl-fini.c (_dl_fini): Adjust caller.
38679 * elf/dl-close.c (_dl_close_worker): Likewise.
38680 * sysdeps/generic/ldsodefs.h: Adjust declaration.
38681
b902330c
MP
386822011-07-15 Marek Polacek <mpolacek@redhat.com>
38683
8991e135
MP
38684 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
38685 "aux_cache->nlibs < 0".
38686
b902330c
MP
38687 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
38688 in the reload-count case.
38689
99710781
LD
386902011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
38691
38692 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38693 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
38694 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
38695 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
38696 * sysdeps/x86_64/multiarch/strcat.S: New file.
38697 * sysdeps/x86_64/multiarch/strncat.S: New file.
38698 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
38699 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
38700 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
38701 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
38702 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
38703 (USE_AS_STRCAT): Define.
38704 Add strcat and strncat support.
38705 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
38706 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
38707 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
38708 * string/strncat.c: Update.
38709 (USE_AS_STRNCAT): Define.
38710 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38711 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
38712 and i7.
38713 * sysdeps/x86_64/multiarch/init-arch.h
38714 (bit_Prefer_PMINUB_for_stringop): New.
38715 (index_Prefer_PMINUB_for_stringop): Likewise.
38716 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
38717 bit_Prefer_PMINUB_for_stringop.
38718
7dc6bd90
UD
387192011-07-19 Ulrich Drepper <drepper@gmail.com>
38720
38721 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
38722 buffer64.
38723 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
38724 of casting of buffer.
38725 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
38726 buffer32 and buffer64.
38727 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
38728 writes instead of casting of buffer.
38729 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
38730 buffer32.
38731 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
38732 casting of buffer.
38733
e0e72284
AS
387342011-07-19 Andreas Schwab <schwab@redhat.com>
38735
38736 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
38737
feb1eb0b
UD
387382011-07-19 Ulrich Drepper <drepper@gmail.com>
38739
38740 * nscd/nscd.c (termination_handler): Don't do anything for a database
38741 if it has not yet been initialized.
38742
298711ff
UD
387432011-07-18 Ulrich Drepper <drepper@gmail.com>
38744
38745 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
38746
387472011-07-15 Marek Polacek <mpolacek@redhat.com>
38748
38749 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
38750
f9d68389
UD
387512011-07-18 Ulrich Drepper <drepper@gmail.com>
38752
38753 * po/nl.po: Update from translation team.
38754 * po/sv.po: Likewise.
38755
db290cf5
RM
387562011-07-16 Roland McGrath <roland@hack.frob.com>
38757
38758 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
38759 now disallowed by GCC.
5c550700 38760
fd5e21c7
RM
38761 * configure.in (use-default-link): Default to yes if a test -shared
38762 link meets our qualifications.
38763 * configure: Regenerated.
38764
5c550700
RM
38765 * config.make.in (output-format): New variable.
38766 * configure.in: Check for ld --print-output-format support.
38767 * configure: Regenerated.
38768 * Makerules ($(common-objpfx)format.lds)
38769 [$(output-format) != unknown]: Just use $(output-format),
38770 instead of the linker-script munging.
38771
9fa2c032
RM
387722011-07-14 Roland McGrath <roland@hack.frob.com>
38773
a6928d51
RM
38774 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
38775 of $(common-objpfx)shlib.lds.
38776 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
38777
661607b3
RM
38778 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
38779 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
38780
9fa2c032
RM
38781 * configure.in (-z relro check): Adjust test code to add a large
38782 writable data section after it.
38783 * configure: Regenerated.
38784
defe9061
RM
387852011-07-11 Roland McGrath <roland@hack.frob.com>
38786
38787 * configure.in (-z relro check): Fix test code to make the variable
38788 truly const.
38789 * configure: Regenerated.
38790
319b9ad4
UD
387912011-07-11 Ulrich Drepper <drepper@gmail.com>
38792
38793 * nscd/nscd.h (struct traced_file): Define.
38794 (struct database_dyn): Remove inotify_descr, reset_res, and filename
38795 elements. Add traced_files.
38796 (inotify_fd): Declare.
38797 (register_traced_file): Declare.
38798 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
38799 (inotify_fd): Export.
38800 (resolv_conf_descr): Remove.
38801 (nscd_init): Move inotify descriptor creation to main.
38802 Don't register files for notification here.
38803 (register_traced_file): New function.
38804 (invalidate_cache): Don't use reset_res to determine whether to call
38805 res_init, go through the list of registered files.
38806 (main_loop_poll): The inotify descriptors are now stored in the
38807 structures for the traced files.
38808 (main_loop_epoll): Likewise
38809 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
38810 to __nss_disable_nscd.
38811 * nscd/cache.c (prune_cache): There is no single inotify descriptor
38812 for a database anymore. Check the records for all the registered
38813 files instead.
38814 * nss/Makefile (libnss_files-routines): Add files-init.
38815 (libnss_db-routines): Add db-init.
38816 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
38817 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
38818 * nss/nss_db/db-init.c: New file.
38819 * nss/nss_files/files-init.c: New file.
38820 * nss/nsswitch.c (nss_load_library): New function. Broken out of
38821 __nss_lookup_function.
38822 (__nss_lookup_function): Call nss_load_library.
38823 (nss_load_all_libraries): New function.
38824 (__nss_disable_nscd): Take parameter with callback function for files
38825 to register. Set is_nscd. Load all the DSOs for the NSS modules
38826 used for the cached services.
38827 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
38828 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
38829 options for features to all the files in nscd.
38830
38831 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
38832
23bee3e8
RM
388332011-07-10 Roland McGrath <roland@hack.frob.com>
38834
38835 * csu/elf-init.c (__libc_csu_init): Comment typo.
38836
46a5b7f0
UD
388372011-07-09 Ulrich Drepper <drepper@gmail.com>
38838
38839 * po/pl.po: Update from translation team.
38840 * po/ja.po: Likewise.
38841 * po/ru.po: Likewise.
38842 * po/ko.po: Likewise.
38843 * po/fr.po: Likewise.
38844
d30cf5bb
RM
388452011-07-09 Roland McGrath <roland@hack.frob.com>
38846
113ddea4
RM
38847 * configure.in (.ctors/.dtors header and trailer check):
38848 Use an empirical test on a built program.
38849 * configure: Regenerated.
38850
574920b4
RM
38851 * configure.in (-z relro check): Use an empirical test on a built DSO.
38852 Detect, but do not require, on ia64.
38853 * configure: Regenerated.
38854
d30cf5bb
RM
38855 * configure.in (READELF): Find it with AC_CHECK_TOOL.
38856 Update tests that use readelf to use $READELF instead.
38857 * configure: Regenerated.
38858
8538fdb3
UD
388592011-07-08 Ulrich Drepper <drepper@gmail.com>
38860
38861 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
38862 if the result is not used.
38863
04d08991
AJ
388642011-07-05 Andreas Jaeger <aj@suse.de>
38865
38866 [BZ#9696]
38867 * stdlib/tst-strtod.c: Add testcase.
38868
de283087
AD
388692011-07-07 Ulrich Drepper <drepper@gmail.com>
38870
4e5f31c8 38871 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 38872 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
38873 The latter has a higher limit. Take additional parameter to pass to
38874 the new function.
38875 (__pathconf): Pass file to __statfs_link_max.
38876 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
38877 __statfs_link_max.
38878 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
38879 __statfs_link_max.
38880
de283087
AD
38881 [BZ #12868]
38882 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
38883 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
38884 Handle Lustre.
38885 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
38886 (__statfs_filesize_max): Likewise.
38887 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
38888
c75fa153
AJ
388892011-07-05 Andreas Jaeger <aj@suse.de>
38890
38891 * resolv/res_comp.c (dn_skipname): Remove unused variable.
38892
1a544854
UD
388932011-07-06 Marek Polacek <mpolacek@redhat.com>
38894
38895 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
38896 `status' variable.
38897 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
38898 Likewise.
38899
6f0eec67
UD
389002011-07-04 H.J. Lu <hongjiu.lu@intel.com>
38901
38902 * Makefile (strop-tests): Add strncat.
38903 * string/test-strncat.c: New file.
38904
aae30307
UD
389052011-06-30 Marek Polacek <mpolacek@redhat.com>
38906
38907 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
38908
c0cfb5eb
UD
389092011-06-21 Andreas Jaeger <aj@suse.de>
38910
38911 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
38912 Copy rule from iconvdata/Makefile.
38913
01636b21
UD
389142011-07-06 Ulrich Drepper <drepper@gmail.com>
38915
38916 [BZ #12922]
38917 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
38918 but no long options are defined, just return 'W'.
38919
9895c8bc
UD
389202011-06-22 Marek Polacek <mpolacek@redhat.com>
38921
38922 [BZ #9696]
38923 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
38924
5d4cf042
UD
389252011-07-06 Ulrich Drepper <drepper@gmail.com>
38926
38927 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
38928 netgroups to read.
960e5535 38929 (innetgr): Likewise.
5d4cf042 38930
751eb97e
RM
389312011-07-05 Roland McGrath <roland@hack.frob.com>
38932
38933 * config.make.in (install_root): Default to $(DESTDIR).
38934
f15f1e45
UD
389352011-07-05 Ulrich Drepper <drepper@gmail.com>
38936
38937 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
38938
4e34ac6a
RM
389392011-07-02 Roland McGrath <roland@hack.frob.com>
38940
5e9b6af4
RM
38941 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
38942
84f9ea0f
RM
38943 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
38944 containing directory rather than embedding absolute directory names.
38945
ea5ee9f7
RM
38946 * scripts/check-local-headers.sh: Rewritten using awk.
38947 Match by word, not by line. Print error messages for matches.
38948 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
38949
1b74661a
RM
38950 * Makerules [shlib-lds-flags empty]:
38951 ($(common-objpfx)libc_pic.opts): New target.
38952 ($(common-objpfx)libc_pic.os.clean): New target.
38953 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
38954
38955 * config.make.in (OBJCOPY): New variable.
38956 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
38957 * configure: Regenerated.
38958
f781ef40
RM
38959 * config.make.in (use-default-link): New variable.
38960 * configure.in (use_default_link): Grok --with-default-link to set it.
38961 * configure: Regenerated.
38962 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
38963 (shlib-lds, shlib-lds-flags): Define to empty.
38964
2d4fa81e
RM
38965 * Makerules (shlib-lds): New variable.
38966 (shlib-lds-flags): New variable.
38967 (build-shlib, build-moduile, build-module-asneeded): Use it.
38968 ($(common-objpfx)libc.so): Use $(shlib-lds).
38969 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
38970 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
38971
31fffa6b
RM
38972 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
38973 DT_FLAGS/DT_FLAGS_1 with zero flags.
38974
4e34ac6a
RM
38975 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
38976 linker script munging.
38977
fcfc776b
UD
389782011-07-02 Ulrich Drepper <drepper@gmail.com>
38979
38980 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
38981 as 128-bit value.
38982 * crypt/sha512.c (sha512_process_block): Perform total addition using
38983 128-bit if possible.
38984 (__sha512_finish_ctx): Likewise.
38985 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
38986 as 64-bit value.
38987 * crypt/sha256.c (SWAP64): Define.
38988 (sha256_process_block): Perform total addition using 64-bit if
38989 possible.
38990 (__sha256_finish_ctx): Likewise.
38991
99231d9a
UD
389922011-07-01 Ulrich Drepper <drepper@gmail.com>
38993
38994 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
38995 * nscd/initgrcache.c (addinitgroupsX): Likewise.
38996 * nscd/hstcache.c (cache_addhst): Likewise.
38997 * nscd/grpcache.c (cache_addgr): Likewise.
38998 * nscd/aicache.c (addhstaiX): Likewise
38999 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
39000
445b4a53
TK
390012011-07-01 Thorsten Kukuk <kukuk@suse.de>
39002
39003 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
39004 * nscd/initgrcache.c (addinitgroupsX): Likewise.
39005 * nscd/hstcache.c (cache_addhst): Likewise.
39006 * nscd/grpcache.c (cache_addgr): Likewise.
39007 * nscd/aicache.c (addhstaiX): Likewise
39008
6d4d8e8e
AS
390092011-07-01 Andreas Schwab <schwab@redhat.com>
39010
39011 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
39012 domain only when needed.
39013
89f654c5
AS
390142011-06-30 Andreas Schwab <schwab@redhat.com>
39015
39016 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
39017 is always restored.
39018
cf3b23ff
UD
390192011-06-29 Ulrich Drepper <drepper@gmail.com>
39020
39021 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
39022 are re-adding the entry.
39023 * nscd/servicescache.c (cache_addserv): Likewise.
39024
751626f9
AJ
390252011-06-30 Aurelien Jarno <aurelien@aurel32.net>
39026
39027 * sysdeps/generic/dl-irel.h: fix protection against multiple
39028 inclusions.
39029 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
39030
9113ea1f
UD
390312011-06-28 Ulrich Drepper <drepper@gmail.com>
39032
5c0b8d90
UD
39033 [BZ #12935]
39034 * malloc/memusage.sh: Fix quoting in message.
39035 * debug/xtrace.sh: Likewise.
39036
9113ea1f
UD
39037 * configure.in: Remove support for --experimental-malloc option, make
39038 it the default.
39039 * config.make.in: Likewise.
39040 * malloc/Makefile: Likewise.
39041
a4172181
AS
390422011-06-27 Andreas Schwab <schwab@redhat.com>
39043
39044 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
39045 two-byte characters.
39046
78a7eee7
RM
390472011-06-27 Roland McGrath <roland@hack.frob.com>
39048
62bede13
RM
39049 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
39050 AC_CACHE_CHECK invocation.
39051 * configure: Regenerated.
39052
78a7eee7
RM
39053 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
39054
5ce33a62
UD
390552011-06-27 Ulrich Drepper <drepper@gmail.com>
39056
034807a9
UD
39057 [BZ #12350]
39058 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
39059 bit from old_res_options.
39060
4902da17
UD
39061 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
39062
5ce33a62
UD
39063 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
39064 value type for setfct.
39065
c2344f56
L
390662011-06-23 H.J. Lu <hongjiu.lu@intel.com>
39067
39068 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
39069 __gettimeofday instead of gettimeofday.
39070
68468076
UD
390712011-06-26 Ulrich Drepper <drepper@gmail.com>
39072
39073 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
39074
acb0d739
L
390752011-06-24 H.J. Lu <hongjiu.lu@intel.com>
39076
39077 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
39078
39079 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
39080 info.
39081
8912479f
L
390822011-06-22 H.J. Lu <hongjiu.lu@intel.com>
39083
39084 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39085 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
39086 strcpy-sse2-unaligned strncpy-sse2-unaligned
39087 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
39088 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
39089 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
39090 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
39091 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
39092 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
39093 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
39094 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
39095 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
39096 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
39097 (STRCPY): Support SSE2 and SSSE3 versions.
39098
d5495a11
UD
390992011-06-24 Ulrich Drepper <drepper@gmail.com>
39100
39101 [BZ #12874]
39102 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
39103 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
39104 kernels which artificially limit size of requests.
39105
0b1cbaae
L
391062011-06-22 H.J. Lu <hongjiu.lu@intel.com>
39107
39108 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39109 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
39110 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
39111 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
39112 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
39113 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
39114 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
39115 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
39116 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
39117 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
39118 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
39119 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
39120 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
39121 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
39122 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
39123 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39124 Enable unaligned load optimization for Intel Core i3, i5 and i7
39125 processors.
39126 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
39127 Define.
39128 (index_Fast_Unaligned_Load): Define.
39129 (HAS_FAST_UNALIGNED_LOAD): Define.
39130
07f494a0
MP
391312011-06-23 Marek Polacek <mpolacek@redhat.com>
39132
39133 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
39134
fa3fc0fe
UD
391352011-06-22 Ulrich Drepper <drepper@gmail.com>
39136
39137 [BZ #12907]
39138 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
39139 until it is clear that the information is realy needed.
39140 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
39141
e12df166
AS
391422011-06-22 Andreas Schwab <schwab@redhat.com>
39143
39144 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
39145
852eb34d
UD
391462011-06-22 Ulrich Drepper <drepper@gmail.com>
39147
84e2a551
UD
39148 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
39149 /sys/devices/system/cpu/online if it is usable.
39150
852eb34d
UD
39151 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
39152 reading the information from the /proc filesystem to once a second.
39153
6e502e19
UD
391542011-06-21 Andreas Jaeger <aj@suse.de>
39155
39156 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
39157 NULL after inclusion of kernel headers.
39158
75d39ff2
UD
391592011-06-21 Ulrich Drepper <drepper@gmail.com>
39160
51f9aa6a
UD
39161 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
39162 calls to internal_setent.
39163
c0244a9d
UD
39164 [BZ #12885]
39165 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
39166 addresses using gethostbyname4_r ignore IPv4 addresses.
39167
c5e3c2ae
UD
39168 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
39169 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
39170
75d39ff2
UD
39171 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
39172
42675c6f
DM
391732011-06-20 David S. Miller <davem@davemloft.net>
39174
39175 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
39176 inclusions.
39177 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
39178
39179 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
39180 (elf_irel): Use it.
39181 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
39182 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
39183 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
39184 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
39185 * sysdeps/x86_64/dl-irel.h: Likewise.
39186
39187 * elf/dl-runtime.c: Use elf_ifunc_invoke.
39188 * elf/dl-sym.c: Likewise.
39189
57912a71
UD
391902011-06-15 Ulrich Drepper <drepper@gmail.com>
39191
39192 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
39193 need to dereference resplen2.
39194
ee22793d
AS
391952011-06-14 Andreas Schwab <schwab@redhat.com>
39196
39197 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
39198
a9e836b0
UD
391992011-06-15 Ulrich Drepper <drepper@gmail.com>
39200
77fb9117
UD
39201 * Makeconfig: Define vardbdir and inst_vardbdir.
39202 * nss/Makefile: Add rules to install db-Makefile.
39203
40c1b22c
UD
39204 * nss/nss_db/db-XXX.c: Cleanup.
39205
9f2da732
UD
39206 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
39207 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
39208 GLIBC_PRIVATE.
39209 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
39210 * nss/makedb.c: Implement -g option to specify that value strings
39211 are generated and should not be added to table iterated over for
39212 get*ent calls.
39213 * nss/nss_db/db-initgroups.c: New file.
39214
82e9a1f7
UD
39215 * nss/getent.c: Add support for initgroups lookups through getgrouplist
39216 interface.
39217
c41af17e
UD
39218 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
39219 (internal_getgrouplist): Adjust to name change.
39220 Update use_initgroups_entry if this is not the first call.
39221 * nss/databases.def: Add initgroups entry.
39222
a9e836b0
UD
39223 * nss/makedb.c (compute_tables): Check result of multiple hash table
39224 sizes to minimize maximum chain length.
39225
2666d441
UD
392262011-06-14 Ulrich Drepper <drepper@gmail.com>
39227
39228 * Versions.def: Add entry for libnss_db.
39229 * shlib-versions: Likewise.
39230 * nss/Makefile: Add rules to build libnss_db.
39231 * nss/Versions: Add libnss_db information. Organize libnss_files
39232 entries better.
39233 * nss/db-Makefile: Add gshadow support. Change rules for the new
39234 makedb progra. Some minor improvements to generate smaller files.
39235 * nss/nss_db/nss_db.h: Move NSS database header data structures to
39236 here from...
39237 * nss/makedb.c: ...here.
39238 Improve database format to be smaller and require less memory at
39239 runtime.
39240 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
39241 db anymore.
39242 * nss/nss_db/db-netgrp.c: Likewise.
39243 * nss/nss_db/db-open.c: Likewise.
39244 * nss/nss_files/flies-XXX.x: Adjust comments.
39245 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
39246 * nss/nss_files/files-grp.c: Likewise.
39247 * nss/nss_files/files-hosts.c: Likewise.
39248 * nss/nss_files/files-network.c: Likewise.
39249 * nss/nss_files/files-proto.c: Likewise.
39250 * nss/nss_files/files-pwd.c: Likewise.
39251 * nss/nss_files/files-rpc.c: Likewise.
39252 * nss/nss_files/files-service.c: Likewise.
39253 * nss/nss_files/files-sgrp.c: Likewise.
39254 * nss/nss_files/files-spwd.c: Likewise.
39255 * nss/nss_db/db-alias.c: Removed.
39256 * nss/nss_db/dummy-db.h: Removed.
39257
9ee76b5a
UD
392582011-06-02 Ulrich Drepper <drepper@gmail.com>
39259
39260 * nss/makedb.c: Rewritten to not use database library.
39261 * nss/Makefile: Update to build new makedb program.
39262
c71ca1f8
AJ
392632011-06-14 Andreas Jaeger <aj@suse.de>
39264
39265 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
39266 memset declaration.
39267
3154bfb8
UD
392682011-06-10 Andreas Schwab <schwab@redhat.com>
39269
39270 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
39271 tmpbuf.
39272
b350afab
RM
392732011-06-10 Roland McGrath <roland@hack.frob.com>
39274
decd4e50
RM
39275 * Makerules (shlib.lds): Fail if the linker script comes out empty.
39276 * elf/Makefile ($(objpfx)ld.so): Likewise.
39277
5615eaf2
RM
39278 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
39279 Don't list ld.so twice in dependencies.
39280
39281 * posix/bug-regex31.c: Include <stdlib.h>.
39282
39283 * nscd/hstcache.c (cache_addhst): Remove unused variable.
39284
39285 * nis/nss_compat/compat-spwd.c
39286 (getspent_next_nss_netgr): Remove unused variable.
39287 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
39288
39289 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
39290 nonmembers" output to use the right array.
39291
39292 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
39293
39294 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
39295
39296 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
39297 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
39298 * catgets/gencat.c (read_input_file): Likewise.
39299 * locale/programs/locarchive.c (enlarge_archive): Likewise.
39300
39301 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
39302 variable definition inside #if's controlling its use.
39303
39304 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
39305
39306 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
39307
39308 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
39309
39310 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
39311 unreachable code.
39312
39313 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
39314
b68e08db
RM
39315 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
39316 * configure: Regenerated.
39317
b350afab
RM
39318 * Makerules: Revert last change.
39319 * elf/Makefile: Likewise.
39320
28368601
RM
393212011-06-09 Roland McGrath <roland@hack.frob.com>
39322
39323 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
39324 * elf/Makefile ($(objpfx)librtld.os): Likewise.
39325 (reloc-link): Likewise.
39326
11988f8f
UD
393272011-06-09 Ulrich Drepper <drepper@gmail.com>
39328
39329 * elf/Makefile: Add rules to build pldd.
39330 * elf/pldd.c: New file.
39331 * elf/pldd-xx.c: New file.
39332
e80fab37
UD
393332011-06-07 Ulrich Drepper <drepper@gmail.com>
39334
39335 * version.h: Update for 2.15 development version.
39336
9b849836
DM
393372011-06-07 David S. Miller <davem@davemloft.net>
39338
39339 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
39340 ifuncs.
39341 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
39342 elf_machine_lazy_rel): Likewise.
39343 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
39344 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
39345 elf_machine_lazy_rel): Likewise.
39346 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
39347 dl_hwcap via passed in argument.
39348 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
39349 Likewise.
39350
5a31b283
AK
393512011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39352
39353 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
39354
069e52f8
RM
393552011-06-06 Roland McGrath <roland@hack.frob.com>
39356
39357 [BZ #12849]
39358 * manual/fdl-1.1.texi: New file, verbatim from:
39359 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
39360 * manual/lgpl-2.1.texi: New file, verbatim from:
39361 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
39362 * manual/Makefile (licenses): New variable, list those new file names.
39363 (texis): Use it.
39364 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
39365
39366 * manual/fdl.texi: File removed.
39367 * manual/lesser.texi: File removed.
39368 * manual/libc.texinfo (Copying, Documentation License):
39369 Use new @include file names, put @appendix directive before @include.
39370
f16846a5
JJ
393712011-06-04 Jakub Jelinek <jakub@redhat.com>
39372
39373 [BZ #12841]
39374 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
39375 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
39376 (mq_open): Add __NTH.
39377
3d29045b
L
393782011-06-02 H.J. Lu <hongjiu.lu@intel.com>
39379
39380 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39381 Assume Intel Core i3/i5/i7 processor if AVX is available.
39382
8c297311
UD
393832011-05-31 Ulrich Drepper <drepper@gmail.com>
39384
39385 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
39386 typo.
39387
c8fc0c91
UD
393882011-05-31 Andreas Schwab <schwab@redhat.com>
39389
39390 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
39391 memory. Use alloca_account. Fix memory leak when retrying.
39392
5b27a807
UD
393932011-05-31 Ulrich Drepper <drepper@gmail.com>
39394
356f8bc6
UD
39395 * version.h (RELEASE): Bump for 2.14 release.
39396 * include/features.h (__GLIBC_MINOR__): Bump to 14.
39397
5b27a807
UD
39398 * config.make.in (RANLIB): Remove entry.
39399
01f16ab0
UD
394002011-05-30 Ulrich Drepper <drepper@gmail.com>
39401
41fce8bd
UD
39402 * po/Makefile (po-sed-cmd): Add ksh to extensions.
39403 (libc.pot): Work around missing support for .ksh extension in xgettext.
39404
4769ae77
UD
39405 [BZ #12684]
39406 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
39407 if both request failed.
39408 (send_dg): In case of server errors clear resplen or *resplen2.
39409
6b1e7d19
UD
39410 [BZ #12454]
39411 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
39412 when there are multiple maps.
39413 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
39414 (_dl_fini): Remove test here.
39415
01f16ab0
UD
39416 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
39417
b1ebd700
UD
394182011-05-29 Ulrich Drepper <drepper@gmail.com>
39419
7ae22829
UD
39420 [BZ #12350]
39421 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
39422 bit from old_res_options.
39423 (gaih_inet): Likewise.
39424
553149f6 39425 [BZ #11099]
18a84741 39426 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
39427 as signed.
39428
652ffab1
UD
39429 * resolv/res_init.c (res_setoptions): Make the code more compact.
39430
16985fd0
UD
39431 [BZ #11558]
39432 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
39433 set RES_USEVC.
39434
0464f746
UD
39435 [BZ #11634]
39436 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
39437
7d17596c
UD
39438 * malloc/malloc.h: Mark malloc hook variables as deprecated.
39439
cf6bbbd7
UD
39440 [BZ #11781]
39441 * malloc/malloc.h: Declare malloc hook variables as volatile.
39442
13f1ab36
UD
39443 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
39444 in last patch.
39445
b1ebd700
UD
39446 [BZ #11799]
39447 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 39448 raise in the comment.
80e2212d
UD
39449 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
39450 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
39451 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 39452
ce67228d
UD
394532011-05-28 Ulrich Drepper <drepper@gmail.com>
39454
8887a920
UD
39455 [BZ #12811]
39456 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
39457 grow the buffers more if it already has to be sufficient.
39458 (build_wcs_upper_buffer): Likewise.
39459 * posix/regexec.c (check_matching): Likewise.
39460 (clean_state_log_if_needed): Likewise.
39461 (extend_buffers): Don't enlarge buffers beyond size of the input
39462 buffer.
39463 Patches mostly by Emil Wojak <emil@wojak.eu>.
39464 * posix/bug-regex32.c: New file.
39465 * posix/Makefile (tests): Add bug-regex32.
39466
4f031072
UD
39467 * locale/findlocale.c (_nl_find_locale): Return right away if
39468 _nl_explode_name failed.
39469 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
39470
d0478f0c
UD
39471 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
39472
de81b246
UD
39473 * debug/xtrace.sh: Unify messages.
39474 * malloc/memusage.sh: Likewise.
39475
c738465a
UD
39476 [BZ #12813]
39477 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
39478 time symbol from vDSO. Substitute with vsyscall if not available.
39479 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
39480 __vdso_time.
39481
f1f929d7
UD
39482 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
39483 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
39484 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
39485 Add sendmmsg and internal_sendmmsg.
39486 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
39487 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
39488 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
39489
ce67228d
UD
39490 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
39491 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
39492 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
39493
e57420c6
UD
394942011-05-27 Ulrich Drepper <drepper@gmail.com>
39495
a8509ca5
UD
39496 [BZ #12813]
39497 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
39498 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
39499 available.
39500 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
39501 __vdso_getcpu.
39502
e57420c6
UD
39503 [BZ #12814]
39504 * iconvdata/Makefile (tests): Add bug-iconv9.
39505 * iconvdata/bug-iconv9.c: New file.
39506
4d07db15
AS
395072011-05-27 Andreas Schwab <schwab@redhat.com>
39508
39509 [BZ #12814]
39510 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
39511
ea486f69
JJ
395122011-05-25 Jakub Jelinek <jakub@redhat.com>
39513
39514 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
39515 (struct user_regs_struct): Change intcs field back to cs.
39516
6f038433
UD
395172011-05-25 Ulrich Drepper <drepper@gmail.com>
39518
39519 * po/ja.po: Update from translation team.
39520
67f86a25
UD
395212011-05-23 Ulrich Drepper <drepper@gmail.com>
39522
39523 [BZ #12795]
39524 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
39525 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
39526
def7fbd6
AS
395272011-05-20 Andreas Schwab <schwab@redhat.com>
39528
39529 * stdlib/longlong.h: Update from GCC.
39530
f50ef8f1
AS
395312011-05-23 Andreas Schwab <schwab@redhat.com>
39532
39533 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
39534 parameter name.
39535 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
39536 Add parameter name.
39537 (__sysconf): Pass it down.
39538
de7ce8f1
UD
395392011-05-22 Ulrich Drepper <drepper@gmail.com>
39540
f2962a71
UD
39541 [BZ #12671]
39542 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
39543 some situations.
39544 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
39545 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
39546 add in in __libc_use_alloca calls. Adjust callers.
39547 (glob): Use malloc in some situations.
39548
de7ce8f1
UD
39549 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
39550 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
39551 pltexit.
39552
aec84f53
UD
395532011-05-21 Ulrich Drepper <drepper@gmail.com>
39554
05bb4a68
UD
39555 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
39556 and CLOCK_BOOTTIME_ALARM.
39557
7ea72f99
UD
39558 [BZ #12782]
39559 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
39560 is returned.
39561
7e4afad5
UD
39562 * string/_strerror.c (__strerror_r): Print negative errors as signed
39563 numbers.
39564
8e211fec
UD
39565 [BZ #12777]
39566 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
39567 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
39568 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
39569
f7d82dc9
UD
39570 * configure.in: Fix typo in redirection and correct removal of test
39571 files in two cases.
39572
cc9e536d
UD
39573 [BZ #12788]
39574 * locale/setlocale.c (new_composite_name): Fix test to check for
39575 identical name of all categories.
39576
aec84f53
UD
39577 [BZ #12792]
39578 * libio/filedoalloc.c (local_isatty): New function.
39579 (_IO_file_doallocate): Use local_isatty.
39580 * stdio-common/perror.c (perror): In case a new stream is used
39581 forward the stream error.
39582 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
39583 error flag.
39584
78e64fdc
RT
395852011-05-20 Ulrich Drepper <drepper@gmail.com>
39586
34a9094f
UD
39587 [BZ #11869]
39588 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
39589 alloca.
39590 * include/alloca.h (extend_alloca_account): Define.
39591
78e64fdc
RT
39592 [BZ #11857]
39593 * posix/regex.h: Fix comments with documentation of user-accessible
39594 fields after compilation and describe correct free'ing of pattern
39595 after re_compile_pattern.
39596 Patch by Reuben Thomas <rrt@sc3d.org>.
39597
457bddfc
RA
395982011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
39599
39600 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
39601 and -mno-altivec to prevent the compiler from using Altivec and/or
39602 VSX instructions when the corresponding registers are not available.
39603
a4527b51
AS
396042011-05-19 Andreas Schwab <schwab@redhat.com>
39605
39606 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
39607
ed690b2f
UD
396082011-05-19 Ulrich Drepper <drepper@gmail.com>
39609
39610 * libio/freopen.c (freopen): Use __dup2, not dup2.
39611 * libio/freopen64.c (freopen64): Likewise.
39612
8db73634
L
396132011-05-17 H.J. Lu <hongjiu.lu@intel.com>
39614
39615 [BZ #12775]
39616 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
39617 * math/Makefile (tests): Add test-powl.
39618 (CFLAGS-test-powl.c): Define.
39619 * math/test-powl.c: New file.
39620
0a197a9d
L
396212011-05-16 H.J. Lu <hongjiu.lu@intel.com>
39622
39623 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
39624
ee30c380
UD
396252011-05-17 Ulrich Drepper <drepper@gmail.com>
39626
39627 [BZ #11837]
39628 * iconvdata/gb18030.c: Update to GB18020-2005.
39629
6ce75379
UD
396302011-05-16 Ulrich Drepper <drepper@gmail.com>
39631
a4b89fd8
AR
39632 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
39633 RE_SYNTAX_POSIX_AWK): Update to match recent development.
39634 Patch by Aharon Robbins <arnold@skeeve.com>.
39635
ea389b12
UD
39636 [BZ #11892]
39637 * stdlib/putenv.c (putenv): Don't always create copy of the variable
39638 on the stack.
39639
68a3f91f
UD
39640 [BZ #11895]
39641 * misc/pselect.c (__pselect): Handle timeout value errors hidden
39642 through underflows.
39643
15cc7dd1
UD
39644 [BZ #12766]
39645 * misc/error.c (error_at_line): Ensure file_name and old_file_name
39646 point to strings before performing equality test for error_one_per_line
39647 mode.
39648
f3799213
UD
39649 [BZ #11697]
39650 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
39651
d79a9c94
UD
39652 [BZ #11820]
39653 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
39654 (struct user_fpregs_struct): Avoid __uint*_t types.
39655
56e5eb46
UD
39656 [BZ #6420]
39657 * malloc/mtrace.c (tr_where): Add additional parameter to point to
39658 symbol info. Use it instead of calling _dl_addr locally.
39659 (lock_and_info): New function.
39660 (tr_freehook): Call lock_and_info and pass symbol info as additional
39661 parameter to tr_where.
39662 (tr_mallochook): Likewise.
39663 (tr_reallochook): Likewise.
39664 (tr_memalignhook): Likewise.
39665
6ce75379
UD
39666 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
39667 used and couldn't be at all thread-safe.
39668
f8a3b5bf
UD
396692011-05-15 Ulrich Drepper <drepper@gmail.com>
39670
94b7cc37
UD
39671 * libio/freopen.c (freopen): Don't close old file descriptor
39672 before the new one is opened. Instead dup the new file descriptor
39673 to the old one after the new stream is created.
39674 * libio/freopen64.c (freopen64): Likewise.
39675 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
39676 * libio/fileops.c (_IO_new_file_close_it): Handle new
39677 _IO_FLAGS2_NOCLOSE flag.
39678 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
39679 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
39680 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
39681 _IO_FLAGS2_NOCLOSE flag.
39682 * include/unistd.h: Add hidden_proto for dup3.
39683 Define __have_dup3.
39684 * io/dup3.c: Define hidden symbol.
39685 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
39686
bd25564e
UD
39687 [BZ #7101]
39688 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
39689 when an incomplete long option is used.
39690 * posix/tst-getopt_long1.c: New file.
39691 * posix/Makefile (tests): Add tst-getopt_long1.
39692
c84cfef4
UD
39693 [BZ #10138]
39694 * scripts/config.guess: Update from autoconf-2.68.
39695 * scripts/config.sub: Likewise.
39696
3b85df27
UD
39697 [BZ #10157]
39698 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
39699 tests into ...
39700 (has_cpuclock): ...this. New function.
39701 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
39702 macro here based on has_cpuclock code.
39703
15a856b1
UD
39704 [BZ #10149]
39705 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
39706 First byte (not low byte) is now always NUL.
39707 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
39708
05f399e6
UD
39709 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
39710 Use non-cancelable interfaces.
39711
10a52685 39712 [BZ #9809]
94ecc67d
UD
39713 * locale/iso-639.def: Add entry for Sorani.
39714
f8a3b5bf
UD
39715 [BZ #11901]
39716 * include/stdlib.h: Move include protection to the right place.
39717 Define abort_msg_s. Declare __abort_msg with it.
39718 * stdlib/abort.c (__abort_msg): Adjust type.
39719 * assert/assert.c (__assert_fail_base): New function. Majority
39720 of code from __assert_fail. Allocate memory for __abort_msg with
39721 mmap.
39722 (__assert_fail): Now call __assert_fail_base.
39723 * assert/assert-perr.c: Remove bulk of implementation. Use
39724 __assert_fail_base.
39725 * include/assert.hL Declare __assert_fail_base.
39726 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
39727 mmap.
39728 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
39729
1af4e298
UD
397302011-05-14 Ulrich Drepper <drepper@gmail.com>
39731
f8a3b5bf 39732 [BZ #11952]
d26dfc60
MG
39733 [BZ #12453]
39734 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
39735 until all modules are registered in the DTV.
39736 * elf/Makefile: Add rules to build and run tst-tls19.
39737 * elf/tst-tls19.c: New file.
39738 * elf/tst-tls19mod1.c: New file.
39739 * elf/tst-tls19mod2.c: New file.
39740 * elf/tst-tls19mod3.c: New file.
39741 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
39742
2fc54d6f
UD
39743 [BZ #12083]
39744 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
39745 correctly.
39746
98d76b46
UD
39747 [BZ #12601]
39748 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
39749 two-byte sequence errors.
39750 * iconvdata/Makefile (tests): Add bug-iconv8.
39751 * iconvdata/bug-iconv8.c: New file.
39752
da3c19ef
UD
39753 [BZ #12626]
39754 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
39755 buf2 definition.
39756
ca408c15
UD
39757 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
39758
d6f67f7d
UD
39759 [BZ #12432]
39760 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
39761 (dummy_getcfa): New function.
39762 (init): Get _Unwind_GetCFA address, use dummy if not found.
39763 (backtrace_helper): In recursion check, also check whether CFA changes.
39764 (__backtrace): Completely initialize arg.
39765
1af4e298 39766 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
39767 storing incomplete byte sequence in state object. Avoid testing for
39768 guaranteed too small input if we know there is enough data available.
1af4e298 39769
da62f81b
AS
397702011-05-11 Andreas Schwab <schwab@redhat.com>
39771
39772 * Makeconfig (+link-pie): Indent.
39773 * Rules (binaries-pie): Define if $(have-fpie) and
39774 $(build-shared).
39775 (binaries-shared): Also filter out $(binaries-pie).
39776 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
39777 * nscd/Makefile (others-pie): Add nscd.
39778 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
39779 ($(objpfx)nscd): Remove command override.
39780 * login/Makefile (others-pie): Add pt_chown.
39781 ($(objpfx)pt_chown): Remove command override.
39782 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
39783 remove command overrides.
39784
fcabc0f8
UD
397852011-05-13 Ulrich Drepper <drepper@gmail.com>
39786
20030ae6
UD
39787 * libio/tst_putwc.c: Fix error messages.
39788
fcabc0f8
UD
39789 [BZ #12724]
39790 * libio/fileops.c (_IO_new_file_close_it): Always flush when
39791 currently writing and seek to current position when not.
39792 * libio/Makefile (tests): Add bug-fclose1.
39793 * libio/bug-fclose1.c: New file.
39794
320a5dc0
PB
397952011-05-12 Ulrich Drepper <drepper@gmail.com>
39796
39797 [BZ #12511]
39798 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
39799 don't set DF_1_NODELETE here.
39800 (do_lookup_x): When entering new entry test for copy relocation
39801 and if necessary set DF_1_NODELETE flag.
39802 * elf/tst-unique4.cc: New file.
39803 * elf/tst-unique4.h: New file.
39804 * elf/tst-unique4lib.cc: New file.
39805 * elf/Makefile: Add rules to build and run tst-unique4.
39806 Patch by Piotr Bury <pbury@goahead.com>.
39807
22836f52
UD
398082011-05-11 Ulrich Drepper <drepper@gmail.com>
39809
f574184a
UD
39810 [BZ #12052]
39811 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
39812
e1fb097f
UD
39813 [BZ #12625]
39814 * misc/mntent_r.c (addmntent): Flush the stream after the output
39815
22836f52
UD
39816 [BZ #12393]
39817 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
39818 (is_trusted_path_normalize): Skip initial colon. Append slash
39819 to empty buffer. Duplicate is_trusted_path code but allow
39820 constructed patch to be prefix.
39821 (is_dst): Allow $ORIGIN followed by /.
39822 (_dl_dst_substitute): Correct clearing of check_for_trusted.
39823 Correct testing of result of is_trusted_path_normalize
39824 (decompose_rpath): Fix warning.
39825
7b3b0b2a
UD
398262011-05-10 Ulrich Drepper <drepper@gmail.com>
39827
39828 [BZ #11257]
39829 * grp/initgroups.c (internal_getgrouplist): When we found the service
39830 list through the initgroups entry in nsswitch.conf do not always
39831 continue on a successful lookup. Don't always use the
eac80ce2 39832 __nss_group_database value if it is set.
7b3b0b2a
UD
39833 * nss/nsswitch.conf (initgroups): Change action for successful db
39834 lookup to continue for compatibility.
39835
2a81eaa5
UD
398362011-05-09 Ulrich Drepper <drepper@gmail.com>
39837
be97a69e
UD
39838 [BZ #11532]
39839 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
39840 and CP774 modules.
39841 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
39842 and CP774 modules.
39843 * iconvdata/tst-tables.sh: Likewise.
39844 * iconvdata/cp770.c: New file.
39845 * iconvdata/cp771.c: New file.
39846 * iconvdata/cp772.c: New file.
39847 * iconvdata/cp773.c: New file.
39848 * iconvdata/cp774.c: New file.
39849 * iconvdata/testdata/CP770: New file.
39850 * iconvdata/testdata/CP770..UTF8: New file.
39851 * iconvdata/testdata/CP771: New file.
39852 * iconvdata/testdata/CP771..UTF8: New file.
39853 * iconvdata/testdata/CP772: New file.
39854 * iconvdata/testdata/CP772..UTF8: New file.
39855 * iconvdata/testdata/CP773: New file.
39856 * iconvdata/testdata/CP773..UTF8: New file.
39857 * iconvdata/testdata/CP774: New file.
39858 * iconvdata/testdata/CP774..UTF8: New file.
39859
39860 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
39861 END CHARMAP line.
39862 * iconvdata/gen-8bit-gap.sh: Likewise.
39863 * iconvdata/gen-8bit.sh: Likewise.
39864
c1e9e399
UD
39865 * locale/iso-639.def: Add ary entry.
39866
24c55fb3 39867 [BZ #11258]
96b4b1b0
UD
39868 * locale/C-translit.h.in: Add U20A1 transliteration.
39869
bdc2f971
KB
39870 [BZ #12178]
39871 * locale/iso-639.def: Add wae entry.
39872 Patch by Kevin Bortis <bortis@translate-wae.ch>.
39873
2952b117
UD
39874 [BZ #12545]
39875 * locale/programs/localedef.c (construct_output_path): Use ssize_t
39876 for n.
39877
2a81eaa5
UD
39878 [BZ #12711]
39879 * locale/C-translit.h.in: Add entry for U20B9.
39880 Patch by pravin.d.s@gmail.com.
39881
28377d1b
UD
398822011-05-08 Ulrich Drepper <drepper@gmail.com>
39883
7fb90fb8
UD
39884 [BZ #12713]
39885 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
39886 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
39887 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
39888 in rtld. Use *stat64.
7fb90fb8 39889 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 39890 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 39891 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
39892 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
39893 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
39894 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
39895 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
39896 __fstatat64 macros.
7fb90fb8
UD
39897 * include/dirent.h: Add libc_hidden_proto for rewinddir.
39898 * dirent/rewinddir.c: Add libc_hidden_def.
39899 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 39900 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 39901
28377d1b
UD
39902 * include/dirent.h (__alloc_dir): Add flags parameter.
39903 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
39904 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
39905 __alloc_dir.
39906 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
39907 from fdopendir if O_CLOEXEC is already set.
39908
66bdbaa4
AM
399092011-03-15 Alan Modra <amodra@gmail.com>
39910
39911 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
39912 l_tls_firstbyte_offset non-zero. Save padding offset in
39913 l_tls_firstbyte_offset for later use.
39914 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
39915 freeing static tls block.
39916
95721191
JN
399172011-03-05 Jonathan Nieder <jrnieder@gmail.com>
39918
39919 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
39920 where #ifdef was intended. The intent is to prevent ARG_MAX from
39921 being defined by the kernel headers.
39922
f87dfb1f
UD
399232011-05-07 Ulrich Drepper <drepper@gmail.com>
39924
39925 [BZ #12734]
39926 * resolv/resolv.h: Define RES_NOTLDQUERY.
39927 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
39928 no-tld-query and set RES_NOTLDQUERY.
39929 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
39930 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
39931 modern BIND to search name as TLD unless forbidden.
39932
47c3cd7a
UD
399332011-05-07 Petr Baudis <pasky@suse.cz>
39934 Ulrich Drepper <drepper@gmail.com>
39935
39936 [BZ #12393]
39937 * elf/dl-load.c (fillin_rpath): Move trusted path check...
39938 (is_trusted_path): ...to here.
c1e9ea35 39939 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 39940 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 39941 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 39942
8a35c912
PP
399432011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
39944
39945 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
39946 __BEGIN/__END_DECLS.
39947
acd41f47
UD
399482011-05-06 Ulrich Drepper <drepper@gmail.com>
39949
39950 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
39951 NSS_STATUS_NOTFOUND if no record was found.
39952
597df647
AS
399532011-05-05 Andreas Schwab <schwab@redhat.com>
39954
39955 * sunrpc/Makefile (headers): Add rpc/netdb.h.
39956 (headers-not-in-tirpc): Remove rpc/netdb.h
39957 * resolv/netdb.h: Revert last change.
39958
b9af1301
PP
399592011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
39960
39961 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
39962 circular dependency between libgcc.a and libc.a.
39963
4e34d5f5
AS
399642011-05-05 Andreas Schwab <schwab@redhat.com>
39965
39966 * resolv/netdb.h: Don't include <rpc/netdb.h>.
39967 * nis/Makefile: Don't install rpcsvc/*.
39968 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
39969 instead of <rpc/types.h>.
39970 (MAXHOSTNAMELEN): Define.
39971
00ee369c
AS
399722011-05-03 Andreas Schwab <schwab@redhat.com>
39973
39974 * elf/ldconfig.c (add_dir): Don't crash on empty path.
39975
0b592a30
MB
399762011-04-28 Maciej Babinski <mbabinski@google.com>
39977
39978 [BZ #12714]
39979 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
39980 gethostbyname4_r when IPv6 results are possible.
39981
6e04cbbe
UD
399822011-05-02 Ulrich Drepper <drepper@gmail.com>
39983
39984 [BZ #12723]
39985 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
39986 _PC_PIPE_BUF handling.
39987
e4ecafe0
BH
399882011-04-30 Bruno Haible <bruno@clisp.org>
39989
39990 [BZ #12717]
39991 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
39992 * resolv/netdb.h (getnameinfo): Change type of flags parameter
39993 to 'int'.
39994 * inet/getnameinfo.c (getnameinfo): Likewise.
39995
125ee683
UD
399962011-04-29 Ulrich Drepper <drepper@gmail.com>
39997
39998 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
39999 to groups setting in database lookup.
40000 * nss/nsswitch.conf: Add initgroups entry.
40001
b722481a
EB
400022011-04-22 Ulrich Drepper <drepper@gmail.com>
40003
40004 [BZ #12685]
40005 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
40006 mode string.
40007 Patch by Eric Blake <eblake@redhat.com>.
40008
4df46dbd
L
400092011-04-20 H.J. Lu <hongjiu.lu@intel.com>
40010
40011 * sunrpc/Makefile (need-export-routines): Add svc_run.
40012 (routines): Remove svc_run.
40013 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
40014 * sunrpc/clnt_perr.c (clnt_perrno): Export.
40015 * sunrpc/svc_run.c (svc_run): Likewise.
40016 * sunrpc/svc_udp.c (svcudp_create): Likewise.
40017
e84142d2
UD
400182011-04-21 Ulrich Drepper <drepper@gmail.com>
40019
40020 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
40021 problem in reallocation in last patch.
40022
877175d8
UD
400232011-04-20 Ulrich Drepper <drepper@gmail.com>
40024
40025 * sunrpc/Makefile: Move inclusion of Rules.
40026
ab8eed78
UD
400272011-04-19 Ulrich Drepper <drepper@gmail.com>
40028
40029 * nss/nss_files/files-initgroups.c: New file.
40030 * nss/Makefile (libnss_files-routines): Add files-initgroups.
40031 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
40032 _nss_files_initgroups_dyn.
40033
e3d8f584
RS
400342011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
40035
40036 * elf/elf.h (R_ARM_IRELATIVE): Define.
40037
af190f45
UD
400382011-04-19 Ulrich Drepper <drepper@gmail.com>
40039
40040 * po/ru.po: Update from translation team.
40041
53cf59ef
UD
400422011-04-17 Ulrich Drepper <drepper@gmail.com>
40043
40044 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
40045 dependencies.
40046
4c559bcd
MF
400472011-02-06 Mike Frysinger <vapier@gentoo.org>
40048
40049 [BZ #12653]
40050 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
40051 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
40052 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
40053 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
40054 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
40055
4420675c
AS
400562011-03-28 Andreas Schwab <schwab@linux-m68k.org>
40057
40058 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
40059 differing bytes.
40060 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
40061 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
40062 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
40063
75ea32ab
UD
400642011-04-17 Ulrich Drepper <drepper@gmail.com>
40065
40066 [BZ #12420]
40067 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
40068 storing it.
40069 * stdlib/bug-getcontext.c: New file.
40070 * stdlib/Makefile: Add rules to build and run bug-getcontext.
40071
27390476
AK
400722011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40073
40074 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
40075 instructions into .machine "z9-109".
40076 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
40077 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
40078
10442705
AK
400792011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40080
40081 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
40082 between environment variables and auxiliary vector.
40083
7b57bfe5
UD
400842011-04-16 Ulrich Drepper <drepper@gmail.com>
40085
40086 * Makefile: Add rules to build linkobj/libc.so.
40087 * include/libc-symbols.h: Define libc_hidden_nolink.
40088 * include/rpc/auth.h: Mark functions which are to be hidden.
40089 * include/rpc/auth_des.h: Likewise.
40090 * include/rpc/auth_unix.h: Likewise.
40091 * include/rpc/clnt.h: Likewise.
40092 * include/rpc/des_crypt.h: Likewise.
40093 * include/rpc/key_prot.h: Likewise.
40094 * include/rpc/pmap_clnt.h: Likewise.
40095 * include/rpc/pmap_prot.h: Likewise.
40096 * include/rpc/pmap_rmt.h: Likewise.
40097 * include/rpc/rpc_msg.h: Likewise.
40098 * include/rpc/svc.h: Likewise.
40099 * include/rpc/svc_auth.h: Likewise.
40100 * include/rpc/xdr.h: Likewise.
40101 * nis/Makefile: Link all DSOs against linkobj/libc.so.
40102 * nss/Makefile: Likewise.
40103 * sunrpc/Makefile: Don't install headers. Build library with normal
40104 entry points. Don't build rpcinfo. Link RPC tests appropriately.
40105 * sunrpc/auth_des.c: Hide exported symbols by default, export some
40106 for the compat linking library. Remove use of INTDEF/INTUSE.
40107 * sunrpc/auth_none.c: Likewise.
40108 * sunrpc/auth_unix.c: Likewise.
40109 * sunrpc/authdes_prot.c: Likewise.
40110 * sunrpc/authuxprot.c: Likewise.
40111 * sunrpc/clnt_gen.c: Likewise.
40112 * sunrpc/clnt_perr.c: Likewise.
40113 * sunrpc/clnt_raw.c: Likewise.
40114 * sunrpc/clnt_simp.c: Likewise.
40115 * sunrpc/clnt_tcp.c: Likewise.
40116 * sunrpc/clnt_udp.c: Likewise.
40117 * sunrpc/clnt_unix.c: Likewise.
40118 * sunrpc/des_crypt.c: Likewise.
40119 * sunrpc/des_soft.c: Likewise.
40120 * sunrpc/get_myaddr.c: Likewise.
40121 * sunrpc/key_call.c: Likewise.
40122 * sunrpc/key_prot.c: Likewise.
40123 * sunrpc/netname.c: Likewise.
40124 * sunrpc/pm_getmaps.c: Likewise.
40125 * sunrpc/pm_getport.c: Likewise.
40126 * sunrpc/pmap_clnt.c: Likewise.
40127 * sunrpc/pmap_prot.c: Likewise.
40128 * sunrpc/pmap_prot2.c: Likewise.
40129 * sunrpc/pmap_rmt.c: Likewise.
40130 * sunrpc/publickey.c: Likewise.
40131 * sunrpc/rpc_cmsg.c: Likewise.
40132 * sunrpc/rpc_common.c: Likewise.
40133 * sunrpc/rpc_dtable.c: Likewise.
40134 * sunrpc/rpc_prot.c: Likewise.
40135 * sunrpc/rpc_thread.c: Likewise.
40136 * sunrpc/rtime.c: Likewise.
40137 * sunrpc/svc.c: Likewise.
40138 * sunrpc/svc_auth.c: Likewise.
40139 * sunrpc/svc_authux.c: Likewise.
40140 * sunrpc/svc_raw.c: Likewise.
40141 * sunrpc/svc_run.c: Likewise.
40142 * sunrpc/svc_simple.c: Likewise.
40143 * sunrpc/svc_tcp.c: Likewise.
40144 * sunrpc/svc_udp.c: Likewise.
40145 * sunrpc/svc_unix.c: Likewise.
40146 * sunrpc/svcauth_des.c: Likewise.
40147 * sunrpc/xcrypt.c: Likewise.
40148 * sunrpc/xdr.c: Likewise.
40149 * sunrpc/xdr_array.c: Likewise.
40150 * sunrpc/xdr_float.c: Likewise.
40151 * sunrpc/xdr_intXX_t.c: Likewise.
40152 * sunrpc/xdr_mem.c: Likewise.
40153 * sunrpc/xdr_rec.c: Likewise.
40154 * sunrpc/xdr_ref.c: Likewise.
40155 * sunrpc/xdr_sizeof.c: Likewise.
40156 * sunrpc/xdr_stdio.c: Likewise.
40157
e6c61494
UD
401582011-04-10 Ulrich Drepper <drepper@gmail.com>
40159
40160 [BZ #12650]
40161 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
40162 * sysdeps/ia64/dl-tls.h: Likewise.
40163 * sysdeps/powerpc/dl-tls.h: Likewise.
40164 * sysdeps/s390/dl-tls.h: Likewise.
40165 * sysdeps/sh/dl-tls.h: Likewise.
40166 * sysdeps/sparc/dl-tls.h: Likewise.
40167 * sysdeps/x86_64/dl-tls.h: Likewise.
40168 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
40169
34fe483e
AS
401702011-03-14 Andreas Schwab <schwab@redhat.com>
40171
40172 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
40173 rpath element also skip the following colon.
40174 (expand_dynamic_string_token): Add is_path parameter and pass
40175 down to DL_DST_REQUIRED and _dl_dst_substitute.
40176 (decompose_rpath): Call expand_dynamic_string_token with
40177 non-zero is_path. Ignore empty rpaths.
40178 (_dl_map_object_from_fd): Call expand_dynamic_string_token
40179 with zero is_path.
40180
f12a32e6
AS
401812011-04-08 Andreas Schwab <schwab@linux-m68k.org>
40182
40183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
40184 Make cancelable.
40185
38a7d692
UD
401862011-04-09 Ulrich Drepper <drepper@gmail.com>
40187
40188 [BZ #12655]
40189 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
40190 Patch by Filipe David Manana <fdmanana@apache.org>.
40191
e451d22b
AS
401922011-04-07 Andreas Schwab <schwab@redhat.com>
40193
40194 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
40195 Maintain aligned stack.
40196 (CHECK_RSP): Remove unused macro.
40197
dedc7c7b
UD
401982011-04-03 Ulrich Drepper <drepper@gmail.com>
40199
40200 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
40201 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
40202
94521213
UD
402032011-04-02 Ulrich Drepper <drepper@gmail.com>
40204
40205 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
40206
8cb700c0 40207 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 40208
0354e355
L
402092011-03-26 H.J. Lu <hongjiu.lu@intel.com>
40210
40211 [BZ #12518]
40212 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
40213 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
40214 * sysdeps/x86_64/memmove.c: New file.
40215 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
40216 (memcpy): Renamed to ...
40217 (__new_memcpy): This.
40218 (memcpy): Provide GLIBC_2_14 memcpy.
40219 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
40220 (memcpy): Provide GLIBC_2_2_5 memcpy.
40221
8593482f
UD
402222011-04-01 Ulrich Drepper <drepper@gmail.com>
40223
40224 [BZ #12631]
40225 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
40226
81a5726b
AS
402272011-03-30 Andreas Schwab <schwab@redhat.com>
40228
40229 * misc/syncfs.c: New file.
40230 * misc/Makefile (routines): Add syncfs.
40231 * posix/unistd.h: Declare syncfs.
40232 * sysdeps/unix/syscalls.list: Add syncfs.
40233
00e5419f
AS
402342011-04-01 Andreas Schwab <schwab@redhat.com>
40235
40236 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
40237 open_by_handle_at.
40238 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
40239 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
40240 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
40241 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
40242 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
40243 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
40244 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
40245
748876bf
UD
402462011-04-01 Ulrich Drepper <drepper@gmail.com>
40247
658e451d
UD
40248 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
40249 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
40250 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
40251 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
40252 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
40253 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
40254 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
40255
748876bf
UD
40256 * io/Makefile: Compile fallocate.c, fallocate64.c, and
40257 sync_file_range.c with -fexceptions.
40258 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
40259 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
40260 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
40261 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
40262 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
40263 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
40264 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
40265 sync_file_range as cancellation point
40266 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
40267 now a wrapper around __call_sync_file_range with cancellation handling.
40268 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
40269 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
40270 function name to __call_sync_file_range.
40271 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
40272 Add call_sync_file_range.
748876bf 40273
6e63d5e1
AS
402742011-04-01 Andreas Schwab <schwab@redhat.com>
40275
40276 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 40277 bits/timex.h.
6e63d5e1 40278
46998f74
UD
402792011-04-01 Ulrich Drepper <drepper@gmail.com>
40280
4c1423ed
UD
40281 * iconv/iconv.h: Fix typo in comment.
40282 * io/fcntl.h: Likewise.
40283 * libio/stdio.h: Likewise.
40284 * posix/spawn.h: Likewise.
40285 * posix/unistd.h: Likewise.
40286 * stdlib/stdlib.h: Likewise.
40287 * time/time.h: Likewise.
40288 * wcsmbs/wchar.h: Likewise.
40289
158648c0
UD
40290 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
40291 open_by_handle): Add.
40292 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
40293 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
40294 Augment a few comments.
40295 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
40296 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
40297 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
40298 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
40299 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
40300 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
40301 open_by_handle.
40302
46998f74
UD
40303 * io/fcntl.h (AT_EMPTY_PATH): Define.
40304
83fe108b
UD
403052011-03-30 Ulrich Drepper <drepper@gmail.com>
40306
40307 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
40308 * sysdeps/unix/sysv/linux/bits/time.h: New file.
40309 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
40310 to...
40311 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
40312 * Versions.def: Add GLIBC_2.14.
40313 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
40314 Export.
83fe108b 40315
bb242059
UD
403162011-03-22 Ulrich Drepper <drepper@gmail.com>
40317
40318 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
40319 round counter.
40320 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
40321
c97a1282
L
403222011-03-20 H.J. Lu <hongjiu.lu@intel.com>
40323
40324 [BZ #12597]
40325 * string/test-strncmp.c (do_page_test): New function.
40326 (check2): Likewise.
40327 (test_main): Call check2.
40328 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
40329
2a115601
UD
403302011-03-20 Ulrich Drepper <drepper@gmail.com>
40331
40332 [BZ #12587]
40333 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
40334 Handle cache information in CPU leaf 4.
40335 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
40336
8126d904
UD
403372011-03-18 Ulrich Drepper <drepper@gmail.com>
40338
042c49c6 40339 [BZ #12583]
8126d904
UD
40340 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
40341 character representation.
40342 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
40343
ccfe366e
RA
403442011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
40345
40346 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
40347 END(__isnan) to END(__isnanf) to match function entry point/label
40348 EALIGN(__isnanf,...).
40349
c6e13027
JJ
403502011-03-10 Jakub Jelinek <jakub@redhat.com>
40351
40352 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
40353
33f85a3f
UD
403542011-03-10 Ulrich Drepper <drepper@gmail.com>
40355
028478fa
UD
40356 [BZ #12510]
40357 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
40358 copy from the symbol referenced in the relocation to initialize the
40359 used variable.
40360 Patch by Piotr Bury <pbury@goahead.com>.
40361 * elf/Makefile: Add rules to build and tst-unique3.
40362 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
40363 * elf/tst-unique3.cc: New file.
40364 * elf/tst-unique3.h: New file.
40365 * elf/tst-unique3lib.cc: New file.
40366 * elf/tst-unique3lib2.cc: New file.
40367
33f85a3f
UD
40368 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
40369
03592fc7
MF
403702011-03-10 Mike Frysinger <vapier@gentoo.org>
40371
40372 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
40373 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
40374 to _start.
03592fc7 40375
6a5ee102
UD
403762011-03-06 Ulrich Drepper <drepper@gmail.com>
40377
40378 * elf/dl-load.c (_dl_map_object): If we are looking for the first
40379 to-be-loaded object along a path to loader is ld.so.
40380
7e4ba49c
HJ
403812011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
40382 Ulrich Drepper <drepper@gmail.com>
40383
40384 * sysdeps/x86_64/memset.S: After aligning destination, code
40385 branches to different locations depending on the value of
40386 misalignment, when multiarch is enabled. Fix this.
40387
403882011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
40389
40390 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
40391 Set _x86_64_preferred_memory_instruction for AMD processsors.
40392 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40393 Set bit_Prefer_SSE_for_memop for AMD processors.
40394
13a804de
UD
403952011-03-04 Ulrich Drepper <drepper@gmail.com>
40396
40397 * libio/fmemopen.c (fmemopen): Optimize a bit.
40398
9d25c392
AS
403992011-03-03 Andreas Schwab <schwab@redhat.com>
40400
40401 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
40402
a5543c6a
RM
404032011-03-03 Roland McGrath <roland@redhat.com>
40404
40405 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
40406
012d35f7
DM
404072011-02-28 Aurelien Jarno <aurelien@aurel32.net>
40408
7e4ba49c 40409 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
40410 __bzero_ultra1 instead of __memset_ultra1.
40411
4bff6e01
AS
404122011-02-23 Andreas Schwab <schwab@redhat.com>
40413 Ulrich Drepper <drepper@gmail.com>
40414
40415 [BZ #12509]
40416 * include/link.h (struct link_map): Add l_orig_initfini.
40417 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
40418 returning unsuccessfully.
40419 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
40420 close of a file loaded at startup, restore the original l_initfini
40421 list.
40422 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
40423 list, store the pointer.
40424 * elf/Makefile ($(objpfx)noload-mem): New rule.
40425 (noload-ENV): Define.
40426 (tests): Add $(objpfx)noload-mem.
40427 * elf/noload.c: Include <memcheck.h>.
40428 (main): Call mtrace. Close all opened handles.
40429
f2092faf
AS
404302011-02-17 Andreas Schwab <schwab@redhat.com>
40431
40432 [BZ #12454]
40433 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
40434 dependencies are missing.
40435
6c8a2e88
ST
404362011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
40437
f2092faf 40438 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
40439 Hurd needs munmap.
40440 * sysdeps/mach/hurd/ifreq.h: New file.
40441
84a42118
PB
404422011-01-27 Petr Baudis <pasky@suse.cz>
40443 Ulrich Drepper <drepper@gmail.com>
40444
071f805e 40445 [BZ 12445]#
84a42118
PB
40446 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
40447 to extend_alloca().
40448 * stdio-common/bug23.c: New file.
40449 * stdio-common/Makefile (tests): Add bug23.
40450
e23fe25b
AS
404512010-09-28 Andreas Schwab <schwab@redhat.com>
40452 Ulrich Drepper <drepper@gmail.com>
40453
40454 [BZ #12489]
40455 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
40456 before performing relro protection. At old place add assertion
40457 to make sure nothing changed.
40458
d3f02e10
NS
404592011-02-17 Nathan Sidwell <nathan@codesourcery.com>
40460 Glauber de Oliveira Costa <glommer@gmail.com>
40461
40462 * elf/elf.h: Add new ARM TLS relocs.
40463
d55fd7a5
RA
404642011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
40465
40466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
40467 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
40468 cast from r3.
40469 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
40470 'tests' variable.
40471 * sysdeps/wordsize-64/tst-writev.c: New file.
40472
2206397e
RA
404732011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
40474
40475 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
40476 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
40477 insns in _dl_start to prevent a TOC reference before relocs are
40478 resolved.
40479
e9433893
UD
404802011-02-15 Ulrich Drepper <drepper@gmail.com>
40481
40482 [BZ #12469]
40483 * Makeconfig: Remove RANLIB definition.
40484 * Makerules: Don't use RANLIB.
40485 * aclocal.m4: Remove ranlib test.
40486 * configure.in: No need to check for ranlib.
40487 * elf/rtld-Rules: Don't use RANLIB.
40488
f75286c6
ST
404892011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
40490
8e31c82d
ST
40491 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
40492 protection macro.
40493 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
40494 inclusion protection macro.
40495
f75286c6
ST
40496 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
40497 SIGRTMIN and SIGRTMAX and print information in that case only when
40498 SIGRTMIN is defined.
40499
c1d0e639
JJ
405002011-02-11 Jakub Jelinek <jakub@redhat.com>
40501
40502 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
40503 arginfo fn returning -1.
40504
40505 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
40506 and thousands string is zero terminated.
40507
edf9294e
AS
405082011-02-03 Andreas Schwab <schwab@redhat.com>
40509
40510 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
40511 sysdeps/unix/sysv/linux/bits/socket.h.
40512
2b7e92df
ST
405132011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
40514
edf9294e
AS
40515 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
40516 (__CPU_COUNT): Remove old macros.
40517 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
40518 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
40519 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
40520 (__sched_cpualloc, __sched_cpufree): Add declarations.
40521
a4c7ea7b
UD
405222011-02-05 Ulrich Drepper <drepper@gmail.com>
40523
40524 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
40525 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
40526 * nscd/aicache.c (addhstaiX): Return timeout of added value.
40527 (readdhstai): Return value of addhstaiX call.
40528 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
40529 (addgrbyX): Return value returned by cache_addgr.
40530 (readdgrbyname): Return value returned by addgrbyX.
40531 (readdgrbygid): Likewise.
40532 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
40533 (addpwbyX): Return value returned by cache_addpw.
40534 (readdpwbyname): Return value returned by addhstbyX.
40535 (readdpwbyuid): Likewise.
40536 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
40537 (addservbyX): Return value returned by cache_addserv.
40538 (readdservbyname): Return value returned by addservbyX:
40539 (readdservbyport): Likewise.
40540 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
40541 (addhstbyX): Return value returned by cache_addhst.
40542 (readdhstbyname): Return value returned by addhstbyX.
40543 (readdhstbyaddr): Likewise.
40544 (readdhstbynamev6): Likewise.
40545 (readdhstbyaddrv6): Likewise.
40546 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
40547 (readdinitgroups): Return value returned by addinitgroupsX.
40548 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
40549 (prune_cache): Keep track of timeout value of re-added entries.
40550 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
40551 * nscd/nscd.h: Adjust prototypes of readd* functions.
40552
a0bf67cc
RM
405532011-02-04 Roland McGrath <roland@redhat.com>
40554
40555 * nis/nis_server.c (nis_servstate): Use the right name for 0.
40556 (nis_stats): Likewise.
40557 * nis/nis_modify.c (nis_modify): Likewise.
40558 * nis/nis_remove.c (nis_remove): Likewise.
40559 * nis/nis_add.c (nis_add): Likewise.
40560
40561 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
40562
40563 * posix/fnmatch_loop.c: Add some consts.
40564
40565 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
40566
435b95eb
L
405672011-02-02 H.J. Lu <hongjiu.lu@intel.com>
40568
40569 [BZ #12460]
40570 * config.make.in (config-cflags-novzeroupper): Define.
40571 * configure.in: Substitute libc_cv_cc_novzeroupper.
40572 * elf/Makefile (AVX-CFLAGS): Define.
40573 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
40574 (CFLAGS-tst-auditmod4a.c): Likewise.
40575 (CFLAGS-tst-auditmod4b.c): Likewise.
40576 (CFLAGS-tst-auditmod6b.c): Likewise.
40577 (CFLAGS-tst-auditmod6c.c): Likewise.
40578 (CFLAGS-tst-auditmod7b.c): Likewise.
40579 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
40580
8517b15e
UD
405812011-02-02 Ulrich Drepper <drepper@gmail.com>
40582
40583 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
40584 function to the callback.
40585 Patch partly by Jiri Olsa <jolsa@redhat.com>.
40586
10a656fe
AS
405872011-02-02 Andreas Schwab <schwab@redhat.com>
40588
40589 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
40590 of errno.
40591
968dad0a
UD
405922011-01-19 Ulrich Drepper <drepper@gmail.com>
40593
9f94d2ea 40594 [BZ #11724]
968dad0a
UD
40595 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
40596 of constructors.
40597 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
40598 of destructors.
40599 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
40600
40601 [BZ #11724]
40602 * elf/Makefile: Add rules to build and run new test.
40603 * elf/tst-initorder.c: New file.
40604 * elf/tst-initorder.exp: New file.
40605 * elf/tst-initordera1.c: New file.
40606 * elf/tst-initordera2.c: New file.
40607 * elf/tst-initordera3.c: New file.
40608 * elf/tst-initordera4.c: New file.
40609 * elf/tst-initorderb1.c: New file.
40610 * elf/tst-initorderb2.c: New file.
40611 * elf/tst-order-a1.c: New file.
40612 * elf/tst-order-a2.c: New file.
40613 * elf/tst-order-a3.c: New file.
40614 * elf/tst-order-a4.c: New file.
40615 * elf/tst-order-b1.c: New file.
40616 * elf/tst-order-b2.c: New file.
40617 * elf/tst-order-main.c: New file.
40618 New test case by George Gensure <werkt0@gmail.com>.
40619
86e92359
UD
406202010-10-01 Andreas Schwab <schwab@redhat.com>
40621
40622 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
40623 decoding ACE if AI_CANONIDN.
40624
5d5732b0
UD
406252011-01-18 Ulrich Drepper <drepper@gmail.com>
40626
40627 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
40628
a77e8cbc
UD
406292011-01-17 Ulrich Drepper <drepper@gmail.com>
40630
6392473f
UD
40631 * version.h (RELEASE): Bump for 2.13 release.
40632 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
40633
620a0529
UD
40634 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
40635
18ba70a5
UD
40636 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
40637 MADV_NOHUGEPAGE.
32465c3e
UD
40638 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
40639 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
40640 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
40641 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
40642 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
40643 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
40644
c0dafcf1
UD
40645 * posix/getconf.c: Update copyright year.
40646 * catgets/gencat.c: Likewise.
40647 * csu/version.c: Likewise.
40648 * debug/catchsegv.sh: Likewise.
40649 * debug/xtrace.sh: Likewise.
40650 * elf/ldconfig.c: Likewise.
40651 * elf/ldd.bash.in: Likewise.
40652 * elf/sprof.c (print_version): Likewise.
40653 * iconv/iconv_prog.c: Likewise.
40654 * iconv/iconvconfig.c: Likewise.
40655 * locale/programs/locale.c: Likewise.
40656 * locale/programs/localedef.c: Likewise.
40657 * malloc/memusage.sh: Likewise.
40658 * malloc/mtrace.pl: Likewise.
40659 * nscd/nscd.c (print_version): Likewise.
40660 * nss/getent.c: Likewise.
40661
a77e8cbc
UD
40662 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
40663 PF_CAIF, and PF_ALG.
40664 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
40665
77e8bddf
AS
406662011-01-16 Andreas Schwab <schwab@linux-m68k.org>
40667
1f20b93a
AS
40668 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
40669 (modules-names): Use them.
40670 (ifunc-test-modules, ifunc-pie-tests): Define.
40671 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
40672 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
40673 (test-extras): Likewise.
40674 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
40675 $(compile-command.c).
40676 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
40677 (all-built-dso): Define.
40678 (check-textrel.out, check-execstack.out): Depend on it.
40679
77e8bddf
AS
40680 * configure.in: Don't override --enable-multi-arch.
40681
bc425b33
UD
406822011-01-15 Ulrich Drepper <drepper@gmail.com>
40683
40684 [BZ #6812]
40685 * nscd/hstcache.c (tryagain): Define.
40686 (cache_addhst): Return tryagain not notfound for temporary errors.
40687 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
40688 failed.
40689
794c3ad3
UD
406902011-01-14 Ulrich Drepper <drepper@gmail.com>
40691
70181fdd
UD
40692 [BZ #10563]
40693 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
40694 to make the syscall.
40695 * sysdeps/unix/sysv/linux/setgroups.c: New file.
40696
794c3ad3
UD
40697 [BZ #12378]
40698 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
40699 and fall back to matching as normal character if the string ends before
40700 the matching ']' is found. This is what POSIX requires.
40701 * posix/testfnm.c: Adjust test result.
40702 * posix/globtest.sh: Adjust test result. Add new test.
40703 * posix/tst-fnmatch.input: Likewise.
40704 * posix/tst-fnmatch2.c: Add new test.
40705
68dc9497
AS
407062010-12-28 Andreas Schwab <schwab@linux-m68k.org>
40707
40708 * elf/Makefile (check-execstack): Revert last change. Depend on
40709 check-execstack.h.
40710 (check-execstack.h): New target.
40711 (generated): Add check-execstack.h.
40712 * elf/check-execstack.c: Include "check-execstack.h".
40713 (main): Revert last change.
40714 (handle_file): Return zero if GNU_STACK is absent and
40715 DEFAULT_STACK_PERMS doesn't include PF_X.
40716
451f001b
UD
407172011-01-13 Ulrich Drepper <drepper@gmail.com>
40718
cfa28e56
UD
40719 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
40720 in child fails because the descriptor is already closed.
8cf8ce17
UD
40721 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
40722 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
40723 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 40724
1086d70d
UD
40725 [BZ #12397]
40726 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
40727 syscall.
40728
451f001b
UD
40729 [BZ #10484]
40730 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
40731 temporary buffer used to handle multi lookups locally.
a85b5cb4 40732 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 40733
08769175
UD
407342011-01-12 Ulrich Drepper <drepper@gmail.com>
40735
40736 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
40737 loader is ld.so.
40738
5e49c52e
UD
407392011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
40740
40741 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
40742 alignment for SSE2.
40743
60522a5f
UD
407442011-01-12 Ulrich Drepper <drepper@gmail.com>
40745
40746 [BZ #12394]
40747 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
40748 characters. When rounding increased number of integer digits recompute
40749 number of groups.
40750 * stdio-common/tst-grouping.c: New file.
40751 * stdio-common/Makefile: Add rules to build and run tst-grouping.
40752
f257bbd7
UD
407532011-01-09 Ulrich Drepper <drepper@gmail.com>
40754
40755 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
40756 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
40757
40758 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
40759 void.
40760 * bits/select.h: Likewise.
40761
fa9c15cb
UD
407622011-01-08 Ulrich Drepper <drepper@gmail.com>
40763
40764 * po/ja.po: Update from translation team.
40765
16c2895f
DM
407662011-01-04 David S. Miller <davem@sunset.davemloft.net>
40767
40768 [BZ #11155]
40769 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
40770 implementation just like for lxstat, fxstatat, et al.
40771
2543fef2
JM
407722010-12-27 Jim Meyering <meyering@redhat.com>
40773
40774 [BZ #12348]
40775 * posix/regexec.c (build_trtable): Return failure indication upon
40776 calloc failure. Otherwise, re_search_internal could infloop on OOM.
40777
98727dbe
UD
407782010-12-25 Ulrich Drepper <drepper@gmail.com>
40779
5bd6dc5c
UD
40780 [BZ #12201]
40781 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
40782 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
40783 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
40784 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
40785
97983464
UD
40786 [BZ #12207]
40787 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
40788
98727dbe
UD
40789 [BZ #12204]
40790 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
40791 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
40792
4a531bb0
L
407932010-12-15 H.J. Lu <hongjiu.lu@intel.com>
40794
40795 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
40796 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
40797 script has SORT_BY_INIT_PRIORITY.
40798 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
40799 NO_CTORS_DTORS_SECTIONS is defined.
40800 * elf/soinit.c: Likewise.
40801 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
40802 NO_CTORS_DTORS_SECTIONS is defined.
40803 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
40804 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
40805 * sysdeps/sh/init-first.c: Likewise.
40806 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
40807
07eb4b71
UD
408082010-12-24 Ulrich Drepper <drepper@gmail.com>
40809
40810 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
40811 always use the slow path.
40812
30950a5f
RA
408132010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
40814
40815 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
40816 similar rule which adds the sysdep directories to the header search in
40817 order to pick up the correct platform stackinfo.h.
40818 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
40819 perform test if it is, otherwise return successfully without testing.
40820 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
40821 DEFAULT_STACK_PERMS define in stackinfo.h.
40822 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
40823 defined in stackinfo.h.
40824 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
40825 DEFAULT_STACK_PERMS defined in stackinfo.h.
40826 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
40827 * sysdeps/ia64/stackinfo.h: Likewise.
40828 * sysdeps/s390/stackinfo.h: Likewise.
40829 * sysdeps/sh/stackinfo.h: Likewise.
40830 * sysdeps/sparc/stackinfo.h: Likewise.
40831 * sysdeps/x86_64/stackinfo.h: Likewise.
40832 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
40833 PF_X for powerpc64. Retain PF_X for powerpc32.
40834
db753e2c
UD
408352010-12-19 Ulrich Drepper <drepper@gmail.com>
40836
14b697f7
UD
40837 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
40838 accurately.
db753e2c
UD
40839 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
40840 GETDENTS_64BIT_ALIGNED.
40841
28300719
UD
408422010-12-14 Ulrich Drepper <dreper@gmail.com>
40843
14b697f7 40844 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 40845
4f197237
AS
408462010-12-10 Andreas Schwab <schwab@redhat.com>
40847
dbb0472f
AS
40848 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
40849 _GNU_SOURCE.
40850
4f197237
AS
40851 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
40852 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
40853 Remove __restrict.
40854 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
40855 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
40856
fb88ac72
UD
408572010-12-09 Ulrich Drepper <drepper@gmail.com>
40858
40859 [BZ #11655]
40860 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
40861 are initialized.
40862
42acbb92
JJ
408632010-12-09 Jakub Jelinek <jakub@redhat.com>
40864
40865 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
40866
c038d98d
UD
408672010-12-03 Ulrich Drepper <drepper@gmail.com>
40868
40869 * po/it.po: Update from translation team.
40870
3a4a2499
L
408712010-12-01 H.J. Lu <hongjiu.lu@intel.com>
40872
40873 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
40874 unused codes.
40875
1e24cf6e
UD
408762010-11-30 Ulrich Drepper <drepper@gmail.com>
40877
40878 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
40879
a7690819
AS
408802010-11-24 Andreas Schwab <schwab@redhat.com>
40881
40882 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
40883 specially.
40884 (gaih_getanswer_slice): Likewise.
40885
3bf8d1b1
JJ
408862010-10-20 Jakub Jelinek <jakub@redhat.com>
40887
40888 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
40889
6db52fbb
PB
408902010-05-31 Petr Baudis <pasky@suse.cz>
40891
40892 [BZ #11149]
40893 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
40894 silently even in the chroot mode.
40895
eaca7569
UD
408962010-11-22 Ulrich Drepper <drepper@gmail.com>
40897
40898 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
40899 last patch a bit. Pretty printing
40900
3056dcdb
UD
409012010-05-31 Petr Baudis <pasky@suse.cz>
40902
40903 [BZ #10085]
40904 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
40905 initialization of skip_initgroups_dyn.
40906
cf7c9078
UD
409072010-11-19 Ulrich Drepper <drepper@gmail.com>
40908
40909 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
40910 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
40911
a1fb5e3e
UD
409122010-11-16 Ulrich Drepper <drepper@gmail.com>
40913
40914 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
40915
3540d66b
AS
409162010-11-11 Andreas Schwab <schwab@redhat.com>
40917
40918 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
40919 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
40920 (tst-fnmatch-ENV): Set MALLOC_TRACE.
40921 ($(objpfx)tst-fnmatch-mem): New rule.
40922 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
40923 * posix/tst-fnmatch.c (main): Call mtrace.
40924
13b69574
L
409252010-11-11 H.J. Lu <hongjiu.lu@intel.com>
40926
40927 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40928 Support Intel processor model 6 and model 0x2c.
40929
da93d214
LM
409302010-11-10 Luis Machado <luisgpm@br.ibm.com>
40931
40932 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
40933 signed comparison.
40934
8ca52c6e
L
409352010-11-09 H.J. Lu <hongjiu.lu@intel.com>
40936
40937 [BZ #12205]
40938 * string/test-strncasecmp.c (check_result): New function.
40939 (do_one_test): Use it.
40940 (check1): New function.
40941 (test_main): Use it.
40942 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
40943 Support strcasecmp and strncasecmp.
40944
69da074d
UD
409452010-11-08 Ulrich Drepper <drepper@gmail.com>
40946
40947 [BZ #12194]
40948 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
40949 * sysdeps/x86_64/bits/byteswap.h: Likewise.
40950
ff02d528
L
409512010-11-07 H.J. Lu <hongjiu.lu@intel.com>
40952
40953 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
40954 IFUNC support.
40955 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40956 memset-x86-64.
40957 * sysdeps/x86_64/multiarch/bzero.S: New file.
40958 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
40959 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
40960 * sysdeps/x86_64/multiarch/memset.S: New file.
40961 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
40962 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40963 Set bit_Prefer_SSE_for_memop for Intel processors.
40964 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
40965 Define.
40966 (index_Prefer_SSE_for_memop): Define.
40967 (HAS_PREFER_SSE_FOR_MEMOP): Define.
40968
344d0b54
LM
409692010-11-04 Luis Machado <luisgpm@br.ibm.com>
40970
40971 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
40972 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
40973
c0dde15b
UD
409742010-11-03 H.J. Lu <hongjiu.lu@intel.com>
40975
40976 [BZ #12191]
40977 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
40978 (__x86_64_raw_data_cache_size_half): Likewise.
40979 (__x86_64_raw_shared_cache_size): Likewise.
40980 (__x86_64_raw_shared_cache_size_half): Likewise.
40981
40982 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
40983 (__x86_64_raw_data_cache_size_half): Likewise.
40984 (__x86_64_raw_shared_cache_size): Likewise.
40985 (__x86_64_raw_shared_cache_size_half): Likewise.
40986 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
40987 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
40988 and __x86_64_raw_shared_cache_size_half. Round
40989 __x86_64_data_cache_size_half, __x86_64_data_cache_size
40990 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
40991 to multiple of 256 bytes.
40992
0e516e0e
MS
409932010-11-03 Ulrich Drepper <drepper@gmail.com>
40994
40995 [BZ #12167]
40996 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
40997 of inacessible symlinks. Verify result of symlink before returning it.
40998 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
40999 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
41000
0e012e87
ER
410012010-10-28 Erich Ritz <erichritz@gmail.com>
41002
41003 * math/math.h (isinf): Fix typo in comment.
41004
de0ff7bc
UD
410052010-11-01 Ulrich Drepper <drepper@gmail.com>
41006
41007 * po/da.po: Update from translation team.
41008
fa41c84d
UD
410092010-10-26 Ulrich Drepper <drepper@gmail.com>
41010
41011 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
41012 is added to the list.
41013
f0967738
AK
410142010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41015 Ulrich Drepper <drepper@gmail.com>
41016
41017 * elf/dl-object.c (_dl_new_object): Don't append the new object to
41018 the global list here. Move code to...
41019 (_dl_add_to_namespace_list): ...here. New function.
41020 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
41021 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
41022 * elf/dl-load.c (lose): Don't remove the element from the list.
41023 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
41024 (_dl_map_object): Likewise.
41025
410262010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
41027
41028 [BZ #12159]
41029 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
41030 into all bytes of SSE register.
41031 Patch by Richard Li <richardpku@gmail.com>.
41032
f0967738 410332010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
41034
41035 [BZ #12140]
41036 * malloc/malloc.c (_int_free): Fill correct number of bytes when
41037 perturbing.
41038
d0b9e94f
MB
410392010-10-20 Michael B. Brutman <brutman@us.ibm.com>
41040
41041 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
41042 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
41043 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
41044 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
41045 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
41046 submachine.
41047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
41048
8e9f92e9
AS
410492010-10-22 Andreas Schwab <schwab@redhat.com>
41050
41051 * include/dlfcn.h (__RTLD_SECURE): Define.
41052 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
41053 mode & __RTLD_SECURE instead.
41054 (open_path): Rename preloaded parameter to secure.
41055 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
41056 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
41057 * elf/dl-deps.c (openaux): Likewise.
41058 * elf/rtld.c (struct map_args): Remove is_preloaded.
41059 (map_doit): Don't use it.
41060 (dl_main): Likewise.
41061 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
41062 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
41063
bc96fbda
AS
410642010-09-09 Andreas Schwab <schwab@redhat.com>
41065
41066 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
41067 (sysd-rules-targets): Remove duplicates.
41068 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
41069 rtld-%.$o dependency.
41070
22cd1c9b
AS
410712010-10-18 Andreas Schwab <schwab@redhat.com>
41072
41073 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
41074 _dl_map_object do it.
41075
18edac48
UD
410762010-10-19 Ulrich Drepper <drepper@gmail.com>
41077
41078 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
41079 fast fma builtins, define the macros in the C99 standard.
41080 (FP_FAST_FMAF): Likewise.
41081 (FP_FAST_FMAL): Likewise.
41082 * sysdeps/x86_64/bits/mathdef.h: Likewise.
41083
41084 * bits/mathdef.h: Update copyright year.
41085 * sysdeps/powerpc/bits/mathdef.h: Likewise.
41086
d2050124
MM
410872010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
41088
41089 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
41090 builtins, define the macros in the C99 standard.
41091 (FP_FAST_FMAF): Likewise.
41092 (FP_FAST_FMAL): Likewise.
41093 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
41094 multiply/add.
41095 (FP_FAST_FMAF): Likewise.
41096
475facd1
JJ
410972010-10-15 Jakub Jelinek <jakub@redhat.com>
41098
41099 [BZ #3268]
41100 * math/libm-test.inc (fma_test): Some new testcases.
41101 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
41102 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
41103 y and infinite z. Do multiplication by C already in long double.
41104 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
41105 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
41106 y and infinite z. Do bitwise or of inexact bit into u.d.
41107 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
41108 * sysdeps/i386/fpu/s_fmaf.S: Removed.
41109 * sysdeps/i386/fpu/s_fma.S: Removed.
41110 * sysdeps/i386/fpu/s_fmal.S: Removed.
41111
7c08a05c
JJ
411122010-10-16 Jakub Jelinek <jakub@redhat.com>
41113
41114 [BZ #3268]
41115 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
41116 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
41117 computation is not scheduled after fetestexcept. Fix value
41118 of minimum denormal long double.
41119
f3f7372d
JJ
411202010-10-14 Jakub Jelinek <jakub@redhat.com>
41121
41122 [BZ #3268]
41123 * math/libm-test.inc (fma_test): Add some more tests.
41124 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
41125 correctly.
41126
14d43591
AS
411272010-10-15 Andreas Schwab <schwab@redhat.com>
41128
41129 * scripts/data/localplt-s390-linux-gnu.data: New file.
41130 * scripts/data/localplt-s390x-linux-gnu.data: New file.
41131
5e908464
JJ
411322010-10-13 Jakub Jelinek <jakub@redhat.com>
41133
41134 [BZ #3268]
41135 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
41136 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
41137 instead of dbl-64.
41138 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
41139 inlines.
41140 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
41141 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
41142 if one of x and y is very large and the other is subnormal.
41143 * sysdeps/s390/fpu/s_fmaf.c: New file.
41144 * sysdeps/s390/fpu/s_fma.c: New file.
41145 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
41146 * sysdeps/powerpc/fpu/s_fma.S: New file.
41147 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
41148 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
41149 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
41150
411512010-10-12 Jakub Jelinek <jakub@redhat.com>
41152
41153 [BZ #3268]
41154 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
41155 fma tests.
41156 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
41157 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
41158 * sysdeps/i386/i686/multiarch/s_fma.c: Include
41159 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
41160 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
41161 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
41162 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
41163
b833d51f
UD
411642010-10-12 Ulrich Drepper <drepper@redhat.com>
41165
41166 [BZ #12078]
41167 * posix/regcomp.c (parse_branch): One more memory leak plugged.
41168 * posix/bug-regex31.input: Add test case.
41169
1751705d
UD
411702010-10-11 Ulrich Drepper <drepper@gmail.com>
41171
e9b9cbf5
UD
41172 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
41173 * posix/bug-regex31.input: New file.
41174
41175 [BZ #12078]
41176 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
41177 (parse_sub_exp): Fix last change, use postorder.
41178
ef06edbe
UD
41179 * posix/bug-regex31.c: New file.
41180 * posix/Makefile: Add rules to build and run bug-regex31.
41181
a129c80d
UD
41182 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
41183
41184 [BZ #12078]
41185 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
41186
b76b818e
UD
41187 [BZ #12108]
41188 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
41189 to have entries in sys_siglist.
41190
1751705d
UD
41191 [BZ #12093]
41192 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
41193 be NULL.
41194
9ff8d36f
JJ
411952010-10-07 Jakub Jelinek <jakub@redhat.com>
41196
41197 [BZ #3268]
41198 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
41199 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
41200 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
41201 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
41202 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
41203 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
41204 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
41205 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
41206 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
41207 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
41208 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
41209 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
41210 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
41211 * math/ftestexcept.c (fetestexcept): Likewise.
41212 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
41213 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
41214 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
41215 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
41216 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
41217 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
41218 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
41219
af325969
UD
412202010-10-11 Ulrich Drepper <drepper@gmail.com>
41221
c579b202 41222 [BZ #12107]
af325969
UD
41223 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
41224 newline.
41225
67a67b95
UD
412262010-10-06 Ulrich Drepper <drepper@gmail.com>
41227
41228 * string/bug-strstr1.c: New file.
41229 * string/Makefile: Add rules to build and run bug-strstr1.
41230
5fb308bc
EB
412312010-10-05 Eric Blake <eblake@redhat.com>
41232
41233 [BZ #12092]
41234 * string/str-two-way.h (two_way_long_needle): Always clear memory
41235 when skipping input due to the shift table.
41236
45db99c7
UD
412372010-10-03 Ulrich Drepper <drepper@gmail.com>
41238
3b111893
UD
41239 [BZ #12005]
41240 * malloc/mcheck.c: Handle large requests.
41241
45db99c7
UD
41242 [BZ #12077]
41243 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
41244 for strncmp and strncasecmp.
41245 * string/stratcliff.c: Add tests for strcmp and strncmp.
41246 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
41247
cf7a1eb8
NI
412482010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
41249
41250 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
41251 __set_fpscr.
41252
6484ba5e
AJ
412532010-09-30 Andreas Jaeger <aj@suse.de>
41254
41255 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
41256 (CGROUP_SUPER_MAGIC): Define.
41257 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
41258 Handle btrfs and cgroup file systems.
41259 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
41260 Likewise.
41261
91c42559
LM
412622010-09-27 Luis Machado <luisgpm@br.ibm.com>
41263
41264 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
41265 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
41266
87a97932
AK
412672010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41268
41269 [BZ #12067]
41270 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
41271 trying to locate the ELF header.
41272
c21cc9bc
AS
412732010-09-27 Andreas Schwab <schwab@redhat.com>
41274
41275 [BZ #11611]
41276 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
41277 Mask out sign-bit copies when constructing f_fsid.
41278
315970f6
PB
412792010-09-24 Petr Baudis <pasky@suse.cz>
41280
41281 * debug/stack_chk_fail_local.c: Add missing licence exception.
41282 * debug/warning-nop.c: Likewise.
41283
1ac7a2c7
JM
412842010-09-15 Joseph Myers <joseph@codesourcery.com>
41285
41286 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
41287 implementing getdents64 using getdents syscall, set d_type if
41288 __ASSUME_GETDENTS32_D_TYPE.
41289
56801c50
AS
412902010-09-16 Andreas Schwab <schwab@redhat.com>
41291
41292 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
41293 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
41294
dda51327
UD
412952010-09-21 Ulrich Drepper <drepper@redhat.com>
41296
41297 [BZ #12037]
41298 * posix/unistd.h: Undo change of feature selection for ftruncate from
41299 2010-01-11.
41300
8ffcee4a
UD
413012010-09-20 Ulrich Drepper <drepper@redhat.com>
41302
a545ecd9 41303 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
41304 detection.
41305
e24f0a8b
AS
413062010-09-20 Andreas Schwab <schwab@redhat.com>
41307
41308 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
41309 fanotify_mark.
41310 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
41311
7291c56f
AS
413122010-09-14 Andreas Schwab <schwab@redhat.com>
41313
41314 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
41315 variables after CHECK_SP call.
41316 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
41317
bc5fb037
AS
413182010-09-13 Andreas Schwab <schwab@redhat.com>
41319 Ulrich Drepper <drepper@redhat.com>
41320
41321 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
41322 re-relocationg ld.so.
41323 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
41324 _dl_init_paths call.
41325 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
41326 here anymore.
41327
e66e7419
UD
413282010-09-14 Ulrich Drepper <drepper@redhat.com>
41329
41330 * resolv/res_init.c (__res_vinit): Count the default server we added.
41331
c044aa75
CLT
413322010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
41333 Ulrich Drepper <drepper@redhat.com>
41334
41335 [BZ #11968]
41336 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
41337 (____longjmp_chk): Use %ebx for saving value across system call.
41338 Add unwind info.
41339
32cf4069
AS
413402010-09-06 Andreas Schwab <schwab@redhat.com>
41341
41342 * manual/Makefile: Don't mix pattern rules with normal rules.
41343
817328ee
AS
413442010-09-05 Andreas Schwab <schwab@linux-m68k.org>
41345
41346 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
41347 operation.
41348 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
41349 * libio/iofopncook.c (_IO_cookie_init): Likewise.
41350 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
41351 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
41352 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
41353 Likewise.
41354
29fddf61
UD
413552010-09-04 Ulrich Drepper <drepper@redhat.com>
41356
41357 [BZ #11979]
41358 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
41359 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
41360
0959ffc9
UD
413612010-09-02 Ulrich Drepper <drepper@redhat.com>
41362
41363 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
41364 * sysdeps/x86_64/addmul_1.S: Likewise.
41365 * sysdeps/x86_64/lshift.S: Likewise.
41366 * sysdeps/x86_64/mul_1.S: Likewise.
41367 * sysdeps/x86_64/rshift.S: Likewise.
41368 * sysdeps/x86_64/sub_n.S: Likewise.
41369 * sysdeps/x86_64/submul_1.S: Likewise.
41370
ece29840
ST
413712010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
41372
0959ffc9
UD
41373 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
41374 Define __sched_param instead of SCHED_* and sched_param when
ece29840 41375 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 41376 * bits/sched.h [__need_schedparam]
ece29840 41377 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
41378 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
41379 (__defined_schedparam): Define to 1.
ece29840
ST
41380 (__sched_param): New structure, identical to sched_param.
41381 (__need_schedparam): Undefine.
41382
e53a31fe
MF
413832010-08-31 Mike Frysinger <vapier@gentoo.org>
41384
fdc0c10d
MF
41385 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
41386 (epoll_create1): Declare.
41387
e53a31fe
MF
41388 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
41389
a726d796
AS
413902010-08-31 Andreas Schwab <schwab@redhat.com>
41391
41392 [BZ #7066]
41393 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
41394 shifting retval into place.
41395
2f3e3dc7
UD
413962010-09-01 Ulrich Drepper <drepper@redhat.com>
41397
f2933da9
UD
41398 * nis/rpcsvc/nis.h: Update copyright notice.
41399 * nis/rpcsvc/nis.x: Likewise.
41400 * nis/rpcsvc/nis_callback.h: Likewise.
41401 * nis/rpcsvc/nis_callback.x: Likewise.
41402 * nis/rpcsvc/nis_object.x: Likewise.
41403 * nis/rpcsvc/nis_tags.h: Likewise.
41404 * nis/rpcsvc/yp.h: Likewise.
41405 * nis/rpcsvc/yp.x: Likewise.
41406 * nis/rpcsvc/ypupd.h: Likewise.
41407 * nis/yp_xdr.c: Likewise.
41408 * nis/ypupdate_xdr.c: Likewise.
41409
2f3e3dc7
UD
41410 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
41411 mainly the body of pmap_getport. Add parameters to specify timeouts.
41412 (pmap_getport): Use __libc_rpc_getport.
41413 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
41414 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
41415 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
41416
f3dcc2f9
AS
414172010-08-31 Andreas Schwab <schwab@linux-m68k.org>
41418
41419 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
41420 fanotify_mark.
41421
6d34eb5b
RM
414222010-08-27 Roland McGrath <roland@redhat.com>
41423
41424 * sysdeps/i386/i686/multiarch/Makefile
41425 (CFLAGS-varshift.c): New variable.
41426
9ea3de11
UD
414272010-08-27 Ulrich Drepper <drepper@redhat.com>
41428
c96d23fc
UD
41429 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
41430 * sysdeps/i386/i686/multiarch/varshift.c: New file.
41431
9ea3de11
UD
41432 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
41433
41434 * sysdeps/x86_64/strlen.S: Minimal code improvement.
41435
623aac7f
L
414362010-08-26 H.J. Lu <hongjiu.lu@intel.com>
41437
41438 * sysdeps/x86_64/strlen.S: Unroll the loop.
41439 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41440 strlen-sse2 strlen-sse2-bsf.
41441 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
41442 __strlen_no_bsf if bit_Slow_BSF is set.
41443 (__strlen_sse42): Removed.
41444 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
41445 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
41446
8b2b7715
RM
414472010-08-25 Roland McGrath <roland@redhat.com>
41448
41449 * sysdeps/x86_64/multiarch/varshift.S: File removed.
41450 * sysdeps/x86_64/multiarch/varshift.c: New file.
41451 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
41452 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
41453 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
41454 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
41455
e73015f2
L
414562010-08-25 H.J. Lu <hongjiu.lu@intel.com>
41457
41458 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41459 strlen-sse2 strlen-sse2-bsf.
41460 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
41461 __strlen_sse2_bsf if bit_Slow_BSF is unset.
41462 (__strlen_sse2): Removed.
41463 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
41464 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
41465 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
41466 bit_Slow_BSF for Atom.
41467 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
41468 (index_Slow_BSF): Define.
41469 (HAS_SLOW_BSF): Define.
41470
df24a73e
UD
414712010-08-25 Ulrich Drepper <drepper@redhat.com>
41472
41473 [BZ #10851]
41474 * resolv/res_init.c (__res_vinit): When no server address at all
41475 is given default to loopback.
41476
f2ac4868
RM
414772010-08-24 Roland McGrath <roland@redhat.com>
41478
09055553
RM
41479 * configure.in: Remove config-name.h generation.
41480 * configure: Regenerated.
41481 * config-name.in: File removed.
41482 * scripts/config-uname.sh: New file.
41483 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
41484 ($(objdir)config-name.h): New target.
41485
f2ac4868
RM
41486 * sunrpc/rpc_parse.h: Avoid nested comment.
41487
73f27d5e
RH
414882010-08-24 Richard Henderson <rth@redhat.com>
41489 Ulrich Drepper <drepper@redhat.com>
41490 H.J. Lu <hongjiu.lu@intel.com>
41491
41492 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
41493 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
41494 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
41495 Replace _mm_srli_si128 with __m128i_shift_right. Replace
41496 _mm_alignr_epi8 with _mm_loadu_si128.
41497 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
41498 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
41499 (__m128i_shift_right): Removed.
41500 * sysdeps/i386/i686/multiarch/varshift.h: New file.
41501 * sysdeps/i386/i686/multiarch/varshift.S: New file.
41502 * sysdeps/x86_64/multiarch/varshift.h: New file.
41503 * sysdeps/x86_64/multiarch/varshift.S: New file.
41504
84b9230c
MF
415052010-08-21 Mike Frysinger <vapier@gentoo.org>
41506
41507 * configure.in: Move assembler checks to before sysdep dir checking.
41508
9bbd0ddc
PB
415092010-08-20 Petr Baudis <pasky@suse.cz>
41510
41511 * LICENSES: Sync the sunrpc license.
41512
9da4bb31
UD
415132010-08-19 Ulrich Drepper <drepper@redhat.com>
41514
a7ab6ec8
UD
41515 * sunrpc/auth_des.c: Update copyright notice once again.
41516 * sunrpc/auth_none.c: Likewise.
41517 * sunrpc/auth_unix.c: Likewise.
41518 * sunrpc/authdes_prot.c: Likewise.
41519 * sunrpc/authuxprot.c: Likewise.
41520 * sunrpc/bindrsvprt.c: Likewise.
41521 * sunrpc/clnt_gen.c: Likewise.
41522 * sunrpc/clnt_perr.c: Likewise.
41523 * sunrpc/clnt_raw.c: Likewise.
41524 * sunrpc/clnt_simp.c: Likewise.
41525 * sunrpc/clnt_tcp.c: Likewise.
41526 * sunrpc/clnt_udp.c: Likewise.
41527 * sunrpc/clnt_unix.c: Likewise.
41528 * sunrpc/des_crypt.c: Likewise.
41529 * sunrpc/des_soft.c: Likewise.
41530 * sunrpc/get_myaddr.c: Likewise.
41531 * sunrpc/getrpcport.c: Likewise.
41532 * sunrpc/key_call.c: Likewise.
41533 * sunrpc/key_prot.c: Likewise.
41534 * sunrpc/openchild.c: Likewise.
41535 * sunrpc/pm_getmaps.c: Likewise.
41536 * sunrpc/pm_getport.c: Likewise.
41537 * sunrpc/pmap_clnt.c: Likewise.
41538 * sunrpc/pmap_prot.c: Likewise.
41539 * sunrpc/pmap_prot2.c: Likewise.
41540 * sunrpc/pmap_rmt.c: Likewise.
41541 * sunrpc/rpc/auth.h: Likewise.
41542 * sunrpc/rpc/auth_unix.h: Likewise.
41543 * sunrpc/rpc/clnt.h: Likewise.
41544 * sunrpc/rpc/des_crypt.h: Likewise.
41545 * sunrpc/rpc/key_prot.h: Likewise.
41546 * sunrpc/rpc/netdb.h: Likewise.
41547 * sunrpc/rpc/pmap_clnt.h: Likewise.
41548 * sunrpc/rpc/pmap_prot.h: Likewise.
41549 * sunrpc/rpc/pmap_rmt.h: Likewise.
41550 * sunrpc/rpc/rpc.h: Likewise.
41551 * sunrpc/rpc/rpc_des.h: Likewise.
41552 * sunrpc/rpc/rpc_msg.h: Likewise.
41553 * sunrpc/rpc/svc.h: Likewise.
41554 * sunrpc/rpc/svc_auth.h: Likewise.
41555 * sunrpc/rpc/types.h: Likewise.
41556 * sunrpc/rpc/xdr.h: Likewise.
41557 * sunrpc/rpc_clntout.c: Likewise.
41558 * sunrpc/rpc_cmsg.c: Likewise.
41559 * sunrpc/rpc_common.c: Likewise.
41560 * sunrpc/rpc_cout.c: Likewise.
41561 * sunrpc/rpc_dtable.c: Likewise.
41562 * sunrpc/rpc_hout.c: Likewise.
41563 * sunrpc/rpc_main.c: Likewise.
41564 * sunrpc/rpc_parse.c: Likewise.
41565 * sunrpc/rpc_parse.h: Likewise.
41566 * sunrpc/rpc_prot.c: Likewise.
41567 * sunrpc/rpc_sample.c: Likewise.
41568 * sunrpc/rpc_scan.c: Likewise.
41569 * sunrpc/rpc_scan.h: Likewise.
41570 * sunrpc/rpc_svcout.c: Likewise.
41571 * sunrpc/rpc_tblout.c: Likewise.
41572 * sunrpc/rpc_util.c: Likewise.
41573 * sunrpc/rpc_util.h: Likewise.
41574 * sunrpc/rpcinfo.c: Likewise.
41575 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
41576 * sunrpc/rpcsvc/key_prot.x: Likewise.
41577 * sunrpc/rpcsvc/klm_prot.x: Likewise.
41578 * sunrpc/rpcsvc/mount.x: Likewise.
41579 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
41580 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
41581 * sunrpc/rpcsvc/rex.x: Likewise.
41582 * sunrpc/rpcsvc/rstat.x: Likewise.
41583 * sunrpc/rpcsvc/rusers.x: Likewise.
41584 * sunrpc/rpcsvc/sm_inter.x: Likewise.
41585 * sunrpc/rpcsvc/spray.x: Likewise.
41586 * sunrpc/rpcsvc/yppasswd.x: Likewise.
41587 * sunrpc/rtime.c: Likewise.
41588 * sunrpc/svc.c: Likewise.
41589 * sunrpc/svc_auth.c: Likewise.
41590 * sunrpc/svc_authux.c: Likewise.
41591 * sunrpc/svc_raw.c: Likewise.
41592 * sunrpc/svc_run.c: Likewise.
41593 * sunrpc/svc_simple.c: Likewise.
41594 * sunrpc/svc_tcp.c: Likewise.
41595 * sunrpc/svc_udp.c: Likewise.
41596 * sunrpc/svc_unix.c: Likewise.
41597 * sunrpc/svcauth_des.c: Likewise.
41598 * sunrpc/xcrypt.c: Likewise.
41599 * sunrpc/xdr.c: Likewise.
41600 * sunrpc/xdr_array.c: Likewise.
41601 * sunrpc/xdr_float.c: Likewise.
41602 * sunrpc/xdr_mem.c: Likewise.
41603 * sunrpc/xdr_rec.c: Likewise.
41604 * sunrpc/xdr_ref.c: Likewise.
41605 * sunrpc/xdr_sizeof.c: Likewise.
41606 * sunrpc/xdr_stdio.c: Likewise.
41607
9da4bb31
UD
41608 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
41609 handling.
41610
bdaa77bc
AS
416112010-08-19 Andreas Schwab <schwab@redhat.com>
41612
41613 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
41614
fe2f79db
LM
416152010-08-19 Luis Machado <luisgpm@br.ibm.com>
41616
41617 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
41618 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
41619 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
41620 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
41621 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
41622 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
41623 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
41624 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
41625 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
41626 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
41627 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
41628 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
41629 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
41630 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
41631
b9b42ee0
AB
416322010-07-26 Anton Blanchard <anton@samba.org>
41633
41634 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
41635 * malloc/arena.c (heap_trim): Likewise.
41636
1c06ba31
UD
416372010-08-16 Ulrich Drepper <drepper@redhat.com>
41638
41639 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
41640 here. Not...
41641 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
41642 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
41643
f8392f40
L
416442010-08-12 H.J. Lu <hongjiu.lu@intel.com>
41645
41646 * sysdeps/i386/elf/Makefile: New file.
41647
3162f12e
AS
416482010-08-14 Andreas Schwab <schwab@linux-m68k.org>
41649
41650 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
41651 from fanotify_init.
41652 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
41653 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
41654
28c90b2c
UD
416552010-08-15 Ulrich Drepper <drepper@redhat.com>
41656
41657 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
41658 of strncasecmp_l.
1feccb6c 41659 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 41660
ca6bb004
UD
416612010-08-14 Ulrich Drepper <drepper@redhat.com>
41662
e9f82e0d
UD
41663 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
41664 strncase_l-nonascii.
41665 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
41666 Add strncase_l-ssse3.
41667 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
41668 * sysdeps/x86_64/strcmp.S: Likewise.
41669 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
41670 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
41671 * sysdeps/x86_64/strncase.S: New file.
41672 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
41673 * sysdeps/x86_64/strncase_l.S: New file.
41674 * string/Makefile (strop-tests): Add strncasecmp.
41675 * string/test-strncasecmp.c: New file.
41676
41677 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
41678 warning.
41679
ca6bb004
UD
41680 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
41681 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
41682
052fa7b3
AS
416832010-08-14 Andreas Schwab <schwab@linux-m68k.org>
41684
41685 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
41686
962dba78
UD
416872010-08-12 Ulrich Drepper <drepper@redhat.com>
41688
41689 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
41690 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
41691 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
41692
bebff237
AM
416932010-05-01 Alan Modra <amodra@gmail.com>
41694
41695 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
41696 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
41697 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
41698 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
41699 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
41700 tidying. Don't tail-call __sigjmp_save for static lib.
41701 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
41702 save location.
41703 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
41704 (CALL_MCOUNT): Add eh info, and nop after bl.
41705 (TAIL_CALL_SYSCALL_ERROR): New macro.
41706 (PSEUDO_RET): Use it.
41707 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
41708 Correct save location of integer regs and cr.
41709 (_dl_profile_resolve): Correct cr save location. Delete nops
41710 after bl when SHARED. Reduce cfi size a little by better
41711 placement of cfi directives.
41712 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
41713 make a stack frame. Instead use parm save area as a temp.
41714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
41715 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
41716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
41717 Don't make a stack frame for parent, use parm save area.
41718 Increase child stack frame to 112 bytes. Don't save unused reg,
41719 and adjust reg usage. Set up cfi on error recovery and
41720 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
41721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
41722 (__makecontext): Add dummy nop after jump to exit.
41723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
41724 Use correct parm save area and cr save, reduce stack frame.
41725 Correct cfi for possible PSEUDO_RET frame setup.
41726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
41727 Branch to local label emitted by PSEUDO_RET rather than
41728 __syscall_error.
41729
02637374
AS
417302010-08-12 Andreas Schwab <schwab@redhat.com>
41731
41732 [BZ #11904]
41733 * locale/programs/locale.c (print_assignment): New function.
41734 (show_locale_vars): Use it.
41735
c3e2f19b
UD
417362010-08-11 Ulrich Drepper <drepper@redhat.com>
41737
3cdaa6ad
UD
41738 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
41739 field.
41740 (struct statfs64): Likewise.
41741 (_STATFS_F_FLAGS): Define.
41742 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
41743 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
41744 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
41745 (ST_VALID): Define locally.
41746 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
41747 __statvfs_getflags, use the provided value.
41748 * sysdeps/unix/sysv/linux/kernel-features.h: Define
41749 __ASSUME_STATFS_F_FLAGS.
41750
754f7da3
UD
41751 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
41752
10b3bedc
UD
41753 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
41754 Add sys/fanotify.h.
41755 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
41756 fanotify_mask for GLIBC_2.13.
41757 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
41758 fanotify_init and fanotify_mark.
41759 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
41760 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
41761
c08fb0d7
UD
41762 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
41763 Add prlimit.
41764 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
41765 prlimit64 for GLIBC_2.13.
41766 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
41767 prlimit64.
41768 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
41769 syscall.
41770 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
41771 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
41772 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
41773 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
41774 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
41775 add prlimit alias.
41776 * sysdeps/unix/sysv/linux/prlimit.c: New file.
41777
15bac72b
UD
41778 [BZ #11903]
41779 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
41780 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
41781
c3e2f19b
UD
41782 * nss/Makefile: Add rules to build and run tst-nss-test1.
41783 * shlib-versions: Add entry for libnss_test1.
41784 * nss/nss_test1.c: New file.
41785 * nss/tst-nss-test1.c: New file.
41786
41787 * nss/nsswitch.c (__nss_database_custom): Define new variable.
41788 (__nss_configure_lookup): Set appropriate entry in
41789 __nss_configure_lookup to true.
41790 * nss/nsswitch.h: Define enum with indeces of databases in
41791 databases and __nss_database_custom arrays. Declare
41792 __nss_database_custom.
41793 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
41794 to avoid using nscd when custom rules are installed.
41795 * nss/getXXbyYY_r.c: Likewise.
41796 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
41797
41798 * nss/nss_files/files-parse.c: Whitespace fixes.
41799
f15ce4d8
UD
418002010-08-09 Ulrich Drepper <drepper@redhat.com>
41801
41802 [BZ #11883]
41803 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
41804 * posix/fnmatch_loop.c: Likewise.
41805
d22e4cc9
AK
418062010-07-17 Andi Kleen <ak@linux.intel.com>
41807
41808 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
41809 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
41810 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
41811 * Versions.def [GLIBC_2.13]: Add.
41812
805bc17d
UD
418132010-08-06 Ulrich Drepper <drepper@redhat.com>
41814
41815 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
41816 Also fail if tpwd after pwuid call is NULL.
41817
5a42321d
ST
418182010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
41819
41820 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
41821 when converting to ms.
41822
fd3ebeda
ST
418232010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
41824
41825 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
41826 EOPNOTSUPP errors with ENOTTY.
41827 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
41828 EOPNOTSUPP errors with ENOTTY.
41829
73507d3a
UD
418302010-07-31 Ulrich Drepper <drepper@redhat.com>
41831
41832 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
41833 Add strcasecmp_l-ssse3.
41834 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
41835 strcasecmp.
41836 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
41837 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
41838 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
41839
fe36dd02
UD
418402010-07-30 Ulrich Drepper <drepper@redhat.com>
41841
66f6765a
UD
41842 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
41843
42e08a54
UD
41844 * string/Makefile (strop-tests): Add strcasecmp.
41845 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
41846 strcasecmp_l-nonascii.
41847 (gen-as-const-headers): Add locale-defines.sym.
41848 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
41849 * sysdeps/x86_64/strcasecmp.S: New file.
41850 * sysdeps/x86_64/strcasecmp_l.S: New file.
41851 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
41852 * sysdeps/x86_64/locale-defines.sym: New file.
41853 * string/test-strcasecmp.c: New file.
41854
fe36dd02
UD
41855 * string/test-strcasestr.c: Test both ends of the range of characters.
41856 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
41857
48cbc0d6
RM
418582010-07-29 Roland McGrath <roland@redhat.com>
41859
76e6d6bc 41860 [BZ #11856]
48cbc0d6
RM
41861 * manual/locale.texi (Yes-or-No Questions): Fix example code.
41862
880113d9
UD
418632010-07-27 Ulrich Drepper <drepper@redhat.com>
41864
41865 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
41866 for ld.so.
41867
deb9cabb
AS
418682010-07-27 Andreas Schwab <schwab@redhat.com>
41869
41870 * manual/memory.texi (Malloc Tunable Parameters): Document
41871 M_PERTURB.
41872
1c7570ff
RM
418732010-07-26 Roland McGrath <roland@redhat.com>
41874
41875 [BZ #11840]
41876 * configure.in (-fgnu89-inline check): Set and substitute
41877 gnu89_inline, not libc_cv_gnu89_inline.
41878 * configure: Regenerated.
41879 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
41880
24fb0f88
UD
418812010-07-26 Ulrich Drepper <drepper@redhat.com>
41882
41883 * string/test-strnlen.c: New file.
41884 * string/Makefile (strop-tests): Add strnlen.
41885 * string/tester.c (test_strnlen): Add a few more test cases.
41886 * string/tst-strlen.c: Better error reporting.
41887
41888 * sysdeps/x86_64/strnlen.S: New file.
41889
8e96b93a
UD
418902010-07-24 Ulrich Drepper <drepper@redhat.com>
41891
41892 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
41893 lower-latency instructions.
41894
dbc676d4
UD
418952010-07-23 Ulrich Drepper <drepper@redhat.com>
41896
41897 * string/test-strcasestr.c: New file.
41898 * string/test-strstr.c: New file.
41899 * string/Makefile (strop-tests): Add strstr and strcasestr.
41900 * string/str-two-way.h: Don't undefine MAX.
41901 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
41902
f6a31e0e
AS
419032010-07-21 Andreas Schwab <schwab@redhat.com>
41904
41905 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41906 strcasestr-nonascii.
41907 (CFLAGS-strcasestr-nonascii.c): Define.
41908 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
41909 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
41910 Remove unused attribute.
41911
5dbc3b6c
RM
419122010-07-20 Roland McGrath <roland@redhat.com>
41913
41914 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
41915 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
41916 ld.so.cache was broken. With it, there is no way to disable dsocaps
41917 like LD_HWCAP_MASK can disable hwcaps.
41918
23d101d8
EPM
419192010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
41920
41921 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
41922
cc9f2e47
UD
419232010-07-16 Ulrich Drepper <drepper@redhat.com>
41924
41925 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
41926 call in strcasestr.
41927 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
41928 __strcasestr_sse42_nonascii.
41929 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
41930 strcasestr-nonascii.c.
41931 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
41932
77c1b069
LM
419332010-06-15 Luis Machado <luisgpm@br.ibm.com>
41934
41935 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
41936 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
41937 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
41938 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
41939
440566c3
UD
419402010-07-09 Ulrich Drepper <drepper@redhat.com>
41941
41942 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
41943 fcntl.
41944
5be9d05d
AS
419452010-07-06 Andreas Schwab <schwab@redhat.com>
41946
c30b7ee2 41947 [BZ #11577]
5be9d05d
AS
41948 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
41949 dl_signal_cerror.
41950
8a492a67
UD
419512010-07-06 Ulrich Drepper <drepper@redhat.com>
41952
41953 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
41954 _PC_PIPE_BUF using F_GETPIPE_SZ.
41955
713df3d5
RM
419562010-07-05 Roland McGrath <roland@redhat.com>
41957
41958 * manual/arith.texi (Rounding Functions): Fix rint description
41959 implicit in round description.
41960
702e8f14
UD
419612010-07-02 Ulrich Drepper <drepper@redhat.com>
41962
41963 * elf/Makefile: Fix linking for a few tests to make recent linker
41964 happy.
41965
52ed8be9
AS
419662010-06-30 Andreas Schwab <schwab@redhat.com>
41967
41968 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
41969 $(common-objpfx)libc_nonshared.a.
41970
f47c9a11
LM
419712010-06-21 Luis Machado <luisgpm@br.ibm.com>
41972
41973 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
41974 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
41975 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
41976 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
41977 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
41978 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
41979 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
41980 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
41981 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
41982 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
41983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
41984 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
41985 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
41986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
41987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
41988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
41989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
41990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
41991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
41992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
41993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
41994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
41995 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
41996 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
41997 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
41998 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
41999 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
42000 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
42001 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
42002 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
42003 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
42004 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
42005 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
42006 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
42007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
42008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
42009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
42010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
42011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
42012 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
42013 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
42014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
42015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
42016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
42017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
42018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
42019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
42020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
42021
6fb8cbcb
L
420222010-06-25 H.J. Lu <hongjiu.lu@intel.com>
42023
42024 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
42025 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
42026 * string/memmove.c (memmove): Renamed to ...
42027 (MEMMOVE): ...this. Default to memmove.
42028 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
42029 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
42030 (END_CHK): Define.
42031 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42032 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
42033 mempcpy-ssse3-back memmove-ssse3-back.
42034 * sysdeps/x86_64/multiarch/bcopy.S: New file .
42035 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
42036 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
42037 * sysdeps/x86_64/multiarch/memcpy.S: New file.
42038 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
42039 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
42040 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
42041 * sysdeps/x86_64/multiarch/memmove.c: New file.
42042 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
42043 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
42044 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
42045 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
42046 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
42047 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
42048 Define.
42049 (index_Fast_Copy_Backward): Define.
42050 (HAS_ARCH_FEATURE): Define.
42051 (HAS_FAST_REP_STRING): Define.
42052 (HAS_FAST_COPY_BACKWARD): Define.
42053
4e733bac 420542010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
42055
42056 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
42057 Restore proper fallback handling.
42058
63c4ed22
UD
420592010-06-19 Ulrich Drepper <drepper@redhat.com>
42060
ac2b484c
UD
42061 [BZ #11701]
42062 * posix/group_member.c (__group_member): Correct checking loop.
42063
63c4ed22
UD
42064 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
42065 OOM in getpwuid_r correctly. Return error number when the caller
42066 should return, otherwise -1.
42067 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
42068 call returning > 0 value.
42069 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
42070
765ade4b
AS
420712010-06-07 Andreas Schwab <schwab@redhat.com>
42072
42073 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
42074 libc_nonshared.a from targets in modules-names.
42075
80da2e09
KS
420762010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
42077
42078 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
42079 requires it.
42080
158db122
LM
420812010-06-10 Luis Machado <luisgpm@br.ibm.com>
42082
42083 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
42084 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
42085 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
42086 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
42087
caa78cf8
AS
420882010-06-02 Andreas Schwab <schwab@redhat.com>
42089
42090 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
42091
b2ef2c01
UD
420922010-06-14 Ulrich Drepper <drepper@redhat.com>
42093
42094 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
42095 and F_GETPIPE_SZ.
42096 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
42097 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
42098 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
42099 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42100 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
42101 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
42102
fbd643b6
RM
421032010-06-14 Roland McGrath <roland@redhat.com>
42104
42105 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
42106
f32f2869
JJ
421072010-06-07 Jakub Jelinek <jakub@redhat.com>
42108
42109 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
42110 __REDIRECT followed by __THROW.
42111 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
42112 * posix/getopt.h (getopt): Likewise.
42113
2a50c078
EPM
421142010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
42115
42116 * hurd/lookup-at.c (__file_name_lookup_at): Accept
42117 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
42118 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
42119 in AT_FLAGS.
42120 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
42121 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
42122
eb5ad2eb
LM
421232010-05-28 Luis Machado <luisgpm@br.ibm.com>
42124
42125 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
42126
3c88fe1e
L
421272010-05-26 H.J. Lu <hongjiu.lu@intel.com>
42128
42129 [BZ #11640]
42130 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42131 Properly check family and model.
42132
d2f73151
TY
421332010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
42134
42135 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
42136
ebd2e13d
LM
421372010-05-24 Luis Machado <luisgpm@br.ibm.com>
42138
42139 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
42140
b32b8b45
UD
421412010-05-21 Ulrich Drepper <drepper@redhat.com>
42142
42143 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
42144 symbol reference.
42145
9acbe24d
AS
421462010-05-19 Andreas Schwab <schwab@redhat.com>
42147
42148 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
42149 symbol reference.
42150
f0ccf6ea
AS
421512010-05-21 Andreas Schwab <schwab@redhat.com>
42152
3d04ff3a
AS
42153 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
42154 and internal_recvmmsg.
42155 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
42156 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
42157 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
42158 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
42159
f0ccf6ea
AS
42160 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
42161 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
42162 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
42163
5b08ac57
AS
421642010-05-20 Andreas Schwab <schwab@redhat.com>
42165
42166 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
42167
4828935d
LM
421682010-05-17 Luis Machado <luisgpm@br.ibm.com>
42169
42170 POWER7 optimizations.
42171 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
42172 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
42173
373d545e
UD
421742010-05-19 Ulrich Drepper <drepper@redhat.com>
42175
42176 * version.h: Update for 2.13 development version.
42177
21a2b1ae
AS
421782010-05-12 Andrew Stubbs <ams@codesourcery.com>
42179
42180 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
42181 exceptions. Return 0.
42182
3f7dcb2b
RM
421832010-05-07 Roland McGrath <roland@redhat.com>
42184
42185 * elf/ldconfig.c (main): Add a const.
42186
5f24d53a 421872010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 42188
a160f8d8
UD
42189 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
42190 (args_options): Add no-idn option.
42191 (ahosts_keys_int): Add idn_flags to ai_flags.
42192 (parse_option): Handle 'i' option to clear idn_flags.
42193
5f24d53a
UD
42194 * malloc/malloc.c (_int_free): Possible race in the most recently
42195 added check. Only act on the data if no current modification
42196 happened.
265bb1ce
UD
42197
42198See ChangeLog.17 for earlier changes.