]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Fix __ASSUME_PREADV and __ASSUME_PWRITEV for Alpha and MicroBlaze (bug 16649).
[thirdparty/glibc.git] / ChangeLog
CommitLineData
b1115e91
JM
12014-03-19 Joseph Myers <joseph@codesourcery.com>
2
3 [BZ #16649]
4 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
6 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
7 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8 (__ASSUME_PREADV): Undefine.
9 (__ASSUME_PWRITEV): Likewise.
10
0283ecca
RM
112014-03-18 Roland McGrath <roland@hack.frob.com>
12
7d375303
RM
13 * bits/mman-linux.h: Add comment about non-Linux use.
14 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
15 bits/mman-linux.h resting place.
16
0283ecca
RM
17 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
18 * bits/mman-linux.h: ... here.
19
aebe1003
AZ
202014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21
22 * conform/conformtest.pl: Add standard definition when calling C
23 preprocessor on data files.
24 (checknamespace): Remove unused variable.
25
b29b6bb8
JM
262014-03-18 Joseph Myers <joseph@codesourcery.com>
27
28 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
29 minus_oflow, plus_uflow and minus_uflow in expected results.
30 * math/libm-test.inc (scalbn_test_data): Add more tests of
31 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
32 minus_uflow.
33 (scalbn_test): Use ALL_RM_TEST.
34 (scalbln_test_data): Add more tests of negative arguments. Use
35 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
36 (scalbln_test): Use ALL_RM_TEST.
37
c8f8fa15
RM
382014-03-18 Roland McGrath <roland@hack.frob.com>
39
40 * scripts/abilist.awk: Ignore symbols marked with .hidden.
41
fede7a5f
WN
422014-03-18 Will Newton <will.newton@linaro.org>
43
44 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
45 inaccurate comment.
46
80cf0a58
JM
472014-03-18 Joseph Myers <joseph@codesourcery.com>
48
49 * Makerules [!subdir] (check-abi): Exit with error status if a
50 test failed.
51
b3620862
JM
522014-03-17 Joseph Myers <joseph@codesourcery.com>
53
54 * math/libm-test.inc (nearbyint_test_data): Include all tests used
55 for rint. Include results for all rounding modes.
56 (nearbyint_test): Use ALL_RM_TEST.
57 (rint_test_data): Include all tests used for nearbyint.
58
788bba36
WN
592014-03-17 Will Newton <will.newton@linaro.org>
60
04ec140a
WN
61 * nptl/sysdeps/pthread/pthread.h: Revert previous
62 change.
63
7579d8d5
WN
64 * sysdeps/generic/ldsodefs.h: Revert previous
65 change.
66
c15cf13a
WN
67 * libio/genops.c: Revert previous change.
68 * libio/libioP.h: Likewise.
69 * stdio-common/vfprintf.c: Likewise.
70
d0ac1324
WN
71 * sysdeps/generic/math_private.h: Revert previous
72 change.
73
9290130a
WN
74 * sysdeps/generic/math_private.h: Check whether
75 HAVE_RM_CTX is defined with #ifdef rather
76 than #if.
77
afb466fc
WN
78 * argp/argp-fmtstream.h: Check whether
79 __STRICT_ANSI__ is defined with #ifdef rather
80 than #if.
81 * argp/argp.h: Likewise.
82
f7efd7c3
WN
83 * libio/genops.c: Check whether
84 _IO_JUMPS_OFFSET is defined with #ifdef rather
85 than #if.
86 * libio/libioP.h: Likewise.
87 * stdio-common/vfprintf.c: Likewise.
88
53f1bed3
WN
89 * sysdeps/generic/ldsodefs.h: Check whether
90 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
91 than #if.
92
788bba36
WN
93 * nptl/sysdeps/pthread/pthread.h: Check
94 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
95 its value.
96
fcd89ebe
SP
972014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
98
ae42bbc5
SP
99 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
100 setting O_APPEND.
101 * libio/tst-ftell-active-handler.c (do_append_test): Add a
102 test case.
103
ea33158c
SP
104 [BZ #16680]
105 * libio/fileops.c (_IO_file_open): Seek to end of file but
106 don't cache the offset.
107 (get_file_offset): Remove function.
108 (do_ftell): Use cached offset when available.
109 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
110 don't cache the offset.
111 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
112 case.
113 (do_one_test): Call it.
114 (do_ftell_test): Fix up expected old offset for a+ mode.
115 * libio/wfileops.c (do_ftell_wide): Used cached offset when
116 available.
117
b1dbb426
SP
118 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
119 up test status with function return status.
120 (do_write_test): Likewise.
121 (do_append_test): Likewise.
122
fcd89ebe
SP
123 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
124 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
125 Remove.
126
9962a2d3
JM
1272014-03-17 Joseph Myers <joseph@codesourcery.com>
128
129 * math/gen-libm-test.pl (parse_args): Handle results specified for
130 each rounding mode separately.
131 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
132 tests and results from lrint_tonearest_test_data,
133 lrint_towardzero_test_data, lrint_downward_test_data and
134 lrint_upward_test_data.
135 (lrint_test): Use ALL_RM_TEST.
136 (lrint_tonearest_test_data): Remove.
137 (lrint_test_tonearest): Likewise.
138 (lrint_towardzero_test_data): Likewise.
139 (lrint_test_towardzero): Likewise.
140 (lrint_downward_test_data): Likewise.
141 (lrint_test_downward): Likewise.
142 (lrint_upward_test_data): Likewise.
143 (lrint_test_upward): Likewise.
144 (llrint_test_data): Merge in per-rounding-mode tests and results
145 from llrint_tonearest_test_data, llrint_towardzero_test_data,
146 llrint_downward_test_data and llrint_upward_test_data.
147 (llrint_test): Use ALL_RM_TEST.
148 (llrint_tonearest_test_data): Remove.
149 (llrint_test_tonearest): Likewise.
150 (llrint_towardzero_test_data): Likewise.
151 (llrint_test_towardzero): Likewise.
152 (llrint_downward_test_data): Likewise.
153 (llrint_test_downward): Likewise.
154 (llrint_upward_test_data): Likewise.
155 (llrint_test_upward): Likewise.
156 (rint_test_data): Merge in per-rounding-mode tests and results
157 from rint_tonearest_test_data, rint_towardzero_test_data,
158 rint_downward_test_data and rint_upward_test_data. Add
159 per-rounding-mode results for tests not in those arrays.
160 (rint_test): Use ALL_RM_TEST.
161 (rint_tonearest_test_data): Remove.
162 (rint_test_tonearest): Likewise.
163 (rint_towardzero_test_data): Likewise.
164 (rint_test_towardzero): Likewise.
165 (rint_downward_test_data): Likewise.
166 (rint_test_downward): Likewise.
167 (rint_upward_test_data): Likewise.
168 (rint_test_upward): Likewise.
169 (main): Don't call removed functions.
170
5006148e
RM
1712014-03-14 Roland McGrath <roland@hack.frob.com>
172
173 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
174 "Compiled on ..." crapola. It is anti-useful.
175
d6fe5e58
JM
1762014-03-14 Joseph Myers <joseph@codesourcery.com>
177
178 * scripts/evaluate-test.sh: Handle fourth argument to determine
179 whether test run should stop on failure.
180 * Makeconfig (stop-on-test-failure): New variable.
181 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
182 $(stop-on-test-failure).
183 * Makefile (tests): Give a summary of results from testing and
184 exit with failure status if they include an ERROR or FAIL.
185 (xtests): Likewise.
186 * manual/install.texi (Configuring and compiling): Mention
187 stop-on-test-failure=y.
188 * INSTALL: Regenerated.
189
498a2233
RM
1902014-03-14 Roland McGrath <roland@hack.frob.com>
191
22dbc19d
RM
192 * scripts/versionlist.awk: New file.
193 * Makerules [$(build-shared) = yes]
194 (postclean-generated): Add Versions.def, not Versions.def.v and
195 Versions.def.v.i.
196 ($(common-objpfx)Versions.def.v.i): Target removed.
197 ($(common-objpfx)Versions.def): New target.
198 ($(common-objpfx)Versions.all): Depend on that rather that
199 $(common-objpfx)Versions.def.v.
200 * Versions.def: File removed.
201
498a2233
RM
202 * Makeconfig (+gccwarn): Add -Wundef.
203 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
204 a dl-sysdep.h breaking its contract.
205 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
206 * include/stackinfo.h: New file.
207 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
208 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
209 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
210 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
211 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
212 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
213 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
214 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
215 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
216 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
217 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
218 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
219 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
220 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
221 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
222
c7de5025
AZ
2232014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
224
225 [BZ #16707]
226 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
227 implementation.
228 * math/libm-test.inc (round_test_data): Add more tests.
229
98fb27a3
AZ
2302014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
231
232 [BZ #16706]
233 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
234 implementation.
235 * math/libm-test.inc (nearbyint_test_data): Add more tests.
236
374f7f61
AZ
2372014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
238
239 [BZ #16701]
240 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
241 implementation.
242 * math/libm-test.inc (ceil_test_data): Add more tests.
243
4655c291
AZ
2442014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
245
246 * math/libm-test.inc (trunc_test_data): Add more tests related to
247 BZ#16414.
248
d7329d4b
RM
2492014-03-14 Roland McGrath <roland@hack.frob.com>
250
251 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
252 with #if rather than #ifdef.
253 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
254
aa4de9ce
L
2552014-03-14 H.J. Lu <hongjiu.lu@intel.com>
256
257 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
258 first. Disable AVX-512 GCC support if assembler doesn't support
259 it.
260 * sysdeps/x86_64/configure: Regenerated.
261
2e03fae7
CD
2622014-03-13 Carlos O'Donell <carlos@redhat.com>
263
264 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
265 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
266 (__old_pthread_attr_setstack): Likewise.
267 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
268 [!_STACK_GROWS_DOWN]: Likewise.
269
43ca83ec
MF
2702014-03-13 Mike Frysinger <vapier@gentoo.org>
271
272 * config.make.in (have-bash2): Delete.
273 * configure.ac (libc_cv_have_bash2): Delete.
274 * configure: Regenerate.
275 * elf/Makefile (common-ldd-rewrite): Rename to ...
276 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
277 (sh-ldd-rewrite): Delete.
278 (bash-ldd-rewrite): Delete.
279 (have-bash2): Delete checks.
280 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to ldd-rewrite.
281
c66e48b4
MF
2822014-03-13 Mike Frysinger <vapier@gentoo.org>
283
284 * config.make.in (have-ksh): Delete.
285 (KSH): Delete.
286 * configure.ac (libc_cv_have_ksh): Delete.
287 * configure: Regenerate.
288
b93834ef
MF
2892014-03-13 Mike Frysinger <vapier@gentoo.org>
290
291 * elf/Makefile: Delete $(have-ksh) check.
292 ($(objpfx)sotruss): Change KSH to BASH.
293 * elf/sotruss.ksh: Rename to ...
294 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
295 function style to match POSIX. Drop ksh vim mode setting.
296
f3a4632a
MF
2972014-03-13 Mike Frysinger <vapier@gentoo.org>
298
299 * manual/time.texi (Specifying the Time Zone with TZ): Change
300 Tuesday to Thursday.
301
5896c8bd
MF
3022014-03-13 Mike Frysinger <vapier@gentoo.org>
303
304 * debug/tst-longjmp_chk2.c: Update header comment.
305 (stackoverflow_handler): Add comment. Call assert on pass value.
306
2d63a517
IZ
3072014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
308
309 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
310 (HAVE_AVX512_ASM_SUPPORT): Likewise.
311 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
312 (La_x86_64_vector): Add zmm.
313 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
314 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
315 ($(objpfx)tst-audit10): New target.
316 ($(objpfx)tst-audit10.out): Likewise.
317 (tst-audit10-ENV): New.
318 (AVX512-CFLAGS): Likewise.
319 (CFLAGS-tst-audit10.c): Likewise.
320 (CFLAGS-tst-auditmod10a.c): Likewise.
321 (CFLAGS-tst-auditmod10b.c): Likewise.
322 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
323 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
324 * sysdeps/x86_64/configure: Regenerated.
325 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
326 AVX-512 zmm register support.
327 (_dl_x86_64_save_sse): Likewise.
328 (_dl_x86_64_restore_sse): Likewise.
329 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
330 size vector registers.
331 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
332 (ZMM_SIZE): Likewise.
333 * sysdeps/x86_64/tst-audit10.c: New file.
334 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
335 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
336
44c4e5d5
RM
3372014-03-13 Roland McGrath <roland@hack.frob.com>
338
339 * configure.ac (HAVE_EHDR_START): New check.
340 * configure: Regenerated.
341 * config.h.in (HAVE_EHDR_START): New #undef.
342 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
343 assuming the lowest-addressed segment maps the start of the file.
344
acd6e389
JM
3452014-03-13 Joseph Myers <joseph@codesourcery.com>
346
347 * INSTALL: Regenerated.
348
6f918f36
WN
3492014-03-13 Will Newton <will.newton@linaro.org>
350
351 * manual/setjmp.texi (System V contexts): Improve
352 clarity and grammar of documentation.
353
798212a0
PP
3542014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
355
356 [BZ #16381]
798212a0 357 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 358 (tests-pie): Add tst-pie2.
798212a0
PP
359 * elf/tst-pie2.c: New file.
360 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
361 for ET_EXEC.
362 * elf/rtld.c (map_doit): Load executable as lt_executable.
363 (dl_main): Likewise.
364
abe6d90c
JM
3652014-03-12 Joseph Myers <joseph@codesourcery.com>
366
367 [BZ #16642]
368 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
369 (__ASSUME_PSELECT): Undefine.
370
dd3946c6
AZ
3712014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
372
373 [BZ #16689]
374 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
375 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
376 static build.
377 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
378 selector for static builds.
379
c44496df
SP
3802014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
381
382 [BZ #16695]
383 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
384 key in the buffer.
385
27c7220a
AZ
3862014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
387
388 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build IFUNC
389 selector for static builds.
390
600fa361
JM
3912014-03-11 Joseph Myers <joseph@codesourcery.com>
392
76c96cf7
JM
393 * sysdeps/mips/math_private.h [__mips_hard_float]
394 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
395 libc_feresetround_mips_ctx.
396 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
397 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
398 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
399
600fa361
JM
400 [BZ #16677]
401 * math/s_nextafter.c (__nextafter): Do not return value from
402 overflowing computation.
403 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
404 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
405 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
406 Likewise.
407 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
408 Likewise.
409 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
410 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
411
d7706c32
RM
4122014-03-11 Roland McGrath <roland@hack.frob.com>
413
414 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
415 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
416 Move sfi_sp use from the load-multiple (that no longer sets sp) to
417 the new mov targetting sp.
418
4facea47
AZ
4192014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
420
421 [BZ #16683]
422 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
423 Define it for static builds as well.
424 (NO_BZERO_IMPL): Likewise.
425
e65caf1f
VR
4262014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
427
428 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
429 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
430 multiarch strspn for PPC64.
431 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
432 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
433 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
434 (__libc_ifunc_impl_list): Likewise.
435 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
436 multiarch optimizations
437 * string/strspn.c (strspn): Using macro to redefine symbol name.
438
ba9cc071
AZ
4392014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
440 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
441
442 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
443 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
444 multiarch strncat for PPC64.
445 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
446 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
447 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
448 (__libc_ifunc_impl_list): Likewise.
449 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
450 multiarch optimizations
451
8b4ff974
SP
4522014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
453
454 [BZ #16639]
455 * nscd/nscd.service: Make service type forking.
456
54b46a4b
AZ
4572014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
458
459 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
460 sign in non default rounding modes.
461 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
462
e9996ef7
JM
4632014-03-08 Joseph Myers <joseph@codesourcery.com>
464
465 * math/libm-test.inc (ALL_RM_TEST): New macro.
466 (ceil_test): Use ALL_RM_TEST.
467 (cimag_test): Likewise.
468 (conj_test): Likewise.
469 (copysign_test): Likewise.
470 (cproj_test): Likewise.
471 (creal_test): Likewise.
472 (fabs_test): Likewise.
473 (floor_test): Likewise.
474 (fmax_test): Likewise.
475 (fmin_test): Likewise.
476 (fmod_test): Likewise.
477 (fpclassify_test): Likewise.
478 (frexp_test): Likewise.
479 (ilogb_test): Likewise.
480 (isfinite_test): Likewise.
481 (finite_test): Likewise.
482 (isgreater_test): Likewise.
483 (isgreaterequal_test): Likewise.
484 (isinf_test): Likewise.
485 (isless_test): Likewise.
486 (islessequal_test): Likewise.
487 (islessgreater_test): Likewise.
488 (isnan_test): Likewise.
489 (isnormal_test): Likewise.
490 (issignaling_test): Likewise.
491 (isunordered_test): Likewise.
492 (logb_test): Likewise.
493 (logb_downward_test_data): Remove.
494 (logb_test_downward): Likewise.
495 (lround_test): Use ALL_RM_TEST.
496 (llround_test): Likewise.
497 (modf_test): Likewise.
498 (nexttoward_test): Likewise.
499 (remainder_test): Likewise.
500 (drem_test): Likewise.
501 (remainder_tonearest_test_data): Likewise.
502 (remainder_test_tonearest): Likewise.
503 (drem_test_tonearest): Likewise.
504 (remainder_towardzero_test_data): Likewise.
505 (remainder_test_towardzero): Likewise.
506 (drem_test_towardzero): Likewise.
507 (remainder_downward_test_data): Likewise.
508 (remainder_test_downward): Likewise.
509 (drem_test_downward): Likewise.
510 (remainder_upward_test_data): Likewise.
511 (remainder_test_upward): Likewise.
512 (drem_test_upward): Likewise.
513 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
514 (round_test): Use ALL_RM_TEST.
515 (signbit_test): Likewise.
516 (trunc_test): Likewise.
517 (significand_test): Likewise.
518 (main): Don't call removed functions.
519
bc61d27c
JM
5202014-03-07 Joseph Myers <joseph@codesourcery.com>
521
5c780849
JM
522 [BZ #16674]
523 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
524 || __USE_XOPEN2K8].
525 (ILL_ILLOPN): Likewise.
526 (ILL_ILLADR): Likewise.
527 (ILL_ILLTRP): Likewise.
528 (ILL_PRVOPC): Likewise.
529 (ILL_PRVREG): Likewise.
530 (ILL_COPROC): Likewise.
531 (ILL_BADSTK): Likewise.
532 (FPE_INTDIV): Likewise.
533 (FPE_INTOVF): Likewise.
534 (FPE_FLTDIV): Likewise.
535 (FPE_FLTOVF): Likewise.
536 (FPE_FLTUND): Likewise.
537 (FPE_FLTRES): Likewise.
538 (FPE_FLTINV): Likewise.
539 (FPE_FLTSUB): Likewise.
540 (SEGV_MAPERR): Likewise.
541 (SEGV_ACCERR): Likewise.
542 (BUS_ADRALN): Likewise.
543 (BUS_ADRERR): Likewise.
544 (BUS_OBJERR): Likewise.
545 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
546 (TRAP_TRACE): Likewise.
547 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
548 __USE_XOPEN2K8].
549 (CLD_KILLED): Likewise.
550 (CLD_DUMPED): Likewise.
551 (CLD_TRAPPED): Likewise.
552 (CLD_STOPPED): Likewise.
553 (CLD_CONTINUED): Likewise.
554 (POLL_IN): Likewise.
555 (POLL_OUT): Likewise.
556 (POLL_MSG): Likewise.
557 (POLL_ERR): Likewise.
558 (POLL_PRI): Likewise.
559 (POLL_HUP): Likewise.
560 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
561 Likewise.
562 (ILL_ILLOPN): Likewise.
563 (ILL_ILLADR): Likewise.
564 (ILL_ILLTRP): Likewise.
565 (ILL_PRVOPC): Likewise.
566 (ILL_PRVREG): Likewise.
567 (ILL_COPROC): Likewise.
568 (ILL_BADSTK): Likewise.
569 (FPE_INTDIV): Likewise.
570 (FPE_INTOVF): Likewise.
571 (FPE_FLTDIV): Likewise.
572 (FPE_FLTOVF): Likewise.
573 (FPE_FLTUND): Likewise.
574 (FPE_FLTRES): Likewise.
575 (FPE_FLTINV): Likewise.
576 (FPE_FLTSUB): Likewise.
577 (SEGV_MAPERR): Likewise.
578 (SEGV_ACCERR): Likewise.
579 (BUS_ADRALN): Likewise.
580 (BUS_ADRERR): Likewise.
581 (BUS_OBJERR): Likewise.
582 (BUS_MCEERR_AR): Likewise.
583 (BUS_MCEERR_AO): Likewise.
584 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
585 (TRAP_TRACE): Likewise.
586 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
587 __USE_XOPEN2K8].
588 (CLD_KILLED): Likewise.
589 (CLD_DUMPED): Likewise.
590 (CLD_TRAPPED): Likewise.
591 (CLD_STOPPED): Likewise.
592 (CLD_CONTINUED): Likewise.
593 (POLL_IN): Likewise.
594 (POLL_OUT): Likewise.
595 (POLL_MSG): Likewise.
596 (POLL_ERR): Likewise.
597 (POLL_PRI): Likewise.
598 (POLL_HUP): Likewise.
599 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
600 (ILL_ILLOPN): Likewise.
601 (ILL_ILLADR): Likewise.
602 (ILL_ILLTRP): Likewise.
603 (ILL_PRVOPC): Likewise.
604 (ILL_PRVREG): Likewise.
605 (ILL_COPROC): Likewise.
606 (ILL_BADSTK): Likewise.
607 (FPE_INTDIV): Likewise.
608 (FPE_INTOVF): Likewise.
609 (FPE_FLTDIV): Likewise.
610 (FPE_FLTOVF): Likewise.
611 (FPE_FLTUND): Likewise.
612 (FPE_FLTRES): Likewise.
613 (FPE_FLTINV): Likewise.
614 (FPE_FLTSUB): Likewise.
615 (SEGV_MAPERR): Likewise.
616 (SEGV_ACCERR): Likewise.
617 (BUS_ADRALN): Likewise.
618 (BUS_ADRERR): Likewise.
619 (BUS_OBJERR): Likewise.
620 (BUS_MCEERR_AR): Likewise.
621 (BUS_MCEERR_AO): Likewise.
622 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
623 (TRAP_TRACE): Likewise.
624 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
625 __USE_XOPEN2K8].
626 (CLD_KILLED): Likewise.
627 (CLD_DUMPED): Likewise.
628 (CLD_TRAPPED): Likewise.
629 (CLD_STOPPED): Likewise.
630 (CLD_CONTINUED): Likewise.
631 (POLL_IN): Likewise.
632 (POLL_OUT): Likewise.
633 (POLL_MSG): Likewise.
634 (POLL_ERR): Likewise.
635 (POLL_PRI): Likewise.
636 (POLL_HUP): Likewise.
637 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
638 Likewise.
639 (ILL_ILLOPN): Likewise.
640 (ILL_ILLADR): Likewise.
641 (ILL_ILLTRP): Likewise.
642 (ILL_PRVOPC): Likewise.
643 (ILL_PRVREG): Likewise.
644 (ILL_COPROC): Likewise.
645 (ILL_BADSTK): Likewise.
646 (ILL_BADIADDR): Likewise.
647 (ILL_BREAK): Likewise.
648 (FPE_INTDIV): Likewise.
649 (FPE_INTOVF): Likewise.
650 (FPE_FLTDIV): Likewise.
651 (FPE_FLTOVF): Likewise.
652 (FPE_FLTUND): Likewise.
653 (FPE_FLTRES): Likewise.
654 (FPE_FLTINV): Likewise.
655 (FPE_FLTSUB): Likewise.
656 (FPE_DECOVF): Likewise.
657 (FPE_DECDIV): Likewise.
658 (FPE_DECERR): Likewise.
659 (FPE_INVASC): Likewise.
660 (FPE_INVDEC): Likewise.
661 (SEGV_MAPERR): Likewise.
662 (SEGV_ACCERR): Likewise.
663 (SEGV_PSTKOVF): Likewise.
664 (BUS_ADRALN): Likewise.
665 (BUS_ADRERR): Likewise.
666 (BUS_OBJERR): Likewise.
667 (BUS_MCEERR_AR): Likewise.
668 (BUS_MCEERR_AO): Likewise.
669 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
670 (TRAP_TRACE): Likewise.
671 (TRAP_BRANCH): Likewise.
672 (TRAP_HWBKPT): Likewise.
673 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
674 __USE_XOPEN2K8].
675 (CLD_KILLED): Likewise.
676 (CLD_DUMPED): Likewise.
677 (CLD_TRAPPED): Likewise.
678 (CLD_STOPPED): Likewise.
679 (CLD_CONTINUED): Likewise.
680 (POLL_IN): Likewise.
681 (POLL_OUT): Likewise.
682 (POLL_MSG): Likewise.
683 (POLL_ERR): Likewise.
684 (POLL_PRI): Likewise.
685 (POLL_HUP): Likewise.
686 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
687 (ILL_ILLOPN): Likewise.
688 (ILL_ILLADR): Likewise.
689 (ILL_ILLTRP): Likewise.
690 (ILL_PRVOPC): Likewise.
691 (ILL_PRVREG): Likewise.
692 (ILL_COPROC): Likewise.
693 (ILL_BADSTK): Likewise.
694 (FPE_INTDIV): Likewise.
695 (FPE_INTOVF): Likewise.
696 (FPE_FLTDIV): Likewise.
697 (FPE_FLTOVF): Likewise.
698 (FPE_FLTUND): Likewise.
699 (FPE_FLTRES): Likewise.
700 (FPE_FLTINV): Likewise.
701 (FPE_FLTSUB): Likewise.
702 (SEGV_MAPERR): Likewise.
703 (SEGV_ACCERR): Likewise.
704 (BUS_ADRALN): Likewise.
705 (BUS_ADRERR): Likewise.
706 (BUS_OBJERR): Likewise.
707 (BUS_MCEERR_AR): Likewise.
708 (BUS_MCEERR_AO): Likewise.
709 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
710 (TRAP_TRACE): Likewise.
711 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
712 __USE_XOPEN2K8].
713 (CLD_KILLED): Likewise.
714 (CLD_DUMPED): Likewise.
715 (CLD_TRAPPED): Likewise.
716 (CLD_STOPPED): Likewise.
717 (CLD_CONTINUED): Likewise.
718 (POLL_IN): Likewise.
719 (POLL_OUT): Likewise.
720 (POLL_MSG): Likewise.
721 (POLL_ERR): Likewise.
722 (POLL_PRI): Likewise.
723 (POLL_HUP): Likewise.
724 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
725 (ILL_ILLOPN): Likewise.
726 (ILL_ILLADR): Likewise.
727 (ILL_ILLTRP): Likewise.
728 (ILL_PRVOPC): Likewise.
729 (ILL_PRVREG): Likewise.
730 (ILL_COPROC): Likewise.
731 (ILL_BADSTK): Likewise.
732 (FPE_INTDIV): Likewise.
733 (FPE_INTOVF): Likewise.
734 (FPE_FLTDIV): Likewise.
735 (FPE_FLTOVF): Likewise.
736 (FPE_FLTUND): Likewise.
737 (FPE_FLTRES): Likewise.
738 (FPE_FLTINV): Likewise.
739 (FPE_FLTSUB): Likewise.
740 (SEGV_MAPERR): Likewise.
741 (SEGV_ACCERR): Likewise.
742 (BUS_ADRALN): Likewise.
743 (BUS_ADRERR): Likewise.
744 (BUS_OBJERR): Likewise.
745 (BUS_MCEERR_AR): Likewise.
746 (BUS_MCEERR_AO): Likewise.
747 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
748 (TRAP_TRACE): Likewise.
749 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
750 __USE_XOPEN2K8].
751 (CLD_KILLED): Likewise.
752 (CLD_DUMPED): Likewise.
753 (CLD_TRAPPED): Likewise.
754 (CLD_STOPPED): Likewise.
755 (CLD_CONTINUED): Likewise.
756 (POLL_IN): Likewise.
757 (POLL_OUT): Likewise.
758 (POLL_MSG): Likewise.
759 (POLL_ERR): Likewise.
760 (POLL_PRI): Likewise.
761 (POLL_HUP): Likewise.
762 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
763 (ILL_ILLOPN): Likewise.
764 (ILL_ILLADR): Likewise.
765 (ILL_ILLTRP): Likewise.
766 (ILL_PRVOPC): Likewise.
767 (ILL_PRVREG): Likewise.
768 (ILL_COPROC): Likewise.
769 (ILL_BADSTK): Likewise.
770 (FPE_INTDIV): Likewise.
771 (FPE_INTOVF): Likewise.
772 (FPE_FLTDIV): Likewise.
773 (FPE_FLTOVF): Likewise.
774 (FPE_FLTUND): Likewise.
775 (FPE_FLTRES): Likewise.
776 (FPE_FLTINV): Likewise.
777 (FPE_FLTSUB): Likewise.
778 (SEGV_MAPERR): Likewise.
779 (SEGV_ACCERR): Likewise.
780 (BUS_ADRALN): Likewise.
781 (BUS_ADRERR): Likewise.
782 (BUS_OBJERR): Likewise.
783 (BUS_MCEERR_AR): Likewise.
784 (BUS_MCEERR_AO): Likewise.
785 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
786 (TRAP_TRACE): Likewise.
787 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
788 __USE_XOPEN2K8].
789 (CLD_KILLED): Likewise.
790 (CLD_DUMPED): Likewise.
791 (CLD_TRAPPED): Likewise.
792 (CLD_STOPPED): Likewise.
793 (CLD_CONTINUED): Likewise.
794 (POLL_IN): Likewise.
795 (POLL_OUT): Likewise.
796 (POLL_MSG): Likewise.
797 (POLL_ERR): Likewise.
798 (POLL_PRI): Likewise.
799 (POLL_HUP): Likewise.
800 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
801 (ILL_ILLOPN): Likewise.
802 (ILL_ILLADR): Likewise.
803 (ILL_ILLTRP): Likewise.
804 (ILL_PRVOPC): Likewise.
805 (ILL_PRVREG): Likewise.
806 (ILL_COPROC): Likewise.
807 (ILL_BADSTK): Likewise.
808 (ILL_DBLFLT): Likewise.
809 (ILL_HARDWALL): Likewise.
810 (FPE_INTDIV): Likewise.
811 (FPE_INTOVF): Likewise.
812 (FPE_FLTDIV): Likewise.
813 (FPE_FLTOVF): Likewise.
814 (FPE_FLTUND): Likewise.
815 (FPE_FLTRES): Likewise.
816 (FPE_FLTINV): Likewise.
817 (FPE_FLTSUB): Likewise.
818 (SEGV_MAPERR): Likewise.
819 (SEGV_ACCERR): Likewise.
820 (BUS_ADRALN): Likewise.
821 (BUS_ADRERR): Likewise.
822 (BUS_OBJERR): Likewise.
823 (BUS_MCEERR_AR): Likewise.
824 (BUS_MCEERR_AO): Likewise.
825 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
826 (TRAP_TRACE): Likewise.
827 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
828 __USE_XOPEN2K8].
829 (CLD_KILLED): Likewise.
830 (CLD_DUMPED): Likewise.
831 (CLD_TRAPPED): Likewise.
832 (CLD_STOPPED): Likewise.
833 (CLD_CONTINUED): Likewise.
834 (POLL_IN): Likewise.
835 (POLL_OUT): Likewise.
836 (POLL_MSG): Likewise.
837 (POLL_ERR): Likewise.
838 (POLL_PRI): Likewise.
839 (POLL_HUP): Likewise.
840 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
841 (ILL_ILLOPN): Likewise.
842 (ILL_ILLADR): Likewise.
843 (ILL_ILLTRP): Likewise.
844 (ILL_PRVOPC): Likewise.
845 (ILL_PRVREG): Likewise.
846 (ILL_COPROC): Likewise.
847 (ILL_BADSTK): Likewise.
848 (FPE_INTDIV): Likewise.
849 (FPE_INTOVF): Likewise.
850 (FPE_FLTDIV): Likewise.
851 (FPE_FLTOVF): Likewise.
852 (FPE_FLTUND): Likewise.
853 (FPE_FLTRES): Likewise.
854 (FPE_FLTINV): Likewise.
855 (FPE_FLTSUB): Likewise.
856 (SEGV_MAPERR): Likewise.
857 (SEGV_ACCERR): Likewise.
858 (BUS_ADRALN): Likewise.
859 (BUS_ADRERR): Likewise.
860 (BUS_OBJERR): Likewise.
861 (BUS_MCEERR_AR): Likewise.
862 (BUS_MCEERR_AO): Likewise.
863 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
864 (TRAP_TRACE): Likewise.
865 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
866 __USE_XOPEN2K8].
867 (CLD_KILLED): Likewise.
868 (CLD_DUMPED): Likewise.
869 (CLD_TRAPPED): Likewise.
870 (CLD_STOPPED): Likewise.
871 (CLD_CONTINUED): Likewise.
872 (POLL_IN): Likewise.
873 (POLL_OUT): Likewise.
874 (POLL_MSG): Likewise.
875 (POLL_ERR): Likewise.
876 (POLL_PRI): Likewise.
877 (POLL_HUP): Likewise.
878 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
879 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
880
bc61d27c
JM
881 [BZ #16670]
882 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
883 before #include of <time.h>.
884 [!__USE_XOPEN2K] (__need_timespec): Likewise.
885 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
886 (test-xfail-UNIX98/sched.h/conform): Likewise.
887
302949e2
MS
8882014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
889
890 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
891 error absence of trapping exception support.
892 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
893
a00f522a
JM
8942014-03-07 Joseph Myers <joseph@codesourcery.com>
895
6f99f280
JM
896 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
897 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
898 * timezone/Makefile (testdata): Move definition above include of
899 Rules.
900 (test-zones): New variable.
901 (tests-special): Add zone files.
902 (build-testdata): Use $(evaluate-test).
903
0b20a9e8
JM
904 * elf/Makefile (tests-special): Rename tests to end with .out.
905 ($(objpfx)noload-mem): Likewise.
906 ($(objpfx)tst-leaks1-mem): Likewise.
907 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
908 * iconv/Makefile (xtests-special): Change test-iconvconfig to
909 $(objpfx)test-iconvconfig.out.
910 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
911 set -e inside subshell and redirect output to file.
912 * iconvdata/Makefile (generated): Rename tests to end with .out.
913 Correct type.
914 (tests-special): Rename tests to end with .out.
915 ($(objpfx)mtrace-tst-loading): Likewise.
916 * intl/Makefile (generated): Likewise.
917 (tests-special): Likewise.
918 ($(objpfx)mtrace-tst-gettext): Likewise.
919 * misc/Makefile (generated): Likewise.
920 (tests-special): Likewise.
921 ($(objpfx)tst-error1-mem): Likewise.
922 * nptl/Makefile (tests-special): Likewise.
923 ($(objpfx)tst-stack3-mem): Likewise.
924 (generated): Likewise.
925 * posix/Makefile (generated): Likewise.
926 (tests-special): Likewise.
927 (xtests-special): Likewise.
928 ($(objpfx)tst-fnmatch-mem): Likewise.
929 ($(objpfx)bug-regex2-mem): Likewise.
930 ($(objpfx)bug-regex14-mem): Likewise.
931 ($(objpfx)bug-regex21-mem): Likewise.
932 ($(objpfx)bug-regex31-mem): Likewise.
933 ($(objpfx)tst-vfork3-mem): Likewise.
934 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
935 ($(objpfx)tst-pcre-mem): Likewise.
936 ($(objpfx)tst-boost-mem): Likewise.
937 ($(objpfx)bug-ga2-mem): Likewise.
938 ($(objpfx)bug-glob2-mem): Likewise.
939 * resolv/Makefile (generate): Likewise.
940 (tests-special): Likewise.
941 (xtests-special): Likewise.
942 (generated): Likewise.
943 ($(objpfx)mtrace-tst-leaks): Likewise.
944 ($(objpfx)mtrace-tst-leaks2): Likewise.
945
265d52ab
JM
946 * scripts/merge-test-results.sh: New file.
947 * Makefile (tests-special-notdir): New variable.
948 (tests): Run merge-test-results.sh.
949 (xtests): Likewise.
950 * Rules (tests-special-notdir): New variable.
951 (xtests-special-notdir): Likewise.
952 (tests): Run merge-test-results.sh
953 (xtests): Likewise.
954
54ee292d
JM
955 * Makeconfig (test-xfail-name): New variable.
956 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
957 compute variable name for expected failures.
958 * conform/Makefile (conformtest-headers-data): New variable.
959 (conformtest-standards): Likewise.
960 (conformtest-headers-ISO): Likewise.
961 (conformtest-headers-ISO99): Likewise.
962 (conformtest-headers-ISO11): Likewise.
963 (conformtest-headers-POSIX): Likewise.
964 (conformtest-headers-XPG3): Likewise.
965 (conformtest-headers-XPG4): Likewise.
966 (conformtest-headers-UNIX98): Likewise.
967 (conformtest-headers-XOPEN2K): Likewise.
968 (conformtest-headers-POSIX2008): Likewise.
969 (conformtest-headers-XOPEN2K8): Likewise.
970 (conformtest-header-list-base): Likewise.
971 (conformtest-header-list-tests): Likewise.
972 (conformtest-header-base): Likewise.
973 (conformtest-header-tests): Likewise.
974 (tests-special): Add $(conformtest-header-list-tests). If
975 [$(fast-check) && !$(cross-compiling)], add
976 $(conformtest-header-tests) instead of
977 $(objpfx)run-conformtest.out.
978 (generated): Add $(conformtest-header-list-base). If
979 [$(fast-check) && !$(cross-compiling)], add
980 $(conformtest-header-base). Remove previous setting.
981 ($(conformtest-header-list-tests)): New target.
982 (test-xfail-run-conformtest): Remove variable.
983 ($(objpfx)run-conformtest.out): Remove target.
984 (test-xfail-ISO11/complex.h/conform): New variable.
985 (test-xfail-ISO11/stdalign.h/conform): Likewise.
986 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
987 (test-xfail-XPG3/varargs.h/conform): Likewise.
988 (test-xfail-XPG4/varargs.h/conform): Likewise.
989 (test-xfail-UNIX98/varargs.h/conform): Likewise.
990 (test-xfail-XPG4/ndbm.h/conform): Likewise.
991 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
992 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
993 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
994 (test-xfail-XPG3/fcntl.h/conform): Likewise.
995 (test-xfail-XPG3/ftw.h/conform): Likewise.
996 (test-xfail-XPG3/grp.h/conform): Likewise.
997 (test-xfail-XPG3/langinfo.h/conform): Likewise.
998 (test-xfail-XPG3/limits.h/conform): Likewise.
999 (test-xfail-XPG3/pwd.h/conform): Likewise.
1000 (test-xfail-XPG3/search.h/conform): Likewise.
1001 (test-xfail-XPG3/signal.h/conform): Likewise.
1002 (test-xfail-XPG3/stdio.h/conform): Likewise.
1003 (test-xfail-XPG3/stdlib.h/conform): Likewise.
1004 (test-xfail-XPG3/string.h/conform): Likewise.
1005 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
1006 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
1007 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
1008 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
1009 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
1010 (test-xfail-XPG3/sys/types.h/conform): Likewise.
1011 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
1012 (test-xfail-XPG3/termios.h/conform): Likewise.
1013 (test-xfail-XPG3/time.h/conform): Likewise.
1014 (test-xfail-XPG3/unistd.h/conform): Likewise.
1015 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
1016 (test-xfail-XPG4/fcntl.h/conform): Likewise.
1017 (test-xfail-XPG4/langinfo.h/conform): Likewise.
1018 (test-xfail-XPG4/netdb.h/conform): Likewise.
1019 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
1020 (test-xfail-XPG4/signal.h/conform): Likewise.
1021 (test-xfail-XPG4/stdio.h/conform): Likewise.
1022 (test-xfail-XPG4/stdlib.h/conform): Likewise.
1023 (test-xfail-XPG4/stropts.h/conform): Likewise.
1024 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
1025 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
1026 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
1027 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
1028 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
1029 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
1030 (test-xfail-XPG4/sys/time.h/conform): Likewise.
1031 (test-xfail-XPG4/sys/types.h/conform): Likewise.
1032 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
1033 (test-xfail-XPG4/termios.h/conform): Likewise.
1034 (test-xfail-XPG4/ucontext.h/conform): Likewise.
1035 (test-xfail-XPG4/unistd.h/conform): Likewise.
1036 (test-xfail-XPG4/utmpx.h/conform): Likewise.
1037 (test-xfail-POSIX/sched.h/conform): Likewise.
1038 (test-xfail-POSIX/signal.h/conform): Likewise.
1039 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
1040 (test-xfail-POSIX/tar.h/conform): Likewise.
1041 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
1042 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
1043 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
1044 (test-xfail-UNIX98/netdb.h/conform): Likewise.
1045 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
1046 (test-xfail-UNIX98/sched.h/conform): Likewise.
1047 (test-xfail-UNIX98/signal.h/conform): Likewise.
1048 (test-xfail-UNIX98/stdio.h/conform): Likewise.
1049 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
1050 (test-xfail-UNIX98/stropts.h/conform): Likewise.
1051 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
1052 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
1053 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
1054 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
1055 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
1056 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
1057 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
1058 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
1059 (test-xfail-UNIX98/unistd.h/conform): Likewise.
1060 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
1061 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
1062 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
1063 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
1064 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
1065 (test-xfail-XOPEN2K/math.h/conform): Likewise.
1066 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
1067 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
1068 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
1069 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
1070 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
1071 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
1072 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
1073 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
1074 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
1075 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
1076 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
1077 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
1078 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
1079 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
1080 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
1081 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
1082 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
1083 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
1084 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
1085 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
1086 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
1087 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
1088 (test-xfail-POSIX2008/signal.h/conform): Likewise.
1089 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
1090 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
1091 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
1092 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
1093 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
1094 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
1095 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
1096 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
1097 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
1098 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
1099 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
1100 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
1101 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
1102 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
1103 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
1104 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
1105 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
1106 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
1107 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
1108 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
1109 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
1110 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
1111 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
1112 (conformtest-cc-flags): Likewise.
1113 ($(conformtest-header-tests): New target.
1114 * conform/check-header-lists.sh: New file.
1115 * conform/run-conformtest.sh: Remove.
1116
a00f522a
JM
1117 * conform/conformtest.pl: Allow ' and \ in values given for
1118 constants.
1119 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
1120 inclusion.
1121 [POSIX] (sys/types.h): Likewise.
1122 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
1123 inclusion.
1124 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
1125 inclusion.
1126 * conform/data/signal.h-data (SIGIO): Remove expectation.
1127 [XPG3] (SIGBUS): Do not expect.
1128 [POSIX || XPG3] (SIGPOLL): Likewise.
1129 [POSIX || XPG3] (SIGPROF): Likewise.
1130 [POSIX || XPG3] (SIGSYS): Likewise.
1131 [XPG3] (SIGTRAP): Likewise.
1132 [POSIX || XPG3] (SIGURG): Likewise.
1133 [POSIX || XPG3] (SIGVTALRM): Likewise.
1134 [POSIX || XPG3] (SIGXCPU): Likewise.
1135 [POSIX || XPG3] (SIGXFSZ): Likewise.
1136 [POSIX] (SA_SIGINFO): Expect.
1137 [XPG3] (siginfo_t): Do not expect type or contents.
1138 [POSIX] (si_pid): Do not expect element.
1139 [POSIX] (si_uid): Likewise.
1140 [POSIX] (si_addr): Likewise.
1141 [POSIX] (si_status): Likewise.
1142 [POSIX] (si_band): Likewise.
1143 [XPG4] (si_value): Likewise.
1144 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
1145 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
1146 [POSIX || XPG3] (ILL_ILLADR): Likewise.
1147 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
1148 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
1149 [POSIX || XPG3] (ILL_PRVREG): Likewise.
1150 [POSIX || XPG3] (ILL_COPROC): Likewise.
1151 [POSIX || XPG3] (ILL_BADSTK): Likewise.
1152 [POSIX || XPG3] (FPE_INTDIV): Likewise.
1153 [POSIX || XPG3] (FPE_INTOVF): Likewise.
1154 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
1155 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
1156 [POSIX || XPG3] (FPE_FLTUND): Likewise.
1157 [POSIX || XPG3] (FPE_FLTRES): Likewise.
1158 [POSIX || XPG3] (FPE_FLTINV): Likewise.
1159 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
1160 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
1161 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
1162 [POSIX || XPG3] (BUS_ADRALN): Likewise.
1163 [POSIX || XPG3] (BUS_ADRERR): Likewise.
1164 [POSIX || XPG3] (BUS_OBJERR): Likewise.
1165 [POSIX || XPG3] (CLD_EXITED): Likewise.
1166 [POSIX || XPG3] (CLD_KILLED): Likewise.
1167 [POSIX || XPG3] (CLD_DUMPED): Likewise.
1168 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
1169 [POSIX || XPG3] (CLD_STOPPED): Likewise.
1170 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
1171 [POSIX || XPG3] (POLL_IN): Likewise.
1172 [POSIX || XPG3] (POLL_OUT): Likewise.
1173 [POSIX || XPG3] (POLL_MSG): Likewise.
1174 [POSIX || XPG3] (POLL_ERR): Likewise.
1175 [POSIX || XPG3] (POLL_PRI): Likewise.
1176 [POSIX || XPG3] (POLL_HUP): Likewise.
1177 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
1178 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
1179 (SIG*): Do not allow.
1180 [XPG3] (si_*): Likewise.
1181 [XPG3] (SI_*): Likewise.
1182 [XPG3 || XPG4] (sigev_*): Likewise.
1183 [XPG3 || XPG4] (SIGEV_*): Likewise.
1184 [XPG3 || XPG4] (sival_*): Likewise.
1185 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
1186 [POSIX || XPG3] (BUS_*): Likewise.
1187 [POSIX || XPG3] (CLD_*): Likewise.
1188 [POSIX || XPG3] (FPE_*): Likewise.
1189 [POSIX || XPG3] (ILL_*): Likewise.
1190 [POSIX || XPG3] (POLL_*): Likewise.
1191 [POSIX || XPG3] (SEGV_*): Likewise.
1192 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
1193 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
1194 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
1195 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
1196 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
1197 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
1198 Specify type and value.
1199 (TVERSLEN): Likewise.
1200 (REGTYPE): Likewise.
1201 (AREGTYPE): Likewise.
1202 (LNKTYPE): Likewise.
1203 (SYMTYPE): Likewise.
1204 (CHRTYPE): Likewise.
1205 (BLKTYPE): Likewise.
1206 (DIRTYPE): Likewise.
1207 (FIFOTYPE): Likewise.
1208 (CONTTYPE): Likewise.
1209 (TSUID): Likewise.
1210 (TSGID): Likewise.
1211 (TSVTX): Likewise.
1212 (TUREAD): Likewise.
1213 (TUWRITE): Likewise.
1214 (TUEXEC): Likewise.
1215 (TGREAD): Likewise.
1216 (TGWRITE): Likewise.
1217 (TGEXEC): Likewise.
1218 (TOREAD): Likewise.
1219 (TOWRITE): Likewise.
1220 (TOEXEC): Likewise.
1221 [POSIX] (TSVTX): Expect constant.
1222
aa97dee1
JM
12232014-03-06 Joseph Myers <joseph@codesourcery.com>
1224
f214606a
JM
1225 * Makefile (tests): Change dependencies to ....
1226 (tests-special): ... additions to this variable.
1227 (tests): Depend on $(tests-special).
1228 * Makerules (check-abi-list): New variable.
1229 (check-abi): Depend on $(check-abi-list).
1230 [$(subdir) = elf] (tests-special): Add
1231 $(objpfx)check-abi-libc.out.
1232 [$(build-shared) = yes && subdir] (tests-special): Add
1233 $(check-abi-list).
1234 [$(build-shared) = yes && subdir] (tests): Do not depend on
1235 check-abi.
1236 * Rules (tests): Depend on $(tests-special).
1237 (xtests): Depend on $(xtests-special).
1238 * catgets/Makefile (tests): Change dependencies to ....
1239 (tests-special): ... additions to this variable.
1240 * conform/Makefile (tests): Change dependencies to ....
1241 (tests-special): ... additions to this variable.
1242 * elf/Makefile (tests): Change dependencies to ....
1243 (tests-special): ... additions to this variable.
1244 * grp/Makefile (tests): Change dependencies to ....
1245 (tests-special): ... additions to this variable.
1246 * iconv/Makefile (xtests): Change dependencies to ....
1247 (xtests-special): ... additions to this variable.
1248 * iconvdata/Makefile (tests): Change dependencies to ....
1249 (tests-special): ... additions to this variable.
1250 * intl/Makefile (tests): Change dependencies to ....
1251 (tests-special): ... additions to this variable. Also add
1252 $(objpfx)tst-gettext.out.
1253 * io/Makefile (tests): Change dependencies to ....
1254 (tests-special): ... additions to this variable.
1255 * libio/Makefile (tests): Change dependencies to ....
1256 (tests-special): ... additions to this variable.
1257 * malloc/Makefile (tests): Change dependencies to ....
1258 (tests-special): ... additions to this variable.
1259 * misc/Makefile (tests): Change dependencies to ....
1260 (tests-special): ... additions to this variable.
1261 * nptl/Makefile (tests): Change dependencies to ....
1262 (tests-special): ... additions to this variable.
1263 * nptl_db/Makefile (tests): Change dependencies to ....
1264 (tests-special): ... additions to this variable.
1265 * posix/Makefile (tests): Change dependencies to ....
1266 (tests-special): ... additions to this variable.
1267 (xtests): Change dependencies to ....
1268 (xtests-special): ... additions to this variable.
1269 * resolv/Makefile (tests): Change dependencies to ....
1270 (tests-special): ... additions to this variable.
1271 (xtests): Change dependencies to ....
1272 (xtests-special): ... additions to this variable.
1273 * stdio-common/Makefile (tests): Change dependencies to ....
1274 (tests-special): ... additions to this variable.
1275 (do-tst-unbputc): Remove target.
1276 (do-tst-printf): Likewise.
1277 * stdlib/Makefile (tests): Change dependencies to ....
1278 (tests-special): ... additions to this variable.
1279 * string/Makefile (tests): Change dependencies to ....
1280 (tests-special): ... additions to this variable.
1281 * sysdeps/x86/Makefile (tests): Change dependencies to ....
1282 (tests-special): ... additions to this variable.
1283
81700b53
JM
1284 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
1285 whole file.
1286 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
1287 whole file.
1288 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
1289 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
1290
2ea18461
JM
1291 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
1292 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
1293 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
1294 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
1295 * conform/data/libgen.h-data [XPG3]: Likewise.
1296 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
1297 * conform/data/ndbm.h-data [XPG3]: Likewise.
1298 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
1299 * conform/data/netdb.h-data [XPG3]: Likewise.
1300 * conform/data/netinet/in.h-data [XPG3]: Likewise.
1301 * conform/data/poll.h-data [XPG3]: Likewise.
1302 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
1303 * conform/data/strings.h-data [XPG3]: Likewise.
1304 * conform/data/stropts.h-data [XPG3]: Likewise.
1305 * conform/data/sys/mman.h-data [XPG3]: Likewise.
1306 * conform/data/sys/resource.h-data [XPG3]: Likewise.
1307 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
1308 Likewise.
1309 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
1310 * conform/data/sys/time.h-data [XPG3]: Likewise.
1311 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
1312 * conform/data/sys/uio.h-data [XPG3]: Likewise.
1313 * conform/data/sys/un.h-data [XPG3]: Likewise.
1314 * conform/data/syslog.h-data [XPG3]: Likewise.
1315 * conform/data/ucontext.h-data [XPG3]: Likewise.
1316 * conform/data/utmpx.h-data [XPG3]: Likewise.
1317 * conform/data/varargs.h-data [UNIX98]: Enable file.
1318
355bc986
JM
1319 * manual/Makefile (INSTALL_INFO): Remove variable setting.
1320
215db402
JM
1321 * math/libm-test.inc (struct test_f_f_data): Move expected results
1322 into structure for each rounding mode.
1323 (struct test_ff_f_data): Likewise.
1324 (struct test_ff_f_data_nexttoward): Likewise.
1325 (struct test_fi_f_data): Likewise.
1326 (struct test_fl_f_data): Likewise.
1327 (struct test_if_f_data): Likewise.
1328 (struct test_fff_f_data): Likewise.
1329 (struct test_c_f_data): Likewise.
1330 (struct test_f_f1_data): Likewise.
1331 (struct test_fF_f1_data): Likewise.
1332 (struct test_ffI_f1_data): Likewise.
1333 (struct test_c_c_data): Likewise.
1334 (struct test_cc_c_data): Likewise.
1335 (struct test_f_i_data): Likewise.
1336 (struct test_ff_i_data): Likewise.
1337 (struct test_f_l_data): Likewise.
1338 (struct test_f_L_data): Likewise.
1339 (struct test_fFF_11_data): Likewise.
1340 (RM_): New macro.
1341 (RM_FE_DOWNWARD): Likewise.
1342 (RM_FE_TONEAREST): Likewise.
1343 (RM_FE_TOWARDZERO): Likewise.
1344 (RM_FE_UPWARD): Likewise.
1345 (RUN_TEST_LOOP_f_f): Update references to expected results.
1346 (RUN_TEST_LOOP_2_f): Likewise.
1347 (RUN_TEST_LOOP_fff_f): Likewise.
1348 (RUN_TEST_LOOP_c_f): Likewise.
1349 (RUN_TEST_LOOP_f_f1): Likewise.
1350 (RUN_TEST_LOOP_fF_f1): Likewise.
1351 (RUN_TEST_LOOP_fI_f1): Likewise.
1352 (RUN_TEST_LOOP_ffI_f1): Likewise.
1353 (RUN_TEST_LOOP_c_c): Likewise.
1354 (RUN_TEST_LOOP_cc_c): Likewise.
1355 (RUN_TEST_LOOP_f_i): Likewise.
1356 (RUN_TEST_LOOP_f_i_tg): Likewise.
1357 (RUN_TEST_LOOP_ff_i_tg): Likewise.
1358 (RUN_TEST_LOOP_f_b): Likewise.
1359 (RUN_TEST_LOOP_f_b_tg): Likewise.
1360 (RUN_TEST_LOOP_f_l): Likewise.
1361 (RUN_TEST_LOOP_f_L): Likewise.
1362 (RUN_TEST_LOOP_fFF_11): Likewise.
1363 * math/gen-libm-test.pl (parse_args): Output four copies of
1364 expected results for each test.
1365
67737b8f
JM
1366 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
1367 (__ASSUME_UTIMES): Remove.
1368 * sysdeps/unix/sysv/linux/tile/kernel-features.h
1369 (__ASSUME_UTIMES): Likewise.
1370
aa97dee1
JM
1371 * math/gen-auto-libm-tests.c: Update comment on output format.
1372 (output_for_one_input_case): Generate before-rounding and
1373 after-rounding information as conditions on output flags not
1374 floating-point format.
1375 * math/auto-libm-test-out: Regenerated.
1376 * math/gen-libm-test.pl (cond_value): New function.
1377 (or_cond_value): Use cond_value.
1378 (generate_testfile): Handle conditional exceptions.
1379
e6b6a857
JM
13802014-03-05 Joseph Myers <joseph@codesourcery.com>
1381
2f0a0f44
JM
1382 * math/libm-test.inc (max_valid_error): New variable.
1383 (init_max_error): Take new argument specifying whether function
1384 results are exactly determined. Set max_valid_error and bound
1385 other variables for errors based on this argument.
1386 (set_max_error): Do not record results above max_valid_error.
1387 (check_float_internal): Only accept errors of up to 0.5ulps if
1388 also at most max_valid_error.
1389 (START): Take new argument EXACT and pass it to init_max_error.
1390 (acos_test): Update call to START.
1391 (acos_test_tonearest): Likewise.
1392 (acos_test_towardzero): Likewise.
1393 (acos_test_downward): Likewise.
1394 (acos_test_upward): Likewise.
1395 (acosh_test): Likewise.
1396 (asin_test): Likewise.
1397 (asin_test_tonearest): Likewise.
1398 (asin_test_towardzero): Likewise.
1399 (asin_test_downward): Likewise.
1400 (asin_test_upward): Likewise.
1401 (asinh_test): Likewise.
1402 (atan_test): Likewise.
1403 (atanh_test): Likewise.
1404 (atan2_test): Likewise.
1405 (cabs_test): Likewise.
1406 (cacos_test): Likewise.
1407 (cacosh_test): Likewise.
1408 (carg_test): Likewise.
1409 (casin_test): Likewise.
1410 (casinh_test): Likewise.
1411 (catan_test): Likewise.
1412 (catanh_test): Likewise.
1413 (cbrt_test): Likewise.
1414 (ccos_test): Likewise.
1415 (ccosh_test): Likewise.
1416 (ceil_test): Likewise.
1417 (cexp_test): Likewise.
1418 (cimag_test): Likewise.
1419 (clog_test): Likewise.
1420 (clog10_test): Likewise.
1421 (conj_test): Likewise.
1422 (copysign_test): Likewise.
1423 (cos_test): Likewise.
1424 (cos_test_tonearest): Likewise.
1425 (cos_test_towardzero): Likewise.
1426 (cos_test_downward): Likewise.
1427 (cos_test_upward): Likewise.
1428 (cosh_test): Likewise.
1429 (cosh_test_tonearest): Likewise.
1430 (cosh_test_towardzero): Likewise.
1431 (cosh_test_downward): Likewise.
1432 (cosh_test_upward): Likewise.
1433 (cpow_test): Likewise.
1434 (cproj_test): Likewise.
1435 (creal_test): Likewise.
1436 (csin_test): Likewise.
1437 (csinh_test): Likewise.
1438 (csqrt_test): Likewise.
1439 (ctan_test): Likewise.
1440 (ctan_test_tonearest): Likewise.
1441 (ctan_test_towardzero): Likewise.
1442 (ctan_test_downward): Likewise.
1443 (ctan_test_upward): Likewise.
1444 (ctanh_test): Likewise.
1445 (ctanh_test_tonearest): Likewise.
1446 (ctanh_test_towardzero): Likewise.
1447 (ctanh_test_downward): Likewise.
1448 (ctanh_test_upward): Likewise.
1449 (erf_test): Likewise.
1450 (erfc_test): Likewise.
1451 (exp_test): Likewise.
1452 (exp_test_tonearest): Likewise.
1453 (exp_test_towardzero): Likewise.
1454 (exp_test_downward): Likewise.
1455 (exp_test_upward): Likewise.
1456 (exp10_test): Likewise.
1457 (exp10_test_tonearest): Likewise.
1458 (exp10_test_towardzero): Likewise.
1459 (exp10_test_downward): Likewise.
1460 (exp10_test_upward): Likewise.
1461 (pow10_test): Likewise.
1462 (exp2_test): Likewise.
1463 (expm1_test): Likewise.
1464 (expm1_test_tonearest): Likewise.
1465 (expm1_test_towardzero): Likewise.
1466 (expm1_test_downward): Likewise.
1467 (expm1_test_upward): Likewise.
1468 (fabs_test): Likewise.
1469 (fdim_test): Likewise.
1470 (floor_test): Likewise.
1471 (fma_test): Likewise.
1472 (fma_test_towardzero): Likewise.
1473 (fma_test_downward): Likewise.
1474 (fma_test_upward): Likewise.
1475 (fmax_test): Likewise.
1476 (fmin_test): Likewise.
1477 (fmod_test): Likewise.
1478 (fpclassify_test): Likewise.
1479 (frexp_test): Likewise.
1480 (hypot_test): Likewise.
1481 (ilogb_test): Likewise.
1482 (isfinite_test): Likewise.
1483 (finite_test): Likewise.
1484 (isgreater_test): Likewise.
1485 (isgreaterequal_test): Likewise.
1486 (isinf_test): Likewise.
1487 (isless_test): Likewise.
1488 (islessequal_test): Likewise.
1489 (islessgreater_test): Likewise.
1490 (isnan_test): Likewise.
1491 (isnormal_test): Likewise.
1492 (issignaling_test): Likewise.
1493 (isunordered_test): Likewise.
1494 (j0_test): Likewise.
1495 (j1_test): Likewise.
1496 (jn_test): Likewise.
1497 (ldexp_test): Likewise.
1498 (lgamma_test): Likewise.
1499 (gamma_test): Likewise.
1500 (lrint_test): Likewise.
1501 (lrint_test_tonearest): Likewise.
1502 (lrint_test_towardzero): Likewise.
1503 (lrint_test_downward): Likewise.
1504 (lrint_test_upward): Likewise.
1505 (llrint_test): Likewise.
1506 (llrint_test_tonearest): Likewise.
1507 (llrint_test_towardzero): Likewise.
1508 (llrint_test_downward): Likewise.
1509 (llrint_test_upward): Likewise.
1510 (log_test): Likewise.
1511 (log10_test): Likewise.
1512 (log1p_test): Likewise.
1513 (log2_test): Likewise.
1514 (logb_test): Likewise.
1515 (logb_test_downward): Likewise.
1516 (lround_test): Likewise.
1517 (llround_test): Likewise.
1518 (modf_test): Likewise.
1519 (nearbyint_test): Likewise.
1520 (nextafter_test): Likewise.
1521 (nexttoward_test): Likewise.
1522 (pow_test): Likewise.
1523 (pow_test_tonearest): Likewise.
1524 (pow_test_towardzero): Likewise.
1525 (pow_test_downward): Likewise.
1526 (pow_test_upward): Likewise.
1527 (remainder_test): Likewise.
1528 (drem_test): Likewise.
1529 (remainder_test_tonearest): Likewise.
1530 (drem_test_tonearest): Likewise.
1531 (remainder_test_towardzero): Likewise.
1532 (drem_test_towardzero): Likewise.
1533 (remainder_test_downward): Likewise.
1534 (drem_test_downward): Likewise.
1535 (remainder_test_upward): Likewise.
1536 (drem_test_upward): Likewise.
1537 (remquo_test): Likewise.
1538 (rint_test): Likewise.
1539 (rint_test_tonearest): Likewise.
1540 (rint_test_towardzero): Likewise.
1541 (rint_test_downward): Likewise.
1542 (rint_test_upward): Likewise.
1543 (round_test): Likewise.
1544 (scalb_test): Likewise.
1545 (scalbn_test): Likewise.
1546 (scalbln_test): Likewise.
1547 (signbit_test): Likewise.
1548 (sin_test): Likewise.
1549 (sin_test_tonearest): Likewise.
1550 (sin_test_towardzero): Likewise.
1551 (sin_test_downward): Likewise.
1552 (sin_test_upward): Likewise.
1553 (sincos_test): Likewise.
1554 (sinh_test): Likewise.
1555 (sinh_test_tonearest): Likewise.
1556 (sinh_test_towardzero): Likewise.
1557 (sinh_test_downward): Likewise.
1558 (sinh_test_upward): Likewise.
1559 (sqrt_test): Likewise.
1560 (sqrt_test_tonearest): Likewise.
1561 (sqrt_test_towardzero): Likewise.
1562 (sqrt_test_downward): Likewise.
1563 (sqrt_test_upward): Likewise.
1564 (tan_test): Likewise.
1565 (tan_test_tonearest): Likewise.
1566 (tan_test_towardzero): Likewise.
1567 (tan_test_downward): Likewise.
1568 (tan_test_upward): Likewise.
1569 (tanh_test): Likewise.
1570 (tgamma_test): Likewise.
1571 (trunc_test): Likewise.
1572 (y0_test): Likewise.
1573 (y1_test): Likewise.
1574 (yn_test): Likewise.
1575 (significand_test): Likewise.
1576
e6b6a857
JM
1577 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
1578 individual tests in comment.
1579 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
1580 (prev_max_error): New variable.
1581 (prev_real_max_error): Likewise.
1582 (prev_imag_max_error): Likewise.
1583 (compare_ulp_data): Don't refer to test names in comment.
1584 (find_test_ulps): Remove function.
1585 (find_function_ulps): Likewise.
1586 (find_complex_function_ulps): Likewise.
1587 (init_max_error): Take function name as argument. Look up ulps
1588 for that function.
1589 (print_ulps): Remove function.
1590 (print_max_error): Use prev_max_error instead of calling
1591 find_function_ulps.
1592 (print_complex_max_error): Use prev_real_max_error and
1593 prev_imag_max_error instead of calling find_complex_function_ulps.
1594 (check_float_internal): Take max_ulp parameter instead of calling
1595 find_test_ulps. Don't call print_ulps.
1596 (check_float): Update call to check_float_internal.
1597 (check_complex): Update calls to check_float_internal.
1598 (START): Pass argument to init_max_error.
1599 * math/gen-libm-test.pl (%results): Don't include "kind"
1600 information.
1601 (parse_ulps): Don't handle ulps of individual tests.
1602 (print_ulps_file): Likewise.
1603 (output_ulps): Likewise.
1604 * math/README.libm-test: Update.
1605 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
1606 individual tests.
1607 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
1608 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
1609 * sysdeps/arm/libm-test-ulps: Likewise.
1610 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
1611 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
1612 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
1613 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
1614 * sysdeps/microblaze/libm-test-ulps: Likewise.
1615 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
1616 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1617 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1618 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
1619 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1620 * sysdeps/sh/libm-test-ulps: Likewise.
1621 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
1622 * sysdeps/tile/libm-test-ulps: Likewise.
1623 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1624
45adef3c
JM
16252014-03-04 Joseph Myers <joseph@codesourcery.com>
1626
1627 * math/libm-test.inc (print_complex_max_error): Check separately
1628 whether real and imaginary errors are within allowed range and
1629 pass 0 to print_complex_function_ulps instead of value within
1630 allowed range.
1631
000232b9
SP
16322014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1633
d4b17258
SP
1634 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
1635 formatting.
1636 (get_handles_fopen): Likewise.
1637 (do_write_test): Likewise.
1638
091eff71
SP
1639 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
1640
fa3cd248
SP
1641 * libio/fileops.c (do_ftell): Use cached offset when
1642 available.
1643 * libio/iofwide.c (do_ftell_wide): Likewise.
1644 * libio/iofdopen.c (_IO_new_fdopen): Don't use
1645 _IO_file_attach.
1646 * libio/wfileops.c (_IO_fwide): Don't cache offset.
1647
000232b9
SP
1648 [BZ #16532]
1649 * libio/libioP.h (get_file_offset): New function.
1650 * libio/fileops.c (get_file_offset): Likewise.
1651 (do_ftell): Likewise.
1652 (_IO_new_file_seekoff): Split out ftell logic.
1653 * libio/wfileops.c (do_ftell_wide): Likewise.
1654 (_IO_wfile_seekoff): Split out ftell logic.
1655 * libio/tst-ftell-active-handler.c: New test case.
1656 * libio/Makefile (tests): Add it.
1657
116f4d1a
RM
16582014-03-03 Roland McGrath <roland@hack.frob.com>
1659
1660 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
1661 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
1662
532a6035
SP
16632014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
1664
1665 [BZ #16639]
1666 * nscd/connections.c (nscd_init): Call do_exit.
1667 (start_threads): Call do_exit and notify_parent.
1668 (begin_drop_privileges): Call do_exit.
1669 (finish_drop_privileges): Likewise.
1670 * nscd/selinux.c (preserve_capabilities): Likewise.
1671 (install_real_capabilities): Likewise.
1672 (nscd_selinux_enabled): Likewise.
1673 (avc_create_thread): Likewise.
1674 (avc_alloc_lock): Likewise.
1675 (nscd_avc_init): Likewise.
1676 * nscd/nscd.c (parent_fd): New static variable.
1677 (main): Create a pipe between parent and child processes.
1678 Skip closing parent_fd.
1679 (monitor_child): New function.
1680 (do_exit): Likewise.
1681 (notify_parent): Likewise.
1682 * nscd/nscd.h (notify_parent): Likewise.
1683 (do_exit): Likewise.
1684
d6285c9f
CD
16852014-03-03 Carlos O'Donell <carlos@redhat.com>
1686
1687 * malloc/malloc.c (__libc_calloc): Revert last change.
1688
2b85d2a0
AZ
16892014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1690
1691 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1692
c7debbdf
RS
16932014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1694
1695 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
1696 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
1697 implementation.
1698 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1699 (__libc_ifunc_impl_list): Likewise.
1700 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
1701 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
1702 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
1703 * string/strrchr.c: Define STRRCHR.
1704
235eed86
OB
17052014-02-28 Ondřej Bílka <neleai@seznam.cz>
1706
1707 * benchtest/bench-strtok.c (simple_strtok): Delete.
1708 (strtok_string): Use as benchmark.
1709 * string/strtok (STRTOK): New macro.
1710
8e25d1e7
CD
17112014-02-28 Carlos O'Donell <carlos@redhat.com>
1712
ef563f92
CD
1713 * manual/threads.texi: Add header and standard comments to all
1714 functions.
1715
8e25d1e7
CD
1716 * elf/dl-lookup.c (check_match): New function.
1717 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
1718 (do_lookup_x): Remove nested function check_match. Use non-nested
1719 function check_match.
1720
ff71cc37
RM
17212014-02-28 Roland McGrath <roland@hack.frob.com>
1722
f08e9a26
RM
1723 * csu/Makefile (generated, before-compile): Use += rather than =.
1724 * catgets/Makefile (generated, generated-dirs): Likewise.
1725 * debug/Makefile (generated): Likewise.
1726 * dlfcn/Makefile (generated): Likewise.
1727 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
1728 * iconvdata/Makefile (before-compile, generated): Likewise.
1729 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
1730 * libio/Makefile (generated): Likewise.
1731 * malloc/Makefile (generated): Likewise.
1732 * manual/Makefile (generated, generated-dirs): Likewise.
1733 * misc/Makefile (generated): Likewise.
1734 * posix/Makefile (generated): Likewise.
1735 * resolv/Makefile (generated): Likewise.
1736 * sunrpc/Makefile (generated, generated-dirs): Likewise.
1737 * timezone/Makefile (generated, generated-dirs): Likewise.
1738
ff71cc37
RM
1739 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
1740
fe13a20c
AZ
17412014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1742
1743 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround power8
1744 implementation.
1745 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New file:
1746 POWER8 llround ifunc implementation.
1747 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c (__lllround): Add
1748 POWER8 implementation.
1749 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
1750 POWER8 llround implementation.
1751
1ad8950a
AZ
17522014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1753
1754 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint power8
1755 implementation.
1756 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New file:
1757 POWER8 llrint ifunc implementation.
1758 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint): Add
1759 POWER8 implementation.
1760 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
1761 POWER8 llrint implementation.
1762
cac626d6
AZ
17632014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1764
1765 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite power8
1766 implementation.
1767 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New file:
1768 POWER8 finite ifunc implementation.
1769 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite): Add
1770 POWER8 implementation.
1771 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
1772 Likewise.
1773 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
1774 POWER8 finite implementation.
1775 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
1776
4393fc11
AZ
17772014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1778
1779 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf power8
1780 implementation.
1781 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New file:
1782 POWER8 isinf ifunc implementation.
1783 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
1784 POWER8 implementation.
1785 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
1786 Likewise.
1787 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file:
1788 POWER8 isinf implementation.
1789 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
1790
487972ae
AZ
17912014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1792
1793 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h (INIT_ARCH):
1794 Add hwcap2 initialization.
1795 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan power8
1796 implementation.
1797 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New file:
1798 POWER8 isnan ifunc implementation.
1799 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
1800 POWER8 implementation.
1801 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
1802 Likewise.
1803 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file:
1804 POWER8 isnan implementation.
1805 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
1806
7d92b787
JY
18072014-02-27 Joey Ye <joey.ye@arm.com>
1808
1809 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
1810 (_FP_NANFRAC_Q): Set to zero.
1811
1cadc858
SP
18122014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1813
1814 [BZ #16623]
1815 * math/auto-libm-test-in: New test inputs.
1816 * math/auto-libm-test-out: Regenerate.
1817 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
1818 and DA.
1819 (__cos): Likewise.
1820 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
1821
f8c17e79
JM
18222014-02-27 Joseph Myers <joseph@codesourcery.com>
1823
1824 * scripts/evaluate-test.sh: Take new argument indicating whether
1825 failure is expected.
1826 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
1827 indicating whether failure is expected.
1828 * conform/Makefile (test-xfail-run-conformtest): New variable.
1829 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
1830 level.
1831 * posix/Makefile (test-xfail-annexc): New variable.
1832 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
1833
a5f891ac
JM
18342014-02-26 Joseph Myers <joseph@codesourcery.com>
1835
1836 * argp/Makefile: Include Makeconfig immediately after defining
1837 subdir.
1838 * assert/Makefile: Likewise.
1839 * benchtests/Makefile: Likewise.
1840 * catgets/Makefile: Likewise.
1841 * conform/Makefile: Likewise.
1842 * crypt/Makefile: Likewise.
1843 * csu/Makefile: Likewise.
1844 (all): Remove target.
1845 * ctype/Makefile: Include Makeconfig immediately after defining
1846 subdir.
1847 * debug/Makefile: Likewise.
1848 * dirent/Makefile: Likewise.
1849 * dlfcn/Makefile: Likewise.
1850 * gmon/Makefile: Likewise.
1851 * gnulib/Makefile: Likewise.
1852 * grp/Makefile: Likewise.
1853 * gshadow/Makefile: Likewise.
1854 * hesiod/Makefile: Likewise.
1855 * hurd/Makefile: Likewise.
1856 (all): Remove target.
1857 * iconvdata/Makefile: Include Makeconfig immediately after
1858 defining subdir.
1859 * inet/Makefile: Likewise.
1860 * intl/Makefile: Likewise.
1861 * io/Makefile: Likewise.
1862 * libio/Makefile: Likewise.
1863 (all): Remove target.
1864 * locale/Makefile: Include Makeconfig immediately after defining
1865 subdir.
1866 * login/Makefile: Likewise.
1867 * mach/Makefile: Likewise.
1868 (all): Remove target.
1869 * malloc/Makefile: Include Makeconfig immediately after defining
1870 subdir.
1871 (all): Remove target.
1872 * manual/Makefile: Include Makeconfig immediately after defining
1873 subdir.
1874 * math/Makefile: Likewise.
1875 * misc/Makefile: Likewise.
1876 * nis/Makefile: Likewise.
1877 * nss/Makefile: Likewise.
1878 * po/Makefile: Likewise.
1879 (all): Remove target.
1880 * posix/Makefile: Include Makeconfig immediately after defining
1881 subdir.
1882 * pwd/Makefile: Likewise.
1883 * resolv/Makefile: Likewise.
1884 * resource/Makefile: Likewise.
1885 * rt/Makefile: Likewise.
1886 * setjmp/Makefile: Likewise.
1887 * shadow/Makefile: Likewise.
1888 * signal/Makefile: Likewise.
1889 * socket/Makefile: Likewise.
1890 * soft-fp/Makefile: Likewise.
1891 * stdio-common/Makefile: Likewise.
1892 * stdlib/Makefile: Likewise.
1893 * streams/Makefile: Likewise.
1894 * string/Makefile: Likewise.
1895 * sunrpc/Makefile: Likewise.
1896 (all): Remove target.
1897 * sysvipc/Makefile: Include Makeconfig immediately after defining
1898 subdir.
1899 * termios/Makefile: Likewise.
1900 * time/Makefile: Likewise.
1901 * timezone/Makefile: Likewise.
1902 (all): Remove target.
1903 * wcsmbs/Makefile: Include Makeconfig immediately after defining
1904 subdir.
1905 * wctype/Makefile: Likewise.
1906
5b456e9d
SE
19072014-02-26 Steve Ellcey <sellcey@mips.com>
1908
1909 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
1910 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
1911 (libc_feholdexcept_setround_mips): Ditto.
1912 (libc_feholdsetround): New.
1913 (libc_feholdsetroundf): New.
1914 (libc_feholdsetroundl): New.
1915 (libc_feupdateenv_test_mips): New.
1916 (libc_feupdateenv_test): New.
1917 (libc_feupdateenv_testf): New.
1918 (libc_feupdateenv_testl): New.
1919 (libc_feresetround): New.
1920 (libc_feresetroundf): New.
1921 (libc_feresetroundl): New.
1922 (libc_fetestexcept_mips): New.
1923 (libc_fetestexcept): New.
1924 (libc_fetestexceptf): New.
1925 (libc_fetestexceptl): New.
1926 (HAVE_RM_CTX): New.
1927 (libc_feholdexcept_setround_mips_ctx): New.
1928 (libc_feholdexcept_setround_ctx): New.
1929 (libc_feholdexcept_setroundf_ctx): New.
1930 (libc_feholdexcept_setroundl_ctx): New.
1931 (libc_fesetenv_mips_ctx): New.
1932 (libc_fesetenv_ctx): New.
1933 (libc_fesetenv_ctxf): New.
1934 (libc_fesetenv_ctxl): New.
1935 (libc_feupdateenv_mips_ctx): New.
1936 (libc_feupdateenv_ctx): New.
1937 (libc_feupdateenvf_ctx): New.
1938 (libc_feupdateenvl_ctx): New.
1939 (libc_feholdsetround_mips_ctx): New.
1940 (libc_feholdsetround_ctx): New.
1941 (libc_feholdsetroundf_ctx): New.
1942 (libc_feholdsetroundl_ctx): New.
1943 (libc_feresetround_mips_ctx): New.
1944 (libc_feresetround_ctx): New.
1945 (libc_feresetroundf_ctx): New.
1946 (libc_feresetroundl_ctx): New.
1947
085d0e35
CD
19482014-02-26 Carlos O'Donell <carlos@redhat.com>
1949
f067bf1f
CD
1950 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
1951
085d0e35
CD
1952 * manual/ipc.texi: New file.
1953 * manual/Makefile (chapters): Add ipc.
1954 * manual/job.texi: Add "Inter-Process Communication" to next.
1955 * manual/process.texi: Add "Inter-Process Communication" to prev.
1956
86e58c08
AZ
19572014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1958
1959 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1960
4248f0da
OB
19612014-02-26 Ondřej Bílka <neleai@seznam.cz>
1962
1963 * malloc/malloc.c (__libc_calloc): Simplify implementation.
1964
cf822e3c
OB
1965 * manual/arith.texi: Fix spaces after sentences.
1966 * manual/charset.texi: Likewise.
1967 * manual/errno.texi: Likewise.
1968 * manual/install.texi: Likewise.
1969 * manual/llio.texi: Likewise.
1970 * manual/locale.texi: Likewise.
1971 * manual/maint.texi: Likewise.
1972 * manual/math.texi: Likewise.
1973 * manual/memory.texi: Likewise.
1974 * manual/message.texi: Likewise.
1975 * manual/probes.texi: Likewise.
1976 * manual/resource.texi: Likewise.
1977 * manual/signal.texi: Likewise.
1978 * manual/socket.texi: Likewise.
1979 * manual/stdio.texi: Likewise.
1980 * manual/string.texi: Likewise.
1981 * manual/time.texi: Likewise.
1982 * manual/users.texi: Likewise.
1983
ade40b10
CD
19842014-02-25 Carlos O'Donell <carlos@redhat.com>
1985
1986 [BZ #16632]
1987 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
1988 _DEFAULT_SOURCE is defined.
1989
d0503676
CD
19902014-02-25 Ulrich Drepper <drepper@gmail.com>
1991 Carlos O'Donell <carlos@redhat.com>
1992
1993 [BZ #16613]
1994 * elf/dl-tls.c (_dl_count_modids): New function.
1995 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
1996 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
1997 audit library and increment generation counter.
1998 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
1999 * elf/tst-audit9.c: New file.
2000 * elf/tst-auditmod9a.c: New file.
2001 * elf/tst-auditmod9b.c: New file.
2002 * elf/Makefile: Add rules to build and run tst-audit9.
2003
4cbf380c
FW
20042014-02-25 Florian Weimer <fweimer@redhat.com>
2005
2006 [BZ #15347]
2007 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
2008
80a56cc3
WN
20092014-02-25 Will Newton <will.newton@linaro.org>
2010
2011 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
2012 (__longjmp): Restore sp and lr before restoring callee
2013 saved registers. Add longjmp and longjmp_target
2014 SystemTap probe point.
2015 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
2016 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
2017 Define to zero to match jmpbuf layout.
2018 * sysdeps/arm/setjmp.S: Include stap-probe.h.
2019 (__sigsetjmp): Save sp and lr before saving callee
2020 saved registers. Add setjmp SystemTap probe point.
2021
3ea0f74e
SL
20222014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
2023
2024 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2025
b04acb26
AS
20262014-02-24 Andreas Schwab <schwab@suse.de>
2027
2028 [BZ #15804]
2029 * elf/pldd.c (wait_for_ptrace_stop): New function.
2030 (main): Call it after attaching.
2031
098ad55c
RM
20322014-02-22 Roland McGrath <roland@hack.frob.com>
2033
d4ec6ae1
RM
2034 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
2035 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
2036 Versions files is now verboten.
2037 * hurd/Versions (libc: GLIBC_2.0):
2038 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
2039 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
2040 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
2041 * mach/Versions: Likewise.
2042
098ad55c
RM
2043 * csu/Versions: Remove unused %include.
2044 * resolv/Versions: Likewise.
2045
acd7f096
JM
20462014-02-21 Joseph Myers <joseph@codesourcery.com>
2047
f0881698
JM
2048 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
2049 ($(objpfx)check-local-headers.out): Likewise.
2050 ($(objpfx)begin-end-check.out): Likewise.
2051 * Makerules (check-abi-%.out): Likewise.
2052 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
2053 ($(objpfx)test2.cat): Likewise.
2054 ($(objpfx)de/libc.cat): Likewise.
2055 ($(objpfx)test-gencat.out): Likewise.
2056 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
2057 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
2058 ($(objpfx)noload-mem): Likewise.
2059 ($(objpfx)tst-pathopt.out): Likewise.
2060 ($(objpfx)tst-rtld-load-self.out): Likewise.
2061 ($(objpfx)tst-array1-cmp.out): Likewise.
2062 ($(objpfx)tst-array1-static-cmp.out): Likewise.
2063 ($(objpfx)tst-array2-cmp.out): Likewise.
2064 ($(objpfx)tst-array3-cmp.out): Likewise.
2065 ($(objpfx)tst-array4-cmp.out): Likewise.
2066 ($(objpfx)tst-array5-cmp.out): Likewise.
2067 ($(objpfx)tst-array5-static-cmp.out): Likewise.
2068 ($(objpfx)check-textrel.out): Likewise.
2069 ($(objpfx)check-execstack.out): Likewise.
2070 ($(objpfx)check-localplt.out): Likewise.
2071 ($(objpfx)order2-cmp.out): Likewise.
2072 ($(objpfx)tst-leaks1-mem): Likewise.
2073 ($(objpfx)tst-leaks1-static-mem): Likewise.
2074 ($(objpfx)tst-initorder-cmp.out): Likewise.
2075 ($(objpfx)tst-initorder2-cmp.out): Likewise.
2076 ($(objpfx)tst-unused-dep.out): Likewise.
2077 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
2078 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
2079 * iconv/Makefile (test-iconvconfig): Likewise.
2080 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
2081 ($(objpfx)iconv-test.out): Likewise.
2082 ($(objpfx)tst-tables.out): Likewise.
2083 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
2084 ($(objpfx)tst-gettext.out): Likewise.
2085 ($(objpfx)tst-translit.out): Likewise.
2086 ($(objpfx)tst-gettext2.out): Likewise.
2087 ($(objpfx)tst-gettext4.out): Likewise.
2088 ($(objpfx)tst-gettext6.out): Likewise.
2089 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
2090 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
2091 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
2092 ($(objpfx)tst-fopenloc-mem.out): Likewise.
2093 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
2094 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
2095 * posix/Makefile ($(objpfx)globtest.out): Likewise.
2096 ($(objpfx)wordexp-tst.out): Likewise.
2097 ($(objpfx)annexc.out): Likewise.
2098 ($(objpfx)tst-fnmatch-mem): Likewise.
2099 ($(objpfx)bug-regex2-mem): Likewise.
2100 ($(objpfx)bug-regex14-mem): Likewise.
2101 ($(objpfx)bug-regex21-mem): Likewise.
2102 ($(objpfx)bug-regex31-mem): Likewise.
2103 ($(objpfx)tst-vfork3-mem): Likewise.
2104 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
2105 ($(objpfx)tst-pcre-mem): Likewise.
2106 ($(objpfx)tst-boost-mem): Likewise.
2107 ($(objpfx)tst-getconf.out): Likewise.
2108 ($(objpfx)bug-ga2-mem): Likewise.
2109 ($(objpfx)bug-glob2-mem): Likewise.
2110 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
2111 ($(objpfx)mtrace-tst-leaks2): Likewise.
2112 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
2113 ($(objpfx)tst-printf.out): Likewise.
2114 ($(objpfx)tst-setvbuf1.out): Likewise.
2115 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
2116 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
2117 ($(objpfx)tst-fmtmsg.out): Likewise.
2118 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
2119 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
2120
acd7f096
JM
2121 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
2122 * bits/sigaction.h [__USE_MISC]: Likewise.
2123 * bits/waitstatus.h: Update #endif comments.
2124 * ctype/ctype.h: Likewise.
2125 * dirent/dirent.h: Likewise.
2126 [__USE_MISC]: Remove redundant conditionals.
2127 * grp/grp.h: Update #endif comments.
2128 [__USE_GNU]: Remove redundant conditionals.
2129 [__USE_MISC]: Likewise.
2130 * inet/netinet/in.h [__USE_GNU]: Likewise.
2131 * io/sys/stat.h [__USE_MISC]: Likewise.
2132 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
2133 * libio/bits/stdio.h: Update #endif comments.
2134 [__USE_MISC]: Remove redundant conditionals.
2135 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
2136 * libio/stdio.h: Update #endif comments.
2137 [__USE_MISC]: Remove redundant conditionals.
2138 * math/bits/math-finite.h [__USE_MISC]: Likewise.
2139 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
2140 * math/math.h: Update #else and #endif comments.
2141 [__USE_MISC]: Remove redundant conditionals.
2142 * misc/sys/uio.h: Update #endif comments.
2143 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
2144 * posix/glob.h [__USE_MISC]: Likewise.
2145 * posix/sys/types.h: Update #endif comments.
2146 [__USE_MISC]: Remove redundant conditionals.
2147 * posix/sys/wait.h: Update #endif comments.
2148 [__USE_MISC]: Remove redundant conditionals.
2149 * posix/unistd.h: Update #endif comments.
2150 [__USE_MISC]: Remove redundant conditionals.
2151 * pwd/pwd.h [__USE_GNU]: Likewise.
2152 [__USE_MISC]: Likewise.
2153 * resolv/netdb.h [__USE_GNU]: Likewise.
2154 * signal/signal.h: Update #endif comments.
2155 [__USE_MISC]: Remove redundant conditionals.
2156 * stdlib/stdlib.h: Update #else and #endif comments.
2157 [__USE_MISC]: Remove redundant conditionals.
2158 [__USE_GNU]: Likewise.
2159 * string/bits/string2.h [__USE_MISC]: Likewise.
2160 * string/string.h: Update #endif comments.
2161 [__USE_MISC]: Remove redundant conditionals.
2162 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
2163 Likewise.
2164 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
2165 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
2166 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
2167 Likewise.
2168 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
2169 Likewise.
2170 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
2171 comments.
2172 [__USE_MISC]: Remove redundant conditionals.
2173 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
2174 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
2175 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
2176 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
2177 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
2178 Likewise.
2179 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
2180 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
2181 Likewise.
2182 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
2183 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
2184 Likewise.
2185 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
2186 Likewise.
2187 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
2188 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
2189 Likewise.
2190 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
2191 Likewise.
2192 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
2193 * sysdeps/x86/bits/string.h: Update #endif comments.
2194 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
2195 conditionals.
2196 * time/sys/time.h: Update #endif comments.
2197 * time/time.h: Likewise.
2198 [__USE_MISC]: Remove redundant conditionals.
2199
a5d82e4e
YG
22002014-02-21 Yury Gribov <y.gribov@samsung.com>
2201
2202 [BZ #16600]
2203 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
2204
9a80491d
AS
22052014-02-21 Andreas Schwab <schwab@linux-m68k.org>
2206
2207 * Versions.def (librt): Add GLIBC_2.17.
2208
105fa381
AC
22092014-02-21 Adam Conrad <adconrad@0c3.net>
2210
2211 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
2212 synonym for _SYS_AUXV_H to allow direct inclusion.
2213 * sysdeps/sparc/bits/hwcap.h: Likewise.
2214 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
2215 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
2216 * sysdeps/sparc/sysdep.h: Likewise.
2217
b8cd1c4e
SP
22182014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2219
2220 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
2221
bd939d23
RS
22222014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2223
2224 * benchtests/bench-strrchr.c: Print length instead of position.
2225
5d7b57ca
JM
22262014-02-20 Joseph Myers <joseph@codesourcery.com>
2227
bc688c10
JM
2228 [BZ #16611]
2229 * sysdeps/unix/sysv/linux/kernel-features.h
2230 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
2231 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
2232 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
2233 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
2234 Likewise.
2235 [__i386__ || __powerpc__ || __sh__ || __sparc__]
2236 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2237 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
2238 (__ASSUME_SENDMMSG): Define instead of using previous
2239 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
2240 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2241 (__ASSUME_SENDMMSG_SYSCALL): Define.
2242 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2243 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
2244 Likewise.
2245 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2246 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
2247 Likewise.
2248 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2249 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
2250 Likewise.
2251 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
2252 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
2253 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
2254 [__ASSUME_SENDMMSG]: Change conditionals to
2255 [__ASSUME_SENDMMSG_SOCKETCALL].
2256 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2257 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
2258 Define.
2259 * sysdeps/unix/sysv/linux/mips/kernel-features.h
2260 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
2261 Likewise.
2262 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
2263 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
2264 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
2265 [!__ASSUME_SENDMMSG]: Change conditional to
2266 [!__ASSUME_SENDMMSG_SOCKETCALL].
2267 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2268 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
2269 Define.
2270
0e31b18c
JM
2271 [BZ #16610]
2272 * sysdeps/unix/sysv/linux/kernel-features.h
2273 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
2274 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
2275 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
2276 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
2277 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2278 [__i386__ || __sparc__]
2279 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2280 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
2281 (__ASSUME_RECVMMSG): Define instead of using previous
2282 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
2283 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2284 (__ASSUME_RECVMMSG_SYSCALL): Define.
2285 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2286 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2287 Likewise.
2288 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2289 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2290 Likewise.
2291 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2292 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2293 Likewise.
2294 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
2295 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
2296 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
2297 [__ASSUME_RECVMMSG]: Change condition to
2298 [__ASSUME_RECVMMSG_SOCKETCALL].
2299 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2300 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2301 Define.
2302 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2303 * sysdeps/unix/sysv/linux/mips/kernel-features.h
2304 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2305 Likewise.
2306 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
2307 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
2308 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
2309 [!__ASSUME_RECVMMSG]: Change condition to
2310 [!__ASSUME_RECVMMSG_SOCKETCALL].
2311 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2312 (__ASSUME_RECVMMSG_SYSCALL): Define.
2313
dd481ccf
JM
2314 [BZ #16609]
2315 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
2316 __powerpc__ || __s390__ || __sh__ || __sparc__]
2317 (__ASSUME_SOCKETCALL): Define.
2318 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
2319 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
2320 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
2321 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
2322 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2323 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
2324 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
2325 (__ASSUME_ACCEPT4): Define instead of using previous
2326 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
2327 __powerpc__ || __sparc__ || __s390__)] condition.
2328 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2329 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
2330 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
2331 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
2332 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
2333 [!__ASSUME_ACCEPT4]: Change condition to
2334 [!__ASSUME_ACCEPT4_SOCKETCALL].
2335 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2336 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
2337 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
2338 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2339 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
2340 __ASSUME_ACCEPT4_SYSCALL.
2341 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
2342 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
2343 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2344 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
2345 __ASSUME_ACCEPT4_SYSCALL.
2346 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
2347 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
2348 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
2349 [__ASSUME_ACCEPT4]: Change condition to
2350 [__ASSUME_ACCEPT4_SOCKETCALL].
2351 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2352 (__ASSUME_SOCKETCALL): Define.
2353 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
2354 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2355 (__ASSUME_SOCKETCALL): Define.
2356 (__ASSUME_ACCEPT4): Remove.
2357 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
2358 Define.
2359 * sysdeps/unix/sysv/linux/mips/kernel-features.h
2360 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
2361 Likewise.
2362 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2363 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
2364
5d7b57ca
JM
2365 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
2366 macro.
2367 (HWCAP_ARM_LPAE): Likewise.
2368 (HWCAP_ARM_EVTSTRM): Likewise.
2369 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
2370 Add vpfd32, lpae and evtstrm.
2371 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
2372 Increase to 22.
2373
63689d61
JM
23742014-02-19 Joseph Myers <joseph@codesourcery.com>
2375
2376 * math/auto-libm-test-in: Add tests of clog10.
2377 * math/auto-libm-test-out: Regenerated.
2378 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
2379 * sysdeps/i386/fpu/libm-test-ulps: Update.
2380 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2381
ab09bf61
AS
23822014-02-18 Andreas Schwab <schwab@suse.de>
2383
2384 [BZ #16574]
2385 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
2386 Store non-zero if the second buffer was newly allocated.
2387 (send_dg): Likewise.
2388 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
2389 to send_vc and send_dg.
2390 (res_nsend): Pass NULL for ansp2_malloced.
2391 * resolv/res_query.c (__libc_res_nquery): Add parameter
2392 answerp2_malloced and pass it down to __libc_res_nsend.
2393 (res_nquery): Pass additional NULL to __libc_res_nquery.
2394 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
2395 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
2396 second answer buffer if answerp2_malloced was set.
2397 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
2398 (__libc_res_nquerydomain): Add parameter
2399 answerp2_malloced and pass it down to __libc_res_nquery.
2400 (res_nquerydomain): Pass additional NULL to
2401 __libc_res_nquerydomain.
2402 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
2403 additional NULL to __libc_res_nsend and __libc_res_nquery.
2404 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
2405 additional NULL to __libc_res_nsearch.
2406 (_nss_dns_gethostbyname4_r): Revert last change. Use new
2407 parameter of __libc_res_nsearch to check for separately allocated
2408 second buffer.
2409 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
2410 __libc_res_nquery.
2411 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
2412 additional NULL to __libc_res_nquery.
2413 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
2414 __libc_res_nsearch.
2415 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
2416 * include/resolv.h: Update prototypes of __libc_res_nquery,
2417 __libc_res_nsearch, __libc_res_nsend.
2418
a4fb7861
JM
24192014-02-18 Joseph Myers <joseph@codesourcery.com>
2420
c6af2d89
JM
2421 * math/auto-libm-test-in: Add tests of fma.
2422 * math/auto-libm-test-out: Regenerated.
2423 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
2424 (fma_towardzero_test_data): Likewise.
2425 (fma_downward_test_data): Likewise.
2426 (fma_upward_test_data): Likewise.
2427 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
2428 mpc_mode.
2429 (rounding_modes): Add values for new field.
2430 (func_calc_method): Add value mpfr_fff_f.
2431 (func_calc_desc): Add mpfr_fff_f union field.
2432 (test_function): Add field exact_args.
2433 (FUNC): Add macro argument EXACT_ARGS.
2434 (FUNC_mpfr_f_f): Update call to FUNC.
2435 (FUNC_mpfr_f_f): Likewise.
2436 (FUNC_mpfr_ff_f): Likewise.
2437 (FUNC_mpfr_if_f): Likewise.
2438 (FUNC_mpc_c_f): Likewise.
2439 (FUNC_mpc_c_c): Likewise.
2440 (test_functions): Add fma. Update calls to FUNC.
2441 (handle_input_arg): Add argument exact_args.
2442 (add_test): Update call to handle_input_arg.
2443 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
2444 (output_for_one_input_case): Update call to calc_generic_results.
2445 Recalculate exact zero results in each rounding mode.
2446
a4fb7861
JM
2447 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
2448 non-negative before setting low bit.
2449 * math/auto-libm-test-in: Mark one asin test possibly having
2450 spurious underflow.
2451 * math/auto-libm-test-out: Regenerated.
2452 * sysdeps/i386/fpu/libm-test-ulps: Update.
2453 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2454
ef114eaf
DH
24552014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
2456
2b7f4f2c
SP
2457 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
2458 * sysdeps/unix/sysv/linux/microblaze: Move directory from
2459 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
2460 * README: Add missing listing for microblaze*-*-linux-gnu.
2461
c70a4b1d
MF
24622014-02-16 Mike Frysinger <vapier@gentoo.org>
2463
2464 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
2465 * sysdeps/unix/sysv/linux/ia64: Move directory from
2466 ports/sysdeps/unix/sysv/linux/ia64.
2467 * README: Update listing for ia64-*-linux-gnu.
2468
591aeaf7
TD
24692014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
2470 Joseph Myers <joseph@codesourcery.com>
2471
2472 * Makeconfig (test-name): New variable.
2473 (evaluate-test): Likewise.
2474 * Makerules (do-test-clean): Remove .test-result files.
2475 (common-mostlyclean): Likewise.
2476 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
2477 * scripts/evaluate-test.sh: New file.
2478
6e89caf1
JM
24792014-02-14 Joseph Myers <joseph@codesourcery.com>
2480
7f98f180
JM
2481 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
2482 separate $(objpfx)tst-fopenloc-cmp.out and
2483 $(objpfx)tst-fopenloc-mem.out targets.
2484 (tests): Update dependencies.
2485 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
2486 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
2487 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
2488 (tst-rxspencer-no-utf8-ARGS): New variable.
2489 (tst-rxspencer-no-utf8-ENV): Likewise.
2490 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
2491 instead of $(objpfx)tst-rxspencer-mem.
2492 ($(objpfx)tst-rxspencer-mem): Change target to
2493 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
2494 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
2495 * posix/tst-rxspencer-no-utf8.c: New file.
2496
6e89caf1
JM
2497 * elf/Makefile ($(objpfx)order.out): Remove rule.
2498 [$(run-built-tests) = yes] (tests): Depend on
2499 $(objpfx)order-cmp.out.
2500 ($(objpfx)order-cmp.out): New rule.
2501 [$(run-built-tests) = yes] (tests): Depend on
2502 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
2503 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
2504 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
2505 $(objpfx)tst-array5-static-cmp.out.
2506 ($(objpfx)tst-array1.out): Remove rule.
2507 ($(objpfx)tst-array1-cmp.out): New rule.
2508 ($(objpfx)tst-array1-static.out): Remove rule.
2509 ($(objpfx)tst-array1-static-cmp.out): New rule.
2510 ($(objpfx)tst-array2.out): Remove rule.
2511 ($(objpfx)tst-array2-cmp.out): New rule.
2512 ($(objpfx)tst-array3.out): Remove rule.
2513 ($(objpfx)tst-array3-cmp.out): New rule.
2514 ($(objpfx)tst-array4.out): Remove rule.
2515 ($(objpfx)tst-array4-cmp.out): New rule.
2516 ($(objpfx)tst-array5.out): Remove rule.
2517 ($(objpfx)tst-array5-cmp.out): New rule.
2518 ($(objpfx)tst-array5-static.out): Remove rule.
2519 ($(objpfx)tst-array5-static-cmp.out): New rule.
2520 [$(run-built-tests) = yes] (tests): Depend on
2521 $(objpfx)order2-cmp.out.
2522 ($(objpfx)order2.out): Remove rule.
2523 ($(objpfx)order2-cmp.out): New rule.
2524 ($(objpfx)tst-initorder.out): Remove rule.
2525 [$(run-built-tests) = yes] (tests): Depend on
2526 $(objpfx)tst-initorder-cmp.out.
2527 ($(objpfx)tst-initorder-cmp.out): New rule.
2528 ($(objpfx)tst-initorder2.out): Remove rule.
2529 [$(run-built-tests) = yes] (tests): Depend on
2530 $(objpfx)tst-initorder2-cmp.out.
2531 ($(objpfx)tst-initorder2-cmp.out): New rule.
2532 [$(run-built-tests) = yes] (tests): Depend on
2533 $(objpfx)tst-unused-dep-cmp.out.
2534 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
2535 ($(objpfx)tst-unused-dep-cmp.out): New rule.
2536 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
2537 on $(objpfx)tst-setvbuf1-cmp.out.
2538 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
2539 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
2540 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
2541 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
2542 ($(objpfx)tst-svc.out): Remove rule.
2543 ($(objpfx)tst-svc-cmp.out): New rule.
2544
ed9a38e2
JM
25452014-02-13 Joseph Myers <joseph@codesourcery.com>
2546
2547 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
2548 * ctype/ctype.h [__USE_MISC]: Likewise.
2549 * dirent/dirent.h [__USE_MISC]: Likewise.
2550 * grp/grp.h [__USE_MISC]: Likewise.
2551 * io/fcntl.h [__USE_MISC]: Likewise.
2552 * io/sys/stat.h [__USE_MISC]: Likewise.
2553 * libio/stdio.h [__USE_MISC]: Likewise.
2554 * posix/unistd.h [__USE_MISC]: Likewise.
2555 * pwd/pwd.h [__USE_MISC]: Likewise.
2556 * stdlib.h [__USE_MISC]: Likewise.
2557 * string/bits/string2.h [__USE_MISC]: Likewise.
2558 * string/string.h [__USE_MISC]: Likewise.
2559 * time/time.h [__USE_MISC]: Likewise.
2560
d6680619
AS
25612014-02-13 Andreas Schwab <schwab@suse.de>
2562
2563 [BZ #16574]
2564 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
2565 second answer buffer if it was separately allocated.
2566
ace614b8
JM
25672014-02-12 Joseph Myers <joseph@codesourcery.com>
2568
743151ae
JM
2569 * sysdeps/mips/math-tests.h: Include <features.h>.
2570 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
2571 (ROUNDING_TESTS_long_double): Do not define.
2572 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
2573 (EXCEPTION_TESTS_long_double): Likewise.
2574 * sysdeps/mips/mips64/libm-test-ulps: Update.
2575
498afc54
JM
2576 * include/features.h (__USE_BSD): Remove macro definitions.
2577 (__USE_SVID): Likewise.
2578 (_BSD_SOURCE): Likewise.
2579 (_SVID_SOURCE): Likewise.
2580 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
2581 from definition of _DEFAULT_SOURCE.
2582 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
2583 [_DEFAULT_SOURCE].
2584 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
2585 * bits/mman.h [__USE_BSD]: Likewise.
2586 * bits/termios.h [__USE_BSD]: Likewise.
2587 * bits/waitstatus.h [__USE_BSD]: Likewise.
2588 * ctype/ctype.h [__USE_SVID]: Likewise.
2589 * dirent/dirent.h [__USE_BSD]: Likewise.
2590 * grp/grp.h [__USE_SVID]: Likewise.
2591 [__USE_BSD]: Likewise.
2592 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
2593 * io/fcntl.h [__USE_BSD]: Likewise.
2594 * io/ftw.h [__USE_BSD]: Likewise.
2595 * io/sys/stat.h [__USE_BSD]: Likewise.
2596 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
2597 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
2598 * libio/stdio.h [__USE_SVID]: Likewise.
2599 [__USE_BSD]: Likewise.
2600 * math/math.h [__USE_SVID]: Likewise.
2601 [__USE_BSD]: Likewise.
2602 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
2603 * misc/bits/syslog.h [__USE_BSD]: Likewise.
2604 * misc/search.h [__USE_SVID]: Likewise.
2605 * misc/sys/mman.h [__USE_BSD]: Likewise.
2606 * misc/sys/syslog.h [__USE_BSD]: Likewise.
2607 * misc/sys/uio.h [__USE_BSD]: Likewise.
2608 * posix/bits/unistd.h [__USE_BSD]: Likewise.
2609 * posix/glob.h [__USE_BSD]: Likewise.
2610 * posix/regex.h [__USE_BSD]: Likewise.
2611 * posix/sys/types.h [__USE_BSD]: Likewise.
2612 [__USE_SVID]: Likewise.
2613 * posix/sys/utsname.h [__USE_SVID]: Likewise.
2614 * posix/sys/wait.h [__USE_BSD]: Likewise.
2615 [__USE_SVID]: Likewise.
2616 * posix/unistd.h [__USE_BSD]: Likewise.
2617 [__USE_SVID]: Likewise.
2618 * pwd/pwd.h [__USE_SVID]: Likewise.
2619 * resolv/netdb.h [__USE_BSD]: Likewise.
2620 * setjmp/setjmp.h [__USE_BSD]: Likewise.
2621 * signal/signal.h [__USE_BSD]: Likewise.
2622 [__USE_SVID]: Likewise.
2623 * socket/sys/socket.h [__USE_BSD]: Likewise.
2624 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
2625 * stdlib/stdlib.h [__USE_BSD]: Likewise.
2626 [__USE_SVID]: Likewise.
2627 * string/bits/string2.h [__USE_BSD]: Likewise.
2628 [__USE_SVID]: Likewise.
2629 * string/bits/string3.h [__USE_BSD]: Likewise.
2630 * string/endian.h [__USE_BSD]: Likewise.
2631 * string/string.h [__USE_SVID]: Likewise.
2632 [__USE_BSD]: Likewise.
2633 * string/strings.h [__USE_BSD]: Likewise.
2634 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
2635 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
2636 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
2637 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
2638 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
2639 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
2640 Likewise.
2641 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
2642 Likewise.
2643 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
2644 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
2645 Likewise.
2646 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
2647 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
2648 Likewise.
2649 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
2650 Likewise.
2651 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
2652 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
2653 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
2654 Likewise.
2655 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
2656 Likewise.
2657 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
2658 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
2659 * termios/termios.h [__USE_BSD]: Likewise.
2660 * time/sys/time.h [__USE_BSD]: Likewise.
2661 * time/time.h [__USE_BSD]: Likewise.
2662 [__USE_SVID]: Likewise.
2663
dd7b064c
JM
2664 * Makefile (subdir_targets): Remove subdir_lint.out.
2665
a2c4c199
JM
2666 * stdio-common/Makefile (do-tst-unbputc): Remove target.
2667 (do-tst-printf): Likewise.
2668 (tests): Depend directly on $(objpfx)tst-unbputc.out and
2669 $(objpfx)tst-printf.out.
2670
8756f740
JM
2671 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
2672
1b6dd3f1
JM
2673 * Makerules (check-abi-%): Change target to
2674 $(objpfx)check-abi-%.out.
2675 (check-abi target): Update dependencies.
2676 (check-abi-pattern variable): Redirect output of diff to $@.
2677 (check-abi variable): Likewise.
2678 * elf/Makefile (check-abi): Update dependencies.
2679
ace614b8
JM
2680 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
2681 unused.
2682 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
2683 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
2684 subnormal range.
2685 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
2686 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
2687 value has largest subnormal exponent.
2688 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
2689 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
2690 * sysdeps/aarch64/soft-fp/sfp-machine.h
2691 (_FP_TININESS_AFTER_ROUNDING): New macro.
2692 * sysdeps/alpha/soft-fp/sfp-machine.h
2693 (_FP_TININESS_AFTER_ROUNDING): Likewise.
2694 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2695 Likewise.
2696 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
2697 (_FP_TININESS_AFTER_ROUNDING): Likewise.
2698 * sysdeps/mips/soft-fp/sfp-machine.h
2699 (_FP_TININESS_AFTER_ROUNDING): Likewise.
2700 * sysdeps/powerpc/soft-fp/sfp-machine.h
2701 (_FP_TININESS_AFTER_ROUNDING): Likewise.
2702 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2703 Likewise.
2704 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
2705 (_FP_TININESS_AFTER_ROUNDING): Likewise.
2706 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
2707 (_FP_TININESS_AFTER_ROUNDING): Likewise.
2708 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2709 Likewise.
2710
fbfdf9cb
DAS
27112014-02-12 Dylan Alex Simon <dylan@dylex.net>
2712
2713 [BZ #16545]
2714 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
2715 model 1.
2716
68b7efaa
RH
27172014-02-12 Richard Henderson <rth@redhat.com>
2718
c70a4b1d 2719 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
2720 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
2721 * sysdeps/unix/sysv/linux/alpha: Move directory from
2722 ports/sysdeps/unix/sysv/linux/alpha.
2723 * README: Update listing for alpha-*-linux-gnu.
2724
cb4a2928
JM
27252014-02-11 Joseph Myers <joseph@codesourcery.com>
2726
c941736c
JM
2727 * include/features.h: Update comment documenting feature test
2728 macros.
2729 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
2730 _DEFAULT_SOURCE.
2731 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
2732 (_SVID_SOURCE): Likewise.
2733 (_DEFAULT_SOURCE): Update description of default features.
2734 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
2735 with _GNU_SOURCE.
2736 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
2737 (S_ISVTX): Likewise.
2738 * manual/math.texi (Mathematical Constants): Likewise.
2739 * manual/signal.texi (Interrupted Primitives): Likewise.
2740 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
2741 * math/test-matherr.c (_SVID_SOURCE): Do not define.
2742 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
2743 Don't refer to _SVID_SOURCE in warning text.
2744
e8d8d7ec
JM
2745 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2746
cb4a2928
JM
2747 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
2748 already defined.
2749 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
2750 * sysdeps/mips/dl-lookup.c: Remove.
2751 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
2752
7e6424e3
AK
27532014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
2754
2755 [BZ #16447]
2756 * math/auto-libm-test-in: Add testcase for expl.
2757 * math/auto-libm-test-out: Regenerate.
2758 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
2759 calculation of unsafe.
2760 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
2761
75eff3fe
MS
27622014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
2763
2764 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
2765 * sysdeps/unix/sysv/linux/aarch64: Move directory from
2766 ports/sysdeps/unix/sysv/linux/aarch64.
2767 * README: Update listing for aarch64*-*-linux-gnu.
2768
d35f1e80
WN
27692014-02-11 Will Newton <will.newton@linaro.org>
2770
2771 * manual/probes.texi (Mathematical Function Probes): Use
2772 "triggered" instead of "hit".
2773
7b3436d4
WN
27742014-02-11 Will Newton <will.newton@linaro.org>
2775
2776 * manual/probes.texi (Internal Probes): Add documentation
2777 of setjmp, longjmp and longjmp_target probes.
2778
b4f12ca3
WN
27792014-02-11 Will Newton <will.newton@linaro.org>
2780
2781 * include/stap-probe.h: Add comment about probe argument
2782 format.
2783
c13a72b7
WN
27842014-02-11 Will Newton <will.newton@linaro.org>
2785
2786 * malloc/mtrace.c (attribute_hidden): Remove unused macro
2787 definition. (tr_where, tr_freehook, tr_mallochook,
2788 tr_reallochook, tr_memalignhook): Use ANSI protoype.
2789
195b8165
DM
27902014-02-11 David S. Miller <davem@davemloft.net>
2791
2792 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
2793 processing int_tests.
2794
2ad7600b
JM
27952014-02-10 Joseph Myers <joseph@codesourcery.com>
2796
2797 * sysdeps/mips: Move directory from ports/sysdeps/mips.
2798 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
2799 * sysdeps/unix/sysv/linux/mips: Move directory from
2800 ports/sysdeps/unix/sysv/linux/mips.
2801 * README: Update listing for mips-*-linux-gnu and
2802 mips64-*-linux-gnu.
2803
73588a72
AS
28042014-02-10 Andreas Schwab <schwab@linux-m68k.org>
2805
2806 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
2807 * sysdeps/unix/sysv/linux/m68k: Move directory from
2808 ports/sysdeps/unix/sysv/linux/m68k.
2809 * README: Update listing for m68k-*-linux-gnu.
2810
4372980f
CM
28112014-02-10 Chris Metcalf <cmetcalf@tilera.com>
2812
2813 * sysdeps/tile: Move directory from ports/sysdeps/tile.
2814 * sysdeps/unix/sysv/linux/generic: Move directory from
2815 ports/sysdeps/unix/sysv/linux/generic.
2816 * sysdeps/unix/sysv/linux/tile: Move directory from
2817 ports/sysdeps/unix/sysv/linux/tile.
2818 * README: Update listing for tile*-*-linux-gnu.
2819
a1ffb40e
OB
28202014-02-10 Ondřej Bílka <neleai@seznam.cz>
2821
2822 * assert/assert.c (__assert_fail_base): Use glibc_likely instead __builtin_expect.
2823 * benchtests/bench-memmem.c (simple_memmem): Likewise.
2824 * catgets/open_catalog.c (__open_catalog): Likewise.
2825 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
2826 * debug/confstr_chk.c: Likewise.
2827 * debug/fread_chk.c (__fread_chk): Likewise.
2828 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
2829 * debug/getgroups_chk.c: Likewise.
2830 * debug/mbsnrtowcs_chk.c: Likewise.
2831 * debug/mbsrtowcs_chk.c: Likewise.
2832 * debug/mbstowcs_chk.c: Likewise.
2833 * debug/memcpy_chk.c: Likewise.
2834 * debug/memmove_chk.c: Likewise.
2835 * debug/mempcpy_chk.c: Likewise.
2836 * debug/memset_chk.c: Likewise.
2837 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
2838 * debug/strcat_chk.c (__strcat_chk): Likewise.
2839 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
2840 * debug/strncat_chk.c (__strncat_chk): Likewise.
2841 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
2842 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
2843 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
2844 * debug/wcpncpy_chk.c: Likewise.
2845 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
2846 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
2847 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
2848 * debug/wcsncpy_chk.c: Likewise.
2849 * debug/wcsnrtombs_chk.c: Likewise.
2850 * debug/wcsrtombs_chk.c: Likewise.
2851 * debug/wcstombs_chk.c: Likewise.
2852 * debug/wmemcpy_chk.c: Likewise.
2853 * debug/wmemmove_chk.c: Likewise.
2854 * debug/wmempcpy_chk.c: Likewise.
2855 * debug/wmemset_chk.c: Likewise.
2856 * dirent/scandirat.c (SCANDIRAT): Likewise.
2857 * dlfcn/dladdr1.c (dladdr1): Likewise.
2858 * dlfcn/dladdr.c (dladdr): Likewise.
2859 * dlfcn/dlclose.c (dlclose_doit): Likewise.
2860 * dlfcn/dlerror.c (__dlerror): Likewise.
2861 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
2862 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
2863 * dlfcn/dlopen.c (dlopen_doit): Likewise.
2864 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
2865 * dlfcn/dlsym.c (dlsym_doit): Likewise.
2866 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
2867 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
2868 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
2869 Likewise.
2870 * elf/dl-conflict.c: Likewise.
2871 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
2872 * elf/dl-dst.h: Likewise.
2873 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
2874 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
2875 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
2876 * elf/dl-init.c (call_init, _dl_init): Likewise.
2877 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
2878 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths,
2879 _dl_map_object_from_fd, open_verify, open_path,
2880 _dl_map_object): Likewise.
2881 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
2882 Likewise.
2883 * elf/dl-minimal.c (__libc_memalign): Likewise.
2884 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
2885 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
2886 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
2887 * elf/dl-sym.c (do_sym): Likewise.
2888 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr, __tls_get_addr,
2889 _dl_tls_get_addr_soft): Likewise.
2890 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
2891 * elf/dl-writev.h (_dl_writev): Likewise.
2892 * elf/ldconfig.c (search_dir): Likewise.
2893 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload,
2894 dl_main): Likewise.
2895 * elf/setup-vdso.h (setup_vdso): Likewise.
2896 * grp/compat-initgroups.c (compat_call): Likewise.
2897 * grp/fgetgrent.c (fgetgrent): Likewise.
2898 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
2899 * grp/putgrent.c (putgrent): Likewise.
2900 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
2901 Likewise.
2902 * hurd/hurdinit.c: Likewise.
2903 * iconvdata/8bit-gap.c (struct): Likewise.
2904 * iconvdata/ansi_x3.110.c : Likewise.
2905 * iconvdata/big5.c : Likewise.
2906 * iconvdata/big5hkscs.c : Likewise.
2907 * iconvdata/cp1255.c: Likewise.
2908 * iconvdata/cp1258.c : Likewise.
2909 * iconvdata/cp932.c : Likewise.
2910 * iconvdata/euc-cn.c: Likewise.
2911 * iconvdata/euc-jisx0213.c : Likewise.
2912 * iconvdata/euc-jp.c: Likewise.
2913 * iconvdata/euc-jp-ms.c : Likewise.
2914 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
2915 * iconvdata/gb18030.c : Likewise.
2916 * iconvdata/gbbig5.c (const): Likewise.
2917 * iconvdata/gbgbk.c: Likewise.
2918 * iconvdata/gbk.c : Likewise.
2919 * iconvdata/ibm1364.c : Likewise.
2920 * iconvdata/ibm930.c : Likewise.
2921 * iconvdata/ibm932.c: Likewise.
2922 * iconvdata/ibm933.c : Likewise.
2923 * iconvdata/ibm935.c : Likewise.
2924 * iconvdata/ibm937.c : Likewise.
2925 * iconvdata/ibm939.c : Likewise.
2926 * iconvdata/ibm943.c: Likewise.
2927 * iconvdata/iso_11548-1.c: Likewise.
2928 * iconvdata/iso-2022-cn.c : Likewise.
2929 * iconvdata/iso-2022-cn-ext.c : Likewise.
2930 * iconvdata/iso-2022-jp-3.c: Likewise.
2931 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
2932 * iconvdata/iso-2022-kr.c : Likewise.
2933 * iconvdata/iso646.c (gconv_end): Likewise.
2934 * iconvdata/iso_6937-2.c : Likewise.
2935 * iconvdata/iso_6937.c : Likewise.
2936 * iconvdata/iso8859-1.c: Likewise.
2937 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
2938 * iconvdata/shift_jisx0213.c : Likewise.
2939 * iconvdata/sjis.c : Likewise.
2940 * iconvdata/t.61.c : Likewise.
2941 * iconvdata/tcvn5712-1.c : Likewise.
2942 * iconvdata/tscii.c: Likewise.
2943 * iconvdata/uhc.c : Likewise.
2944 * iconvdata/unicode.c (gconv_end): Likewise.
2945 * iconvdata/utf-16.c (gconv_end): Likewise.
2946 * iconvdata/utf-32.c (gconv_end): Likewise.
2947 * iconvdata/utf-7.c (base64): Likewise.
2948 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
2949 * iconv/gconv_close.c (__gconv_close): Likewise.
2950 * iconv/gconv_open.c (__gconv_open): Likewise.
2951 * iconv/gconv_simple.c (internal_ucs4_loop_single, ucs4_internal_loop,
2952 ucs4_internal_loop_unaligned, ucs4_internal_loop_single,
2953 internal_ucs4le_loop_single, ucs4le_internal_loop,
2954 ucs4le_internal_loop_unaligned, ucs4le_internal_loop_single): Likewise.
2955 * iconv/iconv.c (iconv): Likewise.
2956 * iconv/iconv_close.c: Likewise.
2957 * iconv/loop.c (SINGLE): Likewise.
2958 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
2959 * include/atomic.h: Likewise.
2960 * inet/inet6_option.c (option_alloc): Likewise.
2961 * intl/bindtextdom.c (set_binding_values): Likewise.
2962 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
2963 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
2964 * intl/localealias.c (read_alias_file): Likewise.
2965 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
2966 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap,
2967 _IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
2968 * libio/fmemopen.c (fmemopen): Likewise.
2969 * libio/iofgets.c (_IO_fgets): Likewise.
2970 * libio/iofgets_u.c (fgets_unlocked): Likewise.
2971 * libio/iofgetws.c (fgetws): Likewise.
2972 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
2973 * libio/iogetdelim.c (_IO_getdelim): Likewise.
2974 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap,
2975 adjust_wide_data, _IO_wfile_seekoff): Likewise.
2976 * locale/findlocale.c (_nl_find_locale): Likewise.
2977 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
2978 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
2979 Likewise.
2980 * locale/setlocale.c (setlocale): Likewise.
2981 * login/programs/pt_chown.c (main): Likewise.
2982 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
2983 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
2984 * malloc/memusage.c (update_data, malloc, realloc, calloc, free,
2985 mmap, mmap64, mremap, munmap): Likewise.
2986 * math/e_exp2l.c: Likewise.
2987 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
2988 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
2989 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
2990 * math/s_catan.c (__catan): Likewise.
2991 * math/s_catanf.c (__catanf): Likewise.
2992 * math/s_catanh.c (__catanh): Likewise.
2993 * math/s_catanhf.c (__catanhf): Likewise.
2994 * math/s_catanhl.c (__catanhl): Likewise.
2995 * math/s_catanl.c (__catanl): Likewise.
2996 * math/s_ccosh.c (__ccosh): Likewise.
2997 * math/s_ccoshf.c (__ccoshf): Likewise.
2998 * math/s_ccoshl.c (__ccoshl): Likewise.
2999 * math/s_cexp.c (__cexp): Likewise.
3000 * math/s_cexpf.c (__cexpf): Likewise.
3001 * math/s_cexpl.c (__cexpl): Likewise.
3002 * math/s_clog10.c (__clog10): Likewise.
3003 * math/s_clog10f.c (__clog10f): Likewise.
3004 * math/s_clog10l.c (__clog10l): Likewise.
3005 * math/s_clog.c (__clog): Likewise.
3006 * math/s_clogf.c (__clogf): Likewise.
3007 * math/s_clogl.c (__clogl): Likewise.
3008 * math/s_csin.c (__csin): Likewise.
3009 * math/s_csinf.c (__csinf): Likewise.
3010 * math/s_csinh.c (__csinh): Likewise.
3011 * math/s_csinhf.c (__csinhf): Likewise.
3012 * math/s_csinhl.c (__csinhl): Likewise.
3013 * math/s_csinl.c (__csinl): Likewise.
3014 * math/s_csqrt.c (__csqrt): Likewise.
3015 * math/s_csqrtf.c (__csqrtf): Likewise.
3016 * math/s_csqrtl.c (__csqrtl): Likewise.
3017 * math/s_ctan.c (__ctan): Likewise.
3018 * math/s_ctanf.c (__ctanf): Likewise.
3019 * math/s_ctanh.c (__ctanh): Likewise.
3020 * math/s_ctanhf.c (__ctanhf): Likewise.
3021 * math/s_ctanhl.c (__ctanhl): Likewise.
3022 * math/s_ctanl.c (__ctanl): Likewise.
3023 * math/w_pow.c: Likewise.
3024 * math/w_powf.c: Likewise.
3025 * math/w_powl.c: Likewise.
3026 * math/w_scalb.c (sysv_scalb): Likewise.
3027 * math/w_scalbf.c (sysv_scalbf): Likewise.
3028 * math/w_scalbl.c (sysv_scalbl): Likewise.
3029 * misc/error.c (error_tail): Likewise.
3030 * misc/pselect.c (__pselect): Likewise.
3031 * nis/nis_callback.c (__nis_create_callback): Likewise.
3032 * nis/nis_call.c (__nisfind_server): Likewise.
3033 * nis/nis_creategroup.c (nis_creategroup): Likewise.
3034 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
3035 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
3036 * nis/nis_getservlist.c (nis_getservlist): Likewise.
3037 * nis/nis_lookup.c (nis_lookup): Likewise.
3038 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
3039 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry,
3040 nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
3041 * nis/nis_xdr.c (xdr_endpoint): Likewise.
3042 * nis/nss_compat/compat-grp.c (getgrent_next_file, internal_getgrnam_r,
3043 internal_getgrgid_r): Likewise.
3044 * nis/nss_compat/compat-initgroups.c (add_group, internal_getgrent_r):
3045 Likewise.
3046 * nis/nss_compat/compat-pwd.c (getpwent_next_file, internal_getpwnam_r,
3047 internal_getpwuid_r): Likewise.
3048 * nis/nss_compat/compat-spwd.c (getspent_next_file,
3049 internal_getspnam_r): Likewise.
3050 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r,
3051 _nss_nis_getaliasbyname_r): Likewise.
3052 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r,
3053 _nss_nis_getntohost_r): Likewise.
3054 * nis/nss_nis/nis-grp.c (internal_nis_setgrent,
3055 internal_nis_getgrent_r, _nss_nis_getgrnam_r, _nss_nis_getgrgid_r):
3056 Likewise.
3057 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent,
3058 internal_nis_gethostent_r, internal_gethostbyname2_r,
3059 _nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r,
3060 _nss_nis_gethostbyname4_r): Likewise.
3061 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r,
3062 initgroups_netid): Likewise.
3063 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
3064 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r,
3065 _nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
3066 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r,
3067 _nss_nis_getprotobynumber_r): Likewise.
3068 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey,
3069 _nss_nis_getsecretkey): Likewise.
3070 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent,
3071 internal_nis_getpwent_r, _nss_nis_getpwnam_r, _nss_nis_getpwuid_r):
3072 Likewise.
3073 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r,
3074 _nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
3075 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r,
3076 _nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
3077 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent, internal_nis_getspent_r,
3078 _nss_nis_getspnam_r): Likewise.
3079 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
3080 Likewise.
3081 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r,
3082 _nss_nisplus_getntohost_r): Likewise.
3083 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r,
3084 _nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
3085 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r,
3086 _nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r): Likewise.
3087 * nis/nss_nisplus/nisplus-initgroups.c (_nss_nisplus_initgroups_dyn):
3088 Likewise.
3089 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r,
3090 _nss_nisplus_getnetbyaddr_r): Likewise.
3091 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r,
3092 _nss_nisplus_getprotobynumber_r): Likewise.
3093 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r,
3094 _nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
3095 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
3096 Likewise.
3097 * nis/nss_nisplus/nisplus-service.c (internal_nisplus_getservent_r,
3098 _nss_nisplus_getservbyname_r, _nss_nisplus_getservbyport_r): Likewise.
3099 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r,
3100 _nss_nisplus_getspnam_r): Likewise.
3101 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist): Likewise.
3102 * nscd/aicache.c (addhstaiX): Likewise.
3103 * nscd/cache.c (cache_search, prune_cache): Likewise.
3104 * nscd/connections.c (register_traced_file, send_ro_fd, handle_request,
3105 nscd_run_prune, nscd_run_worker, fd_ready, main_loop_epoll): Likewise.
3106 * nscd/grpcache.c (addgrbyX): Likewise.
3107 * nscd/hstcache.c (addhstbyX): Likewise.
3108 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3109 * nscd/mem.c (gc, mempool_alloc): Likewise.
3110 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX, addinnetgrX):
3111 Likewise.
3112 * nscd/nscd-client.h (__nscd_acquire_maplock, __nscd_drop_map_ref):
3113 Likewise.
3114 * nscd/nscd_getai.c (__nscd_getai): Likewise.
3115 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
3116 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
3117 Likewise.
3118 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
3119 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
3120 * nscd/nscd_helper.c (__readvall, open_socket,
3121 __nscd_get_mapping, __nscd_get_map_ref): Likewise.
3122 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
3123 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr): Likewise.
3124 * nscd/pwdcache.c (addpwbyX): Likewise.
3125 * nscd/selinux.c (preserve_capabilities): Likewise.
3126 * nscd/servicescache.c (addservbyX): Likewise.
3127 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
3128 * posix/fnmatch.c (fnmatch): Likewise.
3129 * posix/getopt.c (_getopt_internal_r): Likewise.
3130 * posix/glob.c (glob, glob_in_dir): Likewise.
3131 * posix/wordexp.c (exec_comm_child): Likewise.
3132 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r, getanswer_r,
3133 gaih_getanswer_slice): Likewise.
3134 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
3135 * resolv/res_init.c: Likewise.
3136 * resolv/res_mkquery.c (res_nmkquery): Likewise.
3137 * resolv/res_query.c (__libc_res_nquery): Likewise.
3138 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
3139 Likewise.
3140 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
3141 * stdio-common/perror.c (perror): Likewise.
3142 * stdio-common/printf_fp.c (___printf_fp): Likewise.
3143 * stdio-common/tmpnam.c (tmpnam): Likewise.
3144 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
3145 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
3146 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl): Likewise.
3147 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
3148 * stdlib/putenv.c (putenv): Likewise.
3149 * stdlib/setenv.c (__add_to_environ): Likewise.
3150 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
3151 * stdlib/strtol_l.c (INTERNAL): Likewise.
3152 * string/memmem.c (memmem): Likewise.
3153 * string/strerror.c (strerror): Likewise.
3154 * string/strnlen.c (__strnlen): Likewise.
3155 * string/test-memmem.c (simple_memmem): Likewise.
3156 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
3157 * sunrpc/pm_getport.c (__get_socket): Likewise.
3158 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
3159 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
3160 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup,
3161 elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
3162 Likewise.
3163 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
3164 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
3165 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
3166 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
3167 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
3168 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1): Likewise.
3169 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn): Likewise.
3170 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
3171 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
3172 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
3173 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
3174 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
3175 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
3176 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
3177 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
3178 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
3179 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
3180 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
3181 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
3182 Likewise.
3183 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
3184 Likewise.
3185 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
3186 Likewise.
3187 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
3188 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
3189 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
3190 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
3191 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
3192 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
3193 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
3194 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
3195 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
3196 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
3197 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
3198 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3199 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
3200 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
3201 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3202 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Likewise.
3203 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
3204 Likewise.
3205 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
3206 Likewise.
3207 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
3208 Likewise.
3209 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3210 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3211 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
3212 Likewise.
3213 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
3214 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
3215 * sysdeps/posix/opendir.c (__opendirat): Likewise.
3216 * sysdeps/posix/sleep.c: Likewise.
3217 * sysdeps/posix/tempname.c: Likewise.
3218 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
3219 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
3220 Likewise.
3221 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_runtime_setup,
3222 elf_machine_rela): Likewise.
3223 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
3224 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
3225 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
3226 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
3227 Likewise.
3228 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
3229 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup,
3230 elf_machine_rela, elf_machine_lazy_rel): Likewise.
3231 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup,
3232 elf_machine_rela, elf_machine_lazy_rel): Likewise.
3233 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
3234 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
3235 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
3236 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
3237 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
3238 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
3239 elf_machine_lazy_rel): Likewise.
3240 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
3241 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
3242 elf_machine_lazy_rel): Likewise.
3243 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
3244 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
3245 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
3246 * sysdeps/unix/grantpt.c (grantpt): Likewise.
3247 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
3248 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
3249 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
3250 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
3251 Likewise.
3252 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
3253 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
3254 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
3255 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
3256 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
3257 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
3258 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
3259 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
3260 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
3261 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
3262 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
3263 Likewise.
3264 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
3265 (__posix_fallocate64_l64): Likewise.
3266 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
3267 (posix_fallocate): Likewise.
3268 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64): Likewise.
3269 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3270 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request,
3271 getifaddrs_internal): Likewise.
3272 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
3273 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
3274 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
3275 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
3276 * sysdeps/unix/sysv/linux/posix_fallocate64.c
3277 (__posix_fallocate64_l64): Likewise.
3278 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
3279 Likewise.
3280 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
3281 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
3282 Likewise.
3283 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
3284 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
3285 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
3286 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3287 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3288 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
3289 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
3290 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
3291 Likewise.
3292 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
3293 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
3294 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
3295 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
3296 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
3297 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
3298 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
3299 Likewise.
3300 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
3301 (posix_fallocate): Likewise.
3302 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
3303 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
3304 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
3305 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup,
3306 elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel):
3307 Likewise.
3308 * time/asctime.c (asctime_internal): Likewise.
3309 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
3310 * time/tzset.c (__tzset_parse_tz): Likewise.
3311 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
3312 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
3313 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
3314 * wcsmbs/wcsmbsload.h: Likewise.
3315
f3d338c9
OB
33162014-02-10 Ondřej Bílka <neleai@seznam.cz>
3317
3318 [BZ #15894]
3319 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
3320
bdfe308a
OB
33212014-02-10 Ondřej Bílka <neleai@seznam.cz>
3322
3323 * malloc/arena.c (grow_heap, get_free_list, reused_arena,
3324 arena_get2): Remove THREAD_STATS conditionals.
3325 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free,
3326 __malloc_stats, int): Likewise.
3327
d674667c
MF
33282014-02-08 Mike Frysinger <vapier@gentoo.org>
3329
3330 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
3331 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
3332
6349768c
MF
33332014-02-08 Mike Frysinger <vapier@gentoo.org>
3334
3335 * manual/setjmp.texi: Fix typos/grammar errors.
3336
0b7c7473
MF
33372014-02-08 Mike Frysinger <vapier@gentoo.org>
3338
3339 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
3340 Only return early when n is <= 0. Delete unused return statement.
3341
ac8cc9e3
MF
33422014-02-08 Mike Frysinger <vapier@gentoo.org>
3343
3344 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
3345 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
3346 * debug/tst-longjmp_chk3.c: New file.
3347
c5bb8e23
MF
33482014-02-08 Mike Frysinger <vapier@gentoo.org>
3349
3350 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
3351 (test_main): Replace code with set_fortify_handler call.
3352 * debug/test-strcpy_chk.c: Likewise.
3353 * debug/tst-chk1.c: Likewise.
3354 * debug/tst-longjmp_chk.c: Likewise.
3355 * test-skeleton.c: Include fcntl.h & paths.h
3356 (set_fortify_handler): Define.
3357
10444e42
MF
33582014-02-08 Mike Frysinger <vapier@gentoo.org>
3359
3360 * debug/tst-longjmp_chk.c: Add header comment and include
3361 ../test-skeleton.c.
3362 (do_test): Mark static.
3363 (TEST_FUNCTION): Define.
3364
1e805e8d
MF
33652014-02-08 Mike Frysinger <vapier@gentoo.org>
3366
3367 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
3368 (IP_PMTUDISC_INTERFACE): Likewise.
3369 (IP_MULTICAST_IF): Likewise.
3370 (IP_MULTICAST_TTL): Likewise.
3371 (IP_MULTICAST_LOOP): Likewise.
3372 (IP_ADD_MEMBERSHIP): Likewise.
3373 (IP_DROP_MEMBERSHIP): Likewise.
3374 (IP_UNBLOCK_SOURCE): Likewise.
3375 (IP_BLOCK_SOURCE): Likewise.
3376 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
3377 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
3378 (IP_MSFILTER): Likewise.
3379 (MCAST_JOIN_GROUP): Likewise.
3380 (MCAST_BLOCK_SOURCE): Likewise.
3381 (MCAST_UNBLOCK_SOURCE): Likewise.
3382 (MCAST_LEAVE_GROUP): Likewise.
3383 (MCAST_JOIN_SOURCE_GROUP): Likewise.
3384 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
3385 (MCAST_MSFILTER): Likewise.
3386 (IP_MULTICAST_ALL): Likewise.
3387 (IP_UNICAST_IF): Likewise.
3388
73f79bb7
MF
33892014-02-08 Mike Frysinger <vapier@gentoo.org>
3390
3391 * timezone/Makefile: Delete $(have-ksh) check.
3392 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
3393 * timezone/tzselect.ksh: Add +x mode bits.
3394
8da79b60
MF
33952014-02-08 Mike Frysinger <vapier@gentoo.org>
3396
3397 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
3398 (ANON_INODE_FS_MAGIC): Likewise.
3399 (BDEVFS_MAGIC): Likewise.
3400 (BINFMTFS_MAGIC): Likewise.
3401 (BTRFS_TEST_MAGIC): Likewise.
3402 (CRAMFS_MAGIC_WEND): Likewise.
3403 (DEBUGFS_MAGIC): Likewise.
3404 (ECRYPTFS_SUPER_MAGIC): Likewise.
3405 (EXT3_SUPER_MAGIC): Likewise.
3406 (EXT4_SUPER_MAGIC): Likewise.
3407 (FUTEXFS_SUPER_MAGIC): Likewise.
3408 (HOSTFS_SUPER_MAGIC): Likewise.
3409 (HUGETLBFS_MAGIC): Likewise.
3410 (MINIX3_SUPER_MAGIC): Likewise.
3411 (MTD_INODE_FS_MAGIC): Likewise.
3412 (NILFS_SUPER_MAGIC): Likewise.
3413 (OPENPROM_SUPER_MAGIC): Likewise.
3414 (PIPEFS_MAGIC): Likewise.
3415 (PSTOREFS_MAGIC): Likewise.
3416 (QNX6_SUPER_MAGIC): Likewise.
3417 (RAMFS_MAGIC): Likewise.
3418 (REISERFS_SUPER_MAGIC_STRING): Likewise.
3419 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
3420 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
3421 (SECURITYFS_MAGIC): Likewise.
3422 (SELINUX_MAGIC): Likewise.
3423 (SMACK_MAGIC): Likewise.
3424 (SOCKFS_MAGIC): Likewise.
3425 (SQUASHFS_MAGIC): Likewise.
3426 (STACK_END_MAGIC): Likewise.
3427 (TMPFS_MAGIC): Likewise.
3428 (USBDEVICE_SUPER_MAGIC): Likewise.
3429 (V9FS_MAGIC): Likewise.
3430 (XENFS_SUPER_MAGIC): Likewise.
3431 (CRAMFS_MAGIC): Fix typo in comment.
3432 (EXT2_SUPER_MAGIC): Update comment.
3433 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
3434
464263cc
JM
34352014-02-08 Joseph Myers <joseph@codesourcery.com>
3436
c6bfe5c4
JM
3437 * sysdeps/arm: Move directory from ports/sysdeps/arm.
3438 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
3439 * sysdeps/unix/sysv/linux/arm: Move directory from
3440 ports/sysdeps/unix/sysv/linux/arm.
3441 * README: Update listing for arm-*-linux-gnueabi.
3442
464263cc
JM
3443 * README: Remove mention of am33.
3444
32749f6c
RM
34452014-02-07 Roland McGrath <roland@hack.frob.com>
3446
3447 * bits/sigset.h (__sigemptyset): Use a statement expression rather
3448 than the comma operator, to avoid "rhs of comma has no effect"
3449 compiler warnings.
3450 (__sigfillset, __sigandset, __sigorset): Likewise.
3451 * include/signal.h (__sigemptyset): Likewise.
3452 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
3453
d5b396c1
AM
34542014-02-07 Allan McRae <allan@archlinux.org>
3455
3456 * version.h (RELEASE): Set to "development".
3457 (VERSION): Set to "2.19.90"
3458 * NEWS: Add 2.20 section.
3459
3bfff2ed
CD
34602014-02-06 Carlos O'Donell <carlos@redhat.com>
3461
3462 [BZ #16529]
3463 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
3464
ee7cc385
SP
34652014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
3466
3467 * manual/contrib.texi: Update entry for Carlos O'Donell,
3468 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
3469
f877c4f2
CD
34702014-02-05 Carlos O'Donell <carlos@rehdat.com>
3471
27e839f6
CD
3472 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
3473
f877c4f2
CD
3474 * sysdeps/unix/sysv/linux/kernel-features.h
3475 [__LINUX_KERNEL_VERSION >= 0x020621]
3476 (__ASSUME_PROC_PID_TASK_COMM): Define.
3477
68159946
SP
34782014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3479
ba17cdbd
SP
3480 [BZ #16398]
3481 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
3482 conversion when destination buffer does not have enough space.
3483 * libio/tst-ftell-partial-wide.c: New test case.
3484 * libio/Makefile (tests): Add tst-ftell-partial-wide.
3485
68159946
SP
3486 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
3487 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
3488 Leonard and Allan McRae.
3489
2b528732
DM
34902014-02-04 David S. Miller <davem@davemloft.net>
3491
3492 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
3493 32-bit.
3494
0ff82463
AZ
34952014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3496
c01603f7
AZ
3497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist: New
3498 file
3499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
3500 New file
3501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist: New
3502 file.
3503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist: New
3504 file.
3505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
3506 New file.
3507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist: New
3508 file.
3509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist: New
3510 file.
3511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
3512 New file.
3513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
3514 New file.
3515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
3516 New file.
3517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
3518 New file.
3519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
3520 New file.
3521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
3522 New file.
3523
35242014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3525
0ff82463
AZ
3526 * nptl/shlib-versions: Change powerpc*le start to 2.17.
3527 * shlib-versions: Likewise.
3528
1695c773
AZ
35292014-02-04 Roland McGrath <roland@hack.frob.com>
3530 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3531
3532 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
3533 (abilist-pattern): New variable, set to %-le.abilist.
3534
3535 * Makerules (abilist-pattern): New variable.
3536 (vpath): Use $(abilist-pattern) in place of %.abilist.
3537 (check-abi-% pattern rule): Likewise.
3538 (check-abi, update-abi): Likewise.
3539
6c0ce4b4
EW
35402014-02-04 Eric Wong <normalperson@yhbt.net>
3541
3542 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3543
dc98b8f5
EW
35442014-02-04 Eric Wong <normalperson@yhbt.net>
3545
3546 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3547
481e3524
CD
35482014-02-03 Carlos O'Donell <carlos@redhat.com>
3549
3550 * manual/startup.texi: Add next, previous, and top entries for
3551 the `Program Arguments' and `Environment Variables' nodes.
3552
375592d3
AO
35532014-02-03 Alexandre Oliva <aoliva@redhat.com>
3554
3555 * manual/macros.texi: Add comments before MTASC-safety macros.
3556
f54838ba
AO
3557 * manual/users.texi: Document MTASC-safety properties.
3558
909e12ad
AO
3559 * manual/threads.texi (pthread_key_create, pthread_key_delete,
3560 pthread_getspecific, pthread_setspecific): Format with
3561 @deftypefun, and add @safety note.
3562 * manual/signal.texi: Move comments that analyze the above
3563 functions to their home place.
3564
fd3daba4
AM
35652014-02-03 Allan McRae <allan@archlinux.org>
3566
3567 * po/sl.po: Update Slovenian translation from translation project.
3568
597636d7
AO
35692014-02-02 Alexandre Oliva <aoliva@redhat.com>
3570
3571 * manual/time.texi (timegm): Add missing blank after @c.
3572 Reported by Joseph Myers <joseph@codesourcery.com>.
3573
ee196e3c
AO
35742014-02-01 Alexandre Oliva <aoliva@redhat.com>
3575
3576 * manual/check-safety.sh: New.
3577 * manual/Makefile ($(objpfx)stamp-summary): Run it.
3578
f8d529d5
AO
3579 * manual/terminal.texi: Document MTASC-safety properties.
3580
de55fdf4
AO
3581 * manual/filesys.texi: Document MTASC-safety properties.
3582
c3299c08
AO
3583 * manual/errno.texi: Document MTASC-safety properties.
3584
06e90b14
AO
3585 * manual/intro.texi: Document safety identifiers and
3586 conditionals.
3587
1acd4371
AO
3588 * manual/string.texi (wcstok): Fix prototype.
3589 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
3590
23e5b8cb
AO
3591 * manual/time.texi: Document MTASC-safety properties.
3592
11087373
AO
3593 * manual/string.texi: Document MTASC-safety properties.
3594
5da2c93d
AO
3595 * manual/threads.texi: Document MTASC-safety properties.
3596
171e9210
AO
3597 * manual/stdio.texi: Document MTASC-safety properties.
3598
d9e02532
AO
3599 * manual/syslog.texi: Document MTASC-safety properties.
3600
6af8bab7
AO
3601 * manual/sysinfo.texi: Document MTASC-safety properties.
3602
663b02d7
AO
3603 * manual/startup.texi: Document MTASC-safety properties.
3604
973f180b
AO
3605 * manual/socket.texi: Document MTASC-safety properties.
3606
8f3c25c8
AO
3607 * manual/signal.texi: Document MTASC-safety properties.
3608
542210fb
AO
36092014-01-31 Alexandre Oliva <aoliva@redhat.com>
3610
3611 * manual/setjmp.texi: Document MTASC-safety properties.
3612
433c45a2
AO
3613 * manual/search.texi: Document MTASC-safety properties.
3614
c8ce789c
AO
3615 * manual/resource.texi: Document MTASC-safety properties.
3616
19f5d29c
AO
3617 * manual/process.texi: Document MTASC-safety properties.
3618
e2dfb7f4
AO
3619 * manual/platform.texi: Document MTASC-safety properties.
3620
8c1413f5
AO
3621 * manual/pipe.texi: Document MTASC-safety properties.
3622
03483ada
AO
3623 * manual/pattern.texi: Document MTASC-safety properties.
3624
29e7e2df
AO
3625 * manual/message.texi: Document MTASC-safety properties.
3626
9f529d7c
AO
3627 [BZ #12751]
3628 * manual/memory.texi: Document MTASC-safety properties.
3629
27aaa791
AO
3630 * manual/math.texi: Document MTASC-safety properties.
3631
f2d58726
AO
3632 * manual/locale.texi: Document MTASC-safety properties.
3633
2cc3615c
AO
3634 * manual/llio.texi: Document MTASC-safety properties.
3635
d9f0ec97
AO
3636 * manual/libdl.texi: New.
3637
e7c4409a
AO
3638 * manual/lang.texi: Document MTASC-safety properties.
3639
27bdc63c
AO
3640 * manual/job.texi: Document MTASC-safety properties.
3641
a7b90ea9
AO
3642 * manual/getopt.texi: Document MTASC-safety properties.
3643
c49130e3
AO
3644 * manual/ctype.texi: Document MTASC-safety properties.
3645
0d23a5c1
MR
36462014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
3647
3648 [BZ #16046]
3649 * csu/libc-tls.c (static_map): Remove variable.
3650 (__libc_setup_tls): Use main executable's link map for TLS data.
3651 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
3652 casing for LM_ID_BASE and GL(dl_nns).
3653 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
3654 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
3655 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
3656 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
3657 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
3658 member.
3659 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
3660 l_phnum members.
3661
0037bb60
AO
36622014-01-30 Alexandre Oliva <aoliva@redhat.com>
3663
3664 * manual/debug.texi: Document MTASC-safety properties.
3665
409e00bd
L
36662014-01-29 H.J. Lu <hongjiu.lu@intel.com>
3667
3668 [BZ #16510]
3669 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
3670 of __x86_64__ when disabling x87 inline functions.
3671
86e60666
AO
36722014-01-29 Alexandre Oliva <aoliva@redhat.com>
3673
3674 * manual/charset.texi: Document MTASC-safety properties.
3675
76167637
AO
3676 * manual/crypt.texi: Document MTASC-safety properties.
3677
e567f2a0
AO
3678 * manual/conf.texi: Document MTASC-safety properties.
3679
b719dafd
AO
3680 * manual/arith.texi: Document MTASC-safety properties.
3681
4a16c662
AO
3682 * manual/argp.texi: Document MTASC-safety properties.
3683
0a57b83e
AO
3684 * manual/macros.texi: Introduce macros to document multi
3685 thread, asynchronous signal and asynchronous cancellation
3686 safety properties.
3687 * manual/intro.texi: Introduce the properties themselves.
3688
feab2397
KK
36892014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3690
3691 * sysdeps/sh/sh4/Makefile: New file.
3692
1c0d11bc
AS
36932014-01-27 Andreas Schwab <schwab@linux-m68k.org>
3694
3695 * math/gen-libm-test.pl ($srcdir): New variable.
3696 ($auto_input): Use it.
3697
af37a8a3
SP
36982014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3699
d7b00f98
SP
3700 [BZ #16506]
3701 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
3702 access beyond array bounds when parsing netgroups file.
3703
af37a8a3
SP
3704 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
3705 the old buffer before realloc.
3706
0c00f062
AM
37072014-01-27 Allan McRae <allan@archlinux.org>
3708
3709 * po/fr.po: Update French translation from translation project.
3710
7d69a1b0
KK
37112014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3712
3713 * sysdeps/sh/libm-test-ulps: Regenerate.
3714
6e697ff7
DM
37152014-01-24 David S. Miller <davem@davemloft.net>
3716
3717 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
3718
9cadb35c
KK
37192014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3720
3721 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
3722 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
3723
5d41dadf
SP
37242013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3725
3726 [BZ #16474]
3727 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
3728 string pointers after reallocation.
3729
0bad441c
KK
37302014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3731
3732 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
3733 __SH4A__ instead of __SH_FPU_ANY__.
3734
7007c661
KK
37352014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3736
3737 * sysdeps/sh/fpu_control.h: New file.
3738 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
3739 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
3740 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
3741 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
3742 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
3743 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
3744 * sysdeps/sh/sys/ucontext.h: Remove.
3745 * sysdeps/sh/sys: Remove directory.
3746
0f0c35e4
AK
37472014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3748
3749 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
3750 s390/sys/ucontext.h.
3751 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
3752 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
3753
4959e284
L
37542014-01-20 H.J. Lu <hongjiu.lu@intel.com>
3755
3756 [BZ #15605]
3757 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
3758
d98720e0
AZ
37592014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3760
3761 [BZ#16431]
3762 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
3763 Adjust the vDSO correctly for internal calls.
3764 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
3765
91cbd0bc
AM
37662014-01-20 Allan McRae <allan@archlinux.org>
3767
3768 * po/ca.po: Update Catalan translation from translation project.
3769
7a02cfad
MF
37702014-01-16 Mike Frysinger <vapier@gentoo.org>
3771
3772 * sysdeps/s390/sotruss-lib.c: New file.
3773
736c304a
AZ
37742014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3775
3776 [BZ#16430]
6e077ee5 3777 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
3778 (__GI___gettimeofday): Alias for a different internal symbol to avoid
3779 local calls issues by not having a PLT stub required for IFUNC calls.
3780 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
3781
94d0cea0
JM
37822014-01-16 Joseph Myers <joseph@codesourcery.com>
3783
3784 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
3785 * math/test-fpucw-static.c: Likewise.
3786
980cb518
SP
37872013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3788
3789 [BZ #16453]
3790 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
3791
2393fc01
AZ
37922014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3793
3794 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
3795 implementation for powerpc.
3796
d359bcc2
OB
37972014-01-15 Ondřej Bílka <neleai@seznam.cz>
3798
3799 [BZ #14782]
3800 * sysdeps/posix/system.c (__libc_system): Do not enable
3801 asynchronous cancellation.
3802
7beb48cb
AK
38032014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3804
3805 [BZ #16427]
3806 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
3807 handling only for numbers special also in the IEEE case.
3808
c20d5bf5
AK
38092014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3810
3811 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3812
e83bd4ee
AM
38132014-01-11 Allan McRae <allan@archlinux.org>
3814
76d0ea69
AM
3815 * po/bg.po: Update Bulgarian translation from translation project.
3816
e83bd4ee
AM
3817 * po/de.po: Update German translation from translation project.
3818
bc2ba20a
RM
38192014-01-10 Roland McGrath <roland@hack.frob.com>
3820
3821 * sysdeps/generic/gcc-compat.h: New file.
3822
649ecea2
SP
38232014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3824
3825 * benchtests/asin-inputs: Correct slow inputs.
3826 * benchtests/acos-inputs: Likewise.
3827
1b19c006
AM
38282014-01-10 Allan McRae <allan@archlinux.org>
3829
a46dab08
AM
3830 * po:sv.po: Update Swedish translation from translation project.
3831
421df74a
AM
3832 * po/vi.po: Update Vietnamese translation from translation project.
3833
d61c51a7
AM
3834 * po/eo.po: Update Esperanto translation from translation project.
3835
0339a319
AM
3836 * po/cs.po: Update Czech translation from translation project.
3837
94ad3e99
AM
3838 * po/nl.po: Update Dutch translation from translation project.
3839
e349ca71
AM
3840 * po/pl.po: Update Polish translation from translation project.
3841
ddf930c1
AM
3842 * po/ru.po: Update Russian translation from translation project.
3843
1b19c006
AM
3844 * po/uk.po: Update Ukrainian translation from translation project.
3845
9f236c49
BM
38462014-01-08 Brooks Moses <bmoses@google.com>
3847
3848 * elf/dl-load.c: Fix comment typo.
3849
cd6701cf
CD
38502014-01-08 Carlos O'Donell <carlos@redhat.com>
3851
3852 * po/header.pot: Rename to...
3853 * po/pot.header: ... this.
3854 * po/Makefile: Use pot.header.
3855
66671c84
YK
38562014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
3857 Maxim Kuvyrkov <maxim@kugelworks.com>
3858
3859 [BZ #16394]
cd6701cf
CD
3860 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
3861 SRC and DEST against LEN.
66671c84 3862
38f34581
AZ
38632014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3864
3865 [BZ #16414]
3866 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
3867 implementation.
3868 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
3869
38702014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
3871
3872 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3873
4c327f2a
JM
38742014-01-08 Joseph Myers <joseph@codesourcery.com>
3875
3876 [BZ #16408]
3877 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
3878 for large positive arguments.
3879
b821f414
JM
38802014-01-07 Joseph Myers <joseph@codesourcery.com>
3881
1f0f2067
JM
3882 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
3883
a5a326f6
JM
3884 * math/auto-libm-test-in: Mark various tests with
3885 xfail-rounding:ldbl-128ibm.
3886 * math/auto-libm-test-out: Regenerated.
3887
b821f414
JM
3888 [BZ #16407]
3889 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
3890 Increase overflow threshold.
3891
94c8a4bc
OB
38922014-01-07 Ondřej Bílka <neleai@seznam.cz>
3893
3894 [BZ #14286]
3895 * stdio-common/vfprintf.c: Check for integer overflow.
3896
87ded0c3
AK
38972014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3898
3899 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
3900 the first argument and return value of __tls_get_addr_internal.
3901
c5eebdd0
AK
39022014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3903
3904 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
3905 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
3906
05d138ef
AK
39072014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3908
3909 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
3910 * sysdeps/s390/rtld-global-offsets.sym: New file.
3911 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
3912 GLIBC_2.19 symbol.
3913 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
3914 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
3915 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
3916 ... this.
3917 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
3918 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
3919 ... this.
3920 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
3921 Regenerate.
3922 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
3923 Regenerate.
3924 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
3925 halfs of GPRs for high_gprs contexts.
3926 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
3927 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
3928 field.
3929 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
3930 uc_flags field.
3931 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
3932 64 bit versions:
3933 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
3934 for high GPRs (uc_high_gprs) and for future extensions
3935 (__reserved).
3936 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
3937 for future extensions (__reserved).
3938 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
3939 64 bit versions:
3940 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
3941 SC_HIGHGPRS offset definition.
3942 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
3943 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
3944
93a45ff1
AK
39452014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3946
3947 * Versions.def: Add GLIBC_2.19 for libpthread.
3948 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
3949 siglongjmp for libpthread with GLIBC_2.19 symver.
3950 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
3951 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
3952 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
3953 * sysdeps/s390/__longjmp.c: New file.
3954 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
3955 * sysdeps/s390/longjmp.c: New file.
3956 * sysdeps/s390/setjmp.S: New file.
3957 * sysdeps/s390/sigjmp.S: New file.
3958 * sysdeps/s390/v1-longjmp.c: New file.
3959 * sysdeps/s390/v1-setjmp.h: New file.
3960 * sysdeps/s390/v1-sigjmp.c: New file.
3961 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
3962 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
3963 GLIBC_2.19 version.
3964 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
3965 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
3966 versioned symbols for ____longjmp_chk.
3967 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
3968 Likewise.
3969 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
3970 Regenerate.
3971 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3972 Regenerate.
3973 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
3974 Regenerate.
3975 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3976 Regenerate.
3977 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
3978 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
3979 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
3980 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
3981 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
3982 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
3983 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
3984 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
3985 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
3986 * sysdeps/s390/rtld-__longjmp.c: New file.
3987 * sysdeps/s390/rtld-setjmp.S: New file.
3988
eb3fc44b
JM
39892014-01-06 Joseph Myers <joseph@codesourcery.com>
3990
3991 [BZ #16400]
3992 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
3993 Return -__logl (x) for small positive arguments without evaluating
3994 a polynomial.
3995
9341dde4
MF
39962014-01-06 Mike Frysinger <vapier@gentoo.org>
3997
3998 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
3999 Rename to ...
4000 (__ptrace_peeksiginfo_args): ... this.
4001 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
4002 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
4003 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
4004
4cff0293
AM
40052014-01-06 Allan McRae <allan@archlinux.org>
4006
4007 * inet/netinet/in.h: Fix typo in comment.
4008
75595dcf
AJ
40092014-01-05 Andreas Jaeger <aj@suse.de>
4010
4011 * sysdeps/i386/fpu/libm-test-ulps: Update.
4012
79c1e109
AM
40132014-01-05 Allan McRae <allan@archlinux.org>
4014
dd804818
AM
4015 * po/libc.pot: Regenerated.
4016
79c1e109
AM
4017 * malloc/memusagestat.c: Fix gettext call formatting.
4018
0c813d1f
SK
40192014-01-04 Sami Kerola <kerolasa@iki.fi>
4020
4021 * nscd/nscd.c: Improve usage() output.
4022
20f4a8d9
MF
40232014-01-04 Mike Frysinger <vapier@gentoo.org>
4024
4025 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
4026 * sysdeps/unix/sysv/linux/configure: Regenerated.
4027 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
4028 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
4029
22562bb2
JM
40302014-01-03 Joseph Myers <joseph@codesourcery.com>
4031
4032 [BZ #16390]
4033 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
4034 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
4035
d7ad2d9b
AZ
40362014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4037
4038 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
4039 extra tokens at end of #undef directive.
4040 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
4041 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
4042 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
4043
7dd009d8
JM
40442014-01-03 Joseph Myers <joseph@codesourcery.com>
4045
24db925a
JM
4046 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
4047
7dd009d8
JM
4048 * math/auto-libm-test-in: Mark various tests with
4049 xfail-rounding:ldbl-128ibm.
4050 * math/auto-libm-test-out: Regenerated.
4051
396e3ecf
JM
40522014-01-02 Joseph Myers <joseph@codesourcery.com>
4053
819e5d50
JM
4054 [BZ #16386]
4055 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
4056 numbers with subnormal high part when calculating exponent.
4057
90b6a1e5
JM
4058 [BZ #16385]
4059 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
4060 fabs.
4061
396e3ecf
JM
4062 [BZ #16384]
4063 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
4064 M_LN2l.
4065 (__ieee754_acoshl): Use __log1pl not __log1p.
4066
6c8dbf00
OB
40672013-01-02 Ondřej Bílka <neleai@seznam.cz>
4068
4069 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
4070 ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
4071 __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
4072 heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
4073 Convert to GNU style.
4074 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
4075 mem2mem_check, mem2chunk_check, top_check, realloc_check,
4076 memalign_check, __malloc_set_state): Likewise.
4077 * malloc/mallocbug.c (main): Likewise.
4078 * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
4079 do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
4080 mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
4081 _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
4082 musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
4083 * malloc/malloc.h: Likewise.
4084 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
4085 memalignhook, reallochook, mabort): Likewise.
4086 * malloc/mcheck.h: Likewise.
4087 * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
4088 mmap64, mremap, munmap, dest): Likewise.
4089 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
4090 * malloc/morecore.c (__default_morecore): Likewise.
4091 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
4092 * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
4093 _obstack_allocated_p, obstack_free, _obstack_memory_used,
4094 print_and_abort): Likewise.
4095 * malloc/obstack.h: Likewise.
4096 * malloc/set-freeres.c (__libc_freeres): Likewise.
4097 * malloc/tst-mallocstate.c (main): Likewise.
4098 * malloc/tst-mtrace.c (main): Likewise.
4099 * malloc/tst-realloc.c (do_test): Likewise.
4100
d4124212
SP
41012013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4102
9a3c6a6f
SP
4103 [BZ #16366]
4104 * nscd/netgroupcache.c (do_notfound): New function.
4105 (addgetnetgrentX): Use it.
4106
d4124212
SP
4107 [BZ # 16365]
4108 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
4109 NSS_STATUS_NOTFOUND.
4110
97b9a009
JM
41112014-01-01 Joseph Myers <joseph@codesourcery.com>
4112
4113 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
4114 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4115
d4697bc9
AM
41162014-01-01 Allan McRae <allan@archlinux.org>
4117
ddb3687f
AM
4118 * scripts/update-copyrights: Update configure input file suffix.
4119
88726d48
AM
4120 * NEWS: Update copyright year.
4121 * catgets/gencat.c: Likewise.
4122 * csu/version.c: Likewise.
4123 * debug/catchsegv.sh: Likewise.
4124 * debug/pcprofiledump.c: Likewise.
4125 * debug/xtrace.sh: Likewise.
4126 * elf/ldconfig.c: Likewise.
4127 * elf/ldd.bash.in: Likewise.
4128 * elf/pldd.c: Likewise.
4129 * elf/sotruss.ksh: Likewise.
4130 * elf/sprof.c: Likewise.
4131 * iconv/iconv_prog.c: Likewise.
4132 * iconv/iconvconfig.c: Likewise.
4133 * locale/programs/locale.c: Likewise.
4134 * locale/programs/localedef.c: Likewise.
4135 * login/programs/pt_chown.c: Likewise.
4136 * malloc/memusage.sh: Likewise.
4137 * malloc/memusagestat.c: Likewise.
4138 * malloc/mtrace.pl: Likewise.
4139 * manual/libc.texinfo: Likewise.
4140 * nscd/nscd.c: Likewise.
4141 * nss/getent.c: Likewise.
4142 * nss/makedb.c: Likewise.
4143 * posix/getconf.c: Likewise.
4144 * scripts/test-installation.pl: Likewise.
4145
d4697bc9
AM
4146 * All files with FSF copyright notices: Update copyright dates
4147 using scripts/update-copyrights.
4148 * intl/plural.c: Regenerated.
4149 * locale/programs/charmap-kw.h: Likewise.
4150 * locale/programs/locfile-kw.h: Likewise.
4151
c8590f9d
MF
41522013-12-31 Mike Frysinger <vapier@gentoo.org>
4153
4154 * sysdeps/unix/sysv/linux/configure: Regenerated.
4155 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
4156 the linux/fanotify.h header.
4157 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
4158 HAVE_LINUX_FANOTIFY_H is defined.
4159
b19221b9
SP
41602013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
4161
dd1d85e5
SP
4162 * benchtests/cos-inputs: New inputs.
4163 * benchtests/sin-inputs: Likewise.
4164
1acbb90f
SP
4165 * benchtests/atan-inputs: New inputs. Fix name of multiple
4166 precision fallback inputs.
4167
4c012ed3
SP
4168 * benchtests/atanh-inputs: New inputs.
4169 * benchtests/tanh-inputs: Likewise.
4170
eff98324
SP
4171 * benchtests/acosh-inputs: New inputs.
4172 * benchtests/asinh-inputs: Likewise.
4173
ce641152
SP
4174 * benchtests/cosh-inputs: New inputs.
4175 * benchtests/sinh-inputs: Likewise.
4176
b19221b9
SP
4177 * benchtests/acos-inputs: Add more inputs.
4178 * benchtests/asin-inputs: Likewise.
4179
030a4976 41802013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 4181
030a4976 4182 [BZ #16375]
9dcc8f11
VS
4183 * manual/arith.texi: Fix spelling.
4184 * manual/charset.texi: Likewise.
4185 * manual/errno.texi: Likewise.
4186 * manual/filesys.texi: Likewise.
4187 * manual/lang.texi: Likewise.
4188 * manual/llio.texi: Likewise.
4189 * manual/locale.texi: Likewise.
4190 * manual/message.texi: Likewise.
4191 * manual/resource.texi: Likewise.
4192 * manual/search.texi: Likewise.
4193 * manual/setjmp.texi: Likewise.
4194 * manual/stdio.texi: Likewise.
4195 * manual/string.texi: Likewise.
4196 * manual/sysinfo.texi: Likewise.
4197 * manual/time.texi: Likewise.
4198
11520a57
CD
41992013-12-27 Carlos O'Donell <carlos@redhat.com>
4200
4201 * po/sl.po: New file.
4202
471103ae
MF
42032013-12-27 Mike Frysinger <vapier@gentoo.org>
4204
4205 * .gitignore: Add core/.gdbinit/.gdb_history.
4206
6c9642ed
AM
42072013-12-27 Allan McRae <allan@archlinux.org>
4208
4209 [BZ #16369]
4210 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
4211 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
4212
3f637079
BM
42132013-12-24 Brooks Moses <bmoses@google.com>
4214
4215 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
4216 all compilers that claim C++98 compliance, not just GCC.
4217 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
4218 Likewise.
4219
abc26e99
MK
42202013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
4221
4222 * NEWS: Restore accidentally deleted bug-fix entries.
4223
362b47fe
MK
42242013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
4225 Ondřej Bílka <neleai@seznam.cz>
4226
4227 [BZ #15073]
4228 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 4229 have_lock.
362b47fe 4230
b9bcbbcb
OB
42312013-12-23 Ondřej Bílka <neleai@seznam.cz>
4232
4233 [BZ #12986]
4234 * manual/stdio.texi (String Input Conversions): Clarify that character
4235 classes are not supported.
4236
fb55fcd2
AZ
42372013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4238
4239 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4240
ef7344f0
JM
42412013-12-22 Joseph Myers <joseph@codesourcery.com>
4242
4f40e4b3
JM
4243 [BZ #16337]
4244 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
4245 Calculate results for small negative arguments directly rather
4246 than using reflection formula with special underflow handling.
4247
ef7344f0
JM
4248 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
4249 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
4250 sysdeps/unix/bsd/bsd4.4/syscalls.list.
4251 (fchflags): Likewise.
4252 (revoke): Likewise.
4253 (setlogin): Likewise.
4254 (sigaltstack): Likewise.
4255 (wait4): Likewise.
4256 (sigblock): Remove.
4257 (sigsetmask): Likewise.
4258 (wait3): Likewise.
4259 (waitpid): Likewise.
4260 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
4261 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
4262 file.
4263 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
4264 * sysdeps/unix/bsd/Makefile: ... here.
4265 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
4266 * sysdeps/unix/bsd/Versions: ... here.
4267 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
4268 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
4269 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
4270 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
4271 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
4272 * sysdeps/unix/bsd/sigblock.c: ... here.
4273 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
4274 * sysdeps/unix/bsd/sigsetmask.c: ... here.
4275 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
4276 * sysdeps/unix/bsd/sigvec.c: ... here.
4277 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
4278 * sysdeps/unix/bsd/tcdrain.c: ... here.
4279 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
4280 * sysdeps/unix/bsd/tcgetattr.c: ... here.
4281 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
4282 * sysdeps/unix/bsd/tcsetattr.c: ... here.
4283 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
4284 * sysdeps/unix/bsd/wait.c: ... here.
4285 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
4286 * sysdeps/unix/bsd/wait3.c: ... here.
4287 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
4288 * sysdeps/unix/bsd/waitpid.c: ... here.
4289
5b0626b9
JM
42902013-12-21 Joseph Myers <joseph@codesourcery.com>
4291
4292 [BZ #16356]
4293 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
4294 round-to-nearest for [!USE_AS_EXPM1L].
4295 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
4296 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
4297 more tests of exp and exp10. Expect some exp10 tests to miss
4298 exceptions or fail in directed rounding modes.
4299 * math/auto-libm-test-out: Regenerated.
4300 * math/libm-test.inc (exp10_tonearest_test_data): New array.
4301 (exp10_test_tonearest): New function.
4302 (exp10_towardzero_test_data): New array.
4303 (exp10_test_towardzero): New function.
4304 (exp10_downward_test_data): New array.
4305 (exp10_test_downward): New function.
4306 (exp10_upward_test_data): New array.
4307 (exp10_test_upward): New function.
4308 (main): Call the new functions.
4309 * sysdeps/i386/fpu/libm-test-ulps: Update.
4310 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4311
7fda5682
JM
43122013-12-20 Joseph Myers <joseph@codesourcery.com>
4313
31e3a405
JM
4314 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
4315 asinh, atan, atan2, atanh, cbrt, cos and cosh.
4316 * math/auto-libm-test-out: Regenerated.
4317 * math/libm-test.inc (acosh_test_data): Add more tests.
4318 (atanh_test_data): Likewise.
4319 (ceil_test_data): Likewise.
4320 (copysign_test_data): Likewise.
4321 * sysdeps/i386/fpu/libm-test-ulps: Update.
4322 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4323
85bff96a
JM
4324 * timezone/checktab.awk: Update from tzcode 2013i.
4325 * timezone/private.h: Likewise.
4326 * timezone/scheck.c: Likewise.
4327 * timezone/tzfile.h: Likewise.
4328 * timezone/tzselect.ksh: Likewise.
4329 * timezone/zdump.c: Likewise.
4330 * timezone/zic.c: Likewise.
4331
b7867a3b
JM
4332 * math/auto-libm-test-in: Add tests of cpow.
4333 * math/auto-libm-test-out: Regenerated.
4334 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
4335 * * math/gen-auto-libm-tests.c (func_calc_method): Add value
4336 mpc_cc_c.
4337 (func_calc_desc): Add mpc_cc_c union field.
4338 (test_functions): Add cpow.
4339 (special_fill_2pi): New function.
4340 (special_real_inputs): Add 2pi.
4341 (calc_generic_results): Handle mpc_cc_c.
4342 * sysdeps/i386/fpu/libm-test-ulps: Update.
4343 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4344
7fda5682
JM
4345 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
4346 csqrt, ctan and ctanh.
4347 * math/auto-libm-test-out: Regenerated.
4348 * math/libm-test.inc (TEST_COND_x86_64): New macro.
4349 (TEST_COND_x86): Likewise.
4350 (ccos_test_data): Use AUTO_TESTS_c_c.
4351 (ccosh_test_data): Likewise.
4352 (cexp_test_data): Likewise.
4353 (clog_test_data): Likewise.
4354 (csqrt_test_data): Likewise.
4355 (ctan_test_data): Likewise.
4356 (ctan_tonearest_test_data): Likewise.
4357 (ctan_towardzero_test_data): Likewise.
4358 (ctan_downward_test_data): Likewise.
4359 (ctan_upward_test_data): Likewise.
4360 (ctanh_test_data): Likewise.
4361 (ctanh_tonearest_test_data): Likewise.
4362 (ctanh_towardzero_test_data): Likewise.
4363 (ctanh_downward_test_data): Likewise.
4364 (ctanh_upward_test_data): Likewise.
4365 * math/gen-auto-libm-tests.c (func_calc_method): Add value
4366 mpc_c_c.
4367 (func_calc_desc): Add mpc_c_c union field.
4368 (FUNC_mpc_c_c): New macro.
4369 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
4370 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
4371 ctanh.
4372 (special_fill_min_subnorm_p120): New function.
4373 (special_real_inputs): Add min_subnorm_p120.
4374 (calc_generic_results): Handle mpc_c_c.
4375 * sysdeps/i386/fpu/libm-test-ulps: Update.
4376 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4377
5ff8d60e
SP
43782013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
4379
392dd2de
SP
4380 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
4381 do_sin_slow): New functions.
4382 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
4383 cslow2, csloww1, csloww2): Use the new functions.
4384
84ba214c
SP
4385 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
4386 Use M to change sign of result instead of X. Assume X is
4387 positive.
4388 (csloww1): Likewise.
4389 (__sin): Adjust.
4390 (__cos): Adjust.
4391
975195e4
SP
4392 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
4393 arguments A and DA.
4394 (__sin): Adjust.
4395 (__cos): Likewise.
4396
5ff8d60e
SP
4397 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
4398 (__cos): Likewise.
4399 (sloww1): Don't adjust sign of DX.
4400 (csloww1): Likewise.
4401 (sloww2): Use X directly and don't adjust sign of DX.
4402 (csloww2): Likewise.
4403
eb983568
JM
44042013-12-19 Joseph Myers <joseph@codesourcery.com>
4405
64a17f1a
JM
4406 * math/auto-libm-test-in: Add tests of cabs and carg.
4407 * math/auto-libm-test-out: Regenerated.
4408 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
4409 (carg_test_data): Likewise.
4410 * math/gen-auto-libm-tests.c (func_calc_method): Add value
4411 mpc_c_f.
4412 (func_calc_desc): Add mpc_c_f union field.
4413 (test_functions): Add cabs and carg.
4414 (calc_generic_results): Handle mpc_c_f.
4415
eb983568
JM
4416 * sysdeps/powerpc/powerpc32/libgcc-compat.S
4417 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
4418 as a macro and a compat symbol.
4419 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
4420 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
4421 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
4422 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
4423 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
4424 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
4425 not use .hidden.
4426 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
4427 Likewise.
4428 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
4429 Likewise.
4430 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
4431 Likewise.
4432 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
4433 Likewise.
4434 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
4435 Likewise.
4436 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
4437 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
4438 from GLIBC_2.3.2.
4439
6eeb678a
AZ
44402013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4441
4442 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4443
6f6fc482
JM
44442013-12-19 Joseph Myers <joseph@codesourcery.com>
4445
21fea2e2
JM
4446 * manual/texinfo.tex: Update to version 2013-11-26.10 with
4447 trailing whitespace removed.
4448 * scripts/config.guess: Update to version 2013-11-29.
4449 * scripts/config.sub: Update to version 2013-10-01.
4450
6f6fc482
JM
4451 * math/auto-libm-test-in: Add tests of sincos.
4452 * math/auto-libm-test-out: Regenerated.
4453 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
4454 * math/gen-auto-libm-tests.c (func_calc_method): Add value
4455 mpfr_f_11.
4456 (func_calc_desc): Add mpfr_f_11 union field.
4457 (test_functions): Add sincos.
4458 (calc_generic_results): Handle mpfr_f_11.
4459 * sysdeps/i386/fpu/libm-test-ulps: Update.
4460 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4461
83f5c32d
AS
44622013-12-19 Andreas Schwab <schwab@suse.de>
4463
4464 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
4465 CALL_MCOUNT.
4466 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
4467 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
4468 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
4469
c688b419
JM
44702013-12-19 Joseph Myers <joseph@codesourcery.com>
4471
335ee092
JM
4472 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
4473 * sysdeps/i386/fpu/libm-test-ulps: Update.
4474 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4475
f88acd39
JM
4476 [BZ #16293]
4477 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
4478 round-to-nearest mode when using frndint.
4479 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
4480 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
4481 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
4482 Likewise.
4483 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
4484 sinh test to fail.
4485 * math/auto-libm-test-out: Regenerated.
4486 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
4487 (TEST_COND_x86): Likewise.
4488 (expm1_tonearest_test_data): New array.
4489 (expm1_test_tonearest): New function.
4490 (expm1_towardzero_test_data): New array.
4491 (expm1_test_towardzero): New function.
4492 (expm1_downward_test_data): New array.
4493 (expm1_test_downward): New function.
4494 (expm1_upward_test_data): New array.
4495 (expm1_test_upward): New function.
4496 (main): Run the new test functions.
4497 * sysdeps/i386/fpu/libm-test-ulps: Update.
4498 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4499
c688b419
JM
4500 * include/features.h: Update comment documenting feature test
4501 macros. Mention _DEFAULT_SOURCE in comment.
4502 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
4503 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
4504 _BSD_SOURCE and _SVID_SOURCE.
4505 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
4506 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
4507 !_SVID_SOURCE]: Likewise.
4508 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
4509 (__USE_POSIX_IMPLICITLY): Define.
4510 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
4511 (_POSIX_SOURCE): Undefine and redefine.
4512 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
4513 (_POSIX_C_SOURCE): Likewise.
4514 * manual/creature.texi (_DEFAULT_SOURCE): Document.
4515 (Feature Test Macros): Update documentation of default features.
4516
9f6e964c
RS
45172013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4518
4519 * benchtests/Makefile: Add bench-strtok.
4520 * benchtests/bench-strtok.c: New file: strtok benchtest.
4521
ee0a148a
AM
45222013-12-19 Allan McRae <allan@archlinux.org>
4523
4524 * manual/install.texi: Suppress menu for plain text output.
4525 * INSTALL: Regenerated.
4526
b9ab448f
BM
45272013-12-18 Brooks Moses <bmoses@google.com>
4528
4529 [BZ #15846]
4530 * misc/getauxval.c: Include errno.h.
4531 (__getauxval): Set errno to ENOENT if the requested type is not
4532 found.
4533 * misc/sys/auxv.h (getauxval): Document that it may set errno;
4534 don't declare with __attribute_const__.
4535 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
4536 * manual/startup.texi: Document that getauxval sets errno.
4537
23776487
JM
45382013-12-18 Joseph Myers <joseph@codesourcery.com>
4539
f889953b
JM
4540 * math/auto-libm-test-in: Add tests of jn and yn.
4541 * math/auto-libm-test-out: Regenerated.
4542 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
4543 (yn_test_data): Likewise.
4544 * math/gen-auto-libm-tests.c (func_calc_method): Add value
4545 mpfr_if_f.
4546 (func_calc_desc): Add mpfr_if_f union field.
4547 (FUNC_mpfr_if_f): New macro.
4548 (test_functions): Add jn and yn.
4549 (calc_generic_results): Assert type of second input for
4550 mpfr_ff_f. Handle mpfr_if_f.
4551 (output_for_one_input_case): Disable all checking for arguments
4552 fitting floating-point types in case of an integer argument.
4553 * sysdeps/i386/fpu/libm-test-ulps: Update.
4554 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4555
23776487
JM
4556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
4557 Don't expect fegetround reference in libm.so.
4558
cb756c6d
MS
45592013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4560
4561 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
4562 $(config-cflags-nofma).
4563
2dec468f
JM
45642013-12-18 Joseph Myers <joseph@codesourcery.com>
4565
5953eb3a
JM
4566 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
4567 * math/auto-libm-test-out: Regenerated.
4568
2dec468f
JM
4569 [BZ #16338]
4570 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
4571 to determine exponent and adjust argument to have exponent of -1.
4572 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
4573 log2.
4574 * math/auto-libm-test-out: Regenerated.
4575 * sysdeps/i386/fpu/libm-test-ulps: Update.
4576 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4577
4d84e6ad
OB
45782013-12-18 Ondřej Bílka <neleai@seznam.cz>
4579
4580 * manual/probes.texi: Remove cases when per-thread arenas are
4581 disabled.
4582
1818483b
AS
45832013-12-18 Andreas Schwab <schwab@suse.de>
4584
4585 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
4586 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
4587 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
4588 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
4589 * sysdeps/i386/i686/multiarch/Makefile: Update.
4590 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
4591
25de95bf
JM
45922013-12-17 Joseph Myers <joseph@codesourcery.com>
4593
4594 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
4595 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
4596
674762d9
PE
45972013-12-17 Paul Eggert <eggert@cs.ucla.edu>
4598
ed27ed83 4599 [BZ #15968]
0748546f
PE
4600 Support TZ transition times < 00:00:00.
4601 This is needed for version-3 tz-format files; it supports time
4602 stamps past 2037 for America/Godthab (the only entry in the tz
4603 database for which this change is relevant).
4604 * manual/time.texi (TZ Variable): Document transition times
4605 from -167:59:59 through -00:00:01.
4606 * time/tzset.c (tz_rule): Time of day is now signed.
4607 (__tzset_parse_tz): Parse negative time of day.
4608
4480e934
PE
4609 Document TZ transition times >= 25:00:00.
4610 * manual/time.texi (TZ Variable): Document transition times from
4611 25:00:00 through 167:59:59. These are already supported, and this
4612 support will help with version-3 tz-format files.
4613
69947401
PE
4614 * manual/time.texi (TZ Variable): Modernize North America example
4615 to reflect current (i.e., 2007-and-later) daylight saving rules.
4616
674762d9
PE
4617 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
4618
7011c262
JM
46192013-12-17 Joseph Myers <joseph@codesourcery.com>
4620
2fc6557e
JM
4621 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
4622 * sysdeps/unix/bsd/bits/stat.h: Likewise.
4623 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
4624 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
4625 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
4626 * sysdeps/unix/bsd/bsdstat.h: Likewise.
4627 * sysdeps/unix/bsd/clock.c: Likewise.
4628 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
4629 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
4630 * sysdeps/unix/bsd/init-posix.c: Likewise.
4631 * sysdeps/unix/bsd/poll.c: Likewise.
4632 * sysdeps/unix/bsd/ptsname.c: Likewise.
4633 * sysdeps/unix/bsd/seekdir.c: Likewise.
4634 * sysdeps/unix/bsd/setegid.c: Likewise.
4635 * sysdeps/unix/bsd/seteuid.c: Likewise.
4636 * sysdeps/unix/bsd/setgid.c: Likewise.
4637 * sysdeps/unix/bsd/setrgid.c: Likewise.
4638 * sysdeps/unix/bsd/setruid.c: Likewise.
4639 * sysdeps/unix/bsd/setsid.c: Likewise.
4640 * sysdeps/unix/bsd/setuid.c: Likewise.
4641 * sysdeps/unix/bsd/sigaction.c: Likewise.
4642 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
4643 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
4644 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
4645 * sysdeps/unix/bsd/telldir.c: Likewise.
4646 * sysdeps/unix/bsd/times.c: Likewise.
4647 * sysdeps/unix/bsd/usleep.c: Likewise.
4648
029c7b25
JM
4649 * misc/Makefile (install-lib): Remove libbsd-compat.a.
4650 ($(objpfx)libbsd-compat.a): Remove rule.
4651
7011c262
JM
4652 * include/features.h (__FAVOR_BSD): Do not define.
4653 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
4654 features conflicting with POSIX.
4655 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
4656 (_BSD_SOURCE): Remove description of not being a subset of other
4657 feature test macros.
4658 * manual/job.texi (getpgrp): Do not document BSD version.
4659 (getpgid): Do not document by reference to BSD getpgrp.
4660 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
4661 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
4662 * signal/signal.h [__FAVOR_BSD]: Likewise.
4663 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
4664 instead of making contents conditional on [__FAVOR_BSD].
4665 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
4666
affb6f78
AZ
46672013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4668
4669 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4670
c88769dd
JM
46712013-12-17 Joseph Myers <joseph@codesourcery.com>
4672
6432a540
JM
4673 [BZ #16314]
4674 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
4675 values below 2**-450, not 2**-500.
4676 * math/auto-libm-test-in: Don't allow spurious underflow from
4677 hypot.
4678 * math/auto-libm-test-out: Regenerated.
4679
c88769dd
JM
4680 [BZ #16316]
4681 [BZ #16330]
4682 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
4683 values of ha and hb and sort them after adjusting subnormal
4684 arguments.
4685 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
4686 Likewise.
4687 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
4688 values of ea and eb and sort them after adjusting subnormal
4689 arguments.
4690 * math/auto-libm-test-in: Do not expect some hypot tests of
4691 subnormals to fail. Add more hypot tests.
4692 * math/auto-libm-test-out: Regenerated.
4693
29618f6b
KK
46942013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4695
4696 [BZ #13304]
4697 * sysdeps/sh/s_fma.c: New file.
4698 * sysdeps/sh/s_fmaf.c: New file.
4699 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
4700 version.
4701 * sysdeps/sh/Implies: Add sh/soft-fp.
4702
eacfdfbf
RM
47032013-12-16 Roland McGrath <roland@hack.frob.com>
4704
4705 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
4706 level of indirection to members `objname', `errstring', `malloced'.
4707 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
4708 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
4709 it as the __longjmp argument (just pass 1 instead).
4710 (_dl_catch_error): Initialize C with argument pointers and address of
4711 volatile local ERRCODE rather than copying values out of C at return.
4712
ff362e5b
JM
47132013-12-16 Joseph Myers <joseph@codesourcery.com>
4714
4715 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
4716 * math/auto-libm-test-out: Regenerated.
4717 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
4718 (hypot_test_data): Likewise.
4719 (pow_test_data): Likewise.
4720 (pow_tonearest_test_data): Likewise.
4721 * math/gen-auto-libm-tests.c (func_calc_method): Add value
4722 mpfr_ff_f.
4723 (func_calc_desc): Add mpfr_ff_f union field.
4724 (FUNC_mpfr_ff_f): New macro.
4725 (test_functions): Add atan2, hypot and pow.
4726 (special_fill_min): New function.
4727 (special_fill_minus_min): Likewise.
4728 (special_fill_min_subnorm): Likewise.
4729 (special_fill_minus_min_subnorm): Likewise.
4730 (special_real_inputs): Add min, -min, min_subnorm and
4731 -min_subnorm.
4732 (calc_generic_results): Handle mpfr_ff_f.
4733 * sysdeps/i386/fpu/libm-test-ulps: Update.
4734 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4735
5764c27f
WN
47362013-12-16 Will Newton <will.newton@linaro.org>
4737
4738 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
4739 (Aligned Memory Blocks): Add documentation for aligned_alloc
4740 and suggest it as an alternative to posix_memalign.
4741 (Hooks for Malloc): Document __memalign_hook is also called
4742 for aligned_alloc. (Summary of Malloc): Add summary for
4743 aligned alloc. Document __memalign_hook is also called
4744 for aligned_alloc.
4745
0a096e44
WN
47462013-12-16 Will Newton <will.newton@linaro.org>
4747
4748 * manual/memory.texi (Malloc Examples): Clarify default
4749 alignment documentation. Suggest posix_memalign rather
4750 than memalign or valloc.
4751 (Aligned Memory Blocks): Remove suggestion to use memalign
4752 or valloc. Remove obsolete comment about BSD.
4753 Document memalign errno values and mark the function obsolete.
4754 Document posix_memalign returned error codes. Mark valloc
4755 as obsolete. (Hooks for Malloc): __memalign_hook is also
4756 called for posix_memalign and valloc.
4757 (Summary of Malloc): Add posix_memalign to function summary.
4758 __memalign_hook is also called for posix_memalign and valloc.
4759
8d561986
SP
47602013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4761
4762 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
4763 TAYLOR_SIN.
4764 (__sin): Adjust.
4765 (__cos): Likewise.
4766 (sloww): Use mynumber union. Expand ternary operator into
4767 if-else statements.
4768 (cslow): use mynumber union.
4769
73616a74
AM
47702013-12-16 Allan McRae <allan@archlinux.org>
4771
9e8ac24b
AM
4772 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
4773 * configure: Regenerated.
4774
6f8e37eb
AM
4775 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
4776
8894bad3
AM
4777 [BZ #14120]
4778 * configure.ac: Added --enable-maintainer-mode. Check for
4779 autoconf when enabled.
4780 * configure: Regenerated.
4781
73616a74
AM
4782 * nscd/nscd.service: New file.
4783 * nscd/nscd.tmpfiles: New file.
4784
584b18eb
OB
47852013-12-14 Ondřej Bílka <neleai@seznam.cz>
4786
4787 [BZ #12100]
4788 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
4789 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
4790 * sysdeps/x86_64/multiarch/strstr.c: ... here.
4791 (strstr): Add __strstr_sse2_unaligned ifunc.
4792 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
4793 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
4794 (strcasestr): Remove __strcasestr_sse42 ifunc.
4795 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
4796 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
4797 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
4798
8a5c7897
KK
47992013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4800
4801 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
4802 * sysdeps/sh/bits/fenv.h: ... here.
4803 * sysdeps/sh/sh4/fpu/bits: Remove directory.
4804
fd712ef3
AZ
48052013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4806
4807 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
4808
42fcb46c
AZ
48092013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4810
4811 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
4812 hypotf multiarch implementations.
4813 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
4814 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
4815 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
4816 multiarch hypot for PPC64.
4817 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
4818 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
4819 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
4820 multiarch hypotf for PPC64.
4821
83efded4
AZ
48222013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4823
4824 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
4825 modff multiarch implementations.
4826 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
4827 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
4828 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
4829 multiarch modf for PPC64.
4830 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
4831 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
4832 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
4833 multiarch modff for PPC64.
4834
43e246d2
AZ
48352013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4836
4837 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
4838 and logl multiarch implementations.
4839 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
4840 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
4841 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
4842 multiarch logb for PPC64.
4843 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
4844 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
4845 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
4846 multiarch logb for PPC64.
4847 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
4848 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
4849 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
4850 multiarch logb for PPC64.
4851
8fdad123
AZ
48522013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4853
4854 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
4855 isinff multiarch implementation.
4856 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
4857 file.
4858 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
4859 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
4860 multiarch isinf for PPC64.
4861 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
4862 file.
4863 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
4864 multiarch isinff for PPC64.
4865
1481d706
AZ
48662013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4867
4868 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
4869 finitef multiarch implementation.
4870 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
4871 file.
4872 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
4873 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
4874 multiarch finite for PPC64.
4875 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
4876 file.
4877 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
4878 multiarch finitef for PPC64.
4879
5ccd5fc8
AZ
48802013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4881
4882 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
4883 lrint multiarch implementation.
4884 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
4885 file.
4886 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
4887 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
4888 multiarch llrint for PPC64.
4889 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
4890 multiarch lrint for PPC64.
4891
2568f3fa
AZ
48922013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4893
4894 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
4895 copysignf multiarch implementation.
4896 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
4897 file.
4898 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
4899 file.
4900 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
4901 multiarch copysign for PPC64.
4902 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
4903 multiarch copysignf for PPC64.
4904
1cb341fd
AZ
49052013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4906
4907 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
4908 multiarch implementation.
4909 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
4910 file.
4911 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
4912 file.
4913 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
4914 file.
4915 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
4916 file.
4917 multiarch llround for PPC64.
4918 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
4919 multiarch trunc for PPC64.
4920 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
4921 multiarch truncf for PPC64.
4922
59a3e194
AZ
49232013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4924
4925 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
4926 multiarch implementation.
4927 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
4928 file.
4929 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
4930 file.
4931 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
4932 file.
4933 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
4934 file.
4935 multiarch llround for PPC64.
4936 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
4937 multiarch round for PPC64.
4938 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
4939 multiarch roundf for PPC64.
4940
357fd3b4
AZ
49412013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4942
4943 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
4944 multiarch implementation.
4945 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
4946 file.
4947 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
4948 file.
4949 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
4950 file.
4951 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
4952 file.
4953 multiarch llround for PPC64.
4954 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
4955 multiarch floor for PPC64.
4956 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
4957 multiarch floorf for PPC64.
4958
96770f12
AZ
49592013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4960
4961 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
4962 multiarch implementation.
4963 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
4964 file.
4965 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
4966 file.
4967 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
4968 file.
4969 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
4970 file.
4971 multiarch llround for PPC64.
4972 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
4973 multiarch ceil for PPC64.
4974 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
4975 multiarch ceilf for PPC64.
4976
c3627f6e
AZ
49772013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4978
4979 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
4980 multiarch implementation.
4981 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
4982 file.
4983 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
4984 file.
4985 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
4986 file.
4987 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
4988 multiarch llround for PPC64.
4989 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
4990 multiarch lround for PPC64.
4991
b2284ad7
AZ
49922013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4993
4994 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
4995 multiarch implementation.
4996 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
4997 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
4998 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
4999 file.
5000 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
5001 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
5002 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
5003 multiarch isnan for PPC64.
5004 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
5005 multiarch isnanf for PPC64.
5006
69bbc63d
AZ
50072013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5008
5009 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
5010 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
5011 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
5012 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
5013 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
5014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
5015
c24517c9
AZ
50162013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5017
5018 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
5019 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
5020 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
5021 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
5022
a52374e8
AZ
50232013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5024
5025 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
5026 multiarch implementations.
5027 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5028 (__libc_ifunc_impl_list): Likewise.
5029 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
5030 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
5031 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
5032 multiarch stpcpy for PPC64.
5033
7f5ec113
AZ
50342013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5035
5036 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
5037 multiarch implementations.
5038 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5039 (__libc_ifunc_impl_list): Likewise.
5040 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
5041 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
5042 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
5043 multiarch strcpy for PPC64.
5044
e28bcd42
AZ
50452013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5046
5047 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
5048 redefine function name.
5049 (_wordcopy_fwd_dest_aligned): Likewise.
5050 (_wordcopy_bwd_aligned): Likewise.
5051 (_wordcopy_bwd_dest_aligned): Likewise.
5052 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
5053 multiarch implementations.
5054 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5055 (__libc_ifunc_impl_list): Likewise.
5056 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
5057 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
5058 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
5059 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
5060 multiarch wcscpy for PPC64.
5061
92cacfce
AZ
50622013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5063
5064 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
5065 multiarch implementations.
5066 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5067 (__libc_ifunc_impl_list): Likewise.
5068 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
5069 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
5070 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
5071 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
5072 multiarch wcscpy for PPC64.
5073
7b714620
AZ
50742013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5075
5076 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
5077 multiarch implementations.
5078 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5079 (__libc_ifunc_impl_list): Likewise.
5080 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
5081 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
5082 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
5083 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
5084 multiarch wcsrchr for PPC64.
5085
16fd2ae3
AZ
50862013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5087
5088 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
5089 multiarch implementations.
5090 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5091 (__libc_ifunc_impl_list): Likewise.
5092 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
5093 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
5094 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
5095 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
5096 multiarch wcschr for PPC64.
5097
9ee2969b
AZ
50982013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5099
5100 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
5101 multiarch implementations.
5102 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5103 (__libc_ifunc_impl_list): Likewise.
5104 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
5105 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
5106 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
5107 multiarch strchrnul for PPC64.
5108
372dc060
AZ
51092013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5110
5111 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
5112 implementations.
5113 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5114 (__libc_ifunc_impl_list): Likewise.
5115 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
5116 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
5117 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
5118 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
5119 strchr for PPC64.
5120
24c2c3b9
AZ
51212013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5122
5123 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
5124 implementations.
5125 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5126 (__libc_ifunc_impl_list): Likewise.
5127 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
5128 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
5129 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
5130 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
5131 strncmp for PPC64.
5132
1c92d9a0
AZ
51332013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5134
5135 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
5136 multiarch implementations.
5137 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5138 (__libc_ifunc_impl_list): Likewise.
5139 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
5140 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
5141 strncasecmp for PPC64.
5142 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
5143 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
5144 multiarch strncasecmp_l for PPC64.
5145
17de3ee3
AZ
51462013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5147
5148 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
5149 multiarch implementations.
5150 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5151 (__libc_ifunc_impl_list): Likewise.
5152 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
5153 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
5154 multiarch strcasecmp for PPC64.
5155 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
5156 file.
5157 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
5158 multiarch strcasecmp_l for PPC64.
5159
62982bf9
AZ
51602013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5161
5162 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
5163 implementations.
5164 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5165 (__libc_ifunc_impl_list): Likewise.
5166 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
5167 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
5168 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
5169 strnlen for PPC64.
5170
a65f4904
AZ
51712013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5172
5173 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
5174 implementations.
5175 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5176 (__libc_ifunc_impl_list): Likewise.
5177 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
5178 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
5179 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
5180 strlen for PPC64.
5181
1fd005ad
AZ
51822013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5183
5184 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
5185 implementations.
5186 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5187 (__libc_ifunc_impl_list): Likewise.
5188 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
5189 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
5190 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
5191 rawmemrchr for PPC64.
5192
cd05ba91
AZ
51932013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5194
5195 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
5196 implementation.
5197 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5198 (__libc_ifunc_impl_list): Likewise.
5199 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
5200 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
5201 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
5202 memrchr for PPC64.
5203
870f8676
AZ
52042013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5205
5206 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
5207 implementation.
5208 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5209 (__libc_ifunc_impl_list): Likewise.
5210 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
5211 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
5212 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
5213 memchr for PPC64.
5214
f00be62b
AZ
52152013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5216
5217 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
5218 implementation.
5219 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5220 (__libc_ifunc_impl_list): Likewise.
5221 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
5222 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
5223 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
5224 mempcpy for PPC64.
5225
8a29a3d0
AZ
52262013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5227
5228 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
5229 avoid cretion of __bzero symbol.
5230 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
5231 Likewise.
5232 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
5233 Likewise.
5234 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
5235 Likewise.
5236 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
5237 multiarch implementations.
5238 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5239 (__libc_ifunc_impl_list): Likewise.
5240 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
5241 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
5242 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
5243 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
5244 bzero for PPC32.
5245 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
5246 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
5247 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
5248 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
5249 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
5250 memset for PPC64.
5251 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
5252
07253fcf
AZ
52532013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5254
5255 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
5256 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
5257 implementations.
5258 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5259 (__libc_ifunc_impl_list): Likewise.
5260 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
5261 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
5262 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
5263 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
5264 memcmp for PPC64.
5265
b5beafbc
AZ
52662013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5267
5268 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
5269 multiarch for POWER/PPC64.
5270 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
5271 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
5272 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
5273 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
5274 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
5275 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
5276 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
5277 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
5278 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
5279 memcpy for PPC64.
5280
5e6a4d4b
AZ
52812013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5282
5283 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
5284 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
5285 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
5286 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
5287 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
5288 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
5289 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
5290 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
5291 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
5292 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
5293 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
5294 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
5295 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
5296 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
5297 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
5298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
5299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
5300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
5301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
5302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
5303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
5304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
5305
ddfab6dc
KK
53062013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5307
5308 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
5309
19b5525e
SP
53102013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5311
5312 * benchtests/Makefile (bench): Add exp2 and log2.
5313 (LDLIBS-bench-exp2): Add -lm.
5314 (LDLIBS-bench-log2): Likewise.
5315 * benchtests/exp2-inputs: New inputs file.
5316 * benchtests/log2-inputs: New inputs file.
5317 * benchtests/log-inputs: Add new inputs.
5318 * benchtests/tan-inputs: Likewise.
5319
196f7f5d
SP
53202013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5321
7a74607f
SP
5322 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
5323 definition...
5324 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
5325 csloww1, csloww2): ... from here.
5326
196f7f5d
SP
5327 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
5328 instead of structures.
5329 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
5330 (POLYNOMIAL): Likewise.
5331 (TAYLOR_SLOW): Likewise.
5332 (__sin): Likewise.
5333 (__cos): Likewise.
5334 (slow1): Likewise.
5335 (slow2): Likewise.
5336 (sloww): Likewise.
5337 (sloww1); Likewise.
5338 (sloww2): Likewise.
5339 (bsloww1): Likewise.
5340 (bsloww2): Likewise.
5341 (cslow2): Likewise.
5342 (csloww): Likewise.
5343 (csloww1): Likewise.
5344 (csloww2): Likewise.
5345
0dfa665c
OB
53462013-12-10 Ondřej Bílka <neleai@seznam.cz>
5347
5348 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
5349 (__malloc_assert, __libc_realloc, __libc_calloc,
5350 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
5351 memcpy and memset.
5352 * malloc/hooks.c (realloc_check): Likewise.
5353
5782a80f
OB
53542013-12-10 Ondřej Bílka <neleai@seznam.cz>
5355
5356 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
5357 * malloc/arena.c: Remove PER_THREAD conditional.
5358 [!PER_THREAD]: Remove code.
5359 (ptmalloc_unlock_all2): Likewise.
5360 (ptmalloc_init): Likewise.
5361 (_int_new_arena): Likewise.
5362 (arena_get2): Likewise.
5363 * malloc/hooks.c (__malloc_get_state): Likewise.
5364 (__malloc_set_state): Likewise.
5365 * malloc/malloc.c: Likewise.
5366 (struct malloc_state): Likewise.
5367 (struct malloc_par): Likewise.
5368 (__libc_realloc): Likewise.
5369 (__libc_mallopt): Likewise.
5370
aeb95445
AZ
53712013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5372
5373 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
5374
e8349efd
OB
53752013-12-09 Ondřej Bílka <neleai@seznam.cz>
5376
5377 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
5378 macro to a function. Check for zero perturb_byte.
5379 (_int_malloc, _int_free): Remove zero perturb_byte checks.
5380
f3eeb3fc
OB
53812013-12-09 Ondřej Bílka <neleai@seznam.cz>
5382
5383 * malloc/malloc.c: (force_reg): Remove.
5384 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
5385 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
5386 force_reg by atomic_forced_read.
5387 * malloc/arena.c (ptmalloc_init): Likewise.
5388 * malloc/hooks.c (top_check): Likewise.
5389
be2f9009
AZ
53902013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5391
5392 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5393
e7b914bd
MT
53942013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
5395
5396 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5397
9f0be4f8
JM
53982013-12-08 Joseph Myers <joseph@codesourcery.com>
5399
5400 * math/auto-libm-test-in: Add tests of lgamma.
5401 * math/auto-libm-test-out: Regenerated.
5402 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
5403 (M_LOG_2_SQRT_PIl): Likewise.
5404 (lgamma_test_data): Use AUTO_TESTS_f_f1.
5405 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5406 mpfr_f_f1.
5407 (func_calc_desc): Add mpfr_f_f1 union field.
5408 (ARGS1): New macro.
5409 (ARGS2): Likewise.
5410 (ARGS3): Likewise.
5411 (ARGS4): Likewise.
5412 (RET1): Likewise.
5413 (RET2): Likewise.
5414 (CALC): Likewise.
5415 (FUNC): Likewise.
5416 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
5417 (test_functions): Add lgamma.
5418 (calc_generic_results): Handle mpfr_f_f1.
5419 * sysdeps/i386/fpu/libm-test-ulps: Update.
5420 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5421
24eeafdb
AZ
54222013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5423
5424 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
5425 __mpn_add_n for PowerPC64/POWER7.
5426 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
5427 __mpn_sub_n for PowerPC64/POWER7.
5428
4a2c0fd4
AZ
54292013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5430
5431 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
5432 __mpn_addmul_1 for PowerPC64.
5433 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
5434 __mpn_submul_1 for PowerPC64.
5435 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
5436 for PowerPC64.
5437 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
5438 for PowerPC64.
5439
4b5b548c
FS
54402013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
5441
5442 [BZ #15089]
5443 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
5444
0a3ac0aa
AZ
54452013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5446
5447 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
5448
ccdc8438
AZ
54492013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5450
5451 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
5452 add multiarch folders.
5453 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
5454 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
5455 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
5456 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
5457 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
5458 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
5459 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
5460 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
5461 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
5462 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
5463 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
5464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
5465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
5466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
5467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
5468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
5469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
5470
2e973d99
AZ
54712013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5472
5473 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
5474 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
5475 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
5476 New file.
5477 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
5478 New file.
5479 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
5480 multiarch __ieee754_hypot for PowerPC32.
5481 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
5482 New file.
5483 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
5484 New file.
5485 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
5486 multiarch __ieee754_hypotf for PowerPC32.
5487
2d9470b2
AZ
54882013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5489
5490 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
5491 long_double_symbol only if __logbl is defined.
5492 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
5493 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
5494 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
5495 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
5496 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
5497 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
5498 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
5499 path for implementation.
5500 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
5501 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
5502 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
5503 logb, and logbl multiarch implementations for PowerPC32.
5504 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
5505 file.
5506 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
5507 file.
5508 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
5509 multiarch logb for PowerPC32.
5510 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
5511 file.
5512 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
5513 file.
5514 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
5515 multiarch logbf for PowerPC32.
5516 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
5517 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
5518 file.
5519 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
5520 multiarch logbl implementation for PowerPC32.
5521
5212ffce
AZ
55222013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5523
5524 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
5525 and modff multiarch implementations.
5526 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
5527 New file.
5528 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
5529 New file.
5530 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
5531 multiarch modf for PowerPC32.
5532 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
5533 New file.
5534 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
5535 New file.
5536 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
5537 multiarch modff for PowerPC32.
5538
79dccf31
AZ
55392013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5540
5541 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
5542 and lrintf multiarch implementations.
5543 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
5544 New file.
5545 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
5546 New file.
5547 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
5548 multiarch lrint for PowerPC32.
5549 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
5550 file: multiarch lrintf for PowerPC32.
5551
deb66480
AZ
55522013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5553
5554 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
5555 and lroundf multiarch implementations.
5556 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
5557 New file.
5558 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
5559 New file.
5560 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
5561 New file.
5562 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
5563 multiarch lround for PowerPC32.
5564 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
5565 file: multiarch lroundf for PowerPC32.
5566
264b036b
AZ
55672013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5568
5569 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
5570 copysign and copysignf multiarch implementations.
5571 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
5572 New file.
5573 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
5574 New file.
5575 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
5576 file: multiarch copysign for PowerPC32.
5577 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
5578 file: multiarch copysignf for PowerPC32.
5579
d47db6c9
AZ
55802013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5581
5582 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
5583 and truncf multiarch implementations.
5584 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
5585 New file.
5586 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
5587 file.
5588 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
5589 multiarch trunc for PowerPC32.
5590 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
5591 New file.
5592 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
5593 New file.
5594 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
5595 multiarch truncf for PowerPC32.
5596
ddb60b5a
AZ
55972013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5598
5599 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
5600 and roundf multiarch implementations.
5601 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
5602 New file.
5603 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
5604 file.
5605 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
5606 multiarch round for PowerPC32.
5607 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
5608 New file.
5609 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
5610 New file.
5611 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
5612 multiarch roundf for PowerPC32.
5613
bedcf49b
AZ
56142013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5615
5616 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
5617 and floorf multiarch implementations.
5618 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
5619 New file.
5620 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
5621 file.
5622 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
5623 multiarch floor for PowerPC32.
5624 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
5625 New file.
5626 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
5627 New file.
5628 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
5629 multiarch floorf for PowerPC32.
5630
35ae5b40
AZ
56312013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5632
5633 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
5634 and ceilf multiarch implementations.
5635 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
5636 New file.
5637 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
5638 file.
5639 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
5640 multiarch ceil for PowerPC32.
5641 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
5642 New file.
5643 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
5644 file.
5645 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
5646 multiarch ceilf for PowerPC32.
5647
ae1a4cd9
AZ
56482013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5649
5650 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
5651 is defined.
5652 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
5653 FINITEF is defined.
5654 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
5655 and finitef multiarch implementations.
5656 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
5657 New file.
5658 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
5659 file.
5660 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
5661 multiarch finite for PowerPC32.
5662 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
5663 New file.
5664 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
5665 file: multiarch finitef for PowerPC32.
5666
64fffd65
AZ
56672013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5668
5669 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
5670 and isinff multiarch implementations.
5671 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
5672 file.
5673 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
5674 file.
5675 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
5676 multiarch isinf for PowerPC32.
5677 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
5678 New file.
5679 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
5680 multiarch isinff for PowerPC32.
5681
8e4e7ba2
AZ
56822013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5683
5684 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
5685 alias when __isnan is defined.
5686 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
5687 and isnanf multiarch implementations.
5688 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
5689 file.
5690 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
5691 file.
5692 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
5693 file.
5694 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
5695 file.
5696 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
5697 multiarch isnan for PowerPC32.
5698 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
5699 New file.
5700 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
5701 New file.
5702 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
5703 multiarch isnanf for PowerPC32.
5704
ddba588e
AZ
57052013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5706
5707 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
5708 and sqrtf multiarch implementations.
5709 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
5710 file.
5711 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
5712 file.
5713 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
5714 multiarch sqrt for PowerPC32.
5715 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
5716 file.
5717 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
5718 file.
5719 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
5720 multiarch sqrtf for PowerPC32.
5721
0f96a2f0
AZ
57222013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5723
5724 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
5725 and llroundf multiarch implementations.
5726 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
5727 New file.
5728 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
5729 New file.
5730 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
5731 New file.
5732 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
5733 file: multiarch llround for PowerPC32.
5734 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
5735 file: multiarch llroundf for PowerPC32.
5736
c9b5d79e
AZ
57372013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5738
5739 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
5740 multiarch PowerPC32 fpu implementations.
5741 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
5742 New file.
5743 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
5744 New file.
5745 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
5746 multiarch llrint for PowerPC32.
5747 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
5748 New file.
5749 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
5750 New file.
5751 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
5752 file.
5753
9cbb3aab
AZ
57542013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5755
5756 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
5757
ea5a72f8
AZ
57582013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5759
5760 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
5761 file.
5762 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
5763 file.
5764 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
5765 file.
5766 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
5767 multiarch wordcopy for PPC32.
5768 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
5769 wordcopy objects.
5770 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5771 (__libc_ifunc_impl_list): Likewise.
5772 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
5773 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
5774 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
5775 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
5776 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
5777 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
5778
93be09e7
AZ
57792013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5780
5781 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
5782 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
5783 file.
5784 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
5785 file.
5786 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
5787 file.
5788 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
5789 multiarch wcscpy for PPC32.
5790 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
5791 multiarch objects.
5792 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5793 (__libc_ifunc_impl_list): Likewise.
5794 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
5795 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
5796 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
5797 sysdeps/powerpc/power6/wcscpy.c.
5798
bb04e529
AZ
57992013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5800
5801 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
5802 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
5803 file.
5804 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
5805 file.
5806 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
5807 file.
5808 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
5809 multiarch wcsrchr for PPC32.
5810 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
5811 multiarch objects.
5812 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5813 (__libc_ifunc_impl_list): Likewise.
5814 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
5815 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
5816 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
5817 sysdeps/powerpc/power6/wcsrchr.c.
5818
05b5cd1c
AZ
58192013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5820
5821 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
5822 file.
5823 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
5824 file.
5825 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
5826 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
5827 multiarch wcschr for PPc32.
5828 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
5829 multiarch objects.
5830 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5831 (__libc_ifunc_impl_list): Likewise.
5832 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
5833 * sysdeps/powerpc/power6/wcschr.c: ... to here.
5834 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
5835 sysdeps/powerpc/power6/wcschr.c.
5836
ba964147
AZ
58372013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5838
5839 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
5840 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
5841 file.
5842 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
5843 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
5844 file: multiarch strchr for PPC32.
5845 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
5846 multiarch objects.
5847 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5848 (__libc_ifunc_impl_list): Likewise.
5849
31c81aaa
AZ
58502013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5851
5852 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
5853 name.
5854 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
5855 file.
5856 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
5857 file.
5858 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
5859 multiarch strchrnul for PPC32.
5860 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
5861 multiarch objects.
5862 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5863 (__libc_ifunc_impl_list): Likewise.
5864
0d0607d9
AZ
58652013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5866
5867 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
5868 file.
5869 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
5870 multiarch strncasecmp for PPC32.
5871 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
5872 file.
5873 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
5874 multiarch strncasecmp_l for PPC32.
5875 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
5876 strncasecmp multiarch objects.
5877 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5878 (__libc_ifunc_impl_list): Likewise.
5879
4dfd5c86
AZ
58802013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5881
5882 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
5883 file.
5884 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
5885 multiarch strncasecmp for PPC32.
5886 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
5887 New file.
5888 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
5889 multiarch strcasecmp_l for PPC32.
5890 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
5891 multiarch objects.
5892 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5893 (__libc_ifunc_impl_list): Likewise.
5894
a19e01a3
AZ
58952013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5896
5897 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
5898 file.
5899 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
5900 file.
5901 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
5902 multiarch strncmp for PPC32.
5903 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
5904 multiarch objects.
5905 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5906 (__libc_ifunc_impl_list): Likewise.
5907
ae9cf7a2
AZ
59082013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5909
5910 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
5911 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
5912 file.
5913 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
5914 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
5915 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
5916 multiarch objects.
5917 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5918 (__libc_ifunc_impl_list): Likewise.
5919
3148bb7d
AZ
59202013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5921
5922 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
5923 file.
5924 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
5925 file.
5926 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
5927 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
5928 multiarch objects.
5929 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5930 (__libc_ifunc_impl_list): Likewise.
5931
7af8b946
AZ
59322013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5933
5934 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
5935 file.
5936 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
5937 file.
5938 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
5939 multiarch rawmemchr for PPC32.
5940 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
5941 multiarch objects.
5942 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5943 (__libc_ifunc_impl_list): Likewise.
5944
03a6aa6a
AZ
59452013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5946
5947 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
5948 file.
5949 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
5950 file.
5951 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
5952 file: memrchr multiarch for PPC32.
5953 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
5954 multiarch objects.
5955 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5956 (__libc_ifunc_impl_list): Likewise.
5957
1c62e6d9
AZ
59582013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5959
5960 * string/memchr.c (__memchr): Using macro to redefine symbol name.
5961 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
5962 file.
5963 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
5964 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
5965 multiarch memchr for PPC32.
5966 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
5967 multiarch objects.
5968 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
5969 (__libc_ifunc_impl_list): Likewise.
5970
87da8bdb
AZ
59712013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5972
5973 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
5974 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
5975 file.
5976 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
5977 file.
5978 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
5979 file: multiarch mempcpy for PPC32.
5980 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
5981 multiarch objects.
5982 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
5983 (__libc_ifunc_impl_list): Likewise.
5984
20ed4714
AZ
59852013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5986
5987 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
5988 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
5989 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
5990 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
5991 multiarch bzero for PPC32.
5992 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
5993 file.
5994 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
5995 file.
5996 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
5997 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
5998 file: multiarch memset for PPC32.
5999 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
6000 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
6001 memset multiarch objects.
6002 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6003 (__libc_ifunc_impl_list): Likewise.
6004
ab3e3a46
AZ
60052013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6006
6007 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
6008 file.
6009 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
6010 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
6011 memcmp for PPC32.
6012 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
6013 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
6014 multiarch objects.
6015 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6016 (__libc_ifunc_impl_list): Likewise.
6017
930de6f0
AZ
60182013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6019
6020 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
6021 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
6022 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
6023 file.
6024 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
6025 file.
6026 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
6027 file.
6028 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
6029 multiarch memcpy for PPC32.
6030 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
6031 multiarch objects.
6032 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6033 (__libc_ifunc_impl_list): Likewise.
6034
4c628e00
AZ
60352013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6036
6037 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
6038 support multiarch for POWER/PPC32.
6039 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
6040 Likewise.
6041 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
6042 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
6043 Implies file to make multiarch folder appers before the fpu and
6044 default folder for power4 configuration.
6045
f4479220
SP
60462013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
6047
6048 * scripts/bench.pl: Append volatile keyword to type.
6049
8517800f
KK
60502013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6051
6052 * sysdeps/sh/sotruss-lib.c: New file.
6053 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
6054
180138f1
AZ
60552013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6056
6057 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6058
bbf37bdc
JM
60592013-12-05 Joseph Myers <joseph@codesourcery.com>
6060
e47cc4e0
JM
6061 [BZ #6810]
6062 * math/w_tgamma.c: Include <errno.h>.
6063 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
6064 * math/w_tgammaf.c: Include <errno.h>.
6065 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
6066 * math/w_tgammal.c: Include <errno.h>.
6067 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
6068 * math/auto-libm-test-in: Do not allow missing errno on tgamma
6069 underflow. Add more tgamma tests.
6070 * math/auto-libm-test-out: Regenerated.
6071 * sysdeps/i386/fpu/libm-test-ulps: Update.
6072 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6073
bbf37bdc
JM
6074 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
6075 sin, sinh, tan, tanh, tgamma, y0 and y1.
6076 * math/auto-libm-test-out: Regenerated.
6077 * math/libm-test.inc (TEST_COND_x86_64): New macro.
6078 (TEST_COND_x86): Likewise.
6079 (M_E2l): Remove macro.
6080 (M_E3l): Likewise.
6081 (M_2_SQRT_PIl): Likewise.
6082 (M_SQRT_PIl): Likewise.
6083 (M_1_DIV_El): Likewise.
6084 (log_test_data): Use AUTO_TESTS_f_f.
6085 (log10_test_data): Likewise.
6086 (log1p_test_data): Likewise.
6087 (log2_test_data): Likewise.
6088 (sin_test_data): Likewise.
6089 (sin_tonearest_test_data): Likewise.
6090 (sin_towardzero_test_data): Likewise.
6091 (sin_downward_test_data): Likewise.
6092 (sin_upward_test_data): Likewise.
6093 (sinh_test_data): Likewise.
6094 (sinh_tonearest_test_data): Likewise.
6095 (sinh_towardzero_test_data): Likewise.
6096 (sinh_downward_test_data): Likewise.
6097 (sinh_upward_test_data): Likewise.
6098 (tan_test_data): Likewise.
6099 (tan_tonearest_test_data): Likewise.
6100 (tan_towardzero_test_data): Likewise.
6101 (tan_downward_test_data): Likewise.
6102 (tan_upward_test_data): Likewise.
6103 (tanh_test_data): Likewise.
6104 (tgamma_test_data): Likewise.
6105 (y0_test_data): Likewise.
6106 (y1_test_data): Likewise.
6107 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
6108 (special_real_inputs): Add pi/4.
6109 * sysdeps/i386/fpu/libm-test-ulps: Update.
6110 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6111
eb5ad6b9
AZ
61122013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6113
6114 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
6115 "longjmp_target" static probes.
6116 (__longjmp): Rename to __longjmp_symbol.
6117 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
6118 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
6119 on which longjmp to generate.
6120 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
6121 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
6122 probe.
6123 (__sigsetjmp): Rename to __sigsetjmp_symbol.
6124 (__sigjmp_save): Rename to __sigjmp_save_symbol.
6125 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
6126 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
6127 and __sigjmp_save_symbol based on which sigsetjmp to generated.
6128 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
6129 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
6130 __longjmp_symbol based on which __longjmp to generate.
6131 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
6132 probe.
6133 (setjmp): Rename to setjmp_symbol.
6134 (__sigsetjmp): Rename to __sigsetjmp_symbol.
6135 (_setjmp): Rename to _setjmp_symbol.
6136 (__sigsetjmp): Rename to __sigsetjmp_symbol.
6137 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
6138 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
6139 which setjmp to generate.
6140 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
6141 "longjmp_target" static probes.
6142
d136c6dc
SP
61432013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
6144
9298ecba
SP
6145 * benchtests/README: Add note about output arguments.
6146 * benchtests/bench-sincos.c: Remove file.
6147 * benchtests/sincos-inputs: New file.
6148 * scripts/bench.pl: Identify output arguments and define
6149 static variables for them.
6150
232983e9
SP
6151 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
6152
d136c6dc
SP
6153 [BZ #15941]
6154 * Makefile (INSTALL): Add install-plain.texi as the primary
6155 dependency.
6156 * manual/install-plain.texi: New file.
6157 * manual/install.texi: Include node directive only for
6158 non-plaintext output.
6159
699ff837
JM
61602013-12-04 Joseph Myers <joseph@codesourcery.com>
6161
ab07cea8
JM
6162 * stdlib/longlong.h: Update from GCC.
6163
699ff837
JM
6164 [BZ #6807]
6165 [BZ #15901]
6166 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
6167 * math/w_j0f.c (y0f): Likewise.
6168 * math/w_j0l.c (__y0l): Likewise.
6169 * math/w_j1.c (y1): Likewise.
6170 * math/w_j1f.c (y1f): Likewise.
6171 * math/w_j1l.c (__y1l): Likewise
6172 * math/w_jn.c (yn): Likewise.
6173 * math/w_jnf.c (ynf): Likewise.
6174 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
6175 Bessel function pole errors in _POSIX_ mode. Use NAN as return
6176 value for Bessel function domain errors outside _SVID_ mode.
6177 Adjust sign of return value for yn (negative integer, 0).
6178 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
6179 by zero in return for negative x and set sign appropriately for
6180 negative n.
6181 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
6182 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
6183 * math/libm-test.inc (y0_test_data): Add more tests and adjust
6184 expectations in error cases.
6185 (y1_test_data): Likewise.
6186 (yn_test_data): Likewise.
6187 * sysdeps/i386/fpu/libm-test-ulps: Update.
6188 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6189
5b118558
UW
61902013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6191
6192 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
6193 "64" to "64-v1". Add "64-v2".
6194 (abi-64-options): Rename to ...
6195 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
6196 (abi-64-condition): Rename to ...
6197 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
6198 (abi-64-ld-soname): Rename to ...
6199 (abi-64-v1-ld-soname): ... this.
6200 (abi-64-v2-options): Define.
6201 (abi-64-v2-condition): Likewise.
6202 (abi-64-v2-ld-soname): Likewise.
6203 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
6204 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
6205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
6206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
6207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
6208
61cd8fe4
UW
62092013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6210 Alan Modra <amodra@gmail.com>
6211
6212 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
6213 New versions for use with the ELFv2 ABI.
6214 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
6215 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
6216 declaration.
6217 (struct La_ppc64v2_retval): Likewise.
6218 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
6219 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
6220 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
6221 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
6222 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
6223 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
6224 Do not save or restore CR.
6225 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
6226 (_dl_profile_resolve): Do no save or restore CR. Support extended
6227 return values for ELFv2 ABI. Fix location of FPR return registers.
6228 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
6229 updated values for _CALL_ELF == 2.
6230 (La_regs, La_retval, int_retval): Likewise.
6231
8b8a692c
UW
62322013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6233
6234 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
6235 (FRAME_MIN_SIZE_PARM): Likewise.
6236 (FRAME_BACKCHAIN): Likewise.
6237 (FRAME_CR_SAVE): Likewise.
6238 (FRAME_LR_SAVE): Likewise.
6239 (FRAME_TOC_SAVE): Likewise.
6240 (FRAME_PARM_SAVE): Likewise.
6241 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
6242 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
6243 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
6244 (call_mcount_parm_offset): New macro.
6245 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
6246 (PROF): Use symbolic stack frame offsets.
6247 (TAIL_CALL_SYSCALL_ERROR): Likewise.
6248 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
6249 Redefine in terms of FRAME_MIN_SIZE.
6250 (_dl_runtime_resolve): Use symbolic stack frame offsets.
6251 (_dl_profile_resolve): Likewise. Update comment.
6252 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
6253 symbols stack frame offsets.
6254 (__sigsetjmp): Likewise.
6255 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
6256 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
6257 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
6258 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
6259
6260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
6261 (FRAME_BACKCHAIN): Remove.
6262 (FRAME_CR_SAVE): Likewise.
6263 (FRAME_LR_SAVE): Likewise.
6264 (FRAME_COMPILER_DW): Likewise.
6265 (FRAME_LINKER_DW): Likewise.
6266 (FRAME_TOC_SAVE): Likewise.
6267 (FRAME_PARM_SAVE): Likewise.
6268 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
6269 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
6270 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
6271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
6272 (CHECK_SP): Use symbolic stack frame offsets.
6273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
6274 zone" instead of caller's parameter save area for temp storage.
6275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
6276 Likewise. Also, use symbolic stack frame offsets.
6277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
6278 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
6279 our own stack frame instead of the caller's.
6280 (__socket): Use symbolic stack frame offsets.
6281
122b66de
UW
62822013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6283 Alan Modra <amodra@gmail.com>
6284
6285 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
6286 Define.
6287 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
6288 PPC64_LOCAL_ENTRY_OFFSET): Define.
6289 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
6290 New function.
6291 (elf_machine_fixup_plt): Call it.
6292 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
6293 reloc arguments.
6294 (elf_machine_rela): Update call to elf_machine_plt_conflict.
54285cf9
SP
6295 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
6296 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
6297 r2 before calling target.
6298
696caf1d
UW
62992013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6300 Alan Modra <amodra@gmail.com>
6301
6302 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
6303 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
6304 versions of macros to support ELFv2 ABI.
6305 (LOCALENTRY): New macro.
6306 (ENTRY, EALIGN): Use it.
6307 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
6308 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
6309 fall through into ENTRY entry point.
6310 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
6311 Only define if _CALL_ELF != 2.
6312
6313 (elf_machine_matches_host): Verify ABI version matches.
6314 (RTLD_START): Use LOCALENTRY.
6315 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
6316 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
6317 (PLT_ENTRY_WORDS): New macro.
6318 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
6319 (elf_machine_runtime_setup): Support ELFv2 ABI.
6320 (elf_machine_fixup_plt): Likewise.
6321 (elf_machine_plt_conflict): Likewise.
6322 (resolve_ifunc): Likewise.
6323 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
6324 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
6325 Likewise.
6326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
6327 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
6328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
6329 (makecontext): Support ELFv2 ABI.
6330 * elf/elf.h (EF_PPC64_ABI): Define.
6331
d31beafa
UW
63322013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6333
6334 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
6335 New assembler macro.
6336 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
6337 [ASSEMBLER] (ENTRY): ... but instead here ...
6338 [ASSEMBLER] (EALIGN): ... and here.
6339 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
6340 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
6341 [!ASSEMBLER] (ENTRY_2): Use it.
6342 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
6343 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
6344 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
6345 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
6346 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
6347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
6348 Use PPC64_LOAD_FUNCPTR.
6349
b525166b
UW
63502013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6351
6352 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
6353
7ec07d9a
AM
63542013-12-04 Alan Modra <amodra@gmail.com>
6355
6356 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
6357 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
6358 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
6359 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
6360
6361 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
6362 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
6363 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
6364 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
6365 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
6366 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
6367
5162e7dd
UW
63682013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6369
6370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
6371 (__makecontext): Fix incorrect CFI when backtracing out of
6372 context created via makecontext.
6373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
6374 (__setcontext): Fix incorrect CFI during switch to new context.
6375 (__novec_setcontext): Likewise.
6376
19e3372b
OB
63772013-12-04 Ondřej Bílka <neleai@seznam.cz>
6378
6379 [BZ #4772]
6380 * time/strptime_l.c (__strptime_internal): Allow modifiers
6381 in strptime.
6382 * time/tst-strptime.c (day_tests): Add testcase.
6383
6384
ecaf142d
SP
63852013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6386
6387 * scripts/bench.pl: Skip over blank lines.
6388
fbf964ae
PE
63892013-12-04 Paul Eggert <eggert@cs.ucla.edu>
6390
6391 [BZ #926]
6392 * manual/time.texi (Calendar Time): Clarify what timezone functions
6393 use.
6394
fa60a674
AZ
63952013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6396
6397 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6398
d674f0ef
OB
63992013-12-04 Ondřej Bílka <neleai@seznam.cz>
6400
6401 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
6402 implementation.
6403 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
6404 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
6405 * debug/memset_chk.c (__memset_chk): Likewise.
6406 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
6407 * debug/strncpy_chk.c: Likewise.
6408
17dea188
JM
64092013-12-03 Joseph Myers <joseph@codesourcery.com>
6410
749008ff
JM
6411 [BZ #15268]
6412 [BZ #15425]
6413 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
6414 (__ieee754_exp): For possibly underflowing results, check size of
6415 result and force underflow exception if required.
6416 * math/auto-libm-test-in: Add more tests of exp.
6417 * math/auto-libm-test-out: Regenerated.
6418 * sysdeps/i386/fpu/libm-test-ulps: Update.
6419 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6420
17dea188
JM
6421 [BZ #16283]
6422 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
6423 * math/w_exp2f.c (__exp2f): Likewise.
6424 * math/w_exp2l.c (__exp2l): Likewise.
6425 * math/auto-libm-test-in: Do not allow missing errno on exp2
6426 underflow.
6427 * math/auto-libm-test-out: Regenerated.
6428
b20de2c3
OB
64292013-12-03 Ondřej Bílka <neleai@seznam.cz>
6430
6431 [BZ #16274]
6432 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
6433 handle filename validation.
6434 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
6435 (do_open): Delete.
6436
d8e2dbe3
JM
64372013-12-03 Joseph Myers <joseph@codesourcery.com>
6438
34e16df5
JM
6439 [BZ #6786]
6440 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
6441 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
6442 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
6443 <float.h>.
6444 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
6445 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
6446 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
6447 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
6448 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
6449 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
6450 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
6451 * math/auto-libm-test-in: Don't allow missing errno from erfc.
6452 Add more erfc tests.
6453 * math/auto-libm-test-out: Regenerated.
6454 * sysdeps/i386/fpu/libm-test-ulps: Update.
6455 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6456
d8e2dbe3
JM
6457 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
6458 exp2, expm1, j0 and j1.
6459 * math/auto-libm-test-out: Regenerated.
6460 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
6461 (erfc_test_data): Likewise.
6462 (exp_test_data): Likewise.
6463 (exp_tonearest_test_data): Likewise.
6464 (exp_towardzero_test_data): Likewise.
6465 (exp_downward_test_data): Likewise.
6466 (exp_upward_test_data): Likewise.
6467 (exp10_test_data): Likewise.
6468 (exp2_test_data): Likewise.
6469 (expm1_test_data): Likewise.
6470 (j0_test_data): Likewise.
6471 (j1_test_data): Likewise.
6472 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
6473 (input_flag_type): Add flag_xfail_rounding.
6474 (input_flags): Add xfail-rounding.
6475 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
6476 (output_for_one_input_case): Handle flag_xfail_rounding.
6477 * sysdeps/i386/fpu/libm-test-ulps: Update.
6478 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6479
18d14251
AJ
64802013-12-03 Aurelien Jarno <aurelien@aurel32.net>
6481
3d2e6075 6482 [BZ #16289]
18d14251
AJ
6483 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
6484 division by 0.
6485
520d437b
SP
64862013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
6487
6488 [BZ #16195]
6489 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
6490 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
6491 (STAP_PROBE0): New macro.
6492 (STAP_PROBE1): Likewise.
6493 (STAP_PROBE2): Likewise.
6494 (STAP_PROBE3): Likewise.
6495 (STAP_PROBE4): Likewise.
6496
416e0145
OB
64972013-12-02 Ondřej Bílka <neleai@seznam.cz>
6498
6499 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
6500
9d17796a
SE
65012013-12-02 Steve Ellcey <sellcey@mips.com>
6502
6503 * benchtests/Makefile (bench): Add sqrt.
6504 (LDLIBS-bench-sqrt): New.
6505 * benchtests/sqrt-input: New.
6506
f524d6a8
PS
65072013-12-02 Pavel Simerda <psimerda@redhat.com>
6508
639a0ef8
PS
6509 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
6510 (GAIH_EAI): Likewise.
6511 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
6512 (gaih_inet): Likewise.
6513 (getaddrinfo): Don't use GAIH_EAI.
6514
f524d6a8
PS
6515 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
6516 (struct gaih): Remove definition.
6517
df3aedaf
SP
65182013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6519
6520 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
6521 Use HERRNOP directly.
6522
1ab19dec
AZ
65232013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6524
b42ad38d 6525 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 6526
176b0c79
JM
65272013-11-30 Joseph Myers <joseph@codesourcery.com>
6528
6529 * math/gen-auto-libm-tests.c (test_functions): Add more
6530 single-argument functions.
6531 (special_fill_pi_2): New function.
6532 (special_fill_minus_pi_2): Likewise.
6533 (special_fill_pi_6): Likewise.
6534 (special_fill_minus_pi_6): Likewise.
6535 (special_fill_pi_3): Likewise.
6536 (special_fill_2pi_3): Likewise.
6537 (special_fill_e): Likewise.
6538 (special_fill_1_e): Likewise.
6539 (special_fill_e_minus_1): Likewise.
6540 (special_real_inputs): Add more special inputs.
6541 (output_for_one_input_case): Do not require ERANGE on underflow to
6542 zero if round-to-nearest result does not underflow to zero, unless
6543 exact results required.
6544 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
6545 atan, atanh, cbrt, cos and cosh.
6546 * math/auto-libm-test-out: Regenerated.
6547 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
6548 (acos_tonearest_test_data): Likewise.
6549 (acos_towardzero_test_data): Likewise.
6550 (acos_downward_test_data): Likewise.
6551 (acos_upward_test_data): Likewise.
6552 (acosh_test_data): Likewise.
6553 (asin_test_data): Likewise.
6554 (asin_tonearest_test_data): Likewise.
6555 (asin_towardzero_test_data): Likewise.
6556 (asin_upward_test_data): Likewise.
6557 (asinh_test_data): Likewise.
6558 (atan_test_data): Likewise.
6559 (atanh_test_data): Likewise.
6560 (cbrt_test_data): Likewise.
6561 (cos_test_data): Likewise.
6562 (cos_tonearest_test_data): Likewise.
6563 (cos_towardzero_test_data): Likewise.
6564 (cos_downward_test_data): Likewise.
6565 (cos_upward_test_data): Likewise.
6566 (cosh_test_data): Likewise.
6567 (cosh_tonearest_test_data): Likewise.
6568 (cosh_towardzero_test_data): Likewise.
6569 (cosh_downward_test_data): Likewise.
6570 (cosh_upward_test_data): Likewise.
6571 * sysdeps/i386/fpu/libm-test-ulps: Update.
6572 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6573
ffb536d0
JM
65742013-11-29 Joseph Myers <joseph@codesourcery.com>
6575
2a77a467
JM
6576 [BZ #6787]
6577 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
6578 * math/w_exp10f.c (__exp10f): Likewise.
6579 * math/w_exp10l.c (__exp10l): Likewise.
6580 * math/libm-test.inc (exp10_test_data): Add more tests and expect
6581 errno settings in existing tests.
6582
ea3bc4e8
JM
6583 [BZ #14032]
6584 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
6585 precision control set to double precision.
6586 * sysdeps/i386/fpu/w_sqrt.c: New file.
6587 * math/auto-libm-test-in: Add more tests.
6588 * math/auto-libm-test-out: Update.
6589
0712c9d8
JM
6590 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
6591 (sqrt_test_tonearest): New function.
6592 (sqrt_towardzero_test_data): New variable.
6593 (sqrt_test_towardzero): New function.
6594 (sqrt_downward_test_data): New variable.
6595 (sqrt_test_downward): New function.
6596 (sqrt_upward_test_data): New variable.
6597 (sqrt_test_upward): New function.
6598 (main): Call the new functions.
6599
ffb536d0
JM
6600 * math/gen-auto-libm-tests.c: New file.
6601 * math/auto-libm-test-in: Likewise.
6602 * math/auto-libm-test-out: New generated file.
6603 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
6604 variables.
6605 (%beautify): Add generated representations of zero.
6606 (top level): Set $auto_input and call parse_auto_input.
6607 (beautify): Remove trailing "f" from hex float constants.
6608 (parse_args): Handle XFAIL_TEST.
6609 (convert_condition): New function.
6610 (or_value): Likewise.
6611 (or_cond_value): Likewise.
6612 (generate_testfile): Handle AUTO_TESTS_* lines.
6613 (parse_auto_input): New function.
6614 * math/libm-test.inc (XFAIL_TEST): New macro.
6615 (ERRNO_UNCHANGED): Update value.
6616 (ERRNO_EDOM): Likewise.
6617 (ERRNO_ERANGE): Likewise.
6618 (IGNORE_RESULT): Likewise.
6619 (TEST_COND_flt_32): New macro.
6620 (TEST_COND_dbl_64): Likewise.
6621 (TEST_COND_ldbl_96_intel): Likewise.
6622 (TEST_COND_ldbl_96_m68k): Likewise.
6623 (TEST_COND_ldbl_128): Likewise.
6624 (TEST_COND_ldbl_128ibm): Likewise.
6625 (TEST_COND_long32): Likewise.
6626 (TEST_COND_long64): Likewise.
6627 (TEST_COND_before_rounding): Likewise.
6628 (TEST_COND_after_rounding): Likewise.
6629 (enable_test): Handle XFAIL_TEST flag.
6630 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
6631 with finite results.
6632 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
6633 auto-libm-test-out.
6634
acd98a8e
AK
66352013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
6636 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6637
6638 [BZ #16214]
6639 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
6640 __tls_get_addr_internal instead of __tls_get_offset in order to
6641 avoid GOT pointer dependency. Make rtld export
6642 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
6643 __tls_get_addr since we are a __tls_get_offset platform.
6644 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
6645 GOT pointer being set up before.
6646 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
6647
3c1c46a6
JM
66482013-11-28 Joseph Myers <joseph@codesourcery.com>
6649
7475aef5
JM
6650 * manual/math.texi (Errors in Math Functions): Document accuracy
6651 goals.
6652
8bca7cd8
JM
6653 [BZ #15004]
6654 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
6655 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
6656 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
6657 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
6658 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
6659 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
6660 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
6661 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
6662 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
6663 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
6664 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
6665 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
6666 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
6667 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
6668 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
6669 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
6670
91a1f3fe
JM
6671 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
6672 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
6673 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
6674 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
6675 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
6676 Likewise.
6677 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
6678 Likewise.
6679 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
6680 Likewise.
6681 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
6682 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
6683 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
6684 atomic-feupdateenv and flt-rounds.
6685 * sysdeps/powerpc/nofpu/Versions (libc): Add
6686 __atomic_feholdexcept, __atomic_feclearexcept,
6687 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
6688 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
6689 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
6690 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
6691 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
6692 here.
6693 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
6694 Update.
6695
c5df7609
JM
6696 * manual/arith.texi (FP Exceptions): Document that exceptions may
6697 not be raised when matherr is used.
6698 (Math Error Reporting): Document overflow in directed rounding
6699 modes. Document that errno may not be set when finite values are
6700 returned on overflow. Document intent to set errno on underflow
6701 only for underflow to zero.
6702
3c1c46a6
JM
6703 [BZ #16271]
6704 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
6705 round-to-nearest then adjust result for other rounding modes.
6706 * include/fenv.h (fegetround): Use libm_hidden_proto.
6707 * math/fegetround.c (fegetround): Use libm_hidden_def.
6708 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
6709 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
6710 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
6711 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
6712 Likewise.
6713 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
6714 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
6715 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
6716 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
6717
5a4c6d53
SP
67182013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6719
6720 [BZ #16077]
6721 * nss/Versions (libnss_files): Add
6722 _nss_files_gethostbyname3_r.
6723 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
6724 New function.
6725 (HOST_DB_LOOKUP): Remove macro.
6726 (_nss_files_gethostbyname_r): Implement function without the
6727 HOST_DB_LOOKUP macro.
6728 (_nss_files_gethostbyname2_r): Likewise.
6729
897b98ba
OB
67302013-11-28 Ondřej Bílka <neleai@seznam.cz>
6731
6732 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
6733
6f476861
UB
67342013-11-26 Uros Bizjak <ubizjak@gmail.com>
6735
6736 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
6737 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
6738 warning.
6739
bd12ab55
AZ
67402013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6741
6742 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
6743 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
6744 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
6745 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
6746 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
6747 __fe_nomask_env_priv and attribute_hidden.
6748 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
6749 (libc_feupdateenv_test_ppc): Likewise.
6750 (libc_feresetround_ppc): Likewise.
6751 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
6752 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
6753 compat_symbol macro.
6754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
6755 (__fe_nomask_env): Likewise.
6756 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
6757
52bb6543
OB
67582013-11-26 Ondřej Bílka <neleai@seznam.cz>
6759
6760 * string/Makefile: Remove ifunc tests.
6761 * string/test-string.h: Define TEST_IFUNC.
6762 * string/test-bcopy-ifunc.c: Remove.
6763 * string/test-bzero-ifunc.c: Likewise.
6764 * string/test-memccpy-ifunc.c: Likewise.
6765 * string/test-memchr-ifunc.c: Likewise.
6766 * string/test-memcmp-ifunc.c: Likewise.
6767 * string/test-memcpy-ifunc.c: Likewise.
6768 * string/test-memmem-ifunc.c: Likewise.
6769 * string/test-memmove-ifunc.c: Likewise.
6770 * string/test-mempcpy-ifunc.c: Likewise.
6771 * string/test-memrchr-ifunc.c: Likewise.
6772 * string/test-memset-ifunc.c: Likewise.
6773 * string/test-rawmemchr-ifunc.c: Likewise.
6774 * string/test-stpcpy-ifunc.c: Likewise.
6775 * string/test-stpncpy-ifunc.c: Likewise.
6776 * string/test-strcasecmp-ifunc.c: Likewise.
6777 * string/test-strcasestr-ifunc.c: Likewise.
6778 * string/test-strcat-ifunc.c: Likewise.
6779 * string/test-strchr-ifunc.c: Likewise.
6780 * string/test-strchrnul-ifunc.c: Likewise.
6781 * string/test-strcmp-ifunc.c: Likewise.
6782 * string/test-strcpy-ifunc.c: Likewise.
6783 * string/test-strcspn-ifunc.c: Likewise.
6784 * string/test-strlen-ifunc.c: Likewise.
6785 * string/test-strncasecmp-ifunc.c: Likewise.
6786 * string/test-strncat-ifunc.c: Likewise.
6787 * string/test-strncmp-ifunc.c: Likewise.
6788 * string/test-strncpy-ifunc.c: Likewise.
6789 * string/test-strnlen-ifunc.c: Likewise.
6790 * string/test-strpbrk-ifunc.c: Likewise.
6791 * string/test-strrchr-ifunc.c: Likewise.
6792 * string/test-strspn-ifunc.c: Likewise.
6793 * string/test-strstr-ifunc.c: Likewise.
6794
ab260039 67952013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
6796
6797 * benchtests/Makefile: Remove ifunc tests.
6798 * benchtests/bench-string.h: Define TEST_IFUNC.
6799 * benchtests/bench-bcopy-ifunc.c: Remove.
6800 * benchtests/bench-bzero-ifunc.c: Likewise.
6801 * benchtests/bench-memccpy-ifunc.c: Likewise.
6802 * benchtests/bench-memchr-ifunc.c: Likewise.
6803 * benchtests/bench-memcmp-ifunc.c: Likewise.
6804 * benchtests/bench-memcpy-ifunc.c: Likewise.
6805 * benchtests/bench-memmem-ifunc.c: Likewise.
6806 * benchtests/bench-memmove-ifunc.c: Likewise.
6807 * benchtests/bench-mempcpy-ifunc.c: Likewise.
6808 * benchtests/bench-memrchr-ifunc.c: Likewise.
6809 * benchtests/bench-memset-ifunc.c: Likewise.
6810 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
6811 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
6812 * benchtests/bench-stpcpy-ifunc.c: Likewise.
6813 * benchtests/bench-stpncpy-ifunc.c: Likewise.
6814 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
6815 * benchtests/bench-strcasestr-ifunc.c: Likewise.
6816 * benchtests/bench-strcat-ifunc.c: Likewise.
6817 * benchtests/bench-strchr-ifunc.c: Likewise.
6818 * benchtests/bench-strchrnul-ifunc.c: Likewise.
6819 * benchtests/bench-strcmp-ifunc.c: Likewise.
6820 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
6821 * benchtests/bench-strcpy-ifunc.c: Likewise.
6822 * benchtests/bench-strcspn-ifunc.c: Likewise.
6823 * benchtests/bench-strlen-ifunc.c: Likewise.
6824 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
6825 * benchtests/bench-strncat-ifunc.c: Likewise.
6826 * benchtests/bench-strncmp-ifunc.c: Likewise.
6827 * benchtests/bench-strncpy-ifunc.c: Likewise.
6828 * benchtests/bench-strnlen-ifunc.c: Likewise.
6829 * benchtests/bench-strpbrk-ifunc.c: Likewise.
6830 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 6831 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
6832 * benchtests/bench-strspn-ifunc.c: Likewise.
6833 * benchtests/bench-strstr-ifunc.c: Likewise.
6834
68352013-11-26 Ondřej Bílka <neleai@seznam.cz>
6836
ab260039
OB
6837 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
6838
d1d9eaf4 68392013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 6840
d1d9eaf4
OB
6841 * resolv/netdb.h: Use __glibc_reserved instead __unused.
6842 * rt/aio.h: Likewise.
6843 * sysdeps/gnu/bits/utmp.h: Likewise.
6844 * sysdeps/gnu/bits/utmpx.h: Likewise.
6845 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
6846 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
6847 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
6848 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
6849 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
6850 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
6851 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
6852 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
6853 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
6854 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
6855 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
6856 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
6857 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
6858 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
6859 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
6860 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
6861 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
6862 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
6863 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
6864 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
6865 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
6866 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
6867 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
6868 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
6869 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
6870 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
6871 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
6872 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
6873 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
6874 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
6875 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
6876 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
6877 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
6878 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
6879 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
6880 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
6881 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
6882 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
6883 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
6884 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
6885 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
6886 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
6887
a7624ed9
CD
68882013-11-25 Carlos O'Donell <carlos@redhat.com>
6889
6890 [BZ #16245]
6891 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
6892 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
6893
63cfe52b
JM
68942013-11-25 Joseph Myers <joseph@codesourcery.com>
6895
6896 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
6897 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
6898 Likewise.
6899
41e8926a
AZ
69002013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6901
6902 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
6903 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
6904 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
6905 (__fesetround): Remove define.
6906 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
6907 rounding and exceptions handling.
6908 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
6909 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
6910 (__fe_nomask_env): Likewise.
6911 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
6912 __fegetround instead of fegetround.
6913 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
6914 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
6915
6851bd4d
RM
69162013-11-21 Roland McGrath <roland@hack.frob.com>
6917
070906ff
RM
6918 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
6919 it's there.
6920
6851bd4d
RM
6921 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
6922
84ae135d
MI
69232013-11-21 Meador Inge <meadori@codesourcery.com>
6924
6925 [BZ #11157]
6926 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
6927 (encrypt_r): Likewise.
6928 * malloc/obstack.h (obstack_free): Likewise.
6929 * posix/unistd.h (encrypt): Likewise.
6930
daf75146
GM
69312013-11-21 Guy Martin <gmsoft@tuxicoman.be>
6932
6933 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
6934 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
6935 DL_CALL_DT_FINI() that call the functions directly.
6936 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
6937 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
6938 * elf/dl-fini.c: Likewise.
6939
10ad46bc
OB
69402013-11-20 Ondřej Bílka <neleai@seznam.cz>
6941
6942 * malloc/hooks.c (memalign_check): Add alignment rounding.
6943 * malloc/malloc.c (_mid_memalign): New function.
6944 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
6945 Implement by calling _mid_memalign.
6946 * manual/probes.texi (Memory Allocation Probes): Remove
6947 memory_valloc_retry and memory_pvalloc_retry.
6948
f3fd2628
SP
69492013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
6950
4712799f
SP
6951 * locale/programs/locarchive.c (open_archive): Add const
6952 qualifier to ARCHIVEFNAME and copy default fname to
6953 DEFAULT_FNAME.
6954
0417b20f
SP
6955 [BZ #15601]
6956 * libio/tst-widetext.input: Rename Oriya to Odia.
6957 * locale/iso-639.def: Likewise.
6958
f3fd2628
SP
6959 * manual/probes.texi (Mathematical Function Probes): Add
6960 documentation for sin, cos, asin and acos probes.
6961 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
6962 (__sin32): Add slowasin probe.
6963 (__cos32): Add slowacos probe.
6964 (__mpsin): Add slowsin probe.
6965 (__mpcos): Add slowcos probe.
6966
73c1ce4f
JM
69672013-11-19 Joseph Myers <joseph@codesourcery.com>
6968
6969 [BZ #15483]
6970 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
6971 thread-local __sim_exceptions_thread and global
6972 __sim_exceptions_global.
6973 (__sim_disabled_exceptions): Change to thread-local
6974 __sim_disabled_exceptions_thread and global
6975 __sim_disabled_exceptions_global.
6976 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
6977 and global __sim_round_mode_global.
6978 (__simulate_exceptions): Use thread-local floating-point state and
6979 set global state from it as needed.
6980 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
6981 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
6982 __sim_round_mode_thread.
6983 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
6984 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
6985 and global __sim_exceptions_global.
6986 (__sim_disabled_exceptions): Change to thread-local
6987 __sim_disabled_exceptions_thread and global
6988 __sim_disabled_exceptions_global.
6989 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
6990 and global __sim_round_mode_global.
6991 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
6992 (SIM_SET_GLOBAL): Likewise.
6993 * sysdeps/powerpc/soft-fp/sfp-machine.h
6994 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
6995 __sim_round_mode_thread.
6996 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
6997 __sim_disabled_exceptions_thread.
6998 (__sim_exceptions): Change to __sim_exceptions_thread.
6999 (__sim_disabled_exceptions): Change to
7000 __sim_disabled_exceptions_thread.
7001 (__sim_round_mode): Change to __sim_round_mode_thread.
7002 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
7003 thread-local floating-point state and set global state from it as
7004 needed.
7005 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
7006 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
7007 (__sim_disabled_exceptions): Remove extern declaration.
7008 (feenableexcept): Use thread-local floating-point state and set
7009 global state from it as needed.
7010 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
7011 extern declaration.
7012 (__sim_disabled_exceptions): Likewise.
7013 (__sim_round_mode): Likewise.
7014 (__fegetenv): Use thread-local floating-point state.
7015 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
7016 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
7017 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
7018 floating-point state and set global state from it as needed.
7019 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
7020 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
7021 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
7022 Likewise.
7023 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
7024 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
7025 Likewise.
7026 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
7027 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
7028 Use __sim_round_mode_thread.
7029 * math/test-fenv-tls.c: New file.
7030 * math/Makefile (tests): Add test-fenv-tls.
7031 ($(objpfx)test-fenv-tls): Depend on
7032 $(common-objpfx)nptl/libpthread.so.
7033
b5449b12
AS
70342013-11-19 Andreas Schwab <schwab@suse.de>
7035
7036 * locale/programs/locale.c (show_info): Decode wordarray elements.
7037 * locale/categories.def (LC_MONETARY): Add element for
7038 _NL_MONETARY_CRNCYSTR.
7039 * locale/C-monetary.c (conversion_rate): New variable.
7040 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
7041 element.
7042
e186536b
CM
70432013-11-18 Chris Metcalf <cmetcalf@tilera.com>
7044
7045 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
7046 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
7047
5c349950
PP
70482013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
7049
7050 * elf/Makefile (tst-auxv): New test.
7051 * elf/tst-auxv.c: New
7052 * elf/rtld.c (dl_main): Adjust AT_EXECFN
7053
699df45b
JM
70542013-11-18 Joseph Myers <joseph@codesourcery.com>
7055
7056 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
7057 (hidden_proto): Caller changed.
7058 (hidden_tls_proto): New macro.
7059 (libc_hidden_tls_proto): Likewise.
7060 (rtld_hidden_tls_proto): Likewise.
7061 (libm_hidden_tls_proto): Likewise.
7062 (libresolv_hidden_tls_proto): Likewise.
7063 (librt_hidden_tls_proto): Likewise.
7064 (libdl_hidden_tls_proto): Likewise.
7065 (libnss_files_hidden_tls_proto): Likewise.
7066 (libnsl_hidden_tls_proto): Likewise.
7067 (libnss_nisplus_hidden_tls_proto): Likewise.
7068 (libutil_hidden_tls_proto): Likewise.
7069
b7589107
OB
70702013-11-18 Ondřej Bílka <neleai@seznam.cz>
7071
7072 [BZ #10253]
7073 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
7074 (decompose_rpath): Defer expansion to fillin_rpath.
7075 (_dl_init_paths): Pass linkmap to fillin_rpath.
7076
250c23bd
RS
70772013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7078
7079 * benchtests/Makefile: Add strsep.
7080 * benchtests/bench-strsep.c: New file: strsep benchtest.
7081 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
7082
a7931fcf
AS
70832013-11-18 Andreas Schwab <schwab@suse.de>
7084
7085 * locale/programs/locale.c (show_info) [case byte]: Check for
7086 '\377' instead of '\177'.
7087 * locale/C-monetary.c (not_available): Always use "\377".
7088 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
7089 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
7090 detect unavailable sign_posn locale elements.
7091 * locale/localeconv.c (__localeconv): For grouping and
7092 mon_grouping handle "\177" and "\377" like no grouping.
7093 (INT_ELEM): New macro. Use it to set all numeric members.
7094 * locale/programs/ld-monetary.c (monetary_read)
7095 <tok_mon_grouping>: Normalize single -1 to the empty string.
7096 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
7097 Likewise.
7098
728dab0e
OB
70992013-11-07 Ondřej Bílka <neleai@seznam.cz>
7100
7101 [BZ #16055]
7102 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
7103 when we match (nil).
7104 * stdio-common/tst-sscanf.c (struct test): Add testcase.
7105
66294491
JM
71062013-11-16 Joseph Myers <joseph@codesourcery.com>
7107
ce665817
JM
7108 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
7109 (NO_TEST_INLINE): Update value.
7110 (ERRNO_UNCHANGED): Likewise.
7111 (ERRNO_EDOM): Likewise.
7112 (ERRNO_ERANGE): Likewise.
7113 (IGNORE_RESULT): Likewise.
7114 (check_float_internal): Check signs of NaN results if
7115 TEST_NAN_SIGN used.
7116 (check_complex): Pass TEST_NAN_SIGN flag through to second
7117 check_float_internal call.
7118 (copysign_test_data): Add tests with quiet NaNs as second
7119 argument. Use TEST_NAN_SIGN.
7120 (fabs_test_data): Add test of negative quiet NaN argument. Use
7121 TEST_NAN_SIGN.
7122 (signbit_test_data): Add tests of quiet NaN argument.
7123 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
7124
ee1466a9
JM
7125 * math/gen-libm-test.pl (show_exceptions): Take extra argument
7126 $ignore_result.
7127 (parse_args): Handle function results specified as IGNORE.
7128 * math/libm-test.inc (IGNORE_RESULT): New macro.
7129 (check_float_internal): Do not check numerical result if flag
7130 IGNORE_RESULT set.
7131 (check_complex): Pass through IGNORE_RESULT to second
7132 check_float_internal call.
7133 (check_int): Do not check numerical result if flag IGNORE_RESULT
7134 set.
7135 (check_long): Likewise.
7136 (check_bool): Likewise.
7137 (check_longlong): Likewise.
7138 (lrint_test_data): Add tests of infinite and NaN arguments.
7139 (lrint_tonearest_test_data): Likewise.
7140 (lrint_towardzero_test_data): Likewise.
7141 (lrint_downward_test_data): Likewise.
7142 (lrint_upward_test_data): Likewise.
7143 (llrint_test_data): Likewise.
7144 (llrint_tonearest_test_data): Likewise.
7145 (llrint_towardzero_test_data): Likewise.
7146 (llrint_downward_test_data): Likewise.
7147 (llrint_upward_test_data): Likewise.
7148 (lround_test_data): Likewise.
7149 (llround_test_data): Likewise.
7150
14407b7e
JM
7151 * math/libm-test.inc (NO_TEST_INLINE): New macro.
7152 (ERRNO_UNCHANGED): Update value.
7153 (ERRNO_EDOM): Likewise.
7154 (ERRNO_ERANGE): Likewise.
7155 (NO_TEST_INLINE_FLOAT): New macro.
7156 (NO_TEST_INLINE_DOUBLE): Likewise.
7157 (enable_test): New function.
7158 (RUN_TEST_f_f): Check enable_test before running test.
7159 (RUN_TEST_2_f): Likewise.
7160 (RUN_TEST_fff_f): Likewise.
7161 (RUN_TEST_c_f): Likewise.
7162 (RUN_TEST_f_f1): Likewise.
7163 (RUN_TEST_fF_f1): Likewise.
7164 (RUN_TEST_fI_f1): Likewise.
7165 (RUN_TEST_ffI_f1): Likewise.
7166 (RUN_TEST_c_c): Likewise.
7167 (RUN_TEST_cc_c): Likewise.
7168 (RUN_TEST_f_i): Likewise.
7169 (RUN_TEST_f_i_tg): Likewise.
7170 (RUN_TEST_ff_i_tg): Likewise.
7171 (RUN_TEST_f_b): Likewise.
7172 (RUN_TEST_f_b_tg): Likewise.
7173 (RUN_TEST_f_l): Likewise.
7174 (RUN_TEST_f_L): Likewise.
7175 (RUN_TEST_fFF_11): Likewise.
7176 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
7177 conditionals.
7178 (cosh_test_data): Likewise.
7179 (exp_test_data): Likewise.
7180 (expm1_test_data): Likewise.
7181 (hypot_test_data): Likewise.
7182 (pow_test_data): Likewise.
7183 (sinh_test_data): Likewise.
7184 (tanh_test_data): Likewise.
7185 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
7186 flags argument.
7187
ca07f197
JM
7188 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
7189 tests with quiet NaN input and output.
7190 (acosh_test_data): Likewise.
7191 (asin_test_data): Likewise.
7192 (asinh_test_data): Likewise.
7193 (atan_test_data): Likewise.
7194 (atanh_test_data): Likewise.
7195 (atan2_test_data): Likewise.
7196 (cbrt_test_data): Likewise.
7197 (cos_test_data): Likewise.
7198 (cosh_test_data): Likewise.
7199 (erf_test_data): Likewise.
7200 (erfc_test_data): Likewise.
7201 (exp_test_data): Likewise.
7202 (exp10_test_data): Likewise.
7203 (exp2_test_data): Likewise.
7204 (expm1_test_data): Likewise.
7205 (hypot_test_data): Likewise.
7206 (j0_test_data): Likewise.
7207 (j1_test_data): Likewise.
7208 (jn_test_data): Likewise.
7209 (lgamma_test_data): Likewise.
7210 (log_test_data): Likewise.
7211 (log10_test_data): Likewise.
7212 (log1p_test_data): Likewise.
7213 (log2_test_data): Likewise.
7214 (pow_test_data): Likewise.
7215 (scalb_test_data): Likewise.
7216 (sin_test_data): Likewise.
7217 (sincos_test_data): Likewise.
7218 (sinh_test_data): Likewise.
7219 (tan_test_data): Likewise.
7220 (tanh_test_data): Likewise.
7221 (tgamma_test_data): Likewise.
7222 (y0_test_data): Likewise.
7223 (y1_test_data): Likewise.
7224 (yn_test_data): Likewise.
7225
66294491
JM
7226 [BZ #16167]
7227 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
7228 argument being NaN and avoid computations with second argument in
7229 that case.
7230 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
7231 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
7232 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
7233
1820b143
CL
72342013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
7235
7236 * locale/iso-639.def: Add Chitwani Tharu (the).
7237
714bd261
AS
72382013-11-14 Andreas Schwab <schwab@suse.de>
7239
7240 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
7241 word instead of empty string.
7242
7ab44563
AZ
72432013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7244
7245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
7246 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
7247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7248 (__fe_nomask_env): Likewise.
7249
e8470ea2
SE
72502013-11-13 Steve Ellcey <sellcey@mips.com>
7251
7252 * benchtests/bench-timing.h: Include time.h.
7253
17c1d9f0
L
72542013-11-13 H.J. Lu <hongjiu.lu@intel.com>
7255
7256 [BZ #15997]
7257 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
7258 to 3.4.0 for x32.
7259 * sysdeps/unix/sysv/linux/configure: Regenerated.
7260
9310c284
JM
72612013-11-13 Joseph Myers <joseph@codesourcery.com>
7262
7263 [BZ #16151]
7264 * stdlib/strtod_l.c (round_and_return): Do not consider
7265 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
7266 exponent one less than half the least subnormal exponent.
7267 * stdlib/test-strtod-round-data: Add more tests.
7268 * stdlib/tst-strtod-round.c (tests): Regenerated.
7269
7a2ad8cf
AZ
72702013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7271
7272 [BZ #14143]
7273 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
7274 (__fe_mask_env): Likewise.
7275 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
7276 libm_hidden_proto and add function prototype.
7277 (__fe_mask_env): Add function prototype.
7278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
7279 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
7280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
7281 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
7282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7283 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
7284
50727aa7
MS
72852013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7286
b2f386c1 7287 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
7288 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
7289
a615be46
MS
72902013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7291
7292 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
7293 of htab_find_slot().
7294
7ddace62
DM
72952013-11-11 David S. Miller <davem@davemloft.net>
7296
7297 [BZ #16150]
7298 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
7299 symbol in the non-vis3 case in static builds.
7300 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
7301 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
7302 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
7303 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
7304
9182aa67
JK
73052013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7306
7307 [BZ #387]
7308 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
7309 it is empty.
7310
450a2e2d
AZ
73112013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7312
b2f386c1
SP
7313 * benchtests/Makefile: Add bench-strtod.
7314 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 7315
8ec3f656
AS
73162013-11-11 Andreas Schwab <schwab@suse.de>
7317
7318 [BZ #16153]
7319 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
7320 terminating NUL in key length.
7321
76a9b998
AZ
73222013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7323
7324 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
7325 Add artificial ODP entry for vDSO symbol for PPC64.
7326 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
7327 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
7328
e4368156
OB
73292013-11-07 Ondřej Bílka <neleai@seznam.cz>
7330
7331 [BZ #15374]
7332 * nss/getent.c (services_keys): Recognize services starting with digit.
7333
8d6bb57c
DM
73342013-11-06 David S. Miller <davem@davemloft.net>
7335
7336 [BZ #15985]
7337 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
7338 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
7339
e256c421
WN
73402013-11-06 Will Newton <will.newton@linaro.org>
7341
7342 * manual/memory.texi (Malloc Examples): Remove register
7343 keyword from examples.
7344
f6e12daa 73452013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 7346
f6e12daa 7347 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 7348
9d880655
AS
73492013-11-04 Joseph Myers <joseph@codesourcery.com>
7350
fd2f9486 7351 [BZ #6981]
9d880655
AS
7352 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
7353 depending on [__GCC_IEC_559 > 0].
7354 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
7355 depending on [__GCC_IEC_559_COMPLEX > 0].
7356
ae129d3c
CL
73572013-11-03 Chris Leonard <cjl@sugarlabs.org>
7358
7359 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
7360 to iso-639.def.
7361
4a15c2a4 73622013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
7363
7364 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
7365
8b35e35d
OB
73662013-11-01 Ondřej Bílka <neleai@seznam.cz>
7367
7368 [BZ #16112]
7369 * malloc/malloc (malloc_info): Do not handle first bin as
7370 special case.
7371
1d70fd6c
CL
73722013-11-01 Chris Leonard <cjl@sugarlabs.org>
7373
7374 * locale/iso-639.def: Add Central Nahuatl (nhn).
7375
8c5c2600
BH
73762013-11-01 Bruno Haible <bruno@clisp.org>
7377
7378 [BZ #7003]
7379 * manual/math.texi (BSD Random): Specify range upper bound as
7380 in POSIX.
7381
da5579c2
CL
73822013-10-31 Chris Leonard <cjl@sugarlabs.org>
7383
7384 * locale/iso-639.def: Add Meadow Mari (mhr).
7385
5d30d853
OB
73862013-10-31 Ondřej Bílka <neleai@seznam.cz>
7387
7388 [BZ #14752], [BZ #15763]
7389 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
7390 Validate name.
7391 * rt/tst_shm.c: Add test for escaping directory.
7392
a4966c61
AS
73932013-10-31 Andreas Schwab <schwab@suse.de>
7394
8a43e768 7395 [BZ #15917]
a4966c61
AS
7396 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
7397 followed by 'x' as part of digit sequence.
7398 * stdio-common/tst-sscanf.c (double_tests2): New tests.
7399
28d708c4
MAP
74002013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
7401
7402 [BZ #16037]
7403 * configure.ac: allow GNU Make 4.0 and greater.
7404 * configure: Regenerated.
7405
a56ee40b
WN
74062013-10-30 Will Newton <will.newton@linaro.org>
7407
7408 [BZ #16038]
7409 * malloc/hooks.c (memalign_check): Limit alignment to the
7410 maximum representable power of two.
7411 * malloc/malloc.c (__libc_memalign): Likewise.
7412 * malloc/tst-memalign.c (do_test): Add test for very
7413 large alignment values.
7414 * malloc/tst-posix_memalign.c (do_test): Likewise.
7415
c6e4925d
OB
74162013-10-30 Ondřej Bílka <neleai@seznam.cz>
7417
7418 [BZ #11087]
7419 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
7420 (munmap_chunk): Likewise.
7421 (mremap_chunk): Likewise.
7422
74232013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 7424
8a43e768 7425 [BZ #15799]
bbea82f7
OB
7426 * stdlib/div.c (div): Remove obsolete code.
7427 * stdlib/ldiv.c (ldiv): Likewise.
7428 * stdlib/lldiv.c (lldiv): Likewise.
7429
977f4b31
SP
74302013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7431
7432 [BZ #16071]
7433 * nss/nss_files/files-XXX.c (get_contents_ret): New
7434 enumerator.
7435 (get_contents): New function.
7436 (internal_getent): Use it. Expand size of LINEBUFLEN.
7437
cb8a6dbd
MF
74382013-10-30 Mike Frysinger <vapier@gentoo.org>
7439
7440 * configure.in: Moved to ...
7441 * configure.ac: ... here. Change reference to configure.in
7442 to configure.ac.
7443 * sysdeps/arm/preconfigure.ac: ... here.
7444 configure.in to configure.ac.
7445 * sysdeps/gnu/configure.in: Moved to ...
7446 * sysdeps/gnu/configure.ac: ... here.
7447 * sysdeps/i386/configure.in: Moved to ...
7448 * sysdeps/i386/configure.ac: ... here.
7449 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
7450 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
7451 * sysdeps/mach/configure.in: Moved to ...
7452 * sysdeps/mach/configure.ac: ... here.
7453 * sysdeps/mach/hurd/configure.in: Moved to ...
7454 * sysdeps/mach/hurd/configure.ac: ... here.
7455 * sysdeps/powerpc/configure.in: Moved to ...
7456 * sysdeps/powerpc/configure.ac: ... here.
7457 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
7458 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
7459 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
7460 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
7461 * sysdeps/s390/s390-32/configure.in: Moved to ...
7462 * sysdeps/s390/s390-32/configure.ac: ... here.
7463 * sysdeps/s390/s390-64/configure.in: Moved to ...
7464 * sysdeps/s390/s390-64/configure.ac: ... here.
7465 * sysdeps/sh/configure.in: Moved to ...
7466 * sysdeps/sh/configure.ac: ... here.
7467 * sysdeps/sparc/configure.in: Moved to ...
7468 * sysdeps/sparc/configure.ac: ... here.
7469 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
7470 * sysdeps/unix/sysv/linux/configure.ac: ... here.
7471 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
7472 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
7473 * sysdeps/x86_64/configure.in: Moved to ...
7474 * sysdeps/x86_64/configure.ac: ... here.
7475 * sysdeps/x86_64/preconfigure.in: Moved to ...
7476 * sysdeps/x86_64/preconfigure.ac: ... here.
7477 * aclocal.m4: Change reference to configure.in to configure.ac.
7478 * config.h.in: Likewise.
7479 * manual/install.texi: Likewise.
7480 * manual/maint.texi: Likewise.
7481 * Makefile: Likewise.
7482 * malloc/Makefile: Likewise.
7483 * nscd/Makefile: Likewise.
7484 * Makeconfig: Change reference to configure.in and
7485 preconfigure.in to configure.ac and preconfigure.ac
7486 respectively.
7487 * INSTALL: Regenerated.
7488 * configure: Likewise.
7489 * sysdeps/gnu/configure: Likewise.
7490 * sysdeps/i386/configure: Likewise.
7491 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
7492 * sysdeps/mach/configure: Likewise.
7493 * sysdeps/mach/hurd/configure: Likewise.
7494 * sysdeps/powerpc/configure: Likewise.
7495 * sysdeps/powerpc/powerpc32/configure: Likewise.
7496 * sysdeps/powerpc/powerpc64/configure: Likewise.
7497 * sysdeps/s390/s390-32/configure: Likewise.
7498 * sysdeps/s390/s390-64/configure: Likewise.
7499 * sysdeps/sh/configure: Likewise.
7500 * sysdeps/sparc/configure: Likewise.
7501 * sysdeps/unix/sysv/linux/configure: Likewise.
7502 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
7503 * sysdeps/x86_64/configure: Likewise.
7504 * sysdeps/x86_64/preconfigure: Likewise.
7505
36a4953a
AS
75062013-10-29 Andreas Schwab <schwab@suse.de>
7507
7508 * stdio-common/Makefile (tst-swscanf-ENV): Define.
7509
c79a1204
SP
75102013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7511
dfa1b402
SP
7512 * benchtests/pow-inputs: Add new inputs.
7513
54f73d9c
SP
7514 * benchtests/exp-inputs: Add new inputs.
7515
c79a1204
SP
7516 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
7517 conditional check for return value.
7518 (__cos32): Likewise.
7519
67beb545 75202013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
7521
7522 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
7523 to provide a boost for large inputs with word alignment.
7524 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
7525 implementation based on optimized PPC64 strcpy.
7526 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
7527 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
7528 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
7529 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
7530
151659f6
OB
75312013-10-25 Ondřej Bílka <neleai@seznam.cz>
7532
482a077e 7533 [BZ #2801]
151659f6
OB
7534 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
7535
10b0f26b
OB
75362013-10-25 Ondřej Bílka <neleai@seznam.cz>
7537
7538 [BZ #14876]
7539 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
7540 * time/tst-strptime.c (day_tests): Add testcase.
7541
ca42d35e
OB
75422013-10-25 Ondřej Bílka <neleai@seznam.cz>
7543
482a077e 7544 [BZ #14029]
ca42d35e
OB
7545 * manual/pattern.texi: Acknowledge that fnmatch can fail.
7546
52e6d801
FB
75472013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
7548
7549 [BZ #16074]
7550 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
7551 MAP_FAILED on error.
7552
7cbcdb36
SP
75532013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
7554
7555 [BZ #16072]
7556 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
7557 heap for large requests.
7558
894f3f10
AM
75592013-10-25 Aurelien Jarno <aurelien@aurel32.net>
7560
7561 [BZ #9954]
7562 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
7563 result if the result has no associated interface.
7564 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
7565 interface for all 127.X.Y.Z addresses.
7566
b85545a6
CL
75672013-10-24 Chris Leonard <cjl@sugarlabs.org>
7568
7569 * locale/iso-639.def: Add Ligurian (lij)
7570
d1f23d46
OB
75712013-10-21 Ondřej Bílka <neleai@seznam.cz>
7572
7573 [BZ #15825]
7574 * sunrpc/rpc_main.c: Document rpcgen -5.
7575
4db5b08f
MS
75762013-10-19 Michael Stahl <mstahl@redhat.com>
7577
7578 * elf/rtld.c (do_preload): Print the reason why preloading failed.
7579
a471e96a
OB
75802013-10-19 Ondřej Bílka <neleai@seznam.cz>
7581
d1f23d46 7582 [BZ #10278]
a471e96a
OB
7583 * posix/glob.c: Match only directories when trailing slash is present.
7584 * posix/tst-gnuglob.c (my_opendir): Do not open files.
7585 (main): Add testcase.
7586
45c30c61
OB
75872013-10-19 Ondřej Bílka <neleai@seznam.cz>
7588
7589 [BZ #15670]
7590 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
7591
484c12fb
CD
75922013-10-18 Carlos O'Donell <carlos@redhat.com>
7593
3d7dc513
CD
7594 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
7595 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
7596 AUTH_DES and cindex for FIPS 140-2.
7597 (DES Encryption): Add cindex FIPS 46-3.
7598
484c12fb
CD
7599 * locale/locarchive.h (struct locarhandle): Add fname.
7600 * locale/programs/localedef.c (main): Pass ARGV[remaining]
7601 if an optional argument was specified to --list-archive,
7602 otherwise NULL.
7603 * locale/programs/locarchive.c (show_archive_content): Take new
7604 argument fname and pass it via ah.fname to open_archive.
7605 * locale/programs/localedef.h: Update decl.
7606 (open_archive): If AH->fname is non-null, open that file
7607 rather than the default file name, and don't ignore ENOENT.
7608 (create_archive): Set AH.fname to NULL.
7609 (delete_locales_from_archive): Likewise.
7610 (add_locales_to_archive): Likewise.
7611 * locale/programs/locfile.c (write_all_categories): Likewise.
7612
3c8325fb
JM
76132013-10-18 Joseph Myers <joseph@codesourcery.com>
7614 Aldy Hernandez <aldyh@redhat.com>
7615
7616 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
7617 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
7618 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
7619 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
7620 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
7621 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
7622 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
7623 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
7624 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
7625 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
7626 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
7627 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
7628 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
7629 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
7630 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
7631 Likewise.
7632 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
7633 Likewise.
7634 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
7635 Likewise.
7636 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
7637 Likewise.
7638 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
7639 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
7640 Likewise.
7641 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
7642 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
7643 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
7644 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
7645 Likewise.
7646 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
7647 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
7648 * sysdeps/powerpc/preconfigure: Likewise.
7649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
7650 Likewise.
7651 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
7652 Replace contents of file by #include of <fenv_libc.h>.
7653 * sysdeps/powerpc/soft-fp/sfp-machine.h
7654 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
7655 and <sys/prctl.h>.
7656 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
7657 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
7658 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
7659 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
7660 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
7661 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
7662 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
7663 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
7664 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
7665 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
7666 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
7667 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
7668 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
7669 Allow copysignl PLT reference to be missing.
7670
5abe0682
RS
76712013-10-18 Richard Sandiford <richard@codesourcery.com>
7672 Joseph Myers <joseph@codesourcery.com
7673
7674 [BZ #15948]
7675 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
7676 single character.
7677 (add_to_tablewc): Assert sequence of wide characters is nonempty.
7678
c7738d08
SP
76792013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7680
7681 * elf/tst-tls-dlinfo.c: Don't include tls.h.
7682 * elf/tst-tls1.c: Likewise.
7683 * elf/tst-tls10.h: Likewise.
7684 * elf/tst-tls14.c: Likewise.
7685 * elf/tst-tls2.c: Likewise.
7686 * elf/tst-tls3.c: Likewise.
7687 * elf/tst-tls4.c: Likewise.
7688 * elf/tst-tls5.c: Likewise.
7689 * elf/tst-tls6.c: Likewise.
7690 * elf/tst-tls7.c: Likewise.
7691 * elf/tst-tls8.c: Likewise.
7692 * elf/tst-tls9.c: Likewise.
7693 * elf/tst-tlsmod1.c: Likewise.
7694 * elf/tst-tlsmod13.c: Likewise.
7695 * elf/tst-tlsmod13a.c: Likewise.
7696 * elf/tst-tlsmod14a.c: Likewise.
7697 * elf/tst-tlsmod16a.c: Likewise.
7698 * elf/tst-tlsmod16b.c: Likewise.
7699 * elf/tst-tlsmod2.c: Likewise.
7700 * elf/tst-tlsmod3.c: Likewise.
7701 * elf/tst-tlsmod4.c: Likewise.
7702 * elf/tst-tlsmod5.c: Likewise.
7703 * elf/tst-tlsmod6.c: Likewise.
7704
0bfcf2c7
OB
77052013-10-18 Ondřej Bílka <neleai@seznam.cz>
7706
7707 [BZ #12486]
7708 * malloc/malloc.c: remove checks for statistics.
7709
264aad1e
OB
77102013-10-17 Ondřej Bílka <neleai@seznam.cz>
7711
7712 [BZ #15277]
7713 * inet/inet_net.c (inet_network): Detect additional invalid strings.
7714 * inet/tst-network.c: Add testcase.
7715
b957ced8
AS
77162013-10-17 Andreas Schwab <schwab@suse.de>
7717
7718 [BZ #15218]
7719 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
7720 to determine canonical name.
7721
c5d5d574
OB
77222013-10-17 Ondřej Bílka <neleai@seznam.cz>
7723
7724 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
7725 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
7726 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7727 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
7728 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7729 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
7730 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
7731 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
7732 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
7733 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
7734 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
7735 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
7736 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
7737 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
7738 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
7739 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
7740 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7741 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
7742 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
7743 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
7744 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7745 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7746 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7747 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
7748 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
7749 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
7750 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
7751 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
7752 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
7753 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
7754 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
7755 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7756 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
7757 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
7758 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
7759 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
7760 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
7761 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
7762 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
7763 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7764 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
7765 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
7766 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
7767 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
7768 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
7769 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
7770 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
7771 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
7772 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
7773 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
7774 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
7775 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
7776 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
7777 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
7778 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
7779 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
7780 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7781 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
7782
e5c2c2d0
JM
77832013-10-17 Joseph Myers <joseph@codesourcery.com>
7784
7785 [BZ #16041]
7786 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
7787 make result into a quiet NaN.
7788
51ca9e29
JM
77892013-10-16 Joseph Myers <joseph@codesourcery.com>
7790
7791 * soft-fp/adddf3.c: Fix horizontal whitespace.
7792 * soft-fp/addsf3.c: Likewise.
7793 * soft-fp/addtf3.c: Likewise.
7794 * soft-fp/divdf3.c: Likewise.
7795 * soft-fp/divsf3.c: Likewise.
7796 * soft-fp/divtf3.c: Likewise.
7797 * soft-fp/double.h: Likewise.
7798 * soft-fp/eqdf2.c: Likewise.
7799 * soft-fp/eqsf2.c: Likewise.
7800 * soft-fp/eqtf2.c: Likewise.
7801 * soft-fp/extenddftf2.c: Likewise.
7802 * soft-fp/extended.h: Likewise.
7803 * soft-fp/extendsfdf2.c: Likewise.
7804 * soft-fp/extendsftf2.c: Likewise.
7805 * soft-fp/extendxftf2.c: Likewise.
7806 * soft-fp/fixdfdi.c: Likewise.
7807 * soft-fp/fixdfsi.c: Likewise.
7808 * soft-fp/fixdfti.c: Likewise.
7809 * soft-fp/fixsfdi.c: Likewise.
7810 * soft-fp/fixsfsi.c: Likewise.
7811 * soft-fp/fixsfti.c: Likewise.
7812 * soft-fp/fixtfdi.c: Likewise.
7813 * soft-fp/fixtfsi.c: Likewise.
7814 * soft-fp/fixtfti.c: Likewise.
7815 * soft-fp/fixunsdfdi.c: Likewise.
7816 * soft-fp/fixunsdfsi.c: Likewise.
7817 * soft-fp/fixunsdfti.c: Likewise.
7818 * soft-fp/fixunssfdi.c: Likewise.
7819 * soft-fp/fixunssfsi.c: Likewise.
7820 * soft-fp/fixunssfti.c: Likewise.
7821 * soft-fp/fixunstfdi.c: Likewise.
7822 * soft-fp/fixunstfsi.c: Likewise.
7823 * soft-fp/fixunstfti.c: Likewise.
7824 * soft-fp/floatdidf.c: Likewise.
7825 * soft-fp/floatdisf.c: Likewise.
7826 * soft-fp/floatditf.c: Likewise.
7827 * soft-fp/floatsidf.c: Likewise.
7828 * soft-fp/floatsisf.c: Likewise.
7829 * soft-fp/floatsitf.c: Likewise.
7830 * soft-fp/floattidf.c: Likewise.
7831 * soft-fp/floattisf.c: Likewise.
7832 * soft-fp/floattitf.c: Likewise.
7833 * soft-fp/floatundidf.c: Likewise.
7834 * soft-fp/floatundisf.c: Likewise.
7835 * soft-fp/floatunditf.c: Likewise.
7836 * soft-fp/floatunsidf.c: Likewise.
7837 * soft-fp/floatunsisf.c: Likewise.
7838 * soft-fp/floatunsitf.c: Likewise.
7839 * soft-fp/floatuntidf.c: Likewise.
7840 * soft-fp/floatuntisf.c: Likewise.
7841 * soft-fp/floatuntitf.c: Likewise.
7842 * soft-fp/fmadf4.c: Likewise.
7843 * soft-fp/fmasf4.c: Likewise.
7844 * soft-fp/fmatf4.c: Likewise.
7845 * soft-fp/gedf2.c: Likewise.
7846 * soft-fp/gesf2.c: Likewise.
7847 * soft-fp/getf2.c: Likewise.
7848 * soft-fp/ledf2.c: Likewise.
7849 * soft-fp/lesf2.c: Likewise.
7850 * soft-fp/letf2.c: Likewise.
7851 * soft-fp/muldf3.c: Likewise.
7852 * soft-fp/mulsf3.c: Likewise.
7853 * soft-fp/multf3.c: Likewise.
7854 * soft-fp/negdf2.c: Likewise.
7855 * soft-fp/negsf2.c: Likewise.
7856 * soft-fp/negtf2.c: Likewise.
7857 * soft-fp/op-1.h: Likewise.
7858 * soft-fp/op-2.h: Likewise.
7859 * soft-fp/op-4.h: Likewise.
7860 * soft-fp/op-8.h: Likewise.
7861 * soft-fp/op-common.h: Likewise.
7862 * soft-fp/quad.h: Likewise.
7863 * soft-fp/single.h: Likewise.
7864 * soft-fp/soft-fp.h: Likewise.
7865 * soft-fp/sqrtdf2.c: Likewise.
7866 * soft-fp/sqrtsf2.c: Likewise.
7867 * soft-fp/sqrttf2.c: Likewise.
7868 * soft-fp/subdf3.c: Likewise.
7869 * soft-fp/subsf3.c: Likewise.
7870 * soft-fp/subtf3.c: Likewise.
7871 * soft-fp/truncdfsf2.c: Likewise.
7872 * soft-fp/trunctfdf2.c: Likewise.
7873 * soft-fp/trunctfsf2.c: Likewise.
7874 * soft-fp/trunctfxf2.c: Likewise.
7875 * soft-fp/unorddf2.c: Likewise.
7876 * soft-fp/unordsf2.c: Likewise.
7877 * soft-fp/unordtf2.c: Likewise.
7878
9ebb0332
JM
78792013-10-15 Joseph Myers <joseph@codesourcery.com>
7880
7881 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
7882 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
7883
4b1a6d8b
OB
78842013-10-15 Ondřej Bílka <neleai@seznam.cz>
7885
7886 * elf/dl-libc.c: Clear initfini list after freeing.
7887
1e145589
JM
78882013-10-14 Joseph Myers <joseph@codesourcery.com>
7889
7890 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
7891 * soft-fp/addsf3.c: Likewise.
7892 * soft-fp/addtf3.c: Likewise.
7893 * soft-fp/divdf3.c: Likewise.
7894 * soft-fp/divsf3.c: Likewise.
7895 * soft-fp/divtf3.c: Likewise.
7896 * soft-fp/double.h: Likewise.
7897 * soft-fp/eqdf2.c: Likewise.
7898 * soft-fp/eqsf2.c: Likewise.
7899 * soft-fp/eqtf2.c: Likewise.
7900 * soft-fp/extenddftf2.c: Likewise.
7901 * soft-fp/extended.h: Likewise.
7902 * soft-fp/extendsfdf2.c: Likewise.
7903 * soft-fp/extendsftf2.c: Likewise.
7904 * soft-fp/extendxftf2.c: Likewise.
7905 * soft-fp/fixdfdi.c: Likewise.
7906 * soft-fp/fixdfsi.c: Likewise.
7907 * soft-fp/fixdfti.c: Likewise.
7908 * soft-fp/fixsfdi.c: Likewise.
7909 * soft-fp/fixsfsi.c: Likewise.
7910 * soft-fp/fixsfti.c: Likewise.
7911 * soft-fp/fixtfdi.c: Likewise.
7912 * soft-fp/fixtfsi.c: Likewise.
7913 * soft-fp/fixtfti.c: Likewise.
7914 * soft-fp/fixunsdfdi.c: Likewise.
7915 * soft-fp/fixunsdfsi.c: Likewise.
7916 * soft-fp/fixunsdfti.c: Likewise.
7917 * soft-fp/fixunssfdi.c: Likewise.
7918 * soft-fp/fixunssfsi.c: Likewise.
7919 * soft-fp/fixunssfti.c: Likewise.
7920 * soft-fp/fixunstfdi.c: Likewise.
7921 * soft-fp/fixunstfsi.c: Likewise.
7922 * soft-fp/fixunstfti.c: Likewise.
7923 * soft-fp/floatdidf.c: Likewise.
7924 * soft-fp/floatdisf.c: Likewise.
7925 * soft-fp/floatditf.c: Likewise.
7926 * soft-fp/floatsidf.c: Likewise.
7927 * soft-fp/floatsisf.c: Likewise.
7928 * soft-fp/floatsitf.c: Likewise.
7929 * soft-fp/floattidf.c: Likewise.
7930 * soft-fp/floattisf.c: Likewise.
7931 * soft-fp/floattitf.c: Likewise.
7932 * soft-fp/floatundidf.c: Likewise.
7933 * soft-fp/floatundisf.c: Likewise.
7934 * soft-fp/floatunsidf.c: Likewise.
7935 * soft-fp/floatunsisf.c: Likewise.
7936 * soft-fp/floatuntidf.c: Likewise.
7937 * soft-fp/floatuntisf.c: Likewise.
7938 * soft-fp/floatuntitf.c: Likewise.
7939 * soft-fp/fmadf4.c: Likewise.
7940 * soft-fp/fmasf4.c: Likewise.
7941 * soft-fp/fmatf4.c: Likewise.
7942 * soft-fp/gedf2.c: Likewise.
7943 * soft-fp/gesf2.c: Likewise.
7944 * soft-fp/getf2.c: Likewise.
7945 * soft-fp/ledf2.c: Likewise.
7946 * soft-fp/lesf2.c: Likewise.
7947 * soft-fp/letf2.c: Likewise.
7948 * soft-fp/muldf3.c: Likewise.
7949 * soft-fp/mulsf3.c: Likewise.
7950 * soft-fp/multf3.c: Likewise.
7951 * soft-fp/negdf2.c: Likewise.
7952 * soft-fp/negsf2.c: Likewise.
7953 * soft-fp/negtf2.c: Likewise.
7954 * soft-fp/op-1.h: Likewise.
7955 * soft-fp/op-2.h: Likewise.
7956 * soft-fp/op-4.h: Likewise.
7957 * soft-fp/op-8.h: Likewise.
7958 * soft-fp/op-common.h: Likewise.
7959 * soft-fp/quad.h: Likewise.
7960 * soft-fp/single.h: Likewise.
7961 * soft-fp/soft-fp.h: Likewise.
7962 * soft-fp/sqrtdf2.c: Likewise.
7963 * soft-fp/sqrtsf2.c: Likewise.
7964 * soft-fp/sqrttf2.c: Likewise.
7965 * soft-fp/subdf3.c: Likewise.
7966 * soft-fp/subsf3.c: Likewise.
7967 * soft-fp/subtf3.c: Likewise.
7968 * soft-fp/truncdfsf2.c: Likewise.
7969 * soft-fp/trunctfdf2.c: Likewise.
7970 * soft-fp/trunctfsf2.c: Likewise.
7971 * soft-fp/trunctfxf2.c: Likewise.
7972 * soft-fp/unorddf2.c: Likewise.
7973 * soft-fp/unordsf2.c: Likewise.
7974 * soft-fp/unordtf2.c: Likewise.
7975
17c48a60
OB
79762013-10-14 Ondřej Bílka <neleai@seznam.cz>
7977
7978 [BZ #15672]
7979 * misc/error.c (error_tail): Fix possible buffer overflow.
7980
cabba934
OB
79812013-10-14 Aurelien Jarno <aurelien@aurel32.net>
7982
7983 [BZ #13028]
7984 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
7985 address.
7986
94bf958a
PM
79872013-10-14 P. J. McDermott <pj@pehjota.net>
7988
7989 [BZ #832]
7990 * elf/ldd.bash.in (try_trace): New function. Delete previous code
7991 testing pipefail option.
7992
71b4dea7
JM
79932013-10-12 Joseph Myers <joseph@codesourcery.com>
7994
7995 * soft-fp/double.h: Indent preprocessor directives inside #if.
7996 * soft-fp/extended.h: Likewise.
7997 * soft-fp/op-2.h: Likewise.
7998 * soft-fp/op-4.h: Likewise.
7999 * soft-fp/op-common.h: Likewise.
8000 * soft-fp/quad.h: Likewise.
8001 * soft-fp/single.h: Likewise.
8002 * soft-fp/soft-fp.h: Likewise.
8003
55602758
YC
80042013-10-12 Yuri Chornoivan <yurchor@ukr.net>
8005
8006 * iconv/iconv_prog.c: Fix typos.
8007 * stdio-common/psiginfo-data.h: Likewise.
8008
9cd83302
RT
80092013-10-12 Reuben Thomas <rrt@sc3d.org>
8010
8011 [BZ #15764]
8012 * locale/setlocale.c: Fix typo.
8013
99fd9f47
JM
80142013-10-12 Joseph Myers <joseph@codesourcery.com>
8015
b7ea74f0
JM
8016 [BZ #16036]
8017 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
8018 signaling NaN arguments.
8019 * soft-fp/unordsf2.c (__unordsf2): Likewise.
8020 * soft-fp/unordtf2.c (__unordtf2): Likewise.
8021
8a509447
JM
8022 [BZ #14910]
8023 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
8024 unordered operands.
8025 * soft-fp/gesf2.c (__gesf2): Likewise.
8026 * soft-fp/getf2.c (__getf2): Likewise.
8027 * soft-fp/ledf2.c (__ledf2): Likewise.
8028 * soft-fp/lesf2.c (__lesf2): Likewise.
8029 * soft-fp/letf2.c (__letf2): Likewise.
8030
98998e9f
JM
8031 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
8032 * soft-fp/eqsf2.c (__eqsf2): Likewise.
8033 * soft-fp/eqtf2.c (__eqtf2): Likewise.
8034 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
8035 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
8036 * soft-fp/fixdfti.c (__fixdfti): Likewise.
8037 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
8038 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
8039 * soft-fp/fixsfti.c (__fixsfti): Likewise.
8040 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
8041 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
8042 * soft-fp/fixtfti.c (__fixtfti): Likewise.
8043 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
8044 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
8045 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
8046 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
8047 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
8048 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
8049 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
8050 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
8051 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
8052 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
8053 * soft-fp/floatdisf.c (__floatdisf): Likewise.
8054 * soft-fp/floatsisf.c (__floatsisf): Likewise.
8055 * soft-fp/floattidf.c (__floattidf): Likewise.
8056 * soft-fp/floattisf.c (__floattisf): Likewise.
8057 * soft-fp/floattitf.c (__floattitf): Likewise.
8058 * soft-fp/floatundidf.c (__floatundidf): Likewise.
8059 * soft-fp/floatundisf.c (__floatundisf): Likewise.
8060 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
8061 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
8062 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
8063 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
8064 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
8065 * soft-fp/gesf2.c (__gesf2): Likewise.
8066 * soft-fp/getf2.c (__getf2): Likewise.
8067 * soft-fp/ledf2.c (__ledf2): Likewise.
8068 * soft-fp/lesf2.c (__lesf2): Likewise.
8069 * soft-fp/letf2.c (__letf2): Likewise.
8070
8edc4a11
JM
8071 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
8072 Undefine and redefine.
8073 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
8074 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
8075 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
8076 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
8077 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8078 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
8079 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8080 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
8081 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8082 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
8083 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8084 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
8085 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8086 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
8087 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8088
8399acaf
JM
8089 [BZ #16032]
8090 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
8091 without decrementing exponent if mantissa >= that for the
8092 denominator, not >.
8093 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
8094 denominator, not >. Decrement exponent in < case instead of
8095 incrementing in >= case.
8096 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
8097 without decrementing exponent if mantissa >= that for the
8098 denominator, not >.
8099
99fd9f47
JM
8100 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
8101 computing saturated result for unsigned overflow.
8102
10e1cf6b
SP
81032013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8104 Jeff Law <law@redhat.com>
8105
8106 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
8107 (atan2Mp): Add systemtap probe marker.
8108 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
8109 (__ieee754_log): Add systemtap probe marker.
8110 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
8111 (atanMp): Add systemtap probe marker.
8112 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
8113 (tanMp): Add systemtap probe marker.
8114 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
8115 (__slowexp): Add systemtap probe marker.
8116 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
8117 (__slowpow): Add systemtap probe marker.
8118 * manual/probes.texi: Document probes.
8119
3d110c7c
EB
81202013-10-11 Eric Biggers <ebiggers3@gmail.com>
8121
8122 [BZ #15362]
8123 * libio/fileops.c (_IO_new_file_write): Return count of bytes
8124 written.
8125 (_IO_new_file_xsputn): Don't return EOF if nothing has been
8126 written.
8127 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
8128 written to buffer but not flushed.
8129 * libio/iofwrite_u.c: Likewise.
8130 * libio/iopadn.c: Return bytes returned even if EOF was
8131 encountered.
8132 * libio/iowpadn.c: Likewise.
8133 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
8134 if _IO_padn does not write the whole buffer.
8135 [!COMPILE_WPRINTF] (PAD): Likewise.
8136
75b4202a
DM
81372013-10-10 David S. Miller <davem@davemloft.net>
8138
8139 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
8140 directory block.
8141
6c6352e6
JM
81422013-10-10 Joseph Myers <joseph@codesourcery.com>
8143
33b853c3
JM
8144 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
8145 instead of FSF address.
8146 * soft-fp/fixdfti.c: Likewise.
8147 * soft-fp/fixsfti.c: Likewise.
8148 * soft-fp/fixtfti.c: Likewise.
8149 * soft-fp/fixunsdfti.c: Likewise.
8150 * soft-fp/fixunssfti.c: Likewise.
8151 * soft-fp/fixunstfti.c: Likewise.
8152 * soft-fp/floattidf.c: Likewise.
8153 * soft-fp/floattisf.c: Likewise.
8154 * soft-fp/floattitf.c: Likewise.
8155 * soft-fp/floatuntidf.c: Likewise.
8156 * soft-fp/floatuntisf.c: Likewise.
8157 * soft-fp/floatuntitf.c: Likewise.
8158 * soft-fp/trunctfxf2.c: Likewise.
8159
6c6352e6
JM
8160 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
8161 * soft-fp/fixdfti.c: Likewise.
8162 * soft-fp/fixsfti.c: Likewise.
8163 * soft-fp/fixtfti.c: Likewise.
8164 * soft-fp/fixunsdfti.c: Likewise.
8165 * soft-fp/fixunssfti.c: Likewise.
8166 * soft-fp/fixunstfti.c: Likewise.
8167 * soft-fp/floattidf.c: Likewise.
8168 * soft-fp/floattisf.c: Likewise.
8169 * soft-fp/floattitf.c: Likewise.
8170 * soft-fp/floatuntidf.c: Likewise.
8171 * soft-fp/floatuntisf.c: Likewise.
8172 * soft-fp/floatuntitf.c: Likewise.
8173 * soft-fp/trunctfxf2.c: Likewise.
8174
3bf78b71
DM
81752013-10-10 David S. Miller <davem@davemloft.net>
8176
8177 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8178
6f10289e
JM
81792013-10-10 Joseph Myers <joseph@codsourcery.com>
8180
bd878fc0
JM
8181 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
8182 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
8183 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
8184 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
8185 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
8186 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
8187 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
8188
6f10289e
JM
8189 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
8190 for NaNs before doing comparisons on argument.
8191 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
8192 Likewise.
8193
321e2684
WN
81942013-10-10 Will Newton <will.newton@linaro.org>
8195
8196 * malloc/hooks.c (memalign_check): Ensure the value of bytes
8197 passed to _int_memalign does not overflow.
8198
40fefba1
TR
81992013-10-10 Torvald Riegel <triegel@redhat.com>
8200
8201 * scripts/bench.pl: Add include-sources directive.
8202 * benchtests/README: Update documentation.
8203
2ae21ed2
JM
82042013-10-10 Joseph Myers <joseph@codesourcery.com>
8205
dcc2dd3f
JM
8206 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
8207 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
8208 instead of FP_INIT_ROUNDMODE.
8209 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
8210 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
8211
2ae21ed2
JM
8212 [BZ #16034]
8213 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
8214 copy class of input value.
8215 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
8216 not handle exceptions.
8217 * soft-fp/negsf2.c (__negsf2): Likewise.
8218 * soft-fp/negtf2.c (__negtf2): Likewise.
8219 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
8220
cb8f9562
JM
82212013-10-09 Joseph Myers <joseph@codesourcery.com>
8222
8223 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
8224 semicolon. From Linux kernel.
8225
5b60c59d
AB
82262013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
8227
8228 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
8229
b86835ca
YC
82302013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
8231
8232 [BZ #156]
8233 * manual/socket.texi: Added statement about buffer
8234 for gethostbyname2_r.
8235
e7044ea7
OB
82362013-10-08 Ondřej Bílka <neleai@seznam.cz>
8237
8238 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
8239 Use .p2align directive instead, throughout.
8240 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
8241 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
8242 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
8243 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
8244 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
8245 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
8246 * sysdeps/x86_64/strchr.S: Likewise.
8247 * sysdeps/x86_64/strrchr.S: Likewise.
8248
09544cbc
SP
82492013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
8250
88576635
SP
8251 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
8252
e7b2d1dd
SP
8253 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
8254
09544cbc
SP
8255 * sysdeps/generic/math_private.h (__mpsin1): Remove
8256 declaration.
8257 (__mpcos1): Likewise.
8258 (__mpsin): New argument __range_reduce.
8259 (__mpcos): Likewise.
8260 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8261 (slow): Use __mpsin and __mpcos.
8262 (slow1): Likewise.
8263 (slow2): Likewise.
8264 (sloww): Likewise.
8265 (sloww1): Likewise.
8266 (sloww2): Likewise.
8267 (bsloww): Likewise.
8268 (bsloww1): Likewise.
8269 (bsloww2): Likewise.
8270 (cslow2): Likewise.
8271 (csloww): Likewise.
8272 (csloww1): Likewise.
8273 (csloww2): Likewise.
8274 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
8275 range_reduce. Merge in __mpsin1.
8276 (__mpcos): Likewise.
8277 (__mpsin1): Remove.
8278 (__mpcos1): Likewise.
8279
7602d070
JM
82802013-10-07 Joseph Myers <joseph@codesourcery.com>
8281
8282 * locale/loadlocale.c (_nl_intern_locale_data): Use
8283 LOCFILE_ALIGNED_P.
8284 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
8285 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
8286 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
8287 obstack data is appropriately aligned.
8288 (obstack_int32_grow_fast): Likewise.
8289 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
8290 * locale/programs/locfile.c (add_locale_uint32): Likewise.
8291 (add_locale_uint32_array): Likewise.
8292
a357259b
SP
82932013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
8294
8295 * benchtests/Makefile: Remove ARGLIST and RET variables.
8296 ($(objpfx)bench-%.c): Pass only function name to the script.
8297 * benchtests/README: Update documentation.
8298 * benchtests/acos-inputs: Add new directives.
8299 * benchtests/acosh-inputs: Likewise.
8300 * benchtests/asin-inputs: Likewise.
8301 * benchtests/asinh-inputs: Likewise.
8302 * benchtests/atan-inputs: Likewise.
8303 * benchtests/atanh-inputs: Likewise.
8304 * benchtests/cos-inputs: Likewise.
8305 * benchtests/cosh-inputs: Likewise.
8306 * benchtests/exp-inputs: Likewise.
8307 * benchtests/log-inputs: Likewise.
8308 * benchtests/pow-inputs: Likewise.
8309 * benchtests/rint-inputs: Likewise.
8310 * benchtests/sin-inputs: Likewise.
8311 * benchtests/sinh-inputs: Likewise.
8312 * benchtests/tan-inputs: Likewise.
8313 * benchtests/tanh-inputs: Likewise.
8314 * scripts/bench.pl: Add support for new directives.
8315
9ec1b13d
AM
83162013-10-07 Alan Modra <amodra@gmail.com>
8317
8318 * README: Fix careless merge.
8319
8b7d57cd
AM
83202013-10-05 Alan Modra <amodra@gmail.com>
8321
8322 * NEWS: Mention powerpc64le support and bugs fixed.
8323 * README: Both big-endian and little-endian powerpc64 supported.
8324
7b7bab13
ST
83252013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
8326
8327 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
8328 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
8329 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
8330 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
8331
d39baad1
RA
83322013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
8333
8334 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
8335 match prototype.
8336
cd78f7e7
JM
83372013-10-04 Joseph Myers <joseph@codesourcery.com>
8338
29d73d86
JM
8339 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
8340 Move -mhard-float appending from
8341 ports/sysdeps/powerpc/powerpc32/Makefile.
8342 [$(with-fp) = yes] (ASFLAGS): Likewise.
8343 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
8344 * sysdeps/powerpc/nofpu: Move directory from
8345 ports/sysdeps/powerpc/nofpu.
8346 * sysdeps/powerpc/soft-fp: Move directory from
8347 ports/sysdeps/powerpc/soft-fp.
8348 * sysdeps/powerpc/powerpc32/405: Move directory from
8349 ports/sysdeps/powerpc/powerpc32/405.
8350 * sysdeps/powerpc/powerpc32/440: Move directory from
8351 ports/sysdeps/powerpc/powerpc32/440.
8352 * sysdeps/powerpc/powerpc32/464: Move directory from
8353 ports/sysdeps/powerpc/powerpc32/464.
8354 * sysdeps/powerpc/powerpc32/476: Move directory from
8355 ports/sysdeps/powerpc/powerpc32/476.
8356 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
8357 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
8358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
8359 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
8360 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
8361 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
8362 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
8363 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
8364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
8365 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
8366 * README: Update for powerpc-*-linux-gnu software floating point
8367 support in libc.
8368
e246b347
JM
8369 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
8370 case to powerpc/powerpc32*.
8371 * sysdeps/unix/sysv/linux/configure: Regenerated.
8372
89c2003e
JM
8373 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
8374 (_FPU_MASK_OM): Define as 0x04.
8375 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
8376 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
8377 0x00c10080.
8378 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
8379 0x0000003c.
8380 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
8381
cd78f7e7
JM
8382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
8383 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
8384 getcontext_e500.
8385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
8386 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
8387 setcontext_e500.
8388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
8389 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
8390 and setcontext_e500.
8391
c755294d
CL
83922013-10-04 Chris Leonard <cjl@sugarlabs,.org>
8393
8394 * locale/iso-3166.def: Update iso-1366.def and related occurrences
8395
e16d221c
SP
83962013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8397
8398 * manual/threads.texi (Default Thread Attributes): Fix typo.
8399
215c7d43
WN
84002013-10-04 Will Newton <will.newton@linaro.org>
8401
8402 * malloc/Makefile: Add tst-memalign.
8403 * malloc/tst-memalign.c: New file.
8404
27d0461b
WN
8405 * malloc/tst-posix_memalign.c: Add comments.
8406 (do_test): Add comments and call free on all potentially
8407 allocated pointers. Add space after cast.
8408
1bc92709
WN
8409 * malloc/tst-pvalloc.c: Add comments.
8410 (do_test): Add comments and call free on all potentially
8411 allocated pointers. Remove duplicate check for NULL pointer.
8412 Add space after cast.
8413
66a9be9d
WN
8414 * malloc/tst-valloc.c: Add comments.
8415 (do_test): Add comments and call free on all potentially
8416 allocated pointers. Remove duplicate check for NULL pointer.
8417 Add space after cast.
8418
4cb81307
AM
84192013-10-04 Alan Modra <amodra@gmail.com>
8420
8421 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
8422 Use stdint types in rather than __attribute__((mode())).
8423 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
8424
f8e3e9f3
AM
84252013-10-04 Alan Modra <amodra@gmail.com>
8426
8427 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
8428 Correct handling of unaligned relocs for little-endian.
8429 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
8430
8f9ebb08
AM
84312013-10-04 Alan Modra <amodra@gmail.com>
8432
8433 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
8434 * configure: Regenerate.
8435 * nptl/shlib-versions: Powerpc*le starts at 2.18.
8436 * shlib-versions: Likewise.
8437
0edf96c2
AM
84382013-10-04 Alan Modra <amodra@gmail.com>
8439
8440 * string/tester.c (test_memrchr): Increment reported test cycle.
8441
e0f7a380
AM
84422013-10-04 Alan Modra <amodra@gmail.com>
8443
8444 * string/test-memcpy.c (do_one_test): When reporting errors, print
8445 string address and don't overrun end of string.
8446
466b0393
AM
84472013-10-04 Alan Modra <amodra@gmail.com>
8448
8449 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
8450 insrdi. Make better use of reg selection to speed exit slightly.
8451 Schedule entry path a little better. Remove useless "are we done"
8452 checks on entry to main loop. Handle wrapping around zero address.
8453 Correct main loop count. Handle single left-over word from main
8454 loop inline rather than by using loop_small. Remove extra word
8455 case in loop_small caused by wrong loop count. Add little-endian
8456 support.
8457 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
8458 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
8459 cache hint.
8460 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
8461 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
8462 support. Avoid rlwimi.
8463 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
8464
3be87c77
AM
84652013-10-04 Alan Modra <amodra@gmail.com>
8466
8467 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 8468 insrdi. Formatting.
3be87c77
AM
8469 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
8470 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
8471 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
8472 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
8473 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
8474 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
8475
759cfef3
AM
84762013-10-04 Alan Modra <amodra@gmail.com>
8477
8478 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
8479 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
8480 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
8481 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
8482 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
8483 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
8484 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
8485 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
8486 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
8487 use of regs. Use power7 mtocrf. Tidy function tails.
8488
fe6e95d7
AM
84892013-10-04 Alan Modra <amodra@gmail.com>
8490
8491 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
8492 Formatting. Consistently use rXXX register defines or rN defines.
8493 Use early exit labels that avoid restoring unused non-volatile regs.
8494 Make cr field use more consistent with rWORDn compares. Rename
8495 regs used as shift registers for unaligned loop, using rN defines
8496 for short lifetime/multiple use regs.
8497 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
8498 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
8499 addi 1,1,64 to pop stack frame. Simplify return value code.
8500 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
8501
664318c3
AM
85022013-10-04 Alan Modra <amodra@gmail.com>
8503
8504 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
8505 support. Correct typos, formatting. Optimize tail. Use insrdi
8506 rather than rlwimi.
8507 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
8508 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
8509 little-endian support. Correct typos.
8510 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
8511 rather than rlwimi.
8512 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
8513 in loop and entry code to keep "and." results.
8514 (strchr): Add little-endian support. Comment. Move cntlzd
8515 earlier in tail.
8516 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
8517
43b84013
AM
85182013-10-04 Alan Modra <amodra@gmail.com>
8519
8520 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
8521 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
8522 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
8523 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
8524
8a7413f9
AM
85252013-10-04 Alan Modra <amodra@gmail.com>
8526
8527 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
8528 (rTMP): Define as r11.
8529 (strcmp): Add little-endian support. Optimise tail.
8530 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
8531 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
8532 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
8533 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
8534 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
8535 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
8536 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
8537
33ee81de
AM
85382013-10-04 Alan Modra <amodra@gmail.com>
8539
8540 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
8541 little-endian support. Remove unnecessary "are we done" tests.
8542 Handle "s" wrapping around zero and extremely large "size".
8543 Correct main loop count. Handle single left-over word from main
8544 loop inline rather than by using small_loop. Correct comments.
8545 Delete "zero" tail, use "end_max" instead.
8546 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
8547
db9b4570
AM
85482013-10-04 Alan Modra <amodra@gmail.com>
8549
8550 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
8551 support. Don't branch over align.
8552 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
8553 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
8554 support. Rearrange tmp reg use to suit. Comment.
8555 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
8556
f7c399cf
AM
85572013-10-04 Alan Modra <amodra@gmail.com>
8558
8559 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
8560
0b2c2ace
AM
85612013-10-04 Alan Modra <amodra@gmail.com>
8562
8563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
8564 conditional form of branch and link when obtaining pc.
8565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
8566
02f04a6c
AM
85672013-10-04 Alan Modra <amodra@gmail.com>
8568
8569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
8570 HIWORD/LOWORD.
8571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
8572 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
8573
9b874b2f
AM
85742013-10-04 Alan Modra <amodra@gmail.com>
8575
8576 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
8577 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
8578 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
8579 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
8580 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
8581 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
8582 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
8583 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
8584 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
8585 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
8586
be1e5d31
AB
85872013-10-04 Anton Blanchard <anton@au1.ibm.com>
8588 Alistair Popple <alistair@ozlabs.au.ibm.com>
8589 Alan Modra <amodra@gmail.com>
8590
8591 [BZ #15723]
8592 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
8593 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
8594 _dl_hwcap access for little-endian.
8595 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
8596 destroy vmx regs when saving unaligned.
8597 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
8598 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
8599 destroy vmx regs when saving unaligned.
8600
fef13a78
AM
86012013-10-04 Alan Modra <amodra@gmail.com>
8602
8603 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
8604 Don't use a union to pack hi/low value.
8605
76a66d51
AB
86062013-10-04 Anton Blanchard <anton@au1.ibm.com>
8607
8608 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
8609 for little-endian.
8610 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
8611 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
8612 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
8613 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
8614 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
8615
6a31fe7f
AM
86162013-10-04 Alan Modra <amodra@gmail.com>
8617
8618 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
8619 constants to usual value for .cst8 section, and remove redundant
8620 high address load.
8621 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
8622 constant for 0x1p52. Load little-endian words of double from
8623 correct stack offsets.
8624
7b88401f
AM
86252013-10-04 Alan Modra <amodra@gmail.com>
8626
8627 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
8628 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
8629 words of double from correct stack offsets.
8630 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
8631 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
8632 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
8633 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
8634 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
8635 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
8636 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
8637 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
8638 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
8639 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
8640 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
8641 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
8642 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
8643 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
8644 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
8645 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
8646 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
8647
9c008155
AM
86482013-10-04 Alan Modra <amodra@gmail.com>
8649
8650 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
8651 64-bit int/double union.
8652 (_FPU_SETCW): Likewise.
8653 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
8654 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
8655
da13146d
AM
86562013-10-04 Alan Modra <amodra@gmail.com>
8657
8658 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
8659 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
8660
603e8410
AM
86612013-10-04 Alan Modra <amodra@gmail.com>
8662
8663 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
8664 use vector int constants.
8665 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
8666
4a28b3ca
AB
86672013-10-04 Anton Blanchard <anton@au1.ibm.com>
8668
8669 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
8670 array with long long.
8671 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
8672 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
8673 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
8674 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
8675 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
8676 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
8677 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
8678 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
8679 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
8680 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
8681 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
8682 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
8683 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
8684
2ca85d2b
AB
86852013-10-04 Anton Blanchard <anton@au1.ibm.com>
8686
8687 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
8688 (__signbit): Likewise. Correct for little-endian.
8689 (__signbitl): Call __signbit.
8690 (lrint): Correct for little-endian.
8691 (lrintf): Call lrint.
8692
62a728ae
AM
86932013-10-04 Alan Modra <amodra@gmail.com>
8694
8695 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
8696 union 32-bit int array member with 64-bit int array.
8697 (t515, tm256): Double rather than long double.
8698 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
8699
32c301df
AM
87002013-10-04 Alan Modra <amodra@gmail.com>
8701
8702 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
8703 Delete.
8704 (IEEE854_LONG_DOUBLE_BIAS): Delete.
8705 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
8706 version of math_ldbl.h.
8707
650ef4bd
AM
87082013-10-04 Alan Modra <amodra@gmail.com>
8709
8710 [BZ #15734], [BZ #15735]
8711 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
8712 all uses of ieee875 long double macros and unions. Simplify test
8713 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
8714 ldbl_extract_mantissa value for ix,iy exponents. Properly
8715 normalize after ldbl_extract_mantissa, and don't add hidden bit
8716 already handled. Don't treat low word of ieee854 mantissa like
8717 low word of IBM long double and mask off bit when testing for
8718 zero.
8719 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
8720 all uses of ieee875 long double macros and unions. Simplify tests
8721 for 0.0L and inf. Correct double adjustment of k. Delete dead code
8722 adjusting ha,hb. Simplify code setting kld. Delete two600 and
8723 two1022, instead use their values. Recognise that tests for large
8724 "a" and small "b" are mutually exclusive. Rename vars. Comment.
8725 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
8726 Rewrite all uses of ieee875 long double macros and unions. Simplify
8727 test for 0.0L and nan. Correct negation.
8728 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
8729 ieee875 long double macros and unions. Correct output for large
8730 magnitude x. Correct absolute value calculation.
8731 (__erfcl): Likewise.
8732 * math/libm-test.inc: Add tests for errors discovered in IBM long
8733 double versions of fmodl, remainderl, erfl and erfcl.
8734
765714ca
AM
87352013-10-04 Alan Modra <amodra@gmail.com>
8736
8737 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
8738 all uses of ieee854 long double macros and unions. Simplify tests
8739 for long doubles that are fully specified by the high double.
8740 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
8741 Likewise.
8742 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
8743 Remove dead code too.
8744 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
8745 (__ieee754_ynl): Likewise.
8746 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
8747 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
8748 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
8749 Remove dead code too.
8750 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
8751 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
8752 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
8753 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
8754 Simplify.
8755 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
8756 Simplify.
8757 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
8758 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
8759 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
8760 Comment on variable precision.
8761 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
8762 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
8763 Likewise.
8764 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
8765 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
8766 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
8767 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
8768 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
8769
4ebd120c
AM
87702013-10-04 Alan Modra <amodra@gmail.com>
8771
8772 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
8773 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
8774 all uses of ieee854 long double macros and unions.
8775 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
8776 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
8777 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
8778 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
8779 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
8780 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
8781 Likewise.
8782 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
8783 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
8784 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
8785 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
8786 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
8787 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
8788 Simplify sign and nan test too.
8789 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
8790 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
8791 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
8792 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
8793 Likewise.
8794 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
8795 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
8796 Likewise.
8797 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
8798 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
8799 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
8800 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
8801 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
8802 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
8803
1b6adf88
AM
88042013-10-04 Alan Modra <amodra@gmail.com>
8805
8806 * stdio-common/printf_size.c (__printf_size): Don't use
8807 union ieee854_long_double in fpnum union.
8808 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
8809 signbit macro to retrieve sign from long double.
8810 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
8811 retrieve sign from long double.
8812 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
8813 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
8814 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
8815 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
8816 * math/test-misc.c (main): Don't use union ieee854_long_double.
8817
4cf69995
AM
88182013-10-04 Alan Modra <amodra@gmail.com>
8819
8820 [BZ #15680]
8821 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
8822 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
8823 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
8824 calculation. Remove unnecessary test for denormal exponent.
8825 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
8826 Correct handling of denormals. Avoid undefined shift behaviour.
8827 Correct normalisation of low mantissa when low double is denormal.
8828 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
8829 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
8830 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
8831 Correct normalisation of low mantissa. Test for overflow of high
8832 mantissa and normalise.
8833 (ldbl_nearbyint): Use more readable constant for two52.
8834 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
8835 (__mpn_construct_long_double): Fix test for overflow of high
8836 mantissa and correct normalisation. Avoid undefined shift.
8837
9605ca6c
AM
88382013-10-04 Alan Modra <amodra@gmail.com>
8839
8840 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
8841 (union ibm_extended_long_double): Define as an array of ieee754_double.
8842 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
8843 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
8844 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
8845 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
8846 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
8847 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
8848 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
8849 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
8850 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
8851 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
8852 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
8853
975569d0
JM
88542013-10-03 Joseph Myers <joseph@codesourcery.com>
8855
d3d23756
JM
8856 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
8857 page size instead of calling getpagesize.
8858
975569d0
JM
8859 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
8860 (LOCFILE_ALIGN_MASK): Likewise.
8861 (LOCFILE_ALIGN_UP): Likewise.
8862 (LOCFILE_ALIGNED_P): Likewise.
8863 * locale/programs/ld-collate.c (collate_output): Use the new
8864 macros instead of __alignof__ (int32_t).
8865 * locale/weight.h (findidx): Likewise.
8866
b1fe1f2b
OB
88672013-10-03 Ondřej Bílka <neleai@seznam.cz>
8868
8869 [BZ #431]
8870 * manual/string.texi: Fix strncat and wcsncat.
8871
5f855e35
BM
88722013-10-03 Brooks Moses <bmoses@google.com>
8873
8874 [BZ #15915]
8875 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
8876 * Makerules: ...here, and adjust associated comments.
8877
3cef6009
WN
88782013-10-02 Will Newton <will.newton@linaro.org>
8879
8880 * malloc/Makefile: Add tst-pvalloc.
8881 * malloc/tst-pvalloc.c: New file.
8882
7815420b
WN
88832013-10-02 Will Newton <will.newton@linaro.org>
8884
8885 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
8886 improve test coverage.
8887
4868b204
WN
88882013-10-02 Will Newton <will.newton@linaro.org>
8889
8890 * malloc/Makefile: Add tst-posix_memalign.
8891 * malloc/tst-posix_memalign.c: New file.
8892
29c793b3
EB
88932013-10-01 Eric Blake <eblake@redhat.com>
8894
8895 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
8896 Use __THROWNL rather than __THROW on static functions.
8897
fd967522
PM
88982013-09-30 Petr Machata <pmachata@redhat.com>
8899
8900 * elf/elf.h (R_AARCH64_ABS16): New macro.
8901 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
8902 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
8903 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
8904 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
8905 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
8906 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
8907 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
8908 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
8909 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
8910 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
8911 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
8912 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
8913 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
8914 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
8915 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
8916 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
8917 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
8918 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
8919 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
8920 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
8921 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
8922 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
8923 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
8924 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
8925 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
8926 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
8927 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
8928 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
8929 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
8930 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
8931 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
8932 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
8933 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
8934 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
8935 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
8936 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
8937 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
8938 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
8939 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
8940 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
8941 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
8942 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
8943 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
8944 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
8945 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
8946 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
8947 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
8948 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
8949 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
8950 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
8951 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
8952 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
8953 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
8954 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
8955 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
8956 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
8957 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
8958 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
8959 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
8960 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
8961 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
8962 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
8963 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
8964 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
8965 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
8966 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
8967 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
8968 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
8969 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
8970 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
8971 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
8972 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
8973 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
8974 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
8975 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
8976 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
8977 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
8978 (R_AARCH64_TLSDESC_LDR): Likewise.
8979 (R_AARCH64_TLSDESC_ADD): Likewise.
8980 (R_AARCH64_TLSDESC_CALL): Likewise.
8981
b2179107
AS
89822013-09-30 Andreas Schwab <schwab@suse.de>
8983
8984 [BZ #15048]
8985 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
8986 the nss database lookup.
8987 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8988 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
8989
47f28d0a
MF
89902013-09-28 Mike Frysinger <vapier@gentoo.org>
8991
8992 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
8993
89942013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
8995
8996 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
8997 ${Bash-specific parameter/pattern/string} parameter expansion.
8998 * sysdeps/unix/make-syscalls.sh: Likewise.
8999
f4518a17
KK
90002013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9001
9002 * sysdeps/sh/stackguard-macros.h: New file.
9003
dc1a95c7
OB
90042013-09-26 Ondřej Bílka <neleai@seznam.cz>
9005
9006 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
9007 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
9008 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
9009 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
9010 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
9011 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
9012
5ebbff8f
AZ
90132013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9014
9015 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
9016 Fix thread ID register.
9017
4fd2cf9f
JM
90182013-09-25 Joseph Myers <joseph@codesourcery.com>
9019
9020 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
9021 [POSIX || UNIX98]: Require rather than permitting all symbols from
9022 <time.h>.
9023 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
9024 element of struct sched_param.
9025 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
9026 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
9027 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
9028 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
9029 constant.
9030
12c22bc4
OL
90312013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
9032
9033 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
9034 argument calculation.
9035
a03d8ea7
JM
90362013-09-24 Joseph Myers <joseph@codesourcery.com>
9037
9038 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
9039 Expect macro.
9040 [POSIX] (pthread_attr_t): Do not require type.
9041 [POSIX] (pthread_cond_t): Likewise.
9042 [POSIX] (pthread_condattr_t): Likewise.
9043 [POSIX] (pthread_key_t): Likewise.
9044 [POSIX] (pthread_mutex_t): Likewise.
9045 [POSIX] (pthread_mutexattr_t): Likewise.
9046 [POSIX] (pthread_once_t): Likewise.
9047 [POSIX] (pthread_t): Likewise.
9048 [POSIX-based standards] (pthread_atfork): Expect function.
9049
6055173a
JM
90502013-09-24 Joseph Myers <joseph@codesourcery.com>
9051 Richard Sandiford <richard@codesourcery.com>
9052
9053 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
9054 (swap_endianness_p): New extern variable.
9055 (set_big_endian): New inline function.
9056 (maybe_swap_uint32): Likewise.
9057 (maybe_swap_uint32_array): Likewise.
9058 (maybe_swap_uint32_obstack): Likewise.
9059 * locale/programs/locfile.c: Include <stdbool.h>.
9060 (swap_endianness_p): New variable.
9061 (add_locale_uint32): Call maybe_swap_uint32.
9062 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
9063 (write_locale_data): Call maybe_swap_uint32_array.
9064 * locale/programs/ld-collate.c (obstack_int32_grow): Call
9065 maybe_swap_uint32.
9066 (obstack_int32_grow_fast): Likewise.
9067 (output_weightwc): Call maybe_swap_uint32_obstack.
9068 (collate_output): Likewise.
9069 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
9070 (OPT_LITTLE_ENDIAN): Likewise.
9071 (options): Add --little-endian and --big-endian options.
9072 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
9073 * locale/programs/locarchive.c: Include "locfile.h".
9074 (GET): New macro.
9075 (SET): Likewise.
9076 (INC): Likewise.
9077 (create_archive): Use the new macros to access fields of
9078 structures directly mapped from or written to locale archives.
9079 (oldlocrecentcmp): Likewise.
9080 (enlarge_archive): Likewise.
9081 (insert_name): Likewise.
9082 (add_alias): Likewise.
9083 (add_locale): Likewise.
9084 (delete_locales_from_archive): Likewise.
9085 (show_archive_content): Likewise.
9086 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
9087 locale data.
9088
39bf0bb4
RM
90892013-09-24 Roland McGrath <roland@hack.frob.com>
9090
9091 * manual/freemanuals.texi: Updated from (newly) canonical copy at
9092 http://www.gnu.org/doc/freemanuals.texi.
9093 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
9094
f02eed10
WN
90952013-09-24 Will Newton <will.newton@linaro.org>
9096
9097 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
9098 macro.
9099
a3a6c312
JM
91002013-09-23 Joseph Myers <joseph@codesourcery.com>
9101
9102 * locale/hashval.h (compute_hashval): Interpret bytes of key as
9103 unsigned char.
9104
107375ac
MR
91052013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
9106
9107 * manual/threads.texi (POSIX Threads): Fix a typo.
9108
141f3a77
SP
91092013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
9110
303e567a
SP
9111 [BZ #14547]
9112 * string/tst-strcoll-overflow.c: New test case.
9113 * string/Makefile (xtests): Add tst-strcoll-overflow.
9114 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
9115 cache if string sizes may cause integer overflow.
9116
141f3a77
SP
9117 [BZ #14547]
9118 * string/strcoll_l.c (coll_seq): New members rule, idx,
9119 save_idx and back_us.
9120 (get_next_seq_nocache): New function.
9121 (do_compare_nocache): New function.
9122 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
9123 when malloc fails.
9124
c61b4d41
CD
91252013-09-23 Carlos O'Donell <carlos@redhat.com>
9126
0b1f8e35
CD
9127 [BZ #15754]
9128 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
9129 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
9130 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
9131
c61b4d41
CD
9132 [BZ #15754]
9133 * elf/Makefile (tests): Add tst-ptrguard1.
9134 (tests-static): Add tst-ptrguard1-static.
9135 (tst-ptrguard1-ARGS): Define.
9136 (tst-ptrguard1-static-ARGS): Define.
9137 * elf/tst-ptrguard1.c: New file.
9138 * elf/tst-ptrguard1-static.c: New file.
9139 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
9140 * sysdeps/i386/stackguard-macros.h: Likewise.
9141 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
9142 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
9143 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
9144 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
9145 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
9146 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
9147
91482013-09-23 Hector Marco <hecmargi@upv.es>
9149 Ismael Ripoll <iripoll@disca.upv.es>
9150 Carlos O'Donell <carlos@redhat.com>
9151
9152 [BZ #15754]
9153 * sysdeps/generic/stackguard-macros.h: Define
9154 __pointer_chk_guard_local and POINTER_CHK_GUARD.
9155 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
9156 Define __pointer_chk_guard_local.
9157 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
9158 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
9159
f5f4e7b4
VV
91602013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
9161
9162 [BZ #15859]
9163 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
9164
5bb43a43
AS
91652013-09-20 Andreas Schwab <schwab@linux-m68k.org>
9166
9167 * include/string.h (__ffs): Declare as hidden.
9168 * string/ffs.c (__ffs): Define as hidden.
9169 * sysdeps/i386/ffs.c (__ffs): Likewise.
9170 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
9171 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
9172 * sysdeps/s390/ffs.c (__ffs): Likewise.
9173 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
9174
3ea5be54
AO
91752013-09-20 Alexandre Oliva <aoliva@redhat.com>
9176
ffb89e53
AO
9177 * NEWS: Mention malloc probes.
9178
322dea08
AO
9179 * malloc/arena.c (new_heap): New memory_heap_new probe.
9180 (grow_heap): New memory_heap_more probe.
9181 (shrink_heap): New memory_heap_less probe.
9182 (heap_trim): New memory_heap_free probe.
9183 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
9184 (systrim): New memory_sbrk_less probe.
9185 * manual/probes.texi: Document them.
9186
655673f3
AO
9187 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
9188 * manual/probes.texi: Document it.
9189
35fed6f1
AO
9190 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
9191 (__libc_realloc): Add memory_realloc_retry probe.
9192 (__libc_memalign): Add memory_memalign_retry probe.
9193 (__libc_valloc): Add memory_valloc_retry probe.
9194 (__libc_pvalloc): Add memory_pvalloc_retry probe.
9195 (__libc_calloc): Add memory_calloc_retry probe.
9196 * manual/probes.texi: Document them.
9197
6999d38c
AO
9198 * malloc/arena.c (get_free_list): Add probe
9199 memory_arena_reuse_free_list.
9200 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
9201 and memory_arena_reuse.
9202 (arena_get2) [!PER_THREAD]: Likewise.
9203 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
9204 memory_arena_reuse_realloc.
9205 * manual/probes.texi: Document them.
9206
0653427f
AO
9207 * malloc/malloc.c (__libc_free): Add
9208 memory_mallopt_free_dyn_thresholds probe.
9209 (__libc_mallopt): Add multiple memory_mallopt probes.
9210 * manual/probes.texi: Document them.
9211
3ea5be54
AO
9212 * malloc/malloc.c: Include stap-probe.h.
9213 (__libc_mallopt): Add memory_mallopt probe.
9214 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
9215 * manual/probes.texi: New.
9216 * manual/Makefile (chapters): Add probes.
9217 * manual/threads.texi: Set next node.
9218
e35696c3 92192013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 9220
e35696c3
CL
9221 [BZ #15963, #13985]
9222 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
9223 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
9224 Add `Chinese' to `nan' entry name.
9225
4aafb73c
SP
92262013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9227
9228 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
9229 (POLYNOMIAL): Likewise.
9230 (TAYLOR_SINCOS): Likewise.
9231 (TAYLOR_SLOW): Likewise.
9232 (__sin): Use TAYLOR_SINCOS.
9233 (__cos): Likewise.
9234 (slow): Use TAYLOR_SLOW.
9235 (sloww): Likewise.
9236 (bsloww): Likewise.
9237 (csloww): Likewise.
9238
d84f25c7
LD
92392013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9240
9241 * stdlib/strtod_l.c: Fix buffer overrun.
9242
5eea0404
SP
92432013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9244
7849ff93
SP
9245 * benchtests/Makefile (bench): Add sincos.
9246 * benchtests/bench-sincos.c: New file.
9247
cfa3c886
SP
9248 * math/libm-test.inc (cos_test_data): New test inputs.
9249 (sin_test_data): Likewise.
9250
b348e1e3
SP
9251 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
9252 macro.
9253 (__sin): Use it.
9254 (__cos): Likewise.
9255 (slow1): Likewise.
9256 (slow2): Likewise.
9257 (sloww1): Likewise.
9258 (sloww2): Likewise.
9259 (bsloww1): Likewise.
9260 (bsloww2): Likewise.
9261 (cslow2): Likewise.
9262 (csloww1): Likewise.
9263 (csloww2): Likewise.
9264
6cce25f8
SP
9265 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
9266 function.
9267 (__sin): Use it.
9268 (__cos): Likewise.
9269
5eea0404
SP
9270 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
9271 gotos.
9272 (__cos): Likewise.
9273
9c21573c
MR
92742013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
9275
9276 * config.h.in (HAVE_MIPS_NAN2008): New macro.
9277 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
9278 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
9279 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
9280 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
9281 * elf/cache.c (print_entry): Handle the new cache flags.
9282
24d22e65
JM
92832013-09-18 Joseph Myers <joseph@codesourcery.com>
9284 Aldy Hernandez <aldyh@redhat.com>
9285
9286 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
9287 Change condition to [_SOFT_FLOAT].
9288 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
9289 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
9290 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
9291 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
9292 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
9293 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
9294 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
9295 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
9296 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
9297 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
9298 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
9299 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
9300 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
9301 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
9302 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
9303 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
9304 declaration.
9305
d13ef066
JM
93062013-09-18 Joseph Myers <joseph@codesourcery.com>
9307
2e071de0
JM
9308 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
9309 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
9310 (__longjmp): Use LOAD_GP to load saved GPRs.
9311 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
9312 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
9313 (__sigsetjmp): Use SAVE_GP to save GPRs.
9314
d13ef066
JM
9315 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
9316 Do not append -msoft-float.
9317 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
9318
97a0650b
SP
93192013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
9320
9321 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
9322
11ca09e9
JM
93232013-09-17 Joseph Myers <joseph@codesourcery.com>
9324
9325 [BZ #15966]
9326 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
9327 (_FPU_GETCW): Use initial "__" on variable and field names but not
9328 on macro parameter name.
9329 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
9330 parentheses around reference to macro parameter.
9331
08ffcf34
RS
93322013-09-13 Richard Sandiford <richard@codesourcery.com>
9333
9334 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
9335 prototype.
9336 (ctype_startup): Use uint32_t in cast and sizeof for
9337 ctype->charnames.
9338
ae7080d3
JL
93392013-09-11 Jia Liu <proljc@gmail.com>
9340
9341 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
9342 __daddr_t_defined.
9343 [__FreeBSD__]: Likewise.
9344
5905e7b3
OB
93452013-09-11 Ondřej Bílka <neleai@seznam.cz>
9346
9347 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
9348 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
9349 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
9350 (strchr): Remove __strchr_sse42 ifunc selection.
9351 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
9352 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
9353
b987c776
WN
93542013-09-11 Will Newton <will.newton@linaro.org>
9355
9356 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
9357 parameter to RES. Remove hardcoded 1000 value.
9358 * benchtests/bench-skeleton.c (main): Pass RES parameter
9359 to TIMING_INIT and multiply result by 1000.
9360
ddf985af
AZ
93612013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9362
9363 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9364
ffdd3181
AS
93652013-09-11 Andreas Schwab <schwab@suse.de>
9366
9367 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
9368 if not defined.
9369 (O_TMPFILE) [__USE_GNU]: Define.
9370 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
9371 Define.
9372
b73ed247
WN
93732013-09-11 Will Newton <will.newton@linaro.org>
9374
9375 [BZ #15857]
9376 * malloc/malloc.c (__libc_memalign): Check the value of bytes
9377 does not overflow.
9378
55e17aad
WN
93792013-09-11 Will Newton <will.newton@linaro.org>
9380
9381 [BZ #15856]
9382 * malloc/malloc.c (__libc_valloc): Check the value of bytes
9383 does not overflow.
9384
1159a193
WN
93852013-09-11 Will Newton <will.newton@linaro.org>
9386
9387 [BZ #15855]
9388 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
9389 does not overflow.
9390
5905e7b3 93912013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
9392
9393 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
9394 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9395 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9396 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
9397 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
9398
cdfc721b
AM
93992013-09-10 Allan McRae <allan@archlinux.org>
9400
aa04af00
AM
9401 [BZ #15748]
9402 * manual/arith.texi (Parsing of Floats): Clarify
9403 cross-reference.
9404
cdfc721b
AM
9405 [BZ #15849]
9406 * manual/install.texi (Running make install): Mention
9407 --enable-pt-chown.
9408 * INSTALL: Regenerated.
9409
95e7cf29
MR
94102013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
9411
9412 * csu/init-first.c (_init): Remove the !SHARED condition around
9413 FPU control word initialization.
9414 * elf/dl-support.c (_dl_fpu_control): New variable.
9415 (_dl_aux_init) <AT_FPUCW>: Initialize it.
9416 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
9417 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
9418 * math/test-fpucw-static.c: New file.
9419 * math/test-fpucw-ieee.c: New file.
9420 * math/test-fpucw-ieee-static.c: New file.
9421 * math/Makefile (tests): Add `test-fpucw-ieee' and
9422 `$(tests-static)'.
9423 (tests-static): New variable.
9424 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
9425 dependency to...
9426 [($(build-shared),yes)]
9427 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
9428 ... this.
9429 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
9430 New dependency.
9431
83e43bf0
AM
94322013-09-09 Allan McRae <allan@archlinux.org>
9433
a9f5ce09
AM
9434 [BZ #15939]
9435 * manual/string.texi (Collation Functions): Fix typo in
9436 strcoll example.
9437 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
9438
34829bc2
AM
9439 [BZ #15893]
9440 * stdlib/isomac.c (get_null_defines): Fix memory leak.
9441
3932737d
AM
9442 [BZ #15892]
9443 * libio/memstream.c (open_memstream): Fix memory leak.
9444 * libio/wmemstream.c (open_wmemstream): Likewise.
9445
83e43bf0
AM
9446 [BZ #15895]
9447 * nscd/netgroupcache.c: Fix nesting of ifdefs.
9448
0c66b8e9
WN
94492013-09-09 Will Newton <will.newton@linaro.org>
9450
9451 * malloc/Makefile: Add tst-realloc to tests.
9452 * malloc/tst-realloc.c: New file.
9453
f6b00fd1
AM
94542013-09-09 Allan McRae <allan@archlinux.org>
9455
9456 [BZ #15844]
9457 * COPYING: Update from GNU website to fix FSF address.
9458 * COPYING.LIB: Likewise.
9459
eec55e16
DM
94602013-09-06 David S. Miller <davem@davemloft.net>
9461
9462 * po/zh_TW.po: Update Chinese (traditional) translation from
9463 translation project.
9464
1ecbb381
RS
94652013-09-06 Richard Sandiford <richard@codesourcery.com>
9466 Joseph Myers <joseph@codesourcery.com>
9467
9468 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
9469 "localeinfo.h".
9470 (obstack_chunk_alloc): New macro.
9471 (obstack_chunk_free): Likewise.
9472 (record_offset): New function.
9473 (init_locale_data): Likewise.
9474 (align_locale_data): Likewise.
9475 (add_locale_empty): Likewise.
9476 (add_locale_raw_data): Likewise.
9477 (add_locale_raw_obstack): Likewise.
9478 (add_locale_string): Likewise.
9479 (add_locale_wstring): Likewise.
9480 (add_locale_uint32): Likewise.
9481 (add_locale_uint32_array): Likewise.
9482 (add_locale_char): Likewise.
9483 (start_locale_structure): Likewise.
9484 (end_locale_structure): Likewise.
9485 (start_locale_prelude): Likewise.
9486 (end_locale_prelude): Likewise.
9487 (write_locale_data): Take locale_file structure rather than an
9488 iovec.
9489 * locale/programs/locfile.h: Include "obstack.h".
9490 (struct locale_file): Change to store locale file contents instead
9491 of header.
9492 (init_locale_data): New prototype.
9493 (align_locale_data): Likewise.
9494 (add_locale_empty): Likewise.
9495 (add_locale_raw_data): Likewise.
9496 (add_locale_raw_obstack): Likewise.
9497 (add_locale_string): Likewise.
9498 (add_locale_wstring): Likewise.
9499 (add_locale_uint32): Likewise.
9500 (add_locale_uint32_array): Likewise.
9501 (add_locale_char): Likewise.
9502 (start_locale_structure): Likewise.
9503 (end_locale_structure): Likewise.
9504 (start_locale_prelude): Likewise.
9505 (end_locale_prelude): Likewise.
9506 (write_locale_data): Update prototype.
9507 * locale/programs/3level.h (struct TABLE): Remove result field.
9508 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
9509 Use new locale_file interface.
9510 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
9511 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
9512 * locale/programs/ld-address.c (address_output): Use new
9513 locale_file interface.
9514 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
9515 NO_ADD_LOCALE.
9516 (collate_finish): Don't call collseq_table_finalize.
9517 (collate_output): Use new locale_file interface.
9518 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
9519 in file.
9520 (NO_FINALIZE): Change to NO_ADD_LOCALE.
9521 (TABLE): Move defines earlier in file.
9522 (ELEMENT): Likewise.
9523 (DEFAULT): Likewise.
9524 (wctrans_table_add): Move macro and inline function earlier in
9525 file.
9526 (struct wctype_table): Move type earlier in file.
9527 (add_locale_wctype_table): New static prototype.
9528 (struct locale_ctype_t): Use logical types instead of struct iovec
9529 pointers for members.
9530 (ctype_output): Use new locale_file interface.
9531 (wctype_table_finalize): Change to add_locale_wctype_table. Use
9532 new locale_file interface.
9533 (allocate_arrays): Update for use of new locale_file interface.
9534 * locale/programs/ld-identification.c (identification_output): Use
9535 new locale_file interface.
9536 * locale/programs/ld-measurement.c (measurement_output): Likewise.
9537 * locale/programs/ld-messages.c (messages_output): Likewise.
9538 * locale/programs/ld-monetary.c (monetary_output): Likewise.
9539 * locale/programs/ld-name.c (name_output): Likewise.
9540 * locale/programs/ld-numeric.c (numeric_output): Likewise.
9541 * locale/programs/ld-paper.c (paper_output): Likewise.
9542 * locale/programs/ld-telephone.c (telephone_output): Likewise.
9543 * locale/programs/ld-time.c (time_output): Likewise.
9544
e029e2e5
AZ
95452013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9546
9547 * benchtests/Makefile: Add memrchr benchmark.
9548 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
9549 benchmark as memrchr.
9550 * benchtests/bench-memrchr-ifunc.c: New file.
9551 * benchtests/bench-memrchr.c: New file.
9552
bbf6e8e4
WN
95532013-09-06 Will Newton <will.newton@linaro.org>
9554
9555 * benchtests/Makefile (string-bench): Add memcpy.
9556
6c82a2f8
CD
95572013-09-05 Carlos O'Donell <carlos@redhat.com>
9558 Cong Wang <amwang@redhat.com>
9559
e732c5f0 9560 [BZ #15850]
6c82a2f8
CD
9561 * sysdeps/unix/sysv/linux/bits/in.h
9562 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
9563 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
9564 before __USE_KERNEL_IPV6_DEFS uses.
9565 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
9566 IPPROTO_BEETPH.
9567 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
9568 sockaddr_in6, or ipv6_mreq.
9569
5430fc65
AZ
95702013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9571
9572 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
9573 memory access for final bytes in some large inputs.
9574 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
9575
4660856c
AZ
95762013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9577
9578 * string/test-memrchr.c: New file.
9579 * string/test-memrchr-ifunc.c: New file.
9580 * string/Makefile: Add new memrchr testcase.
9581
bb8ea713
MF
95822013-09-05 Mike Frysinger <vapier@gentoo.org>
9583
9584 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
9585 fanotify_init returns EPERM.
9586
b92a20b5
JM
95872013-09-04 Joseph Myers <joseph@codesourcery.com>
9588
9589 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
9590 errors.
9591 (top level): Treat second token from macro or constant entries for
9592 allowed headers as allowed.
9593 * include/complex.h: Condition internal declarations on
9594 [!_ISOMAC].
9595 * include/fenv.h: Condition include of <stdbool.h> and internal
9596 declarations on [!_ISOMAC].
7447ccd9
CL
9597
95982013-09-04 Chris Leonard <cjl@sugarlabs,.org>
9599
3e181dda 9600 [BZ #15923]
7447ccd9
CL
9601 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
9602
3f2e46a4
JM
96032013-09-04 Joseph Myers <joseph@codesourcery.com>
9604
9605 * configure.in (--enable-versioning): Remove configure option.
9606 (libc_cv_asm_symver_directive): Remove configure test.
9607 (libc_cv_ld_version_script_option): Likewise.
9608 (VERSIONING): Remove variable and AC_SUBST.
9609 (DO_VERSIONING): Remove AC_DEFINE.
9610 * configure: Regenerated.
9611 * config.h.in (DO_VERSIONING): Remove macro.
9612 * Makerules [$(versioning) = yes]: Change conditionals to
9613 [$(build-shared) = yes].
9614 * config.make.in (versioning): Remove variable.
9615 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
9616 [$(build-shared) = yes].
9617 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
9618 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
9619 * elf/Makefile [$(versioning) = yes]: Change conditionals to
9620 [$(build-shared) = yes].
9621 * extra-lib.mk [$(versioning) = yes]: Likewise.
9622 * hurd/Makefile [$(versioning) = yes]: Likewise.
9623 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
9624 [SHARED].
9625 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
9626 [SHARED].
9627 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
9628 [SHARED && !NO_HIDDEN].
9629 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
9630 [SHARED].
9631 [SHARED && DO_VERSIONING]: Likewise..
9632 * libio/Makefile [$(versioning) = yes]: Change conditionals to
9633 [$(build-shared) = yes].
9634 * manual/install.texi (--disable-versioning): Remove
9635 documentation.
9636 * INSTALL: Regenerated.
9637 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
9638 to [SHARED].
9639 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
9640 [$(build-shared) = yes].
9641 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
9642 * sysdeps/i386/i686/multiarch/strstr-c.c
9643 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
9644 [SHARED && !NO_HIDDEN].
9645 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
9646 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
9647 * sysdeps/powerpc/powerpc32/dl-machine.c
9648 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
9649 * sysdeps/powerpc/powerpc32/sysdep.h
9650 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
9651 to [SHARED && PIC && !NO_HIDDEN].
9652 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
9653 conditional to [SHARED].
9654
44558701
WN
96552013-09-04 Will Newton <will.newton@linaro.org>
9656
9657 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
9658 * benchtests/bench-string.h: Include bench-timing.h instead
9659 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
9660 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
9661 call to HP_TIMING_DIFF_INIT.
9662 * benchtests/bench-memccpy.c: Use bench-timing.h macros
9663 instead of hp-timing.h macros.
9664 * benchtests/bench-memchr.c: Likewise.
9665 * benchtests/bench-memcmp.c: Likewise.
9666 * benchtests/bench-memcpy.c: Likewise.
9667 * benchtests/bench-memmem.c: Likewise.
9668 * benchtests/bench-memmove.c: Likewise.
9669 * benchtests/bench-memset.c: Likewise.
9670 * benchtests/bench-rawmemchr.c: Likewise.
9671 * benchtests/bench-strcasecmp.c: Likewise.
9672 * benchtests/bench-strcasestr.c: Likewise.
9673 * benchtests/bench-strcat.c: Likewise.
9674 * benchtests/bench-strchr.c: Likewise.
9675 * benchtests/bench-strcmp.c: Likewise.
9676 * benchtests/bench-strcpy.c: Likewise.
9677 * benchtests/bench-strcpy_chk.c: Likewise.
9678 * benchtests/bench-strlen.c: Likewise.
9679 * benchtests/bench-strncasecmp.c: Likewise.
9680 * benchtests/bench-strncat.c: Likewise.
9681 * benchtests/bench-strncmp.c: Likewise.
9682 * benchtests/bench-strncpy.c: Likewise.
9683 * benchtests/bench-strnlen.c: Likewise.
9684 * benchtests/bench-strpbrk.c: Likewise.
9685 * benchtests/bench-strrchr.c: Likewise.
9686 * benchtests/bench-strspn.c: Likewise.
9687 * benchtests/bench-strstr.c: Likewise.
9688
cae16d66
WN
96892013-09-04 Will Newton <will.newton@linaro.org>
9690
9691 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
9692
ffa3cd7f
JM
96932013-09-03 Joseph Myers <joseph@codesourcery.com>
9694
9695 [BZ #15427]
9696 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
9697 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
9698 * math/libm-test.inc (lgamma_test_data): Add more tests.
9699 * sysdeps/i386/fpu/libm-test-ulps: Update.
9700 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9701
8f02859f
OB
97022013-09-03 Ondřej Bílka <neleai@seznam.cz>
9703
9704 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
9705 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
9706 Add ifunc.
9707 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
9708 Add strcmp-sse2-unaligned
9709 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
9710
18d43716
MF
97112013-09-02 Mike Frysinger <vapier@gentoo.org>
9712
9713 * Versions.def (libc): Add GLIBC_2.19.
9714
ac444012
MF
97152013-09-02 Mike Frysinger <vapier@gentoo.org>
9716
9717 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
9718 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
9719
b7835e32
JM
97202013-09-02 Joseph Myers <joseph@codesourcery.com>
9721
9722 [BZ #14155]
9723 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
9724 intermediate calculations in recurrence.
9725 (__ieee754_ynf): Likewise.
9726 * math/libm-test.inc (jn_test_data): Do not allow spurious
9727 underflow exception. Add more tests.
9728 (yn_test_data): Add more tests.
9729 * sysdeps/i386/fpu/libm-test-ulps: Update.
9730 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9731
8220f4f0
OB
97322013-09-02 Ondřej Bílka <neleai@seznam.cz>
9733
9734 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
9735
f24a6d08
OB
97362013-08-30 Ondřej Bílka <neleai@seznam.cz>
9737
9738 * csu/init-first.c: Fix then/than typos.
9739 * locale/programs/ld-collate.c: Likewise.
9740 * locale/programs/linereader.h: Likewise.
9741 * manual/charset.texi: Likewise.
9742 * manual/filesys.texi: Likewise.
9743 * manual/stdio.texi: Likewise.
9744 * manual/string.texi: Likewise.
9745 * stdlib/fmtmsg.c: Likewise.
9746 * sysdeps/i386/stpncpy.S: Likewise.
9747 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
9748 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
9749 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
9750 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
9751
382466e0
OB
97522013-08-30 Ondřej Bílka <neleai@seznam.cz>
9753
9754 * elf/dl-open.c: Fix typos.
9755 * iconvdata/gbbig5.c: Likewise.
9756 * iconvdata/iso-2022-jp.c: Likewise.
9757 * iconv/gconv_int.h: Likewise.
9758 * iconv/loop.c: Likewise.
9759 * nis/rpcsvc/nis.h: Likewise.
9760 * resolv/ns_name.c: Likewise.
9761 * stdio-common/vfscanf.c: Likewise.
9762 * streams/stropts.h: Likewise.
9763 * sunrpc/rpc_thread.c: Likewise.
9764 * sysdeps/i386/strpbrk.S: Likewise.
9765 * sysdeps/ieee754/k_standard.c: Likewise.
9766 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
9767 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9768 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
9769 * sysdeps/mach/hurd/profil.c: Likewise.
9770 * sysdeps/s390/dl-procinfo.h: Likewise.
9771 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
9772 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
9773 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
9774 * sysdeps/x86_64/dl-trampoline.S: Likewise.
9775 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
9776
0186c6e9
OB
97772013-08-30 Ondřej Bílka <neleai@seznam.cz>
9778
9779 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
9780 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
9781
d4e16af1
OB
97822013-08-29 Ondřej Bílka <neleai@seznam.cz>
9783
9784 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
9785 aix specific files.
9786 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
9787 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
9788 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
9789 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
9790 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
9791 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
9792 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
9793 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
9794
88335980
TS
97952013-08-29 Thomas Schwinge <thomas@codesourcery.com>
9796 Roland McGrath <roland@hack.frob.com>
9797
9798 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
9799 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
9800
ed479b02
ST
98012013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
9802
9803 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
9804 __executable_start symbol instead of _start.
9805
f1cc4c86
TS
98062013-08-29 Thomas Schwinge <thomas@codesourcery.com>
9807
d821f07c
TS
9808 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
9809 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
9810 Move macros to...
9811 * sysdeps/gnu/ldsodefs.h: ... this new file.
9812
c54290cf
TS
9813 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
9814 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
9815 instead of ELFOSABI_LINUX.
9816
0007fc9b 9817 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
9818 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
9819 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
9820 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
9821 Likewise.
9822 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
9823 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
9824 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
9825 Likewise.
9826 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
9827 (ibm_extended_long_double): Add ieee_nan member.
9828 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
9829 (do_test): New function.
9830
f1cc4c86
TS
9831 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
9832 TEST_TRUNC.
9833 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
9834 functions, renamed from truncdfsf_test, trunctfsf_test,
9835 trunctfdf_test.
9836 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
9837 functions.
9838 (do_test): Run all these.
9839
6f65e668
OB
98402013-08-29 Ondřej Bílka <neleai@seznam.cz>
9841
9842 * argp/argp-help.c: Fix typos.
9843 * argp/argp-parse.c: Likewise.
9844 * debug/backtracesyms.c: Likewise.
9845 * elf/elf.h: Likewise.
9846 * malloc/malloc.c: Likewise.
9847 * nis/nis_print.c: Likewise.
9848 * resolv/res_comp.c: Likewise.
9849 * stdlib/stdlib.h: Likewise.
9850 * sunrpc/clnt_tcp.c: Likewise.
9851 * sunrpc/clnt_udp.c: Likewise.
9852 * sunrpc/clnt_unix.c: Likewise.
9853 * sysdeps/unix/bsd/ptsname.c: Likewise.
9854 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
9855 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
9856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
9857 Likewise.
9858 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
9859 Likewise.
9860 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
9861 Likewise.
6f65e668
OB
9862 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
9863
3a309239
SP
98642013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9865
9866 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
9867 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
9868
3b813b29
MF
98692013-08-27 Mike Frysinger <vapier@gentoo.org>
9870
9871 [BZ #15897]
9872 * dlfcn/Makefile (tests): Add bug-dl-leaf.
9873 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
9874 ($(objpfx)bug-dl-leaf): New rule.
9875 ($(objpfx)bug-dl-leaf.so): Likewise.
9876 ($(objpfx)bug-dl-leaf.out): Likewise.
9877 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
9878 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
9879 * dlfcn/bug-dl-leaf.c: New test.
9880 * dlfcn/bug-dl-leaf-lib.c: Likewise.
9881 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
9882 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
9883 (dlclose): Likewise.
9884 (dlmopen): Likewise.
9885
8cc3269f
RM
98862013-08-27 Roland McGrath <roland@hack.frob.com>
9887
7f9d0034
RM
9888 * include/netdb.h [!_ISOMAC]:
9889 Don't include <tls.h>.
9890 (h_errno, __libc_h_errno): Move declaration and macros out of
9891 [_LIBC_REENTRANT].
9892
fb431262
RM
9893 * include/resolv.h [_RESOLV_H_]:
9894 Don't include <tls.h>.
9895 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
9896 * resolv/res_libc.c: Don't include <tls.h>.
9897 (_res): Use __attribute__ ((nocommon)) in place of
9898 __attribute__ ((section (".bss"))).
9899
bd81123a
RM
9900 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
9901 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
9902
c4e42566
RM
9903 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
9904
f890a59b
RM
9905 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
9906 only under [SIOCGIFCONF && SIOCGIFNETMASK].
9907
9908 * resolv/res_mkquery.c: Include <sys/time.h>.
9909
5d1f0a09
RM
9910 * inet/ifreq.c: Moved to ...
9911 * sysdeps/unix/ifreq.c: ... here.
9912 * inet/ifreq.c: New file, true stub version.
9913
6fcf28b3
RM
9914 * socket/sa_len.c: New file.
9915 * socket/Makefile (aux): Add it.
9916 * sysdeps/unix/sysv/linux/Makefile
9917 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
9918 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
9919 and #include <socket/sa_len.c>.
9920 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
9921 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
9922
e041fb8b
RM
9923 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
9924 * bits/socket.h: ... here.
9925
8cc3269f
RM
9926 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
9927 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
9928 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
9929
5d228a43
AS
99302013-08-27 Andreas Schwab <schwab@suse.de>
9931
45b8accc
AS
9932 [BZ #15736]
9933 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
9934 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
9935 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
9936 * string/test-strcasecmp.c (test_main): Run tests in several
9937 locales.
9938 * string/test-strncasecmp.c (test_main): Likewise.
9939
5d228a43
AS
9940 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
9941 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
9942 to __strcasecmp_nonascii and __strncasecmp_nonascii.
9943 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
9944 (__strncasecmp_ssse3) [PIC]: Likewise.
9945
59d112a4
RM
99462013-08-26 Roland McGrath <roland@hack.frob.com>
9947
53234cc3
RM
9948 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
9949
59d112a4
RM
9950 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
9951 instead of explicitly declaring xdecrypt.
9952 * nis/nss_nis/nis-publickey.c: Likewise.
9953
595aba70
SP
99542013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9955
9956 [BZ #15890]
9957 * nscd/aicache.c: Include res_hconf.h.
9958 (addhstaiX): Initialize res_hconf.
9959
ffabd393
AS
99602013-08-26 Andreas Schwab <schwab@suse.de>
9961
9962 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
9963 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
9964
e0a69f5c
SP
99652013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9966
9967 * nscd/aicache.c (addhstaiX): Fix indentation.
9968
8c12f01d
MF
99692013-08-25 Mike Frysinger <vapier@gentoo.org>
9970
9971 * configure.ac: Quote $build_pt_chown test.
9972 * configure: Regenerated.
9973
8fe89494
JM
99742013-08-23 Joseph Myers <joseph@codesourcery.com>
9975
9976 [BZ #15532]
9977 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
9978 * math/s_cexpf.c (__cexpf): Likewise.
9979 * math/s_cexpl.c (__cexpl): Likewise.
9980 * math/libm-test.inc (cexp_test_data): Correct expected return
9981 value for NaN + i0. Add another test.
9982
75b181d6
DM
99832013-08-22 David S. Miller <davem@davemloft.net>
9984
9985 * po/ca.po: Update Catalan translation from translation project.
936241e4 9986 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 9987
acd06bb1
JM
99882013-08-21 Joseph Myers <joseph@codesourcery.com>
9989
9990 [BZ #15797]
9991 * math/s_fdim.c (__fdim): Check for infinite arguments if result
9992 is infinite, not alongside NaN test.
9993 * math/s_fdimf.c (__fdimf): Likewise.
9994 * math/s_fdiml.c (__fdiml): Likewise.
9995 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
9996 errno is unchanged.
9997
c0c3f78a
OB
99982013-08-21 Ondřej Bílka <neleai@seznam.cz>
9999
10000 * argp/argp-help.c: Fix typos.
10001 * crypt/speeds.c: Likewise.
10002 * csu/check_fds.c: Likewise.
10003 * elf/dl-load.c: Likewise.
10004 * elf/dl-open.c: Likewise.
10005 * elf/reldep3.c: Likewise.
10006 * elf/reldep.c: Likewise.
10007 * elf/sprof.c: Likewise.
10008 * iconv/iconv_charmap.c: Likewise.
10009 * iconv/skeleton.c: Likewise.
10010 * iconv/strtab.c: Likewise.
10011 * io/lockf64.c: Likewise.
10012 * libio/libioP.h: Likewise.
10013 * resolv/gai_notify.c: Likewise.
10014 * resolv/ns_name.c: Likewise.
10015 * resolv/ns_samedomain.c: Likewise.
10016 * resolv/res_send.c: Likewise.
10017 * stdlib/random.c: Likewise.
10018 * sunrpc/rpc/xdr.h: Likewise.
10019 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
10020 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
10021 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
10022 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
10023 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
10024 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
10025 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
10026 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
10027 * sysdeps/mach/hurd/check_fds.c: Likewise.
10028 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
10029 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
10030 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
10031 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
10032 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
10033 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
10034 * sysdeps/pthread/aio_notify.c: Likewise.
10035 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
10036 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
10037 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
10038 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
10039 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
10040
46ed1038
LD
100412013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10042
10043 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
10044 version if bit_Slow_SSE4_2 is set.
10045 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10046 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
10047
d400dcac
AZ
100482013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10049
10050 [BZ #15867]
10051 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
10052 trampoline stack frame information.
10053 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
10054 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
10055 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
10056 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
10057 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
10058 * sysdeps/unix/sysv/linux/powerpc/init-first.c
10059 (_libc_vdso_platform_setup): Initialize the signal trampolines.
10060 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
10061 sa_flags value.
10062 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
10063 interrupting a syscall and set with option SA_SIGINFO.
10064
42c8fdd8
JM
100652013-08-20 Joseph Myers <joseph@codesourcery.com>
10066
c980f2f4
JM
10067 [BZ #15531]
10068 * math/s_cproj.c (__cproj): Only return an infinity if one part of
10069 argument is infinite.
10070 * math/s_cprojf.c (__cprojf): Likewise.
10071 * math/s_cprojl.c (__cprojl): Likewise.
10072 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
10073 * math/libm-test.inc (cproj_test_data): Add more tests.
10074
0716c4fc
JM
10075 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
10076
42c8fdd8
JM
10077 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
10078 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
10079 size. Use __ffs to determine corresponding shift.
10080
b31469d0
JM
100812013-08-20 Joseph Myers <joseph@codesourcery.com>
10082 Roland McGrath <roland@hack.frob.com>
10083
10084 * Makefile (INSTALL): Remove trailing blank lines from output of
10085 makeinfo.
10086
4e39af6e
AK
100872013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10088
10089 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
10090 Align 32 bit compat elf_greg to 8 bytes.
10091
f315524e
AA
100922013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
10093
10094 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
10095
1326ba1a
SP
100962013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
10097
10098 * string/strcoll_l.c (coll_seq): New structure.
10099 (get_next_seq_cached): New function.
10100 (get_next_seq): New function.
10101 (do_compare): New function.
10102 (STRCOLL): Use GNU style definition. Simplify implementation
10103 by using get_next_seq, get_next_seq_cached and do_compare.
10104
91ce4085
FW
101052013-08-16 Florian Weimer <fweimer@redhat.com>
10106
10107 [BZ #14699]
10108 CVE-2013-4237
10109 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
10110 member.
10111 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
10112 member.
10113 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
10114 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
10115 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
10116 conditional.
10117 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
10118 GETDENTS_64BIT_ALIGNED.
10119 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
10120 * manual/filesys.texi (Reading/Closing Directory): Document
10121 ENAMETOOLONG return value of readdir_r. Recommend readdir more
10122 strongly.
10123 * manual/conf.texi (Limits for Files): Add portability note to
10124 NAME_MAX, PATH_MAX.
10125 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
10126
ca0a6bc4
AS
101272013-08-13 Andreas Schwab <schwab@suse.de>
10128
10129 [BZ #15749]
10130 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
10131 of fabs.
10132 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
10133 LDBL_MAX_EXP >= 16384]: Add tests for it.
10134
6c1fd795
DM
101352013-08-12 David S. Miller <davem@davemloft.net>
10136
10137 * version.h (RELEASE): Set to "development".
10138 (VERSION): Set to "2.18.90".
10139 * NEWS: Add 2.19 section.
10140
31ad488d
DM
101412013-08-03 David S. Miller <davem@davemloft.net>
10142
10143 * po/ko.po: Update Korean translation from translation project.
10144
db24e684
DM
101452013-08-01 David S. Miller <davem@davemloft.net>
10146
10147 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
10148 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
10149 Bilka.
10150
f723285b
DM
101512013-07-30 David S. Miller <davem@davemloft.net>
10152
10153 * po/fr.po: Update French translation from translation project.
10154
3cbc52db
DM
101552013-07-28 David S. Miller <davem@davemloft.net>
10156
30bbc0cc
DM
10157 * po/cs.po: Update Czech translation from translation project.
10158
3cbc52db
DM
10159 * po/sv.po: Update Swedish translation from translation project.
10160
d492e6d0
DM
101612013-07-27 David S. Miller <davem@davemloft.net>
10162
f1a7f492
DM
10163 * po/eo.po: Update Esperanto translation from translation project.
10164
90e62a4a
DM
10165 * po/vi.po: Update Vietnamese translation from translation project.
10166
d492e6d0
DM
10167 * po/de.po: Update German translation from translation project.
10168
d4baa62d
DM
101692013-07-26 David S. Miller <davem@davemloft.net>
10170
641aa7b4
DM
10171 * po/bg.po: Update Bulgarian translation from translation project.
10172
d4baa62d
DM
10173 * po/nl.po: Update Dutch translation from translation project.
10174 * po/pl.po: Update Polish translation from translation project.
10175 * po/ru.po: Update Russian translation from translation project.
10176
61a9dcb9
DM
101772013-07-24 David S. Miller <davem@davemloft.net>
10178
10179 * po/libc.pot: Update.
10180
7b1f8b58
AZ
101812013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10182
10183 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
10184 variable page size.
10185 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
10186 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
10187 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
10188
a8fc7a03
AK
101892013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10190
10191 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
10192
e4608715
CD
101932013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10194 Andreas Schwab <schwab@suse.de>
10195 Roland McGrath <roland@hack.frob.com>
10196 Joseph Myers <joseph@codesourcery.com>
10197 Carlos O'Donell <carlos@redhat.com>
10198
10199 [BZ #15755]
10200 * config.h.in: Define HAVE_PT_CHOWN.
10201 * config.make.in (build-pt-chown): New variable.
10202 * configure.in (--enable-pt_chown): New configure option.
10203 * configure: Regenerate.
10204 * login/Makefile: Include Makeconfig. Build pt_chown only if
10205 build-pt-chown is enabled.
10206 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
10207 pt_chown to fix pty ownership.
10208 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
10209 CLOSE_ALL_FDS.
10210 * manual/install.texi (Configuring and compiling): Mention
10211 --enable-pt_chown. Add @findex for grantpt.
10212 * INSTALL: Regenerate.
10213
da2d62df
DM
102142013-07-20 David S. Miller <davem@davemloft.net>
10215
10216 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
10217 difference between 32-bit and 64-bit.
10218
d7e06450
CD
102192013-07-15 Carlos O'Donell <carlos@redhat.com>
10220
10221 [BZ #15711]
10222 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
10223 Avoid system header dependency with -ffreestanding.
10224 ($(objpfx)bits/syscall%d): Likewise.
10225
f959cfd7
DM
102262013-07-13 David S. Miller <davem@davemloft.net>
10227
10228 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
10229 underflows from atanl/atan2l due to bug 15319.
10230 (casinh_test_data): Likewise.
10231
c61f8513
DM
102322013-07-07 David S. Miller <davem@davemloft.net>
10233
10234 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
10235
72c90ed0
JA
102362013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
10237
10238 * sysdeps/i386/fpu/libm-test-ulps: Update.
10239 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10240
52dfbe13
SP
102412013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10242
10243 * configure.in (--enable-lock-elision): Fix message text.
10244 * INSTALL: Regenerate.
10245 * configure: Regenerate.
10246
3f169543
AZ
102472013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10248
10249 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10250
521c6785
AJ
102512013-07-03 Andreas Jaeger <aj@suse.de>
10252
10253 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
10254 define.
10255 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
10256 (ptrace_peeksiginfo_args): Add.
10257 (__ptrace_peeksiginfo_flags): Add.
10258 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10259 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10260 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10261
d2cc15cb
AM
102622013-07-03 Allan McRae <allan@archlinux.org>
10263
10264 * sysdeps/i386/fpu/libm-test-ulps: Update.
10265
3aaeeca7
DM
102662013-07-02 David S. Miller <davem@davemloft.net>
10267
10268 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10269
5314ed1a
MT
102702013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
10271
10272 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10273
67338156
JM
102742013-07-02 Joseph Myers <joseph@codesourcery.com>
10275
10276 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
10277 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10278
1717da59
AK
102792013-07-02 Andi Kleen <ak@linux.intel.com>
10280
10281 * config.h.in (ENABLE_LOCK_ELISION): Add.
10282 * configure.in (--enable-lock-elision): Add option.
10283 * manual/install.texi: Document --enable lock elision.
10284 * configure: Regenerate
10285 * INSTALL: Regenerate.
10286
1c81621c
L
102872013-07-02 H.J. Lu <hongjiu.lu@intel.com>
10288
10289 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
10290 SSE4.2 strcasecmp for libc.a.
10291 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
10292
77f01ab5
JM
102932013-07-02 Joseph Myers <joseph@codesourcery.com>
10294
10295 [BZ #13304]
10296 * soft-fp/op-common.h (_FP_FMA): New macro.
10297 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
10298 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
10299 (_FP_MUL_MEAT_1_imm): ... here.
10300 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
10301 (_FP_MUL_MEAT_1_wide): ... here.
10302 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
10303 (_FP_MUL_MEAT_1_hard): ... here.
10304 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
10305 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
10306 (_FP_MUL_MEAT_2_wide): ... here.
10307 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
10308 (_FP_MUL_MEAT_2_wide_3mul): ... here.
10309 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
10310 (_FP_MUL_MEAT_2_gmp): ... here.
10311 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
10312 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
10313 (_FP_MUL_MEAT_4_wide): ... here.
10314 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
10315 (_FP_MUL_MEAT_4_gmp): ... here.
10316 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
10317 (_FP_WFRACBITS_DW_S): Likewise.
10318 (_FP_WFRACXBITS_DW_S): Likewise.
10319 (_FP_HIGHBIT_DW_S): Likewise.
10320 (FP_FMA_S): Likewise.
10321 (_FP_FRAC_HIGH_DW_S): Likewise.
10322 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
10323 (_FP_WFRACBITS_DW_D): Likewise.
10324 (_FP_WFRACXBITS_DW_D): Likewise.
10325 (_FP_HIGHBIT_DW_D): Likewise.
10326 (FP_FMA_D): Likewise.
10327 (_FP_FRAC_HIGH_DW_D): Likewise.
10328 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
10329 (_FP_WFRACBITS_DW_E): Likewise.
10330 (_FP_WFRACXBITS_DW_E): Likewise.
10331 (_FP_HIGHBIT_DW_E): Likewise.
10332 (FP_FMA_E): Likewise.
10333 (_FP_FRAC_HIGH_DW_E): Likewise.
10334 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
10335 (_FP_WFRACBITS_DW_Q): Likewise.
10336 (_FP_WFRACXBITS_DW_Q): Likewise.
10337 (_FP_HIGHBIT_DW_Q): Likewise.
10338 (FP_FMA_Q): Likewise.
10339 (_FP_FRAC_HIGH_DW_Q): Likewise.
10340 * soft-fp/fmasf4.c: New file.
10341 * soft-fp/fmadf4.c: Likewise.
10342 * soft-fp/fmatf4.c: Likewise.
10343
6308fd9a
LD
103442013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10345
10346 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
10347 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
10348 Silvermont.
10349 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
10350 macro.
10351 (index_Slow_SSE4_2): Likewise.
10352 (index_Prefer_PMINUB_for_stringop): Likewise.
10353 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
10354 bit_Slow_SSE4_2 is set.
10355 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
10356 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
10357
89cd9569
RA
103582013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10359
10360 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
10361 rtld_global._dl_hwcap2.
10362 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
10363 POWER8.
10364 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
10365 POWER8 feature descriptions defined in _dl_hwcap2.
10366 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
10367 string handling for POWER8 feature bits.
10368 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
10369 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
10370 _dl_powerpc_cap_flags.
10371 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
10372 * sysdeps/powerpc/rtld-global-offsets.sym
10373 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
10374 _dl_hwcap2 in the rtld_global_ro structure.
10375
1ae8bfe0
RA
103762013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10377
10378 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
10379 hardware capabilities in support of AT_HWCAP2.
10380 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
10381 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
10382 GLRO(dl_hwcap2).
10383 (_dl_show_auxv): Add support for calling _dl_procinfo to display
10384 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
10385 explicitly the unknown a_type display mechanism is used.
10386 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
10387 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
10388 struct member.
10389 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
10390 to macro prototype for AT_HWCAP2 support.
10391 * sysdeps/i386/dl-procinfo.h: Likewise.
10392 * sysdeps/s390/dl-procinfo.h: Likewise.
10393 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
10394 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
10395 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
10396 return -1 for unknown a_type display fallback.
10397 * sysdeps/sparc/dl-procinfo.h: Likewise.
10398 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
10399 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
10400
8fbec010
JM
104012013-06-28 Joseph Myers <joseph@codesourcery.com>
10402
10403 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
10404 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
10405
0432680e
PY
104062013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
10407
10408 [BZ #12492]
10409 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
10410 mprotect making __stack_prot writable.
10411
ce61a2ad
NF
104122013-06-28 Nathan Froyd <froydnj@codesourcery.com>
10413 Joseph Myers <joseph@codesourcery.com>
10414
10415 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
10416 as being properly aligned.
10417
f91f1c0f
MR
104182013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
10419
3d0f5d0c
MR
10420 * dlfcn/modstatic5.c: New file.
10421 * dlfcn/tststatic5.c: New file.
10422 * dlfcn/Makefile (tests): Add tststatic5.
10423 (tests-static): Likewise.
10424 (modules-names): Add modstatic5.
10425 (tststatic5-ENV): New variable.
10426 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
10427
f91f1c0f
MR
10428 [BZ #15022]
10429 * elf/dl-support.c (_dl_main_map): New variable.
10430 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
10431 (_dl_nns, _dl_load_adds): Set to 1.
10432 (_dl_initial_searchlist): Refer to _dl_main_map.
10433 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
10434 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
10435 call to _dl_get_origin.
10436 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
10437 around call_map.
10438 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
10439 * dlfcn/modstatic3.c: New file.
10440 * dlfcn/tststatic3.c: New file.
10441 * dlfcn/tststatic4.c: New file.
10442 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
10443 (tests-static): Likewise.
10444 (modules-names): Add modstatic3.
10445 (tststatic3-ENV, tststatic4-ENV): New variables.
10446 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
10447 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
10448
cbe7d24b
JM
104492013-06-26 Joseph Myers <joseph@codesourcery.com>
10450
10451 * configure.in (CC): Require GCC version 4.4 or later.
10452 * configure: Regenerated.
10453 * manual/install.texi (Tools for Compilation): Update GCC version
10454 requirement.
10455 * INSTALL: Regenerated.
10456
11b8a0e1
LD
104572013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10458
10459 [BZ #15674]
bb5bb87c
L
10460 * string/test-memcmp.c (check2): New.
10461 (main): Call check2.
10462
11b8a0e1
LD
10463 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
10464
b0037103
MR
104652013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
10466
10467 [BZ #15022]
10468 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
10469 over to...
10470 (dl_open_worker) [!SHARED]: ... here.
10471
c18c701d
RA
104722013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10473
10474 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
10475
1d17fa5f
RH
104762013-06-25 Richard Henderson <rth@redhat.com>
10477
10478 * locale/programs/locarchive.c: Include <libc-internal.h>
10479
8fcb833a
JM
104802013-06-25 Joseph Myers <joseph@codesourcery.com>
10481
10482 * manual/texinfo.tex: Update to version 2013-06-21.17, with
10483 trailing whitespace removed.
10484
17db6e8d
MF
104852013-06-24 Mike Frysinger <vapier@gentoo.org>
10486
10487 [BZ #10283]
17db6e8d
MF
10488 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
10489 * locale/programs/locarchive.c: Include libc-mmap.h.
10490 (prepare_address_space): Take two new outputs (the mmap base and len).
10491 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
10492 values.
10493 (create_archive): Declare new mmap base and len values for
10494 prepare_address_space, and store the result in ah.
10495 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
10496 (enlarge_archive): If ah->mmap_base is not NULL, use that and
10497 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
10498 Declare new mmap base and len values for
10499 prepare_address_space, and store the result in new_ah.
10500 (open_archive): Declare new mmap base and len values for
10501 prepare_address_space, and store the result in ah.
10502 (close_archive): If ah->mmap_base is not NULL, use that and
10503 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
10504 * sysdeps/generic/libc-mmap.h: New file.
10505
d605071e
MF
105062013-06-24 Mike Frysinger <vapier@gentoo.org>
10507
10508 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
10509 (ALIGN_UP): Likewise.
10510 (PTR_ALIGN_DOWN): Likewise.
10511 (PTR_ALIGN_UP): Likewise.
10512
2f063a6e
RA
105132013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10514
10515 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
10516 entry mapped to PPC_PLATFORM_POWER8.
10517 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
10518 POWER8.
10519 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
10520 (_dl_string_platform): Add case for exporting platform position for
10521 POWER8.
10522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
10523 search path to sysdeps/powerpc/powerpc32/power8 directory.
10524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
10525 search path to sysdeps/powerpc/powerpc64/power8 directory.
10526 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
10527 power7 directories.
10528 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
10529 power7 directories.
10530
a31ee4b3
SP
105312013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10532
a74ca98f
SP
10533 * INSTALL: Regenerate.
10534
a31ee4b3
SP
10535 * nscd/connections.c (nscd_init): Fix comment.
10536
695c378f
JM
105372013-06-22 Joseph Myers <joseph@codesourcery.com>
10538
d8412221
JM
10539 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
10540
695c378f
JM
10541 [BZ #15667]
10542 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
10543 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
10544
d1d54715
MR
105452013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
10546
10547 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
10548 DL_DST_REQ_STATIC.
10549 (DL_DST_REQ_STATIC): Remove macro.
10550
8fdda7af
JM
105512013-06-21 Joseph Myers <joseph@codesourcery.com>
10552
10553 [BZ #7006]
10554 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
10555 with a shift of 0 bits.
10556
f3bc5e5a
MR
105572013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
10558
10559 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
10560 $(tststatic-ENV).
10561
be09e8c9
KK
105622013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10563
10564 [BZ #15655]
10565 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
10566
85c2e611
AZ
105672013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10568
10569 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
10570 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
10571 accepts -fno-tree-loop-distribute-patterns.
10572 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
10573 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
10574 recursive call.
10575 * string/memset.c (memset): Likewise.
10576 * string/test-memmove.c (simple_memmove): Disable loop transformation
10577 to library calls.
10578 * string/test-memset.c (simple_memset): Likewise.
10579 * benchtests/bench-memmove.c (simple_memmove): Likewise.
10580 * benchtests/bench-memset.c (simple_memset): Likewise.
10581 * configure: Regenerated.
10582
c91e0825
JM
105832013-06-20 Joseph Myers <joseph@codesourcery.com>
10584
b8c792af
JM
10585 * math/test-misc.c (main): Ignore fesetround failure when failures
10586 of subsequent rounding tests would be ignored.
10587
c91e0825
JM
10588 [BZ #15654]
10589 * math/fedisblxcpt.c (fedisableexcept): Return 0.
10590 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
10591 * math/fegetenv.c (__fegetenv): Return 0.
10592 * math/fegetexcept.c (fegetexcept): Return 0.
10593 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
10594 FE_TONEAREST.
10595 * math/feholdexcpt.c (feholdexcept): Return 0.
10596 * math/fesetenv.c (__fesetenv): Return 0.
10597 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
10598 argument FE_TONEAREST.
10599 * math/feupdateenv.c (__feupdateenv): Return 0.
10600 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
10601
bfcacbde
RM
106022013-06-18 Roland McGrath <roland@hack.frob.com>
10603
10604 * elf/rtld-Rules (rtld-compile-command.S): New variable.
10605 (rtld-compile-command.s, rtld-compile-command.c): New variables.
10606 ($(objpfx)rtld-%.os rules): Use them.
10607
e55a9b25
AZ
106082013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10609
10610 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
10611 fields.
10612
346d65b3
RM
106132013-06-17 Roland McGrath <roland@hack.frob.com>
10614
12086fb4
RM
10615 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
10616 length of target pattern, then descending length of dependency pattern.
10617 * configure.in (AWK): Require gawk 3.1.2 or newer.
10618 * manual/install.texi (Tools for Compilation): Say that we do.
10619 * configure: Regenerated.
10620
346d65b3
RM
10621 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
10622 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
10623 * scripts/sysd-rules.awk: ... this new script.
10624 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
10625 than a glob-style pattern.
10626
1a846317
JM
106272013-06-17 Joseph Myers <joseph@codesourcery.com>
10628
10629 * math/test-misc.c (main): Do not treat incorrectly rounded
10630 conversions as failure unless ROUNDING_TESTS passes.
10631
8fc75e6f
JM
106322013-06-15 Joseph Myers <joseph@codesourcery.com>
10633
3711a167
JM
10634 [BZ #15631]
10635 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
10636 restore exception state around main square root computation, then
10637 check for inexactness explicitly.
10638
8fc75e6f
JM
10639 * math/libm-test.inc (fma_test_data): Add another test.
10640
61dd6208
SP
106412013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10642
adf23d2c
SP
10643 * manual/threads.texi (Non-POSIX Extensions): New document
10644 node. Document pthread_getattr_default_np and
10645 pthread_setattr_default_np.
10646
61dd6208
SP
10647 * Versions.def (libpthread): Add GLIBC_2.18.
10648 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
10649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
10650 Likewise.
10651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
10652 Likewise.
10653 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10654 Likewise.
10655 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10656 Likewise.
10657 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
10658 Likewise.
10659 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
10660 Likewise.
10661 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
10662 Likewise.
10663 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
10664 Likewise.
10665 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
10666 Likewise.
10667
d086fc7b
LD
106682013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10669
10670 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10671 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
10672
747ef469
SP
106732013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
10674 H.J. Lu <hjl.tools@gmail.com>
10675
10676 [BZ #15627]
10677 * sysdeps/x86_64/rtld-memset.c: Remove file.
10678 * sysdeps/x86_64/rtld-memset.S: New file.
10679
1b2feed2
JM
106802013-06-14 Joseph Myers <joseph@codesourcery.com>
10681
10682 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
10683 (test_in_one_mode): Take arguments for whether the rounding mode
10684 is supported for each floating-point type.
10685 (do_test): Pass new arguments to test_in_one_mode using
10686 ROUNDING_TESTS.
10687
a58ad3f8
RM
106882013-06-13 Roland McGrath <roland@hack.frob.com>
10689
10690 * posix/tst-waitid.c (do_test): Distinguish different instances of
10691 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
10692 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
10693 before entering the kernel for waitpid.
10694
c204ab28
SP
106952013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
10696
10697 * NEWS: Fix note on clock function precision. Text by Roland
10698 McGrath.
10699
f4a29fba
RM
107002013-06-13 Roland McGrath <roland@hack.frob.com>
10701
10702 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
10703 it into place only when and if the sanity check passes.
10704
1f24b9ad
JM
107052013-06-13 Joseph Myers <joseph@codesourcery.com>
10706
10707 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
10708 output for whether conversion result is exact. Take argument
10709 indicating whether type is IBM long double.
10710 (round_for_all): Change need_exact field to ibm_ld.
10711 * stdlib/tst-strtod-round.c (struct exactness): New type.
10712 (struct test): Change bool ld_ok field to struct exactness exact.
10713 (TEST): Update all definitions for change to field.
10714 (tests): Regenerate array contents.
10715 (test_in_one_mode): Take pointer to new field instead of old ld_ok
10716 field value. Check for IBM long double here.
10717 (do_test): Update calls to test_in_one_mode.
10718
58206c68
SP
107192013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
10720
10721 [BZ #12515]
10722 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
10723 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
10724
2d6f4c5b 107252013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
10726
10727 [BZ #15605]
10728 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
10729 generated by the compiler on loop optimizations.
10730 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
10731 general definitions.
10732
94f2c076
JM
107332013-06-12 Joseph Myers <joseph@codesourcery.com>
10734
10735 * math/bug-nextafter.c: Include <math-tests.h>.
10736 (main): Only test for exceptions if EXCEPTION_TESTS is true for
10737 the relevant type.
10738 * math/bug-nexttoward.c: Include <math-tests.h>.
10739 (main): Only test for exceptions if EXCEPTION_TESTS is true for
10740 the relevant type.
10741 * math/test-misc.c: Include <math-tests.h>.
10742 (main): Only test for exceptions if EXCEPTION_TESTS is true for
10743 the relevant type.
10744
e0e50a0a
AJ
107452013-06-12 Andreas Jaeger <aj@suse.de>
10746
10747 * po/ia.po: Update Interlingua translation from translation
10748 project.
10749
25061094
SP
107502013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
10751
10752 * include/fenv.h: Include stdbool.h.
10753 (struct rm_ctx): New structure.
10754 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
10755 Define macro.
10756 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
10757 (SET_RESTORE_ROUNDF): Likewise.
10758 (SET_RESTORE_ROUNDL): Likewise.
10759 (SET_RESTORE_ROUND_NOEX): Likewise.
10760 (SET_RESTORE_ROUND_NOEXF): Likewise.
10761 (SET_RESTORE_ROUND_NOEXL): Likewise.
10762 (SET_RESTORE_ROUND_53BIT): Likewise.
10763 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
10764 (libc_feresetround_noexf_ctx): Likewise.
10765 (libc_feresetround_noexl_ctx): Likewise.
10766 (libc_feholdsetround_53bit_ctx): Likewise.
10767 (libc_feresetround_53bit_ctx): Likewise.
10768 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
10769 (libc_feholdexcept_setround_sse_ctx): New function.
10770 (libc_fesetenv_sse_ctx): Likewise.
10771 (libc_feupdateenv_sse_ctx): Likewise.
10772 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
10773 (libc_feholdexcept_setround_387_ctx): Likewise.
10774 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
10775 (libc_feholdsetround_387_prec_ctx): Likewise.
10776 (libc_feholdsetround_387_ctx): Likewise.
10777 (libc_feholdsetround_387_53bit_ctx): Likewise.
10778 (libc_feholdsetround_sse_ctx): Likewise.
10779 (libc_feresetround_sse_ctx): Likewise.
10780 (libc_feresetround_387_ctx): Likewise.
10781 (libc_feupdateenv_387_ctx): Likewise.
10782 (libc_feholdexcept_setroundf_ctx): Define macro.
10783 (libc_fesetenvf_ctx): Likewise.
10784 (libc_feupdateenvf_ctx): Likewise.
10785 (libc_feholdsetroundf_ctx): Likewise.
10786 (libc_feresetroundf_ctx): Likewise.
10787 (libc_feholdexcept_setround_ctx): Likewise.
10788 (libc_fesetenv_ctx): Likewise.
10789 (libc_feupdateenv_ctx): Likewise.
10790 (libc_feholdsetround_ctx): Likewise.
10791 (libc_feresetround_ctx): Likewise.
10792 (libc_feholdexcept_setroundl_ctx): Likewise.
10793 (libc_feupdateenvl_ctx): Likewise.
10794 (libc_feholdsetroundl_ctx): Likewise.
10795 (libc_feresetroundl_ctx): Likewise.
10796 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
10797 (libc_feresetround_53bit_ctx): Likewise.
10798
59b30555
SP
107992013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10800
10801 * locale/iso-639.def: Convert to UTF-8.
10802
f1d73d30
JM
108032013-06-11 Joseph Myers <joseph@codesourcery.com>
10804
10805 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
10806 (EXCEPTION_TESTS_double): Likewise.
10807 (EXCEPTION_TESTS_long_double): Likewise.
10808 (EXCEPTION_TESTS): Likewise.
10809 * math/libm-test.inc (test_exceptions): Only test exceptions if
10810 EXCEPTION_TESTS (FLOAT).
10811
94aca5e7
SP
108122013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10813
10814 * benchtests/Makefile (string-bench): Add strcpy_chk and
10815 stpcpy_chk.
10816 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
10817 * benchtests/bench-stpcpy_chk.c: New file.
10818 * benchtests/bench-strcpy_chk-ifunc.c: New file.
10819 * benchtests/bench-strcpy_chk.c: New file.
10820 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
10821 code.
10822 (do_test): Likewise.
10823
fac0c5f2
RA
108242013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10825
10826 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
10827 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
10828 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
10829 with tabs where appropriate.
10830 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
10831 dl-procinfo.h.
10832 [PPC_PLATFORM_PPC440]: Likewise.
10833 [PPC_PLATFORM_PPC464]: Likewise.
10834 [PPC_PLATFORM_PPC476]: Likewise.
10835 (_dl_string_platform): Add support for detecting ppc405, ppc440,
10836 ppc464, and ppc476 platform strings merging from ports/
10837 dl-procinfo.h.
10838
f22bc486
AS
108392013-06-11 Andreas Schwab <schwab@suse.de>
10840
10841 [BZ #14991]
10842 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
10843 (from_ucs4_idx): Regenerate.
10844 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
10845 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
10846 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
10847 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
10848 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
10849 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
10850 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
10851 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
10852 from FROM_LOOP and TO_LOOP specific macros.
10853 (BODY): Handle combining characters.
10854 * iconvdata/BIG5HKSCS.irreversible: Update.
10855 * iconvdata/BIG5HKSCS.precomposed: New file.
10856 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
10857 characters.
10858 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
10859
c1f75dc3
SP
108602013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10861
4eacded2
SP
10862 * include/sys/time.h: Fix indentation and add copyright header.
10863
fec799f8
SP
10864 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
10865 (do_test): Likewise.
10866 * string/test-memchr.c (do_one_test): Likewise.
10867 (do_test): Likewise.
10868 * string/test-memcmp.c (do_one_test): Likewise.
10869 (do_test): Likewise.
10870 * string/test-memcpy.c (do_one_test): Likewise.
10871 (do_test): Likewise.
10872 * string/test-memmem.c (do_one_test): Likewise.
10873 (do_test): Likewise.
10874 (do_random_tests): Likewise.
10875 * string/test-memmove.c (do_one_test): Likewise.
10876 (do_test): Likewise.
10877 * string/test-memset.c (do_one_test): Likewise.
10878 (do_test): Likewise.
10879 * string/test-rawmemchr.c (do_one_test): Likewise.
10880 (do_test): Likewise.
10881 * string/test-strcasecmp.c (do_one_test): Likewise.
10882 (do_test): Likewise.
10883 * string/test-strcasestr.c (do_one_test): Likewise.
10884 (do_test): Likewise.
10885 * string/test-strcat.c (do_one_test): Likewise.
10886 (do_test): Likewise.
10887 * string/test-strchr.c (do_one_test): Likewise.
10888 (do_test): Likewise.
10889 * string/test-strcmp.c (do_one_test): Likewise.
10890 (do_test): Likewise.
10891 * string/test-strcpy.c (do_one_test): Likewise.
10892 (do_test): Likewise.
10893 * string/test-string.h: Likewise.
10894 (test_init): Likewise.
10895 * string/test-strlen.c (do_one_test): Likewise.
10896 (do_test): Likewise.
10897 * string/test-strncasecmp.c (do_one_test): Likewise.
10898 (do_test): Likewise.
10899 * string/test-strncat.c (do_one_test): Likewise.
10900 (do_test): Likewise.
10901 * string/test-strncmp.c (do_one_test): Likewise.
10902 (do_test_limit): Likewise.
10903 (do_test): Likewise.
10904 * string/test-strncpy.c (do_one_test): Likewise.
10905 (do_test): Likewise.
10906 * string/test-strnlen.c (do_one_test): Likewise.
10907 (do_test): Likewise.
10908 * string/test-strpbrk.c (do_one_test): Likewise.
10909 (do_test): Likewise.
10910 * string/test-strrchr.c (do_one_test): Likewise.
10911 (do_test): Likewise.
10912 * string/test-strspn.c (do_one_test): Likewise.
10913 (do_test): Likewise.
10914 * string/test-strstr.c (do_one_test): Likewise.
10915 (do_test): Likewise.
10916
97020474
SP
10917 * benchtests/Makefile (string-bench): Add string benchmarks.
10918 * benchtests/bench-bcopy-ifunc.c: New file.
10919 * benchtests/bench-bcopy.c: New file.
10920 * benchtests/bench-bzero-ifunc.c: New file.
10921 * benchtests/bench-bzero.c: New file.
10922 * benchtests/bench-memccpy-ifunc.c: New file.
10923 * benchtests/bench-memccpy.c: New file.
10924 * benchtests/bench-memchr-ifunc.c: New file.
10925 * benchtests/bench-memchr.c: New file.
10926 * benchtests/bench-memcmp-ifunc.c: New file.
10927 * benchtests/bench-memcmp.c: New file.
10928 * benchtests/bench-memmem-ifunc.c: New file.
10929 * benchtests/bench-memmem.c: New file.
10930 * benchtests/bench-memmove-ifunc.c: New file.
10931 * benchtests/bench-memmove.c: New file.
10932 * benchtests/bench-mempcpy-ifunc.c: New file.
10933 * benchtests/bench-mempcpy.c: New file.
10934 * benchtests/bench-memset-ifunc.c: New file.
10935 * benchtests/bench-memset.c: New file.
10936 * benchtests/bench-rawmemchr-ifunc.c: New file.
10937 * benchtests/bench-rawmemchr.c: New file.
10938 * benchtests/bench-stpcpy-ifunc.c: New file.
10939 * benchtests/bench-stpcpy.c: New file.
10940 * benchtests/bench-stpncpy-ifunc.c: New file.
10941 * benchtests/bench-stpncpy.c: New file.
10942 * benchtests/bench-strcasecmp-ifunc.c: New file.
10943 * benchtests/bench-strcasecmp.c: New file.
10944 * benchtests/bench-strcasestr-ifunc.c: New file.
10945 * benchtests/bench-strcasestr.c: New file.
10946 * benchtests/bench-strcat-ifunc.c: New file.
10947 * benchtests/bench-strcat.c: New file.
10948 * benchtests/bench-strchr-ifunc.c: New file.
10949 * benchtests/bench-strchr.c: New file.
10950 * benchtests/bench-strchrnul-ifunc.c: New file.
10951 * benchtests/bench-strchrnul.c: New file.
10952 * benchtests/bench-strcmp-ifunc.c: New file.
10953 * benchtests/bench-strcmp.c: New file.
10954 * benchtests/bench-strcpy-ifunc.c: New file.
10955 * benchtests/bench-strcpy.c: New file.
10956 * benchtests/bench-strcspn-ifunc.c: New file.
10957 * benchtests/bench-strcspn.c: New file.
10958 * benchtests/bench-strlen-ifunc.c: New file.
10959 * benchtests/bench-strlen.c: New file.
10960 * benchtests/bench-strncasecmp-ifunc.c: New file.
10961 * benchtests/bench-strncasecmp.c: New file.
10962 * benchtests/bench-strncat-ifunc.c: New file.
10963 * benchtests/bench-strncat.c: New file.
10964 * benchtests/bench-strncmp-ifunc.c: New file.
10965 * benchtests/bench-strncmp.c: New file.
10966 * benchtests/bench-strncpy-ifunc.c: New file.
10967 * benchtests/bench-strncpy.c: New file.
10968 * benchtests/bench-strnlen-ifunc.c: New file.
10969 * benchtests/bench-strnlen.c: New file.
10970 * benchtests/bench-strpbrk-ifunc.c: New file.
10971 * benchtests/bench-strpbrk.c: New file.
10972 * benchtests/bench-strrchr-ifunc.c: New file.
10973 * benchtests/bench-strrchr.c: New file.
10974 * benchtests/bench-strspn-ifunc.c: New file.
10975 * benchtests/bench-strspn.c: New file.
10976 * benchtests/bench-strstr-ifunc.c: New file.
10977 * benchtests/bench-strstr.c: New file.
10978
c1f75dc3
SP
10979 * benchtests/Makefile: Disable parallel execution of targets.
10980 (string-bench): Add memcpy.
10981 (benchset): New variable to store a list of benchmark sets.
10982 (bench-func): Renamed from bench.
10983 (bench-set): New target.
10984 (bench): Depend on bench-func and bench-set.
10985 * benchtests/README: Add section on benchmark sets.
10986 * benchtests/bench-memcpy-ifunc.c: New file.
10987 * benchtests/bench-memcpy.c: New file.
10988 * benchtests/bench-string.h: New file.
10989
50fd745b
AS
109902013-06-11 Andreas Schwab <schwab@suse.de>
10991
10992 [BZ #15577]
10993 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
10994 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
10995 values in the triple.
10996 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
10997 terminator in the group key.
10998
3ee7e9fe
AJ
109992013-06-11 Andreas Jaeger <aj@suse.de>
11000
11001 * po/zh_TW.po: Update Chinese (traditional) translation from
11002 translation project.
11003
89fb6835
SP
110042013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11005
11006 * include/time.h (__clock_gettime): Add libc_hidden_proto.
11007 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
11008 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
11009 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
11010 (clock_getcpuclockid): Likewise.
11011 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
11012 Add weak_alias and libc_hidden_def.
11013 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
11014 * rt/clock_gettime.c (clock_gettime): Rename to
11015 __clock_gettime. Add weak_alias and libc_hidden_def.
11016 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
11017 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
11018 __clock_nanosleep. Add weak_alias and libc_hidden_def.
11019 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
11020 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
11021 Likewise.
11022 * rt/clock_settime.c (clock_settime): Rename to
11023 __clock_settime. Add weak_alias and libc_hidden_def.
11024 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
11025
0efa6f8b
JM
110262013-06-10 Joseph Myers <joseph@codesourcery.com>
11027
b8c61b4b
JM
11028 * mach/err_boot.sub: Remove trailing whitespace.
11029 * mach/err_ipc.sub: Likewise.
11030 * mach/err_mach.sub: Likewise.
11031
0efa6f8b
JM
11032 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
11033 (ROUNDING_TESTS_double): Likewise.
11034 (ROUNDING_TESTS_long_double): Likewise.
11035 (ROUNDING_TESTS): Likewise.
11036 * math/libm-test.inc: Include <math-tests.h>.
11037 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
11038 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
11039 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
11040 (IF_ROUND_INIT_FE_UPWARD): Likewise.
11041
50b818bf
SP
110422013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11043
11044 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
11045 of assigning.
11046
60d2f8f3
JM
110472013-06-08 Joseph Myers <joseph@codesourcery.com>
11048
4902d2c3
JM
11049 * sysdeps/gnu/errlist.awk: Do not generate space at end of
11050 otherwise empty TRANS lines.
11051 * sysdeps/gnu/errlist.c: Regenerated.
11052
60d2f8f3
JM
11053 * catgets/gencat.c (error_print): Use (void) in function
11054 definition.
11055 * crypt/crypt_util.c (__init_des): Likewise.
11056 * crypt/speeds.c (Stop): Likewise.
11057 (main): Likewise.
11058 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
11059 * inet/ruserpass.c (token): Likewise.
11060 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
11061 * intl/localealias.c (extend_alias_table): Likewise.
11062 * intl/plural-exp.c (init_germanic_plural): Likewise.
11063 * libio/fcloseall.c (__fcloseall): Likewise.
11064 * libio/genops.c (_IO_flush_all): Likewise.
11065 (_IO_flush_all_linebuffered): Likewise.
11066 (_IO_cleanup): Likewise.
11067 (_IO_iter_begin): Likewise.
11068 (_IO_iter_end): Likewise.
11069 (_IO_list_lock): Likewise.
11070 (_IO_list_unlock): Likewise.
11071 (_IO_list_resetlock): Likewise.
11072 * libio/getchar.c (getchar): Likewise.
11073 * libio/getchar_u.c (getchar_unlocked): Likewise.
11074 * libio/getwchar.c (getwchar): Likewise.
11075 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
11076 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
11077 * login/getpt.c (__getpt): Likewise.
11078 * login/tst-utmp.c (main): Likewise.
11079 * malloc/hooks.c (__malloc_check_init): Likewise.
11080 * malloc/malloc.c (__malloc_stats): Likewise.
11081 * malloc/mtrace.c (tr_break): Likewise.
11082 (mtrace): Likewise.
11083 (muntrace): Likewise.
11084 * misc/fstab.c (endfsent): Likewise.
11085 * misc/getclktck.c (__getclktck): Likewise.
11086 * misc/getdtsz.c (__getdtablesize): Likewise.
11087 * misc/gethostid.c (gethostid): Likewise.
11088 * misc/getpagesize.c (__getpagesize): Likewise.
11089 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
11090 (__get_nprocs): Likewise.
11091 (__get_phys_pages): Likewise.
11092 (__get_avphys_pages): Likewise.
11093 * misc/getttyent.c (getttyent): Likewise.
11094 (setttyent): Likewise.
11095 (endttyent): Likewise.
11096 * misc/getusershell.c (getusershell): Likewise.
11097 (endusershell): Likewise.
11098 (setusershell): Likewise.
11099 (initshells): Likewise.
11100 * misc/hsearch.c (__hdestroy): Likewise.
11101 * misc/sync.c (sync): Likewise.
11102 * misc/syslog.c (closelog_internal): Likewise.
11103 (closelog): Likewise.
11104 * misc/ttyslot.c (ttyslot): Likewise.
11105 * misc/vhangup.c (vhangup): Likewise.
11106 * posix/fork.c (__fork): Likewise.
11107 * posix/getegid.c (__getegid): Likewise.
11108 * posix/geteuid.c (__geteuid): Likewise.
11109 * posix/getgid.c (__getgid): Likewise.
11110 * posix/getpid.c (__getpid): Likewise.
11111 * posix/getppid.c (__getppid): Likewise.
11112 * posix/getuid.c (__getuid): Likewise.
11113 * posix/pause.c (pause): Likewise.
11114 * posix/setpgrp.c (setpgrp): Likewise.
11115 * posix/setsid.c (__setsid): Likewise.
11116 * posix/test-vfork.c (noop): Likewise.
11117 * resolv/gethnamaddr.c (_endhtent): Likewise.
11118 (_gethtent): Likewise.
11119 (ht_endhostent): Likewise.
11120 (gethostent): Likewise.
11121 (dns_service): Likewise.
11122 * stdlib/drand48.c (drand48): Likewise.
11123 * stdlib/lrand48.c (lrand48): Likewise.
11124 * stdlib/mrand48.c (mrand48): Likewise.
11125 * stdlib/rand.c (rand): Likewise.
11126 * stdlib/random.c (__random): Likewise.
11127 * stdlib/setenv.c (clearenv): Likewise.
11128 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
11129 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
11130 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
11131 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
11132 (__get_nprocs): Likewise.
11133 (__get_phys_pages): Likewise.
11134 (__get_avphys_pages): Likewise.
11135 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
11136 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
11137 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
11138 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
11139 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
11140 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
11141 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
11142 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
11143 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
11144 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
11145 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
11146 * sysdeps/mach/hurd/sync.c (sync): Likewise.
11147 * sysdeps/posix/clock.c (clock): Likewise.
11148 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
11149 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
11150 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
11151 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
11152 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
11153 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
11154 (__get_nprocs_conf): Likewise.
11155 (__get_phys_pages): Likewise.
11156 (__get_avphys_pages): Likewise.
11157 * time/clock.c (clock): Likewise.
11158 * time/tzset.c (__tzname_max): Likewise.
11159
2e09a79a
JM
111602013-06-07 Joseph Myers <joseph@codesourcery.com>
11161
11162 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
11163 (__bswap_32): Do not use "register".
11164 * crypt/crypt.c (_ufc_doit_r): Likewise.
11165 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
11166 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
11167 * gmon/gmon.c (__monstartup): Likewise.
11168 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
11169 * hurd/hurdmalloc.c (more_memory): Likewise.
11170 (malloc): Likewise.
11171 (free): Likewise.
11172 (realloc): Likewise.
11173 (malloc_fork_prepare): Likewise.
11174 (malloc_fork_parent): Likewise.
11175 (malloc_fork_child): Likewise.
11176 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
11177 (_svcauth_des): Likewise.
11178 * inet/inet_lnaof.c (inet_lnaof): Likewise.
11179 * inet/inet_net.c (inet_network): Likewise.
11180 * inet/inet_netof.c (inet_netof): Likewise.
11181 * inet/rcmd.c (__validuser2_sa): Likewise.
11182 * io/fts.c (fts_open): Likewise.
11183 (fts_load): Likewise.
11184 (fts_close): Likewise.
11185 (fts_read): Likewise.
11186 (fts_children): Likewise.
11187 (fts_build): Likewise.
11188 (fts_stat): Likewise.
11189 (fts_sort): Likewise.
11190 (fts_alloc): Likewise.
11191 (fts_lfree): Likewise.
11192 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
11193 (_IO_file_xsgetn): Likewise.
11194 (_IO_file_xsgetn_mmap): Likewise.
11195 * libio/iofopncook.c (_IO_cookie_read): Likewise.
11196 (_IO_cookie_write): Likewise.
11197 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
11198 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
11199 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
11200 * malloc/obstack.c (_obstack_begin): Likewise.
11201 (_obstack_begin_1): Likewise.
11202 (_obstack_newchunk): Likewise.
11203 (_obstack_allocated_p): Likewise.
11204 (obstack_free): Likewise.
11205 (_obstack_memory_used): Likewise.
11206 * misc/getttyent.c (getttynam): Likewise.
11207 (getttyent): Likewise.
11208 (skip): Likewise.
11209 (value): Likewise.
11210 * misc/getusershell.c (initshells): Likewise.
11211 * misc/syslog.c (__vsyslog_chk): Likewise.
11212 * misc/ttyslot.c (ttyslot): Likewise.
11213 * nis/nis_hash.c (__nis_hash): Likewise.
11214 * posix/fnmatch_loop.c (FCT): Likewise.
11215 * posix/getconf.c (print_all): Likewise.
11216 (main): Likewise.
11217 * posix/getopt.c (exchange): Likewise.
11218 * posix/glob.c (globfree): Likewise.
11219 (prefix_array): Likewise.
11220 (__glob_pattern_type): Likewise.
11221 * resolv/arpa/nameser.h (NS_GET16): Likewise.
11222 (NS_GET32): Likewise.
11223 (NS_PUT16): Likewise.
11224 (NS_PUT32): Likewise.
11225 * resolv/gethnamaddr.c (getanswer): Likewise.
11226 (gethostbyname2): Likewise.
11227 (gethostbyaddr): Likewise.
11228 (_gethtent): Likewise.
11229 (_gethtbyname2): Likewise.
11230 (_gethtbyaddr): Likewise.
11231 * resolv/ns_print.c (dst_s_get_int16): Likewise.
11232 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
11233 * resolv/res_init.c (__res_vinit): Likewise.
11234 (net_mask): Likewise.
11235 * resolv/res_mkquery.c (outchar): Likewise.
11236 (PRINT): Likewise.
11237 * stdio-common/printf_fp.c (outchar): Likewise.
11238 (PRINT): Likewise.
11239 * stdio-common/printf_fphex.c (outchar): Likewise.
11240 (PRINT): Likewise.
11241 * stdio-common/printf_size.c (outchar): Likewise.
11242 (PRINT): Likewise.
11243 * stdio-common/test_rdwr.c (main): Likewise.
11244 * stdio-common/tfformat.c (matches): Likewise.
11245 * stdio-common/vfprintf.c (outchar): Likewise.
11246 (printf_unknown): Likewise.
11247 (buffered_vfprintf): Likewise.
11248 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
11249 * stdio-common/xbug.c (AppendToBuffer): Likewise.
11250 (ReadFile): Likewise.
11251 * stdlib/qsort.c (SWAP): Likewise.
11252 (_quicksort): Likewise.
11253 * stdlib/setenv.c (__add_to_environ): Likewise.
11254 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
11255 * stdlib/strtol_l.c (__strtol_l): Likewise.
11256 * stdlib/tst-strtod.c (main): Likewise.
11257 * stdlib/tst-strtol.c (main): Likewise.
11258 * stdlib/tst-strtoll.c (main): Likewise.
11259 * string/bits/string2.h (__strcmp_cc): Likewise.
11260 (__strcmp_cg): Likewise.
11261 (__strcspn_c1): Likewise.
11262 (__strcspn_c2): Likewise.
11263 (__strcspn_c3): Likewise.
11264 (__strspn_c1): Likewise.
11265 (__strspn_c2): Likewise.
11266 (__strspn_c3): Likewise.
11267 (__strsep_1c): Likewise.
11268 (__strsep_2c): Likewise.
11269 (__strsep_3c): Likewise.
11270 * string/memccpy.c (__memccpy): Likewise.
11271 * string/stpcpy.c (__stpcpy): Likewise.
11272 * string/strcmp.c (strcmp): Likewise.
11273 * string/strrchr.c (strrchr): Likewise.
11274 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
11275 Likewise.
11276 * sysdeps/mach/hurd/getcwd.c
11277 (_hurd_canonicalize_directory_name_internal): Likewise.
11278 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
11279 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
11280 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
11281 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
11282 Likewise, in both definitions.
11283 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
11284 definitions.
11285 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
11286 64] (__bswap_64): Likewise.
11287 * time/test_time.c (main): Likewise.
11288 * time/tzfile.c (__tzfile_read): Likewise.
11289 (__tzfile_compute): Likewise.
11290 * time/tzset.c (__tzset_parse_tz): Likewise.
11291 (tzset_internal): Likewise.
11292 (compute_change): Likewise.
11293 * wcsmbs/wcscat.c (__wcscat): Likewise.
11294 * wcsmbs/wcschr.c (wcschr): Likewise.
11295 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
11296 * wcsmbs/wcscspn.c (wcscspn): Likewise.
11297 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
11298 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
11299 * wcsmbs/wcsspn.c (wcsspn): Likewise.
11300 * wcsmbs/wcsstr.c (wcsstr): Likewise.
11301 * wcsmbs/wmemchr.c (wmemchr): Likewise.
11302 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
11303 * wcsmbs/wmemset.c (wmemset): Likewise.
11304
9e54314b
JM
113052013-06-06 Joseph Myers <joseph@codesourcery.com>
11306
11307 * scripts/config.guess: Update to version 2013-05-16.
11308 * scripts/config.sub: Update to version 2013-04-24.
11309 * scripts/install-sh: Update to version 2011-11-20.07.
11310 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
11311 * scripts/move-if-change: Update to version 2012-01-06 07:23.
11312
350635a5
OB
113132013-06-06 Ondřej Bílka <neleai@seznam.cz>
11314
11315 * debug/fgetws_u_chk.c: Fix leading whitespaces.
11316 * elf/sln.c: Likewise.
11317 * hurd/hurd/ioctl.h: Likewise.
11318 * hurd/hurdmalloc.c: Likewise.
11319 * hurd/xattr.c: Likewise.
11320 * include/shlib-compat.h: Likewise.
11321 * inet/ruserpass.c: Likewise.
11322 * libio/iofgets_u.c: Likewise.
11323 * libio/iofgetws_u.c: Likewise.
11324 * locale/programs/ld-identification.c: Likewise.
11325 * locale/programs/ld-time.c: Likewise.
11326 * mach/msg-destroy.c: Likewise.
11327 * nss/nss_files/files-netgrp.c: Likewise.
11328 * resolv/res_data.c: Likewise.
11329 * soft-fp/op-1.h: Likewise.
11330 * soft-fp/op-2.h: Likewise.
11331 * soft-fp/op-4.h: Likewise.
11332 * soft-fp/op-common.h: Likewise.
11333 * stdio-common/printf_fphex.c: Likewise.
11334 * stdlib/strtod_l.c: Likewise.
11335 * sunrpc/rpc/clnt.h: Likewise.
11336 * sysdeps/generic/framestate.c: Likewise.
11337 * sysdeps/i386/bsd-_setjmp.S: Likewise.
11338 * sysdeps/i386/bsd-setjmp.S: Likewise.
11339 * sysdeps/i386/__longjmp.S: Likewise.
11340 * sysdeps/i386/setjmp.S: Likewise.
11341 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11342 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
11343 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11344 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11345 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11346 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
11347 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
11348 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
11349 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
11350 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
11351 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
11352 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
11353 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
11354 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
11355 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
11356 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
11357 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
11358 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
11359 * sysdeps/ieee754/support.c: Likewise.
11360 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
11361 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
11362 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
11363 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
11364 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
11365 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
11366 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
11367 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
11368 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
11369 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
11370 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
11371 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
11372 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
11373 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
11374 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
11375 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
11376 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
11377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
11378
44a988af
OB
113792013-06-05 Ondřej Bílka <neleai@seznam.cz>
11380
25506f09 11381 * posix/transbug.c: Remove executable mode.
44a988af 11382
9c84384c
JM
113832013-06-05 Joseph Myers <joseph@codesourcery.com>
11384
11385 * crypt/speeds.c: Remove trailing whitespace.
11386 * dlfcn/default.c: Likewise.
11387 * elf/ifuncdep2.c: Likewise.
11388 * elf/ifuncmain1.c: Likewise.
11389 * elf/ifuncmain1vis.c: Likewise.
11390 * elf/testobj.h: Likewise.
11391 * elf/tst-stackguard1.c: Likewise.
11392 * gmon/sys/gmon.h: Likewise.
11393 * hurd/hurdmsg.c: Likewise.
11394 * hurd/new-fd.c: Likewise.
11395 * hurd/ports-get.c: Likewise.
11396 * iconvdata/ibm1008_420.c: Likewise.
11397 * inet/tst-getni1.c: Likewise.
11398 * inet/tst-getni2.c: Likewise.
11399 * libio/ioungetc.c: Likewise.
11400 * libio/wfiledoalloc.c: Likewise.
11401 * manual/libm-err-tab.pl: Likewise.
11402 * math/w_dremf.c: Likewise.
11403 * misc/ftruncate.c: Likewise.
11404 * posix/bug-glob2.c: Likewise.
11405 * posix/tst-pcre.c: Likewise.
11406 * posix/wait4.c: Likewise.
11407 * resolv/README: Likewise.
11408 * resolv/res_debug.h: Likewise.
11409 * resolv/tst-inet_ntop.c: Likewise.
11410 * setjmp/bug269-setjmp.c: Likewise.
11411 * soft-fp/extended.h: Likewise.
11412 * soft-fp/op-1.h: Likewise.
11413 * soft-fp/op-2.h: Likewise.
11414 * soft-fp/op-4.h: Likewise.
11415 * soft-fp/op-8.h: Likewise.
11416 * soft-fp/testit.c: Likewise.
11417 * stdio-common/bug16.c: Likewise.
11418 * stdlib/random.c: Likewise.
11419 * sunrpc/rpcsvc/rquota.x: Likewise.
11420 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
11421 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
11422 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11423 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
11424 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
11425 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
11426 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
11427 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
11428 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
11429 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
11430 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
11431 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
11432 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
11433 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
11434 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
11435 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
11436 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
11437 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
11438 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
11439 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11440 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
11441 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
11442 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
11443 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
11444 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
11445 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
11446 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
11447 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
11448 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
11449 * sysdeps/ieee754/s_lib_version.c: Likewise.
11450 * sysdeps/mach/hurd/check_fds.c: Likewise.
11451 * sysdeps/mach/hurd/getsockname.c: Likewise.
11452 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
11453 * sysdeps/mach/hurd/recvfrom.c: Likewise.
11454 * sysdeps/powerpc/bits/link.h: Likewise.
11455 * sysdeps/powerpc/dl-procinfo.c: Likewise.
11456 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
11457 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
11458 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
11459 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
11460 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
11461 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
11462 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
11463 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
11464 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
11465 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
11466 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
11467 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
11468 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
11469 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
11470 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
11471 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
11472 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
11473 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
11474 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
11475 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
11476 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
11477 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11478 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
11479 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
11480 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
11481 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
11482 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
11483 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
11484 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
11485 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
11486 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
11487 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
11488 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
11489 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
11490 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
11491 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
11492 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
11493 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
11494 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
11495 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
11496 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
11497 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
11498 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
11499 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
11500 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
11501 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
11502 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
11503 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
11504 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
11505 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11506 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
11507 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
11508 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
11509 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
11510 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
11511 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
11512 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
11513 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
11514 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
11515 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
11516 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
11517 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
11518 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
11519 * sysdeps/powerpc/sysdep.h: Likewise.
11520 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
11521 * sysdeps/s390/s390-64/sub_n.S: Likewise.
11522 * sysdeps/sh/dl-trampoline.S: Likewise.
11523 * sysdeps/sh/memset.S: Likewise.
11524 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
11525 * sysdeps/sh/strlen.S: Likewise.
11526 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
11527 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
11528 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
11529 * sysdeps/sparc/sparc32/rem.S: Likewise.
11530 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
11531 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
11532 * sysdeps/sparc/sparc32/strchr.S: Likewise.
11533 * sysdeps/sparc/sparc32/udiv.S: Likewise.
11534 * sysdeps/sparc/sparc32/urem.S: Likewise.
11535 * sysdeps/sparc/sparc64/add_n.S: Likewise.
11536 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
11537 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
11538 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
11539 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
11540 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
11541 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
11542 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
11543 * sysdeps/unix/bsd/times.c: Likewise.
11544 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
11545 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
11546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
11547 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
11548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
11549 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
11550 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
11551 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
11552 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
11553 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
11554 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
11555 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
11556 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
11557 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
11558 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
11559 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
11560 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
11561 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
11562 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
11563 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
11564 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
11565 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
11566 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
11567 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
11568 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
11569 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
11570 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
11571 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
11572 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
11573 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
11574 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
11575 * sysdeps/x86_64/strcspn.S: Likewise.
11576
869378a5
RA
115772013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11578
11579 * locale/C-translit.h: Revert #include <stdint.h> because this is a
11580 generated file. Regenerate properly from gen-translit.pl.
11581 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
11582 locale/C-translit.h.
11583
840e2943
AS
115842013-06-05 Andreas Schwab <schwab@suse.de>
11585
11586 [BZ #15100]
11587 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
11588 week as 6 instead of -1.
11589 * time/tst-strptime.c (day_tests): Add test case.
11590
4c60cb0c
SP
115912013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
11592
11593 * sysdeps/generic/math_private.h
11594 (libc_feholdexcept_setround_53bit): Replace with
11595 libc_feholdsetround_53bit.
11596 (libc_feupdateenv_53bit): Replace with
11597 libc_feresetround_53bit.
11598 (SET_RESTORE_ROUND_53BIT): Adjust.
11599
d180203e
SP
116002013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
11601
96df079a
SP
11602 * string/test-strchrnul.c: Add copyright header.
11603
d180203e
SP
11604 * posix/tst-getaddrinfo4.c: Increase test timeout.
11605
8b0ccb2d
CD
116062013-06-03 Carlos O'Donell <carlos@redhat.com>
11607
11608 [BZ #15536]
11609 * math/libm-test.inc (MAX_EXP): Remove
11610 (MIN_EXP): Define.
11611 (ulp): Use MIN_EXP - MANT_DIG.
11612 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
11613
3b3c4d40
CD
116142013-05-31 Carlos O'Donell <carlos@redhat.com>
11615
11616 * po/be.po: Revert last change.
11617 * po/zh_CN.po: Likewise.
11618 * po/header.pot: Likewise.
11619
fab7ce3f
JM
116202013-05-31 Joseph Myers <joseph@codesourcery.com>
11621
11622 * Makefile ($(common-objpfx)linkobj/libc.so): Define
11623 link-libc-deps to empty as target-specific variable.
11624 * Makerules (link-libc-args): New variable.
11625 (libc-for-link): Likewise.
11626 (link-libc-deps): Likewise.
11627 (lib%.so): Depend on $(link-libc-deps). Link with
11628 $(link-libc-args).
11629 (build-module): Link with $(link-libc-args).
11630 (build-module-asneeded): Likewise.
11631 (build-module-helper-objlist): Filter out $(link-libc-deps) from
11632 list of objects.
11633 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
11634 target-specific variable.
11635 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
11636 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
11637 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
11638 libc.
11639 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
11640 libc and ld.so.
11641 ($(objpfx)libpcprofile.so): Likewise.
11642 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
11643 libc_nonshared.a.
11644 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
11645 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
11646 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
11647 $(link-libc-deps).
11648 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
11649 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
11650 * login/Makefile ($(objpfx)libutil.so): Likewise.
11651 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
11652 * math/Makefile ($(objpfx)libm.so): Likewise.
11653 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
11654 $(objpfx)libnsl.so): Define libc-for-link as target-specific
11655 variable instead of depending directly on libc.
11656 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
11657 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
11658 $(link-libc-deps).
11659 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
11660 libc.
11661 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
11662 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
11663 ($(objpfx)libanl.so): Likewise.
11664 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
11665 ld.so.
11666 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
11667 $(link-libc-deps).
11668 * sysdeps/i386/fpu/Makefile: Remove file.
11669 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
11670 ($(objpfx)libm.so): Remove dependency on ld.so.
11671
eca5920c
PF
116722013-05-30 Patsy Franklin <pfrankli@redhat.com>
11673
11674 [BZ # 15553]
11675 * nis/yp_xdr.c (XDRMAXNAME): Define.
11676 (XDRMAXRECORD): Define.
11677 (xdr_domainname): Use XDRMAXNAME.
11678 (xdr_mapname): Likewise.
11679 (xdr_peername): Likewise.
11680 (xdr_keydat): Use XDRMAXRECORD.
11681 (xdr_valdat): Likewise.
11682
116832013-05-30 Jeff Law <law@redhat.com>
96945714
JL
11684
11685 [BZ #14256]
11686 * manual/errno.texi (ESTALE): Update to account for more than
11687 just NFS file systems.
11688 * sysdeps/gnu/errlist.c: Regenerated.
11689
b9375348
SP
116902013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
11691
11692 [BZ #15465]
11693 * elf/Makefile (tests): Add tst-null-argv.
11694 (modules-names): Add tst-null-argv-lib.
11695 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
11696 (tst-null-argv-ENV): Set environment for tst-null-argv.
11697 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
11698 (RTLD_PROGNAME): New macro.
11699 * elf/tst-null-argv.c: New test case.
11700 * elf/tst-null-argv-lib.c: Library for test case.
11701 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
11702 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
11703 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
11704 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
11705 * elf/dl-init.c (call_init): Likewise.
11706 (_dl_init): Likewise.
11707 * elf/dl-load.c (print_search_path): Likewise.
11708 (_dl_map_object): Likewise.
11709 * elf/dl-lookup.c (do_lookup_x): Likewise.
11710 (add_dependency): Likewise.
11711 (_dl_lookup_symbol_x): Likewise.
11712 (_dl_debug_bindings): Likewise.
11713 * elf/dl-open.c (_dl_show_scope): Likewise.
11714 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
11715 * elf/dl-version.c (match_symbol): Likewise.
11716 (_dl_check_map_versions): Likewise.
11717 * elf/rtld.c (dl_main): Likewise.
11718 (print_unresolved): Use RTLD_PROGNAME.
11719 (print_missing_version): Likewise.
11720 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
11721 (elf_machine_rela): Likewise.
11722 * sysdeps/powerpc/powerpc32/dl-machine.c
11723 (__process_machine_rela): Likewise.
11724 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11725 Likewise.
11726 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
11727 Likewise.
11728 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
11729 Likewise.
11730 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
11731 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
11732 Likewise.
11733 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
11734 Likewise.
11735 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
11736
8a9f20c8
CD
117372013-05-28 Carlos O'Donell <carlos@redhat.com>
11738
11739 * po/be.po: Add descriptive title.
11740 * po/zh_CN.po: Likewise.
11741 * po/header.pot: Likewise.
11742
0e60d68e
MF
117432013-05-28 Mike Frysinger <vapier@gentoo.org>
11744
11745 * locale/programs/locarchive.c (create_archive): Inlucde fname in
11746 error message.
11747 (enlarge_archive): Likewise.
11748
56b672e9
BN
117492013-05-28 Ben North <ben@redfrontdoor.org>
11750
11751 * manual/arith.texi (frexp): It is the magnitude of the return
11752 value which lies in [0.5, 1), not the return value itself.
11753
5e056687
AZ
117542013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11755
11756 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11757
2b66ef5d
TS
117582013-05-26 Thomas Schwinge <thomas@codesourcery.com>
11759
528c2405
TS
11760 * stdio-common/bug26.c (main): Correct fscanf template.
11761
07b4c13d
TS
11762 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
11763 declare _dl_skip_args.
11764
ec9dd97c
TS
11765 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
11766 Don't declare.
11767
2b66ef5d
TS
11768 * manual/platform.texi: Add missing @end deftypefun.
11769
4f8dfe27
JM
117702013-05-24 Joseph Myers <joseph@codesourcery.com>
11771
0323d086
JM
11772 [BZ #15529]
11773 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
11774 bit of mantissa of 2^16382.
11775 * math/libm-test.inc (hypot_test_data): Add more tests.
11776
dd4259b9
JM
11777 * math/libm-test.inc: Add drem and pow10 to list of tested
11778 functions.
11779 (pow10_test): New function.
11780 (drem_test): Likewise.
11781 (drem_test_tonearest): Likewise.
11782 (drem_test_towardzero): Likewise.
11783 (drem_test_downward): Likewise.
11784 (drem_test_upward): Likewise.
11785 (main): Call the new functions.
11786
4f8dfe27
JM
11787 * math/libm-test.inc (finite_test_data): Remove.
11788 (finite_test): Run tests from isfinite_test_data.
11789 (gamma_test_data): Remove.
11790 (gamma_test): Run tests from lgamma_test_data.
11791 * sysdeps/i386/fpu/libm-test-ulps: Update.
11792 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11793
d116b7c4
AZ
117942013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11795
11796 * manual/platform.texi: Add PowerPC PPR function set documentation.
11797 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
11798 implementation.
11799
e96e3767
CD
118002013-05-24 Carlos O'Donell <carlos@redhat.com>
11801
11802 * math/libm-test.inc (MAX_EXP): Define.
11803 (ULPDIFF): Define.
11804 (ulp): New function.
11805 (check_float_internal): Use ULPDIFF.
11806 (cpow_test): Disable failing test.
11807 (check_ulp): Test ulp() implemetnation.
11808 (main): Call check_ulp before starting tests.
11809
b679a606
JM
118102013-05-24 Joseph Myers <joseph@codesourcery.com>
11811
e8bdba36
JM
11812 * math/gen-libm-test.pl (generate_testfile): Do not handle
11813 START_DATA and END_DATA.
11814 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
11815 END_DATA.
11816 (acos_tonearest_test_data): Likewise.
11817 (acos_towardzero_test_data): Likewise.
11818 (acos_downward_test_data): Likewise.
11819 (acos_upward_test_data): Likewise.
11820 (acosh_test_data): Likewise.
11821 (asin_test_data): Likewise.
11822 (asin_tonearest_test_data): Likewise.
11823 (asin_towardzero_test_data): Likewise.
11824 (asin_downward_test_data): Likewise.
11825 (asin_upward_test_data): Likewise.
11826 (asinh_test_data): Likewise.
11827 (atan_test_data): Likewise.
11828 (atanh_test_data): Likewise.
11829 (atan2_test_data): Likewise.
11830 (cabs_test_data): Likewise.
11831 (cacos_test_data): Likewise.
11832 (cacosh_test_data): Likewise.
11833 (carg_test_data): Likewise.
11834 (casin_test_data): Likewise.
11835 (casinh_test_data): Likewise.
11836 (catan_test_data): Likewise.
11837 (catanh_test_data): Likewise.
11838 (cbrt_test_data): Likewise.
11839 (ccos_test_data): Likewise.
11840 (ccosh_test_data): Likewise.
11841 (ceil_test_data): Likewise.
11842 (cexp_test_data): Likewise.
11843 (cimag_test_data): Likewise.
11844 (clog_test_data): Likewise.
11845 (clog10_test_data): Likewise.
11846 (conj_test_data): Likewise.
11847 (copysign_test_data): Likewise.
11848 (cos_test_data): Likewise.
11849 (cos_tonearest_test_data): Likewise.
11850 (cos_towardzero_test_data): Likewise.
11851 (cos_downward_test_data): Likewise.
11852 (cos_upward_test_data): Likewise.
11853 (cosh_test_data): Likewise.
11854 (cosh_tonearest_test_data): Likewise.
11855 (cosh_towardzero_test_data): Likewise.
11856 (cosh_downward_test_data): Likewise.
11857 (cosh_upward_test_data): Likewise.
11858 (cpow_test_data): Likewise.
11859 (cproj_test_data): Likewise.
11860 (creal_test_data): Likewise.
11861 (csin_test_data): Likewise.
11862 (csinh_test_data): Likewise.
11863 (csqrt_test_data): Likewise.
11864 (ctan_test_data): Likewise.
11865 (ctan_tonearest_test_data): Likewise.
11866 (ctan_towardzero_test_data): Likewise.
11867 (ctan_downward_test_data): Likewise.
11868 (ctan_upward_test_data): Likewise.
11869 (ctanh_test_data): Likewise.
11870 (ctanh_tonearest_test_data): Likewise.
11871 (ctanh_towardzero_test_data): Likewise.
11872 (ctanh_downward_test_data): Likewise.
11873 (ctanh_upward_test_data): Likewise.
11874 (erf_test_data): Likewise.
11875 (erfc_test_data): Likewise.
11876 (exp_test_data): Likewise.
11877 (exp_tonearest_test_data): Likewise.
11878 (exp_towardzero_test_data): Likewise.
11879 (exp_downward_test_data): Likewise.
11880 (exp_upward_test_data): Likewise.
11881 (exp10_test_data): Likewise.
11882 (exp2_test_data): Likewise.
11883 (expm1_test_data): Likewise.
11884 (fabs_test_data): Likewise.
11885 (fdim_test_data): Likewise.
11886 (finite_test_data): Likewise.
11887 (floor_test_data): Likewise.
11888 (fma_test_data): Likewise.
11889 (fma_towardzero_test_data): Likewise.
11890 (fma_downward_test_data): Likewise.
11891 (fma_upward_test_data): Likewise.
11892 (fmax_test_data): Likewise.
11893 (fmin_test_data): Likewise.
11894 (fmod_test_data): Likewise.
11895 (fpclassify_test_data): Likewise.
11896 (frexp_test_data): Likewise.
11897 (gamma_test_data): Likewise.
11898 (hypot_test_data): Likewise.
11899 (ilogb_test_data): Likewise.
11900 (isfinite_test_data): Likewise.
11901 (isgreater_test_data): Likewise.
11902 (isgreaterequal_test_data): Likewise.
11903 (isinf_test_data): Likewise.
11904 (isless_test_data): Likewise.
11905 (islessequal_test_data): Likewise.
11906 (islessgreater_test_data): Likewise.
11907 (isnan_test_data): Likewise.
11908 (isnormal_test_data): Likewise.
11909 (issignaling_test_data): Likewise.
11910 (isunordered_test_data): Likewise.
11911 (j0_test_data): Likewise.
11912 (j1_test_data): Likewise.
11913 (jn_test_data): Likewise.
11914 (ldexp_test_data): Likewise.
11915 (lgamma_test_data): Likewise.
11916 (lrint_test_data): Likewise.
11917 (lrint_tonearest_test_data): Likewise.
11918 (lrint_towardzero_test_data): Likewise.
11919 (lrint_downward_test_data): Likewise.
11920 (lrint_upward_test_data): Likewise.
11921 (llrint_test_data): Likewise.
11922 (llrint_tonearest_test_data): Likewise.
11923 (llrint_towardzero_test_data): Likewise.
11924 (llrint_downward_test_data): Likewise.
11925 (llrint_upward_test_data): Likewise.
11926 (log_test_data): Likewise.
11927 (log10_test_data): Likewise.
11928 (log1p_test_data): Likewise.
11929 (log2_test_data): Likewise.
11930 (logb_test_data): Likewise.
11931 (logb_downward_test_data): Likewise.
11932 (lround_test_data): Likewise.
11933 (llround_test_data): Likewise.
11934 (modf_test_data): Likewise.
11935 (nearbyint_test_data): Likewise.
11936 (nextafter_test_data): Likewise.
11937 (nexttoward_test_data): Likewise.
11938 (pow_test_data): Likewise.
11939 (pow_tonearest_test_data): Likewise.
11940 (pow_towardzero_test_data): Likewise.
11941 (pow_downward_test_data): Likewise.
11942 (pow_upward_test_data): Likewise.
11943 (remainder_test_data): Likewise.
11944 (remainder_tonearest_test_data): Likewise.
11945 (remainder_towardzero_test_data): Likewise.
11946 (remainder_downward_test_data): Likewise.
11947 (remainder_upward_test_data): Likewise.
11948 (remquo_test_data): Likewise.
11949 (rint_test_data): Likewise.
11950 (rint_tonearest_test_data): Likewise.
11951 (rint_towardzero_test_data): Likewise.
11952 (rint_downward_test_data): Likewise.
11953 (rint_upward_test_data): Likewise.
11954 (round_test_data): Likewise.
11955 (scalb_test_data): Likewise.
11956 (scalbn_test_data): Likewise.
11957 (scalbln_test_data): Likewise.
11958 (signbit_test_data): Likewise.
11959 (sin_test_data): Likewise.
11960 (sin_tonearest_test_data): Likewise.
11961 (sin_towardzero_test_data): Likewise.
11962 (sin_downward_test_data): Likewise.
11963 (sin_upward_test_data): Likewise.
11964 (sincos_test_data): Likewise.
11965 (sinh_test_data): Likewise.
11966 (sinh_tonearest_test_data): Likewise.
11967 (sinh_towardzero_test_data): Likewise.
11968 (sinh_downward_test_data): Likewise.
11969 (sinh_upward_test_data): Likewise.
11970 (sqrt_test_data): Likewise.
11971 (tan_test_data): Likewise.
11972 (tan_tonearest_test_data): Likewise.
11973 (tan_towardzero_test_data): Likewise.
11974 (tan_downward_test_data): Likewise.
11975 (tan_upward_test_data): Likewise.
11976 (tanh_test_data): Likewise.
11977 (tgamma_test_data): Likewise.
11978 (trunc_test_data): Likewise.
11979 (y0_test_data): Likewise.
11980 (y1_test_data): Likewise.
11981 (yn_test_data): Likewise.
11982 (significand_test_data): Likewise.
11983
b679a606
JM
11984 * math/gen-libm-test.pl (@functions): Remove variable.
11985 (generate_testfile): Don't handle START and END lines.
11986 * math/libm-test.inc (START): New macro.
11987 (END): Likewise.
11988 (END_COMPLEX): Likewise.
11989 (acos_test): Use END macro without arguments.
11990 (acos_test_tonearest): Likewise.
11991 (acos_test_towardzero): Likewise.
11992 (acos_test_downward): Likewise.
11993 (acos_test_upward): Likewise.
11994 (acosh_test): Likewise.
11995 (asin_test): Likewise.
11996 (asin_test_tonearest): Likewise.
11997 (asin_test_towardzero): Likewise.
11998 (asin_test_downward): Likewise.
11999 (asin_test_upward): Likewise.
12000 (asinh_test): Likewise.
12001 (atan_test): Likewise.
12002 (atanh_test): Likewise.
12003 (atan2_test): Likewise.
12004 (cabs_test): Likewise.
12005 (cacos_test): Use END_COMPLEX macro without arguments.
12006 (cacosh_test): Likewise.
12007 (carg_test): Use END macro without arguments.
12008 (casin_test): Use END_COMPLEX macro without arguments.
12009 (casinh_test): Likewise.
12010 (catan_test): Likewise.
12011 (catanh_test): Likewise.
12012 (cbrt_test): Use END macro without arguments.
12013 (ccos_test): Use END_COMPLEX macro without arguments.
12014 (ccosh_test): Likewise.
12015 (ceil_test): Use END macro without arguments.
12016 (cexp_test): Use END_COMPLEX macro without arguments.
12017 (cimag_test): Use END macro without arguments.
12018 (clog_test): Use END_COMPLEX macro without arguments.
12019 (clog10_test): Likewise.
12020 (conj_test): Likewise.
12021 (copysign_test): Use END macro without arguments.
12022 (cos_test): Likewise.
12023 (cos_test_tonearest): Likewise.
12024 (cos_test_towardzero): Likewise.
12025 (cos_test_downward): Likewise.
12026 (cos_test_upward): Likewise.
12027 (cosh_test): Likewise.
12028 (cosh_test_tonearest): Likewise.
12029 (cosh_test_towardzero): Likewise.
12030 (cosh_test_downward): Likewise.
12031 (cosh_test_upward): Likewise.
12032 (cpow_test): Use END_COMPLEX macro without arguments.
12033 (cproj_test): Likewise.
12034 (creal_test): Use END macro without arguments.
12035 (csin_test): Use END_COMPLEX macro without arguments.
12036 (csinh_test): Likewise.
12037 (csqrt_test): Likewise.
12038 (ctan_test): Likewise.
12039 (ctan_test_tonearest): Likewise.
12040 (ctan_test_towardzero): Likewise.
12041 (ctan_test_downward): Likewise.
12042 (ctan_test_upward): Likewise.
12043 (ctanh_test): Likewise.
12044 (ctanh_test_tonearest): Likewise.
12045 (ctanh_test_towardzero): Likewise.
12046 (ctanh_test_downward): Likewise.
12047 (ctanh_test_upward): Likewise.
12048 (erf_test): Use END macro without arguments.
12049 (erfc_test): Likewise.
12050 (exp_test): Likewise.
12051 (exp_test_tonearest): Likewise.
12052 (exp_test_towardzero): Likewise.
12053 (exp_test_downward): Likewise.
12054 (exp_test_upward): Likewise.
12055 (exp10_test): Likewise.
12056 (exp2_test): Likewise.
12057 (expm1_test): Likewise.
12058 (fabs_test): Likewise.
12059 (fdim_test): Likewise.
12060 (finite_test): Likewise.
12061 (floor_test): Likewise.
12062 (fma_test): Likewise.
12063 (fma_test_towardzero): Likewise.
12064 (fma_test_downward): Likewise.
12065 (fma_test_upward): Likewise.
12066 (fmax_test): Likewise.
12067 (fmin_test): Likewise.
12068 (fmod_test): Likewise.
12069 (fpclassify_test): Likewise.
12070 (frexp_test): Likewise.
12071 (gamma_test): Likewise.
12072 (hypot_test): Likewise.
12073 (ilogb_test): Likewise.
12074 (isfinite_test): Likewise.
12075 (isgreater_test): Likewise.
12076 (isgreaterequal_test): Likewise.
12077 (isinf_test): Likewise.
12078 (isless_test): Likewise.
12079 (islessequal_test): Likewise.
12080 (islessgreater_test): Likewise.
12081 (isnan_test): Likewise.
12082 (isnormal_test): Likewise.
12083 (issignaling_test): Likewise.
12084 (isunordered_test): Likewise.
12085 (j0_test): Likewise.
12086 (j1_test): Likewise.
12087 (jn_test): Likewise.
12088 (ldexp_test): Likewise.
12089 (lgamma_test): Likewise.
12090 (lrint_test): Likewise.
12091 (lrint_test_tonearest): Likewise.
12092 (lrint_test_towardzero): Likewise.
12093 (lrint_test_downward): Likewise.
12094 (lrint_test_upward): Likewise.
12095 (llrint_test): Likewise.
12096 (llrint_test_tonearest): Likewise.
12097 (llrint_test_towardzero): Likewise.
12098 (llrint_test_downward): Likewise.
12099 (llrint_test_upward): Likewise.
12100 (log_test): Likewise.
12101 (log10_test): Likewise.
12102 (log1p_test): Likewise.
12103 (log2_test): Likewise.
12104 (logb_test): Likewise.
12105 (logb_test_downward): Likewise.
12106 (lround_test): Likewise.
12107 (llround_test): Likewise.
12108 (modf_test): Likewise.
12109 (nearbyint_test): Likewise.
12110 (nextafter_test): Likewise.
12111 (nexttoward_test): Likewise.
12112 (pow_test): Likewise.
12113 (pow_test_tonearest): Likewise.
12114 (pow_test_towardzero): Likewise.
12115 (pow_test_downward): Likewise.
12116 (pow_test_upward): Likewise.
12117 (remainder_test): Likewise.
12118 (remainder_test_tonearest): Likewise.
12119 (remainder_test_towardzero): Likewise.
12120 (remainder_test_downward): Likewise.
12121 (remainder_test_upward): Likewise.
12122 (remquo_test): Likewise.
12123 (rint_test): Likewise.
12124 (rint_test_tonearest): Likewise.
12125 (rint_test_towardzero): Likewise.
12126 (rint_test_downward): Likewise.
12127 (rint_test_upward): Likewise.
12128 (round_test): Likewise.
12129 (scalb_test): Likewise.
12130 (scalbn_test): Likewise.
12131 (scalbln_test): Likewise.
12132 (signbit_test): Likewise.
12133 (sin_test): Likewise.
12134 (sin_test_tonearest): Likewise.
12135 (sin_test_towardzero): Likewise.
12136 (sin_test_downward): Likewise.
12137 (sin_test_upward): Likewise.
12138 (sincos_test): Likewise.
12139 (sinh_test): Likewise.
12140 (sinh_test_tonearest): Likewise.
12141 (sinh_test_towardzero): Likewise.
12142 (sinh_test_downward): Likewise.
12143 (sinh_test_upward): Likewise.
12144 (sqrt_test): Likewise.
12145 (tan_test): Likewise.
12146 (tan_test_tonearest): Likewise.
12147 (tan_test_towardzero): Likewise.
12148 (tan_test_downward): Likewise.
12149 (tan_test_upward): Likewise.
12150 (tanh_test): Likewise.
12151 (tgamma_test): Likewise.
12152 (trunc_test): Likewise.
12153 (y0_test): Likewise.
12154 (y1_test): Likewise.
12155 (yn_test): Likewise.
12156 (significand_test): Likewise.
12157
bae143d2
OB
121582013-05-24 Ondřej Bílka <neleai@seznam.cz>
12159
12160 [BZ #15381]
12161 * libio/genops.c (_IO_no_init): Initialize wide struct info.
12162
9323d39b
EM
121632013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
12164
d4ea44a0 12165 [BZ #14894]
9323d39b
EM
12166 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
12167 __ppc_mdoio and __ppc_mdoom.
12168 * manual/platform.texi: Document new functions __ppc_yield,
12169 __ppc_mdoio and __ppc_mdoom.
12170
13e23af7
CD
121712013-05-22 Carlos O'Donell <carlos@redhat.com>
12172
12173 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
12174 (main): Mention "tls" pseudo-hwcap is legacy.
12175 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
12176
351fe550
JM
121772013-05-22 Joseph Myers <joseph@codesourcery.com>
12178
12179 * math/gen-libm-test.pl (parse_args): Output only string of
12180 arguments as text for test name, not full call or descriptions of
12181 tests for extra outputs.
12182 (generate_testfile): Do not pass function name to parse_args.
12183 Generate this_func variable from START.
12184 * math/libm-test.inc (struct test_f_f_data): Rename test_name
12185 field to arg_str.
12186 (struct test_ff_f_data): Likewise.
12187 (test_ff_f_data_nexttoward): Likewise.
12188 (struct test_fi_f_data): Likewise.
12189 (struct test_fl_f_data): Likewise.
12190 (struct test_if_f_data): Likewise.
12191 (struct test_fff_f_data): Likewise.
12192 (struct test_c_f_data): Likewise.
12193 (struct test_f_f1_data): Likewise. Remove field extra_name.
12194 (struct test_fF_f1_data): Likewise.
12195 (struct test_ffI_f1_data): Likewise.
12196 (struct test_c_c_data): Rename test_name field to arg_str.
12197 (struct test_cc_c_data): Likewise.
12198 (struct test_f_i_data): Likewise.
12199 (struct test_ff_i_data): Likewise.
12200 (struct test_f_l_data): Likewise.
12201 (struct test_f_L_data): Likewise.
12202 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
12203 and extra2_name.
12204 (COMMON_TEST_SETUP): New macro.
12205 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
12206 (COMMON_TEST_CLEANUP): Likewise.
12207 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
12208 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
12209 macros.
12210 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
12211 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
12212 macros.
12213 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
12214 (RUN_TEST_fff_f): Take argument string. Call new setup and
12215 cleanup macros.
12216 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
12217 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
12218 macros.
12219 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
12220 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
12221 macros.
12222 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
12223 (RUN_TEST_fF_f1): Take argument string. Call new setup and
12224 cleanup macros.
12225 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
12226 (RUN_TEST_fI_f1): Take argument string. Call new setup and
12227 cleanup macros.
12228 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
12229 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
12230 cleanup macros.
12231 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
12232 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
12233 macros.
12234 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
12235 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
12236 macros.
12237 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
12238 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
12239 macros.
12240 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
12241 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
12242 cleanup macros.
12243 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
12244 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
12245 cleanup macros.
12246 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
12247 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
12248 macros.
12249 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
12250 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
12251 cleanup macros.
12252 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
12253 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
12254 macros.
12255 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
12256 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
12257 macros.
12258 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
12259 (RUN_TEST_fFF_11): Take argument string. Call new setup and
12260 cleanup macros.
12261 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
12262
85118d4d
EBM
122632013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
12264
12265 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
12266 to _sifields.sigfault.
12267 (si_addr_lsb): Define new macro.
12268 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
12269 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
12270 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
12271
7a44c18f
CD
122722013-05-03 Carlos O'Donell <carlos at redhat.com>
12273
12274 [BZ #15441]
12275 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
12276 returns -1.
12277 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
12278 null return -1.
12279 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
12280 loading the domain.
12281
b50a7181
JM
122822013-05-22 Joseph Myers <joseph@codesourcery.com>
12283
12284 * math/gen-libm-test.pl (parse_args): Do not include expected
12285 result in test name.
12286 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
12287 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12288 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
12289 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
12290 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
12291 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12292
051063c8
SP
122932013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
12294
3ce9e010
SP
12295 * benchtests/Makefile: Sort function entries.
12296
051063c8
SP
12297 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
12298 tanh, asinh, acosh, atanh.
12299 * benchtests/acos-inputs: New file.
12300 * benchtests/acosh-inputs: New file.
12301 * benchtests/asin-inputs: New file.
12302 * benchtests/asinh-inputs: New file.
12303 * benchtests/atanh-inputs: New file.
12304 * benchtests/cosh-inputs: New file.
12305 * benchtests/log-inputs: New file.
12306 * benchtests/sinh-inputs: New file.
12307 * benchtests/tanh-inputs: New file.
12308
47c22455
DL
123092013-05-21 Dmitry V. Levin <ldv@altlinux.org>
12310
12311 [BZ #15339]
12312 * posix/tst-getaddrinfo4.c: New test.
12313 * posix/Makefile (tests): Add it.
12314
3d04f5db
SP
123152013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12316
12317 [BZ #15339]
12318 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
12319 when no services were used.
12320 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
12321 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
12322
d5dd6189
AS
123232013-05-21 Andreas Schwab <schwab@suse.de>
12324
12325 [BZ #15014]
12326 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
12327 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
12328 successful.
12329 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
12330 redundant variable declarations and reallocation of buffer when
12331 parsing as IPv6 address. Always set NSS status when called from
12332 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
12333 buffer too small. Correct computation of needed size.
12334 * nss/Makefile (tests): Add test-digits-dots.
12335 * nss/test-digits-dots.c: New test.
12336
fef94eab
SP
123372013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12338
12339 * benchtests/Makefile: Remove instructions for adding
12340 benchmark tests.
12341 * benchtests/README: New file to explain how to execute and
12342 enhance the benchmark tests.
12343
e39adf43
AS
123442013-05-21 Andreas Schwab <schwab@suse.de>
12345
12346 [BZ #15493]
12347 * setjmp/Makefile (tests): Add tst-sigsetjmp.
12348 * setjmp/tst-sigsetjmp.c: New test.
12349
b2b671b6
OB
123502013-05-20 Ondřej Bílka <neleai@seznam.cz>
12351
12352 * sysdeps/x86_64/memset.S (memset): New implementation.
12353 (__bzero): Likewise.
12354 (__memset_tail): New function.
12355
2d48b41c
OB
123562013-05-20 Ondřej Bílka <neleai@seznam.cz>
12357
12358 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
12359 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
12360 __memcpy_sse2_unaligned ifunc selection.
12361 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
12362 Add memcpy-sse2-unaligned.S.
12363 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12364 Add: __memcpy_sse2_unaligned.
12365
f16cc3eb
JM
123662013-05-19 Joseph Myers <joseph@codesourcery.com>
12367
3e694268
JM
12368 [BZ #15490]
12369 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
12370 math_force_eval before restoring floating-point envrionment.
12371 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
12372 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
12373 Likewise.
12374 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
12375 <math_private.h>.
12376 (__nearbyintl): Use math_force_eval before restoring
12377 floating-point environment.
12378 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
12379
db62a907
JM
12380 * math/gen-libm-test.pl (special_functions): Remove.
12381 (parse_args): Don't handle TEST_extra. Handle functions with no
12382 return value.
12383 * math/libm-test.inc (struct test_sincos_data): Replace with
12384 struct test_fFF_11_data.
12385 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
12386 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
12387 (sincos_test_data): Change element type to struct
12388 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
12389 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
12390 RUN_TEST_LOOP_sincos.
12391 * math/README.libm-test: Don't mention special handling of
12392 individual functions.
12393 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
12394 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12395 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
12396 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
12397 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
12398 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12399
f16cc3eb
JM
12400 * math/gen-libm-test.pl (get_variable): Remove function.
12401 (parse_args): Don't show pointer parameters to call in test
12402 names. Use "extra output N" in test names for extra outputs
12403 rather than naming variables.
12404
3779b5b6
JM
124052013-05-18 Joseph Myers <joseph@codesourcery.com>
12406
2ee094ff
JM
12407 [BZ #15488]
12408 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
12409 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
12410 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
12411 double tests.
12412 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
12413 disable.
12414 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
12415 check_long_double.
12416
3779b5b6
JM
12417 * math/gen-libm-test.pl (@tests): Remove variable.
12418 ($count): Likewise.
12419 (new_test): Remove function.
12420 (show_exceptions): New function.
12421 (special_functions): Use show_exceptions instead of new_test.
12422 (parse_args): Likewise.
12423 (generate_testfile): Pass only function name in generated call to
12424 print_max_error or print_complex_max_error.
12425 (get_ulps): Do not handle complex tests specially.
12426 (output_test): Rename to ...
12427 (get_all_ulps_for_test): ... this. Return a string rather than
12428 printing to a file. Require ulps to be present.
12429 (output_ulps): Generate arrays rather than #defines.
12430 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
12431 (struct ulp_data): New type.
12432 (BUILD_COMPLEX_ULP): Remove macro.
12433 (compare_ulp_data): New function.
12434 (find_ulps): Likewise.
12435 (find_test_ulps): Likewise.
12436 (find_function_ulps): Likewise.
12437 (find_complex_function_ulps): Likewise.
12438 (print_max_error): Determine allowed ulps using
12439 find_function_ulps.
12440 (print_complex_max_error): Determine allowed ulps using
12441 find_complex_function_ulps.
12442 (check_float_internal): Determine max ulps using find_test_ulps.
12443 (check_float): Do not take max_ulp parameter. Update call to
12444 check_float_internal.
12445 (check_complex): Likewise.
12446 (check_int): Do not take max_ulp parameter.
12447 (check_long): Likewise.
12448 (check_bool): Likewise.
12449 (check_longlong): Likewise.
12450 (struct test_f_f_data): Remove max_ulp field.
12451 (struct test_ff_f_data): Likewise.
12452 (struct test_ff_f_data_nexttoward): Likewise.
12453 (struct test_fi_f_data): Likewise.
12454 (struct test_fl_f_data): Likewise.
12455 (struct test_if_f_data): Likewise.
12456 (struct test_fff_f_data): Likewise.
12457 (struct test_c_f_data): Likewise.
12458 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
12459 (struct test_fF_f1_data): Likewise.
12460 (struct test_ffI_f1_data): Likewise.
12461 (struct test_c_c_data): Remove max_ulp field.
12462 (struct test_cc_c_data): Likewise.
12463 (struct test_f_i_data): Likewise.
12464 (struct test_ff_i_data): Likewise.
12465 (struct test_f_l_data): Likewise.
12466 (struct test_f_L_data): Likewise.
12467 (struct test_sincos_data): Likewise.
12468 (RUN_TEST_f_f): Do not handle ulps.
12469 (RUN_TEST_LOOP_f_f): Likewise.
12470 (RUN_TEST_2_f): Likewise.
12471 (RUN_TEST_LOOP_2_f): Likewise.
12472 (RUN_TEST_fff_f): Likewise.
12473 (RUN_TEST_LOOP_fff_f): Likewise.
12474 (RUN_TEST_c_f): Likewise.
12475 (RUN_TEST_LOOP_c_f): Likewise.
12476 (RUN_TEST_f_f1): Likewise.
12477 (RUN_TEST_LOOP_f_f1): Likewise.
12478 (RUN_TEST_fF_f1): Likewise.
12479 (RUN_TEST_LOOP_fF_f1): Likewise.
12480 (RUN_TEST_fI_f1): Likewise.
12481 (RUN_TEST_LOOP_fI_f1): Likewise.
12482 (RUN_TEST_ffI_f1): Likewise.
12483 (RUN_TEST_LOOP_ffI_f1): Likewise.
12484 (RUN_TEST_c_c): Likewise.
12485 (RUN_TEST_LOOP_c_c): Likewise.
12486 (RUN_TEST_cc_c): Likewise.
12487 (RUN_TEST_LOOP_cc_c): Likewise.
12488 (RUN_TEST_f_i): Likewise.
12489 (RUN_TEST_LOOP_f_i): Likewise.
12490 (RUN_TEST_f_i_tg): Likewise.
12491 (RUN_TEST_LOOP_f_i_tg): Likewise.
12492 (RUN_TEST_ff_i_tg): Likewise.
12493 (RUN_TEST_LOOP_ff_i_tg): Likewise.
12494 (RUN_TEST_f_b): Likewise.
12495 (RUN_TEST_LOOP_f_b): Likewise.
12496 (RUN_TEST_f_b_tg): Likewise.
12497 (RUN_TEST_LOOP_f_b_tg): Likewise.
12498 (RUN_TEST_f_l): Likewise.
12499 (RUN_TEST_LOOP_f_l): Likewise.
12500 (RUN_TEST_f_L): Likewise.
12501 (RUN_TEST_LOOP_f_L): Likewise.
12502 (RUN_TEST_sincos): Likewise.
12503 (RUN_TEST_LOOP_sincos): Likewise.
12504
8269107f
JM
125052013-05-17 Joseph Myers <joseph@codesourcery.com>
12506
bb38759d
JM
12507 [BZ #15480]
12508 [BZ #15485]
12509 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
12510 main case of finite arguments, set rounding mode to FE_TONEAREST
12511 and discard exceptions.
12512 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
12513 exceptions.
12514 (remainder_tonearest_test_data): New variable.
12515 (remainder_test_tonearest): New function.
12516 (remainder_towardzero_test_data): New variable.
12517 (remainder_test_towardzero): New function.
12518 (remainder_downward_test_data): New variable.
12519 (remainder_test_downward): New function.
12520 (remainder_upward_test_data): New variable.
12521 (remainder_test_upward): New function.
12522 (main): Call the new test functions.
12523
a00bdcf0
JM
12524 * math/libm-test.inc (struct test_f_f1_data): Remove field
12525 extra_init.
12526 (struct test_fF_f1_data): Likewise.
12527 (struct test_ffI_f1_data): Likewise.
12528 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
12529 based on value of EXTRA_EXPECTED.
12530 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
12531 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
12532 EXTRA_VAR based on value of EXTRA_EXPECTED.
12533 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
12534 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
12535 EXTRA_VAR based on value of EXTRA_EXPECTED.
12536 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
12537 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
12538 EXTRA_VAR based on value of EXTRA_EXPECTED.
12539 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
12540 * math/gen-libm-test.pl (parse_args): Don't output initializers
12541 for extra output values.
12542
de407f79
JM
12543 * math/libm-test.inc (check_int): Expect result to be exactly
12544 equal to expected value and do not handle ulps.
12545 (check_long): Likewise.
12546 (check_longlong): Likewise.
12547
8269107f
JM
12548 * math/libm-test.inc (ceil_test_data): Test for "inexact"
12549 exceptions.
12550 (cimag_test_data): Likewise.
12551 (conj_test_data): Likewise.
12552 (copysign_test_data): Likewise.
12553 (cproj_test_data): Likewise.
12554 (creal_test_data): Likewise.
12555 (fabs_test_data): Likewise.
12556 (fdim_test_data): Likewise.
12557 (finite_test_data): Likewise.
12558 (floor_test_data): Likewise.
12559 (fmax_test_data): Likewise.
12560 (fmin_test_data): Likewise.
12561 (fmod_test_data): Likewise.
12562 (fpclassify_test_data): Likewise.
12563 (frexp_test_data): Likewise.
12564 (ilogb_test_data): Likewise.
12565 (isfinite_test_data): Likewise.
12566 (isgreater_test_data): Likewise.
12567 (isgreaterequal_test_data): Likewise.
12568 (isinf_test_data): Likewise.
12569 (isless_test_data): Likewise.
12570 (islessequal_test_data): Likewise.
12571 (islessgreater_test_data): Likewise.
12572 (isnan_test_data): Likewise.
12573 (isnormal_test_data): Likewise.
12574 (issignaling_test_data): Likewise.
12575 (isunordered_test_data): Likewise.
12576 (ldexp_test_data): Likewise.
12577 (lrint_test_data): Likewise.
12578 (lrint_test_data) [TEST_FLOAT]: Disable one test.
12579 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
12580 (lrint_tonearest_test_data): Test for "inexact" exceptions.
12581 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
12582 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
12583 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
12584 test input.
12585 (lrint_towardzero_test_data): Test for "inexact" exceptions.
12586 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
12587 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
12588 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
12589 that test input.
12590 (lrint_downward_test_data): Test for "inexact" exceptions.
12591 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
12592 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
12593 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
12594 test input.
12595 (lrint_upward_test_data): Test for "inexact" exceptions.
12596 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
12597 test input.
12598 (llrint_test_data): Test for "inexact" exceptions.
12599 (llrint_test_data) [TEST_FLOAT]: Disable one test.
12600 (llrint_tonearest_test_data): Test for "inexact" exceptions.
12601 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
12602 (llrint_towardzero_test_data): Test for "inexact" exceptions.
12603 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
12604 (llrint_downward_test_data): Test for "inexact" exceptions.
12605 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
12606 (llrint_upward_test_data): Test for "inexact" exceptions.
12607 (logb_test_data): Likewise.
12608 (logb_downward_test_data): Likewise.
12609 (nextafter_test_data): Likewise.
12610 (nexttoward_test_data): Likewise.
12611 (remainder_test_data): Likewise.
12612 (remquo_test_data): Likewise.
12613 (scalbn_test_data): Likewise.
12614 (scalbln_test_data): Likewise.
12615 (signbit_test_data): Likewise.
12616 (sqrt_test_data): Likewise.
12617 (significand_test_data): Likewise.
12618
48a18de1
SP
126192013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
12620
12621 [BZ #15424]
12622 * benchtests/bench-modf.c (struct args): Mark arg0 as
12623 volatile.
12624 * scripts/bench.pl: Mark members of struct args as volatile.
12625
13d3b41a
AZ
126262013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12627
68191c1d 12628 [BZ # 15497]
13d3b41a
AZ
12629 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
12630 negative infinity on POWER6 or lower.
12631 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
12632
2848b105
MR
126332013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
12634
12635 [BZ #15442]
12636 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
12637 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
12638 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
12639 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
12640 (_FP_SETQNAN): New macro.
12641 (_FP_SETQNAN_SEMIRAW): Likewise.
12642 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
12643 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
12644 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
12645 (FP_EXTEND): Use _FP_FRAC_SNANP.
12646 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
12647 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
12648 into account.
12649 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
12650 New macro.
12651 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
12652 Likewise.
12653
323e5cb7
JM
126542013-05-16 Joseph Myers <joseph@codesourcery.com>
12655
c58b274f
JM
12656 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
12657 with DIVIDE_BY_ZERO_EXCEPTION.
12658 (gamma_test_data): Likewise.
12659 (lgamma_test_data): Likewise.
12660 (log_test_data): Likewise.
12661 (log10_test_data): Likewise.
12662 (log2_test_data): Likewise.
12663 (tgamma_test_data): Likewise.
12664
0ab34904
JM
12665 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
12666 (acos_test_tonearest): Likewise.
12667 (acos_test_towardzero): Likewise.
12668 (acos_test_downward): Likewise.
12669 (acos_test_upward): Likewise.
12670 (acosh_test): Likewise.
12671 (asin_test): Likewise.
12672 (asin_test_tonearest): Likewise.
12673 (asin_test_towardzero): Likewise.
12674 (asin_test_downward): Likewise.
12675 (asin_test_upward): Likewise.
12676 (asinh_test): Likewise.
12677 (atan_test): Likewise.
12678 (atanh_test): Likewise.
12679 (atan2_test): Likewise.
12680 (cabs_test): Likewise.
12681 (cacos_test): Likewise.
12682 (cacosh_test): Likewise.
12683 (casin_test): Likewise.
12684 (casinh_test): Likewise.
12685 (catan_test): Likewise.
12686 (catanh_test): Likewise.
12687 (cbrt_test): Likewise.
12688 (ccos_test): Likewise.
12689 (ccosh_test): Likewise.
12690 (cexp_test): Likewise.
12691 (clog_test): Likewise.
12692 (clog10_test): Likewise.
12693 (cos_test): Likewise.
12694 (cos_test_tonearest): Likewise.
12695 (cos_test_towardzero): Likewise.
12696 (cos_test_downward): Likewise.
12697 (cos_test_upward): Likewise.
12698 (cosh_test): Likewise.
12699 (cosh_test_tonearest): Likewise.
12700 (cosh_test_towardzero): Likewise.
12701 (cosh_test_downward): Likewise.
12702 (cosh_test_upward): Likewise.
12703 (cpow_test): Likewise.
12704 (csin_test): Likewise.
12705 (csinh_test): Likewise.
12706 (csqrt_test): Likewise.
12707 (ctan_test): Likewise.
12708 (ctan_test_tonearest): Likewise.
12709 (ctan_test_towardzero): Likewise.
12710 (ctan_test_downward): Likewise.
12711 (ctan_test_upward): Likewise.
12712 (ctanh_test): Likewise.
12713 (ctanh_test_tonearest): Likewise.
12714 (ctanh_test_towardzero): Likewise.
12715 (ctanh_test_downward): Likewise.
12716 (ctanh_test_upward): Likewise.
12717 (erf_test): Likewise.
12718 (erfc_test): Likewise.
12719 (exp_test): Likewise.
12720 (exp_test_tonearest): Likewise.
12721 (exp_test_towardzero): Likewise.
12722 (exp_test_downward): Likewise.
12723 (exp_test_upward): Likewise.
12724 (exp10_test): Likewise.
12725 (exp2_test): Likewise.
12726 (expm1_test): Likewise.
12727 (fmod_test): Likewise.
12728 (gamma_test): Likewise.
12729 (hypot_test): Likewise.
12730 (j0_test): Likewise.
12731 (j1_test): Likewise.
12732 (jn_test): Likewise.
12733 (lgamma_test): Likewise.
12734 (log_test): Likewise.
12735 (log10_test): Likewise.
12736 (log1p_test): Likewise.
12737 (log2_test): Likewise.
12738 (logb_test_downward): Likewise.
12739 (pow_test): Likewise.
12740 (pow_test_tonearest): Likewise.
12741 (pow_test_towardzero): Likewise.
12742 (pow_test_downward): Likewise.
12743 (pow_test_upward): Likewise.
12744 (remainder_test): Likewise.
12745 (remquo_test): Likewise.
12746 (sin_test): Likewise.
12747 (sin_test_tonearest): Likewise.
12748 (sin_test_towardzero): Likewise.
12749 (sin_test_downward): Likewise.
12750 (sin_test_upward): Likewise.
12751 (sincos_test): Likewise.
12752 (sinh_test): Likewise.
12753 (sinh_test_tonearest): Likewise.
12754 (sinh_test_towardzero): Likewise.
12755 (sinh_test_downward): Likewise.
12756 (sinh_test_upward): Likewise.
12757 (sqrt_test): Likewise.
12758 (tan_test): Likewise.
12759 (tan_test_tonearest): Likewise.
12760 (tan_test_towardzero): Likewise.
12761 (tan_test_downward): Likewise.
12762 (tan_test_upward): Likewise.
12763 (tanh_test): Likewise.
12764 (tgamma_test): Likewise.
12765 (y0_test): Likewise.
12766 (y1_test): Likewise.
12767 (yn_test): Likewise.
12768
323e5cb7
JM
12769 * math/gen-libm-test.pl (adjust_arg): Remove function.
12770 (special_function): Remove argument $in_func. Only handle
12771 generating output for tables of tests, not inside functions.
12772 (parse_args): Likewise.
12773 (generate_testfile): Remove variable $in_func. Update call to
12774 parse_args.
12775 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
12776 (MINUS_ZERO_INIT): Rename macro to minus_zero.
12777 (PLUS_INFTY_INIT): Rename macro to plus_infty.
12778 (MINUS_INFTY_INIT): Rename macro to minus_infty.
12779 (QNAN_VALUE_INIT): Rename macro to qnan_value.
12780 (MAX_VALUE_INIT): Rename macro to max_value.
12781 (MIN_VALUE_INIT): Rename macro to min_value.
12782 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
12783 (plus_zero): Remove variable.
12784 (minus_zero): Likewise.
12785 (plus_infty): Likewise.
12786 (minus_infty): Likewise.
12787 (qnan_value): Likewise.
12788 (max_value): Likewise.
12789 (min_value): Likewise.
12790 (min_subnorm_value): Likewise.
12791
e054f494
RA
127922013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12793
12794 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
12795 uint64_t or uint32_t usage.
12796 * crypt/sha256-block.c: Likewise.
12797 * crypt/sha256-crypt.c: Likewise.
12798 * crypt/sha256.c: Likewise.
12799 * crypt/sha512-block.c: Likewise.
12800 * crypt/sha512-crypt.c: Likewise.
12801 * crypt/sha512.c: Likewise.
12802 * debug/backtrace-tst.c: Likewise.
12803 * debug/pcprofiledump.c: Likewise.
12804 * elf/cache.c: Likewise.
12805 * elf/dl-cache.c: Likewise.
12806 * elf/dl-misc.c: Likewise.
12807 * elf/dl-profile.c: Likewise.
12808 * elf/dl-support.c: Likewise.
12809 * elf/ldconfig.c: Likewise.
12810 * elf/sprof.c: Likewise.
12811 * iconv/dummy-repertoire.c: Likewise.
12812 * iconv/iconv_charmap.c: Likewise.
12813 * iconv/skeleton.c: Likewise.
12814 * iconvdata/8bit-generic.c: Likewise.
12815 * iconvdata/cp737.h: Likewise.
12816 * iconvdata/cp775.h: Likewise.
12817 * iconvdata/ibm1008.h: Likewise.
12818 * iconvdata/ibm1025.h: Likewise.
12819 * iconvdata/ibm1046.h: Likewise.
12820 * iconvdata/ibm1097.h: Likewise.
12821 * iconvdata/ibm1112.h: Likewise.
12822 * iconvdata/ibm1122.h: Likewise.
12823 * iconvdata/ibm1123.h: Likewise.
12824 * iconvdata/ibm1124.h: Likewise.
12825 * iconvdata/ibm1129.h: Likewise.
12826 * iconvdata/ibm1130.h: Likewise.
12827 * iconvdata/ibm1132.h: Likewise.
12828 * iconvdata/ibm1133.h: Likewise.
12829 * iconvdata/ibm1137.h: Likewise.
12830 * iconvdata/ibm1140.h: Likewise.
12831 * iconvdata/ibm1141.h: Likewise.
12832 * iconvdata/ibm1142.h: Likewise.
12833 * iconvdata/ibm1143.h: Likewise.
12834 * iconvdata/ibm1144.h: Likewise.
12835 * iconvdata/ibm1145.h: Likewise.
12836 * iconvdata/ibm1146.h: Likewise.
12837 * iconvdata/ibm1147.h: Likewise.
12838 * iconvdata/ibm1148.h: Likewise.
12839 * iconvdata/ibm1149.h: Likewise.
12840 * iconvdata/ibm1153.h: Likewise.
12841 * iconvdata/ibm1154.h: Likewise.
12842 * iconvdata/ibm1155.h: Likewise.
12843 * iconvdata/ibm1156.h: Likewise.
12844 * iconvdata/ibm1157.h: Likewise.
12845 * iconvdata/ibm1158.h: Likewise.
12846 * iconvdata/ibm1160.h: Likewise.
12847 * iconvdata/ibm1161.h: Likewise.
12848 * iconvdata/ibm1162.h: Likewise.
12849 * iconvdata/ibm1163.h: Likewise.
12850 * iconvdata/ibm1164.h: Likewise.
12851 * iconvdata/ibm1166.h: Likewise.
12852 * iconvdata/ibm1167.h: Likewise.
12853 * iconvdata/ibm12712.h: Likewise.
12854 * iconvdata/ibm1390.h: Likewise.
12855 * iconvdata/ibm1399.h: Likewise.
12856 * iconvdata/ibm16804.h: Likewise.
12857 * iconvdata/ibm4517.h: Likewise.
12858 * iconvdata/ibm4899.h: Likewise.
12859 * iconvdata/ibm4909.h: Likewise.
12860 * iconvdata/ibm4971.h: Likewise.
12861 * iconvdata/ibm5347.h: Likewise.
12862 * iconvdata/ibm803.h: Likewise.
12863 * iconvdata/ibm856.h: Likewise.
12864 * iconvdata/ibm901.h: Likewise.
12865 * iconvdata/ibm902.h: Likewise.
12866 * iconvdata/ibm9030.h: Likewise.
12867 * iconvdata/ibm9066.h: Likewise.
12868 * iconvdata/ibm921.h: Likewise.
12869 * iconvdata/ibm922.h: Likewise.
12870 * iconvdata/ibm9448.h: Likewise.
12871 * iconvdata/isiri-3342.h: Likewise.
12872 * iconvdata/jis0201.h: Likewise.
12873 * include/link.h: Likewise.
12874 * include/netdb.h: Likewise.
12875 * inet/check_native.c: Likewise.
12876 * inet/check_pf.c: Likewise.
12877 * inet/getipv4sourcefilter.c: Likewise.
12878 * inet/getnameinfo.c: Likewise.
12879 * inet/getsourcefilter.c: Likewise.
12880 * inet/htonl.c: Likewise.
12881 * inet/setipv4sourcefilter.c: Likewise.
12882 * inet/setsourcefilter.c: Likewise.
12883 * inet/test-inet6_opt.c: Likewise.
12884 * inet/tst-network.c: Likewise.
12885 * locale/C-collate.c: Likewise.
12886 * locale/C-ctype.c: Likewise.
12887 * locale/C-time.c: Likewise.
12888 * locale/C-translit.h: Likewise.
12889 * locale/loadarchive.c: Likewise.
12890 * locale/programs/3level.h: Likewise.
12891 * locale/programs/charmap.c: Likewise.
12892 * locale/programs/charmap.h: Likewise.
12893 * locale/programs/ld-address.c: Likewise.
12894 * locale/programs/ld-collate.c: Likewise.
12895 * locale/programs/ld-ctype.c: Likewise.
12896 * locale/programs/ld-identification.c: Likewise.
12897 * locale/programs/ld-measurement.c: Likewise.
12898 * locale/programs/ld-messages.c: Likewise.
12899 * locale/programs/ld-monetary.c: Likewise.
12900 * locale/programs/ld-name.c: Likewise.
12901 * locale/programs/ld-numeric.c: Likewise.
12902 * locale/programs/ld-paper.c: Likewise.
12903 * locale/programs/ld-telephone.c: Likewise.
12904 * locale/programs/ld-time.c: Likewise.
12905 * locale/programs/linereader.c: Likewise.
12906 * locale/programs/locale.c: Likewise.
12907 * locale/programs/locarchive.c: Likewise.
12908 * locale/programs/locfile.h: Likewise.
12909 * locale/programs/repertoire.c: Likewise.
12910 * locale/programs/simple-hash.c: Likewise.
12911 * locale/programs/simple-hash.h: Likewise.
12912 * malloc/memusage.c: Likewise.
12913 * malloc/memusagestat.c: Likewise.
12914 * nis/nis_defaults.c: Likewise.
12915 * nis/nis_hash.c: Likewise.
12916 * nis/nis_print.c: Likewise.
12917 * nis/nis_xdr.c: Likewise.
12918 * nscd/connections.c: Likewise.
12919 * nscd/hstcache.c: Likewise.
12920 * nscd/nscd_gethst_r.c: Likewise.
12921 * nscd/nscd_getserv_r.c: Likewise.
12922 * nscd/nscd_helper.c: Likewise.
12923 * nscd/servicescache.c: Likewise.
12924 * nss/makedb.c: Likewise.
12925 * nss/nss_db/db-XXX.c: Likewise.
12926 * nss/nss_db/db-initgroups.c: Likewise.
12927 * nss/nss_db/db-netgrp.c: Likewise.
12928 * nss/nss_files/files-network.c: Likewise.
12929 * nss/nss_files/files-parse.c: Likewise.
12930 * posix/bug-regex5.c: Likewise.
12931 * posix/fnmatch_loop.c: Likewise.
12932 * posix/regcomp.c: Likewise.
12933 * posix/regexec.c: Likewise.
12934 * posix/tst-rfc3484-2.c: Likewise.
12935 * posix/tst-rfc3484-3.c: Likewise.
12936 * posix/tst-rfc3484.c: Likewise.
12937 * resolv/nss_dns/dns-canon.c: Likewise.
12938 * resolv/nss_dns/dns-network.c: Likewise.
12939 * resolv/res_init.c: Likewise.
12940 * resolv/res_mkquery.c: Likewise.
12941 * resolv/tst-aton.c: Likewise.
12942 * stdlib/cxa_atexit.c: Likewise.
12943 * stdlib/cxa_finalize.c: Likewise.
12944 * stdlib/gen-fpioconst.c: Likewise.
12945 * stdlib/strtol_l.c: Likewise.
12946 * string/tst-endian.c: Likewise.
12947 * sunrpc/auth_des.c: Likewise.
12948 * sunrpc/clnt_udp.c: Likewise.
12949 * sunrpc/rtime.c: Likewise.
12950 * sunrpc/svcauth_des.c: Likewise.
12951 * sunrpc/xdr.c: Likewise.
12952 * sunrpc/xdr_intXX_t.c: Likewise.
12953 * sunrpc/xdr_rec.c: Likewise.
12954 * sysdeps/generic/ldconfig.h: Likewise.
12955 * sysdeps/generic/ldsodefs.h: Likewise.
12956 * sysdeps/generic/memusage.h: Likewise.
12957 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
12958 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
12959 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
12960 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
12961 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
12962 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
12963 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
12964 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
12965 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
12966 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
12967 * sysdeps/posix/getaddrinfo.c: Likewise.
12968 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
12969 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
12970 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
12971 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
12972 * sysdeps/powerpc/test-gettimebase.c: Likewise.
12973 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
12974 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
12975 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
12976 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
12977 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
12978 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
12979 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
12980 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
12981 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
12982 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
12983 * sysdeps/x86_64/dl-tls.h: Likewise.
12984 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
12985 * time/alt_digit.c: Likewise.
12986 * time/era.c: Likewise.
12987 * wcsmbs/tst-c16c32-1.c: Likewise.
12988
8c75f674
JM
129892013-05-16 Joseph Myers <joseph@codesourcery.com>
12990
12991 * math/libm-test.inc (struct test_sincos_data): New type.
12992 (RUN_TEST_LOOP_sincos): New macro.
12993 (sincos_test_data): New variable.
12994 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
12995
e6e49e59
RH
129962013-05-16 Richard Henderson <rth@redhat.com>
12997
12998 * math/atest-exp2.c (LIMB64): New macro.
12999 (CONSTSZ): New macro.
13000 (mp_exp1, mp_exp_m1, mp_log2): New variables.
13001 (hexdig): Move ...
13002 (print_mpn_fp): ... to function scope.
13003 (read_mpn_hex): Remove.
13004 (get_log2): Remove.
13005 (exp2_mpn): Use mp_log2.
13006 (main): Use mp_exp1.
13007
15c7c18d
JM
130082013-05-16 Joseph Myers <joseph@codesourcery.com>
13009
105a07df
JM
13010 * math/libm-test.inc: Remove comment about not testing "inexact"
13011 exceptions.
13012 (INEXACT_EXCEPTION): New macro.
13013 (NO_INEXACT_EXCEPTION): Likewise.
13014 (INVALID_EXCEPTION_OK): Update value.
13015 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
13016 (OVERFLOW_EXCEPTION_OK): Likewise.
13017 (UNDERFLOW_EXCEPTION_OK): Likewise.
13018 (IGNORE_ZERO_INF_SIGN): Likewise.
13019 (ERRNO_UNCHANGED): Likewise.
13020 (ERRNO_EDOM): Likewise.
13021 (ERRNO_ERANGE): Likewise.
13022 (test_exceptions): Handle testing "inexact" exceptions.
13023 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
13024 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
13025 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
13026 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
13027 INEXACT_EXCEPTION.
13028 (rint_towardzero_test_data): Likewise.
13029 (rint_downward_test_data): Likewise.
13030 (rint_upward_test_data): Likewise.
13031
e9eee333
JM
13032 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
13033 with OVERFLOW_EXCEPTION.
13034 (exp10_test_data): Likewise.
13035 (exp2_test_data): Likewise.
13036 (expm1_test_data): Likewise.
13037 (lgamma_test_data): Likewise.
13038 (pow_test_data): Likewise.
13039 (tgamma_test_data): Likewise.
13040 (yn_test_data): Remove duplicate test of overflow.
13041
1c38ff73
JM
13042 * math/libm-test.inc (struct test_cc_c_data): New type.
13043 (RUN_TEST_LOOP_cc_c): New macro.
13044 (cpow_test_data): New variable.
13045 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
13046
15c7c18d
JM
13047 * math/libm-test.inc (struct test_f_L_data): New type.
13048 (RUN_TEST_LOOP_f_L): New macro.
13049 (llrint_test_data): New variable.
13050 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
13051 (llrint_tonearest_test_data): New variable.
13052 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
13053 (llrint_towardzero_test_data): New variable.
13054 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
13055 (llrint_downward_test_data): New variable.
13056 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
13057 (llrint_upward_test_data): New variable.
13058 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
13059 (llround_test_data): New variable.
13060 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
13061
f137ff13
PC
130622013-05-13 Peter Collingbourne <pcc@google.com>
13063
13064 * math/atest-exp2.c (get_log2): Remove const attribute.
13065
3608cb24
JM
130662013-05-15 Joseph Myers <joseph@codesourcery.com>
13067
13068 * math/libm-test.inc (struct test_f_l_data): New type.
13069 (RUN_TEST_LOOP_f_l): New macro.
13070 (lrint_test_data): New variable.
13071 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
13072 (lrint_tonearest_test_data): New variable.
13073 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
13074 (lrint_towardzero_test_data): New variable.
13075 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
13076 (lrint_downward_test_data): New variable.
13077 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
13078 (lrint_upward_test_data): New variable.
13079 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
13080 (lround_test_data): New variable.
13081 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
13082
39b1f617
PC
130832013-05-15 Peter Collingbourne <pcc@google.com>
13084
1deff3dc
PC
13085 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
13086 (EXTRACT_WORDS64) Use where appropriate.
13087 (INSERT_WORDS64) Likewise.
13088
791f3ba0
PC
13089 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
13090 constraints with x constraints.
13091 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
13092
39b1f617
PC
13093 * malloc/obstack.c (_obstack_compat): Add initializer.
13094
12fba011
EM
130952013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
13096
13097 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
13098 si_trapno and add si_addr_lsb to _sifields.sigfault.
13099 (si_trapno): Remove macro.
13100 (si_addr_lsb): Define new macro.
13101 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
13102
d369f531
JM
131032013-05-15 Joseph Myers <joseph@codesourcery.com>
13104
b861c6c4
JM
13105 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
13106 instead of TEST_f_l.
13107 (llrint_test_tonearest): Likewise.
13108 (llrint_test_towardzero): Likewise.
13109 (llrint_test_downward): Likewise.
13110 (llrint_test_upward): Likewise.
13111 (llround_test): Likewise.
13112
7abeee12
JM
13113 * math/libm-test.inc (struct test_f_i_data): Add comment.
13114 (RUN_TEST_LOOP_f_b): New macro.
13115 (RUN_TEST_LOOP_f_b_tg): Likewise.
13116 (finite_test_data): New variable.
13117 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
13118 (isfinite_test_data): New variable.
13119 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13120 (isinf_test_data): New variable.
13121 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13122 (isnan_test_data): New variable.
13123 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13124 (isnormal_test_data): New variable.
13125 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13126 (issignaling_test_data): New variable.
13127 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13128 (signbit_test_data): New variable.
13129 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13130
cbe8c4d3
JM
13131 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
13132 with INVALID_EXCEPTION.
13133 (acosh_test_data): Likewise.
13134 (asin_test_data): Likewise.
13135 (atanh_test_data): Likewise.
13136 (fmod_test_data): Likewise.
13137 (log_test_data): Likewise.
13138 (log10_test_data): Likewise.
13139 (log2_test_data): Likewise.
13140 (pow_test_data): Likewise.
13141 (sqrt_test_data): Likewise.
13142 (y0_test_data): Likewise.
13143 (y1_test_data): Likewise.
13144 (yn_test_data): Likewise.
13145
5575c0e5
JM
13146 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
13147 function contents.
13148
d369f531
JM
13149 * math/libm-test.inc (struct test_ff_i_data): New type.
13150 (RUN_TEST_LOOP_ff_i_tg): New macro.
13151 (isgreater_test_data): New variable.
13152 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13153 (isgreaterequal_test_data): New variable.
13154 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13155 (isless_test_data): New variable.
13156 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13157 (islessequal_test_data): New variable.
13158 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13159 (islessgreater_test_data): New variable.
13160 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13161 (isunordered_test_data): New variable.
13162 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13163
781fd748
DM
131642013-05-14 David S. Miller <davem@davemloft.net>
13165
13166 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13167
87aa21df
JM
131682013-05-14 Joseph Myers <joseph@codesourcery.com>
13169
5e908270
JM
13170 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
13171
f71172e5
JM
13172 * math/libm-test.inc (struct test_fF_f1_data): Change type of
13173 extra_test to int.
13174 (struct test_f_i_data): Change type of max_ulp to int.
13175
8cfa635a
JM
13176 * math/libm-test.inc (test_ffI_f1_data): New type.
13177 (RUN_TEST_LOOP_ffI_f1): New macro.
13178 (remquo_test_data): New variable.
13179 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
13180
2bcb36b2
JM
13181 * setjmp/tst-setjmp-fp.c: New file.
13182 * setjmp/Makefile (tests): Add tst-setjmp-fp.
13183 (link-libm): New variable.
13184 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
13185
acbd839a
JM
13186 * math/libm-test.inc (struct test_f_i_data): New type.
13187 (RUN_TEST_LOOP_f_i): New macro.
13188 (RUN_TEST_LOOP_f_i_tg): Likewise.
13189 (fpclassify_test_data): New variable.
13190 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
13191 (ilogb_test_data): New variable.
13192 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
13193
e414d745
JM
13194 * math/libm-test.inc (scalbln_test): Correct function name in END
13195 call.
13196
d9c2a0fd
JM
13197 * math/libm-test.inc (struct test_f_f1_data): Add comment.
13198 (RUN_TEST_LOOP_fI_f1): New macro.
13199 (frexp_test_data): New variable.
13200 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
13201
9dc9095d
JM
13202 * math/libm-test.inc (struct test_fF_f1_data): New type.
13203 (RUN_TEST_LOOP_fF_f1): New macro.
13204 (modf_test_data): New variable.
13205 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
13206
87aa21df
JM
13207 * math/libm-test.inc (struct test_f_f1_data): New type.
13208 (RUN_TEST_LOOP_f_f1): New macro.
13209 (gamma_test_data): New variable.
13210 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
13211 (lgamma_test_data): New variable.
13212 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
13213
141af660
CD
132142013-05-13 Carlos O'Donell <carlos@redhat.com>
13215
13216 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
13217 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
13218 (main): Comment "tls" pseudo-hwcap.
13219
6d33265c
JM
132202013-05-13 Joseph Myers <joseph@codesourcery.com>
13221
68fc074c
JM
13222 * math/libm-test.inc (struct test_fl_f_data): New type.
13223 (RUN_TEST_LOOP_fl_f): New variable.
13224 (scalbln_test_data): New variable.
13225 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
13226
243216e1
JM
13227 * math/libm-test.inc (struct test_fi_f_data): New type.
13228 (RUN_TEST_LOOP_fi_f): New macro.
13229 (ldexp_test_data): New variable.
13230 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
13231 (scalbn_test_data): New variable.
13232 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
13233
6a1992e2
JM
13234 * math/libm-test.inc (struct test_c_f_data): New type.
13235 (RUN_TEST_LOOP_c_f): New macro.
13236 (cabs_test_data): New variable.
13237 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
13238 (carg_test_data): New variable.
13239 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
13240 (cimag_test_data): New variable.
13241 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
13242 (creal_test_data): New variable.
13243 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
13244
0e400df5
JM
13245 * math/libm-test.inc (struct test_if_f_data): New type.
13246 (RUN_TEST_LOOP_if_f): New macro.
13247 (jn_test_data): New variable.
13248 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
13249 (yn_test_data): New variable.
13250 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
13251
6d33265c
JM
13252 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
13253
f98ece5f
AZ
132542013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13255
13256 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
13257 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
13258
0f7d347b
SP
132592013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
13260
43fe811b
SP
13261 * benchtests/Makefile (CPPFLAGS-nonlib): Add
13262 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
13263 (bench-deps): Add bench-timing.h.
13264 * benchtests-bench-skeleton.c: Include bench-timing.h.
13265 (main): Use TIMING_* macros instead of clock_gettime.
13266 * benchtests/bench-timing.h: New file.
13267
0f7d347b
SP
13268 [BZ #14582]
13269 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
13270 Renamed from _LIB_VERSION.
13271 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
13272
601a3a5f
JM
132732013-05-12 Joseph Myers <joseph@codesourcery.com>
13274
4f184d30
JM
13275 * math/libm-test.inc (struct test_fff_f_data): New type.
13276 (RUN_TEST_LOOP_fff_f): New macro.
13277 (fma_test_data): New variable.
13278 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
13279 (fma_towardzero_test_data): New variable.
13280 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
13281 (fma_downward_test_data): New variable.
13282 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
13283 (fma_upward_test_data): New variable.
13284 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
13285
08198877
JM
13286 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
13287 (struct test_c_c_data): New type.
13288 (RUN_TEST_LOOP_c_c): New macro.
13289 (cacos_test_data): New variable.
13290 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
13291 (cacosh_test_data): New variable.
13292 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
13293 (casin_test_data): New variable.
13294 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
13295 (casinh_test_data): New variable.
13296 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
13297 (catan_test_data): New variable.
13298 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
13299 (catanh_test_data): New variable.
13300 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
13301 (ccos_test_data): New variable.
13302 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
13303 (ccosh_test_data): New variable.
13304 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
13305 (cexp_test_data): New variable.
13306 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
13307 (clog_test_data): New variable.
13308 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
13309 (clog10_test_data): New variable.
13310 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
13311 (conj_test_data): New variable.
13312 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
13313 (cproj_test_data): New variable.
13314 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
13315 (csin_test_data): New variable.
13316 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
13317 (csinh_test_data): New variable.
13318 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
13319 (csqrt_test_data): New variable.
13320 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
13321 (ctan_test_data): New variable.
13322 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
13323 (ctan_tonearest_test_data): New variable.
13324 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
13325 (ctan_towardzero_test_data): New variable.
13326 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
13327 (ctan_downward_test_data): New variable.
13328 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
13329 (ctan_upward_test_data): New variable.
13330 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
13331 (ctanh_test_data): New variable.
13332 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
13333 (ctanh_tonearest_test_data): New variable.
13334 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
13335 (ctanh_towardzero_test_data): New variable.
13336 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
13337 (ctanh_downward_test_data): New variable.
13338 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
13339 (ctanh_upward_test_data): New variable.
13340 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
13341 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
13342 of BUILD_COMPLEX.
13343
601a3a5f
JM
13344 * math/libm-test.inc (struct test_ff_f_data): New type.
13345 (struct test_ff_f_data_nexttoward): Likewise.
13346 (RUN_TEST_LOOP_2_f): New macro.
13347 (RUN_TEST_LOOP_ff_f): Likewise.
13348 (atan2_test_data): New variable.
13349 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
13350 (copysign_test_data): New variable.
13351 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
13352 (fdim_test_data): New variable.
13353 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
13354 (fmax_test_data): New variable.
13355 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
13356 (fmin_test_data): New variable.
13357 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
13358 (fmod_test_data): New variable.
13359 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
13360 (hypot_test_data): New variable.
13361 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
13362 (nextafter_test_data): New variable.
13363 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
13364 (nexttoward_test_data): New variable.
13365 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
13366 (pow_test_data): New variable.
13367 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
13368 (pow_tonearest_test_data): New variable.
13369 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
13370 (pow_towardzero_test_data): New variable.
13371 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
13372 (pow_downward_test_data): New variable.
13373 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
13374 (pow_upward_test_data): New variable.
13375 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
13376 (remainder_test_data): New variable.
13377 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
13378 (scalb_test_data): New variable.
13379 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
13380 * sysdeps/i386/fpu/libm-test-ulps: Update.
13381
74c57478
JM
133822013-05-11 Joseph Myers <joseph@codesourcery.com>
13383
8329e4da
JM
13384 * math/libm-test.inc (fma_test): Use max_value instead of local
13385 variable fltmax.
13386 (nextafter_test): Likewise.
13387
74c57478
JM
13388 * math/libm-test.inc (acos_towardzero_test_data): New variable.
13389 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13390 (acos_downward_test_data): New variable.
13391 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13392 (acos_upward_test_data): New variable.
13393 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13394 (acosh_test_data): New variable.
13395 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
13396 (asin_test_data): New variable.
13397 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
13398 (asin_tonearest_test_data): New variable.
13399 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13400 (asin_towardzero_test_data): New variable.
13401 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13402 (asin_downward_test_data): New variable.
13403 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13404 (asin_upward_test_data): New variable.
13405 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13406 (asinh_test_data): New variable.
13407 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
13408 (atan_test_data): New variable.
13409 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
13410 (atanh_test_data): New variable.
13411 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
13412 (cbrt_test_data): New variable.
13413 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
13414 (ceil_test_data): New variable.
13415 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
13416 (cos_test_data): New variable.
13417 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
13418 (cos_tonearest_test_data): New variable.
13419 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13420 (cos_towardzero_test_data): New variable.
13421 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13422 (cos_downward_test_data): New variable.
13423 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13424 (cos_upward_test_data): New variable.
13425 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13426 (cosh_test_data): New variable.
13427 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
13428 (cosh_tonearest_test_data): New variable.
13429 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13430 (cosh_towardzero_test_data): New variable.
13431 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13432 (cosh_downward_test_data): New variable.
13433 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13434 (cosh_upward_test_data): New variable.
13435 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13436 (erf_test_data): New variable.
13437 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
13438 (erfc_test_data): New variable.
13439 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
13440 (exp_test_data): New variable.
13441 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
13442 (exp_tonearest_test_data): New variable.
13443 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13444 (exp_towardzero_test_data): New variable.
13445 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13446 (exp_downward_test_data): New variable.
13447 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13448 (exp_upward_test_data): New variable.
13449 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13450 (exp10_test_data): New variable.
13451 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
13452 (exp2_test_data): New variable.
13453 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
13454 (expm1_test_data): New variable.
13455 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
13456 (fabs_test_data): New variable.
13457 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
13458 (floor_test_data): New variable.
13459 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
13460 (j0_test_data): New variable.
13461 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
13462 (j1_test_data): New variable.
13463 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
13464 (log_test_data): New variable.
13465 (log_test): Run tests with RUN_TEST_LOOP_f_f.
13466 (log10_test_data): New variable.
13467 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
13468 (log1p_test_data): New variable.
13469 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
13470 (log2_test_data): New variable.
13471 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
13472 (logb_test_data): New variable.
13473 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
13474 (logb_downward_test_data): New variable.
13475 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13476 (nearbyint_test_data): New variable.
13477 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
13478 (rint_test_data): New variable.
13479 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
13480 (rint_tonearest_test_data): New variable.
13481 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13482 (rint_towardzero_test_data): New variable.
13483 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13484 (rint_downward_test_data): New variable.
13485 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13486 (rint_upward_test_data): New variable.
13487 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13488 (round_test_data): New variable.
13489 (round_test): Run tests with RUN_TEST_LOOP_f_f.
13490 (sin_test_data): New variable.
13491 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
13492 (sin_tonearest_test_data): New variable.
13493 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13494 (sin_towardzero_test_data): New variable.
13495 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13496 (sin_downward_test_data): New variable.
13497 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13498 (sin_upward_test_data): New variable.
13499 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13500 (sinh_test_data): New variable.
13501 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
13502 (sinh_tonearest_test_data): New variable.
13503 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13504 (sinh_towardzero_test_data): New variable.
13505 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13506 (sinh_downward_test_data): New variable.
13507 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13508 (sinh_upward_test_data): New variable.
13509 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13510 (sqrt_test_data): New variable.
13511 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
13512 (tan_test_data): New variable.
13513 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
13514 (tan_tonearest_test_data): New variable.
13515 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13516 (tan_towardzero_test_data): New variable.
13517 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13518 (tan_downward_test_data): New variable.
13519 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13520 (tan_upward_test_data): New variable.
13521 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13522 (tanh_test_data): New variable.
13523 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
13524 (tgamma_test_data): New variable.
13525 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
13526 (trunc_test_data): New variable.
13527 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
13528 (y0_test_data): New variable.
13529 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
13530 (y1_test_data): New variable.
13531 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
13532 (significand_test_data): New variable.
13533 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
13534
7187d844
CG
135352013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
13536
13537 [BZ #12387]
13538 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
13539
f63fae73
PT
135402013-05-10 Pino Toscano <toscano.pino@tiscali.it>
13541
13542 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
13543
8a67a4b3
AJ
135442013-05-10 Andreas Jaeger <aj@suse.de>
13545
13546 [BZ #15448]
13547 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
13548 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
13549
51df539d
JM
135502013-05-10 Joseph Myers <joseph@codesourcery.com>
13551
13552 * math/gen-libm-test.pl (adjust_arg): New function.
13553 (special_functions): Handle generating output in both functions
13554 and arrays.
13555 (parse_args): Likewise.
13556 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
13557 $in_func argument to parse_args.
13558 * math/libm-test.inc (struct test_f_f_data): New type.
13559 (IF_ROUND_INIT_): New macro.
13560 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
13561 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
13562 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
13563 (IF_ROUND_INIT_FE_UPWARD): Likewise.
13564 (ROUND_RESTORE_): Likewise.
13565 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
13566 (ROUND_RESTORE_FE_TONEAREST): Likewise.
13567 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
13568 (ROUND_RESTORE_FE_UPWARD): Likewise.
13569 (RUN_TEST_LOOP_f_f): New macro.
13570 (acos_test_data): New variable.
13571 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
13572 (acos_tonearest_test_data): New variable.
13573 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13574
5c637fe5
SP
135752013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
13576
13577 * benchtests/bench-skeleton.c (startup): Fix coding style.
13578
ab2b9461
JM
135792013-05-10 Joseph Myers <joseph@codesourcery.com>
13580
13581 [BZ #6809]
13582 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
13583 negative infinity argument.
13584 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
13585 negative infinity argument.
13586 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
13587 negative infinity argument.
13588 * math/libm-test.inc (tgamma_test): Expect errno to be set for
13589 domain errors.
13590
4c0fe6fe
FW
135912013-05-10 Florian Weimer <fweimer@redhat.com>
13592
13593 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
13594 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
13595 * iconv/iconv_prog.c (main): Likewise.
13596 * locale/programs/charmap-dir.c (charmap_readdir)
13597 (fopen_uncompressed): Likewise.
13598 * locale/programs/locfile.c (siblings_uncached)
13599 (write_locale_data): Use lstat64 instead of lstat.
13600 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
13601 stat.
13602
a3375d29
AJ
136032013-05-10 Andreas Jaeger <aj@suse.de>
13604
13605 [BZ #15395]
13606 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
13607 localization.
13608 Include <locale.h>.
13609
36129722
CD
136102013-05-09 Carlos O'Donell <carlos@redhat.com>
13611
13612 * elf/dl-close.c (_dl_close_worker): Add comments.
13613
faa7f811
JM
136142013-05-09 Joseph Myers <joseph@codesourcery.com>
13615
ed41ffef
JM
13616 [BZ #15359]
13617 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
13618 high part of pi/2.
13619 (__ieee754_rem_pio2l): Update comments.
13620
d0213cd0
JM
13621 [BZ #15429]
13622 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
13623 high part of pi/2.
13624 (__ieee754_rem_pio2l): Update comments.
13625
0d3e777a
JM
13626 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
13627 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
13628
24f56066
JM
13629 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
13630 M_PI_4l.
13631
faa7f811
JM
13632 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
13633 (M_PI_34_LOG10El): Likewise.
13634 (M_PI2_LOG10El): Likewise.
13635 (M_PI4_LOG10El): Likewise.
13636 (M_PI_LOG10El): Likewise.
13637
e9a5e0fd
AZ
136382013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13639
13640 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13641
d8cd06db
JM
136422013-05-08 Joseph Myers <joseph@codesourcery.com>
13643
a0d9f9d7
JM
13644 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
13645 (MINUS_ZERO_INIT): Likewise.
13646 (PLUS_INFTY_INIT): Likewise.
13647 (MINUS_INFTY_INIT): Likewise.
13648 (QNAN_VALUE_INIT): Likewise.
13649 (MAX_VALUE_INIT): Likewise.
13650 (MIN_VALUE_INIT): Likewise.
13651 (MIN_SUBNORM_VALUE_INIT): Likewise.
13652 (plus_zero): Initialize with PLUS_ZERO_INIT.
13653 (minus_zero): Initialize with MINUS_ZERO_INIT.
13654 (plus_infty): Initialize with PLUS_INFTY_INIT.
13655 (minus_infty): Initialize with MINUS_INFTY_INIT.
13656 (qnan_value): Initialize with QNAN_VALUE_INIT.
13657 (max_value): Initialize with MAX_VALUE_INIT.
13658 (min_value): Initialize with MIN_VALUE_INIT.
13659 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
13660
ae08db3b
JM
13661 * math/libm-test.inc (RUN_TEST_if_f): New macro.
13662 (jn_test): Use TEST_if_f instead of TEST_ff_f.
13663 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
13664 (yn_test): Use TEST_if_f instead of TEST_ff_f.
13665
f44bf14a
JM
13666 * math/libm-test.inc (RUN_TEST_f_f): New macro.
13667 (RUN_TEST_2_f): Likewise.
13668 (RUN_TEST_ff_f): Likewise.
13669 (RUN_TEST_fi_f): Likewise.
13670 (RUN_TEST_fl_f): Likewise.
13671 (RUN_TEST_fff_f): Likewise.
13672 (RUN_TEST_c_f): Likewise.
13673 (RUN_TEST_f_f1): Likewise.
13674 (RUN_TEST_fF_f1): Likewise.
13675 (RUN_TEST_fI_f1): Likewise.
13676 (RUN_TEST_ffI_f1): Likewise.
13677 (RUN_TEST_c_c): Likewise.
13678 (RUN_TEST_cc_c): Likewise.
13679 (RUN_TEST_f_i): Likewise.
13680 (RUN_TEST_f_i_tg): Likewise.
13681 (RUN_TEST_ff_i_tg): Likewise.
13682 (RUN_TEST_f_b): Likewise.
13683 (RUN_TEST_f_b_tg): Likewise.
13684 (RUN_TEST_f_l): Likewise.
13685 (RUN_TEST_f_L): Likewise.
13686 (RUN_TEST_sincos): Likewise.
13687 * math/gen-libm-test.pl (new_test): Take new argument to indicate
13688 whether to show exceptions. Do not include ");\n" in return
13689 value.
13690 (special_functions): Output call to RUN_TEST_sincos instead of
13691 check_float calls. Update calls to new_test.
13692 (parse_args): Output call to single RUN_TEST_* macro instead of
13693 check_* calls and other assignments. Update calls to new_test.
13694
d8cd06db
JM
13695 [BZ #2546]
13696 [BZ #2560]
13697 [BZ #5159]
13698 [BZ #15426]
13699 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
13700 input to result for tgamma overflow.
13701 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
13702 (gamma_coeff): New variable.
13703 (NCOEFF): New macro.
13704 (gamma_positive): New function.
13705 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
13706 underflow here. Use gamma_positive instead of exp (lgamma) for
13707 other arguments.
13708 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
13709 (gamma_coeff): New variable.
13710 (NCOEFF): New macro.
13711 (gammaf_positive): New function.
13712 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
13713 underflow here. Use gamma_positive instead of exp (lgamma) for
13714 other arguments.
13715 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
13716 (gamma_coeff): New variable.
13717 (NCOEFF): New macro.
13718 (gammal_positive): New function.
13719 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
13720 underflow here. Use gamma_positive instead of exp (lgamma) for
13721 other arguments.
13722 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
13723 (gamma_coeff): New variable.
13724 (NCOEFF): New macro.
13725 (gammal_positive): New function.
13726 (__ieee754_gammal_r): Handle positive infinity, overflow and
13727 underflow here. Handle NaN the same as positive infinity. Remove
13728 check x < 0xffffffff for negative integers. Use gamma_positive
13729 instead of exp (lgamma) for other arguments.
13730 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
13731 (gamma_coeff): New variable.
13732 (NCOEFF): New macro.
13733 (gammal_positive): New function.
13734 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
13735 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
13736 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
13737 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
13738 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
13739 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
13740 * sysdeps/generic/math_private.h (__gamma_productf): New
13741 prototype.
13742 (__gamma_product): Likewise.
13743 (__gamma_productl): Likewise.
13744 * math/Makefile (libm-calls): Add gamma_product.
13745 * math/libm-test.inc (tgamma_test): Add more tests.
13746 * sysdeps/i386/fpu/libm-test-ulps: Update.
13747 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13748
bb7cf681
OB
137492013-05-08 Ondřej Bílka <neleai@seznam.cz>
13750
13751 * benchtests/bench-skeleton.c (main): Preheat CPU.
13752
ba853947
AJ
137532013-05-07 Aurelien Jarno <aurelien@aurel32.net>
13754
13755 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
13756
8347c74c
RM
137572013-05-07 Roland McGrath <roland@hack.frob.com>
13758
13759 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
13760 and _dl_skip_args_internal.
13761
e8dd4791
CD
137622013-05-07 Carlos O'Donell <carlos@redhat.com>
13763
13764 * manual/message.texi (Message Translation): Talk about users.
13765 Message to key mapping impacts design.
13766
c7405830
RM
137672013-05-06 Roland McGrath <roland@hack.frob.com>
13768
a9173057
RM
13769 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
13770
976e2f03
RM
13771 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
13772
9723ffc5
RM
13773 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
13774 * sysdeps/wordsize-64/glob64.c: ... here.
13775
962e6658
RM
13776 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
13777 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
13778 New macros.
13779
ee586a6d
RM
13780 * debug/getlogin_r_chk.c: Moved to ...
13781 * login/getlogin_r_chk.c: ... here.
13782 * debug/Makefile (routines): Move getlogin_r_chk to ...
13783 * login/Makefile (routines): ... here.
13784 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
13785 * login/Versions (libc: GLIBC_2.4): ... here.
13786
355f9165
RM
13787 * io/poll.c (__poll): Renamed from poll.
13788 Add libc_hidden_def.
13789 (poll): Define as weak alias.
13790
bd9ffde6
RM
13791 * debug/ptsname_r_chk.c: Moved to ...
13792 * login/ptsname_r_chk.c: ... here.
13793 * debug/Makefile (routines): Move ptsname_r_chk to ...
13794 * login/Makefile (routines): ... here.
13795 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
13796 * login/Versions (libc: GLIBC_2.4): ... here.
13797
8fb16a04
RM
13798 * posix/getlogin.c: Moved to ...
13799 * login/getlogin.c: ... here.
13800 * posix/getlogin_r.c: Moved to ...
13801 * login/getlogin_r.c: ... here.
13802 * posix/getlogin_r.c: Moved to ...
13803 * login/getlogin_r.c: ... here.
13804 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
13805 * login/Makefile (routines): ... here.
13806 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
13807 * login/Versions (libc: GLIBC_2.0): ... here.
13808
b99b892f
RM
13809 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
13810 (setrlimit): Define as weak alias.
13811
c7405830
RM
13812 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
13813 Call __ names for open, ftruncate, and close.
13814 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
13815 (truncate): Define as weak alias.
13816
5bf96de5
JM
138172013-05-06 Joseph Myers <joseph@codesourcery.com>
13818
9ea3513c
JM
13819 * math/gen-libm-test.pl (parse_args): Initialize x before each
13820 test of frexp, modf and remquo.
13821
5bf96de5
JM
13822 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
13823 test signgam value.
13824
16e616a7
AZ
138252013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13826
13827 [BZ #15418]
13828 [BZ #15419]
13829 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
13830 internal tests.
13831 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
13832
d5e82754
RM
138332013-05-06 Roland McGrath <roland@hack.frob.com>
13834
13835 * elf/dl-writev.h: New file.
13836 * elf/dl-misc.c: Include it.
13837 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
13838 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
13839
a7548d41
JM
138402013-05-04 Joseph Myers <joseph@codesourcery.com>
13841
b7dab1e4
JM
13842 * math/libm-test.inc (noXFails): Remove variable.
13843 (noXPasses): Likewise.
13844 (BUILD_COMPLEX_INT): Remove macro.
13845 (print_screen): Remove xfail argument.
13846 (print_screen_max_error): Likewise.
13847 (update_stats): Likewise.
13848 (print_max_error): Likewise. Update calls to other affected
13849 functions.
13850 (print_complex_max_error): Likewise.
13851 (test_single_exception): Update calls to print_screen.
13852 (test_single_errno): Likewise.
13853 (check_float_internal): Remove xfail argument. Update calls to
13854 other affected functions.
13855 (check_float): Likewise.
13856 (check_complex): Likewise.
13857 (check_int): Likewise.
13858 (check_long): Likewise.
13859 (check_bool): Likewise.
13860 (check_longlong): Likewise.
13861 (main): Don't print noXFails and noXPasses.
13862 * math/gen-libm-test.pl (top level): Don't mention expected
13863 failure handling in comment.
13864 (new_test): Don't handle expected failures.
13865 (parse_args): Don't mention expected failure handling in comment.
13866 (generate_testfile): Don't handle expected failures.
13867 (parse_ulps): Likewise.
13868 (print_ulps_file): Likewise.
13869 (get_failure): Remove function.
13870 (output_test): Don't handle expected failures.
13871 * make/README.libm-test: Don't mention expected failure handling.
13872
a7548d41
JM
13873 * math/libm-test.inc (plus_zero): Make const. Add initializer.
13874 (minus_zero): Likewise.
13875 (plus_infty): Likewise.
13876 (minus_infty): Likewise.
13877 (qnan_value): Likewise.
13878 (max_value): Likewise.
13879 (min_value): Likewise.
13880 (min_subnorm_value): Likewise.
13881 (initialize): Do not initialize those variables dynamically.
13882
60bfd54c
RM
138832013-05-03 Roland McGrath <roland@hack.frob.com>
13884
cc0e6ed8
RM
13885 * io/open.c (__open_2): Moved to ...
13886 * io/open_2.c: ... this new file.
13887 * io/open64.c (__open64_2): Moved to ...
13888 * io/open64_2.c: ... this new file.
13889 * io/openat.c (__openat_2): Moved to ...
13890 * io/openat_2.c: ... this new file.
13891 * io/openat64.c (__openat64_2): Moved to ...
13892 * io/openat64_2.c: ... this new file.
13893 * io/Makefile (routines): Add them.
13894 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
13895 * sysdeps/unix/sysv/linux/open_2.c: File removed.
13896 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
13897 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
13898 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
13899 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
13900 (__openat64): Add hidden_ver.
13901 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
13902 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
13903
60bfd54c
RM
13904 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
13905 Separately conditionalize setting of GLRO(dl_sysinfo) so
13906 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
13907 as well, but the actual setting is only under [NEED_DL_SYSINFO].
13908
83e7640f
AZ
139092013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13910
13911 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
13912 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
13913 definition.
13914 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
13915 * sysdeps/unix/sysv/linux/powerpc/init-first.c
13916 (_libc_vdso_platform_setup): Add __vdso_time initialization.
13917 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
13918 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
13919
d5dc2af3
JM
139202013-05-03 Joseph Myers <joseph@codesourcery.com>
13921
c31a5b1e
JM
13922 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
13923 test signgam value.
13924
d5dc2af3
JM
13925 * math/libm-test.inc (hypot_test): Do not use
13926 IGNORE_ZERO_INF_SIGN.
13927
164fd39d
AJ
139282013-05-03 Andreas Jaeger <aj@suse.de>
13929
13930 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
13931 Linux 3.9.
13932 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
13933 (PF_MAX): Adjust for VSOCK change.
13934
8237f48c
AZ
139352013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13936
13937 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13938
9df02941
CD
139392013-05-02 Carlos O'Donell <carlos@redhat.com>
13940
13941 [BZ #15264]
13942 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
13943 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
13944 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
13945
d422395e
DM
139462013-05-02 David S. Miller <davem@davemloft.net>
13947
13948 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13949
a07c5731
OB
139502013-05-01 Ondřej Bílka <neleai@seznam.cz>
13951
13952 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
13953
1324e37f
RM
139542013-05-01 Roland McGrath <roland@hack.frob.com>
13955
13956 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
13957
0695940b
RS
139582013-05-01 Richard Smith <richard@metafoo.co.uk>
13959
bb5f27ad 13960 [BZ #14952]
0695940b
RS
13961 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
13962 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
13963 Use __attribute__ ((__gnu_inline__)).
13964 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
13965 Don't use __attribute__ ((__gnu_inline__)).
13966
10de07f5
JM
139672013-05-01 Joseph Myers <joseph@codesourcery.com>
13968
13969 [BZ #15423]
13970 * math/s_catan.c (__catan): Handle small real or imaginary part of
13971 input specially to avoid spurious underflow.
13972 * math/s_catanf.c (__catanf): Likewise.
13973 * math/s_catanh.c (__catanh): Likewise.
13974 * math/s_catanhf.c (__catanhf): Likewise.
13975 * math/s_catanhl.c (__catanhl): Likewise.
13976 * math/s_catanl.c (__catanl): Likewise.
13977 * math/libm-test.inc (catan_test): Add more tests.
13978 (catanh_test): Likewise.
13979 * sysdeps/i386/fpu/libm-test-ulps: Update.
13980 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13981
cb4d5414
AZ
139822013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13983
13984 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13985
caf84319
JM
139862013-04-30 Joseph Myers <joseph@codesourcery.com>
13987
13988 [BZ #15416]
13989 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
13990 accurately for denominator in atan2.
13991 * math/s_catanf.c (__catanf): Likewise.
13992 * math/s_catanh.c (__catanh): Likewise.
13993 * math/s_catanhf.c (__catanhf): Likewise.
13994 * math/s_catanhl.c (__catanhl): Likewise.
13995 * math/s_catanl.c (__catanl): Likewise.
13996 * math/libm-test.inc (catan_test): Add more tests.
13997 (catanh_test): Likewise.
13998 * sysdeps/i386/fpu/libm-test-ulps: Update.
13999 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14000
d569c6ee
SP
140012013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14002
6dbe713d
SP
14003 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
14004
f0ee064b
SP
14005 * benchtests/Makefile (bench): Remove slow benchmarks.
14006 * benchtests/atan-inputs: Add slow benchmark inputs.
14007 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
14008 (BENCH_FUNC): Accept variant offset.
14009 (VARIANT): Define.
14010 * benchtests/bench-skeleton.c (main): Run benchmark for each
14011 variant.
14012 * benchtests/cos-inputs: Add slow benchmark inputs.
14013 * benchtests/exp-inputs: Likewise.
14014 * benchtests/pow-inputs: Likewise.
14015 * benchtests/sin-inputs: Likewise.
14016 * benchtests/slowatan-inputs: Remove.
14017 * benchtests/slowatan.c: Remove.
14018 * benchtests/slowcos-inputs: Remove.
14019 * benchtests/slowcos.c: Remove.
14020 * benchtests/slowexp-inputs: Remove.
14021 * benchtests/slowexp.c: Remove.
14022 * benchtests/slowpow-inputs: Remove.
14023 * benchtests/slowpow.c: Remove.
14024 * benchtests/slowsin-inputs: Remove.
14025 * benchtests/slowsin.c: Remove.
14026 * benchtests/slowtan-inputs: Remove.
14027 * benchtests/slowtan.c: Remove.
14028 * benchtests/tan-inputs: Add slow benchmark inputs.
14029 * scripts/bench.pl: Parse comments and directives.
14030
d569c6ee
SP
14031 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
14032 in CPPFLAGS.
14033 ($(objpfx)bench-%.c): Remove *-ITER.
14034 * benchtests/bench-modf.c: Remove definition of ITER.
14035 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
14036 (main): Loop for DURATION seconds instead of fixed number of
14037 iterations.
14038 * scripts/bench.pl: Don't expect iterations in parameters.
14039
a6a242fe
RM
140402013-04-29 Roland McGrath <roland@hack.frob.com>
14041
14042 * io/fchdir.c (__fchdir): Renamed from fchdir.
14043 (fchdir): Define as weak alias.
14044
f2da7793
JM
140452013-04-29 Joseph Myers <joseph@codesourcery.com>
14046
14047 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
14048 (ERRNO_EDOM): Likewise.
14049 (ERRNO_ERANGE): Likewise.
14050 (noErrnoTests): New variable.
14051 (init_max_error): Set errno to 0.
14052 (test_single_errno): New function.
14053 (test_errno): Likewise.
14054 (check_float_internal): Call test_errno. Set errno to 0.
14055 (check_complex): Refer to errno tests in comment.
14056 (check_int): Call test_errno. Set errno to 0.
14057 (check_long): Likewise.
14058 (check_bool): Likewise.
14059 (check_longlong): Likewise.
14060 (cos_test): Use ERRNO_* flags for errno tests instead of
14061 check_int.
14062 (expm1_test): Likewise.
14063 (fmod_test): Likewise.
14064 (ilogb_test): Likewise.
14065 (lgamma_test): Likewise.
14066 (pow_test): Likewise.
14067 (remainder_test): Likewise.
14068 (sin_test): Likewise.
14069 (tan_test): Likewise.
14070 (yn_test): Likewise.
14071 (initialize): Set errno to 0.
14072 (main): Print number of errno tests.
14073 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
14074
b1a36ceb
AJ
140752013-04-29 Andreas Jaeger <aj@suse.de>
14076
c3ed8088
AJ
14077 [BZ #15084]
14078 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
14079 and RES_USEVC.
14080
f1a24198
AJ
14081 [BZ #15085]
14082 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
14083 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
14084 unimplemented.
14085
9ce3b2cb
AJ
14086 [BZ #15380]
14087 * stdlib/random.c (__initstate): Return NULL if
14088 __initstate fails.
14089
f1a24198 14090 [BZ #15086]
b1a36ceb
AJ
14091 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
14092 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
14093 RES_SNGLKUPREOP.
14094
7e7b6f36
AZ
140952013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14096
14097 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14098
4d14f449
JM
140992013-04-29 Joseph Myers <joseph@codesourcery.com>
14100
14101 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
14102 of individual tests.
14103 (casin_test): Likewise.
14104 (casinh_test): Likewise.
14105
5b4217d7
JM
141062013-04-27 Joseph Myers <joseph@codesourcery.com>
14107
14108 [BZ #15409]
14109 * math/s_catan.c (__catan): Handle arguments with large real or
14110 imaginary part separately without squaring.
14111 * math/s_catanf.c (__catanf): Likewise.
14112 * math/s_catanh.c (__catanh): Likewise.
14113 * math/s_catanhf.c (__catanhf): Likewise.
14114 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
14115 and redefine.
14116 (__catanhl): Handle arguments with large real or imaginary part
14117 separately without squaring.
14118 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
14119 and redefine.
14120 (__catanl): Handle arguments with large real or imaginary part
14121 separately without squaring.
14122 * math/libm-test.inc (catan_test): Add more tests.
14123 (catanh_test): Likewise.
14124 * sysdeps/i386/fpu/libm-test-ulps: Update.
14125 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14126
4220c3ef
AJ
141272013-04-27 Andreas Jaeger <aj@suse.de>
14128
14129 [BZ #15007]
14130 * stdlib/stdlib.h: Update guards for qecvt.
14131 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
14132 <stdlib.h>.
14133
4721b2d1
AM
141342013-04-27 Allan McRae <allan@archlinux.org>
14135
14136 * sysdeps/i386/fpu/libm-test-ulps: Update.
14137
f0302940
JM
141382013-04-26 Joseph Myers <joseph@codesourcery.com>
14139
9457fd95
JM
14140 [BZ #15406]
14141 * math/s_catan.c: Include <float.h>.
14142 (__catan): Ensure underflow exception occurs for underflowed
14143 result.
14144 * math/s_catanf.c: Include <float.h>.
14145 (__catanf): Ensure underflow exception occurs for underflowed
14146 result.
14147 * math/s_catanh.c: Include <float.h>.
14148 (__catanh): Ensure underflow exception occurs for underflowed
14149 result.
14150 * math/s_catanhf.c: Include <float.h>.
14151 (__catanhf): Ensure underflow exception occurs for underflowed
14152 result.
14153 * math/s_catanhl.c: Include <float.h>.
14154 (__catanhl): Ensure underflow exception occurs for underflowed
14155 result.
14156 * math/s_catanl.c: Include <float.h>.
14157 (__catanl): Ensure underflow exception occurs for underflowed
14158 result.
14159 * math/libm-test.inc (catan_test): Add more tests.
14160 (catanh_test): Likewise.
14161
f0302940
JM
14162 [BZ #15405]
14163 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
14164 underflowed result.
14165 * math/s_ccoshf.c (__ccoshf): Likewise.
14166 * math/s_ccoshl.c (__ccoshl): Likewise.
14167 * math/s_csin.c (__csin): Likewise.
14168 * math/s_csinf.c (__csinf): Likewise.
14169 * math/s_csinh.c (__csinh): Likewise.
14170 * math/s_csinhf.c (__csinhf): Likewise.
14171 * math/s_csinhl.c (__csinhl): Likewise.
14172 * math/s_csinl.c (__csinl): Likewise.
14173 * math/libm-test.inc (ccos_test): Add more tests.
14174 (ccosh_test): Likewise.
14175 (csin_test): Likewise.
14176 (csinh_test): Likewise.
14177
aa630f59
AZ
141782013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14179
14180 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
14181 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
14182 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
14183 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
14184 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
14185 powerpc/power5+/fpu folders.
14186 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
14187
14188
1b835983
MT
141892013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
14190
14191 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14192
73709b26
JM
141932013-04-25 Joseph Myers <joseph@codesourcery.com>
14194
14195 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
14196 additions to variable.
14197 [$(config-machine) = x86_64] (modules-names): Likewise.
14198 ($(objpfx)tst-audit3): Remove dependency.
14199 ($(objpfx)tst-audit3.out): Likewise.
14200 ($(objpfx)tst-audit4): Likewise.
14201 ($(objpfx)tst-audit4.out): Likewise.
14202 ($(objpfx)tst-audit5): Likewise.
14203 ($(objpfx)tst-audit5.out): Likewise.
14204 ($(objpfx)tst-audit6): Likewise.
14205 ($(objpfx)tst-audit6.out): Likewise.
14206 ($(objpfx)tst-audit7): Likewise.
14207 ($(objpfx)tst-audit7.out): Likewise.
14208 (tst-audit3-ENV): Remove variable.
14209 (tst-audit4-ENV): Likewise.
14210 (tst-audit5-ENV): Likewise.
14211 (tst-audit6-ENV): Likewise.
14212 (tst-audit7-ENV): Likewise.
14213 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
14214 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
14215 addition to variable.
14216 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
14217 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
14218 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
14219 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
14220 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
14221 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
14222 tst-audit3, tst-audit4 and tst-audit5.
14223 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
14224 tst-audit6 and tst-audit7.
14225 [$(subdir) = elf] (modules-names): Add audit modules for those
14226 tests.
14227 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
14228 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
14229 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
14230 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
14231 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
14232 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
14233 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
14234 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
14235 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
14236 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
14237 [$(subdir) = elf] (tst-audit3-ENV): New variable.
14238 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
14239 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
14240 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
14241 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
14242 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
14243 Likewise.
14244 [$(subdir) = elf && $(config-cflags-avx) = yes]
14245 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
14246 [$(subdir) = elf && $(config-cflags-avx) = yes]
14247 (CFLAGS-tst-auditmod4a.c): Likewise.
14248 [$(subdir) = elf && $(config-cflags-avx) = yes]
14249 (CFLAGS-tst-auditmod4b.c): Likewise.
14250 [$(subdir) = elf && $(config-cflags-avx) = yes]
14251 (CFLAGS-tst-auditmod6b.c): Likewise.
14252 [$(subdir) = elf && $(config-cflags-avx) = yes]
14253 (CFLAGS-tst-auditmod6c.c): Likewise.
14254 [$(subdir) = elf && $(config-cflags-avx) = yes]
14255 (CFLAGS-tst-auditmod7b.c): Likewise.
14256 * elf/tst-audit3.c: Move to ...
14257 * sysdeps/x86_64/tst-audit3.c: ... here.
14258 * elf/tst-audit4.c: Move to ...
14259 * sysdeps/x86_64/tst-audit4.c: ... here.
14260 * elf/tst-audit5.c: Move to ...
14261 * sysdeps/x86_64/tst-audit5.c: ... here.
14262 * elf/tst-audit6.c: Move to ...
14263 * sysdeps/x86_64/tst-audit6.c: ... here.
14264 * elf/tst-audit7.c: Move to ...
14265 * sysdeps/x86_64/tst-audit7.c: ... here.
14266 * elf/tst-auditmod3a.c: Move to ...
14267 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
14268 * elf/tst-auditmod3b.c: Move to ...
14269 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
14270 * elf/tst-auditmod4a.c: Move to ...
14271 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
14272 * elf/tst-auditmod4b.c: Move to ...
14273 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
14274 * elf/tst-auditmod5a.c: Move to ...
14275 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
14276 * elf/tst-auditmod5b.c: Move to ...
14277 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
14278 * elf/tst-auditmod6a.c: Move to ...
14279 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
14280 * elf/tst-auditmod6b.c: Move to ...
14281 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
14282 * elf/tst-auditmod6c.c: Move to ...
14283 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
14284 * elf/tst-auditmod7a.c: Move to ...
14285 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
14286 * elf/tst-auditmod7b.c: Move to ...
14287 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
14288
1ef74943
PP
142892013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
14290
14291 [BZ #15366]
14292 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
14293 define unconditionally.
14294 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
14295 define unconditionally.
14296 (INT8_C, INT16_C, etc.): Likewise.
14297
93fd48c5
MR
142982013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
14299
ae9552cf
MR
14300 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
14301 __ehdr_start with hidden visibility.
14302
93fd48c5
MR
14303 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
14304
418601aa
CD
143052013-04-24 Carlos O'Donell <carlos@redhat.com>
14306
14307 * math/libm-test.inc (cos_test): Use accurate hex constants.
14308 (sincost_test): Likewise.
14309
2f38fbfe
JM
143102013-04-24 Joseph Myers <joseph@codesourcery.com>
14311
5e221800
JM
14312 * math/libm-test.inc (catan_test): Add more tests.
14313 (catanh_test): Likewise.
14314
77f143fd
JM
14315 * math/s_catanf.c (__catanf): Use suffixed floating-point
14316 constants.
14317 * math/s_catanhf.c (__catanhf): Likewise.
14318 * math/s_catanhl.c (__catanhl): Likewise.
14319 * math/s_catanl.c (__catanl): Likewise.
14320
2f38fbfe
JM
14321 [BZ #15394]
14322 * math/s_catan.c (__catan): Calculate imaginary part of result
14323 with log1p not log unless computing log of number close to 0.
14324 * math/s_catanf.c (__catanf): Likewise.
14325 * math/s_catanl.c (__catanl): Likewise.
14326 * math/s_catanh.c (__catanh): Calculate real part of result with
14327 log1p not log unless computing log of number close to 0.
14328 * math/s_catanhf.c (__catanhf): Likewise.
14329 * math/s_catanhl.c (__catanhl): Likewise.
14330 * math/libm-test.inc (catan_test): Add more tests.
14331 (catanh_test): Likewise.
14332 * sysdeps/i386/fpu/libm-test-ulps: Update.
14333 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14334
45d69176
SP
143352013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
14336
14337 * benchtests/Makefile: Mention files in which fast and slow
14338 paths of math functions are implemented.
14339
87f51853
RM
143402013-04-23 Roland McGrath <roland@hack.frob.com>
14341
14342 * sysdeps/posix/timespec_get.c: New file.
14343
3c026539
AZ
143442013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14345
14346 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
14347 POWER.
14348 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
14349 for POWER.
14350 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
14351 powerpc/power5/fpu folders.
14352 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
14353 * benchtests/Makefile: Add modf testcase.
14354 * benchtests/bench-modf.c: New file: Benchmark test for mo
14355
ff491d14
SP
143562013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
14357
14358 [BZ #14888]
14359 * time/Makefile (tests): Add tst-strptime-whitespace.
14360 * time/strptime_l.c (get_number): Use ISSPACE.
14361 (__strptime_internal): Likewise.
14362 * time/tst-strptime-whitespace.c: New test case.
14363
7ed3f4e8
AS
143642013-04-23 Andreas Schwab <schwab@linux-m68k.org>
14365
14366 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
14367 member.
14368 (_nss_files_init): Set it here.
14369
5c95f7b6
HC
143702013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
14371
14372 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
14373 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
14374 unsigned.
14375
d34c9158
JBG
143762013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
14377
14378 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
14379
2169712d
SP
143802013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
14381
14382 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
14383 size just once.
14384
29c5de99
DM
143852013-04-21 David S. Miller <davem@davemloft.net>
14386
14387 * po/ru.po: Update Russion translation from translation project.
14388
ccdad15d
AC
143892013-04-17 Adam Conrad <adconrad@0c3.net>
14390
14391 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
14392 and setfsgid.
14393
0f122b8d
CD
143942013-04-17 Carlos O'Donell <carlos@redhat.com>
14395
5c5b07da 14396 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 14397 * configure: Regenerate.
5c5b07da 14398 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
14399 Add example to error message.
14400 * sysdeps/i386/configure: Regenerate.
14401
037714dd
SP
144022013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
14403
14404 * benchtests/Makefile (bench): Add cos, tan, slowcos and
14405 slowtan.
14406 * benchtests/cos-inputs: New file.
14407 * benchtests/slowcos-inputs: New file.
14408 * benchtests/slowcos.c: New file.
14409 * benchtests/slowtan-inputs: New file.
14410 * benchtests/slowtan.c: New file.
14411 * benchtests/tan-inputs: New file.
14412
e913141d
RM
144132013-04-16 Roland McGrath <roland@hack.frob.com>
14414
14415 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
14416 considered kosher.
14417
a2964074
SP
144182013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
14419
4856bcd2
SP
14420 * benchtests/Makefile: Include cppflags-iterator.mk to add
14421 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
14422
a2964074
SP
14423 * Makefile.in (bench-clean): New target.
14424 * benchtests/Makefile (bench-clean): Likewise.
14425
9fbf9aca
DH
144262013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
14427
14428 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
14429
207d1e2a
TS
144302013-04-15 Thomas Schwinge <thomas@codesourcery.com>
14431
14432 * stdio-common/tstdiomisc.c: Fix coding-style violation.
14433
306dfba9
AS
144342013-04-15 Andreas Schwab <schwab@suse.de>
14435
14436 * nscd/grpcache.c (cache_addgr): Properly check for short write.
14437 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14438 * nscd/pwdcache.c (cache_addpw): Likewise.
14439 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
14440 more than recsize.
14441
206a6699
SP
144422013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
14443
14444 * benchtests/Makefile (bench): Write all output to
14445 bench-out.tmp together.
14446
0582f6b3
AS
144472013-04-15 Andreas Schwab <schwab@suse.de>
14448
14449 * nscd/nscd.c (main): Don't fork again after closing files.
14450
acb4325f
SP
144512013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
14452
5cb26d0a
SP
14453 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
14454
acb4325f
SP
14455 * benchtests/Rules (bench-deps): Collect dependencies into a
14456 single variable. Add Makefile to dependencies.
14457 ($(objpfx)bench-%.c): Depend on bench-deps.
14458
47792506
RM
144592013-04-12 Roland McGrath <roland@hack.frob.com>
14460 Xavier Roche <roche+kml2@exalead.com>
14461
14462 [BZ #15361]
14463 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
14464 just that it's a file descriptor.
14465 * manual/llio.texi (Synchronizing AIO Operations): Update description
14466 for EBADF error from aio_fsync.
14467
8fc1bee5
SP
144682013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
14469
14470 * Rules (bench): Move target definition...
14471 * benchtests/Makefile: ... here.
14472
aba5e333
CD
144732013-04-11 Carlos O'Donell <carlos@redhat.com>
14474
14475 * math/libm-test.inc (cos_test): Fix PI/2 test.
14476 (sincos_test): Likewise.
14477 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
14478 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
14479
273cdee8
AS
144802013-04-11 Andreas Schwab <schwab@suse.de>
14481
6ecec3b6
AS
14482 [BZ #13988]
14483 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
14484 accept exponent character only when digits were seen.
14485 * stdio-common/Makefile (tests): Add bug26.
14486 * stdio-common/bug26.c: New file.
14487
273cdee8
AS
14488 [BZ #14293]
14489 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
14490 non-freeable.
14491
8da491f5
SP
144922013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14493
01dc6df9
SP
14494 * Makeconfig (rtld-prefix): Define built linker prefix.
14495 * Rules (run-bench): Use it.
14496 * math/Makefile (run-regen-ulps): Likewise.
14497
8da491f5
SP
14498 * Rules (bench): Remove eval.
14499
abe7f530
SP
145002013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14501 Roland McGrath <roland@hack.frob.com>
14502 Ondrej Bilka <neleai@seznam.cz>
14503
14504 [BZ #15346]
14505 * time/getdate.c: Include ctype.h and alloca.h.
14506 (__getdate_r): Trim leading and trailing spaces of input.
14507 * time/tst-getdate.c (tests): Add tests with leading and
14508 trailing spaces.
14509
61c23e62
RM
145102013-04-08 Roland McGrath <roland@hack.frob.com>
14511
14512 [BZ #14280]
14513 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
14514 when computing value.
14515
7208a313
CD
145162013-04-06 Carlos O'Donell <carlos@redhat.com>
14517
085b2d41
CD
14518 * math/README.libm-test (How can I generate "libm-test-ulps"?):
14519 Use testrun.sh to run libm tests.
14520
7208a313
CD
14521 [BZ #15309]
14522 * elf/dl-open.c (dl_open_worker): memset all of seen array.
14523
872c0acd
MM
145242013-04-06 Marko Myllynen <myllynen@redhat.com>
14525
14526 [BZ #15264]
14527 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
14528
26510bdd
CD
145292013-04-06 Carlos O'Donell <carlos@redhat.com>
14530
14531 * Makefile.in (regen-ulps): New target.
14532 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
14533 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
14534 [ifneq (no,$(PERL)] (regen-ulps): New target.
14535 [ifeq (no,$(PERL)] (regen-ulps): New target.
14536 * math/libm-test.inc (ulps_file_name): Define.
14537 (output_dir): New variable.
14538 (options): Add "output-dir" option.
14539 (parse_opt): Handle 'o' case.
14540 (main): If output_dir is non-NULL use it as a prefix
14541 otherwise use "".
14542 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
14543
a01f19c8
CD
145442013-04-06 Carlos O'Donell <carlos@redhat.com>
14545
14546 [BZ #10060, #10062]
14547 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
14548 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
14549 fail configure if __sync_val_compare_and_swap is not inlined.
14550 * sysdeps/i386/configure: Regenerate.
14551 * configure.in: Build for i686 when configured for i386.
14552 * configure: Regenerate.
14553 * README: Remove i386 reference.
14554
b7a329a5
CD
145552013-04-06 Carlos O'Donell <carlos@redhat.com>
14556
14557 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
14558 * sysdeps/s390/s390-64/sysdep.h: Likewise.
14559
bf0f50df
TS
145602013-04-05 Thomas Schwinge <thomas@codesourcery.com>
14561
ee091edf
TS
14562 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
14563 (lmsnanval): New variables.
14564 (F): Add conversion tests.
14565 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
14566 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
14567
a8b792d6
TS
14568 * stdio-common/tstdiomisc.c (F): Properly collect individual
14569 tests' results.
14570
a1cbf437
TS
14571 [BZ #14686, #15336]
14572 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
14573 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
14574 Instead, use input NaN values or generate a qNaN by arithmetic
14575 operation. Also fix bugs to comply with the standard.
14576 * math/libm-test.inc (remainder_test): Add more tests.
14577
8b43a0c9
TS
14578 [BZ #15335, #15342]
14579 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
14580 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
14581 input NaN values or generate a qNaN by arithmetic operation.
14582
d91da4ce
TS
14583 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
14584 unreachable code.
14585
bf0f50df
TS
14586 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
14587 definitions.
14588
05e166c8
JM
145892013-04-03 Joseph Myers <joseph@codesourcery.com>
14590
14591 [BZ #14478]
14592 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
14593 underflowed result.
14594 * math/s_cexpf.c (__cexpf): Likewise.
14595 * math/s_cexpl.c (__cexpl): Likewise.
14596 * math/libm-test.inc (cexp_test): Add more tests.
14597
1cef1b19
AS
145982013-04-03 Andreas Schwab <schwab@suse.de>
14599
14600 [BZ #15330]
14601 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
14602 order arrays from heap if bigger than alloca cutoff.
14603
74d87055
TS
146042013-04-03 Thomas Schwinge <thomas@codesourcery.com>
14605
14606 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
14607 (SNAN_TESTS_double): Refer to GCC PR56831.
14608 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
14609 GCC PR56828.
14610
d755bba4
SP
146112013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
14612
90d5d5bb
SP
14613 * Rules (bench): Move bench.out after the run is complete.
14614
73e0cd5d
SP
14615 * Rules (bench): Echo currently running benchmark.
14616
64aabd4b
SP
14617 * benchtests/Makefile (bench): Add atan and slowatan.
14618 * benchtests/atan-inputs: New file.
14619 * benchtests/slowatan-inputs: New file.
14620 * benchtests/slowatan.c: New file.
14621
c871eccd
SP
14622 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
14623 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
14624 its value.
14625
d755bba4
SP
14626 [BZ #15305]
14627 * sysdeps/unix/sysv/linux/kernel-features.h
14628 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
14629 __ASSUME_XFS_RESTRICTED_CHOWN.
14630 * sysdeps/unix/sysv/linux/pathconf.c
14631 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
14632 Save and restore errno.
14633
52ce4860
JM
146342013-04-02 Joseph Myers <joseph@codesourcery.com>
14635
14636 [BZ #15327]
14637 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
14638 arguments using __kernel_casinh.
14639 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
14640 arguments using __kernel_casinhf.
14641 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
14642 arguments using __kernel_casinhl.
14643 * math/libm-test.inc (cacosh_test): Add more tests.
14644 * sysdeps/i386/fpu/libm-test-ulps: Update.
14645 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14646
81f311c2
SP
146472013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
14648
e7906a47
SP
14649 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
14650 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
14651
92e3664b
SP
14652 * bench/Makefile (bench): Add sin and slowsin.
14653 * benchtests/sin-inputs: New file.
14654 * benchtests/slowsin-inputs: New file.
14655 * benchtests/slowsin.c: New file.
14656
81f311c2
SP
14657 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
14658 (bench): Add slowexp and slowpow.
14659 (exp-ITER): Increase iterations.
14660 (pow-ITER): Likewise.
14661 * benchtests/exp-inputs: Change input.
14662 * benchtests/pow-inputs: Likewise.
14663 * benchtests/slowexp-inputs: New file.
14664 * benchtests/slowexp.c: New file.
14665 * benchtests/slowpow-inputs: New file.
14666 * benchtests/slowpow.c: New file.
14667
ab0f1aa9
AZ
146682013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14669
14670 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
14671 instructions.
14672 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
14673 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
14674 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
14675 * benchtests/Makefile: Add rint benchtest.
14676 * benchtests/rint-inputs: Input for rint benchtest.
14677
57267616
TS
146782013-04-02 Thomas Schwinge <thomas@codesourcery.com>
14679
14680 * Versions.def (libm): Add GLIBC_2.18.
14681 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
14682 hidden libm prototypes.
14683 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
14684 * math/Makefile (libm-calls): Add s_issignaling.
14685 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
14686 __issignalingf, __issignalingl. Adjust all libm.abilist files.
14687 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
14688 declaration.
14689 * math/math.h [__USE_GNU] (issignaling): New macro.
14690 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
14691 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
14692 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
14693 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
14694 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
14695 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
14696 * manual/arith.texi (issignaling): New section.
14697 * manual/libm-err-tab.pl (@all_functions): Update comment.
14698 * math/gen-libm-test.pl (parse_args): Apply special handling for
14699 issignaling.
14700 * math/libm-test.inc (print_float, issignaling_test): New
14701 functions.
14702 (check_float_internal): Add issignaling checks.
14703 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
14704 default definition.
14705 * sysdeps/powerpc/math-tests.h: New file.
14706 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
14707 tests.
14708 * math/test-snan.c (TEST_FUNC): Likewise.
14709
6142896d
DM
147102013-03-30 David S. Miller <davem@davemloft.net>
14711
14712 * po/de.po: Update from translation team.
14713
ccc8cadf
JM
147142013-03-30 Joseph Myers <joseph@codesourcery.com>
14715
14716 [BZ #10357]
14717 * math/k_casinh.c (__kernel_casinh): Handle arguments with
14718 imaginary part less than 1.0 and real part less than 0.5
14719 specially.
14720 * math/k_casinhf.c (__kernel_casinhf): Likewise.
14721 * math/k_casinhl.c (__kernel_casinhl): Likewise.
14722 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
14723 (cacos_test): Add more tests.
14724 (casin_test): Likewise.
14725 (casinh_test): Likewise.
14726 * sysdeps/i386/fpu/libm-test-ulps: Update.
14727 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14728
0f6a8d4b
SP
147292013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14730
0d1029de
SP
14731 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
14732 ONE with its value.
14733
c2d94018
SP
14734 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
14735 (__pow_mp): Replace ONE and MONE with their values.
14736 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
14737 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
14738 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
14739 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
14740 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
14741 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
14742
27ec37f1
SP
14743 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
14744
a64d7e0e
SP
14745 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
14746 (__pow_mp): Replace ZERO and MZERO with their values.
14747 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
14748 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
14749 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
14750 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
14751 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
14752 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
14753 (__sqr): Likewise.
14754
d26dd3eb
SP
14755 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
14756
0f6a8d4b
SP
14757 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
14758
e57b0c61
RM
147592013-03-28 Roland McGrath <roland@hack.frob.com>
14760
14761 * include/stdlib.h [!SHARED] (__call_tls_dtors):
14762 Declare with __attribute__ ((weak)).
14763 * stdlib/exit.c (__libc_atexit) [!SHARED]:
14764 Call __call_tls_dtors only if it's not NULL.
14765
356b3480
RM
147662013-03-28 Roland McGrath <roland@hack.frob.com>
14767
288f7d79
RM
14768 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
14769 didn't do it already, then set _dl_phdr and _dl_phnum based on the
14770 magic __ehdr_start linker symbol if it's defined.
14771 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
14772 them up here if it was already done.
14773
dc0a0263
RM
14774 * elf/dl-support.c (_dl_phdr): Make pointer to const.
14775 (_dl_aux_init): Use const in cast when setting it.
14776 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
14777 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
14778 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
14779
3d3436ae
RM
14780 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
14781 Declare them here.
14782 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
14783 * csu/libc-tls.c: Nor here.
14784 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
14785
356b3480
RM
14786 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
14787 (__libc_message): Never call vsyslog.
14788
b0f1246a
AM
147892013-03-28 Alan Modra <amodra@gmail.com>
14790
14791 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
14792 Define as empty.
14793 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
14794 Likewise.
14795
fbbe2b9a
AZ
147962013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14797
14798 [BZ #15214]
14799 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
14800 underflow.
14801 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14802
1728ab37
SP
148032013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14804
7a86be6e
SP
14805 [BZ #15304]
14806 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
14807 Don't add gid passed as argument.
14808
1728ab37
SP
14809 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
14810
3a7182a1
JM
148112013-03-27 Joseph Myers <joseph@codesourcery.com>
14812
14813 [BZ #15307]
14814 * math/k_casinh.c (__kernel_casinh): Handle arguments with
14815 imaginary part between 1.0 and 1.5 and real part less than 0.5
14816 specially.
14817 * math/k_casinhf.c (__kernel_casinhf): Likewise.
14818 * math/k_casinhl.c (__kernel_casinhl): Likewise.
14819 * math/libm-test.inc (cacos_test): Add more tests.
14820 (casin_test): Likewise.
14821 (casinh_test): Likewise.
14822 * sysdeps/i386/fpu/libm-test-ulps: Update.
14823 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14824
6f2e90e7
SP
148252013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14826
5739f705
SP
14827 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
14828 constants.
14829 (norm): Likewise.
14830 (denorm): Likewise.
14831 (__dbl_mp): Likewise.
14832 (add_magnitudes): Likewise.
14833 (sub_magnitudes): Likewise.
14834 (__add): Likewise.
14835 (__sub): Likewise.
14836 (__mul): Likewise.
14837 (__sqr): Likewise.
14838 (__inv): Likewise.
14839 (__dvd): Likewise.
14840
e375e83d
SP
14841 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
14842 commented code.
14843 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
14844 (__dubcos): Likewise.
14845 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
14846 (__ieee754_acos): Likewise.
14847 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
14848 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
14849 (__exp1): Likewise.
14850 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
14851 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
14852 (log1): Likewise.
14853 (my_log2): Likewise.
14854 (checkint): Likewise.
14855 * sysdeps/ieee754/dbl-64/e_remainder.c
14856 (__ieee754_remainder): Likewise.
14857 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
14858 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
14859 (bsloww): Likewise.
14860 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
14861
6f2e90e7
SP
14862 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
14863 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
14864 MANTISSA_STORE_T to store computations on mantissa. Use
14865 macros for rounding and division.
14866 (denorm): Likewise.
14867 (__dbl_mp): Likewise.
14868 (add_magnitudes): Likewise.
14869 (sub_magnitudes): Likewise.
14870 (__mul): Likewise.
14871 (__sqr): Likewise.
14872 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
14873 powers of two in terms of TWOPOW macro.
14874 (mp_no): Make type of mantissa as MANTISSA_T.
14875 [!RADIXI]: Define RADIXI.
14876 [!TWO52]: Define TWO52.
14877 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
14878
fce14d4e
AZ
148792013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14880
14881 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
14882 llroundl symbol when building for PPC32.
14883
9ad027fb
MW
148842013-03-24 Mark H Weaver <mhw@netris.org>
14885
14886 * manual/arith.texi (Normalization Functions): Fix prototypes for
14887 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
14888
e42a38dd
AZ
148892013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14890
14891 [BZ #13889]
14892 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
14893 high value to check if expl overflow.
14894 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
14895 to check for underflow and overflow.
14896 * math/libm-test.inc: Add exp test.
14897
2e0fb521
DL
148982013-03-21 Dmitry V. Levin <ldv@altlinux.org>
14899
14900 [BZ #11120]
14901 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
14902 with NOT_IN_libc.
14903
b5784d95
AZ
149042013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14905
14906 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
14907 symbol.
14908
5aa4a1a1
TS
149092013-03-21 Thomas Schwinge <thomas@codesourcery.com>
14910
bdef0be7
TS
14911 * math/gen-libm-test.pl (parse_args, special_functions): Properly
14912 wrap blocks consisting of several statements.
14913
5aa4a1a1
TS
14914 * sysdeps/generic/math-tests.h: New file.
14915 * sysdeps/i386/fpu/math-tests.h: Likewise.
14916 * math/test-snan.c: Include it.
14917 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
14918
98c48fe5
JM
149192013-03-21 Joseph Myers <joseph@codesourcery.com>
14920
14921 [BZ #15285]
14922 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
14923 (__ieee754_j0l): Do not improve calculations using cos of twice
14924 input for inputs above LDBL_MAX / 2.0L.
14925 (__ieee754_y0l): Likewise.
14926 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
14927 (__ieee754_j1l): Do not improve calculations using cos of twice
14928 input for inputs above LDBL_MAX / 2.0L.
14929 (__ieee754_y1l): Likewise.
14930 * math/libm-test.inc (j0_test): Add another test.
14931 (j1_test): Likewise.
14932 (y0_test): Likewise.
14933 (y1_test): Likewise.
14934 * sysdeps/i386/fpu/libm-test-ulps: Update.
14935
3775a8bc
SP
149362013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14937
14938 * Rules ($(objpfx)bench-%.c): Include code from a C source
14939 file.
14940
0a1b2ae6
JM
149412013-03-21 Joseph Myers <joseph@codesourcery.com>
14942
14943 [BZ #15287]
14944 * math/k_casinh.c (__kernel_casinh): Handle arguments with
14945 imaginary part 1.0 and real part less than 0.5 specially.
14946 * math/k_casinhf.c (__kernel_casinhf): Likewise.
14947 * math/k_casinhl.c (__kernel_casinhl): Likewise.
14948 * math/libm-test.inc (cacos_test): Add more tests.
14949 (casin_test): Likewise.
14950 (casinh_test): Likewise.
14951 * sysdeps/i386/fpu/libm-test-ulps: Update.
14952 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14953
b33d4ce4
SP
149542013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14955
14956 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
14957 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
14958
bef0b507
JM
149592013-03-20 Joseph Myers <joseph@codesourcery.com>
14960
14961 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
14962 * config.make.in (config-cflags-sse4): Remove variable.
14963 (config-cflags-avx): Likewise.
14964 (config-cflags-sse2avx): Likewise.
14965 (config-cflags-novzeroupper): Likewise.
14966 (config-asflags-i686): Likewise.
14967 (have-mfma4): Likewise.
14968 (have-as-vis3): Likewise.
14969 (MIG): Likewise.
14970 * configure.in (MIG): Do not AC_SUBST.
14971 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
14972 (libc_cv_cc_sse4): Do not AC_SUBST.
14973 (libc_cv_cc_avx): Likewise.
14974 (libc_cv_cc_sse2avx): Likewise.
14975 (libc_cv_cc_novzeroupper): Likewise.
14976 (libc_cv_cc_fma4): Likewise.
14977 (libc_cv_as_i686): Likewise.
14978 (libc_cv_sparc_as_vis3): Likewise.
14979 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
14980 LIBC_CONFIG_VAR.
14981 (config-asflags-i686): Likewise.
14982 (config-cflags-avx): Likewise.
14983 (config-cflags-sse2avx): Likewise.
14984 (have-mfma4): Likewise.
14985 (config-cflags-novzeroupper): Likewise.
14986 * sysdeps/mach/configure.in (MIG): Likewise.
14987 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
14988 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
14989 LIBC_CONFIG_VAR.
14990 (config-cflags-avx): Likewise.
14991 (config-cflags-sse2avx): Likewise.
14992 (have-mfma4): Likewise.
14993 (config-cflags-novzeroupper): Likewise.
14994 * configure: Regenerated.
14995 * sysdeps/i386/configure: Likewise.
14996 * sysdeps/mach/configure: Likewise.
14997 * sysdeps/sparc/configure: Likewise.
14998 * sysdeps/x86_64/configure: Likewise.
14999
912cc4b3
RM
150002013-03-20 Roland McGrath <roland@hack.frob.com>
15001
15002 [BZ #14812]
15003 * locale/programs/localedef.c (options): Put N_ translation marker
15004 on argument names, not just descriptions.
15005
04eed2b0
MS
150062013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15007
15008 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
15009
a065ceff
OB
150102013-03-20 Ondřej Bílka <neleai@seznam.cz>
15011
9bb2a810 15012 [BZ #14176]
a065ceff
OB
15013 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
15014
a600e5ce
RM
150152013-03-19 Roland McGrath <roland@hack.frob.com>
15016
15017 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
15018 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
15019 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
15020 [!BEFORE_ABORT] (before_abort): New function.
15021 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
15022 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
15023 (writev_for_fatal): New function.
15024 (WRITEV_FOR_FATAL): New macro; call that.
15025 (backtrace_and_maps): New function.
15026 (BEFORE_ABORT): New macro; call that.
15027 (struct str_list): Type removed.
15028 (__libc_message, __libc_fatal): Functions removed.
15029 Include <sysdeps/posix/libc_fatal.c> instead.
15030
6b18bea6
JM
150312013-03-19 Joseph Myers <joseph@codesourcery.com>
15032
15033 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
15034 constants.
15035 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
15036 double constants.
15037
aaa8cb4b
AS
150382013-03-19 Andreas Schwab <schwab@suse.de>
15039
44673770
AS
15040 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
15041 * sysdeps/gnu/configure: Regenerate.
15042
aaa8cb4b
AS
15043 * configure.in: Substitute libc_cv_rtlddir.
15044 * configure: Regenerate.
15045 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
15046 * Makeconfig (rtlddir, inst_rtlddir): New variables.
15047 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
15048 * elf/Makefile (install-others, CFLAGS-interp.c)
15049 (ldso_install, common-ldd-rewrite): Likewise.
15050 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
15051 $(inst_slibdir)/$(rtld-installed-name).
15052 * scripts/rellns-sh: Add -p option.
15053 * Makerules (make-shlib-link): Use rellns-sh to get relative name
15054 for source.
15055
d3cfc668
SP
150562013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
15057
15058 * manual/nptl.texi: Renamed to ...
15059 * manual/threads.texi: ... this.
15060 * manual/Makefile (chapters): Update.
15061
0e2b9cdd
RM
150622013-03-18 Roland McGrath <roland@hack.frob.com>
15063
15064 [BZ #14812]
15065 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
15066 on argument names, not just descriptions.
0e2b9cdd
RM
15067 * malloc/memusagestat.c (options): Likewise.
15068 * nss/getent.c (options): Likewise.
63270c24
RM
15069
150702013-03-18 Benno Schulenberg <bensberg@justemail.net>
15071
15072 [BZ #14812]
15073 * iconv/iconv_prog.c (options): Put N_ translation marker
15074 on argument names, not just descriptions.
15075 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 15076
b2e1393c
OB
150772013-03-18 Ondrej Bilka <neleai@seznam.cz>
15078
15079 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
15080 implementation which is faster on all x86_64 architectures.
15081 Tested on AMD, Intel Nehalem, SNB, IVB.
15082 * sysdeps/x86_64/strnlen.S: Likewise.
15083
15084 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
15085 Remove all multiarch strlen and strnlen versions.
15086 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
15087 Remove strlen and strnlen related parts.
15088
15089 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
15090 Inline strlen part.
15091 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
15092
15093 * sysdeps/x86_64/multiarch/strlen.S: Remove.
15094 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
15095 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
15096 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
15097 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
15098 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
15099
ec4ff04d
CD
151002013-03-17 Carlos O'Donell <carlos@redhat.com>
15101
15102 * manual/memory.texi (Malloc Tunable Parameters):
15103 Sort parameters alphabetically. Add comments for missing entries.
15104
cd18e90a
DM
151052013-03-17 David S. Miller <davem@davemloft.net>
15106
15107 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15108
2a185d32
JM
151092013-03-16 Joseph Myers <joseph@codesourcery.com>
15110
d2f9799e
JM
15111 [BZ #15283]
15112 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
15113 for arguments at most half maximum finite value.
15114 * math/libm-test.inc (j0_test): Add more tests.
15115 (j1_test): Likewise.
15116 (y0_test): Likewise.
15117 (y1_test): Likewise.
15118 * sysdeps/i386/fpu/libm-test-ulps: Update.
15119 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15120
2a185d32
JM
15121 [BZ #14155]
15122 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
15123 1 / x and functions P and Q for arguments above 0x1p256L.
15124 (__ieee754_y0l): Likewise.
15125 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
15126 (__ieee754_y1l): Likewise.
15127 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
15128 (j1_test): Likewise.
15129 (y0_test): Likewise.
15130 (y1_test): Likewise.
15131
6cbec759
TS
151322013-03-16 Thomas Schwinge <thomas@codesourcery.com>
15133
15134 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
15135 variable.
15136
bc16e260
RM
151372013-03-15 Roland McGrath <roland@hack.frob.com>
15138
aefc9b8c
RM
15139 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
15140 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
15141 zero since it's initialized to EXEC_PAGESIZE.
15142
bc16e260
RM
15143 * sysdeps/unix/sysv/linux/ldsodefs.h
15144 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
15145 * sysdeps/generic/ldsodefs.h: ... here.
15146
a57da955
TS
151472013-03-15 Thomas Schwinge <thomas@codesourcery.com>
15148
af00a34d
TS
15149 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
15150
495ded2c
TS
15151 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
15152 math/test-snan.c.
15153 * math/test-snan.c: Renamed from
15154 sysdeps/powerpc/fpu/test-powerpc-snan.c.
15155 * math/Makefile (tests): Add test-snan.
15156 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
15157 test-powerpc-snan.
15158
777b0332
TS
15159 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
15160 SUFFIX. Initialize qNaN_var with __builtin_nan family of
15161 functions.
15162 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
15163 __builtin_nan family of functions.
15164 * math/libm-test.inc (initialize): Initialize qnan_value with
15165 __builtin_nan family of functions.
15166 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
15167 Remove variables.
15168 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
15169 Remove functions.
15170 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
15171 storage class. Initialize qNaN_var and sNaN_var with
15172 __builtin_nan and __builtin_nans families of functions,
15173 respectively.
15174
64d063b8
TS
15175 * math/libm-test.inc (acosh_test): Also test with qNaN input.
15176 (sqrt_test): Remove duplicate test with qNaN input.
15177 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
15178 (round_test, signbit_test, significand_test): Note missing +/-Inf
15179 as well as qNaN tests.
15180
67e971f1
TS
15181 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
15182 qNaN_var. Fix a few strings, too.
15183 * math/libm-test.inc (nan_value): Rename to qnan_value.
15184 * math/gen-libm-test.pl (%beautify): Adjust to that.
15185 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
15186 * math/test-misc.c (main): Likewise.
15187 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
15188 to __qnan_bytes, and __qnan_union, respectively.
15189 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
15190 Likewise.
15191 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
15192 and lqnanval, respectively.
15193 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
15194 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
15195 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
15196 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
15197
64487e12
TS
15198 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
15199 * math/test-misc.c (main) [__x86_64__]: Enable test for long
15200 doubles.
15201
e015e27b
TS
15202 * math/test-misc.c (main): Fix copy'n'pastos.
15203 * misc/tst-efgcvt.c (special): Likewise.
15204
a57da955
TS
15205 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
15206 Remove declarations.
15207
1e380345
SP
152082013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15209
15210 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
15211 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
15212 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
15213 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
15214
ef26eece
AZ
152152013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15216
15217 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
15218 macro to return vdso values correctly in IFUNC implementations.
15219 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
15220 Optimization by using IFUNC.
15221
8cfdb7e0
SP
152222013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15223 Richard Henderson <rth@redhat.com>
15224 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15225
15226 * Makefile.in (bench): New target.
15227 * NEWS: Mention the benchmark framework.
15228 * Rules (bench): Likewise.
15229 (binaries-bench): Generate binaries for functions to
15230 benchmark.
15231 * benchtests/Makefile: New makefile for benchmark tests.
15232 * benchtests/bench-skeleton.c: New skeleton file for benchmark
15233 programs.
15234 * benchtests/exp-inputs: New input file for EXP function.
15235 * benchtests/pow-inputs: New input file for POW function.
15236 * scripts/bench.pl: New script to generate source files for
15237 benchmark programs.
15238
bcda9880
SP
152392013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15240
d22ca8cd
SP
15241 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
15242 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
15243 computations on mantissa. Use macros for rounding and
15244 division.
15245 (denorm): Likewise.
15246 (__dbl_mp): Likewise.
15247 (add_magnitudes): Likewise.
15248 (sub_magnitudes): Likewise.
15249 (__mul): Likewise.
15250 (__sqr): Likewise.
15251 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
15252 powers of two in terms of TWOPOW macro.
15253 (mp_no): Make type of mantissa as MANTISSA_T.
15254 [!RADIXI]: Define RADIXI.
15255 [!TWO52]: Define TWO52.
15256 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
15257
bcda9880
SP
15258 * manual/nptl.texi (cindex): Modify threads to pthreads.
15259
06d5adfb
JM
152602013-03-15 Joseph Myers <joseph@codesourcery.com>
15261
15262 * sysdeps/x86_64/preconfigure: Regenerated.
15263
41c7328e
JM
152642013-03-14 Joseph Myers <joseph@codesourcery.com>
15265
15266 [BZ #14155]
15267 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
15268 0x1p28 and above.
15269 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
15270 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
15271 0x1p28 and above.
15272 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
15273 * math/libm-test.inc (j0_test): Do not allow one spurious
15274 underflow exception.
15275 (y1_test): Likewise.
15276
e25cfa60
SP
152772013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
15278
0409959c
SP
15279 * manual/Makefile (chapters): Add nptl.
15280 * manual/debug.texi (Debugging Support): Add link to Threads
15281 chapter.
15282 * manual/nptl.texi: New file.
15283
e25cfa60
SP
15284 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
15285
58a1335e
PB
152862013-03-14 Petr Baudis <pasky@ucw.cz>
15287
15288 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
15289 for non-NULL pointer before the memory validity test. Pointed
15290 out by Holger Brunck <holger.brunck@keymile.com>.
15291
9dc7c64f
AS
152922013-03-13 Andreas Schwab <schwab@suse.de>
15293
15294 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
15295 instead of .os.
15296
54206aa6
JM
152972013-03-13 Joseph Myers <joseph@codesourcery.com>
15298
15299 * timezone/zic.c: Update from tzcode 2013b.
15300
e98cdb38
CD
153012013-03-12 Carlos O'Donell <carlos@redhat.com>
15302
15303 * manual/install.texi (Configuring and compiling):
15304 Mention i686 and i586.
15305 * INSTALL: Regenerate.
15306
9967e003
RM
153072013-03-12 Roland McGrath <roland@hack.frob.com>
15308
15309 * sysdeps/init_array/elf-init.c: New file.
15310 * csu/elf-init.c
15311 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
15312 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
15313
15314 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
15315 __gmon_start__ as global, but as static with a .preinit_array pointer.
15316 * sysdeps/init_array/gmon-start.c: New file. Use that.
15317 * sysdeps/init_array/crti.S: New file, empty except for comments.
15318 * sysdeps/init_array/crtn.S: Likewise.
15319
e6b5a293 153202013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
15321
15322 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
15323 definining bcopy.
80f844c9
OB
15324 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15325 Remove Prefer_SSE_for_memop.
15326 * sysdeps/x86_64/multiarch/init-arch.h: Remove
15327 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
15328 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
15329 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
15330 memset-x86-64.
80f844c9 15331 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 15332 Remove bzero, memset ifunc support.
80f844c9
OB
15333 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
15334 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
15335 * sysdeps/x86_64/multiarch/memset.S: Likewise.
15336 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
15337
fb6b0fcb
AS
153382013-03-11 Andreas Schwab <schwab@suse.de>
15339
15340 [BZ #15234]
15341 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
15342 by SHLIB_COMPAT.
15343 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
15344 (GLIBC_2.16): Remove pthread_atfork.
15345
3e6bd4b1
PP
153462013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
15347
15348 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
15349 (ptestcases.h): Likewise.
15350
222d7f00
RM
153512013-03-08 Roland McGrath <roland@hack.frob.com>
15352
15353 * Makeconfig ($(common-objpfx)config.status): Depend on
15354 sysdeps/*/preconfigure{,.in} too.
15355
1ba4f030
JM
153562013-03-08 Joseph Myers <joseph@codesourcery.com>
15357
a222d91a
JM
15358 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
15359 (__free_hook): Use void * instead of __malloc_ptr_t.
15360 (__malloc_hook): Likewise.
15361 (__realloc_hook): Likewise.
15362 (__memalign_hook): Likewise.
15363 (__after_morecore_hook): Likewise.
15364 * malloc/arena.c (save_malloc_hook): Likewise.
15365 (save_free_hook): Likewise.
15366 * malloc/hooks.c (malloc_hook_ini): Likewise.
15367 (realloc_hook_ini): Likewise.
15368 (memalign_hook_ini): Likewise.
15369 * malloc/malloc.c (malloc_hook_ini): Likewise.
15370 (realloc_hook_ini): Likewise.
15371 (memalign_hook_ini): Likewise.
15372 (__free_hook): Likewise.
15373 (__malloc_hook): Likewise.
15374 (__realloc_hook): Likewise.
15375 (__memalign_hook): Likewise.
15376 (__libc_malloc): Likewise.
15377 (__libc_free): Likewise.
15378 (__libc_realloc): Likewise.
15379 (__libc_memalign): Likewise.
15380 (__libc_valloc): Likewise.
15381 (__libc_pvalloc): Likewise.
15382 (__libc_calloc): Likewise.
15383 (__posix_memalign): Likewise.
15384 * malloc/morecore.c (__sbrk): Likewise.
15385 (__default_morecore): Likewise.
15386
5cc45e10
JM
15387 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
15388
dd54b864
JM
15389 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
15390 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
15391 __malloc_ptrdiff_t.
15392
1ba4f030
JM
15393 * malloc/malloc.h (__malloc_size_t): Remove macro.
15394 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
15395 __malloc_size_t.
15396 (old_memalign_hook): Likewise.
15397 (old_realloc_hook): Likewise.
15398 (struct hdr): Likewise.
15399 (flood): Likewise.
15400 (mallochook): Likewise.
15401 (memalignhook): Likewise.
15402 (reallochook): Likewise.
15403 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
15404 (tr_old_realloc_hook): Likewise.
15405 (tr_old_memalign_hook): Likewise.
15406 (tr_mallochook): Likewise.
15407 (tr_reallochook): Likewise.
15408 (tr_memalignhook): Likewise.
15409
edf66e57
AZ
154102013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15411
15412 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
15413 default_ldbl_pack and using as default implementation.
15414 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
15415 implementation.
15416 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
15417 redundant definition.
15418 (ldbl_insert_mantissa): Likewise.
15419 (ldbl_canonicalize): Likewise.
15420 (ldbl_nearbyint): Likewise.
15421 (ldbl_pack): Rename to ldbl_pack_ppc.
15422 (ldbl_unpack): Rename to ldbl_unpack_ppc.
15423 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
15424 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
15425
6d9145d8
SP
154262013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
15427
15428 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
15429 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
15430 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
15431 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
15432 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
15433 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
15434 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
15435 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
15436
4dd4e157
AJ
154372013-03-07 Andreas Jaeger <aj@suse.de>
15438
15439 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15440 bits/mman-linux.h.
15441
adbb8027
SP
154422013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
15443
ce544b5b
SP
15444 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
15445 Include mpa.h and declare __MPEXP.
15446 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
15447 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
15448 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
15449 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
15450 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
15451 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
15452 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
15453
4cc149fd
SP
15454 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
15455 (__slowpow): Use long double EXPL and LOGL functions to
15456 compute POW.
15457 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
15458 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
15459 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
15460 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
15461 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
15462 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
15463
e6ebd4a7
SP
15464 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
15465 intermediate variable to calculate exponent.
15466 (__sqr): Likewise.
15467 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
15468 Likewise.
15469 (__sqr): Likewise.
15470
82a9811d
SP
15471 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
15472 [!NO__SQR]: Define __sqr.
15473 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
15474 and NO__SQR. Remove all code except __mul and __sqr. Include
15475 sysdeps/ieee754/dbl-64/mpa.c.
15476 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15477
adbb8027
SP
15478 [BZ #12723]
15479 * posix/Makefile (tests): Add tst-pathconf.
15480 * posix/tst-pathconf.c: New test case.
15481 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
15482 _PC_PIPE_BUF.
15483 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
15484
39120df9
PF
154852013-03-06 Patsy Franklin <pfrankli@redhat.com>
15486
15487 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
15488
67525cb8
AJ
154892013-03-06 Andreas Jaeger <aj@suse.de>
15490
664a9ce4
AJ
15491 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
15492 definition via __MAP_ANONYMOUS.
15493
8e39047d
AJ
15494 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
15495 it's not part of Linux headers.
15496
67525cb8
AJ
15497 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
15498 (MAP_HUGE_MASK): Define.
15499
15500 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
15501 Define.
15502 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
15503 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
15504 Define.
15505 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
15506 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
15507 Define.
15508 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
15509 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
15510 Define.
15511 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
15512
15513 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
15514 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
15515 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
15516 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
15517 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
15518 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
15519
15520 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
15521 Handle f2fs.
15522
15523 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15524 Handle f2fs and efivarfs.
15525
15526 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
15527 f2fs.
15528
15529 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
15530 (EFIVARFS_MAGIC): Add.
15531 (F2FS_LINK_MAX): Add.
15532
e1b42695
PP
155332013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
15534
15535 * stdio-common/vfprintf.c: Replace __builtin_expect with
15536 __glibc_unlikely.
15537
2d67d91a
JM
155382013-03-06 Joseph Myers <joseph@codesourcery.com>
15539
15540 [BZ #13550]
15541 * sysdeps/generic/bp-sym.h: Remove file.
15542 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
15543 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
15544 <bp-sym.h> and <bp-asm.h>.
15545 (__longjmp): Don't use BP_SYM.
15546 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
15547 and <bp-asm.h>.
15548 (memcpy): Don't use BP_SYM.
15549 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
15550 <bp-sym.h> and <bp-asm.h>.
15551 (memcpy): Don't use BP_SYM.
15552 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
15553 <bp-asm.h>.
15554 (memcpy): Don't use BP_SYM.
15555 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
15556 <bp-asm.h>.
15557 (memset): Don't use BP_SYM.
15558 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
15559 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
15560 (__bzero): Don't use BP_SYM.
15561 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
15562 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
15563 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
15564 <bp-sym.h> and <bp-asm.h>.
15565 (memcmp): Don't use BP_SYM. Remove comment about bounded
15566 pointers.
15567 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
15568 <bp-sym.h> and <bp-asm.h>.
15569 (memcpy): Don't use BP_SYM.
15570 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
15571 <bp-sym.h> and <bp-asm.h>.
15572 (memset): Don't use BP_SYM.
15573 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
15574 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
15575 (__bzero): Don't use BP_SYM.
15576 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
15577 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
15578 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
15579 <bp-sym.h> and <bp-asm.h>.
15580 (strncmp): Don't use BP_SYM. Remove comment about bounded
15581 pointers.
15582 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
15583 <bp-sym.h> and <bp-asm.h>.
15584 (memcpy): Don't use BP_SYM.
15585 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
15586 <bp-sym.h> and <bp-asm.h>.
15587 (memset): Don't use BP_SYM.
15588 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
15589 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
15590 (__bzero): Don't use BP_SYM.
15591 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
15592 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
15593 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
15594 <bp-sym.h> and <bp-asm.h>.
15595 (__memchr): Don't use BP_SYM.
15596 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
15597 <bp-sym.h> and <bp-asm.h>.
15598 (memcmp): Don't use BP_SYM. Remove comment about bounded
15599 pointers.
15600 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
15601 <bp-sym.h> and <bp-asm.h>.
15602 (memcpy): Don't use BP_SYM.
15603 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
15604 <bp-sym.h> and <bp-asm.h>.
15605 (__mempcpy): Don't use BP_SYM.
15606 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
15607 <bp-sym.h> and <bp-asm.h>.
15608 (__memrchr): Don't use BP_SYM.
15609 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
15610 <bp-sym.h> and <bp-asm.h>.
15611 (memset): Don't use BP_SYM.
15612 (__bzero): Likewise.
15613 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
15614 <bp-sym.h> and <bp-asm.h>.
15615 (__rawmemchr): Don't use BP_SYM.
15616 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
15617 <bp-sym.h> and <bp-asm.h>.
15618 (__STRCMP): Don't use BP_SYM.
15619 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
15620 <bp-sym.h> and <bp-asm.h>.
15621 (strchr): Don't use BP_SYM.
15622 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
15623 <bp-sym.h> and <bp-asm.h>.
15624 (__strchrnul): Don't use BP_SYM.
15625 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
15626 <bp-sym.h> and <bp-asm.h>.
15627 (strlen): Don't use BP_SYM.
15628 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
15629 <bp-sym.h> and <bp-asm.h>.
15630 (strncmp): Don't use BP_SYM. Remove comment about bounded
15631 pointers.
15632 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
15633 <bp-sym.h> and <bp-asm.h>.
15634 (__strnlen): Don't use BP_SYM.
15635 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
15636 <bp-sym.h> and <bp-asm.h>.
15637 (__GI__setjmp): Don't use BP_SYM.
15638 (_setjmp): Likewise.
15639 (__sigsetjmp): Likewise.
15640 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
15641 (L(start_addresses)): Don't use BP_SYM.
15642 (_start): Likewise.
15643 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
15644 <bp-asm.h>.
15645 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
15646 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
15647 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
15648 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
15649 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
15650 <bp-asm.h>.
15651 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
15652 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
15653 about bounded pointers.
15654 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
15655 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
15656 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
15657 <bp-asm.h>.
15658 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
15659 about bounded pointers. Remove GKM FIXME comments.
15660 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
15661 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
15662 <bp-asm.h>.
15663 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
15664 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
15665 Remove GKM FIXME comments.
15666 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
15667 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
15668 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
15669 <bp-asm.h>.
15670 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
15671 about bounded pointers. Remove GKM FIXME comment.
15672 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
15673 and <bp-asm.h>.
15674 (strncmp): Don't use BP_SYM. Remove comment about bounded
15675 pointers.
15676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
15677 <bp-sym.h> and <bp-asm.h>.
15678 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
15679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
15680 <bp-sym.h> and <bp-asm.h>.
15681 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
15682 comment.
15683
cdcf361f
PP
156842013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
15685
15686 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
15687 call free(NULL).
15688
3c4a2b15
DM
156892013-03-05 David S. Miller <davem@davemloft.net>
15690
15691 * po/es.po: Update from translation team.
15692
cdcf361f 156932013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
15694
15695 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
15696 <bits/mman-linux.h>.
15697 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
15698 is fine.
15699 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
15700 <bits/mman-linux.h> to end of file.
15701 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
15702 is fine.
15703 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
15704 <bits/mman-linux.h> to end of file.
15705 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
15706 is fine.
15707 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
15708 <bits/mman-linux.h> to end of file.
15709
15710 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
15711 (MCL_CURRENT, MCL_FUTURE): Define here.
15712
5f67c04f
AK
157132013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15714
8a4473cc 15715 [BZ #15232]
5f67c04f
AK
15716 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
15717 attribute_hidden.
15718 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
15719
c3e94a95
AK
157202013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15721
15722 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
15723 fourth parameter needed for rt_sigprocmask syscall.
15724 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
15725 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
15726 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
15727 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
15728 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
15729 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
15730
cfb6382a
JM
157312013-03-04 Joseph Myers <joseph@codesourcery.com>
15732
15733 [BZ #13550]
15734 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
15735 comment about bounded pointers.
15736 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
15737 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
15738
539d8e01
AJ
157392013-03-04 Andreas Jaeger <aj@suse.de>
15740
15741 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
15742 common definitions.
15743
15744 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
15745 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
15746 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
15747 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
15748 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
15749 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
15750
2e167a70 157512013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
15752
15753 [BZ #15055]
15754 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
15755 __ieee754_sqrl instead of __sqrl.
15756
68508633
JM
157572013-03-01 Joseph Myers <joseph@codesourcery.com>
15758
15759 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
15760 * sysdeps/powerpc/fpu_control.h: ... here.
15761 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
15762 * sysdeps/powerpc/bits/fenvinline.h: ... here.
15763 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
15764 * sysdeps/powerpc/bits/mathinline.h: ... here.
15765
7775448e
RM
157662013-03-01 Roland McGrath <roland@hack.frob.com>
15767
15768 * elf/dl-hwcaps.c (_dl_important_hwcaps):
15769 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
15770 to just [NEED_DL_SYSINFO_DSO].
15771 * elf/dl-support.c: Likewise.
15772 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
15773 * elf/rtld.c (dl_main): Likewise.
15774 * elf/setup-vdso.h (setup_vdso): Likewise.
15775 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
15776 * sysdeps/unix/sysv/linux/dl-sysdep.c
15777 (_dl_discover_osversion): Likewise.
15778
4e9b5995
CD
157792013-03-01 Carlos O'Donell <carlos@redhat.com>
15780
15781 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
15782 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
15783
e23872c8
SP
157842013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
15785
e5c74c63
SP
15786 * NEWS: Mention libm performance improvements and non-x86 PI
15787 futex support.
15788
e23872c8
SP
15789 * csu/libc-start.c (__pthread_initialize_minimal): Change
15790 function arguments.
15791 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
15792
b5510883
JM
157932013-02-28 Joseph Myers <joseph@codesourcery.com>
15794
15795 [BZ #13550]
15796 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
15797 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
15798 <bp-sym.h> and <bp-asm.h>.
15799 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
15800 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
15801 and <bp-asm.h>.
15802 (memcpy): Don't use BP_SYM.
15803 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
15804 <bp-asm.h>.
15805 (__mpn_add_n): Don't use BP_SYM.
15806 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
15807 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
15808 and <bp-asm.h>.
15809 (__mpn_addmul_1): Don't use BP_SYM.
15810 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
15811 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
15812 <bp-sym.h>.
15813 (_setjmp): Don't use BP_SYM.
15814 (__novmx_setjmp): Likewise.
15815 (__GI__setjmp): Likewise.
15816 (__vmx_setjmp): Likewise.
15817 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
15818 <bp-sym.h>.
15819 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
15820 (__bzero): Don't use BP_SYM.
15821 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
15822 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
15823 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
15824 <bp-sym.h> and <bp-asm.h>.
15825 (memcpy): Don't use BP_SYM.
15826 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
15827 <bp-sym.h> and <bp-asm.h>.
15828 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
15829 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
15830 <bp-sym.h> and <bp-asm.h>.
15831 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
15832 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
15833 <bp-asm.h>.
15834 (__mpn_lshift): Don't use BP_SYM.
15835 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
15836 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
15837 <bp-asm.h>.
15838 (memset): Don't use BP_SYM.
15839 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
15840 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
15841 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
15842 <bp-asm.h>.
15843 (__mpn_mul_1): Don't use BP_SYM.
15844 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
15845 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
15846 <bp-sym.h> and <bp-asm.h>.
15847 (memcmp): Don't use BP_SYM.
15848 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
15849 <bp-sym.h> and <bp-asm.h>.
15850 (memcpy): Don't use BP_SYM.
15851 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
15852 <bp-sym.h> and <bp-asm.h>.
15853 (memset): Don't use BP_SYM.
15854 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
15855 <bp-sym.h> and <bp-asm.h>.
15856 (strncmp): Don't use BP_SYM.
15857 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
15858 <bp-sym.h> and <bp-asm.h>.
15859 (memcpy): Don't use BP_SYM.
15860 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
15861 <bp-sym.h> and <bp-asm.h>.
15862 (memset): Don't use BP_SYM.
15863 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
15864 <bp-sym.h> and <bp-asm.h>.
15865 (__memchr): Don't use BP_SYM.
15866 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
15867 <bp-sym.h> and <bp-asm.h>.
15868 (memcmp): Don't use BP_SYM.
15869 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
15870 <bp-sym.h> and <bp-asm.h>.
15871 (memcpy): Don't use BP_SYM.
15872 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
15873 <bp-sym.h> and <bp-asm.h>.
15874 (__mempcpy): Don't use BP_SYM.
15875 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
15876 <bp-sym.h> and <bp-asm.h>.
15877 (__memrchr): Don't use BP_SYM.
15878 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
15879 <bp-sym.h> and <bp-asm.h>.
15880 (memset): Don't use BP_SYM.
15881 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
15882 <bp-sym.h> and <bp-asm.h>.
15883 (__rawmemchr): Don't use BP_SYM.
15884 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
15885 <bp-sym.h> and <bp-asm.h>.
15886 (__STRCMP): Don't use BP_SYM.
15887 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
15888 <bp-sym.h> and <bp-asm.h>.
15889 (strchr): Don't use BP_SYM.
15890 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
15891 <bp-sym.h> and <bp-asm.h>.
15892 (__strchrnul): Don't use BP_SYM.
15893 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
15894 <bp-sym.h> and <bp-asm.h>.
15895 (strlen): Don't use BP_SYM.
15896 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
15897 <bp-sym.h> and <bp-asm.h>.
15898 (strncmp): Don't use BP_SYM.
15899 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
15900 <bp-sym.h> and <bp-asm.h>.
15901 (__strnlen): Don't use BP_SYM.
15902 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
15903 <bp-asm.h>.
15904 (__mpn_rshift): Don't use BP_SYM.
15905 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
15906 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
15907 <bp-sym.h> and <bp-asm.h>.
15908 (__sigsetjmp): Don't use BP_SYM.
15909 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
15910 (L(start_addresses)): Don't use BP_SYM.
15911 (_start): Likewise.
15912 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
15913 <bp-asm.h>.
15914 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
15915 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
15916 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
15917 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
15918 <bp-asm.h>.
15919 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
15920 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
15921 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
15922 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
15923 <bp-asm.h>.
15924 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
15925 comments.
15926 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
15927 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
15928 <bp-asm.h>.
15929 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
15930 FIXME comments.
15931 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
15932 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
15933 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
15934 <bp-asm.h>.
15935 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
15936 comment.
15937 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
15938 and <bp-asm.h>.
15939 (strncmp): Don't use BP_SYM,
15940 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
15941 <bp-asm.h>.
15942 (__mpn_sub_n): Don't use BP_SYM.
15943 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
15944 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
15945 and <bp-asm.h>.
15946 (__mpn_submul_1): Don't use BP_SYM.
15947 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
15948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
15949 <bp-sym.h> and <bp-asm.h>.
15950 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
15951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
15952 <bp-sym.h> and <bp-asm.h>.
15953 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
15954 comment.
15955
8d19fe64
SP
159562013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15957
15958 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
15959 Use ZK to minimize writes to Z.
15960 (sub_magnitudes): Simplify code a bit.
15961 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
15962 Use ZK to minimize writes to Z.
15963 (sub_magnitudes): Simplify code a bit.
15964
85bd816a
RM
159652013-02-27 Roland McGrath <roland@hack.frob.com>
15966
15967 * csu/gmon-start.c: Add special exception to license text.
15968
b5977bf2
RH
159692013-02-27 Richard Henderson <rth@redhat.com>
15970
15971 * scripts/config.guess: Update from config.git.
15972 * scripts/config.sub: Likewise.
15973
11d6e2f2
SP
159742013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15975
09c14ed2
SP
15976 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
15977
a688864e
SP
15978 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
15979
6295157a
SP
15980 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
15981
b8de2202
SP
15982 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
15983
11d6e2f2
SP
15984 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
15985
7e80ddb8
RM
159862013-02-26 Roland McGrath <roland@hack.frob.com>
15987
15988 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
15989 [$(build-shared = yes].
7e80ddb8 15990
7da6d9ed
SP
159912013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15992
45f05884
SP
15993 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
15994 (__mul): Reduce iterations for calculating mantissa.
15995
2236d359
SP
15996 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
15997 MPTWO.
15998 (__mpranred): Likewise.
15999
7da6d9ed
SP
16000 [BZ #15160]
16001 * malloc/memusagestat.c (main): Draw graphs for heap and stack
16002 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
16003
b7688c42
PE
160042013-02-26 Paul Eggert <eggert@cs.ucla.edu>
16005
16006 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
16007 Define __attribute__.
16008
53a5c423
SP
160092013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16010
16011 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
16012 unused.
16013 * posix/regex_internal.h (__attribute): Remove.
16014 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
16015 (re_string_context_at): Likewise.
16016 (bitset_not): Use __attribute__ and mark function as possibly
16017 unused.
16018 (bitset_merge): Likewise.
16019 (bitset_mask): Likewise.
16020 (re_string_char_size_at): Likewise.
16021 (re_string_wchar_at): Likewise.
16022 (re_string_elem_size_at): Likewise.
16023
60f5a8b5
SP
160242013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
16025
2a983a2e
SP
16026 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
16027 code.
16028 (cc32): Likewise.
16029
e69804d1
SP
16030 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
16031 (__acr): Likewise.
16032 (__cpy): Likewise.
16033 (norm): Likewise.
16034 (denorm): Likewise.
16035 (__dbl_mp): Likewise.
16036 (add_magnitudes): Likewise.
16037 (sub_magnitudes): Likewise.
16038 (__mul): Likewise.
16039 (__inv): Likewise.
16040
2f22a1e8
SP
16041 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
16042 style.
16043
8930ddc7
SP
16044 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
16045 style.
16046
dc60cb11
SP
16047 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
16048 code.
16049
60f5a8b5
SP
16050 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
16051 up changes with default code.
16052 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
16053 Likewise.
16054
b4d1fd33
AM
160552013-02-24 Allan McRae <allan@archlinux.org>
16056
faf6f8bc
AM
16057 * manual/socket.texi (The Internet Namespace): Order menu items
16058 to match that in the file.
16059
b4d1fd33
AM
16060 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
16061 node listing of the info page menu.
16062
2366713d
JM
160632013-02-21 Joseph Myers <joseph@codesourcery.com>
16064
16065 [BZ #13550]
16066 * sysdeps/i386/bp-asm.h: Remove file.
16067 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
16068 (PARMS): Do not use macros from bp-asm.h.
16069 (S1): Likewise.
16070 (S2): Likewise.
16071 (SIZE): Likewise.
16072 (__mpn_add_n): Do not use BP_SYM
16073 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
16074 "bp-asm.h".
16075 (PARMS): Do not use macros from bp-asm.h.
16076 (S1): Likewise.
16077 (SIZE): Likewise.
16078 (__mpn_addmul_1): Do not use BP_SYM
16079 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
16080 "bp-asm.h".
16081 (PARMS): Do not use macros from bp-asm.h.
16082 (SIGMSK): Likewise.
16083 (_setjmp): Likewise. Do not use BP_SYM.
16084 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
16085 "bp-asm.h".
16086 (PARMS): Do not use macros from bp-asm.h.
16087 (SIGMSK): Likewise.
16088 (setjmp): Likewise. Do not use BP_SYM.
16089 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
16090 "bp-asm.h".
16091 (PARMS): Do not use macros from bp-asm.h.
16092 (__frexp): Do not use BP_SYM.
16093 (frexp): Likewise.
16094 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
16095 "bp-asm.h".
16096 (PARMS): Do not use macros from bp-asm.h.
16097 (__frexpf): Do not use BP_SYM.
16098 (frexpf): Likewise.
16099 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
16100 "bp-asm.h".
16101 (PARMS): Do not use macros from bp-asm.h.
16102 (__frexpl): Do not use BP_SYM.
16103 (frexpl): Likewise.
16104 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
16105 "bp-asm.h".
16106 (PARMS): Do not use macros from bp-asm.h.
16107 (__remquo): Do not use BP_SYM.
16108 (remquo): Likewise.
16109 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
16110 "bp-asm.h".
16111 (PARMS): Do not use macros from bp-asm.h.
16112 (__remquof): Do not use BP_SYM.
16113 (remquof): Likewise.
16114 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
16115 "bp-asm.h".
16116 (PARMS): Do not use macros from bp-asm.h.
16117 (__remquol): Do not use BP_SYM.
16118 (remquol): Likewise.
16119 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
16120 "bp-asm.h".
16121 (PARMS): Do not use macros from bp-asm.h.
16122 (DEST): Likewise.
16123 (SRC): Likewise.
16124 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
16125 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
16126 "bp-asm.h".
16127 (PARMS): Do not use macros from bp-asm.h.
16128 (strlen): Do not use BP_SYM.
16129 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
16130 "bp-asm.h".
16131 (PARMS): Do not use macros from bp-asm.h.
16132 (S1): Likewise.
16133 (S2): Likewise.
16134 (SIZE): Likewise.
16135 (__mpn_add_n): Do not use BP_SYM.
16136 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
16137 "bp-asm.h".
16138 (PARMS): Do not use macros from bp-asm.h.
16139 (S1): Likewise.
16140 (SIZE): Likewise.
16141 (__mpn_addmul_1): Do not use BP_SYM.
16142 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
16143 weak_alias.
16144 (bzero): Likewise.
16145 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
16146 "bp-asm.h".
16147 (PARMS): Do not use macros from bp-asm.h.
16148 (S): Likewise.
16149 (SIZE): Likewise.
16150 (__mpn_lshift): Do not use BP_SYM.
16151 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
16152 "bp-asm.h".
16153 (PARMS): Do not use macros from bp-asm.h.
16154 (DEST): Likewise.
16155 (SRC): Likewise.
16156 (LEN): Likewise.
16157 (memcpy): Likewise. Do not use BP_SYM.
16158 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
16159 libc_hidden_def and weak_alias.
16160 (mempcpy): Do not use BP_SYM in weak_alias.
16161 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
16162 "bp-asm.h".
16163 (PARMS): Do not use macros from bp-asm.h.
16164 (DEST): Likewise.
16165 (LEN): Likewise.
16166 [!BZERO_P] (CHR): Likewise.
16167 (memset): Likewise. Do not use BP_SYM.
16168 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
16169 "bp-asm.h".
16170 (PARMS): Do not use macros from bp-asm.h.
16171 (S1): Likewise.
16172 (SIZE): Likewise.
16173 (__mpn_mul_1): Do not use BP_SYM.
16174 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
16175 "bp-asm.h".
16176 (PARMS): Do not use macros from bp-asm.h.
16177 (S): Likewise.
16178 (SIZE): Likewise.
16179 (__mpn_rshift): Do not use BP_SYM.
16180 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
16181 "bp-asm.h".
16182 (PARMS): Do not use macros from bp-asm.h.
16183 (STR): Likewise.
16184 (CHR): Likewise.
16185 (strchr): Likewise. Do not use BP_SYM.
16186 (index): Do not use BP_SYM in weak_alias.
16187 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
16188 "bp-asm.h".
16189 (PARMS): Do not use macros from bp-asm.h.
16190 (DEST): Likewise.
16191 (SRC): Likewise.
16192 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
16193 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
16194 "bp-asm.h".
16195 (PARMS): Do not use macros from bp-asm.h.
16196 (strlen): Do not use BP_SYM.
16197 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
16198 "bp-asm.h".
16199 (PARMS): Do not use macros from bp-asm.h.
16200 (S1): Likewise.
16201 (S2): Likewise.
16202 (SIZE): Likewise.
16203 (__mpn_sub_n): Do not use BP_SYM.
16204 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
16205 "bp-asm.h".
16206 (PARMS): Do not use macros from bp-asm.h.
16207 (S1): Likewise.
16208 (SIZE): Likewise.
16209 (__mpn_submul_1): Do not use BP_SYM.
16210 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
16211 "bp-asm.h".
16212 (PARMS): Do not use macros from bp-asm.h.
16213 (S1): Likewise.
16214 (S2): Likewise.
16215 (SIZE): Likewise.
16216 (__mpn_add_n): Do not use BP_SYM.
16217 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
16218 weak_alias.
16219 (bzero): Likewise.
16220 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
16221 "bp-asm.h".
16222 (PARMS): Do not use macros from bp-asm.h.
16223 (BLK2): Likewise.
16224 (LEN): Likewise.
16225 (memcmp): Do not use BP_SYM.
16226 (bcmp): Do not use BP_SYM in weak_alias.
16227 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
16228 "bp-asm.h".
16229 (PARMS): Do not use macros from bp-asm.h.
16230 (DEST): Likewise.
16231 (SRC): Likewise.
16232 (LEN): Likewise.
16233 (memcpy): Likewise. Do not use BP_SYM.
16234 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
16235 "bp-asm.h".
16236 (PARMS): Do not use macros from bp-asm.h.
16237 (DEST): Likewise.
16238 (SRC): Likewise.
16239 (LEN): Likewise.
16240 (memmove): Likewise. Do not use BP_SYM.
16241 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
16242 "bp-asm.h".
16243 (PARMS): Do not use macros from bp-asm.h.
16244 (DEST): Likewise.
16245 (SRC): Likewise.
16246 (LEN): Likewise.
16247 (__mempcpy): Likewise. Do not use BP_SYM.
16248 (mempcpy): Do not use BP_SYM in weak_alias.
16249 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
16250 "bp-asm.h".
16251 (PARMS): Do not use macros from bp-asm.h.
16252 (DEST): Likewise.
16253 (LEN): Likewise.
16254 [!BZERO_P] (CHR): Likewise.
16255 (memset): Likewise. Do not use BP_SYM.
16256 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
16257 "bp-asm.h".
16258 (PARMS): Do not use macros from bp-asm.h.
16259 (STR2): Likewise.
16260 (strcmp): Do not use BP_SYM.
16261 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
16262 "bp-asm.h".
16263 (PARMS): Do not use macros from bp-asm.h.
16264 (STR): Likewise.
16265 (DELIM): Likewise.
16266 [USE_AS_STRTOK_R] (SAVE): Likewise.
16267 (FUNCTION): Likewise. Do not use BP_SYM.
16268 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
16269 aliases.
16270 (strtok_r): Likewise.
16271 (__GI___strtok_r): Likewise.
16272 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
16273 (PARMS): Do not use macros from bp-asm.h.
16274 (S): Likewise.
16275 (SIZE): Likewise.
16276 (__mpn_lshift): Do not use BP_SYM.
16277 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
16278 (PARMS): Do not use macros from bp-asm.h.
16279 (STR): Likewise.
16280 (CHR): Likewise.
16281 (__memchr): Do not use BP_SYM.
16282 (memchr): Do not use BP_SYM in weak_alias.
16283 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
16284 (PARMS): Do not use macros from bp-asm.h.
16285 (BLK2): Likewise.
16286 (LEN): Likewise.
16287 (memcmp): Do not use BP_SYM.
16288 (bcmp): Do not use BP_SYM in weak_alias.
16289 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
16290 (PARMS): Do not use macros from bp-asm.h.
16291 (S1): Likewise.
16292 (SIZE): Likewise.
16293 (__mpn_mul_1): Do not use BP_SYM.
16294 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
16295 "bp-asm.h".
16296 (PARMS): Do not use macros from bp-asm.h.
16297 (STR): Likewise.
16298 (CHR): Likewise.
16299 (__rawmemchr): Do not use BP_SYM.
16300 (rawmemchr): Do not use BP_SYM in weak_alias.
16301 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
16302 (PARMS): Do not use macros from bp-asm.h.
16303 (S): Likewise.
16304 (SIZE): Likewise.
16305 (__mpn_rshift): Do not use BP_SYM.
16306 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
16307 (PARMS): Do not use macros from bp-asm.h.
16308 (SIGMSK): Likewise.
16309 (__sigsetjmp): Likewise. Do not use BP_SYM.
16310 * sysdeps/i386/start.S: Do not include "bp-sym.h".
16311 (_start): Do not use BP_SYM.
16312 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
16313 (PARMS): Do not use macros from bp-asm.h.
16314 (DEST): Likewise.
16315 (SRC): Likewise.
16316 (__stpcpy): Likewise. Do not use BP_SYM.
16317 (stpcpy): Do not use BP_SYM in weak_alias.
16318 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
16319 "bp-asm.h".
16320 (PARMS): Do not use macros from bp-asm.h.
16321 (DEST): Likewise.
16322 (SRC): Likewise.
16323 (LEN): Likewise.
16324 (__stpncpy): Likewise. Do not use BP_SYM.
16325 (stpncpy): Do not use BP_SYM in weak_alias.
16326 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
16327 (PARMS): Do not use macros from bp-asm.h.
16328 (STR): Likewise.
16329 (CHR): Likewise.
16330 (strchr): Likewise. Do not use BP_SYM.
16331 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
16332 "bp-asm.h".
16333 (PARMS): Do not use macros from bp-asm.h.
16334 (STR): Likewise.
16335 (CHR): Likewise.
16336 (__strchrnul): Likewise. Do not use BP_SYM.
16337 (strchrnul): Do not use BP_SYM in weak_alias.
16338 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
16339 "bp-asm.h".
16340 (PARMS): Do not use macros from bp-asm.h.
16341 (STOP): Likewise.
16342 (strcspn): Do not use BP_SYM.
16343 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
16344 "bp-asm.h".
16345 (PARMS): Do not use macros from bp-asm.h.
16346 (STR): Likewise.
16347 (STOP): Likewise.
16348 (strpbrk): Likewise. Do not use BP_SYM.
16349 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
16350 "bp-asm.h".
16351 (PARMS): Do not use macros from bp-asm.h.
16352 (STR): Likewise.
16353 (CHR): Likewise.
16354 (strrchr): Likewise. Do not use BP_SYM.
16355 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
16356 (PARMS): Do not use macros from bp-asm.h.
16357 (SKIP): Likewise.
16358 (strspn): Do not use BP_SYM.
16359 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
16360 (PARMS): Do not use macros from bp-asm.h.
16361 (STR): Likewise.
16362 (DELIM): Likewise.
16363 (SAVE): Likewise.
16364 (FUNCTION): Likewise. Do not use BP_SYM.
16365 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
16366 aliases.
16367 (strtok_r): Likewise.
16368 (__GI___strtok_r): Likewise.
16369 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
16370 (PARMS): Do not use macros from bp-asm.h.
16371 (S1): Likewise.
16372 (S2): Likewise.
16373 (SIZE): Likewise.
16374 (__mpn_sub_n): Do not use BP_SYM.
16375 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
16376 "bp-asm.h".
16377 (PARMS): Do not use macros from bp-asm.h.
16378 (S1): Likewise.
16379 (SIZE): Likewise.
16380 (__mpn_submul_1): Do not use BP_SYM.
16381 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
16382 <bp-sym.h>.
16383 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
16384 and <bp-asm.h>.
16385 (PARMS): Do not use macros from bp-asm.h.
16386 (FLAGS): Likewise.
16387 (PTID): Likewise.
16388 (TLS): Likewise.
16389 (CTID): Likewise.
16390 (__clone): Do not use BP_SYM.
16391 (clone): Do not use BP_SYM in weak_alias.
16392 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
16393 and <bp-asm.h>.
16394 (PARMS): Do not use macros from bp-asm.h.
16395 (LEN): Likewise.
16396 (__mmap64): Do not use BP_SYM.
16397 (mmap64): Do not use BP_SYM in weak_alias.
16398 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
16399 <bp-sym.h> and <bp-asm.h>.
16400 (PARMS): Do not use macros from bp-asm.h.
16401 (__posix_fadvise64_l64): Do not use BP_SYM.
16402 * sysdeps/unix/sysv/linux/i386/semtimedop.S
16403 (PARMS): Do not use macros from bp-asm.h.
16404 (NSOPS): Likewise.
16405 (semtimedop): Do not use BP_SYM.
16406 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
16407 and <bp-asm.h>.
16408
582a3cff
AM
164092013-02-21 Allan McRae <allan@archlinux.org>
16410
16411 * manual/message.texi (Charset conversion in gettext):
16412 Move @end statement to beginning of line.
16413
bab8a695
SP
164142013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16415
80945231
SP
16416 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
16417 static.
16418 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
16419 Likewise.
16420
bab8a695
SP
16421 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
16422 (denorm): Likewise.
16423 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
16424 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
16425
e21d7aa7
AK
164262013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16427
16428 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
16429 tail-call to the resolved function if pltexit isn't needed.
16430
4c7a4263
SP
164312013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16432
16433 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
16434 or Y being zero as being unlikely.
16435 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
16436 Likewise.
16437
41f49342
CD
164382013-02-20 Carlos O'Donell <carlos@redhat.com>
16439
16440 * manual/nss.texi (System Databases and Name Service Switch):
16441 Remove frobnicate @pxref.
16442
50022a93
TS
164432013-02-20 Thomas Schwinge <thomas@codesourcery.com>
16444
16445 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
16446 __attribute__ ((unused)) to __attribute__ ((__unused__)).
16447
08cbd996
PM
164482013-02-20 Petr Machata <pmachata@redhat.com>
16449
16450 * elf/elf.h (R_ARM_TARGET1): New macro.
16451 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
16452 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
16453 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
16454 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
16455 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
16456 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
16457 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
16458 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
16459 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
16460 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
16461 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
16462 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
16463 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
16464 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
16465 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
16466 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
16467 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
16468 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
16469 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
16470 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
16471 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
16472 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
16473 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
16474 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
16475 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
16476 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
16477 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
16478 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
16479 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
16480 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
16481 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
16482 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
16483 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
16484 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
16485 (R_ARM_THM_GOT_BREL12): Likewise.
16486 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
16487 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
16488 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
16489 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
16490 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
16491 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
16492 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
16493 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
16494 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
16495
c7b275d6
TS
164962013-02-20 Thomas Schwinge <thomas@codesourcery.com>
16497
16498 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
16499 __attribute_used__ to __attribute__ ((unused)).
16500
20cd7fb3
SP
165012013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
16502
16503 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
16504 powerpc mpa.c.
16505 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
16506 comment formatting.
16507 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
16508
92945b52
JM
165092013-02-19 Joseph Myers <joseph@codesourcery.com>
16510
16511 [BZ #13550]
16512 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
16513 Remove macro.
16514 (ENTER): Remove both macro definitions.
16515 (LEAVE): Likewise.
16516 (CHECK_BOUNDS_LOW): Likewise.
16517 (CHECK_BOUNDS_HIGH): Likewise.
16518 (CHECK_BOUNDS_BOTH): Likewise.
16519 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
16520 (RETURN_BOUNDED_POINTER): Likewise.
16521 (RETURN_NULL_BOUNDED_POINTER): Likewise.
16522 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
16523 (POP_ERRNO_LOCATION_RETURN): Likewise.
16524 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
16525 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16526 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
16527 macros.
16528 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16529 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
16530 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
16531 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
16532 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
16533 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
16534 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
16535 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
16536 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
16537 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
16538 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
16539 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
16540 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16541 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
16542 removed macros.
16543 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16544 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
16545 macros.
16546 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16547 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
16548 * sysdeps/i386/i586/memset.S (memset): Likewise.
16549 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
16550 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16551 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
16552 macros.
16553 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16554 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
16555 Change uses of L(2) to L(out).
16556 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
16557 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
16558 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
16559 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16560 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
16561 removed macros.
16562 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16563 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
16564 macros.
16565 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16566 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
16567 (RETURN): Do not use macro LEAVE.
16568 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
16569 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
16570 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
16571 * sysdeps/i386/i686/memset.S (memset): Likewise.
16572 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
16573 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
16574 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
16575 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
16576 Likewise.
16577 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16578 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
16579 L(1_2) and L(1_3) into L(1).
16580 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
16581 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
16582 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16583 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
16584 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
16585 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
16586 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
16587 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16588 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
16589 macros.
16590 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
16591 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16592 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
16593 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
16594 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
16595 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16596 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
16597 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
16598 * sysdeps/i386/strcspn.S (strcspn): Likewise.
16599 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
16600 * sysdeps/i386/strrchr.S (strrchr): Likewise.
16601 * sysdeps/i386/strspn.S (strspn): Likewise.
16602 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
16603 conditional code.
16604 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16605 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
16606 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
16607 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
16608 L(1_3) into L(1_1).
16609 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
16610 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16611 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
16612 macros.
16613 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16614
2389741a
JJ
166152013-02-19 Jakub Jelinek <jakub@redhat.com>
16616
16617 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
16618 macro.
16619
2016b3cd
SP
166202013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16621
e4f22324
SP
16622 * math/atest-exp.c (exp_mpn): Remove ROUND.
16623 * math/atest-exp2.c (exp_mpn): Likewise.
16624 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
16625
2016b3cd
SP
16626 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
16627 * stdlib/tst-tls-atexit-lib.c: Likewise.
16628 * stdlib/tst-tls-atexit.c: Likewise.
16629
4be9b544
MF
166302013-02-18 Mike Frysinger <vapier@gentoo.org>
16631
16632 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
16633 and __attribute_alloc_size__.
16634
2f62b9ee
MF
166352013-02-18 Mike Frysinger <vapier@gentoo.org>
16636
16637 * include/programs/xmalloc.h: Change __attribute_alloc_size to
16638 __attribute_alloc_size__.
16639 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
16640 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
16641
6ff444c4
MF
166422013-02-18 Mike Frysinger <vapier@gentoo.org>
16643
16644 * include/programs/xmalloc.h: New file.
16645 * catgets/gencat.c: Include it.
16646 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
16647 * elf/pldd.c: Likewise.
16648 * iconv/iconv_charmap.c: Likewise.
16649 * iconv/iconvconfig.c: Likewise.
16650 * iconv/strtab.c: Likewise.
16651 * locale/programs/locale.c: Likewise.
16652 * locale/programs/localedef.h: Likewise.
16653 * locale/programs/simple-hash.c: Likewise.
16654 * nscd/nscd.h: Likewise.
16655 * nss/makedb.c: Likewise.
16656 * sysdeps/generic/ldconfig.h: Likewise.
16657
be179c8a
SP
166582013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
16659
ba384f6e
SP
16660 * Versions.def: Add GLIBC_2.18.
16661 * include/link.h (struct link_map): New member l_tls_dtor_count.
16662 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
16663 (__call_tls_dtors): Likewise.
16664 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
16665 __cxa_thread_atexit_impl.
16666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16667 Likewise.
16668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16669 Likewise.
16670 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
16671 Likewise.
16672 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
16673 Likewise.
16674 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
16675 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
16676 Likewise.
16677 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
16678 Likewise.
16679 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
16680 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
16681 Likewise.
16682 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
16683 (tests): Add test case tst-tls-atexit.
16684 (modules-names): Add shared library for tst-tls-atexit.
85891aca 16685 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
16686 (GLIBC_PRIVATE): Add __call_tls_dtors.
16687 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
16688 for libstdc++.
16689 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
16690 * stdlib/tst-tls-atexit.c: New test case.
16691 * stdlib/tst-tls-atexit-lib.c: New test case.
16692
ffaa74cf 16693 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 16694
be179c8a
SP
16695 * elf/Versions (ld): Add _dl_find_dso_for_object.
16696 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
16697 * elf/dl-open.c (_dl_find_dso_for_object): New function.
16698 (dl_open_worker): Use _dl_find_dso_for_object.
16699 * elf/dl-sym.c (do_sym): Likewise.
16700 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
16701
f78b5caa
AK
167022013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16703
16704 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
16705 Syntactic changes only.
16706 (_dl_runtime_profile): Do a tail-call to the resolved function.
16707
29691210
JM
167082013-02-17 Joseph Myers <joseph@codesourcery.com>
16709
16710 [BZ #13550]
16711 * sysdeps/x86_64/bp-asm.h: Remove file.
16712 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
16713 <bp-sym.h> and <bp-asm.h>.
16714 (__clone): Do not use BP_SYM.
16715 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
16716 <bp-sym.h> and <bp-asm.h>.
16717 * sysdeps/unix/x86_64/sysdep.S: Likewise.
16718 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
16719 "bp-asm.h".
16720 (_setjmp): Do not use BP_SYM.
16721 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
16722 "bp-asm.h".
16723 (setjmp): Do not use BP_SYM.
16724 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
16725 libc_hidden_def.
16726 (mempcpy): Do not use BP_SYM in weak_alias.
16727 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
16728 "bp-asm.h".
16729 (strchr): Do not use BP_SYM.
16730 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
16731 "bp-asm.h".
16732 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
16733 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
16734 (_start): Do not use BP_SYM.
16735 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
16736 "bp-asm.h".
16737 (strcat): Do not use BP_SYM.
16738 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
16739 "bp-asm.h".
16740 (STRCMP): Do not use BP_SYM.
16741 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
16742 "bp-asm.h".
16743 (STRCPY): Do not use BP_SYM.
16744 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
16745 "bp-asm.h".
16746 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
16747 "bp-asm.h".
16748 (FUNCTION): Do not use BP_SYM.
16749 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
16750 weak_alias.
16751 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
16752
f238fd19
AJ
167532013-02-17 Andreas Jaeger <aj@suse.de>
16754
16755 * time/Versions: Sort entries.
16756 * string/Versions: Likewise.
16757 * resolv/Versions: Likewise.
16758 * posix/Versions: Likewise.
16759 * iconv/Versions: Likewise.
16760 * elf/Versions: Likewise.
16761 * wcsmbs/Versions: Likewise.
16762
bd07f23c 167632013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 16764
22af19f9
SP
16765 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
16766 loop termination condition.
16767
4709fe76
SP
16768 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
16769 variable to calculate EZ.
16770 (__sqr): Likewise.
2d0e0f29
SP
16771
16772 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
16773 the lower precision input.
16774
daaa7713
JM
167752013-02-15 Joseph Myers <joseph@codesourcery.com>
16776
16777 [BZ #13550]
16778 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
16779 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
16780 (run-via-rtld-prefix): Do not handle %-bp tests.
16781 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
16782 (all-object-suffixes): Remove .ob.
16783 (bppfx): Remove variable.
16784 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
16785 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
16786 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
16787 [$(build-bounded) = yes] (libtype.ob): Likewise.
16788 * Makerules (elide-routines.ob): Remove variable.
16789 (do-tests-clean): Do not handle *-bp.out.
16790 (common-mostlyclean): Do not handle *-bp and *-bp.out.
16791 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
16792 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
16793 (tests): Do not include $(tests-bp.out).
16794 (xtests): Do not include $(xtests-bp.out).
16795 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
16796 [$(build-bounded) = yes] ($(addprefix
16797 $(objpfx),$(binaries-bounded))): Remove rule.
16798 ($(objpfx)%-bp.out): Remove rule.
16799 * config.make.in (build-bounded): Remove variable.
16800 * crypt/Makefile [$(build-bounded) = yes]
16801 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
16802 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
16803 append to variable.
16804 [$(build-bounded) = yes] (install-lib): Likewise.
16805 [$(build-bounded) = yes] (generated): Likewise.
16806 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
16807 Remove rule.
16808 * intl/Makefile [$(build-bounded) = yes]
16809 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
16810 * math/Makefile [$(build-bounded) = yes]
16811 ($(tests:%=$(objpfx)%-bp): Likewise.
16812 * misc/Makefile [$(build-bounded) = yes]
16813 ($(objpfx)tst-tsearch-bp): Likewise.
16814 * nptl/Makeconfig (bounded-thread-library): Remove variable.
16815 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
16816 Remove dependency.
16817 * string/Makefile (o-objects.ob): Remove variable.
16818 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
16819 (CFLAGS-.ob): Remove variable.
16820 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
16821 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
16822 both definitions of variable.
16823 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
16824 (ASFLAGS-.ob): Remove variable.
16825
e97ed6dd
JM
168262013-02-14 Joseph Myers <joseph@codesourcery.com>
16827
2bdd4ca6
JM
16828 [BZ #13550]
16829 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
16830 Remove __BOUNDED_POINTERS__ from condition.
16831 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
16832 * string/bits/string2.h [!__NO_STRING_INLINES &&
16833 !__BOUNDED_POINTERS__]: Likewise.
16834 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
16835 Likewise.
16836 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
16837 Remove conditional code.
16838 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
16839 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
16840 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
16841 condition.
16842
e97ed6dd
JM
16843 [BZ #13550]
16844 * csu/libc-start.c: Do not include <bp-sym.h>.
16845 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
16846 * elf/dl-open.c: Do not include <bp-sym.h>.
16847 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
16848 * math/fegetenv.c: Do not include <bp-sym.h>.
16849 (fegetenv): Do not use BP_SYM in versioned symbols.
16850 * nptl/sysdeps/pthread/bits/libc-lockP.h
16851 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
16852 <bp-sym.h>.
16853 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16854 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
16855 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16856 (__pthread_mutex_destroy): Likewise.
16857 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16858 (__pthread_mutex_lock): Likewise.
16859 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16860 (__pthread_mutex_trylock): Likewise.
16861 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16862 (__pthread_mutex_unlock): Likewise.
16863 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16864 (__pthread_mutexattr_init): Likewise.
16865 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16866 (__pthread_mutexattr_destroy): Likewise.
16867 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16868 (__pthread_mutexattr_settype): Likewise.
16869 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16870 (__pthread_rwlock_init): Likewise.
16871 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16872 (__pthread_rwlock_destroy): Likewise.
16873 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16874 (__pthread_rwlock_rdlock): Likewise.
16875 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16876 (__pthread_rwlock_tryrdlock): Likewise.
16877 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16878 (__pthread_rwlock_wrlock): Likewise.
16879 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16880 (__pthread_rwlock_trywrlock): Likewise.
16881 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16882 (__pthread_rwlock_unlock): Likewise.
16883 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16884 (__pthread_key_create): Likewise.
16885 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16886 (__pthread_setspecific): Likewise.
16887 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16888 (__pthread_getspecific): Likewise.
16889 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
16890 Likewise.
16891 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16892 (_pthread_cleanup_push_defer): Likewise.
16893 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16894 (_pthread_cleanup_pop_restore): Likewise.
16895 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16896 (pthread_setcancelstate): Likewise.
16897 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
16898 <bp-sym.h>.
16899 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
16900 (memchr): Do not use BP_SYM in weak_alias.
16901 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
16902 (fegetenv): Do not use BP_SYM in versioned symbols.
16903 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
16904 (fesetenv): Do not use BP_SYM in versioned symbols.
16905 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
16906 (feupdateenv): Do not use BP_SYM in versioned symbols.
16907 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
16908 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
16909 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
16910 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
16911 (open64): Do not use BP_SYM in weak_alias.
16912 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
16913 (fegetenv): Do not use BP_SYM in versioned symbols.
16914 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
16915 (fesetenv): Do not use BP_SYM in versioned symbols.
16916 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
16917 (feupdateenv): Do not use BP_SYM in versioned symbols.
16918 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
16919 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
16920 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
16921 (feraiseexcept): Do not use BP_SYM in versioned symbols.
16922 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
16923 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
16924 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
16925 <bp-sym.h>.
16926 (__libc_start_main): Do not use BP_SYM.
16927
d6752ccd
SP
169282013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
16929
cb57ce60
SP
16930 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
16931 redundant return line.
16932 (norm): Likewise.
16933 (denorm): Likewise.
16934 (dbl_mp): Likewise.
16935 (sub_magnitudes): Likewise.
16936 (__add): Likewise.
16937 (__sub): Likewise.
16938 (__mul): Likewise.
16939 (__inv): Likewise.
16940 (__dvd): Likewise.
16941 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
16942 (norm): Likewise.
16943 (denorm): Likewise.
16944 (dbl_mp): Likewise.
16945 (sub_magnitudes): Likewise.
16946 (__add): Likewise.
16947 (__sub): Likewise.
16948 (__mul): Likewise.
16949 (__inv): Likewise.
16950 (__dvd): Likewise.
16951
f414520d
SP
16952 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
16953 instead of __mul.
16954 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
16955 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
16956 (cc32): Likewise.
16957
d6752ccd
SP
16958 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
16959 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
16960 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
16961 of __mul for squares.
16962 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
16963 function
16964 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
16965 Likewise.
16966 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
16967 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
16968
70d9946a
JM
169692013-02-13 Joseph Myers <joseph@codesourcery.com>
16970
16971 [BZ #13550]
16972 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
16973 code.
16974 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
16975 prototype or function definition. Rename ubp_* variables and
16976 parameters. Remove argv definitions conditional on
16977 [__BOUNDED_POINTERS__].
16978 * debug/backtrace.c (__backtrace): Do not use __unbounded.
16979 * elf/dl-runtime.c (_dl_fixup): Likewise.
16980 * include/set-hooks.h (RUN_HOOK): Likewise.
16981 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
16982 definition.
16983 * string/strcpy.c (strcpy): Do not use __unbounded.
16984 * sysdeps/generic/frame.h (struct layout): Likewise.
16985 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
16986 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
16987 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
16988 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
16989 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
16990 (__backtrace): Likewise.
16991 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
16992 use __ptrvalue.
16993 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
16994 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
16995 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
16996 Likewise.
16997 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
16998 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
16999 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
17000 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
17001 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
17002 Do not use __unbounded.
17003 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
17004 Rename __unboundedrlimits parameter to rlimits in prototype.
17005 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
17006 Do not use __unbounded.
17007 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
17008 not use __ptrvalue.
17009 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
17010 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
17011 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
17012 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
17013 __ptrvalue or __unbounded.
17014 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
17015 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
17016 use __unbounded.
17017 (__new_msgctl): Do not use __ptrvalue.
17018 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
17019 __unbounded.
17020 (__libc_msgrcv): Do not use __ptrvalue.
17021 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
17022 startup_info): Do not use __unbounded.
17023 (__libc_start_main): Likewise. Rename ubp_* variables and
17024 parameters. Remove argv definitions conditional on
17025 [__BOUNDED_POINTERS__].
17026 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
17027 __ptrvalue.
17028 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
17029 use __unbounded.
17030 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
17031 or __ptrvalue.
17032 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
17033 use __unbounded.
17034 (__new_shmctl): Do not use __ptrvalue.
17035 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
17036 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
17037 Likewise.
17038 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
17039 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
17040 (__libc_sigaction): Likewise.
17041 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
17042 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
17043 Likewise.
17044 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
17045
cc7834d6
OB
170462013-02-13 Ondřej Bílka <neleai@seznam.cz>
17047
ffb1ec7b 17048 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
17049
17050 * string/mempcpy.c: Implement by calling memcpy.
17051
bdf02814
SP
170522013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
17053
c2af38aa
SP
17054 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
17055
4e92d59e
SP
17056 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
17057 evaluation.
17058
909279a5
SP
17059 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
17060 values in the mantissa.
17061
bdf02814
SP
17062 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
17063 minimize writes to Z.
17064 (sub_magnitudes): Simplify code a bit.
17065
cd525923
RM
170662013-02-12 Roland McGrath <roland@hack.frob.com>
17067
17068 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
17069 from the message. The linker prefixes all warnings with that already.
17070
7e2f0d2d
AS
170712013-02-12 Andreas Schwab <schwab@suse.de>
17072
a445af0b
AS
17073 [BZ #15078]
17074 * posix/regexec.c (extend_buffers): Add parameter min_len.
17075 (check_matching): Pass minimum needed length.
17076 (clean_state_log_if_needed): Likewise.
17077 (get_subexp): Likewise.
17078 * posix/Makefile (tests): Add bug-regex34.
17079 (bug-regex34-ENV): Define.
17080 * posix/bug-regex34.c: New file.
17081
7e2f0d2d
AS
17082 [BZ #11561]
17083 * posix/regcomp.c (parse_bracket_exp): When looking up collating
17084 elements compare against the byte sequence of it, not its name.
17085 * posix/Makefile (tests): Add bug-regex35.
17086 (bug-regex35-ENV): Define.
17087 * posix/bug-regex35.c: New file.
17088
a175b684
TV
170892013-02-11 Tom de Vries <tom@codesourcery.com>
17090
17091 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
17092 comment.
17093 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
17094 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
17095 (CHECK_EOL): Add undef.
17096
310998fe 170972013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
17098
17099 * bits/stdlib-bsearch.h: New file.
17100 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 17101 * stdlib/stdlib.h: Likewise.
41eda41d 17102
8ded91fb
RM
171032013-02-11 Roland McGrath <roland@hack.frob.com>
17104
17105 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
17106 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
17107 declaration.
17108 * manual/search.texi (Array Search Function): Add missing const in
17109 lfind prototype.
17110 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
17111 declaration to use rlim_t.
17112 (Basic Scheduling Functions): Remove erroneous const from
17113 sched_getparam prototype. Remove erroneous * from
17114 sched_get_priority_max and sched_get_priority_min prototypes.
17115 (Resource Usage): Fix summary @comment on vtimes to refer to
17116 sys/vtimes.h rather than vtimes.h.
17117 Add missing *s in vtimes prototype.
17118 (Limits on Resources): Fix ulimit prototype to return long int.
17119 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
17120 prototypes to use long int rather than double.
17121 (BSD Random): Fix initstate and setstate to use char *, not void *.
17122 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
17123 prototype to make second argument 'struct aiocb64 *const[]'.
17124 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
17125 (Status of AIO Operations): Remove erroneous const in aio_return and
17126 aio_return64 prototypes.
17127 (Synchronizing I/O): Fix sync prototype to return void.
17128 * manual/startup.texi (Suboptions): Remove an erroneous const in
17129 getsubopt prototype.
17130 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
17131 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
17132 use size_t rather than int.
17133 (Scanning All Users): Likewise for getpwent_r.
17134 (Setting Groups): Add missing const to setgroups prototype.
17135 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
17136 * manual/socket.texi (Host Names): Fix gethostbyaddr and
17137 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
17138 'const void *' rather than 'const char *'.
17139 (Host Address Functions): Likewise for inet_ntop.
17140 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
17141 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
17142 ssize_t for return value.
17143 (Sending Data): Likewise for send, sendto, sendmsg.
17144 (Socket Option Functions): Add a missing const in setsockopt prototype.
17145 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
17146 use wchar_t for the argument.
17147 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
17148 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
17149 take no arguments.
17150 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
17151 double/float/long double for second argument.
17152 Fix return types of significand, significandf, significandl.
17153 * manual/filesys.texi (Setting Permissions): Use mode_t for second
17154 argument in fchmod prototype.
17155 (File Owner): Use uid_t and gid_t in fchown prototype.
17156 (File Times): Add const to utimes, futimes, and lutimes prototypes.
17157 (Making Special Files): Use mode_t and dev_t in mknod prototype.
17158 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
17159 use 'const struct dirent **' as argument types to CMP function pointer
17160 argument.
17161 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
17162 (File Times): Fix summary magic @comment for struct utimbuf and utime
17163 to refer to utime.h, not time.h.
17164 * manual/string.texi (Argz Functions): Add missing const in
17165 argz_extract and argz_next prototypes.
17166 (Finding Tokens in a String): Likewise for basename.
17167 (String/Array Comparison): Fix typo in wcscasecmp prototype.
17168 (Copying and Concatenation): Fix typo in wmemmove prototype.
17169 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
17170 (Signal Stack): Remove erroneous const in sigstack prototype.
17171 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
17172 prototype.
17173 (Simple Calendar Time): Likewise for stime.
17174 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
17175 prototype.
17176 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
17177 say sys/sysctl.h instead.
17178 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
17179 and vsyslog prototypes.
17180
fe77fe6d
TV
171812013-02-11 Tom de Vries <tom@codesourcery.com>
17182
17183 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
17184 Remove.
17185
3a09b620
RM
171862013-02-11 Roland McGrath <roland@hack.frob.com>
17187
17188 * misc/sys/mman.h: Fix typo in mremap comment.
17189
550a0b89
RM
171902013-02-08 Roland McGrath <roland@hack.frob.com>
17191
17192 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
17193 the '\0' terminator.
17194
a2da1673
JM
171952013-02-08 Joseph Myers <joseph@codesourcery.com>
17196
17197 [BZ #13550]
17198 * debug/segfault.c: Don't include <bp-checks.h>.
17199 * sysdeps/generic/bp-checks.h: Remove file.
17200 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
17201 (__GETDENTS): Don't use CHECK_N.
17202 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
17203 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
17204 (__getgroups): Don't use CHECK_N.
17205 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
17206 (setgroups): Don't use CHECK_N.
17207 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
17208 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
17209 (__libc_msgrcv): Don't use CHECK_N.
17210 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
17211 (__libc_msgsnd): Don't use CHECK_N.
17212 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
17213 <bp-checks.h>.
17214 (__libc_pread): Don't use CHECK_N.
17215 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
17216 include <bp-checks.h>.
17217 (__libc_pread64): Don't use CHECK_N.
17218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
17219 include <bp-checks.h>.
17220 (__libc_pwrite): Don't use CHECK_N.
17221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
17222 include <bp-checks.h>.
17223 (__libc_pwrite64): Don't use CHECK_N.
17224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
17225 <bp-checks.h>.
17226 (__libc_pread): Don't use CHECK_N.
17227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
17228 include <bp-checks.h>.
17229 (__libc_pread64): Don't use CHECK_N.
17230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
17231 include <bp-checks.h>.
17232 (__libc_pwrite): Don't use CHECK_N.
17233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
17234 include <bp-checks.h>.
17235 (__libc_pwrite64): Don't use CHECK_N.
17236 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
17237 (do_pread): Don't use CHECK_N.
17238 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
17239 (do_pread64): Don't use CHECK_N.
17240 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
17241 (do_pwrite): Don't use CHECK_N.
17242 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
17243 (do_pwrite64): Don't use CHECK_N.
17244 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
17245 (__libc_readv): Don't use CHECK_N.
17246 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
17247 (semop): Don't use CHECK_N.
17248 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
17249 <bp-checks.h>.
17250 (semtimedop): Don't use CHECK_N.
17251 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
17252 (__libc_pread): Don't use CHECK_N.
17253 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
17254 <bp-checks.h>.
17255 (__libc_pread64): Don't use CHECK_N.
17256 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
17257 <bp-checks.h>.
17258 (__libc_pwrite): Don't use CHECK_N.
17259 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
17260 <bp-checks.h>.
17261 (__libc_pwrite64): Don't use CHECK_N.
17262 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
17263 <bp-checks.h>.
17264 (__libc_msgrcv): Don't use CHECK_N.
17265 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
17266 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
17267 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
17268 (__libc_writev): Don't use CHECK_N.
17269
b84660a8
RM
172702013-02-08 Roland McGrath <roland@hack.frob.com>
17271
7f3e75f8
RM
17272 * string/strcpy.c: Removed unused variable.
17273
b84660a8
RM
17274 * Makeconfig (+sysdep-includes): Define with := rather than =.
17275 Use an existing include/ subdir of each sysdeps dir before it.
17276
471514d3
CD
172772013-02-08 Carlos O'Donell <carlos@redhat.com>
17278
17279 * nscd/connection.c (register_traced_file): Comment function.
17280 [HAVE_INOTIFY] (union __inev): Define.
17281 [HAVE_INOTIFY] (inotify_check_files): New function.
17282 [HAVE_INOTIFY] (clear_db_cache): Likewise.
17283 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
17284 clear_db_cache.
17285 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
17286
b2d3c3be
CD
172872013-02-08 Carlos O'Donell <carlos@redhat.com>
17288
17289 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
17290 loaded if not already and that a failure is permanent.
17291
b39949d2
CD
172922013-02-08 Carlos O'Donell <carlos@redhat.com>
17293
ddacd1db 17294 [BZ #15006]
b39949d2
CD
17295 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
17296 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
17297
b2c9eff4
JM
172982013-02-08 Joseph Myers <joseph@codesourcery.com>
17299
f3aae3f3
JM
17300 [BZ #13550]
17301 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
17302 (CHECK_1_NULL_OK): Likewise.
17303 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
17304 (__fxstat): Do not use CHECK_1.
17305 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
17306 <bp-checks.h>.
17307 (___fxstat64): Do not use CHECK_1.
17308 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
17309 <bp-checks.h>.
17310 (__fxstatat): Do not use CHECK_1.
17311 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
17312 <bp-checks.h>.
17313 (__fxstatat64): Do not use CHECK_1.
17314 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
17315 <bp-checks.h>.
17316 (__fxstat): Do not use CHECK_1.
17317 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
17318 <bp-checks.h>.
17319 (__fxstatat): Do not use CHECK_1.
17320 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
17321 <bp-checks.h>.
17322 (__getresgid): Do not use CHECK_1.
17323 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
17324 <bp-checks.h>.
17325 (__getresuid): Do not use CHECK_1.
17326 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
17327 <bp-checks.h>.
17328 (__lxstat): Do not use CHECK_1.
17329 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
17330 <bp-checks.h>.
17331 (__old_msgctl): Do not use CHECK_1.
17332 (__new_msgctl): Likewise.
17333 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
17334 <bp-checks.h>.
17335 (__new_setrlimit): Do not use CHECK_1.
17336 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
17337 <bp-checks.h>.
17338 (__old_shmctl): Do not use CHECK_1.
17339 (__new_shmctl): Likewise.
17340 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
17341 <bp-checks.h>.
17342 (__xstat): Do not use CHECK_1.
17343 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
17344 (__lxstat): Do not use CHECK_1.
17345 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
17346 <bp-checks.h>.
17347 (___lxstat64): Do not use CHECK_1.
17348 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
17349 (__old_msgctl): Do not use CHECK_1.
17350 (__new_msgctl): Likewise.
17351 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
17352 <bp-checks.h>.
17353 (__gettimeofday): Do not use CHECK_1.
17354 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
17355 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
17356 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
17357 <bp-checks.h>.
17358 (__gettimeofday): Do not use CHECK_1.
17359 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
17360 (__old_shmctl): Do not use CHECK_1_NULL_OK.
17361 (__new_shmctl): Do not use CHECK_1.
17362 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
17363 <bp-checks.h>.
17364 (do_sigtimedwait): Do not use CHECK_1.
17365 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
17366 <bp-checks.h>.
17367 (do_sigwaitinfo): Do not use CHECK_1.
17368 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
17369 <bp-checks.h>.
17370 (msgctl): Do not use CHECK_1.
17371 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
17372 <bp-checks.h>.
17373 (shmctl): Do not use CHECK_1.
17374 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
17375 (ustat): Do not use CHECK_1.
17376 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
17377 <bp-checks.h>.
17378 (__fxstat): Do not use CHECK_1.
17379 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
17380 <bp-checks.h>.
17381 (__fxstatat): Do not use CHECK_1.
17382 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
17383 <bp-checks.h>.
17384 (__lxstat): Do not use CHECK_1.
17385 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
17386 <bp-checks.h>.
17387 (__xstat): Do not use CHECK_1.
17388 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
17389 (__xstat): Do not use CHECK_1.
17390 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
17391 (___xstat64): Do not use CHECK_1.
17392
b2c9eff4
JM
17393 [BZ #13550]
17394 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
17395 definitions.
17396 (CHECK_BOUNDS_HIGH): Likewise.
17397 * string/strcpy.c: Do not include <bp-checks.h>.
17398 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
17399
f1d70dad
RM
174002013-02-07 Roland McGrath <roland@hack.frob.com>
17401
17402 * nscd/nscd-client.h (__nscd_drop_map_ref):
17403 Add __attribute__ ((unused)).
17404 * nis/nss-nisplus.h (niserr2nss): Likewise.
17405
17406 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
17407 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
17408
17409 * csu/libc-tls.c (init_static_tls, init_slotinfo):
17410 Remove inline keyword.
17411 * include/rounding-mode.h (round_away): Likewise.
17412 * libio/wfileops.c (adjust_wide_data): Likewise.
17413 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
17414 (__m128i_strloadu_tolower): Likewise.
17415 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
17416 (__m128i_strloadu_tolower): Likewise.
17417 * time/mktime.c (ydhms_diff): Likewise.
17418 * locale/elem-hash.h (elem_hash): Likewise.
17419 * locale/setlocale.c (setdata): Likewise.
17420 * posix/regex_internal.h (re_string_char_size_at): Likewise.
17421 (re_string_wchar_at): Likewise.
17422 (bitset_not, bitset_merge, bitset_mask): Likewise.
17423 [!(__GNUC__ > 3)] (inline): Remove macro.
17424 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
17425 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
17426 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
17427 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
17428 * string/memcmp.c (memcmp_bytes): Likewise.
17429 * locale/programs/locarchive.c (compute_hashval): Likewise.
17430 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
17431 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
17432 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
17433 * nss/getent.c (print_rpc, print_protocols): Likewise.
17434 (print_passwd, print_group, print_aliases): Likewise.
17435 * nis/nss-nisplus.h (niserr2nss): Likewise.
17436 * nscd/connections.c (restart_p): Likewise.
17437 Change return type to bool.
17438
eab55bfb
RM
174392013-02-05 Roland McGrath <roland@hack.frob.com>
17440
7bd642f5
RM
17441 * Makeconfig (all-Depend-files): Add existing
17442 $(sorted-subdirs:=/Depend) files.
17443 (all-subdirs): Remove nss.
17444 * sysdeps/unix/inet/Subdirs: Add it here instead.
17445 * hesiod/Depend: New file.
17446
573c29b2
RM
17447 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
17448 instead of calling alloca.
17449
b2e25af0
RM
17450 * io/lseek.c (__lseek): Rename to __libc_lseek.
17451 Define __lseek as an alias.
17452
eab55bfb
RM
17453 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
17454
9a0d1941
CD
174552013-02-04 Carlos O'Donell <carlos@redhat.com>
17456
17457 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
17458 else clause and remove check for non-standard endianness.
17459
b83bbec4
DM
174602013-02-04 David S. Miller <davem@davemloft.net>
17461
17462 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17463
6277fdab
JM
174642013-02-04 Joseph Myers <joseph@codesourcery.com>
17465
17466 [BZ #13550]
17467 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
17468 (__ubp_memchr): Remove prototype.
17469 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
17470 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
17471 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
17472 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
17473 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
17474 Remove alias.
17475 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
17476 (__ubp_memchr): Likewise.
17477 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
17478 (__ubp_memchr): Likewise.
17479 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
17480 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
17481 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
17482 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
17483 CHECK_STRING.
17484 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
17485 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
17486 (__getcwd): Do not use CHECK_STRING.
17487 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
17488 <bp-checks.h>.
17489 (__real_chown): Do not use CHECK_STRING.
17490 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
17491 <bp-checks.h>.
17492 (fchownat): Do not use CHECK_STRING.
17493 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
17494 CHECK_STRING.
17495 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
17496 <bp-checks.h>.
17497 (__lchown): Do not use CHECK_STRING.
17498 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
17499 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
17500 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
17501 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
17502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
17503 include <bp-checks.h>.
17504 (truncate64): Do not use CHECK_STRING.
17505 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
17506 <bp-checks.h>.
17507 (__real_chown): Do not use CHECK_STRING.
17508 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
17509 <bp-checks.h>.
17510 (__lchown): Do not use CHECK_STRING.
17511 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
17512 <bp-checks.h>.
17513 (__chown): Do not use CHECK_STRING.
17514 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
17515 <bp-checks.h>.
17516 (truncate64): Do not use CHECK_STRING.
17517 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
17518 Likewise.
17519 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
17520 (__xmknod): Do not use CHECK_STRING.
17521 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
17522 <bp-checks.h>.
17523 (__xmknodat): Do not use CHECK_STRING.
17524 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
17525 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
17526
903ae060
AS
175272013-02-04 Andreas Schwab <schwab@suse.de>
17528
17529 [BZ #14142]
17530 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
17531 * include/netdb.h: Likewise for h_errno.
17532 * elf/tst-stackguard1.c: Include <tls.h>.
17533
542f9466
JK
175342013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
17535
17536 * elf/link.h (struct link_map): Extend the l_addr comment.
17537 * include/link.h (struct link_map): Likewise.
17538
e782a927
JM
175392013-02-01 Joseph Myers <joseph@codesourcery.com>
17540
17541 [BZ #13550]
17542 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
17543 (BOUNDED_1): Remove macro.
17544 * debug/backtrace.c: Don't include <bp-checks.h>.
17545 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
17546 (__backtrace): Likewise.
17547 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
17548 <bp-checks.h>.
17549 (__backtrace): Don't use BOUNDED_1.
17550 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
17551 <bp-checks.h>.
17552 (__backtrace): Don't use BOUNDED_1.
17553 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
17554 (__backtrace): Don't use BOUNDED_1.
17555 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
17556 (shmat): Don't use BOUNDED_N.
17557
8cf28c5e
JM
175582013-01-31 Joseph Myers <joseph@codesourcery.com>
17559
3a7ac8a0
JM
17560 [BZ #13550]
17561 * sysdeps/generic/bp-start.h: Remove file.
17562 * csu/libc-start.c: Don't include <bp-start.h>.
17563 (LIBC_START_MAIN): Set up __environ directly instead of using
17564 INIT_ARGV_and_ENVIRON.
17565 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
17566 <bp-start.h>.
17567
f3499f95
JM
17568 [BZ #13550]
17569 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
17570 definitions.
17571 (CHECK_FCNTL): Likewise.
17572 (CHECK_N_PAGES): Likewise.
17573
32a45bea
JM
17574 [BZ #13550]
17575 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
17576 definitions.
17577 (CHECK_SIGSET_NULL_OK): Likewise.
17578 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
17579 <bp-checks.h>.
17580 (sigpending): Don't use CHECK_SIGSET.
17581 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
17582 <bp-checks.h>.
17583 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
17584 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
17585 <bp-checks.h>.
17586 (do_sigsuspend): Don't use CHECK_SIGSET.
17587 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
17588 use CHECK_SIGSET.
17589 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
17590 (do_sigwait): Don't use CHECK_SIGSET.
17591 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
17592 use CHECK_SIGSET.
17593 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
17594 include <bp-checks.h>.
17595 (sigpending): Don't use CHECK_SIGSET.
17596 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
17597 include <bp-checks.h>.
17598 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
17599 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
17600 <bp-checks.h>.
17601 (sigpending): Don't use CHECK_SIGSET.
17602 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
17603 <bp-checks.h>.
17604 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
17605
2e8a5c8c
JM
17606 [BZ #13550]
17607 * sysdeps/generic/bp-semctl.h: Remove file.
17608 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
17609 <bp-checks.h> and <bp-semctl.h>.
17610 (__old_semctl): Don't use CHECK_SEMCTL.
17611 (__new_semctl): Likewise.
17612 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
17613 and <bp-semctl.h>.
17614 (__old_semctl): Don't use CHECK_SEMCTL.
17615 (__new_semctl): Likewise.
17616 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
17617 <bp-checks.h> and <bp-semctl.h>.
17618 (__old_semctl): Don't use CHECK_SEMCTL.
17619 (__new_semctl): Likewise.
17620 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
17621 <bp-checks.h> and <bp-semctl.h>.
17622 (semctl): Don't use CHECK_SEMCTL.
17623
c2d54929
JM
17624 [BZ #13550]
17625 * Makerules (elide-bp-thunks): Remove variable.
17626 (elide-routines.oS): Don't use $(elide-bp-thunks).
17627 (elide-routines.os): Likewise.
17628 (elide-routines.o): Likewise.
17629 (elide-routines.op): Likewise.
17630 (elide-routines.og): Likewise.
17631 (objects): Don't use $(bp-thunks).
17632 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
17633 include.
17634 (common-generated): Do not add s-proto-bp.d.
17635 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
17636 (int): Likewise.
17637 (typ): Likewise.
17638 Do not generate makefile rules for bounded-pointer thunks.
17639 * sysdeps/generic/bp-thunks.h: Remove file.
17640 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
17641 * sysdeps/unix/s-proto-bp.S: Likewise.
17642
8cf28c5e
JM
17643 [BZ #15062]
17644 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
17645 parts of result separately when argument is not close to line from
17646 -i to i and one part of argument is small.
17647 * math/k_casinhf.c (__kernel_casinhf): Likewise.
17648 * math/k_casinhl.c (__kernel_casinhl): Likewise.
17649 * math/libm-test.inc (cacos_test): Add more tests.
17650 (casin_test): Likewise.
17651 (casinh_test): Likewise.
17652 * sysdeps/i386/fpu/libm-test-ulps: Update.
17653 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17654
c4e33b8d
DM
176552013-01-31 David S. Miller <davem@davemloft.net>
17656
17657 * po/de.po: Update from translation team.
17658
3b60b421
MK
176592013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
17660
17661 * time/tzfile.c: Include stdint.h for SIZE_MAX.
17662
bb931195
TS
176632013-01-25 Thomas Schwinge <thomas@codesourcery.com>
17664
b5a5da23
TS
17665 * configure.in (_AC_PROG_CC_C89): New definition.
17666 * configure: Regenerate.
17667
bb931195
TS
17668 * configure.in (AC_PROG_CPP): New definition.
17669 * configure: Regenerate.
17670
8c53a12c
JM
176712013-01-23 Joseph Myers <joseph@codesourcery.com>
17672
17673 * debug/tst-backtrace.h: New file.
17674 * debug/tst-backtrace2.c: Include tst-backtrace.h.
17675 (ret): Remove variable.
17676 (x): Likewise.
17677 (FAIL): Remove macro.
17678 (NO_INLINE): Likewise.
17679 (fn1): Use match function instead of strstr.
17680 * debug/tst-backtrace3.c: Include tst-backtrace.h.
17681 (ret): Remove variable.
17682 (x): Likewise.
17683 (FAIL): Remove macro.
17684 (NO_INLINE): Likewise.
17685 (fn): Use match function instead of strstr.
17686 * debug/tst-backtrace4.c: Include tst-backtrace.h.
17687 (ret): Remove variable.
17688 (x): Likewise.
17689 (FAIL): Remove macro.
17690 (NO_INLINE): Likewise.
17691 (handle_signal): Use match function instead of strstr.
17692 * debug/tst-backtrace5.c: Include tst-backtrace.h.
17693 (ret): Remove variable.
17694 (x): Likewise.
17695 (FAIL): Remove macro.
17696 (NO_INLINE): Likewise.
17697 (handle_signal): Use match function instead of strstr.
17698
4858fa2a
RM
176992013-01-23 Roland McGrath <roland@hack.frob.com>
17700
17701 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
17702
bae8e7f5
DM
177032013-01-23 David S. Miller <davem@davemloft.net>
17704
17705 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
17706 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
17707 argument of CAS if possible.
17708 * sysdeps/sparc/sparc64/bits/atomic.h
17709 (__arch_compare_and_exchange_val_32_acq): Likewise.
17710 (__arch_compare_and_exchange_val_64_acq): Likewise.
17711
9cbbc4ae
PT
177122013-01-23 Pino Toscano <toscano.pino@tiscali.it>
17713
17714 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
17715 * sysdeps/posix/ulimit.c: ... this.
92a601b8 17716 Include <limits.h>.
67b3f58c 17717 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 17718
5655a0b5
AC
177192013-01-23 Adam Conrad <adconrad@0c3.net>
17720
17721 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
17722 (LDFLAGS-tst-array5): Likewise.
17723
052aff95
JM
177242013-01-23 Joseph Myers <joseph@codesourcery.com>
17725
17726 [BZ #15036]
17727 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
17728 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
17729 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
17730 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
17731
7c1e01aa
DM
177322013-01-21 David S. Miller <davem@davemloft.net>
17733
17734 * sysdeps/sparc/backtrace.c: New file.
17735 * sysdeps/sparc/sparc32/backtrace.h: New file.
17736 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
17737 * sysdeps/sparc/sparc64/backtrace.h: New file.
17738 * sysdeps/sparc/sparc64/backtrace.c: Delete.
17739 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
17740 -funwind-tables.
17741
ab087e0a
AS
177422013-01-21 Andreas Schwab <schwab@suse.de>
17743
17744 [BZ #15020]
17745 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
17746 closed its stdout.
17747
ed689c2f
AS
177482013-01-20 Andreas Schwab <schwab@linux-m68k.org>
17749
17750 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
17751 "mpa2.h".
17752 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
17753
31d470ac
JM
177542013-01-18 Joseph Myers <joseph@codesourcery.com>
17755 Mark Mitchell <mark@codesourcery.com>
17756 Tom de Vries <tom@codesourcery.com>
17757 Paul Pluzhnikov <ppluzhnikov@google.com>
17758
17759 * debug/tst-backtrace2.c: New file.
17760 * debug/tst-backtrace3.c: Likewise.
17761 * debug/tst-backtrace4.c: Likewise.
17762 * debug/tst-backtrace5.c: Likewise.
17763 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
17764 (CFLAGS-tst-backtrace3.c): Likewise.
17765 (CFLAGS-tst-backtrace4.c): Likewise.
17766 (CFLAGS-tst-backtrace5.c): Likewise.
17767 (LDFLAGS-tst-backtrace2): Likewise.
17768 (LDFLAGS-tst-backtrace3): Likewise.
17769 (LDFLAGS-tst-backtrace4): Likewise.
17770 (LDFLAGS-tst-backtrace5): Likewise.
17771 (tests): Add new tests tst-backtrace2, tst-backtrace3,
17772 tst-backtrace4 and tst-backtrace5.
17773
90567f30 177742013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
17775 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17776
17777 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
17778 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
17779 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
17780 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
17781 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
17782 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
17783 "+r" and remove output regs list as redundant. Add explicit inline
17784 asm to specify register of return val to work around compiler codegen
17785 bug. Remove (int) cast on return value. Add return type parameter to
17786 use in macro so that this macro does not truncate return value for
17787 64-bit values.
17788 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
17789 pass to INTERNAL_VSYSCALL_NCS.
17790 (INLINE_VSYSCALL): Add 'long int' as return type to
17791 INTERNAL_VSYSCALL_NCS macro invocation.
17792 (INTERNAL_VSYSCALL): Add 'long int' as return type to
17793 INTERNAL_VSYSCALL_NCS macro invocation.
17794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
17795
d3b9ea61
SP
177962013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
17797
0b57daeb
SP
17798 [BZ #14496]
17799 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
17800 Fix application of SIMD FP exception mask.
17801
caa99d06
SP
17802 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
17803 mp_no from a power of two.
17804 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
17805 __mpexp_twomm1. Use __pow_mp.
17806
d3b9ea61
SP
17807 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
17808 multiplication.
17809
1dbaee3c
DM
178102013-01-17 David S. Miller <davem@davemloft.net>
17811
17812 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17813
728d7b43
JM
178142013-01-17 Joseph Myers <joseph@codesourcery.com>
17815
17816 [BZ #15023]
17817 * include/complex.h: Condition contents on [!_COMPLEX_H].
17818 (__kernel_casinhf): New prototype.
17819 (__kernel_casinh): Likewise.
17820 (__kernel_casinhl): Likewise.
17821 * math/Makefile (libm_calls): Add k_casinh.
17822 * math/k_casinh.c: New file.
17823 * math/k_casinhf.c: Likewise.
17824 * math/k_casinhl.c: Likewise.
17825 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
17826 finite nonzero arguments.
17827 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
17828 finite nonzero arguments.
17829 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
17830 finite nonzero arguments.
17831 * math/s_casinh.c: Do not include <float.h>.
17832 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
17833 * math/s_casinhf.c: Do not include <float.h>.
17834 (__casinhf): Move code for finite nonzero arguments to
17835 k_casinhf.c.
17836 * math/s_casinhl.c: Do not include <float.h>.
17837 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
17838 redefine.
17839 (__casinhl): Move code for finite nonzero arguments to
17840 k_casinhl.c.
17841 * math/libm-test.inc (cacos_test): Add more tests.
17842 * sysdeps/i386/fpu/libm-test-ulps: Update.
17843 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17844
2a26ef3a
PT
178452013-01-17 Pino Toscano <toscano.pino@tiscali.it>
17846
17847 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
17848 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
17849 [!HAVE_MREMAP]: Remove [defined linux] case.
17850 * malloc/arena.c: Do not include <malloc-sysdep.h>.
17851
a897655d
SP
178522013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
17853
17854 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
17855
881ebe89 178562013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
17857
17858 * elf/elf.h (R_386_SIZE32): New relocation.
17859 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
17860 R_386_SIZE32.
17861 (elf_machine_rela): Likewise.
17862 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
17863 R_X86_64_SIZE64 and R_X86_64_SIZE32.
17864
59981e9b
JM
178652013-01-17 Joseph Myers <joseph@codesourcery.com>
17866
17867 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
17868 (FP_FAST_FMA): Do not define.
17869 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
17870 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
17871 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
17872 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
17873 !_SOFT_FLOAT]: Likewise.
17874 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
17875 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
17876 value.
17877 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
17878 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
17879 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
17880 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
17881 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
17882 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
17883 file.
17884
cfa8054f
AS
178852013-01-16 Andreas Schwab <schwab@suse.de>
17886
17887 [BZ #14327]
17888 * include/stdlib.h (__mktemp): Add declaration.
17889 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
17890 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
17891
dd930cc5
SP
178922013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
17893
881ebe89
SP
17894 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
17895 definitions.
17896 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
17897 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
17898 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
17899 definitions here.
17900 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
17901 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
17902 definitions.
17903 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
17904 and ONE.
17905 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
17906 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
17907 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
17908 definitions.
17909 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
17910 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
17911 definitions.
17912 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 17913
dd930cc5
SP
17914 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
17915
c19a9f89
DM
179162013-01-15 David S. Miller <davem@davemloft.net>
17917
1aa61767
DM
17918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
17919 trunc{,f} to libm-sysdep_routes.
17920 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
17921 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
17922 file.
17923 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
17924 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
17925 file.
17926 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
17927 file.
17928 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
17929 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
17930 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
17931 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
17932 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
17933 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
17934 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
17935 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
17936
c42d5e98
DM
17937 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
17938 nearbyint{,f} to libm-sysdep_routes.
17939 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
17940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
17941 New file.
17942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
17943 file.
17944 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
17945 New file.
17946 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
17947 file.
17948 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
17949 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
17950 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
17951 file.
17952 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
17953 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
17954 file.
17955 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
17956 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
17957 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
17958
c19a9f89
DM
17959 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
17960 libc_feholdexcept and libc_fesetenv.
17961
357679d2
MF
179622013-01-15 Mike Frysinger <vapier@gentoo.org>
17963
17964 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
17965
65a82e3d
DM
179662013-01-14 David S. Miller <davem@davemloft.net>
17967
8b954ab9
DM
17968 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
17969 (SPARC_ASM_VIS2_IFUNC): Likewise.
17970 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
17971 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
17972 use of 'siam' instruction.
17973 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
17974 Likewise.
17975 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
17976 Likewise.
17977 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
17978 Likewise.
17979 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
17980 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
17981 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
17982 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
17983 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
17984 file.
17985 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
17986 file.
17987 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
17988 file.
17989 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
17990 file.
17991 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
17992 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
17993 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
17994 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
17995 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
17996 new VIS2 routines.
17997 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
17998 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
17999 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
18000 Likewise.
18001 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
18002 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
18003 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
18004 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
18005 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
18006 routines to libm-sysdep_routines.
18007 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
18008
65a82e3d
DM
18009 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
18010 fdim/fdimf to libm-sysdep_routines.
18011 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
18012 file.
18013 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
18014 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
18015 file.
18016 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
18017 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
18018 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
18019 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
18020 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
18021 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
18022 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
18023
e34ab705
SP
180242013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
18025
2a91b573
SP
18026 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
18027 to optimize copies.
18028
1066a534
SP
18029 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
18030 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
18031 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18032
e34ab705
SP
18033 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
18034 local variable MPTWO.
18035 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
18036 Likewise.
18037
aba5e596
MF
180382013-01-13 Mike Frysinger <vapier@gentoo.org>
18039
18040 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
18041 GLOB_NOESCAPE.
18042
e557e9e5
MF
180432013-01-13 Mike Frysinger <vapier@gentoo.org>
18044
18045 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
18046
0428cec9
MF
180472013-01-13 Mike Frysinger <vapier@gentoo.org>
18048
18049 * manual/pattern.texi (glob_t): Document gl_flags.
18050 (glob64_t): Likewise.
18051
8794a964
DM
180522013-01-11 David S. Miller <davem@davemloft.net>
18053
66438c3f
RM
18054 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
18055 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
18056 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
18057 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
18058 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
18059 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
18060 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
18061 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
18062 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
18063 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
18064 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
18065 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
18066 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
18067
4ae4244d
DM
18068 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
18069 sparc V9 rather than using V8 code.
18070 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
18071 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
18072
8794a964
DM
18073 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
18074 Move to...
18075 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
18076 Here.
18077
6270516e
RM
180782013-01-11 Roland McGrath <roland@hack.frob.com>
18079
18080 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
18081 not in the main loop.
18082 * configure: Regenerated.
18083
6a57d931
JM
180842013-01-11 Joseph Myers <joseph@codesourcery.com>
18085
18086 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
18087 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
18088 to just #else.
18089 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
18090 [!__GLIBC_HAVE_LONG_LONG] case.
18091 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
18092 condition to just #else.
18093 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
18094 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
18095 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
18096 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
18097 unconditional.
18098 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
18099 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
18100 #elif condition to just #else.
18101 * sysdeps/unix/sysv/linux/sys/sysmacros.h
18102 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
18103 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
18104 #elif condition to just #else.
18105
0e8529e9
SE
181062013-01-11 Steve Ellcey <sellcey@mips.com>
18107
18108 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
18109 (EF_MIPS_ARCH_64): Fix value.
18110 (EF_MIPS_ARCH_32R2): New.
18111 (EF_MIPS_ARCH_64R2): New.
18112
740b3dbe
L
181132013-01-11 H.J. Lu <hongjiu.lu@intel.com>
18114
18115 * Makeconfig (+link-pie-before-libc): New.
18116 (+link-pie-after-libc): Likewise.
18117 (+link-pie-tests): Likewise.
18118 (+link-pie): Rewritten.
18119 (link-before-libc): Remove $(config-LDFLAGS).
18120 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
18121 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
18122 (config-LDFLAGS): Renamed to ...
18123 (rtld-LDFLAGS): This.
18124 (rtld-tests-LDFLAGS): New macro.
18125 (link-libc-rpath-link): Likewise.
18126 (link-libc-tests-rpath-link): Likewise.
18127 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
18128 (link-libc): Prepand $(link-libc-rpath-link).
18129 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
18130 (test-program-prefix): New macro.
18131 (test-via-rtld-prefix): Likewise.
18132 (test-program-cmd): Likewise.
18133 (host-test-program-cmd): Likewise.
18134 * Makefile ($(common-objpfx)testrun.sh): Replace
18135 $(run-program-prefix) with $(test-program-prefix).
18136 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
18137 $(rtld-LDFLAGS).
18138 ($(common-objpfx)shlib.lds): Likewise.
18139 (build-module-helper): Likewise.
18140 ($(common-objpfx)format.lds): Likewise.
18141 * Rules (binaries-pie-tests): New.
18142 (binaries-pie-notests): Likewise.
18143 (binaries-pie): Rewritten.
18144 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
18145 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
18146 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
18147 (make-test-out): Replace $(host-built-program-cmd) with
18148 $(host-test-program-cmd).
18149 * config.make.in (build-hardcoded-path-in-tests): New variable.
18150 * configure.in (--enable-hardcoded-path-in-tests): New configure
18151 option.
18152 (hardcoded_path_in_tests): New AC_SUBST.
18153 * configure: Regenerated.
18154 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
18155 $(built-program-cmd) with $(test-program-cmd).
18156 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
18157 (test_program_cmd): This.
18158 * elf/Makefile ($(objpfx)order.out): Run test with
18159 $(test-program-prefix).
18160 ($(objpfx)order2.out): Likewise.
18161 ($(objpfx)tst-initorder.out): Likewise.
18162 ($(objpfx)tst-initorder2.out): Likewise.
18163 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
18164 $(test-program-cmd).
18165 ($(objpfx)tst-array1-static.out): Likewise.
18166 ($(objpfx)tst-array2.out): Likewise.
18167 ($(objpfx)tst-array3.out): Likewise.
18168 ($(objpfx)tst-array4.out): Likewise.
18169 ($(objpfx)tst-array5.out): Likewise.
18170 ($(objpfx)tst-array5-static.out): Likewise.
18171 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
18172 $(test-program-cmd).
18173 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
18174 $(run-program-prefix) with $(test-program-prefix).
18175 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
18176 (test_program_prefix): This.
18177 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
18178 $(run-program-prefix) with $(test-program-prefix).
18179 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
18180 (test_program_prefix): This.
18181 * iconvdata/tst-tables.sh: Likewise.
18182 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
18183 $(run-program-prefix) with $(test-program-prefix).
18184 ($(objpfx)tst-translit.out): Likewise.
18185 ($(objpfx)tst-gettext2.out): Likewise.
18186 ($(objpfx)tst-gettext4.out): Likewise.
18187 ($(objpfx)tst-gettext6.out): Likewise.
18188 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
18189 (test_program_prefix): This.
18190 * intl/tst-gettext2.sh: Likewise.
18191 * intl/tst-gettext4.sh Likewise.
18192 * intl/tst-gettext6.sh: Likewise.
18193 * intl/tst-translit.sh: Likewise.
18194 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
18195 with $(test-program-cmd).
18196 * libio/Makefile ($(objpfx)test-freopen.out): Replace
18197 $(run-program-prefix) with $(test-program-prefix).
18198 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
18199 (test_program_prefix): This.
18200 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
18201 $(run-program-prefix) with $(test-program-prefix).
18202 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
18203 (test_program_prefix): This.
18204 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
18205 * posix/Makefile ($(objpfx)globtest.out): Replace
18206 $(run-via-rtld-prefix) and $(test-wrapper) with
18207 $(test-program-prefix) and $(test-via-rtld-prefix).
18208 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
18209 $(test-program-prefix).
18210 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
18211 $(host-test-program-cmd).
18212 (tst-spawn-ARGS): Likewise.
18213 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
18214 $(test-program-prefix).
18215 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
18216 (test_via_rtld_prefix): This.
18217 (test_wrapper): Renamed to ...
18218 (test_program_prefix): This.
18219 (run_program_prefix): Replaced by test_program_prefix.
18220 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
18221 (test_program_prefix): This.
18222 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
18223 with $(host-test-program-cmd).
18224 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
18225 $(run-program-prefix) with $(test-program-prefix).
18226 ($(objpfx)tst-printf.out): Likewise.
18227 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
18228 $(test-program-cmd).
18229 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
18230 (test_program_prefix): This.
18231 * stdio-common/tst-unbputc.sh: Likewise.
18232 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
18233 $(run-program-prefix) with $(test-program-prefix).
18234 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
18235 (test_program_prefix): This.
18236 * string/Makefile ($(objpfx)tst-svc.out): Replace
18237 $(built-program-cmd) with $(test-program-cmd).
18238
c6fe55cf
AJ
182392013-01-11 Andreas Jaeger <aj@suse.de>
18240
18241 [BZ #15003]
18242 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
18243 value. Sync with Linux 3.7.
18244
9e6919c8
DM
182452013-01-10 David S. Miller <davem@davemloft.net>
18246
18247 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
18248 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
18249 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
18250
1c9f1a02
RM
182512013-01-10 Roland McGrath <roland@hack.frob.com>
18252
18253 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
18254 never set.
18255 * configure: Regenerated.
18256
b9de2dde
DM
182572013-01-10 David S. Miller <davem@davemloft.net>
18258
18259 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
18260 sparc V9 rather than using V8 code.
18261 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
18262 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
18263
e7f68ef4
RM
182642013-01-10 Roland McGrath <roland@hack.frob.com>
18265
18266 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
18267 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
18268 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
18269 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
18270 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
18271 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
18272 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
18273 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
18274 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
18275 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
18276 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
18277 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
18278 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
18279 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
18280 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
18281 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
18282 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
18283 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
18284 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
18285 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
18286 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
18287 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
18288 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
18289 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
18290 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
18291 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
18292 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
18293
5a47cc9c
DM
182942013-01-10 David S. Miller <davem@davemloft.net>
18295
18296 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18297
4cf8f209
L
182982013-01-10 H.J. Lu <hongjiu.lu@intel.com>
18299
18300 * posix/Makefile (tests-static): New variable.
18301 (tests): Add $(tests-static).
18302 (tst-exec-static-ARGS): New variable.
18303 (tst-spawn-static-ARGS): Likewise.
18304 * posix/tst-exec-static.c: New file.
18305 * posix/tst-spawn-static.c: Likewise.
18306 * posix/tst-exec.c: Support run directly.
18307 * posix/tst-spawn.c: Likewise.
18308
fed0faa1
JM
183092013-01-10 Joseph Myers <joseph@codesourcery.com>
18310
828beb13
JM
18311 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
18312 long.
18313 * math/bits/mathcalls.h (llrint): Likewise.
18314 (llround): Likewise.
18315 * stdlib/stdlib.h (struct drand48_data): Likewise.
18316 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
18317 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
18318 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
18319 Likewise.
18320 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
18321 Likewise.
18322 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
18323 (elf_greg_t): Likewise.
18324 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
18325 (__jmp_buf): Likewise.
18326 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
18327 definitions.
18328 (llrint): Likewise, for all definitions.
18329 (llrintl): Likewise.
18330
fed0faa1
JM
18331 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
18332 Remove [__GNUC__] condition.
18333 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
18334 condition to just [__USE_ISOC99].
18335 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
18336
1a20cb20
L
183372013-01-10 H.J. Lu <hongjiu.lu@intel.com>
18338
18339 [BZ #14200]
18340 * sysdeps/unix/sysv/linux/x86/bits/environments.h
18341 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
18342 defined.
18343 (_POSIX_V6_ILP32_OFF32): Likewise.
18344 (_XBS5_ILP32_OFF32): Likewise.
18345 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
18346 (__ILP32_OFFBIG_LDFLAGS): Likewise.
18347
751b85f7
SP
183482013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18349
7490eb81
SP
18350 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
18351
751b85f7
SP
18352 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
18353 doubles __mpexp_twomm1. Adjust usage.
18354 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
18355 Remove.
18356
988197f0
AS
183572013-01-10 Andreas Schwab <schwab@suse.de>
18358
18359 [BZ #14964]
18360 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
18361 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
18362
e83d7298
DM
183632013-01-09 David S. Miller <davem@davemloft.net>
18364
034ed64b 18365 [BZ #15003]
e83d7298
DM
18366 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
18367 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
18368 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
18369 TCP_FASTOPEN): Define.
18370 (tcp_repair_opt): New structure.
18371 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
18372 enum values.
18373 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
18374 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
18375 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
18376 (tcp_cookie_transactions): New structure.
18377
d5e0b9bd
AB
183782013-01-09 Anton Blanchard <anton@samba.org>
18379
18380 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
18381 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
18382 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
18383 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
18384
0c07e3ea
JM
183852013-01-09 Joseph Myers <joseph@codesourcery.com>
18386
18387 * include/features.h (__USE_ANSI): Remove.
18388
232f7002
RM
183892013-01-09 Roland McGrath <roland@hack.frob.com>
18390
ad98e30c
RM
18391 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
18392
232f7002
RM
18393 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
18394
950c99ca
SP
183952013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
18396
b5792741
SP
18397 * sysdeps/s390/fpu/libm-test-ulps: Update.
18398
47cf2278
SP
18399 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18400
950c99ca
SP
18401 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
18402 (__acr): Likewise.
18403 (__cpy): Likewise.
18404 (norm): Likewise.
18405 (denorm): Likewise.
18406 (__mp_dbl): Likewise.
18407 (__dbl_mp): Likewise.
18408 (add_magnitudes): Likewise.
18409 (sub_magnitudes): Likewise.
18410 (__add): Likewise.
18411 (__sub): Likewise.
18412 (__mul): Likewise.
18413 (__inv): Likewise.
18414 (__dvd): Likewise.
18415 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
18416 (__acr): Likewise.
18417 (__cpy): Likewise.
18418 (norm): Likewise.
18419 (denorm): Likewise.
18420 (__mp_dbl): Likewise.
18421 (__dbl_mp): Likewise.
18422 (add_magnitudes): Likewise.
18423 (sub_magnitudes): Likewise.
18424 (__add): Likewise.
18425 (__sub): Likewise.
18426 (__mul): Likewise.
18427 (__inv): Likewise.
18428 (__dvd): Likewise.
18429 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
18430 (__acr): Likewise.
18431 (__cpy): Likewise.
18432 (norm): Likewise.
18433 (denorm): Likewise.
18434 (__mp_dbl): Likewise.
18435 (__dbl_mp): Likewise.
18436 (add_magnitudes): Likewise.
18437 (sub_magnitudes): Likewise.
18438 (__add): Likewise.
18439 (__sub): Likewise.
18440 (__mul): Likewise.
18441 (__inv): Likewise.
18442 (__dvd): Likewise.
18443
eede9df9
JM
184442013-01-08 Joseph Myers <joseph@codesourcery.com>
18445
18446 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
18447 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
18448 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
18449 2 && __USE_EXTERN_INLINES]: Likewise.
18450
c40ea3d9
AJ
184512013-01-08 Andreas Jaeger <aj@suse.de>
18452
18453 [BZ# 14985]
18454 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
18455 Remove.
18456 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
18457 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
18458
2ccdea26
AB
184592013-01-07 Anton Blanchard <anton@samba.org>
18460
18461 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
18462 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
18463 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
18464 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
18465 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
18466 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
18467 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
18468 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
18469 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
18470 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
18471 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
18472 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
18473 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
18474 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18475 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
18476 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
18477 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
18478 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
18479 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
18480 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
18481 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
18482 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
18483 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
18484 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
18485 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
18486 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
18487 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
18488 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
18489 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
18490 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
18491 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
18492 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18493 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
18494 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
18495 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
18496 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
18497 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
18498 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
18499 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
18500 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
18501 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
18502 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
18503 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
18504
a9708fed
JM
185052013-01-07 Joseph Myers <joseph@codesourcery.com>
18506
375607b9
JM
18507 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
18508 (__MALLOC_PMT): Likewise.
18509 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
18510 [__GNUC__], only on [_LIBC].
18511 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
18512 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
18513 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
18514 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
18515 forward declaration.
18516 (realloc_hook_ini): Likewise.
18517 (memalign_hook_ini): Likewise.
18518 (__libc_memalign): Do not use __MALLOC_PMT in variable
18519 declaration.
18520 (__libc_valloc): Likewise.
18521 (__libc_pvalloc): Likewise.
18522 (__libc_calloc): Likewise.
18523 (__posix_memalign): Likewise.
18524
a9708fed
JM
18525 [BZ #14996]
18526 * math/s_casinh.c: Include <float.h>.
18527 (__casinh): Do not do computation with squaring and square root
18528 for large arguments.
18529 * math/s_casinhf.c: Include <float.h>.
18530 (__casinhf): Do not do computation with squaring and square root
18531 for large arguments.
18532 * math/s_casinhl.c: Include <float.h>.
18533 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
18534 (__casinhl): Do not do computation with squaring and square root
18535 for large arguments.
18536 * math/libm-test.inc (casin_test): Add more tests.
18537 (casinh_test): Likewise.
18538 * sysdeps/i386/fpu/libm-test-ulps: Update.
18539 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18540
afec409a
L
185412013-01-04 H.J. Lu <hongjiu.lu@intel.com>
18542
18543 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
18544 (__x86_64_raw_data_cache_size): Likewise.
18545 (__x86_64_data_cache_size_half): Likewise.
18546 (__x86_64_raw_data_cache_size_half): Likewise.
18547 (__x86_64_shared_cache_size): Likewise.
18548 (__x86_64_raw_shared_cache_size): Likewise.
18549 (__x86_64_shared_cache_size_half): Likewise.
18550 (__x86_64_raw_shared_cache_size_half): Likewise.
18551 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
18552 to ...
18553 (__x86_data_cache_size): This.
18554 (__x86_64_raw_data_cache_size): Renamed to ...
18555 (__x86_raw_data_cache_size): This.
18556 (__x86_64_data_cache_size_half): Renamed to ...
18557 (__x86_data_cache_size_half): This.
18558 (__x86_64_raw_data_cache_size_half): Renamed to ...
18559 (__x86_raw_data_cache_size_half): This.
18560 (__x86_64_shared_cache_size): Renamed to ...
18561 (__x86_shared_cache_size): This.
18562 (__x86_64_raw_shared_cache_size): Renamed to ...
18563 (__x86_raw_shared_cache_size): This.
18564 (__x86_64_shared_cache_size_half): Renamed to ...
18565 (__x86_shared_cache_size_half): This.
18566 (__x86_64_raw_shared_cache_size_half): Renamed to ...
18567 (__x86_raw_shared_cache_size_half): This.
18568 * sysdeps/x86_64/memcpy.S: Updated.
18569 * sysdeps/x86_64/memset.S: Likewise.
18570 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
18571 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
18572 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
18573
0b3986d0
DM
185742013-01-04 David S. Miller <davem@davemloft.net>
18575
18576 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18577
e47686e9
AS
185782013-01-04 Andreas Schwab <schwab@linux-m68k.org>
18579
d643bac1
AS
18580 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
18581 1 to avoid redefinition warning.
18582 (__USE_GNU): Don't define.
18583 (init_signaling_nan): Protoize.
18584
e47686e9
AS
18585 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18586
b18decba
SP
185872013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
18588
fffb407f
SP
18589 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
18590 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
18591 (__cpymn): Likewise.
18592 (norm): Remove commented code.
18593 (denorm): Likewise.
18594 (__mp_dbl): Likewise.
18595 (__inv): Likewise.
18596 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
18597 (__cpymn): Likewise.
18598 (norm): Remove commented code.
18599 (denorm): Likewise.
18600 (__mp_dbl): Likewise.
18601 (__inv): Likewise.
18602
b18decba
SP
18603 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
18604 mp_no value for 1.0 and 2.0.
18605 (norm): Use RADIXI instead of radixi.d.
18606 (denorm): Likewise.
18607 (__mul): Use 0.0 instead of zero.d.
18608 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
18609 mp_no value for 1.0 and 2.0.
18610 (norm): Use RADIXI instead of radixi.d.
18611 (denorm): Likewise.
18612 (__mul): Use 0.0 instead of zero.d.
18613
cdc1c96f
JM
186142013-01-04 Joseph Myers <joseph@codesourcery.com>
18615
18616 [BZ #14994]
18617 * math/s_casinh.c (__casinh): Reduce finite argument to first
18618 quadrant then set signs of results at the end.
18619 * math/s_casinhf.c (__casinhf): Likewise.
18620 * math/s_casinhl.c (__casinhl): Likewise.
18621 * math/libm-test.inc (casin_test): Add more tests.
18622 (casinh_test): Likewise.
18623 * sysdeps/i386/fpu/libm-test-ulps: Update.
18624 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18625
302913e1
SP
186262013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
18627
6420d207
SP
18628 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
18629
a9e48ab4
SP
18630 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
18631
b7837264
SP
18632 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
18633 declarations.
18634 (denorm): Likewise.
18635 (__mp_dbl): Likewise.
18636 (__inv): Likewise.
18637
f8af25d2
SP
18638 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
18639 and adjust the header comment.
18640
302913e1
SP
18641 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
18642 variable name from declaration.
18643
5d7dd1ca
L
186442013-01-03 H.J. Lu <hongjiu.lu@intel.com>
18645
18646 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18647 Initialize COMMON_CPUID_INDEX_7 element.
18648 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
18649 (CPUID_RTM): Likewise.
18650 (HAS_RTM): Likewise.
18651 (COMMON_CPUID_INDEX_7): New enum.
18652
2f5f40f4
AS
186532013-01-03 Andreas Schwab <schwab@linux-m68k.org>
18654
18655 [BZ #14981]
18656 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
18657 size is zero, record memory as freed.
18658
4056f4a0
AJ
186592013-01-03 Andreas Jaeger <aj@suse.de>
18660
18661 * po/ia.po: Add new Interlingua translation.
18662
ab15736f 186632012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
18664
18665 * locale/programs/localedef.c: Fix description of '--posix' flag.
18666
568035b7
JM
186672013-01-02 Joseph Myers <joseph@codesourcery.com>
18668
e6898b8d
JM
18669 * NEWS: Update dates in second copyright notice.
18670 * README: Update copyright dates in example.
18671 * manual/libc.texinfo: Update copyright dates.
18672 * scripts/test-installation.pl: Update copyright date in --version
18673 output.
18674
0e2f9562
JM
18675 * hurd/ctty-input.c: Fix copyright notice formatting.
18676 * hurd/ctty-output.c: Likewise.
18677 * hurd/dtable.c: Likewise.
18678 * hurd/hurd-raise.c: Likewise.
18679 * hurd/hurdprio.c: Likewise.
18680 * hurd/msgportdemux.c: Likewise.
18681 * misc/sys/file.h: Likewise.
18682 * misc/sys/ioctl.h: Likewise.
18683 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
18684 * sysdeps/mach/hurd/chdir.c: Likewise.
18685 * sysdeps/mach/hurd/fchdir.c: Likewise.
18686 * sysdeps/mach/hurd/rename.c: Likewise.
18687 * sysdeps/mach/hurd/rmdir.c: Likewise.
18688 * sysdeps/mach/hurd/seekdir.c: Likewise.
18689 * sysdeps/mach/hurd/setsid.c: Likewise.
18690 * sysdeps/posix/wait3.c: Likewise.
18691
568035b7
JM
18692 * All files with FSF copyright notices: Update copyright dates
18693 using scripts/update-copyrights.
18694 * intl/plural.c: Regenerated.
18695 * locale/programs/charmap-kw.h: Likewise.
18696 * locale/programs/locfile-kw.h: Likewise.
18697
da08f647
SP
186982013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
18699
0f5477af
SP
18700 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
18701 four values.
18702
44e0d4c2
SP
18703 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
18704 calculation loop and add branch prediction.
18705
4d55b4e5
SP
18706 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
18707 check access beyond bounds of m1np.
18708
da08f647
SP
18709 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
18710 MPTWO.
18711 (__inv): Remove local variable MPTWO to use the global
18712 constant.
18713 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
18714 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
18715 variable MPTWO.
18716 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
18717 MP3HALFS static const.
18718
8e051029
DM
187192013-01-01 David S. Miller <davem@davemloft.net>
18720
18721 * po/ca.po: Update from translation team.
18722
f4cf5f2d
JM
187232013-01-01 Joseph Myers <joseph@codesourcery.com>
18724
18725 * scripts/update-copyrights: New file.
18726 * Makeconfig: Reformat copyright notice.
18727 * ctype/ctype.h: Likewise.
18728 * debug/swprintf_chk.c: Likewise.
18729 * elf/dl-cache.c: Likewise.
18730 * elf/dl-debug.c: Likewise.
18731 * elf/dl-object.c: Likewise.
18732 * grp/initgroups.c: Likewise.
18733 * hurd/Makefile: Likewise.
18734 * hurd/hurd/signal.h: Likewise.
18735 * hurd/hurdfault.c: Likewise.
18736 * hurd/hurdioctl.c: Likewise.
18737 * hurd/hurdlookup.c: Likewise.
18738 * hurd/intr-msg.c: Likewise.
18739 * iconv/gconv_open.c: Likewise.
18740 * libio/swprintf.c: Likewise.
18741 * locale/lc-ctype.c: Likewise.
18742 * locale/nl_langinfo.c: Likewise.
18743 * mach/Machrules: Likewise.
18744 * mach/Makefile: Likewise.
18745 * malloc/obstack.h: Likewise.
18746 * manual/Makefile: Likewise.
18747 * manual/tsort.awk: Likewise.
18748 * misc/bits/stab.def: Likewise.
18749 * nis/nis_print_group_entry.c: Likewise.
18750 * nis/nis_table.c: Likewise.
18751 * nis/nss_compat/compat-pwd.c: Likewise.
18752 * nis/nss_compat/compat-spwd.c: Likewise.
18753 * po/Makefile: Likewise.
18754 * posix/fnmatch.c: Likewise.
18755 * posix/regex.h: Likewise.
18756 * resolv/Makefile: Likewise.
18757 * resolv/nss_dns/dns-network.c: Likewise.
18758 * resolv/res_hconf.c: Likewise.
18759 * scripts/gen-sorted.awk: Likewise.
18760 * soft-fp/soft-fp.h: Likewise.
18761 * stdio-common/printf.h: Likewise.
18762 * stdlib/monetary.h: Likewise.
18763 * stdlib/random.c: Likewise.
18764 * stdlib/random_r.c: Likewise.
18765 * sysdeps/generic/Makefile: Likewise.
18766 * sysdeps/gnu/Makefile: Likewise.
18767 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
18768 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18769 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
18770 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18771 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18772 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18773 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18774 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
18775 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18776 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18777 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
18778 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
18779 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
18780 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
18781 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
18782 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
18783 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
18784 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18785 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18786 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18787 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
18788 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
18789 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
18790 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
18791 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
18792 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
18793 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
18794 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
18795 * sysdeps/mach/hurd/errnos.awk: Likewise.
18796 * sysdeps/mach/hurd/fork.c: Likewise.
18797 * sysdeps/mach/hurd/getcwd.c: Likewise.
18798 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
18799 * sysdeps/mach/hurd/mmap.c: Likewise.
18800 * sysdeps/mach/hurd/utimes.c: Likewise.
18801 * sysdeps/mach/hurd/xmknod.c: Likewise.
18802 * sysdeps/posix/profil.c: Likewise.
18803 * sysdeps/posix/readdir_r.c: Likewise.
18804 * sysdeps/powerpc/bits/mathdef.h: Likewise.
18805 * sysdeps/powerpc/bits/setjmp.h: Likewise.
18806 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
18807 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
18808 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
18809 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
18810 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
18811 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
18812 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18813 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
18814 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
18815 * sysdeps/pthread/lio_listio.c: Likewise.
18816 * sysdeps/sparc/dl-procinfo.h: Likewise.
18817 * sysdeps/unix/i386/sysdep.S: Likewise.
18818 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
18819 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
18820 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
18821 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
18822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
18823 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
18824 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
18825 * sysdeps/unix/sysv/linux/speed.c: Likewise.
18826 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
18827 * sysdeps/wordsize-32/divdi3.c: Likewise.
18828 * time/sys/time.h: Likewise.
18829 * wcsmbs/Makefile: Likewise.
18830
0549fbba
DM
188312013-01-01 David S. Miller <davem@davemloft.net>
18832
a141f1a7
DM
18833 * po/fr.po: Update from translation team.
18834
0549fbba
DM
18835 * catgets/gencat.c: Update copyright year.
18836 * csu/version.c: Likewise.
18837 * debug/catchsegv.sh: Likewise.
18838 * debug/pcprofiledump.c: Likewise.
18839 * debug/xtrace.sh: Likewise.
18840 * elf/ldconfig.c: Likewise.
18841 * elf/ldd.bash.in: Likewise.
18842 * elf/pldd.c: Likewise.
18843 * elf/sotruss.ksh: Likewise.
18844 * elf/sprof.c: Likewise.
18845 * iconv/iconv_prog.c: Likewise.
18846 * iconv/iconvconfig.c: Likewise.
18847 * locale/programs/locale.c: Likewise.
18848 * locale/programs/localedef.c: Likewise.
18849 * login/programs/pt_chown.c: Likewise.
18850 * malloc/memusage.sh: Likewise.
18851 * malloc/memusagestat.c: Likewise.
18852 * malloc/mtrace.pl: Likewise.
18853 * nscd/nscd.c: Likewise.
18854 * nss/getent.c: Likewise.
18855 * nss/makedb.c: Likewise.
18856 * posix/getconf.c: Likewise.
18857
18ea052c
SP
188582012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
18859
18860 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
18861 numbers.
18862
9c89fca6
MF
188632012-12-30 Mike Frysinger <vapier@gentoo.org>
18864
18865 * math/bits/mathcalls.h (modf): Use __nonnull.
18866
085ec079
SP
188672012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
18868
18869 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
18870 (split): Use macro CN instead of the bare value.
18871 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
18872 could be used.
18873 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
18874 instead of the bare value.
18875 (power1): Likewise.
18876
6d9f97e1
SP
188772012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18878
d63f73be
SP
18879 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
18880 __ATAN_TWOM.
18881 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
18882
6d9f97e1
SP
18883 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
18884 their values.
18885 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
18886 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
18887 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
18888 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
18889
4c4febf5
AJ
188902012-12-28 Andreas Jaeger <aj@suse.de>
18891
af5843ef
AJ
18892 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
18893 values are from Linux 3.7.
18894
4c4febf5
AJ
18895 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
18896 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
18897
99136f82
SP
188982012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18899
2f216c3c 18900 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
18901 TRUE case.
18902
99136f82
SP
18903 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
18904 (norm): Likewise.
18905 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
18906 variables with preprocessor constants.
18907 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
18908 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
18909 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
18910
7fffbdff
BH
189112012-12-27 Bruno Haible <bruno@clisp.org>
18912
18913 [BZ #14317]
18914 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
18915 only if needed.
18916
b76eb5f0
SP
189172012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
18918
31a7fe5c
SP
18919 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
18920 and use variable directly.
18921 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
18922
b76eb5f0
SP
18923 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
18924 MPONE.
18925 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
18926 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
18927 variable MPONE.
18928 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
18929 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
18930 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
18931 include directive. Remove local variable MPONE.
18932 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
18933 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
18934 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
18935
2c8bfe7d
DM
189362012-12-25 David S. Miller <davem@davemloft.net>
18937
18938 * version.h (RELEASE): Set to "development".
18939 (VERSION): Set to "2.17.90".
18940 * NEWS: Add 2.18 section.
18941
147d03b0
DM
189422012-12-21 David S. Miller <davem@davemloft.net>
18943
18944 * po/hr.po: Update from translation team.
18945
a8ebb2b9
AK
189462012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18947
18948 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
18949
95b4f1b6
SE
189502012-12-19 Steve Ellcey <sellcey@mips.com>
18951
b2d94007 18952 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 18953
cedb2a90
MS
189542012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
18955
18956 * manual/contrib.texi (Contributors): Spelling correction.
18957
bbf527d6
DM
189582012-12-15 David S. Miller <davem@davemloft.net>
18959
18960 * po/ru.po: Update from translation team.
18961
bc38c906
DM
189622012-12-13 David S. Miller <davem@davemloft.net>
18963
85429b1a
DM
18964 * NEWS: Mention IFUNC testsuite enhancements.
18965
d283e353
DM
18966 * po/pl.po: Update from translation team.
18967 * po/bg.po: Likewise.
18968
bc38c906
DM
18969 * manual/contrib.texi (Contributors): Update entries for Hongjiu
18970 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
18971
a181b0d7
DM
189722012-12-11 David S. Miller <davem@davemloft.net>
18973
4641d57e
DM
18974 * po/sv.po: Update from translation team.
18975
f7bc6495
DM
18976 * po/vi.po: Update from translation team.
18977
6fc9048f
DM
18978 * po/cs.po: Update from translation team.
18979
a181b0d7
DM
18980 * po/de.po: Update from translation team.
18981 * po/eo.po: Likewise.
18982 * po/nl.po: Likewise.
18983
f70bfe80
SP
189842012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18985
3c8b4190
SP
18986 [BZ #14246]
18987 * manual/argp.texi (Argp Helper Functions): Move node to follow
18988 Argp Parsing State.
18989
f70bfe80
SP
18990 [BZ #14872]
18991 * manual/conf.texi (Limits on File System Capacity): Mention if
18992 terminating null is included in the max size.
18993
188f0adf
AJ
189942012-12-10 Andreas Jaeger <aj@suse.de>
18995
18996 * po/cs.po: Update from translation team.
18997
56e7d3ad
SP
189982012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
18999
19000 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
19001 void pointer and cast to uintptr_t.
19002 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
19003 path.
19004 * sysdeps/s390/s390-64/memcpy.S: Likewise.
19005 * sysdeps/s390/s390-64/memset.S: Likewise.
19006
76f2d2ea 190072012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
19008
19009 [BZ #14833]
19010 * menual/message.texi (Message Translation): Fix typos.
19011 (Helper programs for gettext): Likewise.
19012
67cbf9a2
AS
190132012-12-07 Andreas Schwab <schwab@linux-m68k.org>
19014
19015 [BZ #14898]
19016 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
19017 Change to -1.
19018
682d0e9a
DM
190192012-12-07 David S. Miller <davem@davemloft.net>
19020
19021 * po/libc.pot: Update.
19022
573cd484
RH
190232012-12-07 Richard Henderson <rth@redhat.com>
19024
7e9da188 19025 [BZ #10114]
573cd484
RH
19026 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
19027 normal/normal case to before the switch.
19028 (_FP_DIV): Likewise.
19029
e933a943
MF
190302012-12-06 Carlos O'Donell <carlos@systemhalted.org>
19031 Mike Frysinger <vapier@gentoo.org>
19032
19033 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
19034 check for __NR_fadvise64_64.
19035
82123268
CM
190362012-12-06 Chris Metcalf <cmetcalf@tilera.com>
19037
19038 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
19039 0, not just to plain "0" as a statement.
19040 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
19041 with cw.
19042
d9814526
JM
190432012-12-06 Joseph Myers <joseph@codesourcery.com>
19044
19045 * NEWS: Use sourceware.org in Bugzilla URL.
19046
7728c574
SP
190472012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
19048
f16946dd
SP
19049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
19050 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
19051
5704bbcb
SP
19052 * stdio-common/tst-put-error.c (do_test): Add newline to the
19053 padded test to ensure flush.
19054
17aa0516
JL
190552012-12-05 Jeff Law <law@redhat.com>
19056
19057 * sunrpc/etc.rpc (fedfs_admin): Add entry.
19058
363313b5
JM
190592012-12-05 Joseph Myers <joseph@codesourcery.com>
19060
effbd42a
JM
19061 * README: Don't refer to ports add-on as distributed separately.
19062 Mention AArch64 in list of systems supported in the ports add-on.
19063
87600365
JM
19064 * LICENSES: Add more non-FSF copyright and license notices.
19065
a0d7066a
JM
19066 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
19067 ((unused)).
19068
66ca5a5b
JM
19069 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
19070
363313b5
JM
19071 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
19072 10000 as width of padded output.
19073
b37984ad
JM
190742012-12-04 Joseph Myers <joseph@codesourcery.com>
19075
9003570a
JM
19076 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
19077
b37984ad
JM
19078 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
19079 variable LX with __attribute__ ((unused)).
19080 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
19081 Likewise.
19082 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
19083 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19084 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
19085 with __attribute__ ((unused)).
19086
c8df52ec
DM
190872012-12-04 David S. Miller <davem@abraco.davemloft.net>
19088
19089 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
19090
b3b099af
JM
190912012-12-04 Joseph Myers <joseph@codesourcery.com>
19092
c33aa6e3
JM
19093 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
19094 (CFLAGS-nldbl-acos.c): New variable.
19095 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
19096 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
19097 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
19098 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
19099 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
19100 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
19101 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
19102 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
19103 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
19104 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
19105 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
19106 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
19107 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
19108 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
19109 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
19110 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
19111 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
19112 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
19113 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
19114 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
19115 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
19116 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
19117 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
19118 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
19119 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
19120 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
19121 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
19122 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
19123 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
19124 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
19125 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
19126 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
19127 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
19128 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
19129 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
19130 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
19131 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
19132 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
19133 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
19134 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
19135 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
19136 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
19137 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
19138 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
19139 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
19140 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
19141 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
19142 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
19143 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
19144 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
19145 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
19146 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
19147 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
19148 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
19149 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
19150 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
19151 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
19152 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
19153 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
19154 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
19155 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
19156 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
19157 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
19158 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
19159 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
19160 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
19161 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
19162 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
19163 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
19164 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
19165 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
19166 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
19167 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
19168 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
19169 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
19170 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
19171 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
19172 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
19173 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
19174 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
19175 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
19176 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
19177 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
19178 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
19179 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
19180 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
19181 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
19182 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
19183 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
19184 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
19185 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
19186 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
19187 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
19188 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
19189 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
19190 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
19191 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
19192
20f0018d
JM
19193 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
19194 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
19195
b3b099af
JM
19196 [BZ #14914]
19197 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
19198 whole low double instead of just low 47 bits when splitting values
19199 into two parts.
19200
029264d1
AM
192012012-12-03 Allan McRae <allan@archlinux.org>
19202
19203 * manual/stdio.texi (Predefined Printf Handlers): Remove
19204 @hsep and @vsep usage.
19205
c9d6789e
MF
192062012-12-03 Mike Frysinger <vapier@gentoo.org>
19207
19208 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
19209 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
19210
4b7634a5
JL
192112012-12-03 Jeff Law <law@redhat.com>
19212
19213 * time/sys/time.h (settimeofday): Do not mark TV argument
19214 as __nonnull.
19215
eb6cbd24
MF
192162012-12-01 Mike Frysinger <vapier@gentoo.org>
19217
19218 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
19219 when currently writing and seek to current position when not.
19220 * libio/Makefile (tests): Remove bug-fclose1.
19221 * libio/bug-fclose1.c: Delete.
19222
f638872a
JM
192232012-12-01 Joseph Myers <joseph@codesourcery.com>
19224
19225 * manual/arith.texi (feenableexcept): Fix typo.
19226 (fedisableexcept): Likewise.
19227
48085d14
RM
192282012-11-30 Roland McGrath <roland@hack.frob.com>
19229
19230 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
19231 second, differently-typed declaration, rather than a cast.
19232
1a538b9f
SP
192332012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
19234
19235 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
19236 * include/rpc/svc.h: ... here.
19237
d07f2ff1 192382012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
19239
19240 [BZ #13013]
19241 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
19242 depending n and resplen2 to catch cases where answer
19243 equals answerp2.
19244
c93ec1f0
CD
192452012-11-29 Carlos O'Donell <carlos@systemhalted.org>
19246
19247 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
19248 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
19249
37db69de
MF
192502012-11-29 Mike Frysinger <vapier@gentoo.org>
19251
19252 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
19253
e10c4e4f
RM
192542012-11-29 Roland McGrath <roland@hack.frob.com>
19255
19256 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
19257
2af1b328
JL
192582012-11-28 Jeff Law <law@redhat.com>
19259
19260 [BZ #13761]
19261 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
19262 dataset_temporary. Track alloca usage into alloca_used.
19263 If dataset is large allocate and release it via malloc/free.
19264
111db5b1
FW
192652012-06-04 Florian Weimer <fweimer@redhat.com>
19266
f06cc227 19267 [BZ #14197]
111db5b1
FW
19268 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
19269
dd694abd
DM
192702012-11-28 David S. Miller <davem@davemloft.net>
19271
19272 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19273
9984dd01
JM
192742012-11-28 Joseph Myers <joseph@codesourcery.com>
19275
19276 [BZ #14803]
19277 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
19278 of pi/2 rounded to nearest to 64 bits.
19279 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
19280 nearest to 64 bits.
19281 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
19282 bits.
19283
14bc93a9
JL
192842012-11-28 Jeff Law <law@redhat.com>
19285 Martin Osvald <mosvald@redhat.com>
19286
19287 [BZ #14889]
19288 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
19289 * sunrpc/svc.c: Include time.h.
19290 (__svc_accept_failed): New function.
19291 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
19292 any reason other than EINTR, call __svc_accept_failed.
19293 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
19294 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
19295
e3c6aa3a
AS
192962012-11-28 Andreas Schwab <schwab@suse.de>
19297
19298 * scripts/abilist.awk: Also handle indirect functions in .opd
19299 section.
19300
1bead169
JM
193012012-11-28 Joseph Myers <joseph@codesourcery.com>
19302
19303 [BZ #13881]
19304 * sysdeps/x86/fpu/powl_helper.c: New file.
19305 * sysdeps/x86/fpu/Makefile: Likewise.
19306 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
19307 (p3): New object.
19308 (__ieee754_powl): Use __powl_helper for finite arguments except
19309 integer exponents below 8.
19310 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
19311 (p3): New object.
19312 (__ieee754_powl): Use __powl_helper for finite arguments except
19313 integer exponents below 8.
19314 * math/libm-test.inc (pow_test): Add more tests and enable some
19315 previously disabled tests.
19316 * sysdeps/i386/fpu/libm-test-ulps: Update.
19317 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19318
0817d63d
SP
193192012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19320 Carlos O'Donell <carlos_odonell@mentor.com>
19321
19322 * nss/makedb.c (is_prime): Assert that input is odd and greater
19323 than 4. Note that fact in a comment too.
19324 (next_prime): Add 4 to input.
19325
de2fd463
SP
193262012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
19327
19328 [BZ #11741]
19329 * libio/Makefile (tests): Add test case tst-fwrite-error.
19330 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
19331 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
19332 * libio/tst-fwrite-error.c: New test case.
19333
c515fb51
L
193342012-11-26 H.J. Lu <hongjiu.lu@intel.com>
19335
19336 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
19337 before casting to void *.
19338 * include/libc-internal.h (__pointer_type): New macro.
19339 (__integer_if_pointer_type_sub): Likewise.
19340 (__integer_if_pointer_type): Likewise.
19341 (cast_to_integer): Likewise.
19342 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
19343 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
19344 before casting to atomic64_t.
19345 (atomic_exchange_acq): Likewise.
19346 (__arch_exchange_and_add_body): Likewise.
19347 (__arch_add_body): Likewise.
19348 (atomic_add_negative): Likewise.
19349 (atomic_add_zero): Likewise.
19350
4cf77aa9
JM
193512012-11-26 Joseph Myers <joseph@codesourcery.com>
19352
19353 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
19354 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
19355 (add_fdes): Likewise.
19356 (linear_search_fdes): Likewise.
19357 (binary_search_unencoded_fdes): Likewise.
19358
d260b3b4
AS
193592012-11-26 Andreas Schwab <schwab@linux-m68k.org>
19360
19361 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
19362
67060746
AC
193632012-11-24 Adam Conrad <adconrad@0c3.net>
19364
19365 * configure.in: Autodetect C++ header directories.
19366 * configure: Regenerated.
19367
800938a1
MF
193682012-11-23 Mike Frysinger <vapier@gentoo.org>
19369
19370 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
19371
4e6e34e6
AS
193722012-11-23 Andreas Schwab <schwab@linux-m68k.org>
19373
19374 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19375
7c7feb47
JM
193762012-11-22 Joseph Myers <joseph@codesourcery.com>
19377
7184dcdf
JM
19378 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
19379 LDBL_MANT_DIG == 106]: Disable some tests.
19380 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
19381 Likewise.
19382 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
19383 Likewise.
19384
0a42601f
JM
19385 [BZ #14871]
19386 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
19387 input for small inputs. Return +/- pi/2 for large inputs.
19388 * math/libm-test.inc (atan_test): Add more tests.
19389
79c9b9fe
JM
19390 * sysdeps/generic/unwind-dw2-fde-glibc.c
19391 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
19392 __attribute__ ((unused)).
19393
c60d3bf2
JM
19394 [BZ #14645]
19395 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
19396 x * y if x and y are nonzero and z is zero.
19397
ef1e0867
JM
19398 [BZ #14811]
19399 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
19400 nonzero exponents with absolute value below 0x1p-117 to +/-
19401 0x1p-117.
19402
1468ded3
JM
19403 [BZ #14869]
19404 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
19405 up arguments below 2**-450, not just those below 2**-500.
19406 * math/libm-test.inc (hypot_test): Add another test.
19407
8e27e3cc
JM
19408 [BZ #14868]
19409 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
19410 Return a+b for ratio over 2**120, not 2**60.
19411 * math/libm-test.inc (hypot_test): Add another test.
19412
c9c0279b
JM
19413 * math/libm-test.inc (clog_test): Use
19414 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
19415 (clog10_test): Likewise.
19416
7c7feb47
JM
19417 [BZ #6778]
19418 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
19419
fff1530e
AS
194202012-11-22 Andreas Schwab <schwab@suse.de>
19421
19422 * sysdeps/i386/fpu/libm-test-ulps: Update.
19423
94558d30
PT
194242012-11-22 Pino Toscano <toscano.pino@tiscali.it>
19425
19426 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
19427 printf output with newline.
19428
7e1be741
L
194292012-11-21 H.J. Lu <hongjiu.lu@intel.com>
19430
6bfea974
L
19431 [BZ #14865]
19432 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
19433 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
19434 -z nodlopen, -z initfirst and -z execstack support.
19435 * configure: Regenerated.
19436
7e1be741
L
19437 * elf/elf.h (DF_1_NODIRECT): New macro.
19438 (DF_1_IGNMULDEF): Likewise.
19439 (DF_1_NOKSYMS): Likewise.
19440 (DF_1_NOHDR): Likewise.
19441 (DF_1_EDITED): Likewise.
19442 (DF_1_NORELOC): Likewise.
19443 (DF_1_SYMINTPOSE): Likewise.
19444 (DF_1_GLOBAUDIT): Likewise.
19445 (DF_1_SINGLETON): Likewise.
19446 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
19447 DT_1_SUPPORTED_MASK bits.
19448 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
19449
105ce2ce
CD
194502012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
19451
19452 * sysdeps/unix/make-syscalls.sh: Document prefixes.
19453
123be9de
TS
194542012-11-20 Thomas Schwinge <thomas@codesourcery.com>
19455
d072f3f7
TS
19456 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
19457 macro.
19458
123be9de
TS
19459 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
19460 (sendmmsg): Move declarations...
19461 * socket/sys/socket.h: ... here.
19462 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
19463 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
19464 include it from...
19465 * socket/recvmmsg.c: ... this new file.
19466 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
19467 (sendmmsg): Rename to __sendmmsg, create weak alias and make
19468 definition of __sendmmsg hidden.
19469 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
19470 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
19471 Move ENOSYS stub into and include it from...
19472 * socket/sendmmsg.c: ... this new file.
19473 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
19474 (sysdep_routines): Move recvmmsg and sendmmsg...
19475 * socket/Makefile (routines): ... here.
19476 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
19477 (GLIBC_PRIVATE): Add __sendmmsg.
19478 * include/sys/socket.h (__sendmmsg): Add declarations.
19479 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
19480 sendmmsg.
19481
cf9a5d18
JM
194822012-11-20 Joseph Myers <joseph@codesourcery.com>
19483
19484 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
19485 variable I1 with __attribute__ ((unused)).
19486 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
19487
ecd4caf9
JM
194882012-11-19 Joseph Myers <joseph@codesourcery.com>
19489
be14d48f
JM
19490 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
19491 DUMMY variables with __attribute__ ((unused)).
19492
ecd4caf9
JM
19493 * bits/byteswap.h: Include <bits/types.h>.
19494 (__bswap_64): Use __uint64_t instead of unsigned long long int.
19495
986cab95
PT
194962012-11-19 Pino Toscano <toscano.pino@tiscali.it>
19497
19498 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
19499 string_t. Do not manually set errno.
19500 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
19501 length with __strnlen. Make sure to both set errno and return it on
19502 failure.
19503
6d33cc9d
DM
195042012-11-19 David S. Miller <davem@davemloft.net>
19505
19506 With help from Joseph Myers.
19507 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
19508 very large arguments properly.
19509 * math/libm-test.inc (atan_test): New tests.
19510 (atan2_test): New tests.
19511 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19512 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19513
ee663277
JM
195142012-11-19 Joseph Myers <joseph@codesourcery.com>
19515
877f2d8e
JM
19516 [BZ #14856]
19517 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
19518 Define to 3.
19519
116fc08a
JM
19520 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
19521 [POSIX] (EADDRNOTAVAIL): Likewise.
19522 [POSIX] (EAFNOSUPPORT): Likewise.
19523 [POSIX] (EALREADY): Likewise.
19524 [POSIX] (ECONNABORTED): Likewise.
19525 [POSIX] (ECONNREFUSED): Likewise.
19526 [POSIX] (ECONNRESET): Likewise.
19527 [POSIX] (EDESTADDRREQ): Likewise.
19528 [POSIX] (EDQUOT): Likewise.
19529 [POSIX] (EHOSTUNREACH): Likewise.
19530 [POSIX] (EIDRM): Likewise.
19531 [POSIX] (EISCONN): Likewise.
19532 [POSIX] (ELOOP): Likewise.
19533 [POSIX] (EMULTIHOP): Likewise.
19534 [POSIX] (ENETDOWN): Likewise.
19535 [POSIX] (ENETUNREACH): Likewise.
19536 [POSIX] (ENOBUFS): Likewise.
19537 [POSIX] (ENODATA): Likewise.
19538 [POSIX] (ENOLINK): Likewise.
19539 [POSIX] (ENOMSG): Likewise.
19540 [POSIX] (ENOPROTOOPT): Likewise.
19541 [POSIX] (ENOSR): Likewise.
19542 [POSIX] (ENOSTR): Likewise.
19543 [POSIX] (ENOTCONN): Likewise.
19544 [POSIX] (ENOTSOCK): Likewise.
19545 [POSIX] (EOPNOTSUPP): Likewise.
19546 [POSIX] (EOVERFLOW): Likewise.
19547 [POSIX] (EPROTO): Likewise.
19548 [POSIX] (EPROTONOSUPPORT): Likewise.
19549 [POSIX] (EPROTOTYPE): Likewise.
19550 [POSIX] (ESTALE): Likewise.
19551 [POSIX] (ETIME): Likewise.
19552 [POSIX] (ETXTBSY): Likewise.
19553 [POSIX] (EWOULDBLOCK): Likewise.
19554 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
19555 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
19556 [POSIX] (SEEK_CUR): Likewise.
19557 [POSIX] (SEEK_END): Likewise.
19558 [POSIX || UNIX98] (mode_t): Do not require.
19559 [POSIX] (off_t): Likewise.
19560 [POSIX] (pid_t): Likewise.
19561 [POSIX] (sys/stat.h): Do not allow header.
19562 [POSIX] (unistd.h): Likewise.
19563 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
19564 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
19565 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
19566 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
19567 require.
19568 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
19569 sigevent): Specify elements.
19570 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
19571 entry.
19572 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
19573 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
19574
a483863f
JM
19575 * conform/data/cpio.h-data [POSIX]: Disable whole file.
19576 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
19577 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
19578 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
19579 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
19580 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
19581 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
19582 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
19583 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
19584 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
19585 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
19586 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
19587 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
19588 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
19589 Likewise.
19590 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
19591 Likewise.
19592 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
19593 Likewise.
19594 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
19595 Likewise.
19596 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
19597 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
19598 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
19599 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
19600 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
19601 Specify lower bound on value.
19602 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
19603 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
19604 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
19605 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
19606 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
19607 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
19608 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
19609 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
19610 value.
19611 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
19612 as optional.
19613 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
19614 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
19615 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
19616 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
19617 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
19618 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
19619 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
19620 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
19621 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
19622 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
19623 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
19624 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
19625 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
19626 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
19627 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
19628 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
19629 entry.
19630 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
19631 optional.
19632 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
19633 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
19634 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
19635 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
19636 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
19637 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
19638 Likewise.
19639 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
19640 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
19641 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
19642 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
19643 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
19644 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
19645 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
19646 as optional.
19647 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
19648 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
19649 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
19650 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
19651 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
19652 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
19653 specify as optional.
19654 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
19655 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
19656 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
19657 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
19658 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
19659 [XPG3] (NL_LANGMAX): Likewise.
19660 [POSIX || XPG3] (NL_MSGMAX): Likewise.
19661 [POSIX || XPG3] (NL_NMAX): Likewise.
19662 [POSIX || XPG3] (NL_SETMAX): Likewise.
19663 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
19664 [XPG3] (NZERO): Likewise.
19665 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
19666 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
19667 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
19668 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
19669 (REG_ERANGE): Expect.
19670 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
19671 optional-constant.
19672 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
19673 Use (void) in prototype.
19674 [POSIX] (*_t): Allow.
19675 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
19676 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
19677 (WRDE_BADVAL): Expect.
19678
5ba924e3
JM
19679 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
19680 expect.
19681 [XPG3 || XPG4] (O_RSYNC): Likewise.
19682 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
19683 Likewise.
19684 [XPG3 || XPG4] (pthread_sigmask): Likewise.
19685 [XPG3 || XPG4] (sigqueue): Likewise.
19686 [XPG3 || XPG4] (sigtimedwait): Likewise.
19687 [XPG3 || XPG4] (sigwaitinfo): Likewise.
19688 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
19689 [XPG3 || XPG4] (vsnprintf): Likewise.
19690 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
19691 Likewise.
19692 [XPG3 || XPG4] (blksize_t): Likewise.
19693 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
19694 Likewise.
19695 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
19696 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
19697 [XPG3 || XPG4] (struct itimerspec): Likewise.
19698 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
19699 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
19700 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
19701 [XPG3 || XPG4] (clockid_t): Likewise.
19702 [XPG3 || XPG4] (timer_t): Likewise.
19703 [XPG3 || XPG4] (clock_getres): Likewise.
19704 [XPG3 || XPG4] (clock_gettime): Likewise.
19705 [XPG3 || XPG4] (clock_settime): Likewise.
19706 [XPG3 || XPG4] (nanosleep): Likewise.
19707 [XPG3 || XPG4] (timer_create): Likewise.
19708 [XPG3 || XPG4] (timer_delete): Likewise.
19709 [XPG3 || XPG4] (timer_gettime): Likewise.
19710 [XPG3 || XPG4] (timer_getoverrun): Likewise.
19711 [XPG3 || XPG4] (timer_settime): Likewise.
19712 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
19713 [XPG3 || XPG4] (getlogin_r): Likewise.
19714 [XPG3 || XPG4] (pread): Likewise.
19715 [XPG3 || XPG4] (pthread_atfork): Likewise.
19716 [XPG3 || XPG4] (pwrite): Likewise.
19717
ee663277
JM
19718 [BZ #14835]
19719 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
19720 <bits/siginfo.h>.
19721
942caa16
PT
197222012-11-19 Pino Toscano <toscano.pino@tiscali.it>
19723
e19af380
PT
19724 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
19725 finalizing MALLSTREAM.
19726
942caa16
PT
19727 * sysdeps/mach/hurd/syncfs.c: New file.
19728
cfde9b46
SP
197292012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
19730
19731 [BZ #14719]
19732 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
19733 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
19734 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
19735 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
19736 (_nss_dns_gethostbyname4_r): Likewise.
19737 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
19738 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
19739
f6da27e5
PH
197402012-11-19 Peng Haitao <penght@cn.fujitsu.com>
19741
19742 [BZ #13763]
19743 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
19744
6665d4a2
SM
197452012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
19746
1f51ee92
SM
19747 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
19748 * elf/cache.c (print_entry): Print ",AArch64" for
19749 FLAG_AARCH64_LIB64
19750
6665d4a2
SM
19751 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
19752 * elf/cache.c (print_entry): Print ",hard-float" for
19753 FLAG_ARM_LIBHF.
19754
05b227bd
DM
197552012-11-18 David S. Miller <davem@davemloft.net>
19756
19757 With help from Joseph Myers.
19758 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
19759 cutoff to 2**-13.
19760 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
19761 cutoff to 2**-25.
19762 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
19763 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
19764 small.
19765 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
19766 * math/libm-test.inc (y0_test): New tests.
19767 (y1_test): New tests.
19768 * sysdeps/i386/fpu/libm-test-ulps: Update.
19769 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19770 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19771
786b0b67
AS
197722012-11-18 Andreas Schwab <schwab@linux-m68k.org>
19773
19774 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
19775 64-bit targets.
19776 * configure: Regenerated.
19777
8e18b86d
DM
197782012-11-17 David S. Miller <davem@davemloft.net>
19779
19780 [BZ #14811]
19781 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
19782 nonzero exponents with absolute value below 0x1p-128 to +/-
19783 0x1p-128.
19784
531f1ae0
JM
197852012-11-17 Joseph Myers <joseph@codesourcery.com>
19786
12df29e2
JM
19787 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
19788
150dc1a0
JM
19789 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
19790
531f1ae0
JM
19791 * posix/getconf-speclist.c: New file.
19792 * posix/posix-envs.def: Likewise.
19793 * posix/confstr.c (START_ENV_GROUP): New macro.
19794 (END_ENV_GROUP): Likewise.
19795 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
19796 (KNOWN_PRESENT_ENV_STRING): Likewise.
19797 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
19798 (UNKNOWN_ENVIRONMENT): Likewise.
19799 (confstr): Include posix-envs.def instead of handling
19800 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
19801 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
19802 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
19803 (END_ENV_GROUP): Likewise.
19804 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
19805 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
19806 (UNKNOWN_ENVIRONMENT): Likewise.
19807 (__sysconf): Include posix-envs.def instead of handling associated
19808 cases directly here.
19809 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
19810 preprocessing getconf-speclist.c rather than running getconf or
19811 generating empty file.
19812
a93f9cbc
PT
198132012-11-16 Pino Toscano <toscano.pino@tiscali.it>
19814
19815 * scripts/check-local-headers.sh: Ignore 'mach' headers.
19816
d64d9f87
AL
198172012-11-16 Andrej Lajovic <natrij@gmail.com>
19818
19819 [BZ #14672]
19820 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
19821
447885eb
DM
198222012-11-16 David S. Miller <davem@davemloft.net>
19823
19824 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
19825 smaller than LDBL_EPSILON/2.0L, just return xm1.
19826
bcbf9830
L
198272012-11-16 H.J. Lu <hongjiu.lu@intel.com>
19828
19829 * elf/tst-array1.c (init): Set constructor priority to 1000.
19830 (fini): Set destructor priority to 1000.
19831 * elf/tst-array2dep.c: Likewise.
19832
2b766585
SP
198332012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
19834
19835 [BZ #11741]
19836 * libio/fileops.c (_IO_new_file_write): Correctly return error.
19837 (_IO_new_file_xsputn): Also return EOF if none of the input
19838 data was written when overflow failed.
19839 * libio/iopadn.c (_IO_padn): Likewise.
19840 * libio/iowpadn.c (_IO_wpadn): Likewise.
19841 * stdio-common/tst-put-error.c: Add copyright notice.
19842 (do_test): Add case for printing padded string.
19843 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
19844 _IO_padn returned error.
19845 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
19846 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
19847 return EOF.
19848
b1848fde
SP
198492012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
19850
19851 * libio/libioP.h: Add comment note that the references to C++
19852 bits are now obsolete.
19853
2fd89785
MS
198542012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19855
19856 * math/libm-test.inc (check_complex): Use asprintf.
19857
e3ea5409
JM
198582012-11-14 Joseph Myers <joseph@codesourcery.com>
19859
19860 * debug/pcprofiledump.c (print_version): Update copyright year.
19861 * malloc/memusagestat.c (print_version): Likewise.
19862
2e64d265
L
198632012-11-14 H.J. Lu <hongjiu.lu@intel.com>
19864
19865 [BZ #14831]
19866 * elf/Makefile (tests): Add tst-audit8.
19867 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
19868 ($(objpfx)tst-audit8.out): New target.
19869 (tst-audit8-ENV): New variable.
19870 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
19871 audit if l_reloc_result is NULL.
19872 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
19873 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
19874 * elf/tst-audit8.c: New file.
19875
c485e4d2
MS
198762012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19877
19878 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
19879 * misc/Makefile (CFLAGS-select.c): Define.
19880 * posix/Makefile (CFLAGS-pause.c): Define.
19881
3a0d900a
DM
198822012-11-13 David S. Miller <davem@davemloft.net>
19883
19884 * crypt/Makefile: Move test targets after toplevel Rules
19885 inclusion. Grab any necessary sysdep routines when linking.
19886 * crypt/md5.c (md5_process_block): Remove define, we will always
19887 name it __md5_process_block.
19888 (md5_finish_ctx): Update md5_process_block call.
19889 (md5_stream): Likewise.
19890 (md5_process_bytes): Likewise.
19891 (md5_process_block): Rename to __md5_process_block and move to ...
19892 * crypt/md5-block.c: ... here.
19893 * crypt/sha256.c (sha256_process_block): Move to ...
19894 * crypt/sha256-block.c: ... here.
19895 * crypt/sha512.c (sha512_process_block): Move to ...
19896 * crypt/sha512-block.c: ... here.
19897 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
19898 path.
19899 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
19900 * sysdeps/sparc/sparc64/multiarch/Makefile
19901 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
19902 crypt subdir.
19903 (localedef-aux): Add md5 crypto assembler when in locale subdir.
19904 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
19905 multiarch changes.
19906 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
19907 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
19908 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
19909 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
19910 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
19911 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
19912 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
19913 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
19914 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
19915 file.
19916 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
19917 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
19918 file.
19919 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
19920
8ca89318
JM
199212012-11-13 Joseph Myers <joseph@codesourcery.com>
19922
e27d476a
JM
19923 * timezone/tzselect.ksh: Update from tzcode git revision
19924 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
19925 * timezone/zdump.c: Likewise.
19926 * timezone/zic.c: Likewise.
19927 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
19928 in TZVERSION setting, not $(PKGVERSION).
19929 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
19930 REPORT_BUGS_TO settings.
19931
8ca89318
JM
19932 [BZ #14838]
19933 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
19934 macro.
19935
47594329
MS
199362012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19937
19938 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
19939 detection to immediately after _FP_ROUND().
19940 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
19941 bits are 0.
19942
640ac3f1
DM
199432012-11-11 David S. Miller <davem@davemloft.net>
19944
19945 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
19946 inttypes.h
19947 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
19948 __close rather than their public counterparts.
19949
3d2577bb
JM
199502012-11-10 Joseph Myers <joseph@codesourcery.com>
19951
19952 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
19953 file.
19954 [UNIX98] (sem_timedwait): Do not expect.
19955 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
19956 [XPG4 || UNIX98] (sockatmark): Do not expect.
19957 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
19958 (clock_getcpuclockid): Do not expect.
19959 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
19960 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
19961 Do not expect.
19962 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
19963 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
19964 [UNIX98] (vwscanf): Likewise.
19965 [UNIX98] (vswscanf): Likewise.
19966
fb1ae1ee
JM
199672012-11-09 Joseph Myers <joseph@codesourcery.com>
19968
9ec6f8bd
JM
19969 * timezone/version.h: Remove file.
19970 * timezone/README: Do not refer to version.h.
19971 * timezone/Makefile ($(objpfx)zic.o): New dependency on
19972 $(objpfx)version.h.
19973 ($(objpfx)zdump.o): Likewise.
c3f81911 19974 ($(objpfx)version.h): New target.
9ec6f8bd 19975
0aa8f8a1
JM
19976 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
19977 2012i.
19978 * timezone/README: Don't mention modification to tzselect.ksh.
19979 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
19980 work on unmodified tzselect.ksh. Substitute version numbers in
19981 tzselect.ksh.
19982
4e87147f
JM
19983 * Makefile (format-me): Remove.
19984 (INSTALL): Adjust indentation. Use commands directly instead of
19985 using $(format-me).
19986
8b748aed
JM
19987 * aclocal.m4 (ACX_PKGVERSION): New macro.
19988 (ACX_BUGURL): Likewise.
19989 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
19990 (PKGVERSION): New AC_DEFINE_UNQUOTED.
19991 (REPORT_BUGS_TO): Likewise.
19992 * configure: Regenerated.
19993 * config.h.in (PKGVERSION): New macro.
19994 (REPORT_BUGS_TO): Likewise.
19995 * config.make.in (PKGVERSION): New variable.
19996 (PKGVERSION_TEXI): Likewise.
19997 (REPORT_BUGS_TO): Likewise.
19998 (REPORT_BUGS_TEXI): Likewise.
19999 * Makefile (format-me): Use -I$(common-objpfx)manual.
20000 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
20001 ($(common-objpfx)manual/%): New target.
20002 (manual/%): Remove target.
20003 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
20004 (print_version): Use PKGVERSION.
20005 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
20006 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
20007 and REPORT_BUGS_TO.
20008 ($(objpfx)xtrace): Likewise.
20009 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
20010 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
20011 (print_version): Use PKGVERSION.
20012 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
20013 (do_version): Use PKGVERSION.
20014 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
20015 REPORT_BUGS_TO.
20016 (common-ldd-rewrite): Likewise.
20017 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
20018 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
20019 (print_version): Use PKGVERSION.
20020 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
20021 * elf/pldd.c (argp_program_bug_address): Remove variable.
20022 (more_help): New function.
20023 (argp): Use more_help.
20024 (print_version): Use PKGVERSION.
20025 * elf/sln.c (main): Use PKGVERSION.
20026 (usage): Use REPORT_BUGS_TO.
20027 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
20028 (top level): Use PKGVERSION.
20029 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
20030 (print_version): Use PKGVERSION.
20031 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
20032 (print_version): Use PKGVERSION.
20033 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
20034 (print_version): Use PKGVERSION.
20035 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
20036 (print_version): Use PKGVERSION.
20037 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
20038 (print_version): Use PKGVERSION.
20039 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
20040 (print_version): Use PKGVERSION.
20041 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
20042 and BUGURL.
20043 ($(objpfx)memusage): Likewise.
20044 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
20045 (do_version): Use PKGVERSION.
20046 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
20047 (print_version): Use PKGVERSION.
20048 * malloc/mtrace.pl ($PACKAGE): Remove variable.
20049 ($PKGVERSION): New variable.
20050 ($REPORT_BUGS_TO): Likewise.
20051 (usage): Use $REPORT_BUGS_TO.
20052 (top level): Use $PKGVERSION.
20053 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
20054 ($(objpfx)pkgvers.texi): New rule.
20055 ($(objpfx)stamp-pkgvers): Likewise.
20056 * manual/install.texi: Include pkgvers.texi.
20057 (--with-pkgversion): Document new configure option.
20058 (--with-bugurl): Likewise.
20059 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
20060 than necessarily for this particular distribution. Use
20061 REPORT_BUGS_TO for where to report bugs.
20062 * INSTALL: Regenerated.
20063 * manual/libc.texinfo: Include pkgvers.texi.
20064 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
20065 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
20066 (print_version): Use PKGVERSION.
20067 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
20068 (print_version): Use PKGVERSION.
20069 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
20070 (print_version): Use PKGVERSION.
20071 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
20072 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
20073 macro.
20074 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
20075 (print_version): Use PKGVERSION.
20076 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
20077 (print_version): Use PKGVERSION.
20078 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
20079 and PKGVERSION.
20080
92e4b6a9
JM
20081 * timezone/checktab.awk: Update from tzcode 2012i.
20082 * timezone/ialloc.c: Likewise.
20083 * timezone/private.h: Likewise.
20084 * timezone/scheck.c: Likewise.
20085 * timezone/tzfile.h: Likewise.
20086 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
20087 (TZVERSION): Hardcode tzcode version number.
20088 * timezone/zdump.c: Update from tzcode 2012i.
20089 * timezone/zic.c: Likewise.
20090 * timezone/version.h: New file.
20091 * timezone/README: Describe version.h. Update upstream location.
20092
9bde902c
JM
20093 [BZ #14824]
20094 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
20095 (mktemp): Enable declaration.
20096 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
20097 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
20098 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
20099 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
20100 Likewise.
20101 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
20102 Likewise.
20103 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
20104 Likewise.
20105 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
20106 Likewise.
20107 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
20108 Likewise.
20109 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
20110 Likewise.
20111
fb1ae1ee
JM
20112 [BZ #14821]
20113 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
20114 offset in buffer as u_int32_t not u_long. Consistently use memcpy
20115 for copies of such integer values.
20116 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
20117 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
20118
2c1adbcb
AJ
201192012-11-09 Andreas Jaeger <aj@suse.de>
20120
20121 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
20122 definitions and declarations that are provided by
20123 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
20124
d0f8457e
AK
201252012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20126
3a235abb 20127 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
20128 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
20129 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
20130 definition.
20131
57241e26
MS
201322012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20133
20134 * elf/elf.h: Update comment before AArch64 relocations.
20135
60e8270d
DM
201362012-11-07 David S. Miller <davem@davemloft.net>
20137
20138 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
20139 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
20140 (__start_context): Declare.
20141 (__makecontext_ret): Delete.
20142 (__makecontext): Hook up __start_context instead of
20143 __makecontext_ret.
20144 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
20145 (sysdep_routines): Add __start_context when in stdlib.
20146
0fbb0fbc
JM
201472012-11-07 Joseph Myers <joseph@codesourcery.com>
20148
20149 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
20150 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
20151 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
20152 hardcoded "nm".
20153 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
20154 (READELF): New variable. Use it instead of hardcoded "readelf".
20155
eb48db7e
L
201562012-11-07 H.J. Lu <hongjiu.lu@intel.com>
20157
20158 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
20159 * sysdeps/x86/Makefile: Here.
20160 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
20161 * sysdeps/x86/tst-xmmymm.sh: This.
20162
05bcf62a
JM
201632012-11-07 Joseph Myers <joseph@codesourcery.com>
20164
c4b6cf53
JM
20165 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
20166 expectations.
20167 [UNIX98] (pthread_barrier_t): Do not expect.
20168 [UNIX98] (pthread_barrierattr_t): Likewise.
20169 [UNIX98] (pthread_spinlock_t): Likewise.
20170 [UNIX98] (pthread_barrier_destroy): Likewise.
20171 [UNIX98] (pthread_barrier_init): Likewise.
20172 [UNIX98] (pthread_barrier_wait): Likewise.
20173 [UNIX98] (pthread_barrierattr_destroy): Likewise.
20174 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
20175 [UNIX98] (pthread_barrierattr_init): Likewise.
20176 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
20177 [UNIX98] (pthread_getcpuclockid): Likewise.
20178 [UNIX98] (pthread_mutex_timedlock): Likewise.
20179 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
20180 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
20181 [UNIX98] (pthread_sigmask): Likewise.
20182 [UNIX98] (pthread_spin_destroy): Likewise.
20183 [UNIX98] (pthread_spin_init): Likewise.
20184 [UNIX98] (pthread_spin_lock): Likewise.
20185 [UNIX98] (pthread_spin_trylock): Likewise.
20186 [UNIX98] (pthread_spin_unlock): Likewise.
20187 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
20188 Do not expect.
20189 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
20190 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
20191 [XPG3 || XPG4] (pthread_cond_t): Likewise.
20192 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
20193 [XPG3 || XPG4] (pthread_key_t): Likewise.
20194 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
20195 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
20196 [XPG3 || XPG4] (pthread_once_t): Likewise.
20197 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
20198 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
20199 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
20200 [XPG3 || XPG4] (pthread_t): Likewise.
20201
cbe6e120
JM
20202 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
20203 not expect.
20204 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
20205
1b126443
JM
20206 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
20207 Change function return type to int.
20208
b961a573
JM
20209 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
20210 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
20211 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
20212 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
20213 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
20214 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
20215 [!POSIX] (posix_madvise): Likewise.
20216 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
20217 && !UNIX98].
20218 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
20219 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
20220 (mode_t): Likewise.
20221 (posix_mem_offset): Likewise.
20222 (posix_typed_mem_get_info): Likewise.
20223 (posix_typed_mem_open): Likewise.
20224
9e188909
JM
20225 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
20226 Change condition to [XOPEN2K8].
20227
05bcf62a
JM
20228 * conform/conformtest.pl: Preprocess allow-header data with -x c
20229 instead of from stdin.
20230 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
20231 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
20232 [C99-based standards] (cerfc): Likewise.
20233 [C99-based standards] (cexp2): Likewise.
20234 [C99-based standards] (cexpm1): Likewise.
20235 [C99-based standards] (clog10): Likewise.
20236 [C99-based standards] (clog1p): Likewise.
20237 [C99-based standards] (clog2): Likewise.
20238 [C99-based standards] (clgamma): Likewise.
20239 [C99-based standards] (ctgamma): Likewise.
20240 [C99-based standards] (cerff): Likewise.
20241 [C99-based standards] (cerfcf): Likewise.
20242 [C99-based standards] (cexp2f): Likewise.
20243 [C99-based standards] (cexpm1f): Likewise.
20244 [C99-based standards] (clog10f): Likewise.
20245 [C99-based standards] (clog1pf): Likewise.
20246 [C99-based standards] (clog2f): Likewise.
20247 [C99-based standards] (clgammaf): Likewise.
20248 [C99-based standards] (ctgammaf): Likewise.
20249 [C99-based standards] (cerfl): Likewise.
20250 [C99-based standards] (cerfcl): Likewise.
20251 [C99-based standards] (cexp2l): Likewise.
20252 [C99-based standards] (cexpm1l): Likewise.
20253 [C99-based standards] (clog10l): Likewise.
20254 [C99-based standards] (clog1pl): Likewise.
20255 [C99-based standards] (clog2l): Likewise.
20256 [C99-based standards] (clgammal): Likewise.
20257 [C99-based standards] (ctgammal): Likewise.
20258 * conform/data/inttypes.h-data [C99-based standards]: Include
20259 stdint.h-data. Remove all expectations for stdint.h contents.
20260 [C99-based standards] (PRI*): Do not allow.
20261 [C99-based standards] (SCN*): Likewise.
20262 [C99-based standards] (*_t): Likewise.
20263 [C99-based-standards] (PRId8): Expect macro.
20264 [C99-based-standards] (PRIi8): Likewise.
20265 [C99-based-standards] (PRIo8): Likewise.
20266 [C99-based-standards] (PRIu8): Likewise.
20267 [C99-based-standards] (PRIx8): Likewise.
20268 [C99-based-standards] (PRIX8): Likewise.
20269 [C99-based-standards] (SCNd8): Likewise.
20270 [C99-based-standards] (SCNi8): Likewise.
20271 [C99-based-standards] (SCNo8): Likewise.
20272 [C99-based-standards] (SCNu8): Likewise.
20273 [C99-based-standards] (SCNx8): Likewise.
20274 [C99-based-standards] (PRIdLEAST8): Likewise.
20275 [C99-based-standards] (PRIiLEAST8): Likewise.
20276 [C99-based-standards] (PRIoLEAST8): Likewise.
20277 [C99-based-standards] (PRIuLEAST8): Likewise.
20278 [C99-based-standards] (PRIxLEAST8): Likewise.
20279 [C99-based-standards] (PRIXLEAST8): Likewise.
20280 [C99-based-standards] (SCNdLEAST8): Likewise.
20281 [C99-based-standards] (SCNiLEAST8): Likewise.
20282 [C99-based-standards] (SCNoLEAST8): Likewise.
20283 [C99-based-standards] (SCNuLEAST8): Likewise.
20284 [C99-based-standards] (SCNxLEAST8): Likewise.
20285 [C99-based-standards] (PRIdFAST8): Likewise.
20286 [C99-based-standards] (PRIiFAST8): Likewise.
20287 [C99-based-standards] (PRIoFAST8): Likewise.
20288 [C99-based-standards] (PRIuFAST8): Likewise.
20289 [C99-based-standards] (PRIxFAST8): Likewise.
20290 [C99-based-standards] (PRIXFAST8): Likewise.
20291 [C99-based-standards] (SCNdFAST8): Likewise.
20292 [C99-based-standards] (SCNiFAST8): Likewise.
20293 [C99-based-standards] (SCNoFAST8): Likewise.
20294 [C99-based-standards] (SCNuFAST8): Likewise.
20295 [C99-based-standards] (SCNxFAST8): Likewise.
20296 [C99-based-standards] (PRId16): Likewise.
20297 [C99-based-standards] (PRIi16): Likewise.
20298 [C99-based-standards] (PRIo16): Likewise.
20299 [C99-based-standards] (PRIu16): Likewise.
20300 [C99-based-standards] (PRIx16): Likewise.
20301 [C99-based-standards] (PRIX16): Likewise.
20302 [C99-based-standards] (SCNd16): Likewise.
20303 [C99-based-standards] (SCNi16): Likewise.
20304 [C99-based-standards] (SCNo16): Likewise.
20305 [C99-based-standards] (SCNu16): Likewise.
20306 [C99-based-standards] (SCNx16): Likewise.
20307 [C99-based-standards] (PRIdLEAST16): Likewise.
20308 [C99-based-standards] (PRIiLEAST16): Likewise.
20309 [C99-based-standards] (PRIoLEAST16): Likewise.
20310 [C99-based-standards] (PRIuLEAST16): Likewise.
20311 [C99-based-standards] (PRIxLEAST16): Likewise.
20312 [C99-based-standards] (PRIXLEAST16): Likewise.
20313 [C99-based-standards] (SCNdLEAST16): Likewise.
20314 [C99-based-standards] (SCNiLEAST16): Likewise.
20315 [C99-based-standards] (SCNoLEAST16): Likewise.
20316 [C99-based-standards] (SCNuLEAST16): Likewise.
20317 [C99-based-standards] (SCNxLEAST16): Likewise.
20318 [C99-based-standards] (PRIdFAST16): Likewise.
20319 [C99-based-standards] (PRIiFAST16): Likewise.
20320 [C99-based-standards] (PRIoFAST16): Likewise.
20321 [C99-based-standards] (PRIuFAST16): Likewise.
20322 [C99-based-standards] (PRIxFAST16): Likewise.
20323 [C99-based-standards] (PRIXFAST16): Likewise.
20324 [C99-based-standards] (SCNdFAST16): Likewise.
20325 [C99-based-standards] (SCNiFAST16): Likewise.
20326 [C99-based-standards] (SCNoFAST16): Likewise.
20327 [C99-based-standards] (SCNuFAST16): Likewise.
20328 [C99-based-standards] (SCNxFAST16): Likewise.
20329 [C99-based-standards] (PRId32): Likewise.
20330 [C99-based-standards] (PRIi32): Likewise.
20331 [C99-based-standards] (PRIo32): Likewise.
20332 [C99-based-standards] (PRIu32): Likewise.
20333 [C99-based-standards] (PRIx32): Likewise.
20334 [C99-based-standards] (PRIX32): Likewise.
20335 [C99-based-standards] (SCNd32): Likewise.
20336 [C99-based-standards] (SCNi32): Likewise.
20337 [C99-based-standards] (SCNo32): Likewise.
20338 [C99-based-standards] (SCNu32): Likewise.
20339 [C99-based-standards] (SCNx32): Likewise.
20340 [C99-based-standards] (PRIdLEAST32): Likewise.
20341 [C99-based-standards] (PRIiLEAST32): Likewise.
20342 [C99-based-standards] (PRIoLEAST32): Likewise.
20343 [C99-based-standards] (PRIuLEAST32): Likewise.
20344 [C99-based-standards] (PRIxLEAST32): Likewise.
20345 [C99-based-standards] (PRIXLEAST32): Likewise.
20346 [C99-based-standards] (SCNdLEAST32): Likewise.
20347 [C99-based-standards] (SCNiLEAST32): Likewise.
20348 [C99-based-standards] (SCNoLEAST32): Likewise.
20349 [C99-based-standards] (SCNuLEAST32): Likewise.
20350 [C99-based-standards] (SCNxLEAST32): Likewise.
20351 [C99-based-standards] (PRIdFAST32): Likewise.
20352 [C99-based-standards] (PRIiFAST32): Likewise.
20353 [C99-based-standards] (PRIoFAST32): Likewise.
20354 [C99-based-standards] (PRIuFAST32): Likewise.
20355 [C99-based-standards] (PRIxFAST32): Likewise.
20356 [C99-based-standards] (PRIXFAST32): Likewise.
20357 [C99-based-standards] (SCNdFAST32): Likewise.
20358 [C99-based-standards] (SCNiFAST32): Likewise.
20359 [C99-based-standards] (SCNoFAST32): Likewise.
20360 [C99-based-standards] (SCNuFAST32): Likewise.
20361 [C99-based-standards] (SCNxFAST32): Likewise.
20362 [C99-based-standards] (PRId64): Likewise.
20363 [C99-based-standards] (PRIi64): Likewise.
20364 [C99-based-standards] (PRIo64): Likewise.
20365 [C99-based-standards] (PRIu64): Likewise.
20366 [C99-based-standards] (PRIx64): Likewise.
20367 [C99-based-standards] (PRIX64): Likewise.
20368 [C99-based-standards] (SCNd64): Likewise.
20369 [C99-based-standards] (SCNi64): Likewise.
20370 [C99-based-standards] (SCNo64): Likewise.
20371 [C99-based-standards] (SCNu64): Likewise.
20372 [C99-based-standards] (SCNx64): Likewise.
20373 [C99-based-standards] (PRIdLEAST64): Likewise.
20374 [C99-based-standards] (PRIiLEAST64): Likewise.
20375 [C99-based-standards] (PRIoLEAST64): Likewise.
20376 [C99-based-standards] (PRIuLEAST64): Likewise.
20377 [C99-based-standards] (PRIxLEAST64): Likewise.
20378 [C99-based-standards] (PRIXLEAST64): Likewise.
20379 [C99-based-standards] (SCNdLEAST64): Likewise.
20380 [C99-based-standards] (SCNiLEAST64): Likewise.
20381 [C99-based-standards] (SCNoLEAST64): Likewise.
20382 [C99-based-standards] (SCNuLEAST64): Likewise.
20383 [C99-based-standards] (SCNxLEAST64): Likewise.
20384 [C99-based-standards] (PRIdFAST64): Likewise.
20385 [C99-based-standards] (PRIiFAST64): Likewise.
20386 [C99-based-standards] (PRIoFAST64): Likewise.
20387 [C99-based-standards] (PRIuFAST64): Likewise.
20388 [C99-based-standards] (PRIxFAST64): Likewise.
20389 [C99-based-standards] (PRIXFAST64): Likewise.
20390 [C99-based-standards] (SCNdFAST64): Likewise.
20391 [C99-based-standards] (SCNiFAST64): Likewise.
20392 [C99-based-standards] (SCNoFAST64): Likewise.
20393 [C99-based-standards] (SCNuFAST64): Likewise.
20394 [C99-based-standards] (SCNxFAST64): Likewise.
20395 [C99-based-standards] (PRIdMAX): Likewise.
20396 [C99-based-standards] (PRIiMAX): Likewise.
20397 [C99-based-standards] (PRIoMAX): Likewise.
20398 [C99-based-standards] (PRIuMAX): Likewise.
20399 [C99-based-standards] (PRIxMAX): Likewise.
20400 [C99-based-standards] (PRIXMAX): Likewise.
20401 [C99-based-standards] (SCNdMAX): Likewise.
20402 [C99-based-standards] (SCNiMAX): Likewise.
20403 [C99-based-standards] (SCNoMAX): Likewise.
20404 [C99-based-standards] (SCNuMAX): Likewise.
20405 [C99-based-standards] (SCNxMAX): Likewise.
20406 [C99-based-standards] (PRIdPTR): Likewise.
20407 [C99-based-standards] (PRIiPTR): Likewise.
20408 [C99-based-standards] (PRIoPTR): Likewise.
20409 [C99-based-standards] (PRIuPTR): Likewise.
20410 [C99-based-standards] (PRIxPTR): Likewise.
20411 [C99-based-standards] (PRIXPTR): Likewise.
20412 [C99-based-standards] (SCNdPTR): Likewise.
20413 [C99-based-standards] (SCNiPTR): Likewise.
20414 [C99-based-standards] (SCNoPTR): Likewise.
20415 [C99-based-standards] (SCNuPTR): Likewise.
20416 [C99-based-standards] (SCNxPTR): Likewise.
20417 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
20418 allow.
20419 * conform/data/stdint.h-data: Update comments to clarify
20420 requirements.
20421 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
20422 type.
20423 [C99-based standards] (INT8_MAX): Likewise.
20424 [C99-based standards] (INT16_MIN): Likewise.
20425 [C99-based standards] (INT16_MAX): Likewise.
20426 [C99-based standards] (INT32_MIN): Likewise.
20427 [C99-based standards] (INT32_MAX): Likewise.
20428 [C99-based standards] (INT64_MIN): Likewise.
20429 [C99-based standards] (INT64_MAX): Likewise.
20430 [C99-based standards] (UINT8_MAX): Likewise.
20431 [C99-based standards] (UINT16_MAX): Likewise.
20432 [C99-based standards] (UINT32_MAX): Likewise.
20433 [C99-based standards] (UINT64_MAX): Likewise.
20434 [C99-based standards] (INT_LEAST8_MIN): Likewise.
20435 [C99-based standards] (INT_LEAST8_MAX): Likewise.
20436 [C99-based standards] (INT_LEAST16_MIN): Likewise.
20437 [C99-based standards] (INT_LEAST16_MAX): Likewise.
20438 [C99-based standards] (INT_LEAST32_MIN): Likewise.
20439 [C99-based standards] (INT_LEAST32_MAX): Likewise.
20440 [C99-based standards] (INT_LEAST64_MIN): Likewise.
20441 [C99-based standards] (INT_LEAST64_MAX): Likewise.
20442 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
20443 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
20444 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
20445 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
20446 [C99-based standards] (INT_FAST8_MIN): Likewise.
20447 [C99-based standards] (INT_FAST8_MAX): Likewise.
20448 [C99-based standards] (INT_FAST16_MIN): Likewise.
20449 [C99-based standards] (INT_FAST16_MAX): Likewise.
20450 [C99-based standards] (INT_FAST32_MIN): Likewise.
20451 [C99-based standards] (INT_FAST32_MAX): Likewise.
20452 [C99-based standards] (INT_FAST64_MIN): Likewise.
20453 [C99-based standards] (INT_FAST64_MAX): Likewise.
20454 [C99-based standards] (UINT_FAST8_MAX): Likewise.
20455 [C99-based standards] (UINT_FAST16_MAX): Likewise.
20456 [C99-based standards] (UINT_FAST32_MAX): Likewise.
20457 [C99-based standards] (UINT_FAST64_MAX): Likewise.
20458 [C99-based standards] (INTPTR_MIN): Likewise.
20459 [C99-based standards] (INTPTR_MAX): Likewise.
20460 [C99-based standards] (UINTPTR_MAX): Likewise.
20461 [C99-based standards] (INTMAX_MIN): Likewise.
20462 [C99-based standards] (INTMAX_MAX): Likewise.
20463 [C99-based standards] (UINTMAX_MAX): Likewise.
20464 [C99-based standards] (PTRDIFF_MIN): Likewise.
20465 [C99-based standards] (PTRDIFF_MAX): Likewise.
20466 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
20467 [C99-based standards] (SIZE_MAX): Likewise.
20468 [C99-based standards] (WCHAR_MAX): Likewise.
20469 [C99-based standards] (WINT_MAX): Likewise.
20470 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
20471 constraint on value.
20472 [C99-based standards] (WCHAR_MIN): Likewise.
20473 [C99-based standards] (WINT_MIN): Likewise.
20474 [C99-based standards] (*_t): Allow.
20475 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
20476 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
20477 Include math.h-data and complex.h-data. Remove all expectations
20478 of math.h and complex.h contents.
20479 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
20480 at end of line.
20481 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
20482 (struct tm): Expect tag.
20483 [C99-based-standards] (wcstof): Expect function.
20484 [C99-based-standards] (wcstold): Likewise.
20485 [C99-based-standards] (wcstoll): Likewise.
20486 [C99-based-standards] (wcstoull): Likewise.
20487 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
20488 macro-int-constant. Specify type.
20489 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
20490 constraint on value.
20491 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
20492 Specify type.
20493 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
20494 Specify value.
20495 [ISO C standards]: Do not allow headers.
20496 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
20497 wcs[abcdefghijklmnopqrstuvwxyz]*.
20498 [ISO C standards] (*_t): Do not allow.
20499 * conform/data/wctype.h-data [C99-based standards] (iswblank):
20500 Expect function.
20501 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
20502 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
20503 Specify type.
20504 [ISO C standards]: Do not allow headers.
20505 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
20506 is[abcdefghijklmnopqrstuvwxyz]*.
20507 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
20508 to[abcdefghijklmnopqrstuvwxyz]*.
20509 [ISO C standards] (*_t): Do not allow.
20510 * conform/data/stdalign.h-data: New file.
20511 * conform/data/stdbool.h-data: Likewise.
20512 * conform/data/stdnoreturn.h-data: Likewise.
20513
7514feb8
RM
205142012-11-07 Roland McGrath <roland@hack.frob.com>
20515
20516 [BZ #14815]
20517 * manual/filesys.texi (Directory Entries): Typo fix.
20518 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
20519
19b2ecfc
MS
205202012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20521
20522 * elf/elf.h (EM_AARCH64): New macro.
20523 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
20524 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
20525 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
20526 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
20527 (R_AARCH64_TLSDESC): Likewise.
20528 (NT_ARM_TLS): Likewise.
20529 (NT_ARM_HW_BREAK): Likewise.
20530 (NT_ARM_HW_WATCH): Likewise.
20531
60e235ee
JM
205322012-11-07 Joseph Myers <joseph@codesourcery.com>
20533
20534 [BZ #14811]
20535 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
20536 (__ieee754_powl): Saturate nonzero exponents with absolute value
20537 below 0x1p-79 to +/- 0x1p-79.
20538 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
20539 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
20540 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
20541 nonzero exponents with absolute value below 0x1p-32 to +/-
20542 0x1p-32.
20543 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
20544 (__ieee754_powl): Saturate nonzero exponents with absolute value
20545 below 0x1p-79 to +/- 0x1p-79.
20546 * math/libm-test.inc (pow_test): Add more tests.
20547
0ab234b7
AK
205482012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20549
20550 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
20551 _dl_s390_cap_flags with kernel. Increase string length.
20552 (_dl_s390_platforms): Add z196 and zEC12.
20553
45832f74
JM
205542012-11-07 Joseph Myers <joseph@codesourcery.com>
20555
20556 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
20557 Change XOPEN21K to XOPEN2K.
20558
19218757
MK
205592012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
20560
20561 * string/memmove.c: Use memcpy when possible.
20562
c5f45721
AJ
205632012-11-06 Andreas Jaeger <aj@suse.de>
20564
20565 * po/eo.po: Update from translation team.
20566
82477c28
JM
205672012-11-06 Joseph Myers <joseph@codesourcery.com>
20568
20569 [BZ #14793]
20570 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
20571 exponent and small x and y exponents, scale x or y up. Increase
20572 by 2 the exponent used in scaling up.
20573 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
20574 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20575 * math/libm-test.inc (fma_test): Add more tests.
20576 (fma_test_towardzero): Likewise.
20577 (fma_test_downward): Likewise.
20578 (fma_test_upward): Likewise.
20579
99252c8c
JM
205802012-11-05 Joseph Myers <joseph@codesourcery.com>
20581
acfa885f
JM
20582 [BZ #14805]
20583 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
20584 fenv_t *.
20585
99252c8c
JM
20586 [BZ #14801]
20587 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
20588 namespace for names of struct fields.
20589 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
20590 fenv_t fields.
20591 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
20592 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
20593
d6d98dea
ST
205942012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
20595
20596 [BZ #3665]
20597 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
20598
e10bb107
TS
205992012-11-04 Thomas Schwinge <thomas@codesourcery.com>
20600
20601 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
20602 PTR_DEMANGLE.
20603
20604 [BZ #5246]
20605 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
20606 PTR_DEMANGLE.
20607
a0c2940d
JM
206082012-11-04 Joseph Myers <joseph@codesourcery.com>
20609
20610 [BZ #14797]
20611 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
20612 definitely overflow as x * y not x * y + z.
20613 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
20614 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20615 * math/libm-test.inc (fma_test): Add more tests.
20616 (fma_test_towardzero): Likewise.
20617 (fma_test_downward): Likewise.
20618 (fma_test_upward): Likewise.
20619
b830319d
TS
206202012-11-04 Thomas Schwinge <thomas@codesourcery.com>
20621
20622 [BZ #157]
20623
20624 * include/stub-tag.h: Remove file.
20625 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
20626 '#include' of it.
20627 * manual/maint.texi (Porting): Don't reference it.
20628 * Makerules ($(objpfx)stubs): Likewise.
20629 * dirent/closedir.c: Don't include <stub-tag.h>.
20630 * dirent/dirfd.c: Likewise.
20631 * dirent/fdopendir.c: Likewise.
20632 * dirent/getdents.c: Likewise.
20633 * dirent/getdents64.c: Likewise.
20634 * dirent/opendir.c: Likewise.
20635 * dirent/readdir.c: Likewise.
20636 * dirent/readdir64.c: Likewise.
20637 * dirent/readdir64_r.c: Likewise.
20638 * dirent/readdir_r.c: Likewise.
20639 * dirent/rewinddir.c: Likewise.
20640 * dirent/seekdir.c: Likewise.
20641 * dirent/telldir.c: Likewise.
20642 * gmon/profil.c: Likewise.
20643 * grp/setgroups.c: Likewise.
20644 * inet/if_index.c: Likewise.
20645 * io/access.c: Likewise.
20646 * io/chdir.c: Likewise.
20647 * io/chmod.c: Likewise.
20648 * io/chown.c: Likewise.
20649 * io/close.c: Likewise.
20650 * io/dup.c: Likewise.
20651 * io/dup2.c: Likewise.
20652 * io/dup3.c: Likewise.
20653 * io/euidaccess.c: Likewise.
20654 * io/faccessat.c: Likewise.
20655 * io/fchdir.c: Likewise.
20656 * io/fchmod.c: Likewise.
20657 * io/fchmodat.c: Likewise.
20658 * io/fchown.c: Likewise.
20659 * io/fchownat.c: Likewise.
20660 * io/fcntl.c: Likewise.
20661 * io/flock.c: Likewise.
20662 * io/fstatfs.c: Likewise.
20663 * io/fstatfs64.c: Likewise.
20664 * io/fstatvfs.c: Likewise.
20665 * io/fstatvfs64.c: Likewise.
20666 * io/futimens.c: Likewise.
20667 * io/fxstat.c: Likewise.
20668 * io/fxstat64.c: Likewise.
20669 * io/fxstatat.c: Likewise.
20670 * io/fxstatat64.c: Likewise.
20671 * io/getcwd.c: Likewise.
20672 * io/isatty.c: Likewise.
20673 * io/lchmod.c: Likewise.
20674 * io/lchown.c: Likewise.
20675 * io/link.c: Likewise.
20676 * io/linkat.c: Likewise.
20677 * io/lseek.c: Likewise.
20678 * io/lseek64.c: Likewise.
20679 * io/lxstat64.c: Likewise.
20680 * io/mkdir.c: Likewise.
20681 * io/mkdirat.c: Likewise.
20682 * io/mkfifo.c: Likewise.
20683 * io/mkfifoat.c: Likewise.
20684 * io/open.c: Likewise.
20685 * io/open64.c: Likewise.
20686 * io/openat.c: Likewise.
20687 * io/openat64.c: Likewise.
20688 * io/pipe.c: Likewise.
20689 * io/pipe2.c: Likewise.
20690 * io/poll.c: Likewise.
20691 * io/posix_fadvise.c: Likewise.
20692 * io/posix_fadvise64.c: Likewise.
20693 * io/posix_fallocate.c: Likewise.
20694 * io/posix_fallocate64.c: Likewise.
20695 * io/read.c: Likewise.
20696 * io/readlink.c: Likewise.
20697 * io/readlinkat.c: Likewise.
20698 * io/rmdir.c: Likewise.
20699 * io/sendfile.c: Likewise.
20700 * io/sendfile64.c: Likewise.
20701 * io/statfs.c: Likewise.
20702 * io/statfs64.c: Likewise.
20703 * io/statvfs.c: Likewise.
20704 * io/statvfs64.c: Likewise.
20705 * io/symlink.c: Likewise.
20706 * io/symlinkat.c: Likewise.
20707 * io/ttyname.c: Likewise.
20708 * io/ttyname_r.c: Likewise.
20709 * io/umask.c: Likewise.
20710 * io/unlink.c: Likewise.
20711 * io/unlinkat.c: Likewise.
20712 * io/utime.c: Likewise.
20713 * io/utimensat.c: Likewise.
20714 * io/write.c: Likewise.
20715 * io/xmknod.c: Likewise.
20716 * io/xmknodat.c: Likewise.
20717 * io/xstat.c: Likewise.
20718 * io/xstat64.c: Likewise.
20719 * login/getpt.c: Likewise.
20720 * login/grantpt.c: Likewise.
20721 * login/unlockpt.c: Likewise.
20722 * math/e_acoshl.c: Likewise.
20723 * math/e_acosl.c: Likewise.
20724 * math/e_asinl.c: Likewise.
20725 * math/e_atan2l.c: Likewise.
20726 * math/e_atanhl.c: Likewise.
20727 * math/e_coshl.c: Likewise.
20728 * math/e_expl.c: Likewise.
20729 * math/e_fmodl.c: Likewise.
20730 * math/e_gammal_r.c: Likewise.
20731 * math/e_hypotl.c: Likewise.
20732 * math/e_j0l.c: Likewise.
20733 * math/e_j1l.c: Likewise.
20734 * math/e_jnl.c: Likewise.
20735 * math/e_lgammal_r.c: Likewise.
20736 * math/e_log10l.c: Likewise.
20737 * math/e_log2l.c: Likewise.
20738 * math/e_logl.c: Likewise.
20739 * math/e_powl.c: Likewise.
20740 * math/e_rem_pio2l.c: Likewise.
20741 * math/e_sinhl.c: Likewise.
20742 * math/e_sqrtl.c: Likewise.
20743 * math/fclrexcpt.c: Likewise.
20744 * math/fedisblxcpt.c: Likewise.
20745 * math/feenablxcpt.c: Likewise.
20746 * math/fegetenv.c: Likewise.
20747 * math/fegetexcept.c: Likewise.
20748 * math/fegetround.c: Likewise.
20749 * math/feholdexcpt.c: Likewise.
20750 * math/fesetenv.c: Likewise.
20751 * math/fesetround.c: Likewise.
20752 * math/feupdateenv.c: Likewise.
20753 * math/fgetexcptflg.c: Likewise.
20754 * math/fraiseexcpt.c: Likewise.
20755 * math/fsetexcptflg.c: Likewise.
20756 * math/ftestexcept.c: Likewise.
20757 * math/k_cosl.c: Likewise.
20758 * math/k_rem_pio2l.c: Likewise.
20759 * math/k_sinl.c: Likewise.
20760 * math/k_tanl.c: Likewise.
20761 * math/s_asinhl.c: Likewise.
20762 * math/s_atanl.c: Likewise.
20763 * math/s_cbrtl.c: Likewise.
20764 * math/s_erfl.c: Likewise.
20765 * math/s_expm1l.c: Likewise.
20766 * math/s_log1pl.c: Likewise.
20767 * math/s_tanhl.c: Likewise.
20768 * misc/acct.c: Likewise.
20769 * misc/brk.c: Likewise.
20770 * misc/chflags.c: Likewise.
20771 * misc/chroot.c: Likewise.
20772 * misc/fchflags.c: Likewise.
20773 * misc/fgetxattr.c: Likewise.
20774 * misc/flistxattr.c: Likewise.
20775 * misc/fremovexattr.c: Likewise.
20776 * misc/fsetxattr.c: Likewise.
20777 * misc/fsync.c: Likewise.
20778 * misc/ftruncate.c: Likewise.
20779 * misc/futimes.c: Likewise.
20780 * misc/futimesat.c: Likewise.
20781 * misc/getdomain.c: Likewise.
20782 * misc/getdtsz.c: Likewise.
20783 * misc/gethostid.c: Likewise.
20784 * misc/gethostname.c: Likewise.
20785 * misc/getloadavg.c: Likewise.
20786 * misc/getpagesize.c: Likewise.
20787 * misc/getsysstats.c: Likewise.
20788 * misc/getxattr.c: Likewise.
20789 * misc/gtty.c: Likewise.
20790 * misc/ioctl.c: Likewise.
20791 * misc/lgetxattr.c: Likewise.
20792 * misc/listxattr.c: Likewise.
20793 * misc/llistxattr.c: Likewise.
20794 * misc/lremovexattr.c: Likewise.
20795 * misc/lsetxattr.c: Likewise.
20796 * misc/lutimes.c: Likewise.
20797 * misc/madvise.c: Likewise.
20798 * misc/mincore.c: Likewise.
20799 * misc/mlock.c: Likewise.
20800 * misc/mlockall.c: Likewise.
20801 * misc/mmap.c: Likewise.
20802 * misc/mprotect.c: Likewise.
20803 * misc/msync.c: Likewise.
20804 * misc/munlock.c: Likewise.
20805 * misc/munlockall.c: Likewise.
20806 * misc/munmap.c: Likewise.
20807 * misc/preadv.c: Likewise.
20808 * misc/preadv64.c: Likewise.
20809 * misc/ptrace.c: Likewise.
20810 * misc/pwritev.c: Likewise.
20811 * misc/pwritev64.c: Likewise.
20812 * misc/readv.c: Likewise.
20813 * misc/reboot.c: Likewise.
20814 * misc/remap_file_pages.c: Likewise.
20815 * misc/removexattr.c: Likewise.
20816 * misc/revoke.c: Likewise.
20817 * misc/select.c: Likewise.
20818 * misc/setdomain.c: Likewise.
20819 * misc/setegid.c: Likewise.
20820 * misc/seteuid.c: Likewise.
20821 * misc/sethostid.c: Likewise.
20822 * misc/sethostname.c: Likewise.
20823 * misc/setregid.c: Likewise.
20824 * misc/setreuid.c: Likewise.
20825 * misc/setxattr.c: Likewise.
20826 * misc/sstk.c: Likewise.
20827 * misc/stty.c: Likewise.
20828 * misc/swapoff.c: Likewise.
20829 * misc/swapon.c: Likewise.
20830 * misc/sync.c: Likewise.
20831 * misc/syncfs.c: Likewise.
20832 * misc/syscall.c: Likewise.
20833 * misc/truncate.c: Likewise.
20834 * misc/ualarm.c: Likewise.
20835 * misc/usleep.c: Likewise.
20836 * misc/ustat.c: Likewise.
20837 * misc/utimes.c: Likewise.
20838 * misc/vhangup.c: Likewise.
20839 * misc/writev.c: Likewise.
20840 * posix/_exit.c: Likewise.
20841 * posix/alarm.c: Likewise.
20842 * posix/execve.c: Likewise.
20843 * posix/fexecve.c: Likewise.
20844 * posix/fork.c: Likewise.
20845 * posix/fpathconf.c: Likewise.
20846 * posix/getaddrinfo.c: Likewise.
20847 * posix/getegid.c: Likewise.
20848 * posix/geteuid.c: Likewise.
20849 * posix/getgid.c: Likewise.
20850 * posix/getgroups.c: Likewise.
20851 * posix/getlogin.c: Likewise.
20852 * posix/getlogin_r.c: Likewise.
20853 * posix/getpgid.c: Likewise.
20854 * posix/getpid.c: Likewise.
20855 * posix/getppid.c: Likewise.
20856 * posix/getresgid.c: Likewise.
20857 * posix/getresuid.c: Likewise.
20858 * posix/getsid.c: Likewise.
20859 * posix/getuid.c: Likewise.
20860 * posix/glob64.c: Likewise.
20861 * posix/nanosleep.c: Likewise.
20862 * posix/pathconf.c: Likewise.
20863 * posix/pause.c: Likewise.
20864 * posix/posix_madvise.c: Likewise.
20865 * posix/pread.c: Likewise.
20866 * posix/pread64.c: Likewise.
20867 * posix/pwrite.c: Likewise.
20868 * posix/pwrite64.c: Likewise.
20869 * posix/sched_getaffinity.c: Likewise.
20870 * posix/sched_getp.c: Likewise.
20871 * posix/sched_gets.c: Likewise.
20872 * posix/sched_primax.c: Likewise.
20873 * posix/sched_primin.c: Likewise.
20874 * posix/sched_rr_gi.c: Likewise.
20875 * posix/sched_setaffinity.c: Likewise.
20876 * posix/sched_setp.c: Likewise.
20877 * posix/sched_sets.c: Likewise.
20878 * posix/sched_yield.c: Likewise.
20879 * posix/setgid.c: Likewise.
20880 * posix/setlogin.c: Likewise.
20881 * posix/setpgid.c: Likewise.
20882 * posix/setresgid.c: Likewise.
20883 * posix/setresuid.c: Likewise.
20884 * posix/setsid.c: Likewise.
20885 * posix/setuid.c: Likewise.
20886 * posix/sleep.c: Likewise.
20887 * posix/spawni.c: Likewise.
20888 * posix/sysconf.c: Likewise.
20889 * posix/times.c: Likewise.
20890 * posix/wait.c: Likewise.
20891 * posix/wait3.c: Likewise.
20892 * posix/wait4.c: Likewise.
20893 * posix/waitpid.c: Likewise.
20894 * resolv/gai_sigqueue.c: Likewise.
20895 * resource/getpriority.c: Likewise.
20896 * resource/getrlimit.c: Likewise.
20897 * resource/getrusage.c: Likewise.
20898 * resource/nice.c: Likewise.
20899 * resource/setpriority.c: Likewise.
20900 * resource/setrlimit.c: Likewise.
20901 * resource/ulimit.c: Likewise.
20902 * rt/aio_cancel.c: Likewise.
20903 * rt/aio_fsync.c: Likewise.
20904 * rt/aio_read.c: Likewise.
20905 * rt/aio_sigqueue.c: Likewise.
20906 * rt/aio_suspend.c: Likewise.
20907 * rt/aio_write.c: Likewise.
20908 * rt/clock_getres.c: Likewise.
20909 * rt/clock_gettime.c: Likewise.
20910 * rt/clock_nanosleep.c: Likewise.
20911 * rt/clock_settime.c: Likewise.
20912 * rt/lio_listio.c: Likewise.
20913 * rt/mq_close.c: Likewise.
20914 * rt/mq_getattr.c: Likewise.
20915 * rt/mq_notify.c: Likewise.
20916 * rt/mq_open.c: Likewise.
20917 * rt/mq_receive.c: Likewise.
20918 * rt/mq_send.c: Likewise.
20919 * rt/mq_setattr.c: Likewise.
20920 * rt/mq_timedreceive.c: Likewise.
20921 * rt/mq_timedsend.c: Likewise.
20922 * rt/mq_unlink.c: Likewise.
20923 * rt/shm_open.c: Likewise.
20924 * rt/shm_unlink.c: Likewise.
20925 * rt/timer_create.c: Likewise.
20926 * rt/timer_delete.c: Likewise.
20927 * rt/timer_getoverr.c: Likewise.
20928 * rt/timer_gettime.c: Likewise.
20929 * rt/timer_settime.c: Likewise.
20930 * setjmp/__longjmp.c: Likewise.
20931 * setjmp/setjmp.c: Likewise.
20932 * signal/kill.c: Likewise.
20933 * signal/killpg.c: Likewise.
20934 * signal/raise.c: Likewise.
20935 * signal/sigaction.c: Likewise.
20936 * signal/sigaltstack.c: Likewise.
20937 * signal/sigblock.c: Likewise.
20938 * signal/sigignore.c: Likewise.
20939 * signal/sigintr.c: Likewise.
20940 * signal/signal.c: Likewise.
20941 * signal/sigpause.c: Likewise.
20942 * signal/sigpending.c: Likewise.
20943 * signal/sigqueue.c: Likewise.
20944 * signal/sigreturn.c: Likewise.
20945 * signal/sigset.c: Likewise.
20946 * signal/sigsetmask.c: Likewise.
20947 * signal/sigstack.c: Likewise.
20948 * signal/sigsuspend.c: Likewise.
20949 * signal/sigtimedwait.c: Likewise.
20950 * signal/sigvec.c: Likewise.
20951 * signal/sigwait.c: Likewise.
20952 * signal/sigwaitinfo.c: Likewise.
20953 * signal/sysv_signal.c: Likewise.
20954 * socket/accept.c: Likewise.
20955 * socket/accept4.c: Likewise.
20956 * socket/bind.c: Likewise.
20957 * socket/connect.c: Likewise.
20958 * socket/getpeername.c: Likewise.
20959 * socket/getsockname.c: Likewise.
20960 * socket/getsockopt.c: Likewise.
20961 * socket/isfdtype.c: Likewise.
20962 * socket/listen.c: Likewise.
20963 * socket/recv.c: Likewise.
20964 * socket/recvfrom.c: Likewise.
20965 * socket/recvmsg.c: Likewise.
20966 * socket/send.c: Likewise.
20967 * socket/sendmsg.c: Likewise.
20968 * socket/sendto.c: Likewise.
20969 * socket/setsockopt.c: Likewise.
20970 * socket/shutdown.c: Likewise.
20971 * socket/sockatmark.c: Likewise.
20972 * socket/socket.c: Likewise.
20973 * socket/socketpair.c: Likewise.
20974 * stdio-common/ctermid.c: Likewise.
20975 * stdio-common/cuserid.c: Likewise.
20976 * stdio-common/remove.c: Likewise.
20977 * stdio-common/rename.c: Likewise.
20978 * stdio-common/renameat.c: Likewise.
20979 * stdio-common/tempname.c: Likewise.
20980 * stdlib/getcontext.c: Likewise.
20981 * stdlib/makecontext.c: Likewise.
20982 * stdlib/setcontext.c: Likewise.
20983 * stdlib/swapcontext.c: Likewise.
20984 * stdlib/system.c: Likewise.
20985 * streams/fattach.c: Likewise.
20986 * streams/fdetach.c: Likewise.
20987 * streams/getmsg.c: Likewise.
20988 * streams/getpmsg.c: Likewise.
20989 * streams/putmsg.c: Likewise.
20990 * streams/putpmsg.c: Likewise.
20991 * sysdeps/unix/bsd/getpt.c: Likewise.
20992 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
20993 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
20994 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
20995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
20996 Likewise.
20997 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
20998 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
20999 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
21000 * sysvipc/msgctl.c: Likewise.
21001 * sysvipc/msgget.c: Likewise.
21002 * sysvipc/msgrcv.c: Likewise.
21003 * sysvipc/msgsnd.c: Likewise.
21004 * sysvipc/semctl.c: Likewise.
21005 * sysvipc/semget.c: Likewise.
21006 * sysvipc/semop.c: Likewise.
21007 * sysvipc/semtimedop.c: Likewise.
21008 * sysvipc/shmat.c: Likewise.
21009 * sysvipc/shmctl.c: Likewise.
21010 * sysvipc/shmdt.c: Likewise.
21011 * sysvipc/shmget.c: Likewise.
21012 * termios/tcdrain.c: Likewise.
21013 * termios/tcflow.c: Likewise.
21014 * termios/tcflush.c: Likewise.
21015 * termios/tcgetattr.c: Likewise.
21016 * termios/tcgetpgrp.c: Likewise.
21017 * termios/tcsendbrk.c: Likewise.
21018 * termios/tcsetattr.c: Likewise.
21019 * termios/tcsetpgrp.c: Likewise.
21020 * time/adjtime.c: Likewise.
21021 * time/clock.c: Likewise.
21022 * time/getitimer.c: Likewise.
21023 * time/gettimeofday.c: Likewise.
21024 * time/setitimer.c: Likewise.
21025 * time/settimeofday.c: Likewise.
21026 * time/stime.c: Likewise.
21027 * time/time.c: Likewise.
21028
210292012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 21030
a20492cf
PT
21031 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
21032 /usr/old/bin.
21033
72e182e3
PT
21034 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
21035 instead of spaces.
21036 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
21037
fbeafede
JM
210382012-11-03 Joseph Myers <joseph@codesourcery.com>
21039
5b5b04d6
JM
21040 [BZ #14796]
21041 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
21042 FE_TONEAREST before applying Dekker multiplication and Knuth
21043 addition. Clear inexact exceptions and check for exact zero
21044 results afterwards.
21045 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21046 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
21047 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21048 * math/libm-test.inc (fma_test): Add more tests.
21049 (fma_test_towardzero): Likewise.
21050 (fma_test_downward): Likewise.
21051 (fma_test_upward): Likewise.
21052 * sysdeps/generic/math_private.h (default_libc_fesetround): New
21053 function.
21054 (libc_fesetround): New macro.
21055 (libc_fesetroundf): Likewise.
21056 (libc_fesetroundl): Likewise.
21057 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
21058 function.
21059 (libc_fesetround_387): Likewise.
21060 (libc_fesetroundf): New macro.
21061 (libc_fesetround): Likewise.
21062 (libc_fesetroundl): Likewise.
21063 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
21064 function.
21065 (libc_fesetroundf): New macro.
21066 (libc_fesetround): Likewise.
21067 (libc_fesetroundl): Likewise.
21068 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
21069 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
21070 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
21071 libm_hidden_ver.
21072 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
21073 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
21074 libm_hidden_def.
21075 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
21076 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
21077 libm_hidden_ver.
21078 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
21079 libm_hidden_def.
21080
fbeafede
JM
21081 [BZ #3439]
21082 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
21083 integer constant usable in #if and use that to give value to enum
21084 constant.
21085 (FE_DIVBYZERO): Likewise.
21086 (FE_UNDERFLOW): Likewise.
21087 (FE_OVERFLOW): Likewise.
21088 (FE_INVALID): Likewise.
21089 (FE_INVALID_SNAN): Likewise.
21090 (FE_INVALID_ISI): Likewise.
21091 (FE_INVALID_IDI): Likewise.
21092 (FE_INVALID_ZDZ): Likewise.
21093 (FE_INVALID_IMZ): Likewise.
21094 (FE_INVALID_COMPARE): Likewise.
21095 (FE_INVALID_SOFTWARE): Likewise.
21096 (FE_INVALID_SQRT): Likewise.
21097 (FE_INVALID_INTEGER_CONVERSION): Likewise.
21098 (FE_TONEAREST): Likewise.
21099 (FE_TOWARDZERO): Likewise.
21100 (FE_UPWARD): Likewise.
21101 (FE_DOWNWARD): Likewise.
21102 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
21103 (FE_DIVBYZERO): Likewise.
21104 (FE_OVERFLOW): Likewise.
21105 (FE_UNDERFLOW): Likewise.
21106 (FE_INEXACT): Likewise.
21107 (FE_TONEAREST): Likewise.
21108 (FE_DOWNWARD): Likewise.
21109 (FE_UPWARD): Likewise.
21110 (FE_TOWARDZERO): Likewise.
21111 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
21112 (FE_UNDERFLOW): Likewise.
21113 (FE_OVERFLOW): Likewise.
21114 (FE_DIVBYZERO): Likewise.
21115 (FE_INVALID): Likewise.
21116 (FE_TONEAREST): Likewise.
21117 (FE_TOWARDZERO): Likewise.
21118 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
21119 (FE_OVERFLOW): Likewise.
21120 (FE_UNDERFLOW): Likewise.
21121 (FE_DIVBYZERO): Likewise.
21122 (FE_INEXACT): Likewise.
21123 (FE_TONEAREST): Likewise.
21124 (FE_TOWARDZERO): Likewise.
21125 (FE_UPWARD): Likewise.
21126 (FE_DOWNWARD): Likewise.
21127 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
21128 (FE_DIVBYZERO): Likewise.
21129 (FE_OVERFLOW): Likewise.
21130 (FE_UNDERFLOW): Likewise.
21131 (FE_INEXACT): Likewise.
21132 (FE_TONEAREST): Likewise.
21133 (FE_DOWNWARD): Likewise.
21134 (FE_UPWARD): Likewise.
21135 (FE_TOWARDZERO): Likewise.
21136
105ca950
CM
211372012-11-02 Chris Metcalf <cmetcalf@tilera.com>
21138
21139 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
21140
a542b389
AS
211412012-11-03 Andreas Schwab <schwab@linux-m68k.org>
21142
21143 * scripts/cross-test-ssh.sh (command): Use newlines to separate
21144 commands. Quote $PWD.
21145 (blacklist_exports): Don't use remove_newlines. Replace "declare
21146 -x" by "export".
21147 (remove_newlines): Remove.
21148
f62c8abc
L
211492012-11-02 H.J. Lu <hongjiu.lu@intel.com>
21150
21151 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
21152 * stdlib/stdlib.h (atof): Moved to ...
21153 * include/bits/stdlib-float.h: Here. New file.
21154 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
21155 * stdlib/bits/stdlib-float.h: New file.
21156 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
21157 -mno-sse -mno-mmx.
21158 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
21159 <xmmintrin.h>.
21160
0155d5b2
JM
211612012-11-02 Joseph Myers <joseph@codesourcery.com>
21162
a68d0680
JM
21163 * conform/conformtest.pl (@headers): Add fenv.h.
21164 * conform/data/fenv.h-data: New file.
21165 * include/fenv.h [_ISOMAC]: Disable all contents of file except
21166 include of <math/fenv.h>.
21167
caf7f573
JM
21168 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
21169 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
21170 && !UNIX98]. Enables tests for XOPEN2K8.
21171 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
21172 POSIX2008]: Likewise.
21173
6c073ad6
JM
21174 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
21175 (struct rusage): Do not expect type or its members.
21176
0155d5b2
JM
21177 [BZ #3439]
21178 * math/math.h (FP_NAN): Define macro to integer constant usable in
21179 #if and use that to give value to enum constant.
21180 (FP_INFINITE): Likewise.
21181 (FP_ZERO): Likewise.
21182 (FP_SUBNORMAL): Likewise.
21183 (FP_NORMAL): Likewise.
21184
b5dcacb4
AS
211852012-11-02 Andreas Schwab <schwab@linux-m68k.org>
21186
21187 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
21188 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
21189 arguments.
21190
f7934be8
RM
211912012-11-02 Roland McGrath <roland@hack.frob.com>
21192
21193 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
21194 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
21195 autoconf-time if not.
21196 * configure.in: Remove AC_PREREQ.
21197
d7d08bde
TMQMF
211982012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21199
21200 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
21201 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
21202 of the internal implementation.
21203
dcdae19a
JM
212042012-11-02 Joseph Myers <joseph@codesourcery.com>
21205
21206 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
21207 except include of <misc/sys/syslog.h>.
21208
d6cffd3e
AS
212092012-11-01 Andreas Schwab <schwab@linux-m68k.org>
21210
21211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
21212 function returns with a NULL context exit with zero.
21213
b3563932
TMQMF
212142012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21215
21216 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
21217
b288a93d
L
212182012-11-01 H.J. Lu <hongjiu.lu@intel.com>
21219
21220 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
21221 (run_program_cmd): This.
21222 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
21223 (tst_langinfo): New variable. Use it.
21224
a2421a68
SAS
212252012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
21226
21227 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
21228 floating point opcodes.
21229
6f796e1b
TS
212302012-11-01 Thomas Schwinge <thomas@codesourcery.com>
21231
7402596b
TS
21232 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
21233 variable.
21234
d0d4f868
TS
21235 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
21236
6f796e1b
TS
21237 * sysdeps/mach/hurd/powerpc: Remove directory.
21238 * sysdeps/mach/powerpc: Likewise.
21239
4da224a2
AS
212402012-11-01 Andreas Schwab <schwab@linux-m68k.org>
21241
21242 * scripts/check-local-headers.sh: Ignore c++ headers.
21243
341dd673
TS
212442012-11-01 Thomas Schwinge <thomas@codesourcery.com>
21245
21246 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
21247 __libc_cleanup_region_start argument.
21248
473611b2
JM
212492012-11-01 Joseph Myers <joseph@codesourcery.com>
21250
21251 [BZ #14784]
21252 [BZ #14785]
21253 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
21254 x * y using scaling, not as x * y + z.
21255 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21256 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21257 * math/libm-test.inc (fma_test): Add more tests.
21258 (fma_test_towardzero): Likewise.
21259 (fma_test_downward): Likewise.
21260 (fma_test_upward): Likewise.
21261
4078da3d
TS
212622012-11-01 Thomas Schwinge <thomas@codesourcery.com>
21263
21264 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
21265
903252aa
JM
212662012-10-31 Joseph Myers <joseph@codesourcery.com>
21267
21268 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
21269 New variable.
21270
cbc818d0
TS
212712012-10-31 Thomas Schwinge <thomas@codesourcery.com>
21272
21273 * rt/tst-shm.c (worker): Correct checking for mmap failure.
21274
5a03cb1e
AS
212752012-10-31 Andreas Schwab <schwab@linux-m68k.org>
21276
21277 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21278 Fix sort order.
21279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21280 Likewise.
21281
90aff2ff
TMQMF
212822012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21283
21284 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21285 Fix the order of the list for glibc 2.17.
21286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21287 Likewise.
21288
1818fcb7
AS
212892012-10-31 Andreas Schwab <schwab@linux-m68k.org>
21290
21291 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21292
ef82f4da
JM
212932012-10-31 Joseph Myers <joseph@codesourcery.com>
21294
16a0e2ec
JM
21295 [BZ #14610]
21296 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
21297 for low part of x being zero before using __atanl (y).
21298 * math/libm-test.inc (atan2_test): Add another test.
21299
0eb69512
JM
21300 * manual/install.texi (Configuring and compiling): Document
21301 general use of test-wrapper and test-wrapper-env.
21302 * INSTALL: Regenerated.
21303
ef82f4da
JM
21304 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
21305 (__fma): Do not extract and scale down low bits on after-rounding
21306 systems when result rounded to normal precision would have normal
21307 exponent.
21308 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
21309 (__fmal): Do not extract and scale down low bits on after-rounding
21310 systems when result rounded to normal precision would have normal
21311 exponent.
21312 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
21313 (__fmal): Do not extract and scale down low bits on after-rounding
21314 systems when result rounded to normal precision would have normal
21315 exponent.
21316 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
21317 macro.
21318 (fma_test): Add more tests.
21319 (fma_test_towardzero): Likewise.
21320 (fma_test_downward): Likewise.
21321 (fma_test_upward): Likewise.
21322
954ef0d9
L
213232012-10-30 H.J. Lu <hongjiu.lu@intel.com>
21324
21325 * sysdeps/i386/tininess.h: Renamed to ...
21326 * sysdeps/x86/tininess.h: This.
21327 * sysdeps/x86_64/tininess.h: Removed.
21328
df61ffb2
JM
213292012-10-30 Joseph Myers <joseph@codesourcery.com>
21330
21331 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
21332 input. Use $(build-program-cmd).
21333 ($(objpfx)tst-array1-static.out): Likewise.
21334 ($(objpfx)tst-array2.out): Likewise.
21335 ($(objpfx)tst-array3.out): Likewise.
21336 ($(objpfx)tst-array4.out): Likewise.
21337 ($(objpfx)tst-array5.out): Likewise.
21338 ($(objpfx)tst-array5-static.out): Likewise.
21339
01767843
CM
213402012-10-30 Chris Metcalf <cmetcalf@tilera.com>
21341
47cc1490
CM
21342 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
21343 if defined.
21344
01767843
CM
21345 * nss/nsswitch.h (nss_interface_function): Provide new
21346 macro for use with NSS functions.
21347 * grp/initgroups.c: Use new macro.
21348 * nss/getXXbyYY.c: Likewise.
21349 * nss/getXXbyYY_r.c: Likewise.
21350 * nss/getXXent.c: Likewise.
21351 * nss/getXXent_r.c: Likewise.
21352 * sysdeps/posix/getaddrinfo.c: Likewise.
21353
8321aa97
AJ
213542012-10-30 Andreas Jaeger <aj@suse.de>
21355
21356 * po/ru.po: Update Russion translation from translation project.
21357
2a27fd6d
JM
213582012-10-30 Joseph Myers <joseph@codesourcery.com>
21359
8627a232
JM
21360 [BZ #14152]
21361 [BZ #14783]
21362 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
21363 result and shift together with sticky bit instead of replicating
21364 round-to-nearest rounding.
21365 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21366 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21367 * math/libm-test.inc (fma_test): Add more tests. Do not permit
21368 missing underflow exceptions.
21369 (fma_test_towardzero): Add more tests.
21370 (fma_test_downward): Likewise.
21371 (fma_test_upward): Likewise.
21372
2a27fd6d
JM
21373 [BZ #14047]
21374 * sysdeps/generic/tininess.h: New file.
21375 * sysdeps/i386/tininess.h: Likewise.
21376 * sysdeps/sh/tininess.h: Likewise.
21377 * sysdeps/x86_64/tininess.h: Likewise.
21378 * stdlib/tst-strtod-underflow.c: Likewise.
21379 * stdlib/tst-tininess.c: Likewise.
21380 * stdlib/strtod_l.c: Include <tininess.h>.
21381 (round_and_return): Do not set errno for exact underflow cases.
21382 Force an underflow exception when setting errno for underflow.
21383 Determine underflow based on rounding to normal precision if
21384 TININESS_AFTER_ROUNDING.
21385 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
21386 ERANGE for exact underflow cases.
21387 * stdlib/Makefile (tests): Add tst-tininess and
21388 tst-strtod-underflow.
21389 ($(objpfx)tst-tininess): Use $(link-libm).
21390 ($(objpfx)tst-strtod-underflow): Likewise.
21391
e7170363
AJ
213922012-10-30 Andreas Jaeger <aj@suse.de>
21393
e5088dc6
AJ
21394 [BZ#14767]
21395 * elf/Makefile (tests): Remove conditional for have-initfini-array
21396 since this is now always required and the variable does not exist
21397 anymore.
21398 (tests-static): Likewise.
21399 (modules-names): Likewise.
21400
e7170363 21401 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
21402
21403 * elf/tst-array1.c (fini_array): Make writeable so that it can be
21404 merged with constructor/destructor.
21405 (init_array): Likewise.
21406 * elf/tst-array2dep.c (fini_array): Likewise.
21407 (init_array): Likewise.
21408
60457d8a
MF
214092012-10-29 Mike Frysinger <vapier@gentoo.org>
21410
21411 * manual/message.texi: Delete @cartouche tags.
21412
8bece752
PT
214132012-10-29 Pino Toscano <toscano.pino@tiscali.it>
21414
94ce799f
PT
21415 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
21416 EOPNOTSUPP.
21417 * sysdeps/mach/hurd/fsync.c: Likewise.
21418
8bece752
PT
21419 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
21420 [_POSIX_REALTIME_SIGNALS]: Change condition to
21421 [_POSIX_REALTIME_SIGNALS > 0].
21422
86ebe6b1
AJ
214232012-10-27 Andreas Jaeger <aj@suse.de>
21424
21425 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
21426 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
21427 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
21428 [__WORDSIZE != 64]: Likewise.
21429
54399c08
L
214302012-10-26 H.J. Lu <hongjiu.lu@intel.com>
21431
21432 * iconvdata/tst-table.sh: Remove ${SHELL}.
21433 * iconvdata/tst-tables.sh: Likewise.
21434
e2211bed
DM
214352012-10-25 David S. Miller <davem@davemloft.net>
21436
21437 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21438 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
21439 of strtoull.
21440
f303f97c
DM
21441 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
21442 ifunc-impl-list.c
21443 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
21444 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
21445 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
21446 file.
21447
1e9d84cd
RM
214482012-10-25 Roland McGrath <roland@hack.frob.com>
21449
21450 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21451 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
21452 __getdirentries.
21453
df381762
JM
214542012-10-25 Joseph Myers <joseph@codesourcery.com>
21455 Jim Blandy <jimb@codesourcery.com>
21456
21457 * scripts/cross-test-ssh.sh: New file.
21458 * manual/install.texi (Configuring and compiling): Document use of
21459 cross-test-ssh.sh.
21460 * INSTALL: Regenerated.
21461
bff64913
PT
214622012-10-25 Pino Toscano <toscano.pino@tiscali.it>
21463
21464 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
21465 EOPNOTSUPP.
21466
25fe8932
JM
214672012-10-25 Joseph Myers <joseph@codesourcery.com>
21468
21469 * Makeconfig (run-program-prefix): Fix comment.
21470
cc1290d0
JM
214712012-10-24 Joseph Myers <joseph@codesourcery.com>
21472 Jim Blandy <jimb@codesourcery.com>
21473
21474 * Makeconfig (test-wrapper): New variable,
21475 (test-wrapper-env): Likewise.
21476 [$(cross-compiling) = yes && $(test-wrapper) != ""]
21477 (run-built-tests): Define to yes.
21478 (run-program-prefix): Use $(test-wrapper).
21479 (built-program-cmd): Likewise.
21480 * Rules (make-test-out): Use $(test-wrapper-env) and
21481 $(host-built-program-cmd).
21482 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
21483 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
21484 tst-pathopt.sh.
21485 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
21486 $(test-wrapper-env) to tst-rtld-load-self.sh.
21487 ($(objpfx)order2.out): Use $(test-wrapper).
21488 ($(objpfx)tst-initorder.out): Likewise.
21489 ($(objpfx)tst-initorder2.out): Likewise.
21490 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
21491 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
21492 (test_wrapper_env): New variable. Use it to run ld.so.
21493 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
21494 Use it to run ld.so.
21495 (test_wrapper_env): Likewise.
21496 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
21497 $(test-wrapper) to run-iconv-test.sh.
21498 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
21499 (ICONV): Use $test_wrapper.
21500 * posix/Makefile ($(objpfx)globtest.out): Pass
21501 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
21502 globtest.sh, not $(run-program-prefix).
21503 * posix/globtest.sh (run_via_rtld_prefix): New variable.
21504 (test_wrapper): Likewise.
21505 (test_wrapper_env): Likewise. Use it to run globtest with HOME
21506 set together with run_via_rtld_prefix.
21507 (run_program_prefix): Define in terms of test_wrapper and
21508 run_via_rtld_prefix.
21509
6e6249d0
RM
215102012-10-24 Roland McGrath <roland@hack.frob.com>
21511
21512 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
21513 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
21514 Targets removed.
21515
21516 [BZ #14743]
21517 * include/time.h: Remove librt_hidden_proto (clock_gettime).
21518 Declare __clock_getres, __clock_gettime, __clock_settime,
21519 __clock_nanosleep, and __clock_getcpuclockid.
21520 * rt/clock_gettime.c: Define __clock_gettime as an alias.
21521 Remove librt_hidden_def (clock_gettime).
21522 * sysdeps/unix/clock_gettime.c: Likewise.
21523 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
21524 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
21525 * rt/clock_getres.c: Define __clock_getres as an alias.
21526 * sysdeps/posix/clock_getres.c: Likewise.
21527 * rt/clock_settime.c: Define __clock_settime as an alias.
21528 * sysdeps/unix/clock_settime.c: Likewise.
21529 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
21530 * sysdeps/unix/clock_nanosleep.c: Likewise.
21531 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
21532 * rt/clock-compat.c: New file.
21533 * rt/Makefile (librt-routines): Add clock-compat and move
21534 $(clock-routines) to ...
21535 (routines): ... here, new variable.
21536 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
21537 Don't add get_clockfreq here.
21538 * rt/Versions (libc: GLIBC_2.17): New version set.
21539 Add clock_* symbols here.
21540 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
21541 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
21542 (GLIBC_2.17): Add clock_* symbols.
21543 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
21544 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
21545 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
21546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21547 Likewise.
21548 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21549 Likewise.
21550 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
21551 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
21552 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
21553 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
21554 * NEWS: Mention the move.
21555
21556 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
21557 Use __open, __read, __close rather than their public counterparts.
21558 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21559 (__get_clockfreq_via_cpuinfo): Likewise.
21560 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
21561 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
21562
21563 * config.h.in (HAVE_IFUNC): New #undef.
21564 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
21565 was successful.
21566 * configure: Regenerated.
21567
0cae3f4b
MF
215682012-10-24 Mike Frysinger <vapier@gentoo.org>
21569
21570 * configure.in: Move READELF check to start of file.
21571 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
21572 libc_cv_asm_gnu_indirect_function in the process.
21573 * configure: Regenerated.
21574
8175a253
MF
215752012-10-24 Mike Frysinger <vapier@gentoo.org>
21576
21577 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
21578 send the output to /dev/null.
21579 (libc_cv_cc_with_libunwind): Likewise.
21580 (libc_cv_as_noexecstack): Likewise.
21581 * configure: Regenerate.
21582
0708a7d1
JM
215832012-10-24 Joseph Myers <joseph@codesourcery.com>
21584
10b40d85
JM
21585 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
21586
0708a7d1
JM
21587 * posix/globtest.sh (TMPDIR): Do not set.
21588 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
21589 (testout): Likewise.
21590
9fddec1a
AJ
215912012-10-24 Andreas Jaeger <aj@suse.de>
21592
3a8db22f
AJ
21593 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
21594 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
21595 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
21596 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
21597 posix_fadvise64, posix_fallocate64.
21598
9fddec1a
AJ
21599 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
21600 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
21601 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
21602 Likewise.
21603 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
21604 Likewise.
21605 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
21606
21607 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
21608 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
21609 <bits/fcntl-linux.h>.
21610 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
21611
21612 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
21613 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
21614 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
21615 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
21616 [__WORDSIZE != 64]: Likewise.
21617
ebfd1bbd
JM
216182012-10-23 Joseph Myers <joseph@codesourcery.com>
21619
03ac099f
JM
21620 * Makeconfig (run-built-tests): New variable.
21621 * Rules [$(cross-compiling) = yes]: Change condition to
21622 [$(run-built-tests) = no].
21623 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
21624 to [$(run-built-tests) = yes].
21625 * elf/Makefile [$(cross-compiling) = no]: Likewise
21626 * grp/Makefile [$(cross-compiling) = no]: Likewise.
21627 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
21628 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
21629 * intl/Makefile [$(cross-compiling) = no]: Likewise.
21630 * io/Makefile [$(cross-compiling) = no]: Likewise.
21631 * libio/Makefile [$(cross-compiling) = no]: Likewise.
21632 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
21633 * misc/Makefile [$(cross-compiling) = no]: Likewise.
21634 * posix/Makefile [$(cross-compiling) = no]: Likewise.
21635 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
21636 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
21637 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
21638 * string/Makefile [$(cross-compiling) = no]: Likewise.
21639
ebfd1bbd
JM
21640 * posix/Makefile ($(objpfx)globtest.out): Pass
21641 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
21642 $(rtld-installed-name).
21643 * posix/globtest.sh (elf_objpfx): Remove variable.
21644 (rtld_installed_name): Likewise.
21645 (library_path): Likewise.
21646 (run_program_prefix): New variable. Use for running globtest
21647 binary.
21648
166bca24
JB
216492012-10-23 Jim Blandy <jimb@codesourcery.com>
21650 Joseph Myers <joseph@codesourcery.com>
21651
21652 * Makeconfig (host-built-program-cmd): New variable.
21653 * elf/Makefile (tst-stackguard1-ARGS): Use
21654 $(host-built-program-cmd).
21655 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
21656 (tst-spawn-ARGS): Likewise.
21657 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
21658
88866099
JM
216592012-10-23 Joseph Myers <joseph@codesourcery.com>
21660 Jim Blandy <jimb@codesourcery.com>
21661
21662 * Makeconfig (run-via-rtld-prefix): New variable.
21663 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
21664 (built-program-cmd): Likewise.
21665
b4b4c296
AJ
216662012-10-22 Andreas Jaeger <aj@suse.de>
21667
21668 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
21669 __O_RSYNC if it exists, otherwise to O_SYNC.
21670
6fb54a22
JB
216712012-10-22 Jim Blandy <jimb@codesourcery.com>
21672 Joseph Myers <joseph@codesourcery.com>
21673
21674 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
21675 /dev/null.
21676 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
21677 from /dev/null
21678 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
21679 /dev/null.
21680
481b90b9
AJ
216812012-10-22 Andreas Jaeger <aj@suse.de>
21682
2a0e2669
AJ
21683 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
21684 Define always.
21685 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
21686
76e38f9a
AJ
21687 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21688 bits/fcntl-linux.h.
21689
7cd37b43
AJ
21690 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
21691 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
21692
481b90b9
AJ
21693 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
21694 to __O_LARGEFILE.
21695 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
21696 to __O_LARGEFILE.
21697
aba75984
JB
216982012-10-21 Jim Blandy <jimb@codesourcery.com>
21699 Joseph Myers <joseph@codesourcery.com>
21700
21701 * config.make.in (NM): New variable.
21702
88d4247f
AJ
217032012-10-21 Andreas Jaeger <aj@suse.de>
21704
21705 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
21706 definitions and declarations that are provided by
21707 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
21708
f2eed205
L
217092012-10-20 H.J. Lu <hongjiu.lu@intel.com>
21710
21711 [BZ #14683]
21712 * elf/Makefile (tests-static): Add tst-leaks1-static.
21713 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
21714 ($(objpfx)tst-leaks1-static): New rule.
21715 ($(objpfx)tst-leaks1-static-mem): Likewise.
21716 (tst-leaks1-static-ENV): New macro.
21717 * elf/dl-open.c (dl_open_worker): Check the main application
21718 only if SHARED is defined.
21719 * elf/tst-leaks1-static.c: New file.
21720
335e6931
AJ
217212012-10-20 Andreas Jaeger <aj@suse.de>
21722
21723 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
21724 generic values for Linux.
21725 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
21726 and declarations that are provided by <bits/fcntl-linux.h> and
21727 include <bits/fcntl-linux.h>.
21728 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21729 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21730
ac5c94d3
RM
217312012-10-20 Roland McGrath <roland@hack.frob.com>
21732
21733 * io/fcntl.h: Move include of <bits/types.h> to the top and
21734 include it unconditionally.
21735
de54b33a
L
217362012-10-20 H.J. Lu <hongjiu.lu@intel.com>
21737
228cfb01
L
21738 * wcsmbs/Makefile (tests-ifunc): New variable.
21739 (tests): Add $(tests-ifunc).
21740 * wcsmbs/test-wcschr-ifunc.c: New file.
21741 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
21742 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
21743 * wcsmbs/test-wcslen-ifunc.c: Likewise.
21744 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
21745 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
21746
69f07e5f
L
21747 * string/Makefile (tests-ifunc): New variable.
21748 (tests): Add $(tests-ifunc).
21749 * string/test-memccpy.c (TEST_NAME): New macro.
21750 * string/test-memchr.c (TEST_NAME): Likewise.
21751 * string/test-memcmp.c (TEST_NAME): Likewise.
21752 * string/test-memcpy.c (TEST_NAME): Likewise.
21753 * string/test-memmem.c (TEST_NAME): Likewise.
21754 * string/test-memmove.c (TEST_NAME): Likewise.
21755 * string/test-memset.c (TEST_NAME): Likewise.
21756 * string/test-rawmemchr.c (TEST_NAME): Likewise.
21757 * string/test-stpcpy.c (TEST_NAME): Likewise.
21758 * string/test-stpncpy.c (TEST_NAME): Likewise.
21759 * string/test-strcasecmp.c (TEST_NAME): Likewise.
21760 * string/test-strcasestr.c (TEST_NAME): Likewise.
21761 * string/test-strcat.c (TEST_NAME): Likewise.
21762 * string/test-strchr.c (TEST_NAME): Likewise.
21763 * string/test-strcmp.c(TEST_NAME): Likewise.
21764 * string/test-strcpy.c (TEST_NAME): Likewise.
21765 * string/test-strcspn.c (TEST_NAME): Likewise.
21766 * string/test-strlen.c (TEST_NAME): Likewise.
21767 * string/test-strncasecmp.c (TEST_NAME): Likewise.
21768 * string/test-strncmp.c (TEST_NAME): Likewise.
21769 * string/test-strncpy.c (TEST_NAME): Likewise.
21770 * string/test-strnlen.c (TEST_NAME): Likewise.
21771 * string/test-strpbrk.c (TEST_NAME): Likewise.
21772 * string/test-strrchr.c (TEST_NAME): Likewise.
21773 * string/test-strspn.c (TEST_NAME): Likewise.
21774 * string/test-strstr.c (TEST_NAME): Likewise.
21775 * string/test-bcopy-ifunc.c: New file.
21776 * string/test-bzero-ifunc.c: Likewise.
21777 * string/test-memccpy-ifunc.c: Likewise.
21778 * string/test-memchr-ifunc.c: Likewise.
21779 * string/test-memcmp-ifunc.c: Likewise.
21780 * string/test-memcpy-ifunc.c: Likewise.
21781 * string/test-memmem-ifunc.c: Likewise.
21782 * string/test-memmove-ifunc.c: Likewise.
21783 * string/test-mempcpy-ifunc.c: Likewise.
21784 * string/test-memset-ifunc.c: Likewise.
21785 * string/test-rawmemchr-ifunc.c: Likewise.
21786 * string/test-stpcpy-ifunc.c: Likewise.
21787 * string/test-stpncpy-ifunc.c: Likewise.
21788 * string/test-strcasecmp-ifunc.c: Likewise.
21789 * string/test-strcasestr-ifunc.c: Likewise.
21790 * string/test-strcat-ifunc.c: Likewise.
21791 * string/test-strchr-ifunc.c: Likewise.
21792 * string/test-strchrnul-ifunc.c: Likewise.
21793 * string/test-strcmp-ifunc.c: Likewise.
21794 * string/test-strcpy-ifunc.c: Likewise.
21795 * string/test-strcspn-ifunc.c: Likewise.
21796 * string/test-strlen-ifunc.c: Likewise.
21797 * string/test-strncasecmp-ifunc.c: Likewise.
21798 * string/test-strncat-ifunc.c: Likewise.
21799 * string/test-strncmp-ifunc.c: Likewise.
21800 * string/test-strncpy-ifunc.c: Likewise.
21801 * string/test-strnlen-ifunc.c: Likewise.
21802 * string/test-strpbrk-ifunc.c: Likewise.
21803 * string/test-strrchr-ifunc.c: Likewise.
21804 * string/test-strspn-ifunc.c: Likewise.
21805 * string/test-strstr-ifunc.c: Likewise.
21806
de54b33a
L
21807 * debug/Makefile (tests-ifunc): New variable.
21808 (tests): Add $(tests-ifunc).
21809 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
21810 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
21811 * debug/test-stpcpy_chk-ifunc.c: New file.
21812 * debug/test-strcpy_chk-ifunc.c: Likewise.
21813
88481c16
SP
218142012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
21815
21816 [BZ #13601]
21817 * elf/dl-load.c (open_verify): Retry read if the entire ELF
21818 header is not read in.
21819
135948bd
JM
218202012-10-19 Joseph Myers <joseph@codesourcery.com>
21821
89f1c388
JM
21822 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
21823 script to $(SHELL) as $<. Pass $(common-objpfx) to script
21824 directly. Pass built executable to script as
21825 $(built-program-cmd).
21826 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
21827 $testprogram without using LD_LIBRARY_PATH and $ldso.
21828
e40a0d21
JM
21829 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
21830 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
21831 $(rtld-installed-name).
21832 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
21833 (rtld_installed_name): Likewise.
21834 (library_path): Likewise.
21835 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
21836 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
21837 $(run-program-prefix) to tst-tables.sh.
21838 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
21839 it to run tst-table-from and tst-table-to.
21840 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
21841 Pass it to tst-table.sh.
21842 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
21843 $(run-program-prefix) to tst-gettext.sh.
21844 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
21845 tst-translit.sh.
21846 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
21847 tst-gettext2.sh.
21848 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
21849 to run tst-gettext.
21850 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
21851 to run tst-gettext2.
21852 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
21853 to run tst-translit.
21854 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
21855 $(run-program-prefix) to tst-mtrace.sh.
21856 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
21857 to run tst-mtrace.
21858 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
21859 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
21860 $(rtld-installed-name).
21861 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
21862 (rtld_installed_name): Likewise.
21863 (run_program_prefix): New variable. Use it to run wordexp-test.
21864
728e272a
JM
21865 * Makeconfig (ARCH): Remove all definitions.
21866 (machine): Likewise.
21867 [ARCH]: Remove conditional code.
21868 [!objdir]: Give error.
21869 [!objdir] (objpfx): Remove.
21870 [!objdir] (common-objpfx): Likewise.
21871 [!objdir] (common-objdir): Likewise.
21872 * configure.in (config_makefile): Remove. Hardcode Makefile in
21873 AC_CONFIG_FILES call.
21874 * configure: Regenerated.
21875
d528cdcf
JM
21876 [BZ #13888]
21877 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
21878 or TMPDIR.
21879 (testout): Likewise.
21880
135948bd
JM
21881 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
21882 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
21883 $(rtld-installed-name).
21884 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
21885 (rtld_installed_name): Likwise.
21886 (runit): Remove function.
21887 (run_getconf): New variable, Use it for running getconf binary.
21888
38c78296
L
218892012-10-18 H.J. Lu <hongjiu.lu@intel.com>
21890
21891 [BZ #14716]
21892 * string/test-memmem.c (check_result): New function.
21893 (do_one_test): Use it.
21894 (check1): New function.
21895 (test_main): Use it.
21896
d077f65f
MT
218972012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
21898
21899 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
21900
ced52c71
JM
219012012-10-18 Joseph Myers <joseph@codesourcery.com>
21902
21903 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
21904 (_G_LSEEK64): Likewise.
21905 (_G_MMAP64): Likewise.
21906 (_G_FSTAT64): Likewise.
21907 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
21908 (_G_LSEEK64): Likewise.
21909 (_G_MMAP64): Likewise.
21910 (_G_FSTAT64): Likewise.
21911 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
21912 unconditional. Call __mmap64 directly.
21913 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
21914 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
21915 __lseek64 directly.
21916 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
21917 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
21918 __mmap64 directly.
21919 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
21920 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
21921 __lseek64 directly.
21922 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
21923 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
21924 __lseek64 directly.
21925 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
21926 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
21927 __lseek64 directly.
21928 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
21929 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
21930 __fxstat64 directly.
21931 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
21932 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
21933 unconditional.
21934 (freopen64) [!_G_OPEN64]: Remove conditional code.
21935 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
21936 unconditional.
21937 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
21938 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
21939 unconditional.
21940 (ftello64) [!_G_LSEEK64]: Remove conditional code.
21941 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
21942 unconditional.
21943 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
21944 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
21945 unconditional.
21946 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
21947 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
21948 unconditional.
21949 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
21950 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
21951 unconditional.
21952 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
21953 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
21954 unconditional.
21955 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
21956
b741de23
SP
219572012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
21958
21959 [BZ #12140]
21960 * manual/memory.texi (Malloc Tunable Parameters): Add note
21961 about free list pointers overwriting some perturb bytes.
21962 Wording suggested by Roland McGrath.
21963
f9b9d9c9
JM
219642012-10-17 Joseph Myers <joseph@codesourcery.com>
21965
21966 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
21967 (lgamma_test): Likewise.
21968 (tgamma_test): Likewise.
21969
172a631a
FW
219702012-10-16 Florian Weimer <fweimer@redhat.com>
21971
21972 [BZ #14700]
21973 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
21974 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
21975
e9f37252
MK
219762012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
21977
21978 * NEWS: Mention BZ #14716.
21979 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
21980 when removing AVAILABLE1_USES_J macro.
21981
d394eb74
L
219822012-10-12 H.J. Lu <hongjiu.lu@intel.com>
21983
21984 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
21985 (__bswap_64): __uint64_t for unsigned 64-bit int.
21986
ca38dc17
AS
219872012-10-12 Andreas Schwab <schwab@linux-m68k.org>
21988
21989 * include/string.h (memmem): Declare libc hidden alias.
21990 * string/memmem.c (memmem): Define libc hidden alias.
21991 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
21992 __read, __close instead of open, read, close.
21993
9a387d1f
L
219942012-10-11 H.J. Lu <hongjiu.lu@intel.com>
21995
ac49ecaf
L
21996 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
21997 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
21998 global and hidden.
21999 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
22000 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
22001 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
22002 Likewise.
22003 (__rawmemchr_sse2): Likewise.
22004 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
22005 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
22006 (__strchr_sse2): Likewise.
22007 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
22008 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
22009 (__strcasecmp_sse2): Likewise.
22010 (__strncasecmp_sse2): Likewise.
22011 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
22012 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
22013 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
22014 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
22015 (__strrchr_sse2): Likewise.
22016 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
22017 ifunc-impl-list.c.
22018 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
22019 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
22020 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
22021 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
22022 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
22023 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
22024 * sysdeps/x86_64/multiarch/memset.S: Likewise.
22025 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
22026 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
22027 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
22028 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
22029 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
22030 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
22031 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
22032 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
22033 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
22034 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
22035 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
22036 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
22037 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
22038 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
22039 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
22040 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
22041 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
22042 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
22043 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
22044 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
22045 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
22046 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
22047 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
22048
b090e8ea
L
22049 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
22050 global and hidden.
22051 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
22052 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
22053 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
22054 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
22055 Likewise.
22056 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
22057 Likewise.
22058 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
22059 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
22060 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
22061 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
22062 ifunc-impl-list.c.
22063 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
22064 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
22065 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
22066 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
22067 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
22068 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
22069 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
22070 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
22071 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
22072 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
22073 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
22074 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
22075 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
22076 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
22077 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
22078 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
22079 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
22080 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
22081 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
22082 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
22083 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
22084 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
22085 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
22086 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
22087 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
22088 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
22089 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
22090 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
22091 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
22092 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
22093 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
22094 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
22095 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
22096 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
22097 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
22098 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
22099 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
22100 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
22101 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
22102 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
22103 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
22104
11dd4af6
L
22105 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
22106 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
22107 * include/ifunc-impl-list.h: New file.
22108 * misc/ifunc-impl-list.c: Likewise.
22109 * misc/Makefile (routines): Add ifunc-impl-list.
22110 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
22111 * string/test-string.h: Include <ifunc-impl-list.h>.
22112 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
22113 impl_array): New variables.
22114 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
22115 are defined.
22116 (test_init): Call __libc_ifunc_impl_list to initialize
22117 func_list if TEST_IFUNC and TEST_NAME are defined.
22118
9a387d1f
L
22119 * string/Makefile (strop-tests): Add bcopy and bzero.
22120 * string/test-bcopy.c: New file.
22121 * string/test-bzero.c: Likewise.
22122 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
22123 defined.
22124 * string/test-memset.c: Support bzero test if TEST_BZERO is
22125 defined.
22126 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
22127 __libc_memmove.
22128 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
22129 __libc_memset.
22130 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
22131 of memset.
22132
472371b9
JM
221332012-10-10 Joseph Myers <joseph@codesourcery.com>
22134
1e4a9536
JM
22135 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
22136 * configure: Regenerated.
22137
d173d12e
JM
22138 * Makeconfig (+link-static-before-libc): Don't include
22139 $(link-static-libc).
22140
472371b9
JM
22141 * libio/libio.h (_IO_pos_t): Remove.
22142
89a3ad0b
AO
221432012-10-10 Alexandre Oliva <aoliva@redhat.com>
22144
22145 * NEWS: Add note about FIPS mode. Wording suggested by Roland
22146 McGrath.
22147
e7451425
AO
221482012-10-10 Alexandre Oliva <aoliva@redhat.com>
22149
22150 * crypt/crypt-entry.c: Include fips-private.h.
22151 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
22152 * crypt/md5c-test.c (main): Tolerate disabled MD5.
22153 * sysdeps/unix/sysv/linux/fips-private.h: New file.
22154 * sysdeps/generic/fips-private.h: New file, dummy fallback.
22155
4ba74a35
AO
221562012-10-10 Alexandre Oliva <aoliva@redhat.com>
22157
22158 * crypt/crypt-private.h: Include stdbool.h.
22159 (_ufc_setup_salt_r): Return bool.
22160 * crypt/crypt-entry.c: Include errno.h.
22161 (__crypt_r): Return NULL with EINVAL for bad salt.
22162 * crypt/crypt_util.c (bad_for_salt): New.
22163 (_ufc_setup_salt_r): Check that salt is long enough and within
22164 the specified alphabet.
22165 * crypt/badsalttest.c: New file.
22166 * crypt/Makefile (tests): Add it.
22167 ($(objpfx)badsalttest): New.
22168
f96f1242
MK
221692012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
22170
22171 * NEWS: Add entry for BZ #14602.
22172
0e8e0c1c
JM
221732012-10-09 Joseph Myers <joseph@codesourcery.com>
22174
22175 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
22176 type-generic.
22177 * math/libm-test.inc: Update comment listing what functions and
22178 macros are tested.
22179 (isgreater_test): New function.
22180 (isgreaterequal_test): Likewise.
22181 (isless_test): Likewise.
22182 (islessequal_test): Likewise.
22183 (islessgreater_test): Likewise.
22184 (isunordered_test): Likewise.
22185 (main): Call the new functions.
22186
273edc5e
RM
221872012-10-09 Roland McGrath <roland@hack.frob.com>
22188
b8493de0
RM
22189 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
22190 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
22191 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
22192 * sysdeps/i386/configure: Regenerated.
22193 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
22194 * sysdeps/mach/configure: Regenerated.
22195 * sysdeps/mach/hurd/configure: Regenerated.
22196 * sysdeps/powerpc/configure: Regenerated.
22197 * sysdeps/powerpc/powerpc32/configure: Regenerated.
22198 * sysdeps/powerpc/powerpc64/configure: Regenerated.
22199 * sysdeps/s390/s390-32/configure: Regenerated.
22200 * sysdeps/s390/s390-64/configure: Regenerated.
22201 * sysdeps/sh/configure: Regenerated.
22202 * sysdeps/sparc/configure: Regenerated.
22203 * sysdeps/unix/sysv/linux/configure: Regenerated.
22204 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
22205 * sysdeps/x86_64/configure: Regenerated.
22206
273edc5e
RM
22207 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
22208 defined. Don't check if MAP is NULL.
22209
c8450f70
JM
222102012-10-09 Joseph Myers <joseph@codesourcery.com>
22211
22212 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
22213 (_G_stat64): Likewise.
22214 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
22215 (_G_stat64): Likewise.
22216 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
22217 instead of struct _G_stat64.
22218 * libio/fileops.c (mmap_remap_check): Likewise.
22219 (decide_maybe_mmap): Likewise.
22220 (_IO_new_file_seekoff): Likewise.
22221 (_IO_file_stat): Likewise.
22222 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
22223 _G_off64_t.
22224 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
22225 instead of struct _G_stat64.
22226 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
22227
57e605ba
MK
222282012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
22229
22230 [BZ #14602]
22231 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
22232 Replace with ...
22233 (CHECK_EOL): New macro.
22234 (two_way_short_needle): Check beginning of haystack for EOL. Use
22235 CHECK_EOL.
22236 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
22237 Replace with CHECK_EOL.
22238 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
22239 Replace with CHECK_EOL.
22240
ef1bb361
JM
222412012-10-08 Joseph Myers <joseph@codesourcery.com>
22242
22243 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
22244 type-generic.
22245 * math/libm-test.inc: Update comment listing what functions and
22246 macros are tested.
22247 (finite_test): New function.
22248 (isinf_test): Likewise.
22249 (isnan_test): Likewise.
22250 (fpclassify_test): Test subnormal input.
22251 (isfinite_test): Likewise.
22252 (isnormal_test): Likewise.
22253 (main): Call the new functions.
22254
55f11534
JN
222552012-10-08 Jonathan Nieder <jrnieder@gmail.com>
22256
22257 [BZ #14660]
22258 * Makerules (%.dynsym): Force C locale when running
22259 $(OBJDUMP) --dynamic-syms.
22260
1ab29350
AS
222612012-10-08 Andreas Schwab <schwab@linux-m68k.org>
22262
22263 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
22264 <stdint.h>.
22265
f1ecb7ef
DM
222662012-10-06 David S. Miller <davem@davemloft.net>
22267
22268 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
22269 upper 32-bits of the length value in %o2 since we use branch-on-register
22270 tests which consider the entire 64-bit register.
22271
5d41d91a
L
222722012-10-06 H.J. Lu <hongjiu.lu@intel.com>
22273
22274 * string/test-strstr.c (check2): Add a test for page boundary.
22275
3baddb72
DM
222762012-10-05 David S. Miller <davem@davemloft.net>
22277
22278 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
22279 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
22280 file.
22281 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
22282 sysdep_routines.
22283 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
22284 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
22285 and bzero when HWCAP_SPARC_CRYPTO is present.
22286
9cee5585
L
222872012-10-05 H.J. Lu <hongjiu.lu@intel.com>
22288
d7e0dab9
L
22289 [BZ #14602]
22290 * string/test-strstr.c (check2): New function.
22291 (test_main): Call check2.
22292
03759f47
L
22293 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
22294 and bug-strchr1.
22295 * string/bug-strcasestr1.c (do_test): Moved to ...
22296 * string/test-strcasestr.c (check1): Here. New function.
22297 (do_one_test): Break out result checking code into ...
22298 (check_result): This. New function.
22299 (do_one_test): Call check_result.
22300 (test_main): Call check1.
22301 * string/bug-strchr1.c (do_test): Moved to ...
22302 * string/test-strchr.c (check1): Here. New function.
22303 (do_one_test): Break out result checking code into ...
22304 (check_result): This. New function.
22305 (do_one_test): Call check_result.
22306 (test_main): Call check1.
22307 * string/bug-strstr1.c (main): Moved to ...
046f153e 22308 * string/test-strstr.c (check1): Here. New function.
03759f47
L
22309 (do_one_test): Break out result checking code into ...
22310 (check_result): This. New function.
22311 (do_one_test): Call check_result.
22312 (test_main): Call check1.
22313 * string/bug-strcasestr1.c: Removed.
22314 * string/bug-strchr1.c: Likewise.
22315 * string/bug-strstr1.c: Likewise.
22316
53cea63e
L
22317 * elf/Makefile (dl-routines): Add hwcaps.
22318 * elf/dl-support.c (_dl_important_hwcaps): Removed.
22319 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
22320 (_dl_important_hwcaps): Moved to ...
22321 * elf/dl-hwcaps.c: Here. New file.
22322 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
22323
9cee5585 22324 [BZ #14557]
bb859b06
L
22325 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
22326 if IS_IN_rtld isn't defined.
22327
9cee5585
L
22328 * elf/dl-support.c (_dl_sysinfo_map): New.
22329 Include "get-dynamic-info.h" and "setup-vdso.h".
22330 (_dl_non_dynamic_init): Call setup_vdso.
22331 * elf/dynamic-link.h: Don't include <assert.h>.
22332 (elf_get_dynamic_info): Moved to ...
22333 * elf/get-dynamic-info.h: Here. New file.
22334 * elf/dynamic-link.h: Include "get-dynamic-info.h".
22335 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
22336 * elf/setup-vdso.h: Here. New file.
22337 * elf/rtld.c: Include "setup-vdso.h".
22338 (dl_main): Call setup_vdso.
22339
23c31b76
JM
223402012-10-05 Joseph Myers <joseph@codesourcery.com>
22341
28234b07
JM
22342 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
22343 creal in comment listing functions tested. List finite, isinf,
22344 isnan, isless, islessequal, isgreater, isgreaterequal,
22345 islessgreater, isunordered, lgamma_r and pow10 as functions and
22346 macros not tested. Mention which functions not tested are aliases
22347 for other functions. Fix typo. Note that signs of NaNs are not
22348 tested.
22349
23c31b76
JM
22350 * scripts/config.guess: Update from config.git.
22351 * scripts/config.sub: Likewise.
22352
9043e228
RM
223532012-10-04 Roland McGrath <roland@hack.frob.com>
22354
22355 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
22356 * misc/madvise.c (madvise): Renamed to __madvise.
22357 Make madvise a weak alias.
22358 * include/sys/mman.h: Declare __madvise.
22359 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
22360 * sysdeps/unix/syscalls.list
22361 (madvise): Make __madvise the strong name, and madvise a weak alias.
22362 * sysdeps/unix/sysv/linux/syscalls.list
22363 (madvise, mmap): Remove redundant entries.
22364 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
22365 * malloc/malloc.c (mtrim): Likewise.
22366 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
22367
f57f8055
RM
223682012-10-03 Roland McGrath <roland@hack.frob.com>
22369
22370 * sysdeps/mach/hurd/dl-cache.c: File removed.
22371 * config.h.in (USE_LDCONFIG): New #undef.
22372 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
22373 * configure: Regenerated.
22374 * elf/Makefile (dl-routines): Add dl-cache only under
22375 [$(use-ldconfig) = yes].
22376 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
22377 cache on [USE_LDCONFIG].
22378 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
22379 [USE_LDCONFIG].
22380 * elf/rtld.c (dl_main): Likewise.
22381
5bb0c10a
PT
223822012-10-03 Pino Toscano <toscano.pino@tiscali.it>
22383
22384 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
22385 _SC_LEVEL4_CACHE_LINESIZE.
22386
010188c6
RM
223872012-10-03 Roland McGrath <roland@hack.frob.com>
22388
22389 * sysdeps/unix/bsd/confstr.h: File removed.
22390
b6c5ec07
AO
223912012-10-02 Alexandre Oliva <aoliva@redhat.com>
22392
22393 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
22394 sys/sdt-config.h.
22395
408223d4
RM
223962012-10-02 Roland McGrath <roland@hack.frob.com>
22397
22398 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
22399 Make 'mapoff' field ElfW(Off) rather than off_t.
22400
bb9510dc
DL
224012012-10-02 Dmitry V. Levin <ldv@altlinux.org>
22402
fc997c6e
DL
22403 * nscd/Makefile: Remove nscd-cflags and all its users.
22404 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
22405 (CFLAGS-nonlib): Add compiler flags for nscd modules.
22406
bb9510dc
DL
22407 [BZ #10631]
22408 * malloc.c (malloc_printerr): Clarify error message.
22409
05699367
L
224102012-10-02 H.J. Lu <hongjiu.lu@intel.com>
22411
22412 [BZ #14648]
22413 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22414 Set bit_FMA_Usable if FMA is supported.
22415 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
22416 macro.
22417 (bit_FMA4_Usable): Updated.
22418 (index_FMA_Usable): New macro.
22419 (CPUID_FMA): Likewise
22420 (HAS_FMA): Defined with bit_FMA_Usable.
22421
51367701
RM
224222012-10-01 Roland McGrath <roland@hack.frob.com>
22423
22424 * bits/types.h (__swblk_t): Type removed.
22425 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
22426 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
22427 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22428 (__SWBLK_T_TYPE): Likewise.
22429 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
22430 (__SWBLK_T_TYPE): Likewise.
22431 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22432 (__SWBLK_T_TYPE): Likewise.
22433 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22434 (__SWBLK_T_TYPE): Likewise.
22435
4d57bf63 224362012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 22437 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
22438
22439 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
22440 (xdr_mapname): Use YPMAXMAP as maxsize.
22441 (xdr_peername): Use YPMAXPEER as maxsize.
22442 (xdr_keydat): Use YPAXRECORD as maxsize.
22443 (xdr_valdat): Use YPMAXRECORD as maxsize.
22444
93c65d43
RM
224452012-10-01 Roland McGrath <roland@hack.frob.com>
22446
497a03d6
RM
22447 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
22448
93c65d43
RM
22449 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
22450 * csu/init-first.c: ... here.
22451 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
22452 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
22453 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
22454 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
22455 * sysdeps/i386/init-first.c: File removed.
22456 * sysdeps/sh/init-first.c: File removed.
22457
bec749fd
JM
224582012-10-01 Joseph Myers <joseph@codesourcery.com>
22459
22460 [BZ #14645]
22461 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
22462 if x * y might underflow to zero and z is zero.
22463 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22464 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22465 * math/libm-test.inc (min_subnorm_value): New variable.
22466 (fma_test): Add more tests.
22467 (fma_test_towardzero): Likewise.
22468 (fma_test_downward): Likewise
22469 (fma_test_upward): Likewise.
22470 (initialize): Set min_subnorm_value.
22471
8ec5b013
JM
224722012-09-29 Joseph Myers <joseph@codesourcery.com>
22473
22474 [BZ #14638]
22475 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
22476 0 + 0.
22477 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
22478 mode for addition resulting in exact zero.
22479 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
22480 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
22481 exact 0 + 0.
22482 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
22483 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22484 * math/libm-test.inc (fma_test): Add more tests.
22485 (fma_test_towardzero): New function.
22486 (fma_test_downward): Likewise.
22487 (fma_test_upward): Likewise.
22488 (main): Call the new functions.
22489
b1fa802e
DM
224902012-09-28 David S. Miller <davem@davemloft.net>
22491
22492 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
22493
d3b9fd9e
RM
224942012-09-28 Roland McGrath <roland@hack.frob.com>
22495
ea4d37b3
RM
22496 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
22497 instead of SIGALRM.
22498
ac51c949
RM
22499 * sysdeps/gnu/_G_config.h: Moved to ...
22500 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
22501 * sysdeps/mach/hurd/_G_config.h: Moved to ...
22502 * sysdeps/generic/_G_config.h: ... here.
22503
28c195f7
RM
22504 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
22505
848917f9
RM
22506 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
22507
6bacf05b
RM
22508 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
22509 Conditionalize target on [libnss_test1.so-version].
22510
91363dbb
RM
22511 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
22512
cc87f7d8
RM
22513 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
22514 (elfobjdir): Move out of conditionals.
22515
b1c608fe
RM
22516 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
22517 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
22518 (__nss_lookup_function): Conditionalize label remove_from_tree on
22519 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 22520
1d9a6d96
DM
225212012-09-28 David S. Miller <davem@davemloft.net>
22522
22523 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
22524 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
22525 file.
22526 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
22527 sysdep_routines.
22528 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
22529 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
22530 when HWCAP_SPARC_CRYPTO is present.
22531
72581615
PT
225322012-09-28 Pino Toscano <toscano.pino@tiscali.it>
22533
22534 * io/tst-mknodat.c: Create a FIFO instead of a socket.
22535
715a900c
JL
225362012-09-28 Andreas Schwab <schwab@linux-m68k.org>
22537
22538 [BZ #6530]
22539 * stdio-common/vfprintf.c (process_string_arg): Revert
22540 2000-07-22 change.
22541
225422011-09-28 Jonathan Nieder <jrnieder@gmail.com>
22543
22544 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
22545 for testcase.
22546 * stdio-common/tst-sprintf.c: Include <locale.h>
22547 (main): Test sprintf's handling of incomplete multibyte
22548 characters.
22549
9bac1d86
L
225502012-09-28 H.J. Lu <hongjiu.lu@intel.com>
22551
22552 * elf/dl-runtime.c (VERSYMIDX): Removed.
22553 * elf/dl-version.c (VERSYMIDX): Likewise.
22554 * elf/do-rel.h (VERSYMIDX): Likewise.
22555 (VALIDX): Likewise.
22556 * elf/dynamic-link.h (VERSYMIDX): Likewise.
22557 * elf/rtld.c (VALIDX): Likewise.
22558 (ADDRIDX): Likewise.
9bac1d86
L
22559 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
22560 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
22561 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
22562 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
22563 (VALIDX): Likewise.
22564 (ADDRIDX): Likewise.
9bac1d86 22565
b31606c0
PT
225662012-09-28 Pino Toscano <toscano.pino@tiscali.it>
22567
22568 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
22569
11541177
JL
225702012-09-28 Dmitry V. Levin <ldv@altlinux.org>
22571
22572 [BZ #11438]
22573 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
22574 to global scope.
22575 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
22576 addresses are in the same scope as 192.0.2/24.
22577 * posix/gai.conf: Document new scope table defaults.
22578
adb26fae
SP
225792012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22580
22581 [BZ #5298]
22582 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
22583 for ftell. Compute offsets from write pointers instead.
22584 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
22585
4573c6b0
SP
225862012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22587
22588 [BZ #14543]
22589 * libio/Makefile (tests): New test case tst-fseek.
22590 * libio/tst-fseek.c: New test case to verify that fseek/ftell
22591 combination works in wide mode.
22592 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
22593 state when the external buffer state changes.
22594
aa9bbfe6
DM
225952012-09-27 David S. Miller <davem@davemloft.net>
22596
22597 [BZ #14376]
22598 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
22599 pass reloc->r_addend in as the 'high' argument to
22600 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
22601
784421e7
DM
22602 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22603
c39bc8b8
PT
226042012-09-28 Pino Toscano <toscano.pino@tiscali.it>
22605
22606 * rt/tst-aio2.c: Include <pthread.h>.
22607 * rt/tst-aio3.c: Likewise.
22608
1ccc2399
SE
226092012-09-27 Steve Ellcey <sellcey@mips.com>
22610
22611 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
22612
31ed4153
L
226132012-09-27 H.J. Lu <hongjiu.lu@intel.com>
22614
25f5f885
L
22615 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
22616 contents on [SHARED].
31ed4153 22617
b7bfe116
MP
226182012-09-26 Marek Polacek <polacek@redhat.com>
22619
22620 [BZ #14530]
22621 [BZ #13741]
22622 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
22623 for C++ and GCC <4.3 as well as for non GCC compilers.
22624
43c4edba
MT
226252012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
22626
22627 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22628
6a1bf82f
RM
226292012-09-25 Roland McGrath <roland@hack.frob.com>
22630
22631 * Makefile.in (all, install): Declare with .PHONY.
22632 Reported by Michael Hope <michael.hope@linaro.org>.
22633
8ad11b9a
TMQMF
226342012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22635
22636 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
22637 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
22638 system header.
22639 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
22640 Likewise.
22641 (sydep_routines): Add the new and the internal functions.
22642 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
22643 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
22644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
22645 (GLIBC_2.17): Add the new function.
22646 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
22647 (GLIBC_2.17): Likewise.
22648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
22649 (GLIBC_2.17): Likewise.
22650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
22651 (GLIBC_2.17): Likewise.
22652 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
22653
7e2fca8d
AM
226542012-09-25 Alan Modra <amodra@gmail.com>
22655
22656 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
22657 Add release barrier before setting once_control to say
22658 initialisation is done. Add hints on lwarx. Use macro in
22659 place of isync.
22660 (clear_once_control): Add release barrier.
22661
b87c4b24
JM
226622012-09-25 Joseph Myers <joseph@codesourcery.com>
22663
d032e0d2
JM
22664 [BZ #13629]
22665 * math/s_clog.c (__clog): Handle more values close to |z| = 1
22666 specially.
22667 * math/s_clog10.c (__clog10): Likewise.
22668 * math/s_clog10f.c (__clog10f): Likewise.
22669 * math/s_clog10l.c (__clog10l): Likewise.
22670 * math/s_clogf.c (__clogf): Likewise.
22671 * math/s_clogl.c (__clogl): Likewise.
22672 * math/Makefile (libm-calls): Add x2y2m1.
22673 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
22674 (__x2y2m1): Likewise.
22675 (__x2y2m1l): Likewise.
22676 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
22677 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
22678 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
22679 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
22680 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
22681 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
22682 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
22683 * sysdeps/i386/fpu/libm-test-ulps: Update.
22684 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22685
b87c4b24
JM
22686 [BZ #14621]
22687 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
22688 int as type of variable DEPTH.
22689 (glob): Use size_t instead of int as type of variables NEWCOUNT
22690 and OLD_PATHC.
22691
6d3bf199
LD
226922012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22693
22bf5c17
LD
22694 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
22695 Add s_sincosf-sse2.
22696 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
22697 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
22698 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
22699 macros for using routine as __sincosf_ia32.
22700 Use macro for function declaration and weak_alias.
22701 * sysdeps/i386/fpu/libm-test-ulps: Update.
22702
22703 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
22704 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22705
22706 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
22707 subnormal argument.
22708 * math/s_cexpf.c (__cexpf): Likewise.
22709 * math/s_csinf.c (__csinf): Likewise.
22710 * math/s_csinhf.c (__csinhf): Likewise.
22711 * math/s_ctanf.c (__ctanf): Likewise.
22712 * math/s_ctanhf.c (__ctanhf): Likewise.
22713 * math/s_ccosh.c (__ccoshf): Likewise.
22714 * math/s_cexp.c (__cexpl): Likewise.
22715 * math/s_csin.c (__csin): Likewise.
22716 * math/s_csinh.c (__csinh): Likewise.
22717 * math/s_ctan.c (__ctan): Likewise.
22718 * math/s_ctanh.c (ctanh): Likewise.
22719 * math/s_ccoshl.c (__ccoshl): Likewise.
22720 * math/s_cexpl.c (__cexpl): Likewise.
22721 * math/s_csinl.c (__csinl): Likewise.
22722 * math/s_csinhl.c (__csinhl): Likewise.
22723 * math/s_ctanl.c (__ctanl): Likewise.
22724 * math/s_ctanhl.c (__ctanhl): Likewise.
22725
203e5603
JM
227262012-09-25 Joseph Myers <joseph@codesourcery.com>
22727
22728 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
22729 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
22730 (_IO_off_t): Define to __off_t, not _G_off_t.
22731 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
22732 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
22733 (_IO_wint_t): Define to wint_t, not _G_wint_t.
22734 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
22735 type of __dummy and __dummy2 fields.
22736 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
22737 (_G_ssize_t): Likewise.
22738 (_G_off_t): Likewise.
22739 (_G_pid_t): Likewise.
22740 (_G_uid_t): Likewise.
22741 (_G_wchar_t): Likewise.
22742 (_G_wint_t): Likewise.
22743 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
22744 (_G_ssize_t): Likewise.
22745 (_G_off_t): Likewise.
22746 (_G_pid_t): Likewise.
22747 (_G_uid_t): Likewise.
22748 (_G_wchar_t): Likewise.
22749 (_G_wint_t): Likewise.
22750 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
22751 (_G_ssize_t): Likewise.
22752 (_G_off_t): Likewise.
22753 (_G_pid_t): Likewise.
22754 (_G_uid_t): Likewise.
22755 (_G_wchar_t): Likewise.
22756 (_G_wint_t): Likewise.
22757
9fab36eb
SP
227582012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
22759
22760 * malloc/arena.c: Include malloc-sysdep.h.
22761 (shrink_heap): Use check_may_shrink_heap to decide if madvise
22762 is sufficient to shrink the heap or an unmap is needed.
22763 * sysdeps/generic/malloc-sysdep.h: New file. Define
22764 new function check_may_shrink_heap.
22765 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
22766 new function check_may_shrink_heap.
22767
2b4f00d1
SP
227682012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
22769
22770 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
22771 comments.
22772
9a9028b1
DL
227732012-09-24 Dmitry V. Levin <ldv@altlinux.org>
22774
57c69bef
DL
22775 * catgets/test-gencat.sh: Add "set -e".
22776 * elf/tst-pathopt.sh: Likewise.
22777 * grp/tst_fgetgrent.sh: Likewise.
22778 * iconvdata/run-iconv-test.sh: Likewise.
22779 * intl/tst-gettext.sh: Likewise.
22780 * intl/tst-gettext2.sh: Likewise.
22781 * intl/tst-gettext4.sh: Likewise.
22782 * intl/tst-gettext6.sh: Likewise.
22783 * intl/tst-translit.sh: Likewise.
22784 * io/ftwtest-sh: Likewise.
22785 * libio/test-freopen.sh: Likewise.
22786 * malloc/tst-mtrace.sh: Likewise.
22787 * posix/globtest.sh: Likewise.
22788 * posix/tst-getconf.sh: Likewise.
22789 * posix/wordexp-tst.sh: Likewise.
22790 * stdio-common/tst-printf.sh: Likewise.
22791 * stdio-common/tst-unbputc.sh: Likewise.
22792 * stdlib/tst-fmtmsg.sh: Likewise.
22793 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
22794 * catgets/Makefile: Do not specify -e option when running
22795 testsuite shell scripts.
22796 * elf/Makefile: Likewise.
22797 * grp/Makefile: Likewise.
22798 * iconvdata/Makefile: Likewise.
22799 * intl/Makefile: Likewise.
22800 * io/Makefile: Likewise.
22801 * libio/Makefile: Likewise.
22802 * malloc/Makefile: Likewise.
22803 * posix/Makefile: Likewise.
22804 * stdio-common/Makefile: Likewise.
22805 * stdlib/Makefile: Likewise.
22806 * sysdeps/x86_64/Makefile: Likewise.
22807
9a9028b1
DL
22808 * io/ftwtest-sh: Add copyright header.
22809 * posix/globtest.sh: Likewise.
22810 * posix/tst-getconf.sh: Likewise.
22811 * posix/wordexp-tst.sh: Likewise.
22812 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
22813
ced6f16e
L
228142012-09-24 H.J. Lu <hongjiu.lu@intel.com>
22815
94b32c39
L
22816 [BZ #13679]
22817 * Makeconfig (+link): Defined as $(+link-static) if
22818 $(build-shared) isn't yes.
22819 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
22820 isn't yes.
22821 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
22822
189e935b
L
22823 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
22824
ced6f16e
L
22825 [BZ #14562]
22826 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
22827 new chunk size with MALLOC_ALIGN_MASK.
22828
a9f8e53a
JM
228292012-09-24 Joseph Myers <joseph@codesourcery.com>
22830
22831 [BZ #5044]
22832 * stdio-common/printf_fphex.c: Include <stdbool.h> and
22833 <rounding-mode.h>.
22834 (__printf_fphex): Determine rounding using get_rounding_mode and
22835 round_away.
22836 * stdio-common/tst-printf-round.c (struct hex_test): New
22837 structure.
22838 (hex_tests): New variable.
22839 (test_hex_in_one_mode): New function.
22840 (do_test): Also run tests for hex float output.
22841
43153109
JM
228422012-09-21 Joseph Myers <joseph@codesourcery.com>
22843
22844 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
22845 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
22846 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
22847 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
22848 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
22849 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
22850 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
22851 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
22852
8a26625d
JM
228532012-09-20 Joseph Myers <joseph@codesourcery.com>
22854
22855 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
22856 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
22857 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
22858 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
22859
f3fd569c
DL
228602012-09-19 Dmitry V. Levin <ldv@altlinux.org>
22861
22862 [BZ #14579]
22863 * elf/rtld.c (dl_main): Limit the check for self loading to normal
22864 mode only.
22865 * elf/tst-rtld-load-self.sh: New test.
22866 * elf/Makefile: Run it.
22867
63bbedd4
JM
228682012-09-18 Joseph Myers <joseph@codesourcery.com>
22869
22870 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
22871 (tst-writev-ENV): Remove.
22872 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
22873
626f8b6a
CM
228742012-09-17 Chris Metcalf <cmetcalf@tilera.com>
22875
22876 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
22877
b7aaa4d6
JM
228782012-09-17 Joseph Myers <joseph@codesourcery.com>
22879
22880 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
22881 unconditional.
22882 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
22883 Likewise.
22884 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
22885 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
22886 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
22887 Likewise.
22888
65513990
L
228892012-09-14 H.J. Lu <hongjiu.lu@intel.com>
22890
22891 [BZ #14587]
22892 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
22893 * config.make.in (have-cpp-asm-debuginfo): Removed.
22894 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
22895 * configure: Regenerated.
22896
784761be
JM
228972012-09-14 Joseph Myers <joseph@codesourcery.com>
22898
22899 [BZ #5044]
22900 * stdio-common/printf_fp.c: Include <stdbool.h> and
22901 <rounding-mode.h>.
22902 (___printf_fp): Determine rounding using get_rounding_mode and
22903 round_away.
22904 * stdio-common/tst-printf-round.c: New file.
22905 * stdio-common/Makefile (tests): Add tst-printf-round.
22906 (link-libm): New variable.
22907 ($(objpfx)tst-printf-round): Depend in $(link-libm).
22908
9503345f
L
229092012-09-13 H.J. Lu <hongjiu.lu@intel.com>
22910
22911 [BZ #14576]
22912 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
22913 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
22914 Likewise.
22915 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
22916 Likewise.
22917
ad35fc00
JM
229182012-09-13 Joseph Myers <joseph@codesourcery.com>
22919
22920 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
22921 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
22922 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
22923 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
22924
6c9b0f68
JM
229252012-09-12 Joseph Myers <joseph@codesourcery.com>
22926
22927 [BZ #14518]
22928 * include/rounding-mode.h: New file.
22929 * sysdeps/generic/get-rounding-mode.h: Likewise.
22930 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
22931 * stdlib/strtod_l.c: Include <rounding-mode.h>.
22932 (MAX_VALUE): New macro.
22933 (MIN_VALUE): Likewise.
22934 (overflow_value): New function.
22935 (underflow_value): Likewise.
22936 (round_and_return): Use overflow_value and underflow_value to
22937 determine return values in overflow and underflow cases. Use
22938 round_away to determine rounding depending on rounding mode.
22939 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
22940 determine return values in overflow and underflow cases.
22941 * stdlib/tst-strtod-round.c: Include <fenv.h>.
22942 (struct test_results): New structure.
22943 (struct test): Use struct test_results to store expected results
22944 for all rounding modes.
22945 (TEST): Include expected results for all rounding modes.
22946 (test_in_one_mode): New function.
22947 (do_test): Use test_in_one_mode to compute and check results.
22948 Check results for all rounding modes.
22949 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
22950 $(link-libm).
22951
19fcedd5
AM
229522012-12-09 Allan McRae <allan@archlinux.org>
22953
1e9d84cd 22954 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 22955
8bbfd2f1
JM
229562012-09-11 Joseph Myers <joseph@codesourcery.com>
22957
22958 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
22959 (_G_int32_t): Likewise.
22960 (_G_uint16_t): Likewise.
22961 (_G_uint32_t): Likewise.
22962 (_G_HAVE_BOOL): Likewise.
22963 (_G_HAVE_ATEXIT): Likewise.
22964 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
22965 (_G_HAVE_IO_FILE_OPEN): Likewise.
22966 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
22967 (_G_int32_t): Likewise.
22968 (_G_uint16_t): Likewise.
22969 (_G_uint32_t): Likewise.
22970 (_G_HAVE_BOOL): Likewise.
22971 (_G_HAVE_ATEXIT): Likewise.
22972 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
22973 (_G_HAVE_IO_FILE_OPEN): Likewise.
22974 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
22975 (_G_int32_t): Likewise.
22976 (_G_uint16_t): Likewise.
22977 (_G_uint32_t): Likewise.
22978 (_G_HAVE_BOOL): Likewise.
22979 (_G_HAVE_ATEXIT): Likewise.
22980 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
22981 (_G_HAVE_IO_FILE_OPEN): Likewise.
22982
b1dc5912
L
229832012-09-11 H.J. Lu <hongjiu.lu@intel.com>
22984
22985 * csu/libc-tls.c: Update copyright years.
22986
0e886ef9
JM
229872012-09-10 Joseph Myers <joseph@codesourcery.com>
22988
28361c5e
JM
22989 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
22990 [!_G_USING_THUNKS]: Remove conditional code.
22991 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
22992 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
22993
0e886ef9
JM
22994 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
22995 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
22996 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
22997 (_G_VTABLE_LABEL_PREFIX): Likewise.
22998 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
22999 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
23000 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
23001 (_G_VTABLE_LABEL_PREFIX): Likewise.
23002 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
23003 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
23004 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
23005 (_G_VTABLE_LABEL_PREFIX): Likewise.
23006 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
23007
bcba7aa2
L
230082012-09-10 H.J. Lu <hongjiu.lu@intel.com>
23009
23010 * libio/Makefile: Include ../Makeconfig before tests.
23011 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
23012 only if $(build-shared) is yes.
23013
06585ee8
L
23014 * iconv/gconv_db.c: Update copyright years.
23015
80ccd52c
LD
230162012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23017
23018 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
23019 unwind info if defined PIC. Fix special cases description.
23020 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
23021
23022 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
23023 DP_HI_MASK entry.
23024 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
23025
691bc9c1
L
230262012-09-07 H.J. Lu <hongjiu.lu@intel.com>
23027
3d9b46b3
L
23028 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
23029
de2139a9
L
23030 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
23031 is NULL.
23032
5ca78dd0
L
23033 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
23034 (LDLIBS-tst-chk4): This.
23035 (LDFLAGS-tst-chk5): Renamed to ...
23036 (LDLIBS-tst-chk5): This.
23037 (LDFLAGS-tst-chk6): Renamed to ...
23038 (LDLIBS-tst-chk6): This.
23039 (LDFLAGS-tst-lfschk4): Renamed to ...
23040 (LDLIBS-tst-lfschk4): This.
23041 (LDFLAGS-tst-lfschk5): Renamed to ...
23042 (LDLIBS-tst-lfschk5): This.
23043 (LDFLAGS-tst-lfschk6): Renamed to ...
23044 (LDLIBS-tst-lfschk6): This.
23045
691bc9c1
L
23046 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
23047 on $(common-objpfx)soversions.mk.
23048
65cafb1c
JM
230492012-09-07 Joseph Myers <joseph@codesourcery.com>
23050
23051 [BZ #10014]
23052 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
23053 example host name.
23054
c78ab094
SP
230552012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
23056
23057 * malloc/arena.c (arena_get_retry): New function that gets
23058 another arena for the caller to try its request on.
23059 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
23060 current arena cannot fulfill the request.
23061 (__libc_memalign): Likewise.
23062 (__libc_memalign): Likewise.
23063 (__libc_pvalloc): Likewise.
23064 (__libc_calloc): Likewise.
23065
01f49f59
JT
230662012-09-05 John Tobey <john.tobey@gmail.com>
23067
23068 [BZ #13542]
23069 * manual/arith.texi (Operations on Complex): Fix description
23070 of carg branch cut.
23071
4c23fed5
JM
230722012-09-06 Joseph Myers <joseph@codesourcery.com>
23073
1d3c8572
JM
23074 [BZ #10014]
23075 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
23076 host name.
23077
4c23fed5
JM
23078 [BZ #10038]
23079 * manual/memory.texi (Memory): Make order of menu items match
23080 order of sections.
23081
04570aaa
L
230822012-09-06 H.J. Lu <hongjiu.lu@intel.com>
23083
23084 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
23085 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
23086 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
23087
b80af2f4
L
230882012-09-06 H.J. Lu <hongjiu.lu@intel.com>
23089
23090 * csu/libc-tls.c (static_dtv): Renamed to ...
23091 (_dl_static_dtv): This. Make it global.
23092 (_dl_initial_dtv): Removed.
23093 (__libc_setup_tls): Updated.
23094 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
23095 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
23096 DL_INITIAL_DTV.
23097
2abe9f15
PM
230982012-09-06 Petr Machata <pmachata@redhat.com>
23099
23100 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
23101 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
23102 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
23103 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
23104
0948c3af
L
231052012-09-06 H.J. Lu <hongjiu.lu@intel.com>
23106
23107 [BZ #14545]
23108 * csu/libc-tls.c (_dl_initial_dtv): New variable.
23109 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
23110 freeing dtv[-1].
23111
a5055ad1
L
231122012-09-06 H.J. Lu <hongjiu.lu@intel.com>
23113
23114 [BZ #14544]
23115 * Makeconfig (link-static-before-libc): Replace $(+prector)
23116 with $(+prectorT).
23117 (link-static-after-libc): Replace $(+postctor) with
23118 $(+postctorT).
23119 (link-bounded): Replace $(+prector)/$(+postctor) with
23120 $(+prectorT)/$(+postctorT).
23121 (+prectorT): New macro.
23122 (+postctorT): Likewise.
23123
ed8c2ecd
JM
231242012-09-06 Joseph Myers <joseph@codesourcery.com>
23125
23126 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
23127 (round_str): Handle values above the maximum for IBM long double
23128 as inexact.
23129 * stdlib/tst-strtod-round.c (tests): Regenerated.
23130
14c996c8
AK
231312012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23132
23133 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
23134 assembler flag.
23135 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
23136 zarch_nohighgprs around the zarch optimized routines.
23137 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
23138 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
23139 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
23140 for zarch.
23141
430d6ce6
DM
231422012-09-05 David S. Miller <davem@davemloft.net>
23143
23144 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23145
ff04dda4
DM
23146 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
23147 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
23148 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
23149 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
23150 entries.
23151
24d4e01b
AO
231522012-09-05 Alexandre Oliva <aoliva@redhat.com>
23153
23154 * malloc/arena.c: Fold copyright years.
23155 * malloc/mcheck.c, malloc/memusage.c: Likewise.
23156
61d58174
AO
231572012-09-05 Alexandre Oliva <aoliva@redhat.com>
23158
23159 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
23160
20196a5e
AO
231612012-09-05 Alexandre Oliva <aoliva@redhat.com>
23162
23163 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
23164
5c447383
AO
231652012-09-05 Alexandre Oliva <aoliva@redhat.com>
23166
23167 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
23168 change internal state upon failure.
23169
fad64255
AO
231702012-09-05 Alexandre Oliva <aoliva@redhat.com>
23171
23172 * malloc/mcheck.c (mcheck_check_all): Fix typo.
23173 * malloc/memusage.c (mmap): Likewise.
23174 (mmap64, mremap): Likewise. Adjust name in comment.
23175
1ffb8c90
SP
231762012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
23177
23178 * libio/fileops.c: Fix typos in comments.
23179 * libio/oldfileops.c: Likewise.
23180 * libio/wfileops.c: Likewise.
23181
6ef9cc37
SP
231822012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
23183
23184 [BZ #1349]
23185 * malloc/Makefile (tests): Add tst-malloc-usable test case.
23186 (tst-malloc-usable-ENV): Set environment for test case.
23187 * malloc/hooks.c (malloc_check_get_size): New function to get
23188 requested size.
23189 * malloc/malloc.c (musable): Use malloc_check_get_size.
23190 * malloc/tst-malloc-usable.c: New test case.
23191
4d038ae3
AS
231922012-09-05 Andreas Schwab <schwab@linux-m68k.org>
23193
23194 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
23195
c4e85184
AM
231962012-09-05 Allan McRae <allan@archlinux.org>
23197
b9dafc56 23198 [BZ #13966]
c4e85184
AM
23199 * configure.in (CXX_SYSINCLUDES): Use compiler output to
23200 determine header location.
23201 * configure: Regenerated.
23202
e1343020
AS
232032012-09-05 Andreas Schwab <schwab@linux-m68k.org>
23204
23205 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
23206 float format.
23207 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
23208 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
23209 format.
e1343020
AS
23210 (test): Regenerate.
23211
0a9f1987
DM
232122012-09-04 David S. Miller <davem@davemloft.net>
23213
23214 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
23215 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
23216 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
23217
29237804
FW
232182012-09-04 Florian Weimer <fweimer@redhat.com>
23219
23220 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
23221 failures.
23222
edb3cb88
FW
23223 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
23224
60160d83
JM
232252012-09-04 Joseph Myers <joseph@codesourcery.com>
23226
23227 [BZ #9914]
23228 * libio/iogetdelim.c: Include <limits.h>.
23229 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
23230 + len + 1 would overflow.
23231
bcd6c8dc
AJ
232322012-09-03 Andreas Jaeger <aj@suse.de>
23233
23234 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23235 * sysdeps/i386/fpu/libm-test-ulps: Update.
23236
4ffffbd2
LD
232372012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23238
23239 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
23240 Add s_sinf-sse2, s_conf-sse2.
23241
23242 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
23243 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
23244 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
23245 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
23246
23247 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
23248 for using routine as __sinf_ia32.
23249 Use macro for function declaration and weak_alias.
23250 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
23251 for using routine as __cosf_ia32.
23252 Use macro for function declaration and weak_alias.
23253
23254 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
23255 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
23256
23257 * sysdeps/x86_64/fpu/s_sinf.S: New file.
23258 * sysdeps/x86_64/fpu/s_cosf.S: New file.
23259 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23260
23261 * math/libm-test.inc (cos_test): Add more test cases.
23262 (sin_test): Likewise.
23263 (sincos_test): Likewise.
23264
511fa286
AK
232652012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23266
23267 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
23268 (IFUNC_RESOLVE): Make pointers to the specialized implementations
23269 hidden.
23270 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
23271
5f30cfec
L
232722012-09-02 H.J. Lu <hongjiu.lu@intel.com>
23273
23274 [BZ #14538]
23275 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
23276 first element of the GOT.
23277 (elf_machine_load_address): Return the difference between
23278 the runtime address of _DYNAMIC and elf_machine_dynamic ().
23279
0786794f
AM
232802012-09-01 Allan McRae <allan@archlinux.org>
23281
5f30cfec
L
23282 [BZ #13412]
23283 * configure.in (AWK): Require gawk version 3.0 or later.
23284 * configure: Regenerated.
0786794f 23285
26889eac
JM
232862012-09-01 Joseph Myers <joseph@codesourcery.com>
23287
23288 * sysdeps/unix/sysv/linux/kernel-features.h
23289 (__ASSUME_POSIX_CPU_TIMERS): Remove.
23290 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
23291 [__NR_clock_getres]: Make code unconditional.
23292 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
23293 (clock_getcpuclockid): Remove code left unreachable by removal of
23294 conditionals.
23295 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
23296 code unconditional.
23297 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
23298 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
23299 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
23300 Make code unconditional.
23301 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
23302 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
23303 * sysdeps/unix/sysv/linux/clock_settime.c
23304 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
23305 conditional code.
23306 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
23307 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
23308
d22e28b0
L
233092012-08-29 H.J. Lu <hongjiu.lu@intel.com>
23310
23311 [BZ #14476]
23312 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
23313 scripts/test-installation.pl.
23314
23315 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
23316 and $ld_so_version if it is set.
23317
050af9c4
SP
233182012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
23319
23320 [BZ #14516]
23321 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
23322 failure if reading from procfs failed.
23323 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
23324
ad845c0b
JM
233252012-08-27 Joseph Myers <joseph@codesourcery.com>
23326
23327 * sysdeps/unix/sysv/linux/kernel-features.h
23328 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
23329 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
23330 Remove conditional code.
23331 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23332 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
23333 Remove conditional code.
23334 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23335 * sysdeps/unix/sysv/linux/i386/fxstat.c
23336 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
23337 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23338 * sysdeps/unix/sysv/linux/i386/fxstatat.c
23339 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
23340 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23341 * sysdeps/unix/sysv/linux/i386/lxstat.c
23342 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
23343 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23344 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
23345 Remove conditional code.
23346 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23347 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
23348 Remove conditional code.
23349 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23350 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
23351 <kernel-features.h>.
23352 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
23353 Remove.
23354 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
23355 Remove conditional code.
23356 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23357 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
23358 Remove conditional.
23359
5dbf56af
MF
233602012-08-27 Mike Frysinger <vapier@gentoo.org>
23361
23362 [BZ #5400]
23363 * NEWS: Add fixed bug number.
23364
d6e70f43
JM
233652012-08-27 Joseph Myers <joseph@codesourcery.com>
23366
7efb4737
JM
23367 [BZ #14519]
23368 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
23369 underflowing exponent in case of negative sign.
23370 * stdlib/tst-strtod-round-data: Add more tests.
23371 * stdlib/tst-strtod-round.c (tests): Regenerated.
23372
af92131a
JM
23373 [BZ #3479]
23374 * stdlib/strtod_l.c (NDIG): Remove.
23375 (HEXNDIG): Likewise.
23376 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
23377 smallest representable value.
23378 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
23379 lie within an exact representation of 1/2 ulp of the result.
23380 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
23381 unconditionally.
23382 (TENS_P9_IDX): Define unconditionally.
23383 (TENS_P9_SIZE): Likewise.
23384 (TENS_P10_IDX): Likewise.
23385 (TENS_P10_SIZE): Likewise.
23386 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
23387 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
23388 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
23389 entries for 10^2^13 and 10^2^14.
23390 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
23391 (TENS_P13_IDX): Define.
23392 (TENS_P13_SIZE): Likewise.
23393 (TENS_P14_IDX): Likewise.
23394 (TENS_P14_SIZE): Likewise.
23395 (_fpioconst_pow10): Change array size to
23396 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
23397 unconditional.
23398 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
23399 1024]: Add entries for 10^2^13 and 10^2^14.
23400 [LAST_POW10 > _LAST_POW10]: Remove #error.
23401 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
23402 (_fpioconst_pow10): Change array size to
23403 FPIOCONST_POW10_ARRAY_SIZE.
23404 * stdlib/gen-fpioconst.c: New file.
23405 * stdlib/gen-tst-strtod-round.c: Likewise.
23406 * stdlib/tst-strtod-round-data: Likewise.
23407 * stdlib/tst-strtod-round.c: Likewise.
23408 * stdlib/Makefile (tests): Add tst-strtod-round.
23409
d6e70f43
JM
23410 [BZ #14459]
23411 * stdlib/strtod_l.c: Include <stdint.h>.
23412 (NDEBUG): Do not define.
23413 (round_and_return): Change EXPONENT parameter to type intmax_t.
23414 Rearrange calculations to avoid internal overflow possibilities.
23415 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
23416 Rearrange calculations to avoid internal overflow possibilities.
23417 Assert that number fits inside MPNSIZE limbs.
23418 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
23419 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
23420 calculations and add assertions to avoid internal overflow
23421 possibilities. Add casts to avoid signed/unsigned operations.
23422 * stdlib/tst-strtod-overflow.c: New file.
23423 * stdlib/Makefile (tests): Add tst-strtod-overflow.
23424
1f529f7d
MP
234252012-08-25 Marek Polacek <polacek@redhat.com>
23426
23427 * time/time.h: Fix some typos in comments.
23428
59a629f1
RM
234292012-08-23 Roland McGrath <roland@hack.frob.com>
23430
23431 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
23432 * posix/tst-rfc3484-2.c: Likewise.
23433 * posix/tst-rfc3484-3.c: Likewise.
23434
d3bafbc9
SM
234352012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
23436
23437 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
23438 (EF_ARM_ABI_FLOAT_HARD): Likewise.
23439
4efcc022
JM
234402012-08-23 Joseph Myers <joseph@codesourcery.com>
23441
23442 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
23443 #include of fxstatat64.c.
23444
3cc3ef96
RM
234452012-08-22 Roland McGrath <roland@hack.frob.com>
23446
f04e2132
RM
23447 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
23448 * shadow/getspent_r.c: Likewise.
23449 * shadow/getspnam.c: Likewise.
23450 * shadow/getspnam_r.c: Likewise.
23451 * gshadow/getsgent.c: Likewise.
23452 * gshadow/getsgent_r.c: Likewise.
23453 * gshadow/getsgnam.c: Likewise.
23454 * gshadow/getsgnam_r.c: Likewise.
23455 * inet/getnetbyad.c: Likewise.
23456 * inet/getnetbyad_r.c: Likewise.
23457 * inet/getnetbynm.c: Likewise.
23458 * inet/getnetbynm_r.c: Likewise.
23459 * inet/getnetent.c: Likewise.
23460 * inet/getnetent_r.c: Likewise.
23461 * inet/getproto.c: Likewise.
23462 * inet/getproto_r.c: Likewise.
23463 * inet/getprtent.c: Likewise.
23464 * inet/getprtent_r.c: Likewise.
23465 * inet/getprtname.c: Likewise.
23466 * inet/getprtname_r.c: Likewise.
23467 * inet/getrpcbyname.c: Likewise.
23468 * inet/getrpcbyname_r.c: Likewise.
23469 * inet/getrpcbynumber.c: Likewise.
23470 * inet/getrpcbynumber_r.c: Likewise.
23471 * inet/getrpcent.c: Likewise.
23472 * inet/getrpcent_r.c: Likewise.
23473 * inet/getaliasent.c: Likewise.
23474 * inet/getaliasent_r.c: Likewise.
23475 * inet/getaliasname.c: Likewise.
23476 * inet/getaliasname_r.c: Likewise.
23477 * nscd/getgrgid_r.c: Likewise.
23478 * nscd/getgrnam_r.c: Likewise.
23479 * nscd/gethstbyad_r.c: Likewise.
23480 * nscd/gethstbynm3_r.c: Likewise.
23481 * nscd/getpwnam_r.c: Likewise.
23482 * nscd/getpwuid_r.c: Likewise.
23483 * nscd/getsrvbynm_r.c: Likewise.
23484 * nscd/getsrvbypt_r.c: Likewise.
23485 * nscd/gai.c: Likewise.
23486
c53d909c
RM
23487 * configure.in (build_nscd): New substituted variable, set
23488 by --disable-build-nscd and defaults to $use_nscd.
23489 * configure: Regenerated.
23490 * config.make.in (build-nscd): New substituted variable.
23491 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
23492 Change conditional to require [$(build-nscd) = yes] as well.
23493 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
23494
3cc3ef96
RM
23495 [BZ# 13696]
23496 * configure.in (use_nscd): New substituted variable, set by
23497 --disable-nscd. If enabled, define USE_NSCD.
23498 * configure: Regenerated.
23499 * config.h.in: Add USE_NSCD.
23500 * config.make.in (use-nscd): New substituted variable.
23501 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
23502 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
23503 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
23504 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
23505 (CFLAGS-getgrnam_r.c): Likewise.
23506 (CFLAGS-initgroups.c): Likewise.
23507 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
23508 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
23509 Variables removed.
23510 * inet/getnetgrent_r.c
23511 (nscd_setnetgrent): New function, broken out of ...
23512 (setnetgrent): ... here. Call it.
23513 (innetgr): Conditionalize nscd bits on [USE_NSCD].
23514 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
23515 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
23516 * nscd/Makefile (routines, aux): Move definitions after include of
23517 Makeconfig. Conditionalize on [$(use-nscd) != no].
23518 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
23519 Conditionalize on [USE_NSCD].
23520 (is_nscd, nscd_init_cb): Likewise.
23521 (nss_load_library): Conditionalize init callback on [USE_NSCD].
23522 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
23523 * nss/nss_db/db-init.c: Likewise.
23524 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
23525 [USE_NSCD].
23526 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
23527 (make_request): Use it.
23528 (cache_valid_p): New function.
23529 (__check_pf): Use it.
23530 * NEWS: Add item for --disable-nscd.
23531
07e51550
DL
235322012-08-22 Dmitry V. Levin <ldv@altlinux.org>
23533
23534 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
23535 to support sed >= 4.2.1-20-ga9bf076.
23536 * configure: Regenerated.
23537
35a5b08b
RM
235382012-08-22 Roland McGrath <roland@hack.frob.com>
23539
23540 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
23541 Conditionalize whole body on [IREL].
23542
8479f23a
JL
235432012-08-22 Jeff Law <law@redhat.com>
23544
23545 [BZ #14505]
23546 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
23547 if the family is PF_UNSPEC.
23548
48da0b21
MF
235492012-08-22 Mike Frysinger <vapier@gentoo.org>
23550
23551 * Makerules (lib-version): Rename from V.
23552 (install-lib-nosubdir): Change V to lib-version.
23553
15d0da8c
WS
235542012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
23555
23556 [BZ #14252]
23557 * powerpc32/power6/wcschr.c: New file.
23558 * powerpc32/power6/wcscpy.c: New file.
23559 * powerpc32/power6/wcsrchr.c: New file.
23560 * powerpc64/power6/wcschr.c: New file.
23561 * powerpc64/power6/wcscpy.c: New file.
23562 * powerpc64/power6/wcsrchr.c: New file.
23563
bcca0895
MK
235642012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
23565
23566 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
23567 (two_way_short_needle): Use it.
5a4aaa33
RM
23568 * string/strstr.c (AVAILABLE1_USES_J): Define.
23569 * string/strcasestr.c: Likewise.
99677e57
MK
23570
23571 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
23572 array references.
23573 * string/strcasestr.c (TOLOWER): Make side-effect safe.
23574
400726de
MK
23575 [BZ #11607]
23576 * NEWS: Add an entry.
23577 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
23578 define their defaults.
23579 (two_way_short_needle): Detect end-of-string on-the-fly.
23580 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
23581 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
23582 * string/bug-strcasestr1.c: New test.
23583 * string/Makefile: Run it.
23584
20a71f2c
MK
235852012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
23586
23587 [BZ #11607]
23588 * string/str-two-way.h (two_way_short_needle): Optimize matching of
23589 the first character.
23590
21ad0558
RM
235912012-08-21 Roland McGrath <roland@hack.frob.com>
23592
23593 * csu/elf-init.c (__libc_csu_irel): Function removed.
23594 * csu/libc-start.c (apply_irel): New function.
23595 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
23596
0e1d9911
JM
235972012-08-21 Joseph Myers <joseph@codesourcery.com>
23598
23599 * sysdeps/unix/sysv/linux/kernel-features.h
23600 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
23601 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
23602 <kernel-features.h>.
23603 [__NR_fadvise64_64]: Make code unconditional.
23604 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
23605 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
23606 !__NR_fadvise64_64)]: Likewise.
23607 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
23608 !__NR_fadvise64_64))]: Likewise.
23609 [__NR_fadvise64]: Make code unconditional.
23610 [!__NR_fadvise64]: Remove conditional code.
23611 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
23612 <kernel-features.h>.
23613 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
23614 unconditional.
23615 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
23616 conditional code.
23617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
23618 not include <kernel-features.h>.
23619 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
23620 unconditional.
23621 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
23622 conditional code.
23623 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
23624 include <kernel-features.h>.
23625 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
23626 unconditional.
23627 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
23628 conditional code.
23629
14a50c9d
WS
236302012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
23631
23632 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
23633 slight instruction rearrangements per scrollpipe analysis.
23634 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
23635
c0f4faf0
RM
236362012-08-20 Roland McGrath <roland@hack.frob.com>
23637
696da859
RM
23638 * manual/syslog.texi (syslog; vsyslog, closelog):
23639 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
23640 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
23641
c0f4faf0
RM
23642 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
23643 DSOCAPS to match condition on defining it.
23644
348363b2
JM
236452012-08-20 Joseph Myers <joseph@codesourcery.com>
23646
a35cbf28
JM
23647 * sysdeps/unix/sysv/linux/kernel-features.h
23648 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
23649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
23650 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
23651 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
23652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
23653 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
23654 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
23655 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
23656 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
23657 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
23658
445f7ecd
JM
23659 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
23660 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
23661
348363b2
JM
23662 * sysdeps/unix/sysv/linux/kernel-features.h
23663 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
23664 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
23665 unconditional.
23666 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
23667 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
23668 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
23669 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
23670 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
23671 Make code unconditional.
23672 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
23673 (__mmap64) [!__NR_mmap2]: Likewise.
23674 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
23675 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
23676 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
23677 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
23678 [__NR_mmap2]: Make code unconditional.
23679 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
23680 (__mmap64) [!__NR_mmap2]: Likewise.
23681
bc5bc0e5
AK
236822012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23683
23684 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
23685
88d506de
AJ
236862012-08-18 Andreas Jaeger <aj@suse.de>
23687
23688 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
23689
493387d2
MF
236902012-08-18 Mike Frysinger <vapier@gentoo.org>
23691
23692 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
23693 * include/unistd.h (__have_sock_cloexec): Likewise.
23694 (__have_pipe2): Likewise.
23695 (__have_dup3): Likewise.
23696
a277af22
MF
236972012-08-18 Mike Frysinger <vapier@gentoo.org>
23698
23699 [BZ #9685]
23700 * include/unistd.h (__have_pipe2): Change define into an extern int.
23701 (__have_dup3): Likewise.
23702 * socket/have_sock_cloexec.c: Include fcntl.h.
23703 (__have_pipe2): New variable.
23704 (__have_dup3): Likewise.
23705
fdab8fd3
MF
237062012-08-17 Mike Frysinger <vapier@gentoo.org>
23707
23708 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
23709
31035e80
MP
237102012-08-17 Marek Polacek <polacek@redhat.com>
23711
23712 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
23713 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
23714
3bd9e993
RM
237152012-08-17 Roland McGrath <roland@hack.frob.com>
23716
c91c505f
RM
23717 * configure.in: Add AC_SUBST for sysheaders.
23718 * configure: Regenerated.
23719 * config.make.in (sysheaders): New substituted variable.
23720
7c6f9d53
RM
23721 * sysdeps/unix/mkfifo.c: Moved ...
23722 * sysdeps/posix/mkfifo.c: ... here.
23723 * sysdeps/unix/mkfifoat.c: Moved ...
23724 * sysdeps/posix/mkfifoat.c: ... here.
23725
23726 * sysdeps/unix/utime.c: Moved ...
23727 * sysdeps/posix/utime.c: ... here.
23728
23729 * sysdeps/unix/time.c: Moved ...
23730 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
23731 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
23732 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
23733
23734 * sysdeps/unix/nice.c: Moved ...
23735 * sysdeps/posix/nice.c: ... here.
23736
23737 * sysdeps/unix/alarm.c: Moved ...
23738 * sysdeps/posix/alarm.c: ... here.
23739
3bd9e993
RM
23740 * intl/Makefile ($(codeset_mo)): Depend on the input file.
23741
d1f09384
JL
237422012-08-17 Jeff Law <law@redhat.com>
23743
23744 * intl/Makefile (codeset_mo): New variable.
23745 ($(codeset_mo)): New target.
23746 (tst-codeset.out): Depend on that. Remove explicit rule.
23747 (tst-gettext3.out, tst-gettext5.out): Likewise.
23748 (LOCPATH-ENV, tst-codeset-ENV): New variables.
23749 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
23750 * intl/tst-codeset.sh: Remove.
23751 * intl/tst-gettext3.sh: Likewise.
23752 * intl/tst-gettext5.sh: Likewise.
23753
2ae1ae5c
RM
237542012-08-17 Roland McGrath <roland@hack.frob.com>
23755
c31fdb83
RM
23756 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
23757 * sysdeps/unix/syscalls.list: ... here.
23758
a0844057
RM
23759 * sysdeps/posix/getaddrinfo.c
23760 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
23761 (gaiconf_init, gaiconf_reload): Use them.
23762 [!_STATBUF_ST_NSEC]
23763 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
23764 Define using time_t rather than struct timespec.
23765
750c1f2a
RM
23766 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
23767 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
23768 Macros removed.
23769 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
23770 [!NO_THREADS].
23771 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
23772 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
23773 Likewise.
23774
2ae1ae5c
RM
23775 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
23776 __libc_cleanup_push argument.
23777
e66a42f5
RM
23778 * bits/param.h: New file.
23779 * misc/sys/param.h: New file.
23780 * include/sys/param.h: New file.
23781 * misc/Makefile (headers): Add bits/param.h.
23782 * sysdeps/generic/sys/param.h: File removed.
23783 * sysdeps/unix/sysv/linux/bits/param.h: New file.
23784 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
23785 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 23786 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 23787
b7c08a66
RM
23788 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
23789 last change.
23790
b2e1c562
RM
23791 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
23792 [_IO_MTSAFE_IO].
23793 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
23794 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
23795 New macros.
23796
c75ccd4c
RM
23797 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
23798 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
23799 rather than -D_IO_MTSAFE_IO conditionally.
23800 * stdio-common/Makefile (CPPFLAGS): Likewise.
23801 * wcsmbs/Makefile (CPPFLAGS): Likewise.
23802 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
23803 Use $(libio-mtsafe).
23804 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
23805 of -D_IO_MTSAFE_IO.
23806 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
23807 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
23808 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
23809 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
23810 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
23811 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
23812 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
23813 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
23814 (CFLAGS-fread_u_chk.c): Likewise.
23815 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
23816 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
23817 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
23818 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
23819 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
23820 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
23821 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
23822 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
23823 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
23824
23825 * libio/Makefile: Test [$(libc-reentrant) = yes]
23826 instead of [$(filter %REENTRANT, $(defines)) nonempty].
23827
23828 * Makeconfig
23829 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
23830 * sysdeps/pthread/configure: File removed.
23831 * sysdeps/pthread/Makeconfig: New file.
23832 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
23833 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
23834
d9195db8
GB
238352012-08-16 Gary Benson <gbenson@redhat.com>
23836
23837 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
23838 unmapping the first object in a namespace.
23839
86466cd9
RM
238402012-08-16 Roland McGrath <roland@hack.frob.com>
23841
23842 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
23843 (__internal_setnetgrent): ... this. Add internal_function to
23844 definition. Add libc_hidden_def.
23845 (setnetgrent): Update caller.
23846 (internal_endnetgrent): Renamed to ...
23847 (__internal_endnetgrent): ... this. Add internal_function to
23848 definition. Add libc_hidden_def.
23849 (endnetgrent): Update caller.
23850 (internal_getnetgrent_r): Renamed to ...
23851 (__internal_getnetgrent_r): ... this. Add internal_function to
23852 definition. Add libc_hidden_def.
23853 (__getnetgrent_r): Update caller.
23854 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
23855
c3c8283c
JM
238562012-08-16 Joseph Myers <joseph@codesourcery.com>
23857
23858 * stdlib/longlong.h: Update from GCC.
23859
db1ee0a8
RM
238602012-08-16 Roland McGrath <roland@hack.frob.com>
23861
23862 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
23863 on _QL, which is set by umul_ppmm but never used.
23864 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
23865 variables, which are set by GMP macros but never used.
23866 * stdio-common/_itowa.c (_itowa): Likewise.
23867 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
23868 * stdlib/mod_1.c (mpn_mod_1): Likewise.
23869
30f69637
CD
238702012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
23871
23872 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
23873 struct La_sh_regs is not constant.
23874 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
23875 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
23876 and struct La_sparc64_regs are not constant.
23877
93a78ac4
JM
238782012-08-16 Joseph Myers <joseph@codesourcery.com>
23879
23880 * sysdeps/unix/sysv/linux/kernel-features.h
23881 (__ASSUME_POSIX_TIMERS): Remove.
23882 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
23883 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
23884 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
23885 Make code unconditional.
23886 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
23887 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
23888 Make code unconditional.
23889 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
23890 * sysdeps/unix/sysv/linux/clock_nanosleep.c
23891 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
23892 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
23893 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
23894 Make code unconditional.
23895 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
23896 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
23897 (__libc_missing_posix_timers): Remove.
23898
dd924cd7
RM
238992012-08-15 Roland McGrath <roland@hack.frob.com>
23900
4b4f2771
RM
23901 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
23902 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
23903
601c888b
RM
23904 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
23905
176790a7
RM
23906 * elf/dl-sym.c: Include <stdlib.h>.
23907
329bc018
RM
23908 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
23909 constants, which avoids warnings in 32-bit builds.
23910
e04e272d
RM
23911 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
23912 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
23913
952bf94a
RM
23914 * misc/lseek.c: File moved to ...
23915 * io/lseek.c: ... here.
23916
7c99b50a
RM
23917 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
23918
dd924cd7
RM
23919 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
23920 shifting LEN more than 31 bits at once.
23921
b3f479a8
LD
239222012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23923
23924 [BZ #14195]
8c4ae0d4
RM
23925 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
23926 segmentation fault for a case of two empty input strings.
b3f479a8
LD
23927 * string/test-strncasecmp.c (check1): Renamed to...
23928 (bz12205): ...this.
23929 (bz14195): Add new testcase for two empty input strings and N > 0.
23930 (test_main): Call new testcase, adapt for renamed function.
23931
9c55864e
AJ
239322012-08-15 Andreas Jaeger <aj@suse.de>
23933
23934 [BZ #14090]
23935 * crypt/md5test2.c: New test, based on test supplied by Serge
23936 Belyshev <belyshev@depni.sinp.msu.ru>.
23937 * crypt/Makefile (xtests): Add md5test-giant..
23938 * crypt/Makefile ($(objpfx)md5test-giant): Add.
23939
02dcb6c5
PE
239402012-08-15 Paul Eggert <eggert@cs.ucla.edu>
23941
23942 [BZ #14090]
23943 * crypt/md5.c (md5_process_block): Don't assume the buffer
23944 length is less than 2**32.
23945 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
23946 length is less than 2**64.
23947
a3f95dcc
RM
239482012-08-15 Roland McGrath <roland@hack.frob.com>
23949
be75d758
RM
23950 * string/str-two-way.h: Include <sys/param.h>.
23951 (MAX): Macro removed.
23952
7312ca90
RM
23953 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
23954 Move #define and #undef of memmove to just before and after
23955 including <string.h>.
23956
9a0a5486
RM
23957 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
23958 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
23959 and after including <string.h>. Move declarations of
23960 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
23961 to before #include "string/memmove.c".
23962
67cc348d
RM
23963 * include/dirent.h: Declare __getdirentries.
23964
a3f95dcc
RM
23965 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
23966 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
23967
ca98e171
MF
239682012-08-14 Mike Frysinger <vapier@gentoo.org>
23969
23970 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
23971 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
23972 * sysdeps/i386/configure: Regenerated.
23973 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
23974 STABS_CURRENT_FILE, and STABS_FUN.
23975 (END): Remove call to STABS_FUN_END.
23976 (STABS_CURRENT_FILE1): Delete.
23977 (STABS_CURRENT_FILE): Likewise.
23978 (STABS_FUN): Likewise.
23979 (STABS_FUN_END): Likewise.
23980 (STABS_FUN2): Likewise.
23981 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
23982 * sysdeps/x86_64/configure: Regenerated.
23983
5908bf46
RM
239842012-08-14 Roland McGrath <roland@hack.frob.com>
23985
23986 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 23987 * elf/dl-lookup.c: Likewise.
5908bf46 23988
f2c05b9e
JM
239892012-08-14 Joseph Myers <joseph@codesourcery.com>
23990
23991 * sysdeps/unix/sysv/linux/kernel-features.h
23992 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
23993 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
23994 unconditionally.
23995 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
23996 unconditionally.
23997 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
23998 condition on __ASSUME_CLONE_THREAD_FLAGS.
23999
e11f5155
AJ
240002012-08-14 Andreas Jaeger <aj@suse.de>
24001
24002 * sysdeps/i386/fpu/libm-test-ulps: Update.
24003
51a9ba86
MK
240042012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
24005
2fdd4f78
AJ
24006 * include/atomic.h (atomic_exchange_and_add): Split into ...
24007 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
24008 New atomic macros.
51a9ba86 24009
ba6cba9e
MT
240102012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
24011
24012 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24013
42443a47
JL
240142012-08-13 Jeff Law <law@redhat.com>
24015
24016 * manual/stdio.texi (snprintf): Clarify handling of the trailing
24017 null byte in the output string.
24018
121dce05
JM
240192012-08-10 Joseph Myers <joseph@codesourcery.com>
24020
24021 * sysdeps/unix/sysv/linux/kernel-features.h
24022 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
24023 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
24024 (__ASSUME_ARG_MAX_STACK_BASED): Define.
24025 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
24026 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
24027 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
24028 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
24029
bf51f568
JL
240302012-08-09 Jeff Law <law@redhat.com>
24031
24032 [BZ #13939]
24033 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
24034 When avoid_arena is set, don't retry in the that arena. Pick the
24035 next one, whatever it might be.
24036 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
24037 (arena_lock): Pass in new parameter to arena_get2.
24038 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
24039 arena_get2.
24040 (__libc_malloc): Unify retrying after main arena failure with
24041 __libc_memalign version.
24042 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
24043
f85fa270
L
240442012-08-09 H.J. Lu <hongjiu.lu@intel.com>
24045
24046 [BZ #14166]
24047 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
24048 to __redirect_strstr.
24049 (__strstr_sse42): Use typeof __redirect_strstr.
24050 (__strstr_ia32): Likewise.
24051 (__libc_strstr): New prototype.
24052 (strstr): Renamed to ...
24053 (__libc_strstr): This.
24054 (strstr): New strong alias of __libc_strstr.
24055 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
24056 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
24057 __redirect_time.
24058 Include <time.h>.
24059 (__libc_time): New prototype.
24060 (time_ifunc): Replace time with __libc_time.
24061 (time): New strong alias and hidden definition of __libc_time.
24062 (__GI_time): Remove strong alias.
24063 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
24064 Include <stddef.h>.
24065 (memmove): Redefined to __redirect_memmove.
24066 (__memmove_sse2): Use typeof __redirect_memmove.
24067 (__memmove_ssse3): Likewise.
24068 (__memmove_ssse3_back): Likewise.
24069 (__libc_memmove): New prototype.
24070 (memmove): Renamed to ...
24071 (__libc_memmove): This.
24072 (memmove): New strong alias of __libc_memmove.
24073
33b4a91e
MS
240742012-08-08 Mark Salter <msalter@redhat.com>
24075
24076 * elf/elf.h
24077 (R_MN10300_TLS_GD): Define.
24078 (R_MN10300_TLS_LD): Likewise.
24079 (R_MN10300_TLS_LDO): Likewise.
24080 (R_MN10300_TLS_GOTIE): Likewise.
24081 (R_MN10300_TLS_IE): Likewise.
24082 (R_MN10300_TLS_LE): Likewise.
24083 (R_MN10300_TLS_DTPMOD): Likewise.
24084 (R_MN10300_TLS_DTPOFF): Likewise.
24085 (R_MN10300_TLS_TPOFF): Likewise.
24086 (R_MN10300_SYM_DIFF): Likewise.
24087 (R_MN10300_ALIGN): Likewise.
24088 (R_MN10300_NUM): Update.
24089
b36137f1
JM
240902012-08-08 Joseph Myers <joseph@codesourcery.com>
24091
24092 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
24093 Remove.
24094
cdd915fd
RM
240952012-08-08 Roland McGrath <roland@hack.frob.com>
24096
a2433aac
RM
24097 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
24098
cdd915fd
RM
24099 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
24100 sysdeps/unix -> sysdeps/posix move.
24101 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
24102
bf9b740a
AM
241032012-08-07 Allan McRae <allan@archlinux.org>
24104
24105 [BZ #14303]
24106 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
24107 (SUNOS_CPP): Likewise.
24108 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
24109 not found.
24110 (open_input): Call CPP using execvp.
24111
93df14ee
JM
241122012-08-07 Joseph Myers <joseph@codesourcery.com>
24113
24114 * sysdeps/unix/sysv/linux/kernel-features.h
24115 (__ASSUME_PROT_GROWSUPDOWN): Remove.
24116 (__ASSUME_NO_CLONE_DETACHED): Likewise.
24117 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
24118 (__ASSUME_WAITID_SYSCALL): Likewise.
24119 * sysdeps/unix/sysv/linux/dl-execstack.c
24120 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
24121 code unconditional.
24122 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
24123 conditional code.
24124 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
24125 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
24126 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
24127 code.
24128 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
24129 unconditional.
24130 [__ASSUME_WAITID_SYSCALL]: Likewise.
24131 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
24132
d34689de
RM
241332012-08-07 Roland McGrath <roland@hack.frob.com>
24134
a281decc
RM
24135 * sysdeps/unix/closedir.c: Renamed to ...
24136 * sysdeps/posix/closedir.c: ... here.
24137 * sysdeps/unix/dirfd.c: Renamed to ...
24138 * sysdeps/posix/dirfd.c: ... here.
24139 * sysdeps/unix/dirstream.h: Renamed to ...
24140 * sysdeps/posix/dirstream.h: ... here.
24141 * sysdeps/unix/fdopendir.c: Renamed to ...
24142 * sysdeps/posix/fdopendir.c: ... here.
24143 * sysdeps/unix/opendir.c: Renamed to ...
24144 * sysdeps/posix/opendir.c: ... here.
24145 * sysdeps/unix/readdir.c: Renamed to ...
24146 * sysdeps/posix/readdir.c: ... here.
24147 * sysdeps/unix/readdir_r.c: Renamed to ...
24148 * sysdeps/posix/readdir_r.c: ... here.
24149 * sysdeps/unix/rewinddir.c: Renamed to ...
24150 * sysdeps/posix/rewinddir.c: ... here.
24151 * sysdeps/unix/seekdir.c: Renamed to ...
24152 * sysdeps/posix/seekdir.c: ... here.
24153 * sysdeps/unix/telldir.c: Renamed to ...
24154 * sysdeps/posix/telldir.c: ... here.
24155 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
24156 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
24157 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
24158 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
24159
22895b47
RM
24160 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
24161 * bits/fcntl.h: ... here.
24162
707a53b6
RM
24163 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
24164 not 0.
24165 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
24166 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
24167 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
24168 (struct flock): Move l_start, l_len to the beginning.
24169 Use __pid_t for l_pid.
24170 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
24171 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
24172 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
24173 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
24174 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
24175 [__USE_LARGEFILE64] (struct flock64): New type.
24176 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
24177
f0bd3e25
RM
24178 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
24179 * bits/dirent.h: ... here.
24180
d34689de
RM
24181 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
24182 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
24183
6dad2c06
JM
241842012-08-07 Joseph Myers <joseph@codesourcery.com>
24185
24186 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
24187 Change from 2.6.0 to 2.6.16.
24188 * sysdeps/unix/sysv/linux/configure: Regenerated.
24189 * sysdeps/unix/sysv/linux/kernel-features.h
24190 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
24191 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
24192 version.
24193 (__ASSUME_UTIMES): Likewise.
24194 (__ASSUME_CLONE_STOPPED): Remove.
24195 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
24196 architectures, not kernel version.
24197 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
24198 (__ASSUME_NO_CLONE_DETACHED): Likewise.
24199 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
24200 (__ASSUME_WAITID_SYSCALL): Likewise.
24201 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
24202 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
24203 * README: State 2.6.16 as minimum Linux kernel version. Do not
24204 refer to older versions.
24205
03af9520
RM
242062012-08-06 Roland McGrath <roland@hack.frob.com>
24207
8e49df1d
RM
24208 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
24209 Define alphasort64 as an alias.
24210 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
24211 Define versionsort64 as an alias.
24212 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
24213 Define scandir64 as an alias.
24214 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
24215 Define scandirat64 as an alias.
24216 * dirent/alphasort64.c (alphasort64):
24217 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
24218 * dirent/versionsort64.c: Likewise.
24219 * dirent/scandir64.c: Likewise.
24220 * dirent/scandirat64.c: Likewise.
24221 * sysdeps/wordsize-64/alphasort.c: File removed.
24222 * sysdeps/wordsize-64/alphasort64.c: File removed.
24223 * sysdeps/wordsize-64/scandir.c: File removed.
24224 * sysdeps/wordsize-64/scandir64.c: File removed.
24225 * sysdeps/wordsize-64/scandirat.c: File removed.
24226 * sysdeps/wordsize-64/scandirat64.c: File removed.
24227 * sysdeps/wordsize-64/versionsort.c: File removed.
24228 * sysdeps/wordsize-64/versionsort64.c: File removed.
24229 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
24230 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
24231 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
24232 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
24233 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
24234 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
24235 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
24236 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
24237
24238 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
24239 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
24240 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
24241 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24242 [defined __arch64__ || defined __sparcv9]
24243 (__INO_T_MATCHES_INO64_T): New macro.
24244 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
24245 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
24246 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
24247 * sysdeps/unix/sysv/linux/bits/dirent.h
24248 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
24249 (_DIRENT_MATCHES_DIRENT64): New macro.
24250
03af9520
RM
24251 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
24252 Define lockf64 as an alias.
24253 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
24254 Define fseeko64 as an alias.
24255 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
24256 Define ftello64 as an alias.
24257 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
24258 Define _IO_fgetpos64 and fgetpos64 as aliases.
24259 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
24260 Define _IO_fsetpos64 and fsetpos64 as aliases.
24261 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
24262 Conditionalize body on this.
24263 * libio/fseeko64.c: Likewise.
24264 * libio/ftello64.c: Likewise.
24265 * libio/iofgetpos64.c: Likewise.
24266 * libio/iofsetpos64.c: Likewise.
24267 * sysdeps/wordsize-64/lockf.c: File removed.
24268 * sysdeps/wordsize-64/lockf64.c: File removed.
24269 * sysdeps/wordsize-64/fseeko.c: File removed.
24270 * sysdeps/wordsize-64/fseeko64.c: File removed.
24271 * sysdeps/wordsize-64/ftello.c: File removed.
24272 * sysdeps/wordsize-64/ftello64.c: File removed.
24273 * sysdeps/wordsize-64/iofgetpos.c: File removed.
24274 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
24275 * sysdeps/wordsize-64/iofsetpos.c: File removed.
24276 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
24277 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
24278 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
24279 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
24280 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
24281 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
24282 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
24283 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
24284 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
24285 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
24286 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
24287
24288 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
24289 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
24290 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
24291 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24292 [defined __arch64__ || defined __sparcv9]
24293 (__OFF_T_MATCHES_OFF64_T): New macro.
24294 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
24295 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
24296 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24297 (__OFF_T_MATCHES_OFF64_T): New macro.
24298
c5757acd
L
242992012-08-06 H.J. Lu <hongjiu.lu@intel.com>
24300
24301 * stdlib/secure-getenv.c (__secure_getenv): Replace
24302 GLIBC_2_16 with GLIBC_2_17.
24303
3a31811e
L
243042012-08-06 H.J. Lu <hongjiu.lu@intel.com>
24305
24306 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
24307 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
24308
faa2bccb
DM
243092012-08-03 David S. Miller <davem@davemloft.net>
24310
24311 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24312
85fe1997
JM
243132012-08-03 Joseph Myers <joseph@codesourcery.com>
24314
24315 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
24316 Remove.
24317 (__ASSUME_CORRECT_SI_PID): Likewise.
24318 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
24319 (__ASSUME_TMPFS_NAME): Likewise.
24320 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
24321 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
24322 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
24323 (HAVE_AUX_SECURE): Make definition unconditional.
24324 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
24325 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
24326
4f75b7a0
RM
243272012-08-03 Roland McGrath <roland@hack.frob.com>
24328
24329 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
24330 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
24331 * sysdeps/mach/hurd/eloop-threshold.h: New file.
24332 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
24333 __eloop_threshold instead of SYMLOOP_MAX.
24334
24335 * sysdeps/generic/eloop-threshold.h: New file.
24336 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
24337 of MAXSYMLINKS.
24338 * elf/chroot_canon.c (chroot_canon): Likewise.
24339
7aab07e4
JM
243402012-08-03 Joseph Myers <joseph@codesourcery.com>
24341
24342 [BZ #13717]
24343 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
24344 Change to 2.6.0 everywhere.
24345 * sysdeps/unix/sysv/linux/configure: Regenerated.
24346 * sysdeps/unix/sysv/linux/kernel-features.h
24347 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
24348 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
24349 kernel versions.
24350 (__ASSUME_POSIX_TIMERS): Define unconditionally.
24351 (__ASSUME_FUTEX_REQUEUE): Remove.
24352 (__ASSUME_STATFS64): Define unconditionally.
24353 (__ASSUME_AT_SECURE): Likewise.
24354 (__ASSUME_CORRECT_SI_PID): Likewise.
24355 (__ASSUME_TGKILL): Define without depending on kernel version for
24356 i386.
24357 (__ASSUME_UTIMES): Likewise.
24358 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
24359 kernel version.
24360 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
24361 (__ASSUME_TMPFS_NAME): Likewise.
24362 * README: Update reference to Linux kernel versions.
24363
b67e9372
MP
243642012-08-02 Marek Polacek <polacek@redhat.com>
24365
1f529f7d 24366 [BZ# 14150]
b67e9372
MP
24367 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
24368 libc_cv_asm_type_prefix with %.
24369 * configure: Regenerated.
d2441631
RM
24370 * include/libc-symbols.h: Remove comment about
24371 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
24372 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
24373 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
24374 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
24375 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
24376 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
24377 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
24378 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
24379 * elf/tst-unique2mod1.c: Likewise.
24380 * elf/tst-unique1mod2.c: Likewise.
24381 * elf/tst-unique1mod1.c: Likewise.
24382 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
24383 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
24384 Replace ASM_TYPE_DIRECTIVE with .type.
24385 * sysdeps/s390/s390-64/sysdep.h: Likewise.
24386 * sysdeps/i386/sysdep.h: Likewise.
24387 * sysdeps/x86_64/sysdep.h: Likewise.
24388 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
24389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
24390 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 24391 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
24392 * sysdeps/powerpc/powerpc32/sysdep.h:
24393 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
24394 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
24395 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
24396 * sysdeps/i386/fpu/e_powf.S: Likewise.
24397 * sysdeps/i386/fpu/e_expl.S: Likewise.
24398 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
24399 * sysdeps/i386/fpu/e_acosh.S: Likewise.
24400 * sysdeps/i386/fpu/e_pow.S: Likewise.
24401 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
24402 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
24403 * sysdeps/i386/fpu/s_expm1.S: Likewise.
24404 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
24405 * sysdeps/i386/fpu/e_log2.S: Likewise.
24406 * sysdeps/i386/fpu/e_log2l.S: Likewise.
24407 * sysdeps/i386/fpu/e_scalb.S: Likewise.
24408 * sysdeps/i386/fpu/e_powl.S: Likewise.
24409 * sysdeps/i386/fpu/e_log10f.S: Likewise.
24410 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
24411 * sysdeps/i386/fpu/e_logl.S: Likewise.
24412 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
24413 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
24414 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
24415 * sysdeps/i386/fpu/e_log2f.S: Likewise.
24416 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
24417 * sysdeps/i386/fpu/e_log.S: Likewise.
24418 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
24419 * sysdeps/i386/fpu/e_logf.S: Likewise.
24420 * sysdeps/i386/fpu/e_log10l.S: Likewise.
24421 * sysdeps/i386/fpu/e_atanh.S: Likewise.
24422 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
24423 * sysdeps/i386/fpu/e_log10.S: Likewise.
24424 * sysdeps/i386/fpu/s_frexp.S: Likewise.
24425 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
24426 * sysdeps/i386/fpu/s_asinh.S: Likewise.
24427 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
24428 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
24429 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
24430 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
24431 * sysdeps/i386/i686/strtok.S: Likewise.
24432 * sysdeps/i386/i386-mcount.S: Likewise.
24433 * sysdeps/i386/strtok.S: Likewise.
24434 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
24435 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
24436 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
24437 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
24438 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
24439 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
24440 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
24441 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
24442 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
24443 * sysdeps/x86_64/_mcount.S: Likewise.
24444 * sysdeps/x86_64/strtok.S: Likewise.
24445 * sysdeps/sh/_mcount.S: Likewise.
24446
2747bf9a
RM
244472012-08-01 Roland McGrath <roland@hack.frob.com>
24448
24449 * libio/iofopen.c: Include <fcntl.h>.
24450 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
24451 (_IO_fopen64, fopen64): Define as aliases.
24452 * libio/iofopen64.c: Include <fcntl.h>.
24453 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
24454 Conditionalize body on this.
24455 * sysdeps/wordsize-64/iofopen.c: File removed.
24456 * sysdeps/wordsize-64/iofopen64.c: File removed.
24457
3fb791b8
MP
244582012-08-01 Marek Polacek <polacek@redhat.com>
24459
24460 * libc/Makeconfig: Use elf in place of binfmt-subdir.
24461 Use dlfcn directly instead of a variable.
24462 (binfmt-subdir): Do not define.
24463 (dlfcn): Likewise.
24464
a9f1039f
JM
244652012-08-01 Joseph Myers <joseph@codesourcery.com>
24466
23bddc06
JM
24467 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
24468 Remove all definitions.
24469 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
24470 <kernel-features.h>.
24471 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
24472 (miss_F_GETOWN_EX): Remove all definitions.
24473 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
24474 macro definition.
24475 [!__ASSUME_FCNTL64]: Remove conditional code.
24476 [__ASSUME_FCNTL64]: Make code unconditional.
24477 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
24478 <kernel-features.h>.
24479 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
24480 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
24481 (lockf64) [__NR_fcntl64]: Make code unconditional.
24482 (lockf64) [__ASSUME_FCNTL64]: Likewise.
24483
a9f1039f
JM
24484 * sysdeps/unix/sysv/linux/kernel-features.h
24485 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
24486 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
24487 Make code unconditional.
24488 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
24489 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
24490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
24491 [__NR_vfork]: Make code unconditional.
24492 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
24493 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
24494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
24495 [__NR_vfork]: Make code unconditional.
24496 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
24497 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
24498
09c0ee5f
RM
244992012-08-01 Roland McGrath <roland@hack.frob.com>
24500
48aec5b9
RM
24501 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
24502 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
24503
cd97c966
RM
24504 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
24505 Define mkstemp64 as an alias.
3f55550c
RM
24506 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
24507 Define mkstemps64 as an alias.
cd97c966
RM
24508 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
24509 Define mkostemp64 as an alias.
b8625cfc
RM
24510 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
24511 Define mkostemps64 as an alias.
cd97c966
RM
24512 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
24513 Conditionalize body on this.
24514 * misc/mkostemp64.c: Likewise.
b8625cfc 24515 * misc/mkostemps64.c: Likewise.
3f55550c 24516 * misc/mkstemps64.c: Likewise.
cd97c966
RM
24517 * sysdeps/wordsize-64/mkstemp64.c: File removed.
24518 * sysdeps/wordsize-64/mkostemp64.c: File removed.
24519 * sysdeps/wordsize-64/mkostemp.c: File removed.
24520 * sysdeps/wordsize-64/mkstemp.c: File removed.
24521 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
24522 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
24523 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
24524 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
24525
09c0ee5f
RM
24526 [BZ #14138]
24527 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
24528 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
24529 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
24530 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
24531
24532 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
24533 compat_symbol macros from <shlib-compat.h> rather than the underlying
24534 default_symbol_version and symbol_version macros, so that DEFAULT
24535 lines in shlib-versions are respected.
24536 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
24537
7e66ee51
FW
245382012-08-01 Florian Weimer <fweimer@redhat.com>
24539
24540 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
24541 Declare with warn_unused_result.
24542 (setgid, setregid, setegid, setresgid): Likewise.
24543 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
24544 Likewise.
24545 * WUR-REPORT: Remove set*id functions.
24546
d2a54255
PT
245472012-07-31 Pino Toscano <toscano.pino@tiscali.it>
24548
24549 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
24550
7ecdb005
RM
245512012-07-31 Roland McGrath <roland@hack.frob.com>
24552
b4180a5e 24553 [BZ #10191]
789bd351
RM
24554 * include/sys/socket.h (__libc_accept, __libc_accept4):
24555 Add attribute_hidden.
24556 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
24557
40ce302d
RM
24558 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
24559 use of PTR_MANGLE.
24560 * inet/getnetgrent_r.c (setup): Likewise.
24561
7ecdb005
RM
24562 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
24563
e2eabb2c
DM
245642012-07-31 David S. Miller <davem@davemloft.net>
24565
24566 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24567
d0419dbf
JM
245682012-07-31 Joseph Myers <joseph@codesourcery.com>
24569
24570 [BZ #13629]
24571 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
24572 value between 1.0 and 2.0 and smaller part has absolute value less
24573 than 1.0.
24574 * math/s_clog10.c (__clog10): Likewise.
24575 * math/s_clog10f.c (__clog10f): Likewise.
24576 * math/s_clog10l.c (__clog10l): Likewise.
24577 * math/s_clogf.c (__clogf): Likewise.
24578 * math/s_clogl.c (__clogl): Likewise.
24579 * math/libm-test.inc (clog_test): Add more tests.
24580 (clog10_test): Likewise.
24581 * sysdeps/i386/fpu/libm-test-ulps: Update.
24582 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24583
2bc13872
FW
245842012-07-31 Florian Weimer <fweimer@redhat.com>
24585
24586 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
24587 Exit with zero in case no suitable GID is found, and write a
24588 message to standard error.
24589
bea9b193
RM
245902012-07-30 Roland McGrath <roland@hack.frob.com>
24591
24592 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
24593 rather than to 1.
24594 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
24595 (MAXPATHLEN): Removed.
24596 (NOGROUP, NODEV): New macros.
24597 (setbit, clrbit, isset, isclr): New macros.
24598 (howmany, roundup, powerof2): New macros.
24599 (DEV_BSIZE): New macro.
24600
24601 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
24602 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
24603
24604 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
24605 definition on [!__NO_LONG_DOUBLE_MATH].
24606
24607 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
24608 PTR_MANGLE and PTR_DEMANGLE.
24609
24610 * socket/accept4.c (accept4): Rename to __libc_accept4.
24611 Define accept4 as a weak alias.
24612
24613 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
24614 on [_DIRENT_HAVE_D_TYPE].
24615 * io/ftw.c (ftw_dir): Likewise.
24616
24617 * io/xmknod.c (__xmknod): Don't check PATH for being null.
24618
24619 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
24620
24621 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
24622 Use the BSD numbers rather than the arbitrary ones we had.
24623 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
24624 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
24625 (SIGXCPU, SIGXFSZ): New macros.
24626 (_NSIG): Now 32.
24627
24628 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
24629 initializer on [_LIBC_REENTRANT].
24630
24631 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
24632 definitions inside [_POSIX_MAPPED_FILES].
24633
24634 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
24635
24636 * dirent/opendir.c: Include <fcntl.h>.
24637
24638 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
24639 (__libc_getspecific): Likewise.
24640 (__libc_key_create): Likewise.
24641
24642 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
24643 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
24644 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
24645 (tmpfile64): Define as alias.
24646 * sysdeps/wordsize-64/tmpfile.c: File removed.
24647 * sysdeps/wordsize-64/tmpfile64.c: File removed.
24648 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
24649 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
24650
24651 * stdio-common/vfscanf.c: Include <stdbool.h>.
24652 * nss/makedb.c: Likewise.
24653 * stdio-common/_i18n_number.h: Likewise.
24654 * argp/argp-help.c: Likewise.
24655 * posix/wordexp.c: Likewise.
24656 * sysdeps/posix/spawni.c: Likewise.
24657 * nss/nss_files/files-initgroups.c: Likewise.
24658 * stdio-common/reg-modifier.c: Include <stdlib.h>.
24659 * nss/nss_files/files-initgroups.c: Likewise.
24660 * nss/nss_db/db-netgrp.c: Likewise.
24661 * nss/nss_db/db-initgroups.c: Likewise.
24662 * io/fchmodat.c: Include <sys/stat.h>.
24663
24664 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
24665 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
24666
24667 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
24668 [HAVE_MMAP].
24669
24670 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
24671 Add multiple inclusion protection.
24672
e5abc686
DM
246732012-07-27 David S. Miller <davem@davemloft.net>
24674
24675 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24676
815e6fa3
GB
246772012-07-27 Gary Benson <gbenson@redhat.com>
24678
24679 [BZ #14298]
24680 * elf/rtld.c: Include <stap-probe.h>.
24681 (dl_main): Added static probes "init_start" and "init_complete".
24682 * elf/dl-load.c: Include <stap-probe.h>.
24683 (lose): Take new parameter "nsid".
24684 Added static probe "map_failed".
24685 (_dl_map_object_from_fd): Pass namespace id to lose.
24686 Added static probe "map_start".
24687 (open_verify): Pass namespace id to lose.
24688 * elf/dl-open.c: Include <stap-probe.h>.
24689 (dl_open_worker) Added static probes "map_complete", "reloc_start"
24690 and "reloc_complete".
24691 * elf/dl-close.c: Include <stap-probe.h>.
24692 (_dl_close_worker): Added static probes "unmap_start" and
24693 "unmap_complete".
24694 * elf/rtld-debugger-interface.txt: New file documenting the above.
24695
9f98c16c
RM
246962012-07-26 Roland McGrath <roland@hack.frob.com>
24697
24698 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
24699 rather than a string variable.
24700 * sunrpc/rpc_main.c (h_output): Likewise.
24701 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
24702
f3c22df3
PT
247032012-07-26 Pino Toscano <toscano.pino@tiscali.it>
24704
24705 * inet/check_native.c: New file.
24706
3129cfc6
JM
247072012-07-26 Joseph Myers <joseph@codesourcery.com>
24708
da865e95
JM
24709 [BZ #13629]
24710 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
24711 if larger part has absolute value 1.0.
24712 * math/s_clog10.c (__clog10): Likewise.
24713 * math/s_clog10f.c (__clog10f): Likewise.
24714 * math/s_clog10l.c (__clog10l): Likewise.
24715 * math/s_clogf.c (__clogf): Likewise.
24716 * math/s_clogl.c (__clogl): Likewise.
24717 * math/libm-test.inc (clog_test): Add more tests.
24718 (clog10_test): Likewise.
24719 * sysdeps/i386/fpu/libm-test-ulps: Update.
24720 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24721
3129cfc6
JM
24722 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
24723 (pltexit): Likewise.
24724 (La_regs): Likewise.
24725 (La_retval): Likewise.
24726 (int_retval): Likewise.
24727 Update #error for removed macros to refer only to definitions in
24728 tst-audit.h.
24729 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
24730 macro.
24731 (pltexit): Likewise.
24732 (La_regs): Likewise.
24733 (La_retval): Likewise.
24734 (int_retval): Likewise.
24735 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
24736 macro.
24737 (pltexit): Likewise.
24738 (La_regs): Likewise.
24739 (La_retval): Likewise.
24740 (int_retval): Likewise.
24741 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
24742 macro.
24743 (pltexit): Likewise.
24744 (La_regs): Likewise.
24745 (La_retval): Likewise.
24746 (int_retval): Likewise.
24747 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
24748 macro.
24749 (pltexit): Likewise.
24750 (La_regs): Likewise.
24751 (La_retval): Likewise.
24752 (int_retval): Likewise.
24753 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
24754 macro.
24755 (pltexit): Likewise.
24756 (La_regs): Likewise.
24757 (La_retval): Likewise.
24758 (int_retval): Likewise.
24759 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
24760 macro.
24761 (pltexit): Likewise.
24762 (La_regs): Likewise.
24763 (La_retval): Likewise.
24764 (int_retval): Likewise.
24765 * sysdeps/generic/tst-audit.h: Update comment to refer only to
24766 macro definitions in tst-audit.h.
24767 * sysdeps/i386/tst-audit.h: New file.
24768 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
24769 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
24770 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
24771 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
24772 * sysdeps/sh/tst-audit.h: Likewise.
24773 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
24774 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
24775 * sysdeps/x86_64/tst-audit.h: Likewise.
24776
bfc07087
AJ
247772012-07-26 Andreas Jaeger <aj@suse.de>
24778
b1b2aaf8
AJ
24779 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
24780 ptrace.
24781
24782 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
24783 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
24784 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
24785 PTRACE_O_MASK.
24786 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
24787 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
24788 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
24789
bfc07087
AJ
24790 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
24791 value.
24792
24793 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
24794 _sigsys.
24795 (si_call_addr, si_syscall, si_arch): Define new macro.
24796 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
24797 _sigsys.
24798 (si_call_addr, si_syscall, si_arch): Define new marcro.
24799 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
24800 _sigsys.
24801 (si_call_addr, si_syscall, si_arch): Define new macro.
24802 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
24803 _sigsys.
24804 (si_call_addr, si_syscall, si_arch): Define new macro.
24805
89b4b02f
JM
248062012-07-25 Joseph Myers <joseph@codesourcery.com>
24807
24808 [BZ #13717]
24809 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
24810 Change to 2.4.21 where previously 2.4.1.
24811 * sysdeps/unix/sysv/linux/configure: Regenerated.
24812 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
24813 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
24814 Linux kernel version.
24815 (__ASSUME_STD_AUXV): Remove.
24816 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
24817 kernel version.
24818 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
24819 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
24820 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
24821 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
24822 (__ASSUME_NETLINK_SUPPORT): Likewise.
24823 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
24824 (__no_netlink_support): Remove conditional definition.
24825 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
24826 Remove.
24827 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
24828 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
24829 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
24830 (if_nameindex_ioctl): Remove.
24831 (if_nameindex_netlink): Do not handle __no_netlink_support.
24832 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
24833 code.
24834 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
24835 Remove conditional code.
24836 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
24837 code.
24838 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
24839 unconditional.
24840 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
24841 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
24842 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
24843 Remove.
24844 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
24845 [!__ASSUME_STD_AUXV]: Remove conditional code.
24846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
24847 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
24848 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
24849 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
24850 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
24851 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
24852 code.
24853 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
24854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
24855 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
24856 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
24857 conditional code.
24858 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
24859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
24860 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
24861 code.
24862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
24863 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
24864 conditional code.
24865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
24866 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
24867 code unconditional.
24868 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
24869 conditional code.
24870 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
24871 unconditional.
24872 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
24873 conditional code.
24874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
24875 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
24876 unconditional.
24877 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
24878 conditional code.
24879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
24880 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
24881 code unconditional.
24882 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
24883 conditional code.
24884 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
24885 unconditional.
24886 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
24887 conditional code.
24888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
24889 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
24890 code unconditional.
24891 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
24892 conditional code.
24893 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
24894 unconditional.
24895 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
24896 conditional code.
24897
842a39cd
AS
248982012-07-25 Andreas Schwab <schwab@linux-m68k.org>
24899
24900 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
24901 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
24902 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
24903 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
24904 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
24905 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
24906 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
24907 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
24908 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
24909 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
24910 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
24911 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
24912 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
24913 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
24914 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
24915 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
24916 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
24917 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
24918 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
24919 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
24920 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
24921 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
24922 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
24923
84b3fd84
FW
249242012-07-25 Florian Weimer <fweimer@redhat.com>
24925
24926 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
24927 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
24928 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
24929 Introduce __libc_secure_getenv.
0c7936d5
FW
24930 * stdlib/Versions (2.17): Add secure_getenv
24931 (GLIBC_PRIVATE): Add __libc_secure_getenv.
24932 * stdlib/secure-getenv.c: Rename __secure_getenv to
24933 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
24934 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
24935 * stdlib/tst-secure-getenv.c: New.
24936 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
24937 * manual/startup.texi (Environment Access): Document
24938 secure_getenv.
84b3fd84
FW
24939 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
24940 __libc_secure_getenv.
24941 * inet/ruserpass.c (ruserpass): Likewise.
24942 * malloc/mtrace.c (mtrace): Likewise.
24943 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 24944 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
24945 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
24946 * sysdeps/posix/tempname.c: Likewise. Evaluate
24947 HAVE_SECURE_GETENV.
24948 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 24949 __secure_getenv to __libc_secure_getenv.
84b3fd84 24950 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
24951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24952 Likewise.
24953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24954 Likewise.
24955 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
24956 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
24957 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
24958 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
24959 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
24960 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
24961 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 24962
56e49b71
JM
249632012-07-25 Joseph Myers <joseph@codesourcery.com>
24964
24965 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
24966 (struct La_i86_retval): Likewise.
24967 (struct La_x86_64_regs): Likewise.
24968 (struct La_x86_64_retval): Likewise.
24969 (struct La_x32_regs): Likewise.
24970 (struct La_x32_retval): Likewise.
24971 (struct La_ppc32_regs): Likewise.
24972 (struct La_ppc32_retval): Likewise.
24973 (struct La_ppc64_regs): Likewise.
24974 (struct La_ppc64_retval): Likewise.
24975 (struct La_sh_regs): Likewise.
24976 (struct La_sh_retval): Likewise.
24977 (struct La_s390_32_regs): Likewise.
24978 (struct La_s390_32_retval): Likewise.
24979 (struct La_s390_64_regs): Likewise.
24980 (struct La_s390_64_retval): Likewise.
24981 (struct La_sparc32_regs): Likewise.
24982 (struct La_sparc32_retval): Likewise.
24983 (struct La_sparc64_regs): Likewise.
24984 (struct La_sparc64_retval): Likewise.
24985 (struct audit_ifaces): Remove architecture-specific pltenter and
24986 pltexit members.
24987 * sysdeps/i386/ldsodefs.h: New file.
24988 * sysdeps/powerpc/ldsodefs.h: Likewise.
24989 * sysdeps/s390/ldsodefs.h: Likewise.
24990 * sysdeps/sh/ldsodefs.h: Likewise.
24991 * sysdeps/sparc/ldsodefs.h: Likewise.
24992 * sysdeps/x86_64/ldsodefs.h: Likewise.
24993
354691b7
MP
249942012-07-25 Marek Polacek <polacek@redhat.com>
24995
24996 [BZ #6808]
24997 * math/libm-test.inc (yn_test): Add another test.
24998 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
24999 to ERANGE when the result is +-Inf.
25000 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
25001 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
25002 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
25003 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
25004
bf9e2071
JM
250052012-07-24 Joseph Myers <joseph@codesourcery.com>
25006
25007 * conform/data/time.h-data (NULL): Use macro-constant. Require
25008 equal to 0.
25009 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
25010 clock_t.
25011 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
25012
57633811
TS
250132012-07-23 Thomas Schwinge <thomas@codesourcery.com>
25014
25015 * configure.in <sysdeps resolving>: Correct printing
25016 Implies_before.
25017 * configure: Regenerate.
25018
c23c33b0
TS
250192012-07-22 Thomas Schwinge <thomas@codesourcery.com>
25020
25021 * math/w_ilogb.c: Include <limits.h>.
25022 * math/w_ilogbl.c: Likewise.
25023
b5982523
JM
250242012-07-20 Joseph Myers <joseph@codesourcery.com>
25025
25026 * manual/lang.texi (__va_copy): Document primarily as ISO C99
25027 va_copy. Document allowing for unavailable va_copy only as
25028 pre-C99 compatibility.
25029 * manual/string.texi (Copying and Concatenation): Use va_copy
25030 instead of __va_copy in concat example.
25031
ac4ea442
PT
250322012-07-20 Pino Toscano <toscano.pino@tiscali.it>
25033
25034 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
25035 (__sendto): Use create_address_port. Initialize APORT and deallocate
25036 it if not null.
25037
f98eafbd
PT
25038 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
25039 with O_NOLINK passed to __file_name_lookup.
25040
898c7aab
PT
25041 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
25042 with O_NOLINK passed to __file_name_lookup.
25043
0ced335a
PT
25044 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
25045 negative N or less than NGIDS.
25046
b3404dbd
PT
25047 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
25048 type to string_t. Set ERANGE as errno and return it if NAME is not big
25049 enough. Use memcpy instead of strncpy.
25050
0f48659e
JM
250512012-07-20 Joseph Myers <joseph@codesourcery.com>
25052
25053 * elf/Makefile (check-data): Remove.
25054 (localplt.data): New vpath directive.
25055 ($(objpfx)check-localplt.out): Use localplt.data from vpath
25056 instead of $(check-data).
25057 * scripts/data/localplt-generic.data: Move to ...
25058 * sysdeps/generic/localplt.data: ... here.
25059 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
25060 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
25061 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
25062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
25063 ... here.
25064 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
25065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
25066 ... here.
25067 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
25068 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
25069 ... here.
25070 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
25071 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
25072 ... here.
25073 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
25074 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
25075 ... here.
25076 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
25077 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
25078 ... here.
25079
d37cbdaa
AZ
250802012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25081
25082 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
25083 PPC32 and PPC64 files.
25084 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
25085 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
25086
46f85fc2
AK
250872012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25088
25089 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
25090 __makecontext_ret to ...
25091 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
25092 ... here and call exit if uc_link is NULL. New file.
25093 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
25094 __makecontext_ret.S.
25095 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
25096 __makecontext_ret to ...
25097 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
25098 ... here and call exit if uc_link is NULL. New file.
25099 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
25100 __makecontext_ret.S.
25101
08f43f9b
AK
251022012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25103
25104 * elf/elf.h (R_390_IRELATIVE): New definition.
25105 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
25106 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
25107 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
25108 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
25109 (elf_machine_lazy_rel): Likewise.
25110 * sysdeps/s390/dl-irel.h: New file.
25111 * sysdeps/s390/s390-64/memcpy.S: New asm code.
25112 * sysdeps/s390/s390-64/memset.S: New asm code.
25113 * sysdeps/s390/s390-64/memcmp.S: New asm code.
25114 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
25115 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
25116 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
25117 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
25118 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
25119 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
25120 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
25121 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
25122 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
25123 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
25124 * sysdeps/s390/s390-32/memcpy.S: New asm code.
25125 * sysdeps/s390/s390-32/memset.S: New asm code.
25126 * sysdeps/s390/s390-32/memcmp.S: New asm code.
25127
3b05db33
MP
251282012-07-17 Marek Polacek <polacek@redhat.com>
25129
25130 [BZ #14349]
25131 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
25132 * sysdeps/s390/s390-64/configure.in: Likewise.
25133 * sysdeps/sparc/configure.in: Likewise.
25134 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
25135 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
25136 * sysdeps/i386/configure.in: Likewise.
25137 * sysdeps/x86_64/configure.in: Likewise.
25138 * sysdeps/sh/configure.in: Likewise.
25139 * sysdeps/s390/s390-32/configure: Regenerated.
25140 * sysdeps/s390/s390-64/configure: Likewise.
25141 * sysdeps/x86_64/configure: Likewise.
25142 * sysdeps/sh/configure: Likewise.
25143 * sysdeps/powerpc/powerpc64/configure: Likewise.
25144 * sysdeps/powerpc/powerpc32/configure: Likewise.
25145 * sysdeps/sparc/configure: Likwise.
25146 * sysdeps/i386/configure: Likewise.
25147
a66877c6
MP
25148 * elf/dl-open.c: Comment fixes.
25149
cfc82fd8
JM
251502012-07-17 Joseph Myers <joseph@codesourcery.com>
25151
bd29910a
JM
25152 * Makefile [CXX] (check-data): Remove.
25153 [CXX] (c++-types.data): New vpath directive.
25154 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
25155 vpath. Do not allow for C++ type data being missing.
25156 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
25157 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
25158 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
25159 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
25160 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
25161 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
25162 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
25163 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
25164 ... here.
25165 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
25166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
25167 ... here.
25168 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
25169 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
25170 ... here.
25171 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
25172 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
25173 ... here.
25174 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
25175 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
25176 ... here.
25177 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
25178 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
25179 ... here.
25180 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
25181 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
25182 ... here.
25183 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
25184 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
25185
cfc82fd8
JM
25186 * elf/tls-macros.h (TLS_LE): Move architecture-specific
25187 definitions to architecture-specific files.
25188 (TLS_IE): Likewise.
25189 (TLS_LD): Likewise.
25190 (TLS_GD): Likewise.
25191 * sysdeps/i386/tls-macros.h: New file.
25192 * sysdeps/powerpc/tls-macros.h: Likewise.
25193 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
25194 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
25195 * sysdeps/sh/tls-macros.h: Likewise.
25196 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
25197 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
25198 * sysdeps/x86_64/tls-macros.h: Likewise.
25199
f7db3170
TS
252002012-07-17 Thomas Schwinge <thomas@codesourcery.com>
25201
07cbfc23
TS
25202 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
25203 zero value for regular exit case.
25204
f7db3170
TS
25205 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
25206 (__start_context): Preserve zero value for regular exit case.
25207
dc97c227
TS
252082012-07-17 Thomas Schwinge <thomas@codesourcery.com>
25209 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25210
25211 * manual/setjmp.texi (setcontext): Clarify normal process
25212 termination when uc_link is the null pointer.
25213 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
25214 exit call.
25215
d0cd7d02
AS
252162012-07-16 Andreas Schwab <schwab@linux-m68k.org>
25217
25218 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
25219 preprocessor. Test for each exception mask separately.
25220
dd318934
AJ
252212012-07-16 Andreas Jaeger <aj@suse.de>
25222
25223 * po/ru.po: Update from translation team.
25224
8048311a
JM
252252012-07-15 Joseph Myers <joseph@codesourcery.com>
25226
25227 * conform/data/string.h-data (NULL): Use macro-constant. Require
25228 equal to 0.
25229 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
25230 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
25231 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
25232 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
25233 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25234
b637d46e
AJ
252352012-07-13 Andreas Jaeger <aj@suse.de>
25236
25237 * po/fr.po: Update from translation team.
25238
541428fe
MP
252392012-07-12 Marek Polacek <polacek@redhat.com>
25240
25241 [BZ #14173]
25242 * math/libm-test.inc (yn_test): Add test for BZ #14173.
25243 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
25244 loop condition.
25245
ec332e94
JM
252462012-07-12 Joseph Myers <joseph@codesourcery.com>
25247
25248 [BZ #13717]
25249 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25250 Change to 2.4.1 where previously 2.4.0.
25251 * sysdeps/unix/sysv/linux/configure: Regenerated.
25252 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
25253 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
25254 version.
25255 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
25256 (__ASSUME_AT_CLKTCK): Remove.
25257 (__ASSUME_AT_PAGESIZE): Likewise.
25258 (__ASSUME_AT_XID): Likewise.
25259 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
25260 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
25261 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
25262 unconditionally.
25263 (HAVE_AUX_PAGESIZE): Likewise.
25264 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
25265 [__ASSUME_AT_CLKTCK]: Make code unconditional.
25266 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
25267
7b6e99be
JB
252682012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
25269
25270 [BZ #14307]
25271 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
25272 the temporary buffer used to invoke __gethostbyname2_r,
25273 __gethostbyaddr_r and gethostbyname4_r to make room for struct
25274 host_data / struct gaih_addrtuple.
25275 * resolv/nss_dns/dns-host.c (global scope): Move definition of
25276 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
25277 header file nss/nsswitch.h.
25278 * nss/nsswitch.h (global scope): Add definition of implementation
25279 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
25280 resolv/nss_dns/dns-host.c).
25281
608404eb
AJ
252822012-07-11 Andreas Jaeger <aj@suse.de>
25283
25284 * po/fr.po: Update from translation team.
25285
71220aca
AJ
25286 * po/sv.po: Update from translation team
25287 * po/fr.po: Another update from translation team.
25288
28cfe843
AZ
252892012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25290
25291 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
25292 for subnormals or multiply small sinh result by itself.
25293 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
25294 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25295
6b90f981
DM
252962012-07-11 David S. Miller <davem@davemloft.net>
25297
25298 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25299
c6825772
AS
253002012-07-10 Andreas Schwab <schwab@linux-m68k.org>
25301
25302 [BZ #14347]
25303 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
25304 (INTERNAL_MARK): Shift it here.
25305
7b8e0d49
MP
253062012-07-10 Marek Polacek <polacek@redhat.com>
25307
25308 [BZ #14151]
25309 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
25310 libc_cv_asm_global_directive with .globl.
25311 * configure: Regenerated.
25312 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
25313 with .globl.
25314 * sysdeps/i386/configure: Regenerated.
25315 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
25316 with .globl.
25317 * sysdeps/x86_64/configure: Regenerated.
25318 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
25319 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
25320 * elf/tst-unique2mod2.c: Likewise.
25321 * elf/tst-unique2mod1.c: Likewise.
25322 * elf/tst-unique1mod2.c: Likewise.
25323 * elf/tst-unique1mod1.c: Likewise.
25324 * sysdeps/s390/s390-32/sysdep.h: Likewise.
25325 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
25326 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25327 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
25328 * sysdeps/mach/sysdep.h: Likewise.
25329 * sysdeps/i386/sysdep.h: Likewise.
25330 * sysdeps/i386/i386-mcount.S: Likewise.
25331 * sysdeps/x86_64/_mcount.S: Likewise.
25332 * sysdeps/x86_64/sysdep.h: Likewise.
25333 * sysdeps/sh/_mcount.S: Likewise.
25334 * sysdeps/sh/sysdep.h: Likewise.
25335 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
25336 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
25337 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
25338 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
25339 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
25340 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
25341 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
25342 * locale/localeinfo.h: Likewise.
25343 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
25344 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
25345
6c55cda3
RM
253462012-07-09 Roland McGrath <roland@hack.frob.com>
25347
25348 [BZ #14336]
25349 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
25350 system".
25351 * manual/message.texi (The Uniforum approach): Likewise.
25352 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
25353 (glibc iconv Implementation): Likewise.
25354
638a572e
JM
253552012-07-09 Joseph Myers <joseph@codesourcery.com>
25356
25357 [BZ #14337]
25358 * math/s_clog.c (__clog): Avoid scaling a value down where that
25359 could result in underflow.
25360 * math/s_clog10.c (__clog10): Likewise.
25361 * math/s_clog10f.c (__clog10f): Likewise.
25362 * math/s_clog10l.c (__clog10l): Likewise.
25363 * math/s_clogf.c (__clogf): Likewise.
25364 * math/s_clogl.c (__clogl): Likewise.
25365 * math/libm-test.inc (clog_test): Add more tests.
25366 (clog10_test): Likewise.
25367 * sysdeps/i386/fpu/libm-test-ulps: Update.
25368 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25369
261f4859
AS
253702012-07-06 Andreas Schwab <schwab@linux-m68k.org>
25371
0abaf3e4
AS
25372 [BZ #14283]
25373 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
25374 by 7 not 8 to examine high bit of fractional part.
25375
261f4859
AS
25376 [BZ #14042]
25377 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
25378 for call to __mcount_internal.
25379 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
25380 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
25381 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
25382
f17ac40d
JM
253832012-07-06 Joseph Myers <joseph@codesourcery.com>
25384
9ad63c23
JM
25385 [BZ #14154]
25386 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
25387 approximation for values within 0x1p-13f of an odd multiple of
25388 pi/4.
25389 * math/libm-test.inc (tan_test): Do not allow spurious underflow
25390 exception. Add more tests.
25391 * sysdeps/i386/fpu/libm-test-ulps: Update.
25392
f17ac40d
JM
25393 [BZ #6778]
25394 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
25395 inputs and return -1 for them. Do not check for +Inf in case not
25396 reachable for +Inf.
25397 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
25398 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
25399 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
25400 and return -1 for them. Do not check for +Inf in case not
25401 reachable for +Inf.
25402 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
25403 define.
25404 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
25405 and return -1 for them. Do not check for +Inf in case not
25406 reachable for +Inf.
25407 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
25408 spurious underflow.
25409 * sysdeps/i386/fpu/libm-test-ulps: Update.
25410 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25411
fb21f89b
MF
254122012-07-06 Mike Frysinger <vapier@gentoo.org>
25413
25414 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
25415
cdfe2c5e
JM
254162012-07-05 Joseph Myers <joseph@codesourcery.com>
25417
25418 [BZ #14157]
25419 [BZ #14331]
25420 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
25421 could result in spurious underflow. Scale down values above
25422 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
25423 * math/s_csqrtf.c (__csqrtf): Likewise.
25424 * math/s_csqrtl.c (__csqrtl): Likewise.
25425 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
25426 spurious underflow.
25427 * sysdeps/i386/fpu/libm-test-ulps: Update.
25428 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25429
70d35b67
AS
254302012-07-04 Andreas Schwab <schwab@linux-m68k.org>
25431
704bc459
AS
25432 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
25433 xopen-msg.sed.
25434 * catgets/xopen-msg.awk: New file.
25435 * catgets/xopen-msg.sed: Removed.
25436
70d35b67
AS
25437 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
25438 po2text.sed.
25439 * intl/po2test.awk: New file.
25440 * intl/po2test.sed: Removed.
25441
ca61cf32
JM
254422012-07-04 Joseph Myers <joseph@codesourcery.com>
25443
25444 [BZ #14328]
25445 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
25446 or multiply small sinh result by itself.
25447 * math/s_ctanf.c (__ctanf): Likewise.
25448 * math/s_ctanh.c (__ctanh): Likewise.
25449 * math/s_ctanhf.c (__ctanhf): Likewise.
25450 * math/s_ctanhl.c (__ctanhl): Likewise.
25451 * math/s_ctanl.c (__ctanl): Likewise.
25452 * math/libm-test.inc (ctan_test_tonearest): New function.
25453 (ctan_test_towardzero): Likewise.
25454 (ctan_test_downward): Likewise.
25455 (ctan_test_upward): Likewise.
25456 (ctanh_test_tonearest): Likewise.
25457 (ctanh_test_towardzero): Likewise.
25458 (ctanh_test_downward): Likewise.
25459 (ctanh_test_upward): Likewise.
25460 (main): Call these new functions.
25461 * sysdeps/i386/fpu/libm-test-ulps: Update.
25462 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25463
ca48a46a
MF
254642012-07-03 Mike Frysinger <vapier@gentoo.org>
25465
25466 * .gitignore: Delete /ports entry.
25467
9d63d37d
AJ
254682012-07-03 Andreas Jaeger <aj@suse.de>
25469
25470 * po/bg.po: Update from translation team.
25471 * po/cs.po: Likewise.
25472 * po/de.po: Likewise.
25473 * po/hr.po: Likewise.
25474 * po/nl.pl: Likewise.
25475 * po/pl.po: Likewise.
25476 * po/vi.po: Likewise.
25477
370ca3d2
JM
254782012-07-03 Joseph Myers <joseph@codesourcery.com>
25479
95f5a9a8
JM
25480 * Makeconfig [!+link] (+link-before-libc): New variable.
25481 [!+link] (+link-after-libc): Likewise.
25482 [!+link] (+link-tests): Likewise.
25483 [!+link] (+link): Define in terms of $(+link-before-libc) and
25484 $(+link-after-libc).
25485 [!+link-static] (+link-static-before-libc): New variable.
25486 [!+link-static] (+link-static-after-libc): Likewise.
25487 [!+link-static] (+link-static-tests): Likewise.
25488 [!+link-static] (+link-static): Define in terms of
25489 $(+link-static-before-libc) and $(+link-static-after-libc).
25490 [build-shared] (link-libc-before-gnulib): New variable.
25491 [build-shared] (link-libc-tests): Likewise.
25492 [build-shared] (link-libc): Define in terms of
25493 $(link-libc-before-gnulib).
25494 [!build-shared] (link-libc-tests): New variable.
25495 (link-libc-static-tests): New variable.
25496 [!gnulib] (gnulib-arch): New variable.
25497 [!gnulib] (gnulib-tests): Likewise.
25498 [!gnulib] (static-gnulib-arch): Likewise.
25499 [!gnulib] (static-gnulib-tests): Likewise.
25500 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
25501 Define with "=" instead of ":=".
25502 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
25503 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
25504 * Rules (binaries-all-notests): New variable.
25505 (binaries-all-tests): Likewise.
25506 (binaries-static-notests): Likewise.
25507 (binaries-static-tests): Likewise.
25508 (binaries-all): Define using $(binaries-all-notests) and
25509 $(binaries-all-tests).
25510 (binaries-static): Define using $(binaries-static-notests) and
25511 $(binaries-static-tests).
25512 (binaries-shared-tests): New variable.
25513 (binaries-shared-notests): Likewise.
25514 (binaries-shared): Remove variable.
25515 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
25516 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
25517 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
25518 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
25519 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
25520 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
25521 * elf/Makefile (sln-modules): New variable.
25522 (extra-objs): Add $(sln-modules:=.o).
25523 (ldconfig-modules): Add static-stubs.
25524 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
25525 * elf/static-stubs.c: New file.
25526
7a845b2c
JM
25527 [BZ #14283]
25528 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
25529 by 7 not 8 to examine high bit of fractional part. Use volatile
25530 variables when splitting into final array of floats if
25531 __FLT_EVAL_METHOD__ != 0.
25532 * math/libm-test.inc (cos_test): Add another test.
25533 (sin_test): Likewise.
25534 * sysdeps/i386/fpu/libm-test-ulps: Update.
25535
e2283f38
JM
25536 [BZ #14273]
25537 * math/libm-test.inc (cosh_test): Add more tests.
25538
370ca3d2
JM
25539 * version.h (RELEASE): Set to "development".
25540 (VERSION): Set to "2.16.90".
25541
ee9247c3
CD
255422012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
25543
25544 * NEWS: Update copyright. Remove last-updated date.
25545 Mention math library bug fixes and timezone data changes.
25546 * README: Mention GNU/Hurd, x32, and HPPA support status.
25547
4648c381
TS
255482012-06-28 Thomas Schwinge <thomas@codesourcery.com>
25549
25550 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
25551
aac78a43
AJ
255522012-06-27 Andreas Jaeger <aj@suse.de>
25553
25554 * manual/contrib.texi (Contributors): Add Samuel Thibault.
25555
ed3dbfad
AJ
255562012-06-25 Andreas Jaeger <aj@suse.de>
25557
25558 * sysdeps/s390/fpu/libm-test-ulps: Update.
25559
4d0ee855
AS
255602012-06-23 Andreas Schwab <schwab@linux-m68k.org>
25561 Thomas Schwinge <thomas@codesourcery.com>
25562
25563 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
25564 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
25565 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
25566 fanotify_mark.
25567
af1bce34
TS
255682012-06-23 Thomas Schwinge <thomas@codesourcery.com>
25569
a9fa33ba
TS
25570 * sysdeps/mach/start.c: Remove file.
25571 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
25572 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
25573 * sysdeps/sh/init-first.c: Likewise.
25574
58f902b8
TS
25575 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
25576 registers for frame unwinding purposes, add CFI directives.
25577 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
25578 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
25579 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
25580 Likewise.
25581
1518f58b
TS
25582 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
25583 __fortify_fail returning.
25584 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
25585
db9b5059
TS
25586 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
25587 sysdeps/sh/____longjmp_chk.S.
25588 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
25589 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
25590 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
25591 (gen-as-const-headers): Append sigaltstack-offsets.sym.
25592
967705fe
TS
25593 * sysdeps/sh/abort-instr.h: New file.
25594 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
25595 process in case exit returns.
25596
a9def8c4
TS
25597 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
25598 initialize the GOT register before use.
25599
2a649725
TS
25600 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
25601 calculation of ARGC > 4.
25602
af1bce34
TS
25603 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
25604 meaningful names to some local labels.
25605
d230f50a
KK
256062012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
25607 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25608
25609 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
25610 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
25611 (__arch_compare_and_exchange_val_16_acq): Likewise.
25612 (__arch_compare_and_exchange_val_32_acq): Likewise.
25613 (atomic_exchange_and_add): Fix gUSA sequence.
25614 (atomic_add): Likewise.
25615 (atomic_add_negative): Likewise.
25616 (atomic_add_zero): Likewise.
25617 (atomic_bit_test_set): Likewise.
25618
0479b305
AS
256192012-06-22 Andreas Schwab <schwab@redhat.com>
25620
25621 [BZ #13579]
25622 * include/link.h (struct link_map): Add l_free_initfini.
25623 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
25624 l_initfini.
25625 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
25626 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
25627 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
25628 set.
25629
0e3933b9
CD
256302012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
25631
25632 * configure.in: Use AC_LANG_SOURCE.
25633 * configure: Regenerate.
25634
4248b1b1
RM
256352012-06-22 Roland McGrath <roland@hack.frob.com>
25636
25637 * configure.in (libc_cv_localstatedir): New substituted variable.
25638 * configure: Regenerated.
25639 * config.make.in (localstatedir): New variable, substituted from
25640 libc_cv_localstatedir.
25641 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
25642 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
25643 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
25644 * sysdeps/gnu/configure: Regenerated.
25645
006dd861
JL
256462012-06-21 Jeff Law <law@redhat.com>
25647
25648 [BZ #14277]
25649 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
25650 free. Simplify list management for _LIBC case.
25651
79662d42
JM
256522012-06-21 Joseph Myers <joseph@codesourcery.com>
25653
b7abb4bf
JM
25654 [BZ #14273]
25655 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
25656 Clear sign bit of 64-bit integer value before comparing against
25657 overflow value.
25658
79662d42
JM
25659 * sysdeps/mach/configure: Regenerated.
25660
1f150908
L
256612012-06-21 H.J. Lu <hongjiu.lu@intel.com>
25662
25663 [BZ #14278]
25664 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
25665
28363bbf
JL
256662012-06-21 Jeff Law <law@redhat.com>
25667
25668 [BZ #13882]
25669 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
25670 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 25671 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
25672 * elf/dl-open.c (dl_open_worker): Likewise.
25673
09615db4
CD
256742012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
25675
25676 * scripts/list-sources.sh: Scan PORTS for translations.
25677 * po/libc.pot: Regenerated.
25678
2174c6dd
AJ
256792012-06-21 Andreas Jaeger <aj@suse.de>
25680
25681 [BZ #12194]
25682 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
25683 warning.
25684 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
25685 * bits/byteswap-16.h (__bswap_16): Likewise.
25686 * bits/byteswap.h (__bswap_constant_16): Likewise.
25687
3ee947b1
L
256882012-06-18 H.J. Lu <hongjiu.lu@intel.com>
25689
25690 [BZ #14117]
a2f34833
L
25691 * sysdeps/i386/fpu_control.h: Removed.
25692 * sysdeps/x86_64/fpu_control.h: Moved to ...
25693 * sysdeps/x86/fpu_control.h: Here.
25694
3ee947b1
L
25695 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
25696 (_FPU_SETCW): Likewise.
25697
ed1825f8
L
256982012-06-15 H.J. Lu <hongjiu.lu@intel.com>
25699
25f1282a
L
25700 [BZ #14117]
25701 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
25702 * sysdeps/x86/fpu/bits/mathinline.h: This.
25703 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
25704
ed1825f8
L
25705 [BZ #14050]
25706 [BZ #14117]
25707 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
25708 functions if __x86_64__ is defined.
25709
36d54b74
CLT
257102012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
25711
25712 * string/endian.h: Add !__ASSEMBLER__ condition for including
25713 conversion interfaces.
25714
10285c21
JM
257152012-06-15 Joseph Myers <joseph@codesourcery.com>
25716
25717 [BZ #14241]
25718 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
25719 of ABS(x) in calculating zero to negative powers other than odd
25720 integers.
25721 * math/libm-test.inc (pow_test): Add more tests.
25722
06c5abbd
AJ
257232012-06-15 Andreas Jaeger <aj@suse.de>
25724
25725 * manual/contrib.texi (Contributors): Update entry of Liubov
25726 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
25727 Machado Filho.
25728
a3aeac40
CH
257292012-06-15 Cyril Hrubis <metan@ucw.cz>
25730
25731 * string/string.h: Add __wur to GNU version of strerror_r.
25732
49bdf4c1
L
257332012-06-14 H.J. Lu <hongjiu.lu@intel.com>
25734
25735 [BZ #14229]
25736 * string/Makefile (tests): Add tst-strtok_r.
25737 * string/tst-strtok_r.c: New file.
25738 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
25739 RAX_LP/RDX_LP on SAVE_PTR.
25740
834f9b8d
RM
257412012-06-14 Roland McGrath <roland@hack.frob.com>
25742
25743 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
25744
75fa1921
JM
257452012-06-14 Joseph Myers <joseph@codesourcery.com>
25746
25747 * libm_test.inc (csqrt_test): Allow more spurious underflow
25748 exceptions.
25749 (j0_test): Likewise.
25750 (j1_test): Likewise.
25751 (y0_test): Likewise.
25752 (y1_test): Likewise.
25753
771766df
CD
257542012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
25755
25756 * po/Makefile (libc.pot): Use UTF-8 charset.
25757
ceb9e56b
PP
257582012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
25759
25760 [BZ #14210]
25761 Suppress sign-conversion warning from FD_SET.
25762 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
25763 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
25764 not unsigned long int.
25765 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
25766
ddb28975
L
257672012-06-12 H.J. Lu <hongjiu.lu@intel.com>
25768
25769 [BZ #14050]
25770 [BZ #14117]
25771 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
25772 __extern_always_inline instead of __extern_inline.
25773 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
25774 (__signbit): Likewise.
25775 (__signbitl): Support C++ namespace.
25776 (lrintf): New inline function.
25777 (lrint): Likewise.
25778 (llrintf): Likewise.
25779 (llrint): Likewise.
25780 (fmaxf): Likewise.
25781 (fmax): Likewise.
25782 (fminf): Likewise.
25783 (fmin): Likewise.
25784 (rint): Likewise.
25785 (rintf): Likewise.
25786 (ceil): Likewise.
25787 (ceilf): Likewise.
25788 (floor): Likewise.
25789 (floorf): Likewise.
25790 (nearbyint): Likewise.
25791 (nearbyintf): Likewise.
25792
d7b4fb26
TS
257932012-06-12 Thomas Schwinge <thomas@codesourcery.com>
25794
25795 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
25796 non-default versions.
25797
eb55f5c2
RM
257982012-06-11 Roland McGrath <roland@hack.frob.com>
25799
25800 [BZ #14218]
25801 * manual/argp.texi (Argp): Reword argp_parse description slightly.
25802
366af02c
TS
258032012-06-09 Thomas Schwinge <thomas@codesourcery.com>
25804
99ff6e5c
TS
25805 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
25806 (FE_UPWARD, FE_DOWNWARD): Don't define.
25807 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
25808 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
25809
366af02c
TS
25810 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
25811 reading it.
25812 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
25813 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
25814
793ea851
KK
258152012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25816
25817 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
25818 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
25819 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
25820 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
25821
a728a38f
L
258222012-06-06 H.J. Lu <hongjiu.lu@intel.com>
25823
25824 [BZ #14117]
c08010c7
L
25825 * sysdeps/i386/fpu/bits/fenv.h: Removed.
25826 * sysdeps/i386/fpu/Implies: New file.
25827 * sysdeps/x86_64/fpu/Implies: Likewise.
25828 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
25829 * sysdeps/x86/fpu/bits/fenv.h: This.
25830
a728a38f
L
25831 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
25832 __SSE_MATH__.
25833
6e230d11
SP
258342012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
25835
25836 [BZ #14134]
25837 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
25838 character 0xffff that matches the last element of the
25839 conversion table.
25840
1b671feb
AZ
258412012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25842
25843 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
25844 fmodl commit.
25845
6043738b
AZ
258462012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25847
25848 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
25849 values higher than 25.6283.
25850
34ae0b32
AZ
258512012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25852
25853 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
25854 subnormal exponent extraction and add some __builtin_expect.
25855 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
25856 Fix for subnormal mantissa calculation.
25857
1214ec8f
MF
258582012-06-04 Mike Frysinger <vapier@gentoo.org>
25859
25860 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
25861 cpu2 is -1 and errno is not ENOSYS.
25862
f3d1f93c
L
258632012-06-04 H.J. Lu <hongjiu.lu@intel.com>
25864
25865 [BZ #14117]
0e4a3cd7
L
25866 * sysdeps/i386/i486/bits/string.h: Renamed to ...
25867 * sysdeps/x86/bits/string.h: This.
25868 * sysdeps/x86_64/bits/string.h: Removed.
25869
6704c645
L
25870 * sysdeps/i386/i486/bits/string.h: Define inline functions only
25871 if not compiling for x86-64, but compiling for >= i486.
25872
48495318
L
25873 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
25874 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
25875
14adcbfc
L
25876 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
25877 New macro from Linux kernel 3.4.0.
25878 (FP_XSTATE_MAGIC2): Likewise.
25879 (FP_XSTATE_MAGIC2_SIZE): Likewise.
25880 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
25881 (struct _fpx_sw_bytes): New struct.
25882 (struct _xsave_hdr): Likewise.
25883 (struct _ymmh_state): Likewise.
25884 (struct _xstate): Likewise.
25885
68e408ab
L
25886 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
25887 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
25888 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
25889 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
25890 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
25891 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
25892
f3d1f93c
L
25893 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
25894 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
25895 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
25896 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
25897 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
25898 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
25899
d9dc34cd
TMQMF
259002012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25901
25902 [BZ #13743]
25903 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
25904 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
25905 (sysdep_headers): Include sys/platform/ppc.h.
25906 * sysdeps/powerpc/test-gettimebase.c: Test for
25907 __ppc_get_timebase() to catch future ISA opcode/insn changes.
25908 * manual/Makefile (appendices): Include platform.texi.
25909 * manual/contrib.texi (Contributors): Update @node pointers.
25910 * manual/maint.texi (Maintenance): Likewise.
25911 (Platform): New node.
25912 * manual/platform.texi: New file. Document the new features.
25913
4af3879c
SP
259142012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
25915 Jakub Jelinek <jakub@redhat.com>
25916
25917 [BZ #14188]
25918 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
25919 where __builtin_expect is unavailable.
25920
2fd6ff13
DM
259212012-06-03 David S. Miller <davem@davemloft.net>
25922
25923 * stdlib/longlong.h: Updated from GCC.
25924
173f7220
AS
259252012-06-02 Andreas Schwab <schwab@linux-m68k.org>
25926
25927 [BZ #14042]
25928 * sysdeps/powerpc/powerpc32/mcount.c: New file.
25929 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
25930 __mcount_internal.
25931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
25932 (GLIBC_2.16): Likewise.
25933
f34a1c6f
L
259342012-06-01 H.J. Lu <hongjiu.lu@intel.com>
25935
25936 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
25937
88a4576f
JM
259382012-06-01 Joseph Myers <joseph@codesourcery.com>
25939
ea32bcdd
JM
25940 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
25941 (default-abi): New variable.
25942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
25943 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
25944 variable.
25945 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
25946 Likewise.
25947 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
25948 Likewise.
25949 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
25950 Likewise.
25951
88a4576f
JM
25952 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
25953 definition. Document in comment.
25954
402fe938
DM
259552012-06-01 David S. Miller <davem@davemloft.net>
25956
25957 * stdlib/longlong.h: Updated from GCC.
25958
3553723f
L
259592012-06-01 H.J. Lu <hongjiu.lu@intel.com>
25960
25961 [BZ #14117]
3bd872c4
L
25962 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
25963 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
25964 sys/debugreg.h sys/io.h here.
25965 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
25966 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
25967 sys/io.h.
25968 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
25969 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
25970 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
25971 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
25972 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
25973 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
25974
3553723f
L
25975 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
25976 Define only if __x86_64__ is defined.
25977
4842e4fe
JM
259782012-06-01 Joseph Myers <joseph@codesourcery.com>
25979
c5bfe3d5
JM
25980 [BZ #14048]
25981 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
25982 Use int64_t for variable i.
25983 * math/libm-test.inc (fmod_test): Add more tests.
25984
4842e4fe
JM
25985 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
25986 z computation is not scheduled after fetestexcept.
25987 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
25988 Use math_force_eval instead of asm to ensure calculation scheduled
25989 before exception test.
25990 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
25991 Ensure a1 + u.d computation is not scheduled after fetestexcept.
25992
efb73488
AJ
259932012-06-01 Aurelien Jarno <aurelien@aurel32.net>
25994
25995 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
25996 computation is not scheduled after fetestexcept.
25997
29bcce7c
L
259982012-06-01 H.J. Lu <hongjiu.lu@intel.com>
25999
26000 [BZ #14117]
26001 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
26002 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
26003
73a68f94
AZ
260042012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26005
26006 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
26007 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
26008
67b6df78
L
260092012-05-31 H.J. Lu <hongjiu.lu@intel.com>
26010
edf2933a 26011 [BZ #14117]
ebc64a18
L
26012 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
26013 <bits/wordsize.h>.
26014 (__WCHAR_MIN): Support __WORDSIZE == 64.
26015 (__WCHAR_MAX): Likewise.
26016
edf2933a
L
26017 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
26018 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
26019
57c6cf40
L
26020 [BZ #14183]
26021 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
26022 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
26023
67b6df78 26024 [BZ #14117]
8eb6281e
L
26025 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
26026 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
26027
aac639f4
L
26028 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
26029 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
26030
67b6df78
L
26031 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
26032 Defined to 1 if __x86_64__ isn't defined.
26033 (_STAT_VER_LINUX_OLD): New.
26034 (st_atime): Remove duplicate.
26035 (st_mtime): Likewise.
26036 (st_ctime): Likewise.
26037
1c2cfe81
DM
260382012-05-31 David S. Miller <davem@davemloft.net>
26039
26040 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
26041 entries.
26042
5be8418c
AS
260432012-06-01 Andreas Schwab <schwab@linux-m68k.org>
26044
e7725326
AS
26045 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
26046 gen-libm-test.pl.
26047
5be8418c
AS
26048 [BZ #14132]
26049 * elf/dl-reloc.c: Include <_itoa.h>.
26050 (_dl_reloc_bad_type): Remove use of INTUSE.
26051 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
26052 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
26053 * stdio-common/psiginfo.c (psiginfo): Likewise.
26054 * stdio-common/psignal.c (psignal): Likewise.
26055 * string/strsignal.c (strsignal): Likewise.
26056 * include/signal.h (_sys_siglist): Declare hidden proto.
26057 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
26058 INTVARDEF with libc_hidden_data_def.
26059 * stdio-common/itoa-udigits.c: Likewise.
26060 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
26061 (_itoa_lower_digits_internal): Remove declaration.
26062 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
26063 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
26064 (_sys_sigabbrev_internal): Remove aliases.
26065 (_sys_siglist): Define hidden alias.
26066
507352f1
MT
260672012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
26068
26069 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26070 bits/sysctl.h.
26071
42bbb1c3
L
260722012-05-31 H.J. Lu <hongjiu.lu@intel.com>
26073
26074 [BZ #14117]
6bd784b6
L
26075 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
26076 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
26077
8bca20f0
L
26078 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
26079 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
26080 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
26081 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
26082 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
26083 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
26084
f9e890a9
L
26085 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
26086 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
26087 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
26088
471101a1
L
26089 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
26090 with __addr.
26091 (insw): Likewise.
26092 (insl): Likewise.
26093 (outsb): Likewise.
26094 (outsw): Likewise.
26095 (outsl): Likewise.
26096
6451c862
L
26097 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
26098 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
26099 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
26100
a254b8c9
L
26101 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
26102 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
26103 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
26104 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
26105 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
26106 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
26107
b8dfdd92
L
26108 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
26109 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
26110
578cd270
L
26111 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
26112 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
26113
de662f5f
L
26114 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
26115 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
26116 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
26117
25653439
L
26118 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
26119 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
26120 to ...
26121 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
26122
6bad24a0
L
26123 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
26124 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
26125 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
26126
42bbb1c3
L
26127 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
26128 for x86-64.
26129 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
26130
2d10d547
JM
261312012-05-31 Joseph Myers <joseph@codesourcery.com>
26132
26133 * math/math.h (M_El): Use two more decimal places.
26134 (M_LOG2El): Likewise.
26135 (M_LOG10El): Likewise.
26136 (M_LN2l): Likewise.
26137 (M_LN10l): Likewise.
26138 (M_PIl): Likewise.
26139 (M_PI_2l): Likewise.
26140 (M_PI_4l): Likewise.
26141 (M_1_PIl): Likewise.
26142 (M_2_PIl): Likewise.
26143 (M_2_SQRTPIl): Likewise.
26144 (M_SQRT2l): Likewise.
26145 (M_SQRT1_2l): Likewise.
26146
f230c29b
DM
261472012-05-31 David S. Miller <davem@davemloft.net>
26148
26149 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
26150 values between float registers.
26151 * sysdeps/sparc/sparc64/memset.S: Likewise.
26152 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
26153
fed806c3
MF
261542012-05-31 Mike Frysinger <vapier@gentoo.org>
26155
26156 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
26157 -D_FORTIFY_SOURCE=1.
26158 (CPPFLAGS-tst-longjmp_chk.c): Define.
26159 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
26160 (CPPFLAGS-tst-longjmp_chk2.c): Define.
26161 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
26162 CFLAGS-tst-wchar-h.c.
26163
30917259
MP
261642012-05-31 Marek Polacek <polacek@redhat.com>
26165
26166 [BZ #14132]
26167 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
26168 __endmntent_internal): Remove declaration.
26169 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
26170 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
26171 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
26172
1c58d5dc
DM
261732012-05-30 David S. Miller <davem@davemloft.net>
26174
26175 * sysdeps/sparc/sparc32/soft-fp/q_util.c
26176 (___Q_simulate_exceptions): Use real FP ops rather than writing
26177 into the %fsr.
26178 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
26179 Likewise.
26180
7dc00e0d
L
261812012-05-30 H.J. Lu <hongjiu.lu@intel.com>
26182
26183 [BZ #14117]
0bd53985
L
26184 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
26185 * sysdeps/x86/bits/xtitypes.h: This.
26186
3a257e66
L
26187 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
26188 * sysdeps/x86/bits/wordsize.h: This.
26189
62f62904
L
26190 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
26191 * sysdeps/x86/bits/huge_vall.h: This.
26192
404fe9d9
L
26193 * sysdeps/i386/bits/select.h: Removed.
26194 * sysdeps/x86_64/bits/select.h: Renamed to ...
26195 * sysdeps/x86/bits/select.h: This.
26196
d48d0446
L
26197 * sysdeps/i386/bits/setjmp.h: Removed.
26198 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
26199 * sysdeps/x86/bits/setjmp.h: This.
26200
7dc00e0d
L
26201 * sysdeps/i386/bits/mathdef.h: Removed.
26202 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
26203 * sysdeps/x86/bits/mathdef.h: This.
26204
03277f8f
AS
262052012-05-30 Andreas Schwab <schwab@linux-m68k.org>
26206
26207 [BZ #14132]
26208 * include/sys/socket.h (__connect_internal)
26209 (__libc_sa_len_internal): Remove declaration.
26210 (__connect, __libc_sa_len): Declare hidden_proto.
26211 (SA_LEN): Remove use of INTUSE.
26212 * socket/connect.c: Add libc_hidden_def.
26213 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
26214 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
26215 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
26216 alias.
26217 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
26218 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
26219 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
26220 of adding _internal alias.
26221
13764867
L
262222012-05-30 H.J. Lu <hongjiu.lu@intel.com>
26223
26224 [BZ #14117]
6bd97696
L
26225 * sysdeps/i386/bits/link.h: Removed.
26226 * sysdeps/i386/bits/linkmap.h: Likewise.
26227 * sysdeps/x86_64/bits/link.h: Renamed to ...
26228 * sysdeps/x86/bits/link.h: This.
26229 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
26230 * sysdeps/x86/bits/linkmap.h: This.
26231
f726f0bb
L
26232 * sysdeps/i386/bits/endian.h: Removed.
26233 * sysdeps/x86_64/bits/endian.h: Renamed to ...
26234 * sysdeps/x86/bits/endian.h: This.
26235
13764867
L
26236 * sysdeps/i386/bits/byteswap.h: Removed.
26237 * sysdeps/i386/bits/byteswap-16.h: Likewise.
26238 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
26239 * sysdeps/x86/bits/byteswap.h: This.
26240 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
26241 * sysdeps/x86/bits/byteswap-16.h: This.
26242 * sysdeps/i386/Implies: Add x86.
26243 * sysdeps/x86_64/Implies: Likewise.
26244
ae251b0b
DM
262452012-05-30 David S. Miller <davem@davemloft.net>
26246
26247 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
26248 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
26249 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
26250 (FP_TRAPPING_EXCEPTIONS): Define.
26251 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
26252 (FP_TRAPPING_EXCEPTIONS): Define.
26253 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
26254 subnormals only when inexact has been signalled or underflow
26255 exceptions are enabled.
26256 (_FP_PACK_CANONICAL): Likewise.
26257
d5c90867
L
262582012-05-30 H.J. Lu <hongjiu.lu@intel.com>
26259
26260 [BZ #14183]
26261 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
26262 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
26263
63f1549e
RH
262642012-05-30 Richard Henderson <rth@twiddle.net>
26265
8d8f2279
RH
26266 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
26267 with #ifndef NOT_IN_libc.
26268
63f1549e
RH
26269 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
26270 marked to avoid plt entry.
26271
0ab0291b
L
262722012-05-30 H.J. Lu <hongjiu.lu@intel.com>
26273
26274 [BZ #14112]
26275 * Makeconfig (default-abi): New macro.
26276 (abi-includes): Likewise.
26277 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
26278 $(abi-$(default-abi)-lib-soname) for soname if defined.
26279 ($(common-objpfx)gnu/lib-names.stmp): Generate from
26280 abi-variants.
26281 * Makefile (installed-stubs): Likewise.
26282 * include/stubs-biarch.h: Removed.
26283 * scripts/lib-names.awk: Only handle one library at a time.
26284 * scripts/soversions.awk: Remove WORDSIZE support.
26285 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
26286 entries.
26287 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
26288 Removed.
26289 (syscall-list-default-condition): Likewise.
26290 (syscall-list-default-condition): Likewise.
26291 (syscall-list-includes): Likewise.
26292 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
26293 syscall-list-* with abi-*. Handle undefined abi-variants.
26294 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
26295 * sysdeps/unix/sysv/linux/i386/Implies: New file.
26296 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
26297 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
26298 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
26299 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
26300 Removed.
26301 (syscall-list-32-options): Likewise.
26302 (syscall-list-32-condition): Likewise.
26303 (syscall-list-64-options): Likewise.
26304 (syscall-list-64-condition): Likewise.
26305 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
26306 macro.
26307 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
26308 Renamed to ...
26309 (abi-*): This.
26310 (abi-64-ld-soname): New macro.
26311 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
26312 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
26313 Renamed to ...
26314 (abi-*): This.
26315 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
26316 * sysdeps/x86_64/x32/shlib-versions: Likewise.
26317
4da0431d
JM
263182012-05-30 Joseph Myers <joseph@codesourcery.com>
26319
3a85279c
JM
26320 * sysdeps/unix/sysv/linux/kernel-features.h
26321 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
26322 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
26323 include <kernel-features.h>.
26324 [!__NR_ftruncate64]: Remove conditional code.
26325 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26326 [__NR_ftruncate64]: Make code unconditional.
26327 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26328 * sysdeps/unix/sysv/linux/truncate64.c: Do not
26329 include <kernel-features.h>.
26330 [!__NR_ftruncate64]: Remove conditional code.
26331 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26332 [__NR_ftruncate64]: Make code unconditional.
26333 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
26335 include <kernel-features.h>.
26336 [!__NR_ftruncate64]: Remove conditional code.
26337 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26338 [__NR_ftruncate64]: Make code unconditional.
26339 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26340 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
26341 include <kernel-features.h>.
26342 [!__NR_ftruncate64]: Remove conditional code.
26343 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26344 [__NR_ftruncate64]: Make code unconditional.
26345 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26346
4da0431d
JM
26347 * configure.in (libc_cv_fpie): Weaken to a compile test using
26348 LIBC_TRY_CC_OPTION.
26349 * configure: Regenerated.
26350
11ef492c
AK
263512012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26352
26353 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
26354 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
26355 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
26356 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
26357 Refreshed.
26358 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
26359 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
26360 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
26361 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
26362 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
26363 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
26364 Refreshed.
26365
d66ef399
DM
263662012-05-27 David S. Miller <davem@davemloft.net>
26367
26368 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
26369 (___Q_zero): New.
26370 (__Q_simulate_exceptions): Return void. Change to simulate
26371 exceptions by writing into the %fsr.
26372 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
26373 (__Qp_handle_exceptions): Likewise.
26374 (numbers): Delete.
26375 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
26376 __Qp_handle_exceptions.
26377 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
26378 __Qp_handle_exceptions.
26379 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
26380 as unused and give dummy FP_RND_NEAREST initializer.
26381 (FP_INHIBIT_RESULTS): Define.
26382 (___Q_simulate_exceptions): Update declaration.
26383 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
26384 formatting.
26385 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
26386 as unused and give dummy FP_RND_NEAREST initializer.
26387 (__Qp_handle_exceptions): Update declaration.
26388 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
26389 formatting.
26390
04fb54b5
TS
263912012-05-27 Thomas Schwinge <thomas@codesourcery.com>
26392
26393 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
26394 the temporary FPU control word.
26395 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
26396 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
26397 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
26398 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
26399 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
26400 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
26401 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
26402 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
26403 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
26404 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
26405 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
26406
3f99608f
KK
264072012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26408
26409 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
26410 fields.
26411
65a4de4e
CLT
264122012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
26413
26414 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
26415 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
26416 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
26417 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
26418 Likewise.
26419 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
26420 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
26421 Likewise.
26422
15749d40
UD
264232012-05-27 Ulrich Drepper <drepper@gmail.com>
26424
26425 * po/h.po: Update from translation team.
26426
25dbcb27
AS
264272012-05-26 Andreas Schwab <schwab@linux-m68k.org>
26428
3d3f8e55
AS
26429 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
26430
25dbcb27
AS
26431 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
26432 handling of denormals.
26433 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
26434 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
26435 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
26436 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
26437 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
26438 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
26439 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
26440 Likewise.
26441
7ad47a80 264422012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
26443
26444 [BZ #14152]
26445 * math/libm-test.inc (fma_test): Don't always expect underflow
26446 exception.
26447
9c6ea9fa
SP
264482012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26449
26450 [BZ #12416]
26451 * elf/tst-execstack.c: Include stackinfo.h.
26452 (do_test): Adjust test case to ensure that pthread_getattr_np
26453 behaviour remains the same after marking stack executable.
26454
a8239222
JM
264552012-05-25 Joseph Myers <joseph@codesourcery.com>
26456
26457 * sysdeps/unix/sysv/linux/kernel-features.h
26458 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
26459 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
26460 kernel-features.h.
26461 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
26462 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
26463 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
26464 kernel-features.h.
26465 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
26466 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
26467
918b5606
L
264682012-05-25 H.J. Lu <hongjiu.lu@intel.com>
26469
26470 * configure.in: Define the default includes to being none.
26471 * configure: Regenerated.
26472
3a097cc7
RM
264732012-05-25 Roland McGrath <roland@hack.frob.com>
26474
8422c9a5
RM
26475 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
26476 * sysdeps/x86_64/setjmp.S: Likewise.
26477 * sysdeps/i386/bsd-setjmp.S: Likewise.
26478 * sysdeps/i386/bsd-_setjmp.S: Likewise.
26479 * sysdeps/i386/setjmp.S: Likewise.
26480 * sysdeps/i386/__longjmp.S: Likewise.
26481 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
26482 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
26483
3a097cc7
RM
26484 * include/stap-probe.h: New file.
26485 * configure.in: Handle --enable-systemtap.
26486 * configure: Regenerated.
26487 * config.h.in (USE_STAP_PROBE): New #undef.
26488 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
26489 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
26490 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
26491
21708942
JM
264922012-05-25 Joseph Myers <joseph@codesourcery.com>
26493
26494 [BZ #13717]
26495 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
26496 to 2.4.0 where earlier.
26497 * sysdeps/unix/sysv/linux/configure: Regenerated.
26498 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
26499 <kernel-features.h>.
26500 [__ASSUME_32BITUIDS]: Make code unconditional.
26501 [!__ASSUME_32BITUIDS]: Remove conditional code.
26502 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
26503 <kernel-features.h>.
26504 [__ASSUME_32BITUIDS]: Make code unconditional.
26505 [!__ASSUME_32BITUIDS]: Remove conditional code.
26506 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
26507 [__ASSUME_32BITUIDS]: Make code unconditional.
26508 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
26509 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
26510 <kernel-features.h>.
26511 [__ASSUME_32BITUIDS]: Make code unconditional.
26512 [!__ASSUME_32BITUIDS]: Remove conditional code.
26513 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
26514 <kernel-features.h>.
26515 [__ASSUME_32BITUIDS]: Make code unconditional.
26516 [!__ASSUME_32BITUIDS]: Remove conditional code.
26517 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
26518 <kernel-features.h>.
26519 [__ASSUME_32BITUIDS]: Make code unconditional.
26520 [!__ASSUME_32BITUIDS]: Remove conditional code.
26521 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
26522 <kernel-features.h>.
26523 [__ASSUME_32BITUIDS]: Make code unconditional.
26524 [!__ASSUME_32BITUIDS]: Remove conditional code.
26525 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
26526 <kernel-features.h>.
26527 [__ASSUME_32BITUIDS]: Make code unconditional.
26528 [!__ASSUME_32BITUIDS]: Remove conditional code.
26529 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
26530 <kernel-features.h>.
26531 [__ASSUME_32BITUIDS]: Make code unconditional.
26532 [!__ASSUME_32BITUIDS]: Remove conditional code.
26533 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
26534 <kernel-features.h>.
26535 [__ASSUME_32BITUIDS]: Make code unconditional.
26536 [!__ASSUME_32BITUIDS]: Remove conditional code.
26537 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
26538 <kernel-features.h>.
26539 [__ASSUME_32BITUIDS]: Make code unconditional.
26540 [!__ASSUME_32BITUIDS]: Remove conditional code.
26541 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
26542 <kernel-features.h>.
26543 [__ASSUME_32BITUIDS]: Make code unconditional.
26544 [!__ASSUME_32BITUIDS]: Remove conditional code.
26545 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
26546 <kernel-features.h>.
26547 [__ASSUME_32BITUIDS]: Make code unconditional.
26548 [!__ASSUME_32BITUIDS]: Remove conditional code.
26549 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
26550 <kernel-features.h>.
26551 [__NR_setresgid] (__setresgid): Do not declare.
26552 [__ASSUME_32BITUIDS]: Make code unconditional.
26553 [!__ASSUME_32BITUIDS]: Remove conditional code.
26554 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
26555 <kernel-features.h>.
26556 [__NR_setresuid] (__setresuid): Do not declare.
26557 [__ASSUME_32BITUIDS]: Make code unconditional.
26558 [!__ASSUME_32BITUIDS]: Remove conditional code.
26559 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
26560 <kernel-features.h>.
26561 [__ASSUME_32BITUIDS]: Make code unconditional.
26562 [!__ASSUME_32BITUIDS]: Remove conditional code.
26563 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
26564 <kernel-features.h>.
26565 [__ASSUME_32BITUIDS]: Make code unconditional.
26566 [!__ASSUME_32BITUIDS]: Remove conditional code.
26567 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
26568 <kernel-features.h>.
26569 [__ASSUME_32BITUIDS]: Make code unconditional.
26570 [!__ASSUME_32BITUIDS]: Remove conditional code.
26571 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
26572 <kernel-features.h>.
26573 [__ASSUME_32BITUIDS]: Make code unconditional.
26574 [!__ASSUME_32BITUIDS]: Remove conditional code.
26575 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
26576 <kernel-features.h>.
26577 [__ASSUME_32BITUIDS]: Make code unconditional.
26578 [!__ASSUME_32BITUIDS]: Remove conditional code.
26579 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
26580 <kernel-features.h>.
26581 [__ASSUME_32BITUIDS]: Make code unconditional.
26582 [!__ASSUME_32BITUIDS]: Remove conditional code.
26583 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
26584 <kernel-features.h>.
26585 [__ASSUME_32BITUIDS]: Make code unconditional.
26586 [!__ASSUME_32BITUIDS]: Remove conditional code.
26587 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
26588 <kernel-features.h>.
26589 [__ASSUME_32BITUIDS]: Make code unconditional.
26590 [!__ASSUME_32BITUIDS]: Remove conditional code.
26591 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
26592 <kernel-features.h>.
26593 [__ASSUME_32BITUIDS]: Make code unconditional.
26594 [!__ASSUME_32BITUIDS]: Remove conditional code.
26595 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
26596 <kernel-features.h>.
26597 [__ASSUME_32BITUIDS]: Make code unconditional.
26598 [!__ASSUME_32BITUIDS]: Remove conditional code.
26599 * sysdeps/unix/sysv/linux/kernel-features.h
26600 (__ASSUME_SETRESUID_SYSCALL): Remove.
26601 (__ASSUME_SETRESGID_SYSCALL): Likewise.
26602 (__ASSUME_32BITUIDS): Likewise.
26603 (__ASSUME_LDT_WORKS): Likewise.
26604 (__ASSUME_O_DIRECTORY): Likewise.
26605 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
26606 architecture but not kernel version.
26607 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
26608 (__ASSUME_MMAP2_SYSCALL): Likewise.
26609 (__ASSUME_STAT64_SYSCALL): Likewise.
26610 (__ASSUME_IPC64): Likewise.
26611 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
26612 <kernel-features.h>.
26613 [__ASSUME_32BITUIDS]: Make code unconditional.
26614 [!__ASSUME_32BITUIDS]: Remove conditional code.
26615 * sysdeps/unix/sysv/linux/opendir.c: Do not include
26616 <kernel-features.h>.
26617 [__ASSUME_O_DIRECTORY]: Make code unconditional.
26618 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
26619 132096]: Remove conditional code.
26620 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
26621 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
26622 <kernel-features.h>.
26623 [__ASSUME_32BITUIDS]: Make code unconditional.
26624 [!__ASSUME_32BITUIDS]: Remove conditional code.
26625 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
26626 <kernel-features.h>.
26627 [__ASSUME_32BITUIDS]: Make code unconditional.
26628 [!__ASSUME_32BITUIDS]: Remove conditional code.
26629 * sysdeps/unix/sysv/linux/setegid.c: Do not include
26630 <kernel-features.h>.
26631 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
26632 unconditional.
26633 (__setresgid): Do not declare.
26634 [__ASSUME_32BITUIDS]: Make code unconditional.
26635 [!__ASSUME_32BITUIDS]: Remove conditional code.
26636 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
26637 <kernel-features.h>.
26638 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
26639 unconditional.
26640 (__setresuid): Do not declare.
26641 [__ASSUME_32BITUIDS]: Make code unconditional.
26642 [!__ASSUME_32BITUIDS]: Remove conditional code.
26643 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
26644 <kernel-features.h>.
26645 [__ASSUME_32BITUIDS]: Make code unconditional.
26646 [!__ASSUME_32BITUIDS]: Remove conditional code.
26647 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
26648 <kernel-features.h>.
26649 [__ASSUME_32BITUIDS]: Make code unconditional.
26650 [!__ASSUME_32BITUIDS]: Remove conditional code.
26651
a386f1cc
RH
266522012-05-25 Richard Henderson <rth@twiddle.net>
26653
26654 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
26655 dl_hwcap to ifunc resolver.
26656 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
26657 elf_ifunc_invoke.
26658 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
26659 dl_hwcap to ifunc resolver.
26660 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
26661
b6550497
JM
266622012-05-24 Joseph Myers <joseph@codesourcery.com>
26663
26664 [BZ #14153]
26665 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
26666 for |x| <= 2**-26, not 2**-57.
26667 * math/libm-test.inc (acos_test): Do not allow spurious underflow
26668 exception.
26669
b0bc23a1
JL
266702012-05-24 Jeff Law <law@redhat.com>
26671
26672 * stdio-common/Makefile (tests): Add bug25.
26673 * stdio-common/bug25.c: New test.
26674
347c92e9
L
266752012-05-24 H.J. Lu <hongjiu.lu@intel.com>
26676
26677 [BZ #13576]
26678 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
26679 multiple of MALLOC_ALIGNMENT in size.
26680 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
26681
6bcc8b3f
JM
266822012-05-24 Joseph Myers <joseph@codesourcery.com>
26683
26684 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
26685 Require >= 256.
26686 (FILENAME_MAX): Use macro-int-constant.
26687 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
26688 (_IOFBF): Use macro-int-constant.
26689 (_IOLBF): Likewise.
26690 (_IONBF): Likewise.
26691 (SEEK_CUR): Likewise.
26692 (SEEK_END): Likewise.
26693 (SEEK_SET): Likewise.
26694 (TMP_MAX): Likewise.
26695 (EOF): Use macro-int-constant. Require < 0.
26696 (NULL): Use macro-constant. Require == 0.
26697 (stdin): Require type to be FILE *.
26698 (stdout): Likewise.
26699 (stderr): Likewise.
26700 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
26701 macro-int-constant.
26702 (EXIT_SUCCESS): Likewise.
26703 (NULL): Use macro-constant. Require == 0.
26704 (RAND_MAX): Use macro-int-constant.
26705 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
26706 [C99-based standards] (strtof): Require function.
26707 [C99-based standards] (strtold): Likewise.
26708 [C99-based standards] (strtoll): Likewise.
26709 [C99-based standards] (strtoull): Likewise.
26710 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
26711 [ISO || ISO99 || ISO11] (limits.h): Likewise.
26712 [ISO || ISO99 || ISO11] (math.h): Likewise.
26713 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
26714 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
26715 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26716
d18ea0c5
AS
267172012-05-24 Andreas Schwab <schwab@linux-m68k.org>
26718
26719 [BZ #14132]
56d25bb8
AS
26720 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
26721 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
26722 * intl/dgettext.c (DCGETTEXT): Likewise.
26723 * intl/gettext.c (DCGETTEXT): Likewise.
26724 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
26725 * posix/regex_internal.h (gettext): Likewise.
26726 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
26727 Remove declaration.
26728 * include/argz.h (__argz_count_internal)
26729 (__argz_stringify_internal): Remove declaration.
26730 (__argz_count, __argz_stringify): Declare hidden proto.
26731 * intl/dcgettext.c: Remove use of INTDEF.
26732 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
26733 * string/argz-stringify.c: Likewise.
26734 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
26735 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
26736 Declare hidden proto.
d18ea0c5
AS
26737 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
26738 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
26739 Declare hidden proto.
26740 * include/stdio.h (__asprintf_internal): Don't declare.
26741 (__asprintf): Don't define as macro. Declare hidden proto.
26742 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
26743 (__fsetlocking): Declare hidden proto.
26744 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
26745 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
26746 hidden proto.
26747 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
26748 (_IO_setlinebuf): Remove use of INTUSE.
26749 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
26750 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
26751 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
26752 Remove declaration.
26753 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
26754 (_IO_do_flush): Remove use of INTUSE.
26755 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
26756 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
26757 (_IO_adjust_column, _IO_least_wmarker)
26758 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
26759 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
26760 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
26761 (_IO_default_doallocate, _IO_wdefault_doallocate)
26762 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
26763 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
26764 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
26765 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
26766 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
26767 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
26768 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
26769 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
26770 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
26771 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
26772 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
26773 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
26774 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
26775 proto.
26776 (_IO_flush_all_internal, _IO_adjust_column_internal)
26777 (_IO_default_uflow_internal, _IO_default_finish_internal)
26778 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
26779 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
26780 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
26781 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
26782 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
26783 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
26784 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
26785 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
26786 (_IO_file_close_internal, _IO_file_close_it_internal)
26787 (_IO_file_underflow_internal, _IO_file_overflow_internal)
26788 (_IO_file_init_internal, _IO_file_attach_internal)
26789 (_IO_file_fopen_internal, _IO_file_read_internal)
26790 (_IO_file_sync_internal, _IO_file_seek_internal)
26791 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
26792 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
26793 (_IO_str_underflow_internal, _IO_str_overflow_internal)
26794 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
26795 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
26796 (_IO_list_all_internal, _IO_link_in_internal)
26797 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
26798 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
26799 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
26800 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
26801 (_IO_do_write_internal, _IO_padn_internal)
26802 (_IO_getline_info_internal, _IO_getline_internal)
26803 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
26804 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
26805 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
26806 (_IO_vfscanf_internal, _IO_vfprintf_internal)
26807 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
26808 (_IO_init_internal, _IO_un_link_internal): Don't declare.
26809 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
26810 with libc_hidden_ver, remove use of INTUSE.
26811 * libio/genops.c: Likewise.
26812 * libio/freopen.c: Likewise.
26813 * libio/freopen64.c: Likewise.
26814 * libio/iofclose.c: Likewise.
26815 * libio/iofdopen.c: Likewise.
26816 * libio/iofflush.c: Likewise.
26817 * libio/iofflush_u.c: Likewise.
26818 * libio/iofgets.c: Likewise.
26819 * libio/iofgets_u.c: Likewise.
26820 * libio/iofopen.c: Likewise.
26821 * libio/iofopncook.c: Likewise.
26822 * libio/iofread.c: Likewise.
26823 * libio/iofread_u.c: Likewise.
26824 * libio/ioftell.c: Likewise.
26825 * libio/iofwrite.c: Likewise.
26826 * libio/iogetline.c: Likewise.
26827 * libio/iogets.c: Likewise.
26828 * libio/iogetwline.c: Likewise.
26829 * libio/iopadn.c: Likewise.
26830 * libio/iopopen.c: Likewise.
26831 * libio/ioseekoff.c: Likewise.
26832 * libio/ioseekpos.c: Likewise.
26833 * libio/iosetbuffer.c: Likewise.
26834 * libio/iosetvbuf.c: Likewise.
26835 * libio/ioungetc.c: Likewise.
26836 * libio/ioungetwc.c: Likewise.
26837 * libio/iovdprintf.c: Likewise.
26838 * libio/iovsprintf.c: Likewise.
26839 * libio/iovsscanf.c: Likewise.
26840 * libio/memstream.c: Likewise.
26841 * libio/obprintf.c: Likewise.
26842 * libio/oldfileops.c: Likewise.
26843 * libio/oldiofclose.c: Likewise.
26844 * libio/oldiofdopen.c: Likewise.
26845 * libio/oldiofopen.c: Likewise.
26846 * libio/oldiopopen.c: Likewise.
26847 * libio/oldstdfiles.c: Likewise.
26848 * libio/putc.c: Likewise.
26849 * libio/setbuf.c: Likewise.
26850 * libio/setlinebuf.c: Likewise.
26851 * libio/stdfiles.c: Likewise.
26852 * libio/strops.c: Likewise.
26853 * libio/vasprintf.c: Likewise.
26854 * libio/vscanf.c: Likewise.
26855 * libio/vsnprintf.c: Likewise.
26856 * libio/vswprintf.c: Likewise.
26857 * libio/wfiledoalloc.c: Likewise.
26858 * libio/wfileops.c: Likewise.
26859 * libio/wgenops.c: Likewise.
26860 * libio/wmemstream.c: Likewise.
26861 * libio/wstrops.c: Likewise.
26862 * libio/__fpurge.c: Likewise.
26863 * libio/__fsetlocking.c: Likewise.
26864 * assert/assert.c: Likewise.
26865 * debug/fgets_chk.c: Likewise.
26866 * debug/fgets_u_chk.c: Likewise.
26867 * debug/fread_chk.c: Likewise.
26868 * debug/fread_u_chk.c: Likewise.
26869 * debug/gets_chk.c: Likewise.
26870 * debug/obprintf_chk.c: Likewise.
26871 * debug/vasprintf_chk.c: Likewise.
26872 * debug/vdprintf_chk.c: Likewise.
26873 * debug/vsnprintf_chk.c: Likewise.
26874 * debug/vsprintf_chk.c: Likewise.
26875 * malloc/mtrace.c: Likewise.
26876 * misc/error.c: Likewise.
26877 * misc/syslog.c: Likewise.
26878 * stdio-common/asprintf.c: Likewise.
26879 * stdio-common/fxprintf.c: Likewise.
26880 * stdio-common/getw.c: Likewise.
26881 * stdio-common/isoc99_fscanf.c: Likewise.
26882 * stdio-common/isoc99_scanf.c: Likewise.
26883 * stdio-common/isoc99_vfscanf.c: Likewise.
26884 * stdio-common/isoc99_vscanf.c: Likewise.
26885 * stdio-common/isoc99_vsscanf.c: Likewise.
26886 * stdio-common/printf-prs.c: Likewise.
26887 * stdio-common/printf_fp.c: Likewise.
26888 * stdio-common/printf_fphex.c: Likewise.
26889 * stdio-common/printf_size.c: Likewise.
26890 * stdio-common/putw.c: Likewise.
26891 * stdio-common/scanf.c: Likewise.
26892 * stdio-common/sprintf.c: Likewise.
26893 * stdio-common/tmpfile.c: Likewise.
26894 * stdio-common/vfprintf.c: Likewise.
26895 * stdio-common/vfscanf.c: Likewise.
26896 * stdlib/strfmon_l.c: Likewise.
26897 * sunrpc/openchild.c: Likewise.
26898 * sunrpc/xdr_stdio.c: Likewise.
26899 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
26900 * sysdeps/mach/hurd/tmpfile.c: Likewise.
26901
d6c33fda
RM
269022012-05-24 Roland McGrath <roland@hack.frob.com>
26903
c1487492
RM
26904 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
26905
26906 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
26907 in the third column, to generate for the shared library an IFUNC
26908 that uses _dl_vdso_vsym.
26909 * Makerules (COMPILE.c, compile-stdin.c): New variables.
26910 * Makeconfig (object-suffixes-noshared): New variable.
26911
26912 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
26913 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
26914 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
26915 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
26916
d6c33fda
RM
26917 [BZ #14132]
26918 * include/sys/time.h (__gettimeofday): Remove macro.
26919 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
26920 * time/gettimeofday.c (__gettimeofday): Remove #undef.
26921 Remove INTDEF.
26922 (__gettimeofday): Add libc_hidden_def.
26923 (gettimeofday): Add libc_hidden_weak.
26924 * sysdeps/mach/gettimeofday.c: Likewise.
26925 * sysdeps/posix/gettimeofday.c: Likewise.
26926 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
26927 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
26928 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
26929 (__gettimeofday_internal): Remove strong_alias.
26930 (__gettimeofday): Add libc_hidden_def.
26931 (gettimeofday): Add libc_hidden_weak.
26932 * sysdeps/unix/syscalls.list (gettimeofday):
26933 Remove __gettimeofday_internal alias.
26934
b5a2bbe6
L
269352012-05-24 Daniel Jacobowitz <drow@false.org>
26936 H.J. Lu <hongjiu.lu@intel.com>
26937
26938 [BZ #12495]
26939 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
26940 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
26941 (largebin_index_32_big): New.
26942 (largebin_index): Use it for 16-byte alignment.
26943 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
26944 correction with front_misalign.
26945
cfba4fda
L
269462012-05-24 H.J. Lu <hongjiu.lu@intel.com>
26947
7f907421
L
26948 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
26949 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
26950 Likewise.
26951 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
26952 Likewise.
26953 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
26954 Likewise.
26955 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
26956 Likewise.
26957 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
26958 Likewise.
26959 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
26960 Likewise.
26961 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
26962 Likewise.
26963 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
26964 Likewise.
26965 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
26966 Likewise.
26967 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
26968 Likewise.
26969 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
26970 Likewise.
26971 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
26972 Likewise.
26973
cfba4fda
L
26974 * scripts/data/c++-types-x32-linux-gnu.data: New file.
26975 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
26976
80bad0cc
JM
269772012-05-24 Joseph Myers <joseph@codesourcery.com>
26978
7a25eb06
JM
26979 [BZ #10846]
26980 [BZ #14036]
26981 * math/libm-test.inc (exp_test): Add test from bug 14036.
26982 (pow_test): Add test from bug 10846.
26983
795405f9
JM
26984 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
26985 and other flags.
26986 (special_function): Do not include flags in test name.
26987 (parse_args): Likewise.
26988 * sysdeps/i386/fpu/libm-test-ulps: Update.
26989 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26990 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
26991 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
26992 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26993
80bad0cc
JM
26994 * math/gen-libm-test.pl (%beautify): Add entries for underflow
26995 exceptions.
26996 * math/libm-test.inc ("Philosophy"): Update comment about
26997 exception testing.
26998 (UNDERFLOW_EXCEPTION): New macro.
26999 (UNDERFLOW_EXCEPTION_OK): Likewise.
27000 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
27001 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
27002 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
27003 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
27004 (INVALID_EXCEPTION_OK): Update value.
27005 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
27006 (OVERFLOW_EXCEPTION_OK): Likewise.
27007 (IGNORE_ZERO_INF_SIGN): Likewise.
27008 (test_exceptions): Handle underflow exceptions.
27009 (acos_test): Update for underflow exception expectations.
27010 (cexp_test): Likewise.
27011 (clog_test): Likewise.
27012 (clog10_test): Likewise.
27013 (csqrt_test): Likewise.
27014 (ctan_test): Likewise.
27015 (ctanh_test): Likewise.
27016 (exp_test): Likewise.
27017 (exp10_test): Likewise.
27018 (exp2_test): Likewise.
27019 (expm1_test): Likewise.
27020 (fma_test): Likewise.
27021 (j0_test): Likewise.
27022 (jn_test): Likewise.
27023 (nexttoward_test): Likewise.
27024 (pow_test): Likewise.
27025 (scalbn_test): Likewise.
27026 (scalbln_test): Likewise.
27027 (tan_test): Likewise.
27028 (y1_test): Likewise.
27029 * sysdeps/i386/fpu/libm-test-ulps: Update.
27030 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27031
9e0e3d0b
DM
270322012-05-23 David S. Miller <davem@davemloft.net>
27033
27034 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
27035 (__libc_sigaction): Remove unused local variables.
27036
ccd0a08f
L
270372012-05-23 H.J. Lu <hongjiu.lu@intel.com>
27038
27039 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
27040
62bdf9a6
PE
270412012-05-23 Paul Eggert <eggert@cs.ucla.edu>
27042
f8591f80
PE
27043 mktime: avoid signed integer overflow
27044 * time/mktime.c (__mktime_internal): Do not mishandle the case
27045 where diff == INT_MIN.
27046
94c7d826
PE
27047 mktime: simplify computation of average
27048 * time/mktime.c (ranged_convert): Use new time_t_avg function
27049 instead of rolling our own (probably-slower) code.
27050
ce73d683
PE
27051 mktime: do not assume signed right shift propagates sign bit
27052 * time/mktime.c (isdst_differ): New static function.
27053 (__mktime_internal): No need to normalize tm_isdst now.
27054 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
27055 tm_isdst values.
27056
72a22e59
PE
27057 mktime: merge another wrapv change from gnulib
27058 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
27059 from some compilers.
27060
68605433
PE
27061 mktime: remove incorrect attempt at unusual arithmetics
27062 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
27063 The code didn't really work on such machines anyway.
27064 (TYPE_MINIMUM): Assume two's complement.
27065 (twos_complement_arithmetic): Verify that long_int and time_t
27066 are two's complement (or unsigned, in the latter case).
27067
03cf7fe3
PE
27068 mktime: check signed shifts on long_int and time_t, too
27069 * time/mktime.c (SHR): Check that shifts work as desired
27070 on the types long_int and time_t too, as SHR is used on
27071 such types.
27072
f04dfbc2
PE
27073 mktime: do not assume 'long' is wide enough
27074 * time/mktime.c (verify): Move decl up.
27075 (long_int): New type.
27076 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
27077 to remove assumption in the code that 'long' is wide enough to
27078 store year values. This assumption is not true on x32 and on
27079 some non-glibc platforms.
27080
62bdf9a6
PE
27081 mktime: merge wrapv change from gnulib
27082 * time/mktime.c (WRAPV): New macro.
27083 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
27084 (guess_time_tm, __mktime_internal): Do not assume that signed
27085 integer overflow wraps around; modern compilers generate code
27086 where this assumption is no longer valid.
27087
5e292e4f
L
270882012-05-23 H.J. Lu <hongjiu.lu@intel.com>
27089
27090 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
27091 Replace "jmp L(pseudo_end)" with "ret".
27092 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
27093 Likewise.
27094
8caf8c87
AJ
270952012-05-23 Andreas Jaeger <aj@suse.de>
27096
27097 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
27098 * sysdeps/unix/sysv/linux/poll.c: Remove file.
27099
1a09dc56
AJ
271002012-05-23 Andreas Jaeger <aj@suse.de>
27101 Maximilian Attems <max@stro.at>
27102
27103 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
27104 New macros.
27105
1c87aba0
L
271062012-05-23 H.J. Lu <hongjiu.lu@intel.com>
27107
27108 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
27109 code so that pseudo_end is just ret and the stack pointer is
27110 correct also for static library in error case.
27111
40e45bd5
JM
271122012-05-23 Joseph Myers <joseph@codesourcery.com>
27113
c2670533
JM
27114 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
27115 move to syscalls.list.
27116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
27117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
27118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
27119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
27120
40e45bd5
JM
27121 * manual/install.texi (Running make install): Do not mention Linux
27122 kernel version for which pt_chown is not needed.
27123 (Linux): Do not mention problems with nscd with 2.0 kernels.
27124 * INSTALL: Regenerated.
27125
be08eda5
AJ
271262012-05-23 Andreas Jaeger <aj@suse.de>
27127
27128 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
27129 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
27130 macro.
27131 * sysdeps/unix/sysv/linux/s390/bits/mman.h
27132 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27133 * sysdeps/unix/sysv/linux/sh/bits/mman.h
27134 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27135 * sysdeps/unix/sysv/linux/i386/bits/mman.h
27136 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27137 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
27138 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27139 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
27140 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27141 * sysdeps/unix/sysv/linux/bits/in.h
27142 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
27143
a6a056bb
RM
271442012-05-22 Roland McGrath <roland@hack.frob.com>
27145
27146 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
27147 (PREPARE_VERSION): Just use assert instead, it will be elided
27148 under [NDEBUG] anyway.
27149
c9009328
L
271502012-05-22 H.J. Lu <hongjiu.lu@intel.com>
27151
27152 * sysdeps/unix/sysv/linux/Makefile: Include
27153 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 27154 (sysdep_routines): Remove sysctl.
c9009328
L
27155 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
27156 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
27157 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
27158 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
27159 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
27160
73338355
AJ
271612012-05-22 Andreas Jaeger <aj@suse.de>
27162
27163 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
27164 that pseudo_end is just ret and the stack pointer is correct also
27165 for static library in error case.
27166
d44638b0
PP
271672012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
27168
27169 [BZ #14122]
27170 * nss/nsswitch.c (defconfig_entries): New variable.
27171 (__nss_database_lookup): Don't leak defconfig entries.
27172 (nss_parse_service_list): Don't leak on error paths.
27173 (free_database_entries): New function.
27174 (free_defconfig): New function.
27175 (free_mem): Move common code to free_database_entries.
27176
31a39bd8
L
271772012-05-22 H.J. Lu <hongjiu.lu@intel.com>
27178
da0331a8
L
27179 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
27180 Add arch_prctl.
27181 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
27182
31a39bd8
L
27183 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
27184 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
27185 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
27186 New macro.
27187 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
27188 (INTERNAL_SYSCALL_TYPES): Likewise.
27189 (LOAD_ARGS_TYPES_[1-6]): Likewise.
27190 (LOAD_REGS_TYPES_[1-6]): Likewise.
27191 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
27192 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
27193
45470df3
AZ
271942012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27195
27196 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
27197 copysignl for GLIBC_2_0.
27198 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
27199 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
27200 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
27201 logbl for GLIBC_2_0.
27202 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
27203 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
27204
98a61bcb
L
272052012-05-22 H.J. Lu <hongjiu.lu@intel.com>
27206
a4f6e481
L
27207 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
27208 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
27209
f63d5db6
L
27210 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
27211 Use "neg %eax".
27212
98a61bcb
L
27213 * time/mktime.c: Update copyright years.
27214
95770f14
PE
272152012-05-22 Paul Eggert <eggert@cs.ucla.edu>
27216
6226efbd
PE
27217 mktime: merge comment-quoting-style change from gnulib
27218 * time/mktime.c: Quote 'like this' in comments.
27219 The GNU coding standards suggest that we no longer quote `like this',
27220 as "`" and "'" are typically rendered asymmetrically nowadays.
27221 The typical gnulib style is to quote 'like this' when quoting
27222 code, and "like this" when quoting English.
27223
b99e4f78
PE
27224 * time/mktime.c (compile-command): Add "-I.".
27225
643e01e6
PE
27226 mktime: merge mktime-internal.h change from gnulib
27227 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
27228
2554247d
PE
27229 mktime: merge time_r change from gnulib
27230 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
27231
826dd0ab
PE
27232 mktime: merge DEBUG change from gnulib
27233 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
27234 case system <time.h> has a #define.
27235
bd83aabe
PE
27236 mktime: merge <sys/types.h> change from gnulib
27237 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
27238 since <time.t> is now guaranteed to define time_t.
27239
95770f14
PE
27240 mktime: merge HAVE_CONFIG_H change from gnulib
27241 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
27242
5e1a27a9
L
272432012-05-22 H.J. Lu <hongjiu.lu@intel.com>
27244
0e44a77e
L
27245 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
27246 Use "neg %eax".
27247
5e1a27a9
L
27248 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
27249 __rlim_t cast.
27250 (struct rusage): Use anonymous union to pad each field to
27251 __syscall_slong_t.
27252
46259bec
DM
272532012-05-21 David S. Miller <davem@davemloft.net>
27254
27255 * Makefules (o-iterator): Remove .s cases.
27256 (compile-command.s): Delete.
27257 (COMPILE.s): Delete.
27258 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
27259
59f0c22e
JM
272602012-05-21 Joseph Myers <joseph@codesourcery.com>
27261
27262 * configure.in (libc_cv_predef_stack_protector): Only consider
27263 "foobar" and "__stack_chk_fail" lines in libc_undefs.
27264 * configure: Regenerated.
27265
20c07380
L
272662012-05-21 H.J. Lu <hongjiu.lu@intel.com>
27267
bbb3154b
L
27268 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
27269 New macro. Use R*LP on int and pointer.
27270 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
27271 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
27272 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
27273 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
27274
20c07380
L
27275 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
27276 [__WORDSIZE_TIME64_COMPAT32] instead of
27277 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
27278 (struct utmp): Likewise.
27279 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
27280 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
27281 Renamed to ...
27282 (__WORDSIZE_TIME64_COMPAT32): This.
27283 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
27284 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
27285 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
27286 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
27287 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
27288 (__WORDSIZE_TIME64_COMPAT32): New macro.
27289
d8d1017e
AJ
272902012-05-21 Andreas Jaeger <aj@suse.de>
27291
27292 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
27293 only if [SHARED]. Add prototype for __wcschr_ia32.
27294
6c7fb145
RM
272952012-05-21 Roland McGrath <roland@hack.frob.com>
27296
27297 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
27298 of %rbp unmolested in the jmp_buf while mangling the low bits.
27299 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
27300 unmolested high bits of %rbp while demangling the low bits.
27301 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
27302
66274218
AJ
273032012-05-21 Andreas Jaeger <aj@suse.de>
27304
07c58f8f
AJ
27305 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
27306 * sunrpc/svc_simple.c: Use it for registerrpc.
27307 * sunrpc/xcrypt.c: Use it for passwd2des.
27308
66274218
AJ
27309 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
27310
61f65140
L
273112012-05-21 H.J. Lu <hongjiu.lu@intel.com>
27312
27313 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
27314 Don't define if [__SYSCALL_WORDSIZE != 32].
27315 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
27316 New macro.
27317
5fefb436
AJ
273182012-05-21 Bruno Haible <bruno@clisp.org>
27319 Andreas Jaeger <aj@suse.de>
27320
27321 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
27322 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
27323 inptr and inend for must_buffer_ch.
27324 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
27325 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
27326 * stdio-common/Makefile (tests): Remove bug15.
27327 (bug15-ENV): Remove macro.
27328 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
27329 anymore.
27330
d8e272ab
AJ
273312012-05-19 Andreas Jaeger <aj@suse.de>
27332 Roland McGrath <roland@hack.frob.com>
27333
27334 * manual/contrib.texi: Completely rewritten. It contains now an
27335 alphabetical list of contributors and their contributions.
27336
4a56a162
RH
273372012-05-21 Richard Henderson <rth@twiddle.net>
27338
27339 * misc/getauxval.c (__getauxval): Use unsigned long int.
27340 * misc/sys/auxv.h: Include <sys/cdefs.h>.
27341 (getauxval): Use unsigned long int.
27342
d024d23c
L
273432012-05-21 H.J. Lu <hongjiu.lu@intel.com>
27344
27345 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
27346
cbc00a03
RM
273472012-05-21 Roland McGrath <roland@hack.frob.com>
27348
27349 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
27350 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
27351 __alignof__ (long double).
27352
478143fa
AZ
273532012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27354
27355 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27356
c7683a6d
RH
273572012-05-20 Richard Henderson <rth@twiddle.net>
27358
27359 * misc/getauxval.c: New file.
27360 * misc/sys/auxv.h: New file.
27361 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
27362 (routines): Add getauxval.
27363 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
27364 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
27365 * elf/dl-sysdep.c (_dl_auxv): Remove.
27366 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
27367 * elf/dl-support.c (_dl_auxv): New variable.
27368 (_dl_aux_init): Initialize it.
27369 * manual/startup.texi (Auxiliary Vector): New node.
27370 * sysdeps/generic/bits/hwcap.h: New file.
27371 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
27372 * sysdeps/powerpc/sysdep.h: ... here. Include it.
27373 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
27374 * sysdeps/sparc/sysdep.h: ... here. Include it.
27375 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
27376 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
27377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27378 Update.
c7683a6d
RH
27379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
27380 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
27381 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
27382 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
27383 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
27384 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
27385 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
27386 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
27387
a6f1845d
AZ
273882012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27389
27390 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27391
cbcbe830
DM
273922012-05-19 David S. Miller <davem@davemloft.net>
27393
27394 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27395
e0b16cc2
JM
273962012-05-19 Joseph Myers <joseph@codesourcery.com>
27397
27398 [BZ #14123]
27399 * math/s_ccosh.c: Include <float.h>
27400 (__ccosh): Avoid internal overflow calculating sinh and cosh
27401 values before multiplying by sin and cos values.
27402 * math/s_ccoshf.c: Likewise.
27403 * math/s_ccoshl.c: Likewise.
27404 * math/s_csin.c: Likewise.
27405 * math/s_csinf.c: Likewise.
27406 * math/s_csinl.c: Likewise.
27407 * math/s_csinh.c: Likewise.
27408 * math/s_csinhf.c: Likewise.
27409 * math/s_csinhl.c: Likewise.
27410 * math/libm-test.inc (ccos_test): Add more tests.
27411 (ccosh_test): Likewise.
27412 (csin_test): Likewise.
27413 (csinh_test): Likewise.
27414 * sysdeps/i386/fpu/libm-test-ulps: Update.
27415 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27416
6ad13e08
L
274172012-05-19 H.J. Lu <hongjiu.lu@intel.com>
27418
f66f0ce8
L
27419 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
27420 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
27421
6ad13e08
L
27422 * sysdeps/x86_64/x32/_itoa.h: Add comment.
27423
b1d072a7
JM
274242012-05-19 Joseph Myers <joseph@codesourcery.com>
27425
27426 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
27427 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
27428 * sysdeps/powerpc/soft-fp/Versions: Likewise.
27429 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
27430 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
27431 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
27432 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
27433 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
27434 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
27435 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
27436 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
27437 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
27438 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
27439 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
27440 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
27441 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
27442 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
27443 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
27444 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
27445 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
27446 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
27447 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
27448 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
27449 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
27450 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
27451 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
27452 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
27453 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
27454 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
27455 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
27456 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
27457
9eae47cb
AJ
274582012-05-18 Andreas Jaeger <aj@suse.de>
27459
27460 * csu/.gitignore: Delete.
27461
bb07f69f
L
274622012-05-18 H.J. Lu <hongjiu.lu@intel.com>
27463
27464 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
27465 (timex): Use __syscall_slong_t.
27466
e6bdb741
AJ
274672012-05-18 Andreas Jaeger <aj@suse.de>
27468 Carlos O'Donell <carlos_odonell@mentor.com>
27469
27470 * manual/install.texi (Configuring and compiling): Update
27471 description about files modified in the source directory.
d6c33fda 27472 * INSTALL: Regenerated.
e6bdb741 27473
1b74487e
L
274742012-05-18 H.J. Lu <hongjiu.lu@intel.com>
27475
27476 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
27477 value. Use "or" to set return value to -1.
27478 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
27479 negate return value.
27480
a88b64b9
TMQMF
274812012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27482
27483 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
27484 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
27485 failure if the compiler has Graphite support disabled.
27486 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
27487 Likewise.
27488 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
27489 CFLAGS-memmove.c): Likewise.
27490 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
27491 Likewise.
27492
3707636e
L
274932012-05-18 H.J. Lu <hongjiu.lu@intel.com>
27494
610b8622
L
27495 * sysdeps/x86_64/x32/_itoa.h: New file.
27496
7cd195df
L
27497 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
27498 getdents system call only if kernel and user dirents have the
27499 same d_ino and d_off.
27500
94b07d20
L
27501 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
27502 LLONG_MAX != LONG_MAX.
27503 (_itoa_word): Use _ITOA_WORD_TYPE on value.
27504 (_fitoa_word): Likewise.
27505
18298070
L
27506 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
27507 years.
27508 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
27509 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
27510 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
27511
553c7ea4
L
27512 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
27513 include <bits/wordsize.h>. Check __x86_64__ instead of
27514 __WORDSIZE.
27515 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
27516 if __x86_64__ is defined. Use anonymous union on fpstate.
27517
3707636e
L
27518 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
27519 anonymous union.
27520
b53ef01a
AS
275212012-05-18 Andreas Schwab <schwab@linux-m68k.org>
27522
37fb1dc0
AS
27523 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
27524 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
27525 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
27526 Refer to _rtld_local_ro instead of _rtld_global_ro.
27527 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
27528 Likewise.
27529 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
27530 Likewise.
27531 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
27532 Likewise.
27533 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
27534 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
27535 of _rtld_global, and rtld_progname instead of _dl_argv[0].
27536
b53ef01a
AS
27537 * sysdeps/powerpc/powerpc32/dl-machine.c
27538 (__elf_machine_runtime_setup) [PROF]: Don't reference
27539 _dl_prof_resolve.
27540
7a185db2
AJ
275412012-05-18 Andreas Jaeger <aj@suse.de>
27542
27543 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
27544 function only available for GCCs before 3.4 since GCC 3.4
27545 introduced a builtin.
27546 (lrint): Likewise.
27547 (llrintf): Likewise.
27548 (llrint): Likewise.
27549 (fmaxf): Likewise.
27550 (fmax): Likewise.
27551 (fminf): Likewise.
27552 (fmin): Likewise.
27553 (rint): Likewise.
27554 (rintf): Likewise.
27555 (nearbyint): Likewise.
27556 (nearbyintf): Likewise.
27557 (ceil): Likewise.
27558 (ceilf): Likewise.
27559 (floor): Likewise.
27560 (floorf): Likewise.
27561
3e5aef87
L
275622012-05-17 H.J. Lu <hongjiu.lu@intel.com>
27563
428bd707
L
27564 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
27565 on both fields and cast pointer to __syscall_ulong_t.
27566
3e5aef87
L
27567 * bits/types.h (__fsword_t): New type.
27568 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
27569 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
27570 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27571 (__FSWORD_T_TYPE): Likewise.
27572 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
27573 (__FSWORD_T_TYPE): Likewise.
27574 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27575 (__FSWORD_T_TYPE): Likewise.
27576 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
27577 (__FSWORD_T_TYPE): Likewise.
27578 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
27579 __SWORD_TYPE with __fsword_t.
27580 (statfs64): Likewise.
27581
1ba7c3dc
DM
275822012-05-17 David S. Miller <davem@davemloft.net>
27583
27584 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
27585
59910343
AJ
275862012-05-17 Andreas Jaeger <aj@suse.de>
27587
27588 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
27589 warning.
27590
2e4c1e9e
L
275912012-05-17 H.J. Lu <hongjiu.lu@intel.com>
27592
27593 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
27594
de7f5ce7
AJ
275952012-05-17 Andreas Jaeger <aj@suse.de>
27596
27597 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
27598 when it is used.
27599
286abc3d
CM
276002012-05-17 Chris Metcalf <cmetcalf@tilera.com>
27601
27602 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
27603
477cc68e
L
276042012-05-17 H.J. Lu <hongjiu.lu@intel.com>
27605
27606 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
27607 * sysdeps/x86_64/tst-mallocalign1.c: New file.
27608
1a0994f5
CD
276092012-05-17 Andreas Jaeger <aj@suse.de>
27610 Carlos O'Donell <carlos_odonell@mentor.com>
27611
27612 [BZ #14059]
27613 * sysdeps/x86_64/multiarch/init-arch.h
27614 (bit_YMM_Usable): Rename to...
27615 (bit_AVX_Usable): ... this.
27616 (bit_FMA4_Usable): New macro.
27617 (bit_XMM_state): New macro.
27618 (bit_YMM_state): New macro.
27619 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
27620 [__ASSEMBLER__] (index_AVX_Usable): ... this.
27621 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
27622 (CPUID_OSXSAVE): New macro.
27623 (CPUID_AVX): New macro.
27624 (CPUID_FMA4): New macro.
27625 (index_YMM_Usable): Rename to...
27626 (index_AVX_Usable): ... this.
27627 (HAS_AVX): Use HAS_ARCH_FEATURE.
27628 (HAS_FMA4): Likewise.
27629 (HAS_YMM_USABLE): Remove.
27630 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27631 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
27632 are present.
27633 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
27634 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
27635 * sysdeps/x86_64/multiarch/Makefile: Likewise.
27636 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
27637 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
27638
0af797de
CM
276392012-05-17 Chris Metcalf <cmetcalf@tilera.com>
27640
27641 * math/libm-test.c: Support platforms without multiple rounding modes.
27642 * math/bug-nextafter.c: Support platforms without FP exceptions.
27643 * math/bug-nexttoward.c: Likewise.
27644 * math/test-fenv.c: Likewise.
27645 * math/test-misc.c: Likewise.
27646 * stdlib/bug-getcontext.c: Likewise.
27647
e39745ff
AJ
276482012-05-17 Andreas Jaeger <aj@suse.de>
27649
27650 * manual/examples/search.c (critter_cmp): Change signature to
27651 avoid warnings.
27652 * manual/string.texi (Collation Functions): Likewise.
27653
48970aba
L
276542012-05-16 H.J. Lu <hongjiu.lu@intel.com>
27655
27656 * bits/types.h: Fold copyright years.
27657 * bits/typesizes.h: Likewise.
27658 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
27659 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
27660 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
27661 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
27662 * time/time.h: Likewise.
27663
bedee953
PP
276642012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
27665
27666 [BZ #208]
27667 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
27668 in instead of returning them. Return void.
27669 (__libc_mallinfo): Accumulate over all arenas.
27670 (__malloc_stats): Adjust for change in int_mallinfo interface.
27671
61653dfb
RM
276722012-05-16 Roland McGrath <roland@hack.frob.com>
27673
30b99d79
RM
27674 [BZ #10375]
27675 * configure.in (NM): Add AC_CHECK_TOOL for it.
27676 (libc_extra_cflags): New substituted variable.
27677 Check for -fstack-protector being used implicitly.
27678 * configure: Regenerated.
27679 * config.make.in (config-extra-cflags): New variable,
27680 gets @libc_extra_cflags@.
27681 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
27682
61653dfb
RM
27683 [BZ #10375]
27684 * configure.in: Check for _FORTIFY_SOURCE being predefined.
27685 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
27686 * configure: Regenerated.
27687 * config.make.in (CPPUNDEFS): New substituted variable.
27688 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
27689 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
27690 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
27691
661768bb
L
276922012-05-16 H.J. Lu <hongjiu.lu@intel.com>
27693
27694 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
27695 (mq_attr): Use __syscall_slong_t.
27696
d4261567
L
276972012-05-16 H.J. Lu <hongjiu.lu@intel.com>
27698
27699 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
27700 Check __x86_64__ instead of __WORDSIZE.
27701 (_STAT_VER_LINUX): Likewise.
27702 (stat): Check __x86_64__ instead of __WORDSIZE. Use
27703 __syscall_ulong_t and __syscall_slong_t.
27704 (stat64): Likewise.
27705
cf3ff365
L
277062012-05-16 H.J. Lu <hongjiu.lu@intel.com>
27707
27708 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
27709
76cf3e4d
L
277102012-05-16 H.J. Lu <hongjiu.lu@intel.com>
27711
27712 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
27713
a637753a
L
277142012-05-16 H.J. Lu <hongjiu.lu@intel.com>
27715
27716 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
27717 __syscall_ulong_t.
27718
d5e05119
L
27719 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
27720 include <bits/wordsize.h>. Check __x86_64__ instead of
27721 __WORDSIZE.
27722 (greg_t): Use "__extension__ long long int" if __x86_64__ is
27723 defined.
27724 (mcontext_t): Replace "unsigned long" with "unsigned long long".
27725
f62ee380
L
27726 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
27727 include <bits/wordsize.h>. Check __x86_64__ instead of
27728 __WORDSIZE.
27729 (user_regs_struct): Use "__extension__ unsigned long long"
27730 instead of "unsigned long" if __x86_64__ is defined.
27731 (user): Likewise. Pad after pointer field if __ILP32__ is
27732 defined.
27733
4e124ced
JM
277342012-05-16 Joseph Myers <joseph@codesourcery.com>
27735
6a3951a0
JM
27736 * configure.in (makeinfo): Require version 4.5 or later. Allow
27737 versions 5 to 9.
27738 * configure: Regenerated.
27739 * manual/install.texi (texinfo): Increase version requirement to
27740 4.5 or later.
27741 * INSTALL: Regenerated.
27742
4e124ced
JM
27743 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
27744
953ca31a
L
277452012-05-16 H.J. Lu <hongjiu.lu@intel.com>
27746
27747 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
27748
617aca05
L
27749 * sysdeps/x86_64/x32/ffs.c: New file.
27750
5762f7ae
L
27751 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
27752 __syscall_ulong_t.
27753 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
27754 defined. Use __syscall_ulong_t.
27755 (shminfo): Use __syscall_ulong_t.
27756 (shm_info): Likewise.
27757
a26b6856
L
27758 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
27759 __syscall_ulong_t.
27760
cb2b9ef7
L
27761 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
27762 <bits/wordsize.h>.
27763 (msgqnum_t): Use __syscall_ulong_t.
27764 (msglen_t): Likewise.
27765 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
27766 __syscall_ulong_t.
27767
34683bb0
L
27768 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
27769 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
27770
84a68786
L
27771 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
27772
48baa5f1
L
27773 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
27774 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
27775
180be88b
L
27776 * sysvipc/sys/msg.h (msgbuf): Replace long int with
27777 __syscall_slong_t.
27778
5e90c8ad
L
27779 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
27780 include <bits/wordsize.h>. Check __x86_64__ instead of
27781 __WORDSIZE.
27782
23dfb58b
L
27783 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
27784 "unsigned long long int" if __x86_64__ is defined.
27785 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
27786
ce5d54b0
L
27787 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
27788 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
27789 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
27790
13dc9eac
L
27791 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
27792 <stdint.h>.
27793 (GET_PC): Cast to uintptr_t first.
27794 (GET_FRAME): Likewise.
27795 (GET_STACK): Likewise.
27796
a7895d15
L
27797 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
27798 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
27799 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
27800 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
27801 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
27802 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
27803 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
27804 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
27805 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
27806 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
27807 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
27808 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
27809 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
27810 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
27811 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
27812 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
27813 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
27814 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
27815 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
27816 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
27817 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
27818 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
27819 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
27820 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
27821 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
27822 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
27823 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
27824 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
27825 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
27826
656416c9
AS
278272012-05-16 Andreas Schwab <schwab@linux-m68k.org>
27828
5bd66283
AS
27829 * Makerules (+depfiles): Also collect depfiles from .oS in
27830 $(extra-objs).
27831 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
27832 .oS, $(libnldbl-routines)).
27833
656416c9
AS
27834 * Makerules (native-compile-mkdep-flags): Define.
27835 * sunrpc/Makefile (extra-objs): Add $(addprefix
27836 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
27837 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
27838 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
27839 calling $(make-target-directory).
27840
a46f2169
L
278412012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27842
27843 * bits/types.h (__snseconds_t): Removed.
27844 * time/time.h (struct timespec): Replace __snseconds_t with
27845 __syscall_slong_t.
27846 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
27847 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
27848 Likewise.
27849 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27850 (__SNSECONDS_T_TYPE): Likewise.
27851 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
27852 (__SNSECONDS_T_TYPE): Likewise.
27853 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27854 (__SNSECONDS_T_TYPE): Likewise.
27855
6af6528b
L
278562012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27857
27858 * sysdeps/mach/hurd/bits/typesizes.h
27859 (__SYSCALL_SLONG_TYPE): New macro.
27860 (__SYSCALL_ULONG_TYPE): Likewise.
27861
de986b56
L
278622012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27863
27864 * bits/types.h (__syscall_slong_t): New type.
27865 (__syscall_ulong_t): Likewise.
27866
27867 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
27868 (__SYSCALL_ULONG_TYPE): Likewise.
27869 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27870 (__SYSCALL_SLONG_TYPE): Likewise.
27871 (__SYSCALL_ULONG_TYPE): Likewise.
27872 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
27873 (__SYSCALL_SLONG_TYPE): Likewise.
27874 (__SYSCALL_ULONG_TYPE): Likewise.
27875 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27876 (__SYSCALL_SLONG_TYPE): Likewise.
27877 (__SYSCALL_ULONG_TYPE): Likewise.
27878
85736dc7
L
278792012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27880
27881 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
27882 Add sigaltstack-offsets.sym.
27883 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
27884 <sigaltstack-offsets.h>.
27885 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
27886 longjmp_msg pointer.
27887 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
27888 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
27889 signal stack.
27890 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
27891
cc03b296
JM
278922012-05-15 Joseph Myers <joseph@codesourcery.com>
27893
a9538892
JM
27894 * elf/stackguard-macros.h: Remove file.
27895 * sysdeps/generic/stackguard-macros.h: New file.
27896 * sysdeps/i386/stackguard-macros.h: Likewise.
27897 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
27898 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
27899 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
27900 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
27901 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
27902 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
27903 * sysdeps/x86_64/stackguard-macros.h: Likewise.
27904 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
27905 <elf/stackguard-macros.h>.
27906
cc03b296
JM
27907 [BZ #14109]
27908 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
27909 __aligned__ in attribute.
27910 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
27911 (gregset_t): Likewise.
27912
93171016
L
279132012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27914
27915 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
27916 * sysdeps/x86_64/64/Implies-after: Here. New file.
27917 * sysdeps/x86_64/x32/Implies-after: New file.
27918
d86813a0
L
279192012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27920
27921 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
27922 and access return value for _dl_profile_fixup. Use R10_LP to
27923 load frame size.
27924
2953ec75
L
279252012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27926
27927 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
27928
3b550e9e
L
279292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27930
27931 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
27932 * sysdeps/x86_64/x32/sysdep.h: New file.
27933
eda41706
L
279342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27935
27936 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
27937 * sysdeps/x86_64/setjmp.S: Likewise.
27938
9ea01d93
AZ
279392012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27940
27941 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
27942 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
27943 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
27944 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
27945 remove unused global constant.
27946
02a91938
CM
279472012-05-15 Chris Metcalf <cmetcalf@tilera.com>
27948
27949 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
27950 include of <not-cancel.h>.
27951
6540185f
RM
279522012-05-15 Roland McGrath <roland@hack.frob.com>
27953
27954 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
27955
509072a0
AJ
279562012-05-15 Jeff Law <law@redhat.com>
27957 Andreas Jaeger <aj@suse.de>
27958
27959 [BZ #13594]
27960 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
27961 out from...
27962 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
27963 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
27964 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
27965 code changing __hst_map_handle.map.
27966
ba75122d
RM
279672012-05-15 Roland McGrath <roland@hack.frob.com>
27968
27969 * configure.in (sysnames): Look for Implies-before and Implies-after
27970 files.
27971 * configure: Regenerated.
27972
890d8bd8
L
279732012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27974
27975 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
27976 8-byte data alignment with LP_SIZE alignment.
27977
f6ee6623
L
279782012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27979
27980 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
27981 into R10_LP.
27982
ea2626f6
L
279832012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27984
27985 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
27986
085f715e
L
279872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27988
27989 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
27990 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
27991 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
27992 Likewise.
27993 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
27994
be8498fc
L
279952012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27996
27997 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
27998 (stackinfo_sub_sp): Likewise.
27999
70bc83b9
L
280002012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28001
28002 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
28003 RAX_LP.
28004
9bc0b730
L
280052012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28006
28007 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
28008 into R*_LP.
28009
6d2850e7
L
280102012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28011
28012 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
28013 sizes into R*_LP.
28014
3cb84561
L
280152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28016
28017 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
28018
54e2ed81
L
280192012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28020
28021 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
28022 into R11_LP and load __x86_64_shared_cache_size_half into
28023 R8_LP.
28024
8a17f349
L
280252012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28026
28027 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
28028 R8_LP.
28029
777b1eea
AZ
280302012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28031
28032 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
28033 logb for POWER7.
28034 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
28035 logbf for POWER7.
28036 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
28037 logbl for POWER7.
28038 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
28039 powerpc32/power7/fpu/s_logb.c via #include.
28040 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
28041 powerpc32/power7/fpu/s_logbf.c via #include.
28042 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
28043 powerpc32/power7/fpu/s_logbl.c via #include.
28044
d20d4ac2
JM
280452012-05-15 Joseph Myers <joseph@codesourcery.com>
28046
28047 * README.libm: Remove file.
28048
6cdef1ab
L
280492012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28050
28051 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
28052 count for x32. Use R*_LP and omit operand-size suffix.
28053
0b254d8f
L
280542012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28055
28056 * shlib-versions: Move x86_64-.*-linux.* entries to ...
28057 * sysdeps/x86_64/64/shlib-versions: Here. New file.
28058 * sysdeps/x86_64/x32/shlib-versions: New file.
28059
ceb809dc
RM
280602012-05-14 Roland McGrath <roland@hack.frob.com>
28061
28062 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
28063 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
28064 Use _dl_fatal_printf instead.
28065
37f1abd4
JM
280662012-05-14 Joseph Myers <joseph@codesourcery.com>
28067
28068 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
28069 set if not set by the user. Do not allow for being unset.
28070 * sysdeps/unix/sysv/linux/configure: Regenerated.
28071
11de3a33
L
280722012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28073
28074 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
28075 the `q' suffix from lea and replace .quad with ASM_ADDR.
28076
e02f153a
L
280772012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28078
28079 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
28080 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
28081 instead of $17.
28082 (PTR_DEMANGLE): Likewise.
28083
520ae0fd
L
280842012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28085
28086 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
28087 (LP_OP): Likewise.
28088 (ASM_ADDR): Likewise.
28089 (RAX_LP): Likewise.
28090 (RBP_LP): Likewise.
28091 (RBX_LP): Likewise.
28092 (RCX_LP): Likewise.
28093 (RDI_LP): Likewise.
28094 (RSI_LP): Likewise.
28095 (RSP_LP): Likewise.
28096 (R8_LP): Likewise.
28097 (R9_LP): Likewise.
28098 (R10_LP): Likewise.
28099 (R10_LP): Likewise.
28100 (R11_LP): Likewise.
28101 (R12_LP): Likewise.
28102 (R13_LP): Likewise.
28103 (R14_LP): Likewise.
28104 (R15_LP): Likewise.
28105
b985be81
L
281062012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28107
28108 * sysdeps/x86_64/x32/dl-machine.h: New file.
28109
6a4888ff
AJ
281102012-05-14 Andreas Jaeger <aj@suse.de>
28111
28112 * manual/Makefile (subdir): Remove export of subdir.
28113 (all): Remove target.
28114 (.PHONY): Remove all from list.
28115 (mkinstalldirs): Remove.
28116 (.PHONY): Remove installdirs from list.
28117 ($(inst_infodir)/libc.info): Use make-target-directory.
28118 (installdirs): Remove.
28119 (subdir_%): Remove.
28120 (glibc-targets): Remove.
28121 (lib): Remove.
28122 (stubs): Remove.
28123 ($(objpfx)stubs ../po/manual.pot): Remove.
28124 ($(objpfx)stamp%): Remove.
28125 (make-target-directory): Remove.
28126 (subdir_install): Remove.
28127 (routines): Remove.
28128 (aux): Remove.
28129 (sources): Remove.
28130 (objects): Remove.
28131 (headers): Remove.
28132
28133 [BZ #13750]
28134 * manual/.gitignore: Remove, it's not needed anymore.
28135 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
28136 all files in it.
28137 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
28138 directory.
28139 (texis): Renamed to $(objpfx)texis.
28140 (texis-path): New, contains path to generated files.
28141 (chapters.%): Use texis-path for complete path, add extra argument
28142 libc-texinfo.sh.
28143 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
28144 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
28145 (summary,texi, stamp-summary): Use complete path of
28146 files. Generate files in build dir.
28147 (dir-add.texi): Build in build dir.
28148 (libm-err.texi,stamp-libm-err): Likewise.
28149 (version.texi, stamp-version): Likewise.
28150 (.%c.texi): Likewise.
28151 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
28152 (mostlyclean): Remove target.
28153 (realclean): Remove target.
28154 (generated): Add new variable with contents from mostlyclean and
28155 realclean, remove entries duplicated in common-mostlyclean, add
28156 stamp-libm-err and stamp-version.
28157 (generated-dirs): Add libc directory.
28158 ($(inst_infodir)/libc.info): Install files from build dir.
28159
28160 * manual/install.texi (Configuring and compiling): Adjust since
28161 the info files are not part of the tar ball anymore.
28162
7ac77294
AJ
281632012-05-14 Andreas Jaeger <aj@suse.de>
28164
28165 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
28166 variable.
28167
ffb7875d
JM
281682012-05-14 Joseph Myers <joseph@codesourcery.com>
28169
28170 [BZ #13717]
28171 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
28172 to 2.2.0 where earlier.
28173 * sysdeps/unix/sysv/linux/configure: Regenerated.
28174 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
28175 Remove conditional code.
28176 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
28177 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
28178 Remove conditional code.
28179 [!__NR_lchown]: Likewise.
28180 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
28181 [__NR_lchown]: Likewise.
28182 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
28183 comment referencing __ASSUME_LCHOWN_SYSCALL.
28184 * sysdeps/unix/sysv/linux/i386/sigaction.c
28185 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28186 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28187 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
28188 Remove conditional code.
28189 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
28190 (__protocol_available): Remove #if 0 code.
28191 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
28192 conditional code.
28193 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
28194 * sysdeps/unix/sysv/linux/kernel-features.h
28195 (__ASSUME_GETCWD_SYSCALL): Don't define.
28196 (__ASSUME_REALTIME_SIGNALS): Likewise.
28197 (__ASSUME_PREAD_SYSCALL): Likewise.
28198 (__ASSUME_PWRITE_SYSCALL): Likewise.
28199 (__ASSUME_POLL_SYSCALL): Likewise.
28200 (__ASSUME_LCHOWN_SYSCALL): Likewise.
28201 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
28202 non-SPARC.
28203 (__ASSUME_SIOCGIFNAME): Don't define.
28204 (__ASSUME_MSG_NOSIGNAL): Likewise.
28205 (__ASSUME_SENDFILE): Define unconditionally.
28206 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
28207 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
28208 conditional code.
28209 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
28210 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
28211 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
28212 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
28213 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
28214 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
28215 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
28216 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
28217 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
28218 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
28220 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
28221 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28222 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
28223 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28224 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28225 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
28226 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28227 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
28229 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
28230 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
28232 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
28233 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
28235 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28236 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
28238 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28239 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28240 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
28241 Remove conditional code.
28242 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28243 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
28244 Remove conditional code.
28245 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28246 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
28247 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
28248 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
28249 Remove conditional code.
28250 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28251 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
28252 Remove conditional code.
28253 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28254 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
28255 Remove conditional code.
28256 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28257 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
28258 Remove conditional code.
28259 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28260 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
28261 Remove conditional code.
28262 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28263 * sysdeps/unix/sysv/linux/sh/pwrite64.c
28264 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28265 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28266 * sysdeps/unix/sysv/linux/sigaction.c
28267 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28268 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28269 * sysdeps/unix/sysv/linux/sigpending.c
28270 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28271 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28272 * sysdeps/unix/sysv/linux/sigprocmask.c
28273 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28274 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28275 * sysdeps/unix/sysv/linux/sigsuspend.c
28276 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28277 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28278 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
28279 (__libc_missing_rt_sigs): Remove.
28280 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
28281 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
28282 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
28283 Remove conditional code.
28284 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
28285 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
28286 return 1.
28287 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
28288 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
28289 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
28290 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
28291
1bfb7291
AJ
282922012-05-14 Andreas Jaeger <aj@suse.de>
28293
caae5a81
AJ
28294 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
28295 it's not used in glibc.
28296 (__coshm1): Likewise.
28297 (__acosh1p): Likewise.
28298 (__sgn): Likewise.
28299
1bfb7291
AJ
28300 * manual/string.texi (Copying and Concatenation): Add missing
28301 variable in concat example.
28302 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
28303
c044d724
L
283042012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28305
144c5467 28306 [BZ #14103]
c044d724
L
28307 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
28308 __builtin_clzl with __builtin_clzll.
28309
2523c62b
L
283102012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28311
28312 [BZ #14104]
28313 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
28314 libc_freeres_ptr.
28315
d7bb4c42
LD
283162012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28317
28318 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
28319 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
28320 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
28321 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
28322
9dc4e1fb
MF
283232012-05-14 Mike Frysinger <vapier@gentoo.org>
28324
28325 * NEWS: Update ia64 info.
28326
c7df0112
AS
283272012-05-12 Andreas Schwab <schwab@linux-m68k.org>
28328
28329 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
28330 used as bcopy.
28331
dc70356c
TS
283322012-05-12 Thomas Schwinge <thomas@codesourcery.com>
28333
28334 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
28335 * sysdeps/unix/syscalls.list (dup3): Likewise.
28336 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
28337 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
28338
9fb1a21f
L
283392012-05-11 H.J. Lu <hongjiu.lu@intel.com>
28340
28341 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
28342 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
28343
4822a2a5
L
283442012-05-11 H.J. Lu <hongjiu.lu@intel.com>
28345
28346 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
28347 thread pointer.
28348 (TLS_IE): Use mov/add instead of movq/addq to load thread
28349 pointer.
28350 (TLS_GD_PREFIX): New.
28351 (TLS_GD): Use it.
28352
842b81d6
DM
283532012-05-11 David S. Miller <davem@davemloft.net>
28354
28355 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
28356 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
28357 (_FPU_SETCW): Likewise.
28358
1cf463cd
L
283592012-05-10 H.J. Lu <hongjiu.lu@intel.com>
28360
28361 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
28362 is 32-byte aligned.
28363
60cc4a18
AS
283642012-05-11 Andreas Schwab <schwab@linux-m68k.org>
28365
28366 [BZ #11837]
28367 * iconvdata/gb18030.c: Update tables.
28368 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
28369 characters specially.
28370 (BODY for TO_LOOP): Add encoding of missing ranges.
28371
febb44a4
TS
283722012-05-11 Thomas Schwinge <thomas@codesourcery.com>
28373
28374 [BZ #13673]
28375 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
28376 * sysdeps/mach/hurd/dup3.c: Likewise.
28377 * sysdeps/mach/hurd/readlinkat.c: Likewise.
28378 * sysdeps/powerpc/memmove.c:: Likewise.
28379
0a10fb9e
L
283802012-05-10 H.J. Lu <hongjiu.lu@intel.com>
28381
28382 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
28383 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
28384
df8a552f
L
283852012-05-10 H.J. Lu <hongjiu.lu@intel.com>
28386
28387 * elf/elf.h (R_X86_64_RELATIVE64): New.
28388 (R_X86_64_NUM): Updated.
28389 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
28390 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
28391 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
28392 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
28393 tst-quad1pie tst-quad2pie
28394 (modules-names): Add tst-quadmod1 tst-quadmod2.
28395 ($(objpfx)tst-quad1): New dependency.
28396 ($(objpfx)tst-quad2): Likewise.
28397 ($(objpfx)tst-quad1pie): Likewise.
28398 ($(objpfx)tst-quad2pie): Likewise.
28399 * sysdeps/x86_64/tst-quad1.c: New file.
28400 * sysdeps/x86_64/tst-quad1pie.c: New file.
28401 * sysdeps/x86_64/tst-quad2.c: Likewise.
28402 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
28403 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
28404 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
28405 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
28406 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
28407
f34d6f84
ST
284082012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28409
f42d41d1
ST
28410 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
28411 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
28412 * streams/stropts.h (t_scalar_t): Define type.
28413
3c3571fc
ST
28414 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
28415 (_PATH_PRESERVE): Set to "/var/lib".
28416 (_PATH_RWHODIR): Set to "/var/spool/rwho".
28417
61f06bd3
ST
28418 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
28419 instead of int.
28420
918d4d71
ST
28421 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
28422 if __dir_mkfile succeeded.
28423
f34d6f84
ST
28424 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
28425 checking for _hurd_dtablesize. Unlock it right after having
28426 finished _hurd_dtable allocation.
28427
10589b4a
TS
284282012-05-10 Thomas Schwinge <thomas@schwinge.name>
28429
674cdbc7
TS
28430 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
28431 * sysdeps/mach/hurd/configure: Regenerated.
28432 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
28433 special-casing to...
28434 * sysdeps/gnu/configure.in: ... this new file.
28435 * sysdeps/unix/sysv/linux/configure: Regenerated.
28436 * sysdeps/gnu/configure: New generated file.
28437
8e41b99f
TS
28438 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
28439 for Linux: use nsec instead of usec, as well as:
28440 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
28441 members of type struct timespec.
28442 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
28443 New macros.
28444 (struct stat64): Likewise.
28445 (_STATBUF_ST_NSEC): New macro.
28446 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
28447
10589b4a
TS
28448 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
28449 __strtoul_internal rather than strtoul.
28450
63643c85
PT
284512012-05-10 Pino Toscano <toscano.pino@tiscali.it>
28452
28453 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
28454 and reject them.
28455
3faebe6a
ST
284562012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28457
28458 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
28459 which preserves existing values.
28460 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
28461
c6474b07
PT
284622012-05-10 Pino Toscano <toscano.pino@tiscali.it>
28463
28464 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
28465 TIMEOUT values. Return EINVAL for NFDS values either negative or
28466 greater than FD_SETSIZE.
28467
1043890b
ST
284682012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28469
28470 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
28471 allocated, call __vm_protect to finish enabling the existing space, and
28472 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
28473 allocate the remainder.
28474
37ed8b9b
PT
284752012-05-10 Pino Toscano <toscano.pino@tiscali.it>
28476
28477 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
28478 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
28479
db653660
ST
284802012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28481
37ed8b9b
PT
28482 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
28483 sysdeps/mach/hurd/readlink.c.
b29d4053 28484
db653660
ST
28485 * posix/tst-sysconf.c (posix_options): Only use
28486 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
28487 _POSIX_SYNCHRONIZED_IO when they are defined
28488 * sysdeps/mach/hurd/bits/posix_opt.h:
28489 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
28490 (_XOPEN_REALTIME): Undefine macro.
28491 (_XOPEN_REALTIME_THREADS): Undefine macro.
28492 (_XOPEN_SHM): Undefine macro.
28493 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
28494 macro to -1.
28495 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
28496 macro to -1.
28497 (_POSIX_ASYNC_IO): Undefine macro.
28498 (_POSIX_PRIORITIZED_IO): Undefine macro.
28499 (_POSIX_SPIN_LOCKS): Define macro to -1.
28500
ee16e894
ST
28501 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
28502 SA_NODEFER, SA_RESETHAND.
28503 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
28504 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
28505 F_DUPFD_CLOEXEC.
28506
6103ae3b
TS
285072012-05-10 Thomas Schwinge <thomas@schwinge.name>
28508
28509 * elf/Makefile (pldd-modules): Define unconditionally.
28510
80b4e5f3
TS
285112012-05-10 Thomas Schwinge <thomas@schwinge.name>
28512
28513 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
28514
edadcbd6
ST
285152012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28516
28517 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
28518 Return ENOENT when name is empty.
28519 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
28520
80694780
TS
285212012-05-10 Thomas Schwinge <thomas@schwinge.name>
28522
1792c087
TS
28523 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
28524
80694780
TS
28525 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
28526
6b645f0d
ST
285272012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28528
80694780
TS
28529 Fix mlock in all cases except non-readable pages.
28530 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
28531 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 28532
6b645f0d
ST
28533 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
28534 (__mkdir): When path is `/', just fail with EEXIST.
28535 * sysdeps/mach/hurd/mkdirat.c: Likewise.
28536
e468f8a3
TS
285372012-05-10 Thomas Schwinge <thomas@schwinge.name>
28538
28539 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
28540 <sys/uio.h> (for writev).
28541 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
28542 and <sys/param.h> (for MIN).
28543
a4186cff
PT
285442012-05-10 Pino Toscano <toscano.pino@tiscali.it>
28545
28546 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
28547 REQUESTED_TIME. Properly set the remaining time and return EINTR
28548 if interrupted.
28549
510bbf14
TS
285502012-05-10 Thomas Schwinge <thomas@schwinge.name>
28551
28552 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
28553 Depend on against $(link-rpcuserlibs).
28554
5d5722e8
ST
285552012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28556
a4186cff
PT
28557 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
28558 (__libc_stack_end): Do not use attribute_relro.
28559 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
28560 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 28561 to libthread-provided value.
a4186cff
PT
28562 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
28563 attribute_relro.
5d5722e8 28564
37233df9
TS
285652012-05-10 Thomas Schwinge <thomas@schwinge.name>
28566
be971a2b
TS
28567 [BZ #3748]
28568 * bits/libc-lock.h (__libc_once_get): New macro.
28569 * sysdeps/mach/bits/libc-lock.h: Likewise.
28570 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
28571 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
28572 instead of using implementation details.
28573
37233df9
TS
28574 * libio/fileops.c: Unconditionally include <kernel-features.h>.
28575 * libio/freopen.c: Likewise.
28576 * libio/freopen64.c: Likewise.
28577 * misc/syslog.c: Likewise.
28578 * nscd/connections.c: Likewise.
28579 * nscd/netgroupcache.c: Likewise.
28580 * sysdeps/posix/getcwd.c: Likewise.
28581
38de94a5
RM
285822012-05-10 Roland McGrath <roland@hack.frob.com>
28583
28584 * math/w_ilogbf.c: Add #include <limits.h>.
28585
67530489
ST
285862012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28587
a4186cff 28588 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
28589 path instead of returning without unlocking.
28590
67530489
ST
28591 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
28592 immediate-write ioctls.
28593 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
28594
5aa3a74a
TS
285952012-05-10 Thomas Schwinge <thomas@schwinge.name>
28596
18bad2ae
TS
28597 * sysdeps/mach/hurd/i386/init-first.c (init): Use
28598 __builtin_frame_address instead of making assumptions about the
28599 location of the return address relative to DATA. Force early load of
28600 the return address.
28601 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
28602 __builtin_frame_address.
28603
5aa3a74a
TS
28604 dup3 for GNU Hurd.
28605 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
28606 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
28607 implement dup3 and do some further code clean-ups.
28608 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
28609 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
28610
ecd0de9a
ST
286112012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28612
cd9fa985
ST
28613 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
28614
a4186cff
PT
28615 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
28616 HURD_CRITICAL_END around holding _hurd_dtable_lock.
28617 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
28618 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
28619 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
28620 d->port.lock.
802ca5a5 28621
a4186cff
PT
28622 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
28623 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
28624 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 28625
bcf55240
TS
286262012-05-10 Thomas Schwinge <thomas@schwinge.name>
28627
6960eb42
TS
28628 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
28629 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
28630 definitions.
28631
eb43375f
TS
28632 accept4 for GNU Hurd.
28633 * include/sys/socket.h (__libc_accept4): New prototype.
28634 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
28635 to implement __libc_accept4.
28636 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
28637 __libc_accept4.
28638 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
28639
bcf55240
TS
28640 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
28641 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
28642 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
28643 signal-defines.sym.
28644
6178c55b
ST
286452012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28646
a4186cff 28647 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 28648
6f080c2f
TS
286492012-05-10 Thomas Schwinge <thomas@schwinge.name>
28650
28651 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
28652 assertion on O_CLOEXEC flag.
28653 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
28654 * hurd/intern-fd.c: Likewise.
28655 * hurd/port2fd.c: Likewise.
28656
bcfe3a54
ST
286572012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28658
28659 [BZ #3906]
28660 * bits/in.h (IPV6_PKTINFO): Define new macro.
28661 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
28662
89c9aa49
AZ
286632012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28664
28665 [BZ #13954]
28666 [BZ #13955]
28667 [BZ #13956]
28668 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
28669 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
28670 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
28671 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
28672 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
28673 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
28674 * math/libm-test.inc (logb_test) : Additional logb tests.
28675
021db4be
AJ
286762012-05-09 Andreas Schwab <schwab@linux-m68k.org>
28677 Andreas Jaeger <aj@suse.de>
28678
28679 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
28680 * configure: Regenerated.
28681 * config.h.in (LINK_OBSOLETE_RPC): New macro.
28682 * config.make.in (link-obsolete-rpc): New substituted variable.
28683 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
28684 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
28685 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
28686 (shared-only-routines): Don't set it under [link-obsolete-rpc],
28687 so that libc.a contains the symbols.
28688 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
28689 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
28690 * sunrpc/auth_none.c: Likewise.
28691 * sunrpc/auth_unix.c: Likewise.
28692 * sunrpc/authdes_prot.c: Likewise.
28693 * sunrpc/authuxprot.c: Likewise.
28694 * sunrpc/clnt_gen.c: Likewise.
28695 * sunrpc/clnt_perr.c: Likewise.
28696 * sunrpc/clnt_raw.c: Likewise.
28697 * sunrpc/clnt_simp.c: Likewise.
28698 * sunrpc/clnt_tcp.c: Likewise.
28699 * sunrpc/clnt_udp.c: Likewise.
28700 * sunrpc/clnt_unix.c: Likewise.
28701 * sunrpc/des_crypt.c: Likewise.
28702 * sunrpc/des_soft.c: Likewise.
28703 * sunrpc/get_myaddr.c: Likewise.
28704 * sunrpc/key_call.c: Likewise.
28705 * sunrpc/key_prot.c: Likewise.
28706 * sunrpc/netname.c: Likewise.
28707 * sunrpc/pm_getmaps.c: Likewise.
28708 * sunrpc/pm_getport.c: Likewise.
28709 * sunrpc/pmap_clnt.c: Likewise.
28710 * sunrpc/pmap_prot.c: Likewise.
28711 * sunrpc/pmap_prot2.c: Likewise.
28712 * sunrpc/pmap_rmt.c: Likewise.
28713 * sunrpc/publickey.c: Likewise.
28714 * sunrpc/rpc_cmsg.c: Likewise.
28715 * sunrpc/rpc_common.c: Likewise.
28716 * sunrpc/rpc_dtable.c: Likewise.
28717 * sunrpc/rpc_prot.c: Likewise.
28718 * sunrpc/rpc_thread.c: Likewise.
28719 * sunrpc/rtime.c: Likewise.
28720 * sunrpc/svc.c: Likewise.
28721 * sunrpc/svc_auth.c: Likewise.
28722 * sunrpc/svc_raw.c: Likewise.
28723 * sunrpc/svc_run.c: Likewise.
28724 * sunrpc/svc_tcp.c: Likewise.
28725 * sunrpc/svc_udp.c: Likewise.
28726 * sunrpc/svc_unix.c: Likewise.
28727 * sunrpc/svcauth_des.c: Likewise.
28728 * sunrpc/xcrypt.c: Likewise.
28729 * sunrpc/xdr.c: Likewise.
28730 * sunrpc/xdr_array.c: Likewise.
28731 * sunrpc/xdr_float.c: Likewise.
28732 * sunrpc/xdr_intXX_t.c: Likewise.
28733 * sunrpc/xdr_mem.c: Likewise.
28734 * sunrpc/xdr_rec.c: Likewise.
28735 * sunrpc/xdr_ref.c: Likewise.
28736 * sunrpc/xdr_sizeof.c: Likewise.
28737 * sunrpc/xdr_stdio.c: Likewise.
28738
b5c086a2
RM
287392012-05-10 Roland McGrath <roland@hack.frob.com>
28740
28741 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
28742 change. Update copyright years.
28743
6d74dd09
JM
287442012-05-10 Joseph Myers <joseph@codesourcery.com>
28745
28746 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
28747
28e72501
MK
287482012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
28749 Joseph Myers <joseph@codesourcery.com>
28750 Paul Pluzhnikov <ppluzhnikov@google.com>
28751
28752 [BZ #14012]
28753 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
28754 requiring rpcgen.
28755 [cross-compiling] (extra-libs): Likewise.
28756 [cross-compiling] (extra-libs-others): Likewise.
28757 [cross-compiling] (librpcsvc-routines): Likewise.
28758 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
28759 [cross-compiling] (omit-deps): Likewise.
28760 (sunrpc-CPPFLAGS): New variable.
28761 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
28762 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
28763 (cross-rpcgen-objs): New variable.
28764 (extra-objs): Append $(cross-rpcgen-objs).
28765 ($(cross-rpcgen-objs)): New rule.
28766 ($(objpfx)cross-rpcgen): Likewise.
28767 (rpcgen-cmd): Define to use $(built-program-file). Expand
28768 comment.
28769 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
28770 ($(objpfx)x%.stmp): Likewise.
28771 * sunrpc/proto.h [IS_IN_build] (_): Define.
28772 [IS_IN_build] (_libc_intl_domainname): Likewise.
28773
c8c59454
L
287742012-05-10 H.J. Lu <hongjiu.lu@intel.com>
28775
28776 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
28777 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
28778 and R_X86_64_TPOFF64.
28779
6f27cd16
JM
287802012-05-10 Joseph Myers <joseph@codesourcery.com>
28781
28782 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
28783 sysdeps/unix/sysv/syscalls.list.
28784 (stime): Likewise.
28785 (utime): Likewise.
28786 * sysdeps/unix/sysv/syscalls.list: Remove file.
28787
02467e1c
PE
287882012-05-10 Paul Eggert <eggert@cs.ucla.edu>
28789
28790 [BZ #3440]
28791 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
28792 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
28793 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
28794 (__LC_IDENTIFICATION): Make these macros useful in #if
28795 expressions, as required by C99.
28796
da392631
AS
287972012-05-10 Andreas Schwab <schwab@linux-m68k.org>
28798
28799 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
28800 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
28801 after this.
28802
8115f29b
L
288032012-05-09 H.J. Lu <hongjiu.lu@intel.com>
28804
28805 * stdlib/longlong.h: Updated from GCC.
28806
bdd74070
AJ
288072012-05-09 Andreas Jaeger <aj@suse.de>
28808
edfe0dbe
AJ
28809 * nscd/nscd.c (run_modes): Make named enum, reorder so that
28810 default is first entry.
28811 (run_mode): Set type.
28812 (main): Remove informal message about syslog.
28813 (options): Fix typo.
28814
bcfe3a54
ST
28815 [BZ #14053]
28816 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 28817 to asm.
bcfe3a54
ST
28818 (lrint): Likewise.
28819 (llrintf): Likewise.
28820 (llrint): Likewise.
28821 (rint): Likewise.
28822 (rintf): Likewise.
28823 (nearbyint): Likewise.
28824 (nearbyintf): Likewise.
bdd74070 28825
91d8d69e
AJ
288262012-05-09 Andreas Jaeger <aj@suse.de>
28827 Pedro Alves <palves@redhat.com>
28828
28829 * nscd/nscd.c (run_mode): Use enum.
28830 (main): Cleanup coding style issue.
28831
bb90b80b
AJ
288322012-05-09 Alexandre Oliva <aoliva@redhat.com>
28833 Andreas Jaeger <aj@suse.de>
28834
bcfe3a54
ST
28835 * nscd/nscd.c (go_background): Replaced with...
28836 (run_mode): ... this.
bb90b80b 28837 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
28838 (options): Add -F --foreground.
28839 (main): Implement it.
28840 (parse_opt): Parse it.
bb90b80b 28841
1a4b75a1
AJ
288422012-05-09 Andreas Jaeger <aj@suse.de>
28843
28844 [BZ #14083]
28845 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
28846 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
28847 -Wconversion warning.
28848 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
28849 Likewise.
28850
b1cc2472
JM
288512012-05-09 Joseph Myers <joseph@codesourcery.com>
28852
28853 * conform/data/locale.h-data (NULL): Use macro-constant. Require
28854 == 0.
28855 (LC_ALL): Use macro-int-constant.
28856 (LC_COLLATE): Likewise.
28857 (LC_CTYPE): Likewise.
28858 (LC_MESSAGES): Likewise.
28859 (LC_MONETARY): Likewise.
28860 (LC_NUMERIC): Likewise.
28861 (LC_TIME): Likewise.
28862 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
28863 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
28864 [ISO || ISO99 || ISO11] (*_t): Do not allow.
28865 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
28866 Specify type.
28867 [C99-based standards] (float_t): Expect type.
28868 [C99-based standards] (double_t): Expect type.
28869 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
28870 type.
28871 [C99-based standards] (HUGE_VALL): Likewise.
28872 [C99-based standards] (INFINITY): Likewise.
28873 [C99-based standards] (NAN): Likewise.
28874 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
28875 [C99-based standards] (FP_NAN): Likewise.
28876 [C99-based standards] (FP_NORMAL): Likewise.
28877 [C99-based standards] (FP_SUBNORMAL): Likewise.
28878 [C99-based standards] (FP_ZERO): Likewise.
28879 [C99-based standards] (FP_FAST_FMA): Use
28880 optional-macro-int-constant. Specify type. Require == 1.
28881 [C99-based standards] (FP_FAST_FMAF): Likewise.
28882 [C99-based standards] (FP_FAST_FMAL): Likewise.
28883 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
28884 [C99-based standards] (FP_ILOGBNAN): Likewise.
28885 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
28886 Specify type.
28887 [C99-based standards] (MATH_ERREXCEPT): Likewise.
28888 [C99-based standards] (math_errhandling): Specify type.
28889 [ISO99 || ISO11] (signgam): Do not allow.
28890 [non-C99-based standards] (copysignf): Do not allow.
28891 [non-C99-based standards] (exp2f): Likewise.
28892 [non-C99-based standards] (log2f): Likewise.
28893 [non-C99-based standards] (modff): Allow.
28894 [non-C99-based standards] (erff): Do not allow.
28895 [non-C99-based standards] (erfcf): Likewise.
28896 [non-C99-based standards] (gammaf): Likewise.
28897 [non-C99-based standards] (hypotf): Likewise.
28898 [non-C99-based standards] (j0f): Likewise.
28899 [non-C99-based standards] (j1f): Likewise.
28900 [non-C99-based standards] (jnf): Likewise.
28901 [non-C99-based standards] (lgammaf): Likewise.
28902 [non-C99-based standards] (tgammaf): Likewise.
28903 [non-C99-based standards] (y0f): Likewise.
28904 [non-C99-based standards] (y1f): Likewise.
28905 [non-C99-based standards] (ynf): Likewise.
28906 [non-C99-based standards] (isnanf): Likewise.
28907 [non-C99-based standards] (acoshf): Likewise.
28908 [non-C99-based standards] (asinhf): Likewise.
28909 [non-C99-based standards] (atanhf): Likewise.
28910 [non-C99-based standards] (cbrtf): Likewise.
28911 [non-C99-based standards] (expm1f): Likewise.
28912 [non-C99-based standards] (ilogbf): Likewise.
28913 [non-C99-based standards] (log1pf): Likewise.
28914 [non-C99-based standards] (logbf): Likewise.
28915 [non-C99-based standards] (nextafterf): Likewise.
28916 [non-C99-based standards] (remainderf): Likewise.
28917 [non-C99-based standards] (rintf): Likewise.
28918 [non-C99-based standards] (scalbf): Likewise.
28919 [non-C99-based standards] (copysignl): Likewise.
28920 [non-C99-based standards] (exp2l): Likewise.
28921 [non-C99-based standards] (log2l): Likewise.
28922 [non-C99-based standards] (modfl): Allow.
28923 [non-C99-based standards] (erfl): Do not allow.
28924 [non-C99-based standards] (erfcl): Likewise.
28925 [non-C99-based standards] (gammal): Likewise.
28926 [non-C99-based standards] (hypotl): Likewise.
28927 [non-C99-based standards] (j0l): Likewise.
28928 [non-C99-based standards] (j1l): Likewise.
28929 [non-C99-based standards] (jnl): Likewise.
28930 [non-C99-based standards] (lgammal): Likewise.
28931 [non-C99-based standards] (tgammal): Likewise.
28932 [non-C99-based standards] (y0l): Likewise.
28933 [non-C99-based standards] (y1l): Likewise.
28934 [non-C99-based standards] (ynl): Likewise.
28935 [non-C99-based standards] (isnanl): Likewise.
28936 [non-C99-based standards] (acoshl): Likewise.
28937 [non-C99-based standards] (asinhl): Likewise.
28938 [non-C99-based standards] (atanhl): Likewise.
28939 [non-C99-based standards] (cbrtl): Likewise.
28940 [non-C99-based standards] (expm1l): Likewise.
28941 [non-C99-based standards] (ilogbl): Likewise.
28942 [non-C99-based standards] (log1pl): Likewise.
28943 [non-C99-based standards] (logbl): Likewise.
28944 [non-C99-based standards] (nextafterl): Likewise.
28945 [non-C99-based standards] (remainderl): Likewise.
28946 [non-C99-based standards] (rintl): Likewise.
28947 [non-C99-based standards] (scalbl): Likewise.
28948 [ISO || ISO99 || ISO11] (*_t): Do not allow.
28949 [non-C99-based standards] (FP_*): Do not allow.
28950 [C99-based standards] (FP_*): Change to
28951 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
28952 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
28953 allow.
28954 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
28955 (SIG_ERR): Likewise.
28956 [X/Open-based standards] (SIG_HOLD): Likewise.
28957 (SIG_IGN): Likewise.
28958 (SIGABRT): Use macro-int-constant. Specify type. Require
28959 positive value.
28960 (SIGFPE): Likewise.
28961 (SIGILL): Likewise.
28962 (SIGINT): Likewise.
28963 (SIGSEGV): Likewise.
28964 (SIGTER): Likewise.
28965 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
28966 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
28967 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
28968 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
28969 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
28970 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
28971 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
28972 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
28973 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
28974 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
28975 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
28976 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
28977 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
28978 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
28979 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
28980 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
28981 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
28982 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
28983 [X/Open-based standards] (SIGTRAP): Likewise.
28984 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
28985 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
28986 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
28987 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
28988 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
28989 allow.
28990
b9f1922d
IW
289912012-05-08 Ian Wienand <ianw@vmware.com>
28992
28993 [BZ #14080]
28994 * time/tzset.c (__tzset_parse_tz): Update default rules for
28995 daylight time changes in the Energy Policy Act of 2005.
28996
1db86e88
AJ
289972012-05-09 Andreas Jaeger <aj@suse.de>
28998
28999 [BZ #13983]
29000 * elf/ldconfig.c (parse_conf): Change string to make clear that
29001 ldconfig only issued a warning if ld.so.conf does not exist.
29002
dee4a4e3
DM
290032012-05-08 David S. Miller <davem@davemloft.net>
29004
ee0db190
DM
29005 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
29006 movxtod instead of popping the value on the stack.
29007
dee4a4e3
DM
29008 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29009
6a43ec98
CD
290102012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
29011
29012 * config.h.in: Add HAVE_ARM_PCS_VFP.
29013
05c2c961
RMG
290142012-05-08 Roland Mc Grath <roland@hack.frob.com>
29015
bcfe3a54
ST
29016 [BZ #13979]
29017 * include/features.h: Warn if user requests __FORTIFY_SOURCE
29018 checking but the checks are disabled for any reason.
05c2c961 29019
4b30f61a
L
290202012-05-08 H.J. Lu <hongjiu.lu@intel.com>
29021
29022 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
29023 and ELF64_R_TYPE with ELFW(R_TYPE).
29024
eee2bc67
JM
290252012-05-08 Joseph Myers <joseph@codesourcery.com>
29026
7ea5391a
JM
29027 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
29028 (ulimit): Likewise.
29029
eee2bc67
JM
29030 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
29031 (settimeofday): Likewise.
29032
abb66a67
MF
290332012-05-08 Mike Frysinger <vapier@gentoo.org>
29034
29035 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
29036 a struct th_u2 inside the union, and move tu_block/tu_code into
29037 a new th_u3 union of tu_block/tu_code inside of that. Move
29038 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
29039 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
29040 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
29041 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
29042 (th_stuff): Change to th_u1.tu_stuff.
29043 (th_data): Define.
29044 (th_msg): Change to th_u1.th_u2.tu_data.
29045
7f18b530
DM
290462012-05-07 David S. Miller <davem@davemloft.net>
29047
05760585
DM
29048 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29049
7f18b530
DM
29050 [BZ #14074]
29051 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
29052 (SETUP_PIC_REG): Use it.
29053 (SETUP_PIC_REG_LEAF): Use it.
29054
495fd99f
JM
290552012-05-07 Joseph Myers <joseph@codesourcery.com>
29056
29057 [BZ #13885]
29058 [BZ #13923]
29059 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
29060 USE_AS_EXPM1L.
29061 (EXPL_FINITE): Likewise.
29062 (FLDLOG): Likewise.
29063 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
29064 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
29065 e_expl.S.
29066 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
29067 USE_AS_EXPM1L.
29068 (EXPL_FINITE): Likewise.
29069 (FLDLOG): Likewise.
29070 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
29071 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
29072 e_expl.S.
29073 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
29074 test of -max_value argument for long double.
29075 * sysdeps/i386/fpu/libm-test-ulps: Update.
29076 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29077
6693d694
DM
290782012-05-06 David S. Miller <davem@davemloft.net>
29079
29080 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
29081 quad soft-float symbols whose references which are compiler
29082 generated.
29083 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
29084
6c23e11c
JM
290852012-05-06 Joseph Myers <joseph@codesourcery.com>
29086
d8b82cad
JM
29087 [BZ #13884]
29088 [BZ #13914]
29089 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
29090 USE_AS_EXP10L.
29091 (EXPL_FINITE): Likewise.
29092 (FLDLOG): Likewise.
29093 (c0): Likewise.
29094 (c1): Likewise.
29095 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
29096 Adjust comments for base varying.
29097 (__expl_finite): Change alias to EXPL_FINITE.
29098 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
29099 e_expl.S.
29100 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
29101 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
29102 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
29103 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
29104 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
29105 USE_AS_EXP10L.
29106 (EXPL_FINITE): Likewise.
29107 (FLDLOG): Likewise.
29108 (c0): Likewise.
29109 (c1): Likewise.
29110 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
29111 Adjust comments for base varying.
29112 (__expl_finite): Change alias to EXPL_FINITE.
29113 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
29114 tests for bugs.
29115 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29116
6c23e11c
JM
29117 [BZ #14064]
29118 * math/libm-test.inc (check_float_internal): Correct ulp
29119 calculation for subnormal expected results.
29120
29ba805c
AJ
291212012-05-06 Andreas Jaeger <aj@suse.de>
29122
29123 * Makeconfig (+math-flags): New, set to -frounding-math.
29124 (+cflags): Add +math-flags so that all of glibc gets compiled with
29125 it.
29126
29127 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
29128
7b17aeda
JM
291292012-05-05 Joseph Myers <joseph@codesourcery.com>
29130
5779f134
JM
29131 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
29132 Disable one test.
29133
41498f4d
JM
29134 [BZ #13787]
29135 [BZ #13922]
29136 [BZ #14036]
29137 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
29138 (__ieee754_expl): Allow for and saturate large arguments.
29139 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
29140 (u_threshold): Likewise.
29141 (__exp): Call __ieee754_exp before checking for overflow and
29142 underflow.
29143 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
29144 (u_threshold): Likewise.
29145 (__expf): Call __ieee754_expf before checking for overflow and
29146 underflow.
29147 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
29148 (u_threshold): Likewise.
29149 (__expl): Call __ieee754_expl before checking for overflow and
29150 underflow.
29151 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
29152 (__ieee754_expl): Allow for and saturate large arguments.
29153 * math/libm-test.inc (exp_test): Add another test. Do not allow
29154 missing overflow exception on overflow.
29155 (expm1_test): Do not allow missing overflow exception on overflow.
29156
6698b8bf
JM
29157 * sysdeps/i386/fpu/e_expl.c: Move to ...
29158 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
29159 rather than using inline asm.
29160 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
29161 * sysdeps/x86_64/fpu/e_expl.S: Copy from
29162 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
29163
7b17aeda
JM
29164 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
29165 (nice): Likewise.
29166 (poll): Likewise.
29167 (signal): Likewise.
29168 (time): Likewise.
29169 (times): Likewise.
29170
f7c85819
JM
291712012-05-04 Joseph Myers <joseph@codesourcery.com>
29172
29173 * sysdeps/unix/syscalls.list (adjtime): Add entry from
29174 sysdeps/unix/common/syscalls.list.
29175 (fchmod): Likewise.
29176 (fchown): Likewise.
29177 (ftruncate): Likewise.
29178 (getrusage): Likewise.
29179 (gettimeofday): Likewise.
29180 (setpgid): Likewise.
29181 (setregid): Likewise.
29182 (setreuid): Likewise.
29183 (sigaction): Likewise.
29184 (truncate): Likewise.
29185 (vhangup): Likewise.
29186 * sysdeps/unix/common/syscalls.list: Remove file.
29187 * sysdeps/unix/bsd/Implies: Don't include unix/common.
29188 * sysdeps/unix/sysv/linux/Implies: Likewise.
29189
336270d0
L
291902012-05-04 H.J. Lu <hongjiu.lu@intel.com>
29191
29192 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
29193 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
29194 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
29195 Moved to ...
29196 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
29197 Here.
29198 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
29199 to ...
29200 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
29201 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
29202 to ...
29203 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
29204 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
29205 to ...
29206 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
29207 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
29208 to ...
29209 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
29210 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
29211 to ...
29212 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
29213 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
29214 to ...
29215 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
29216 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
29217 to ...
29218 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
29219 Here.
29220 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
29221 to ...
29222 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
29223 Here.
29224 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
29225 to ...
29226 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
29227 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
29228 Moved to ...
29229 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
29230 Here.
29231 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
29232 to ...
29233 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
29234
d128e450
JM
292352012-05-04 Joseph Myers <joseph@codesourcery.com>
29236
fa8ee516
JM
29237 * sysdeps/unix/common/bits/dirent.h: Remove file.
29238 * sysdeps/unix/common/bits/fcntl.h: Likewise.
29239
d128e450
JM
29240 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
29241 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
29242 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
29243 * sysdeps/unix/bsd/isatty.c: Likewise.
29244 * sysdeps/unix/bsd/tcdrain.c: Likewise.
29245 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
29246 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
29247
ff8faaf0 292482012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 29249
62881be4 29250 [BZ #13563]
31dc8730
AZ
29251 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
29252 long double comparison inaccuracies.
29253 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
29254 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29255
6fef930c
AS
292562012-05-04 Andreas Schwab <schwab@linux-m68k.org>
29257
29258 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
29259 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
29260
8f203e6c
JM
292612012-05-04 Joseph Myers <joseph@codesourcery.com>
29262
29263 [BZ #14049]
29264 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
29265 nonzero digits before rounding a hex value.
29266 * stdlib/tst-strtod.c (tests): Add another test.
29267
5197d9c2
AK
292682012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29269
29270 * sysdeps/s390/fpu/libm-test-ulps: Update.
29271
f0c1dedf
AJ
292722012-05-03 Andreas Jaeger <aj@suse.de>
29273
29274 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
29275 does not get optimized out.
29276 (malloc_opt_barrier): New.
29277
a65ef2ae 292782012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 29279 Roland McGrath <roland@hack.frob.com>
a65ef2ae 29280
2b942cb7 29281 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 29282 intermediate file deletion.
2b942cb7 29283 (generated): Add .symlist files.
a65ef2ae 29284
54b71e02
JM
292852012-05-03 Joseph Myers <joseph@codesourcery.com>
29286
29287 [BZ #13775]
29288 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
29289 Redirect under this condition.
29290 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
29291 [__USE_GNU] (__dprintf_chk): Not under this condition.
29292 [__USE_GNU] (__vdprintf_chk): Likewise.
29293 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
29294 under this condition.
29295 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
29296 [__USE_XOPEN2K8] (dprintf): Define under this condition.
29297 [__USE_XOPEN2K8] (vdprintf): Likewise.
29298 [__USE_GNU] (__dprintf_chk): Not under this condition.
29299 [__USE_GNU] (__vdprintf_chk): Likewise.
29300 [__USE_GNU] (dprintf): Likewise.
29301 [__USE_GNU] (vdprintf): Likewise.
29302
d3dfcc41
RM
293032012-05-03 Roland McGrath <roland@hack.frob.com>
29304
29305 * elf/Makefile (common-generated): Set this instead of generated for
29306 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
29307 $(all-built-dso)-derived lists.
29308
7ac30cc5
AJ
293092012-05-03 Andreas Jaeger <aj@suse.de>
29310
0c51e550
AJ
29311 * sysdeps/i386/fpu/libm-test-ulps: Update.
29312
7ac30cc5
AJ
29313 * FAQ: Removed.
29314 * FAQ.in: Likewise.
29315 * scripts/gen-FAQ.pl: Likewise.
29316 * manual/install.texi (Installation): Point to online location of
29317 FAQ.
29318 * Makefile (files-for-dist): Remove FAQ.
29319 (FAQ): Remove.
29320
d4c2917f
AM
293212012-05-02 Allan McRae <allan@archlinux.org>
29322
29323 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
29324 (LDFLAGS-reldepmod5.so): Likewise.
29325 (LDFLAGS-reldep6mod1.so): Likewise.
29326 (LDFLAGS-reldep6mod4.so): Likewise.
29327 (LDFLAGS-reldep8mod3.so): Likewise.
29328 (LDFLAGS-unload4mod1.so): Likewise.
29329 (LDFLAGS-unload4mod2.so): Likewise.
29330 (LDFLAGS-tst-initorder): Likewise.
29331 (LDFLAGS-tst-initordera2.so): Likewise.
29332 (LDFLAGS-tst-initordera3.so): Likewise.
29333 (LDFLAGS-tst-initordera4.so): Likewise.
29334 (LDFLAGS-tst-initorderb2.so): Likewise.
29335 (LDFLAGS-noload): Likewise.
29336 (LDFLAGS-next): Likewise.
29337 (LDFLAGS-order2mod1.so): Likewise.
29338 (LDFLAGS-order2mod2.so): Likewise.
29339 (LDFLAGS-tst-initorder2): Likewise.
29340 (LDFLAGS-tst-initorder2a.so): Likewise.
29341 (LDFLAGS-tst-initorder2b.so): Likewise.
29342 (LDFLAGS-tst-initorder2c.so): Likewise.
29343 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
29344
d77f993f
DM
293452012-05-02 David S. Miller <davem@davemloft.net>
29346
29347 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29348
171a70b4
PP
293492012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
29350
29351 [BZ #14055]
29352 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
29353
0be196ad
AJ
293542012-05-02 Andreas Jaeger <aj@suse.de>
29355
29356 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
29357 since we manipulate rounding mode.
29358 (CPPFLAGS-test-idouble.c): Likewise.
29359 (CPPFLAGS-test-ifloat.c): Likewise.
29360 (CFLAGS-test-ldouble.c): Likewise.
29361 (CFLAGS-test-double.c): Likewise.
29362 (CFLAGS-test-float.c): Likewise.
29363 (CFLAGS-test-misc.c): Likewise.
29364 (CFLAGS-test-test-fenv.c): Likewise.
29365
4f9d04aa
AZ
293662012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29367
2b942cb7
RM
29368 [BZ #2550]
29369 [BZ #2570]
29370 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
29371 comparisons to determine direction to adjust input.
4f9d04aa 29372
82a79e7d
RM
293732012-05-01 Roland McGrath <roland@hack.frob.com>
29374
f5a01ca9
RM
29375 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
29376 output to the target.
29377
90fe4186
RM
29378 * scripts/localplt.awk: New file.
29379 * elf/Makefile ($(objpfx)check-localplt): Target removed.
29380 (check-localplt-CFLAGS): Variable removed.
29381 ($(all-built-dso:=.jmprel)): New static pattern rule.
29382 (generated): Add those targets.
29383 (localplt-built-dso): New variable.
29384 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
29385
29386 * elf/check-localplt.c: File removed.
29387
82397ed6
RM
29388 * scripts/check-execstack.awk: New file.
29389 * elf/Makefile ($(objpfx)check-execstack): Target removed.
29390 (check-execstack-CFLAGS): Variable removed.
29391 ($(objpfx)check-execstack.h): Target removed.
29392 ($(objpfx)execstack-default): New target.
29393 (generated): Add that instead of check-execstack.h.
29394 ($(all-built-dso:=.phdr)): New static pattern rule.
29395 (generated): Add those targets.
29396 * elf/check-execstack.c: File removed.
29397
82a79e7d
RM
29398 * scripts/check-textrel.awk: New file.
29399 * elf/Makefile ($(objpfx)check-textrel): Target removed.
29400 (check-textrel-CFLAGS): Variable removed.
29401 (all-built-dso): Use := to define.o
29402 ($(all-built-dso:=.dyn)): New static pattern rule.
29403 (generated): Add those targets.
29404 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
29405 * config.make.in (READELF): New substituted variable.
29406 * elf/check-textrel.c: File removed.
29407
62fde54f 294082012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 29409
615605c9
JM
29410 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
29411 allow.
29412 * conform/data/ctype.h-data [C99-based standards] (isblank):
29413 Expect function.
29414 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
29415 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
29416 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29417 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
29418 Specify type. Require positive value.
29419 (EILSEQ): Likewise.
29420 (ERANGE): Likewise.
29421 [ISO || POSIX] (EILSEQ): Do not expect.
29422 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
29423 Specify type. Require positive value.
29424 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
29425 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
29426 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
29427 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
29428 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
29429 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
29430 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
29431 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
29432 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
29433 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
29434 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
29435 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
29436 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
29437 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
29438 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
29439 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
29440 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
29441 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
29442 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
29443 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
29444 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
29445 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
29446 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
29447 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
29448 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
29449 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
29450 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
29451 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
29452 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
29453 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
29454 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
29455 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
29456 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
29457 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
29458 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
29459 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
29460 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
29461 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
29462 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
29463 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
29464 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
29465 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
29466 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
29467 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
29468 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
29469 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
29470 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
29471 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
29472 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
29473 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
29474 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
29475 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
29476 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
29477 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
29478 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
29479 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
29480 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
29481 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
29482 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
29483 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
29484 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
29485 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
29486 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
29487 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
29488 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
29489 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
29490 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
29491 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
29492 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
29493 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
29494 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
29495 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
29496 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
29497 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
29498 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
29499 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
29500 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
29501 Require >= 2.
29502 (FLT_ROUNDS): Expect as macro, not constant.
29503 (FLT_MANT_DIG): Use macro-int-constant.
29504 (DBL_MANT_DIG): Likewise.
29505 (LDBL_MANT_DIG): Likewise.
29506 (FLT_DIG): Likewise.
29507 (DBL_DIG): Likewise.
29508 (LDBL_DIG): Likewise.
29509 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
29510 (DBL_MIN_EXP): Likewise.
29511 (LDBL_MIN_EXP): Likewise.
29512 (FLT_MAX_EXP): Use macro-int-constant.
29513 (DBL_MAX_EXP): Likewise.
29514 (LDBL_MAX_EXP): Likewise.
29515 (FLT_MAX_10_EXP): Likewise.
29516 (DBL_MAX_10_EXP): Likewise.
29517 (LDBL_MAX_10_EXP): Likewise.
29518 (FLT_MAX): Use macro-constant.
29519 (DBL_MAX): Likewise.
29520 (LDBL_MAX): Likewise.
29521 (FLT_EPSILON): Use macro-constant. Give upper bound.
29522 (DBL_EPSILON): Likewise.
29523 (LDBL_EPSILON): Likewise.
29524 (FLT_MIN): Likewise.
29525 (DBL_MIN): Likewise.
29526 (LDBL_MIN): Likewise.
29527 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
29528 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
29529 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
29530 [ISO11] (FLT_HAS_SUBNORM): Likewise.
29531 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
29532 [ISO11] (DBL_DECIMAL_DIG): Likewise.
29533 [ISO11] (FLT_DECIMAL_DIG): Likewise.
29534 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
29535 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
29536 [ISO11] (FLT_TRUE_MIN): Likewise.
29537 [ISO11] (LDBL_TRUE_MIN): Likewise.
29538 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29539 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
29540 (SCHAR_MIN): Use macro-int-constant. Specify type.
29541 (SCHAR_MAX): Likewise.
29542 (UCHAR_MAX): Likewise.
29543 (CHAR_MIN): Likewise.
29544 (CHAR_MAX): Likewise.
29545 (MB_LEN_MAX): Use macro-int-constant.
29546 (SHRT_MIN): Use macro-int-constant. Specify type.
29547 (SHRT_MAX): Likewise.
29548 (USHRT_MAX): Likewise.
29549 (INT_MAX): Likewise.
29550 (INT_MIN): Use macro-int-constant. Specify type. Make upper
29551 bound negative.
29552 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
29553 bound with "U".
29554 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
29555 bound with "L".
29556 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
29557 bound negative. Suffix upper bound with "L".
29558 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
29559 bound with "UL".
29560 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
29561 Specify type.
29562 [C99-based standards] (LLONG_MAX): Likewise.
29563 [C99-based standards] (ULLONG_MAX): Likewise.
29564 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
29565 == 0.
29566 [ISO11] (max_align_t): Require type.
29567 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29568
c9140a62
JM
29569 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
29570 from $CFLAGS, without defining away __attribute__ calls.
29571 (checknamespace): Use $CFLAGS_namespace.
29572
9af0bf29
JM
29573 * conform/conformtest.pl (@keywords): Only include C99 keywords
29574 for standards based on C99 or C11.
29575
343222a2
JM
29576 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
29577 Disable tests.
29578 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
29579 UNIX98]: Likewise.
29580
661f8cf0
JM
29581 * conform/conformtest.pl: Handle "macro-int-constant" and test for
29582 usability of symbols in #if.
29583
ee74b9cb
JM
29584 * conform/conformtest.pl: If macro or constant types start
29585 "promoted:", expect the symbol to be of the following type
29586 promoted by the integer promotions.
62fde54f 29587
aafc49b3
JM
29588 * conform/conformtest.pl: Parse all "constant" and "macro" lines
29589 in one place. Also handle "macro-constant".
29590
fefdf574
JM
29591 * conform/conformtest.pl: Only accept expected macro values with
29592 "==". Parse all "macro" lines in one place.
29593 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
29594
f2d922fe
JM
29595 * conform/conformtest.pl: Handle braced types on "constant" lines
29596 instead of handling "typed-constant".
29597 * conform/data/signal.h-data: Use "constant" instead of
29598 "typed-constant".
29599
d22956c9
JM
29600 * conform/conformtest.pl: Handle "optional-" at start of lines in
29601 one place rather than duplicating several cases. Handle each
29602 format of "macro" line with initial "optional-".
29603
028e2e38
JM
29604 * conform/conformtest.pl: Only accept expected constant or
29605 optional-constant values with "==". Parse all "constant" lines in
29606 one place. Parse all "optional-constant" lines in one place.
29607 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
29608 * conform/data/fmtmsg.h-data: Likewise.
29609 * conform/data/netinet/in.h-data: Likewise.
29610 * conform/data/tar.h-data: Likewise.
29611 * conform/data/limits.h-data: Use "==" form on "constant" and
29612 "optional-constant" lines.
29613
1b8f2850
JM
29614 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
29615 Use -std=c99 for XOPEN2K.
29616 (@knownproblems): Remove.
29617 (newtoken): Don't check %isknown.
29618
a05a144b
JM
29619 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
29620 Do not expect macro.
29621 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
29622 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
29623 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
29624 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
29625 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
29626 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
29627 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
29628 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
29629 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
29630 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
29631 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
29632 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
29633 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
29634 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
29635 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
29636 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
29637 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
29638 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
29639 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
29640 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
29641 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
29642 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
29643 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
29644 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
29645 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
29646 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
29647 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
29648 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
29649 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
29650 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
29651 [XPG3] (acosh): Likewise.
29652 [XPG3] (asinh): Likewise.
29653 [XPG3] (atanh): Likewise.
29654 [XPG3] (cbrt): Likewise.
29655 [XPG3] (expm1): Likewise.
29656 [XPG3] (ilogb): Likewise.
29657 [XPG3] (log1p): Likewise.
29658 [XPG3] (logb): Likewise.
29659 [XPG3] (nextafter): Likewise.
29660 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
29661 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
29662 [XPG3] (remainder): Likewise.
29663 [XPG3] (rint): Likewise.
29664 [XPG3 || XPG4 || UNIX98] (round): Likewise.
29665 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
29666 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
29667 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
29668 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
29669 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
29670 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
29671 [UNIX98 || XOPEN2K] (scalb): Expect.
29672 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
29673 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
29674 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
29675 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
29676 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
29677 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
29678 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
29679 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
29680 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
29681 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
29682 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
29683 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
29684 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
29685 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
29686 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
29687 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
29688 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
29689 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
29690 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
29691 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
29692 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
29693 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
29694 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
29695 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
29696 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
29697 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
29698 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
29699 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
29700 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
29701 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
29702 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
29703 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
29704 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
29705 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
29706 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
29707 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
29708 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
29709 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
29710 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
29711 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
29712 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
29713 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
29714 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
29715 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
29716 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
29717 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
29718 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
29719 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
29720 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
29721 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
29722 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
29723 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
29724 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
29725 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
29726 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
29727 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
29728 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
29729 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
29730 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
29731 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
29732 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
29733 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
29734 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
29735 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
29736 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
29737 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
29738 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
29739 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
29740 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
29741 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
29742 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
29743 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
29744 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
29745 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
29746 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
29747 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
29748 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
29749 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
29750 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
29751 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
29752 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
29753 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
29754 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
29755 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
29756 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
29757 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
29758 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
29759 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
29760 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
29761 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
29762 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
29763 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
29764 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
29765 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
29766 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
29767 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
29768 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
29769 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
29770 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
29771 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
29772 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
29773 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
29774 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
29775 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
29776 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
29777 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
29778 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
29779 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
29780 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
29781 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
29782 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
29783 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
29784 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
29785 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
29786 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
29787 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
29788 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
29789 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
29790 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
29791 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
29792 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
29793 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
29794 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
29795 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
29796 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
29797 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
29798 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
29799 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
29800 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
29801 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
29802 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
29803 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
29804 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
29805 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
29806 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
29807 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
29808 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
29809
73c5ebe3
JM
29810 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
29811 _XOPEN_SOURCE_EXTENDED for XPG4.
29812
39c33b6c
JM
29813 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
29814
62fde54f
JM
29815 * Makeconfig (localtime): Remove variable.
29816 (inst_localtime-file): Likewise.
29817
0741d64c
AS
298182012-05-01 Andreas Schwab <schwab@linux-m68k.org>
29819
29820 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
29821 Update.
29822 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29823 Update.
29824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
29825 Update.
29826 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
29827 Update.
29828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
29829 Update.
29830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
29831 Update.
29832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29833 Update.
29834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
29835 Update.
29836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
29837 Update.
29838
7cb029ee
JM
298392012-05-01 Joseph Myers <joseph@codesourcery.com>
29840
29841 [BZ #2550]
29842 [BZ #2570]
29843 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
29844 comparisons to determine direction to adjust input.
29845 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
29846 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
29847 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
29848 Likewise.
29849 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
29850 Likewise.
29851 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
29852 Likewise.
29853 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
29854 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
29855 Likewise.
29856 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
29857 Likewise.
29858 * math/libm-test.inc (nexttoward_test): Add more tests.
29859
412bd966
AS
298602012-05-01 Andreas Schwab <schwab@linux-m68k.org>
29861
29862 [BZ #14040]
29863 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
29864 in version GLIBC_2.1, not GLIBC_2.0.
29865 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
29866 Likewise.
29867
9568c0c2
JM
298682012-04-30 Joseph Myers <joseph@codesourcery.com>
29869
adfbc8ac
JM
29870 [BZ #13942]
29871 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
29872 (1 - x) * (1 + x).
29873 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
29874 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
29875 * math/libm-test.inc (acos_test): Add more tests.
29876 (asin_test): Likewise.
29877 * sysdeps/i386/fpu/libm-test-ulps: Update.
29878 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29879
5ba3cc69
JM
29880 [BZ #14034]
29881 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
29882 of square root.
29883 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
29884 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
29885 * math/libm-test.inc (acos_test_tonearest): New function.
29886 (acos_test_towardzero): Likewise.
29887 (acos_test_downward): Likewise.
29888 (acos_test_upward): Likewise.
29889 (asin_test_tonearest): Likewise.
29890 (asin_test_towardzero): Likewise.
29891 (asin_test_downward): Likewise.
29892 (asin_test_upward): Likewise.
29893 (main): Call the new functions.
29894 * sysdeps/i386/fpu/libm-test-ulps: Update.
29895 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29896
9568c0c2
JM
29897 [BZ #13884]
29898 [BZ #13924]
29899 * math/e_exp10.c: Include <float.h>.
29900 (__ieee754_exp10): Handle underflow here rather than multiplying
29901 large negative argument by M_LN10.
29902 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
29903 of __ieee754_expf.
29904 * math/e_exp10l.c: Include <float.h>.
29905 (__ieee754_exp10l): Handle underflow here rather than multiplying
29906 large negative argument by M_LN10l.
29907 * math/libm-test.inc (exp10_test): Add another test. Do not allow
29908 spurious overflow exception on underflow.
29909
5ac3ea17
MP
299102012-04-29 Marek Polacek <polacek@redhat.com>
29911
29912 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
29913 (__fortify_function): New macro.
29914 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
29915 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
29916 __extern_always_inline.
29917 * libio/bits/stdio2.h: Likewise.
29918 * libio/bits/stdio.h: Likewise.
29919 * string/string.h: Likewise.
29920 * string/bits/string3.h: Likewise.
29921 * include/stdio.h: Likewise.
29922 * stdlib/bits/stdlib.h: Likewise.
29923 * stdlib/stdlib.h: Likewise.
29924 * rt/bits/mqueue2.h: Likewise.
29925 * rt/mqueue.h: Likewise.
29926 * posix/bits/unistd.h: Likewise.
29927 * posix/unistd.h: Likewise.
29928 * io/bits/poll2.h: Likewise.
29929 * io/bits/fcntl2.h: Likewise.
29930 * io/fcntl.h: Likewise.
29931 * io/sys/poll.h: Likewise.
29932 * misc/bits/syslog.h: Likewise.
29933 * misc/bits/syslog-ldbl.h: Likewise.
29934 * misc/sys/syslog.h: Likewise.
29935 * socket/bits/socket2.h: Likewise.
29936 * socket/sys/socket.h: Likewise.
29937 * debug/tst-chk1.c: Likewise.
29938 * wcsmbs/bits/wchar2.h: Likewise.
29939 * wcsmbs/bits/wchar-ldbl.h: Likewise.
29940 * wcsmbs/wchar.h: Likewise.
29941
ecf0ebfb
AJ
299422012-04-29 Andreas Jaeger <aj@suse.de>
29943
29944 * Makerules (tests): Remove enable-check-abi protection.
29945 (check-abi-warn): Remove.
29946 (check-abi-%): Remove check-abi-warn usage.
29947
29948 * configure.in: Remove check-abi configure option.
29949 * configure: Regenerated.
29950 * config.make.in (enable-check-abi): Remove.
29951
6d5c57fa
AS
299522012-04-28 Andreas Schwab <schwab@linux-m68k.org>
29953
24c5d07e 29954 [BZ #14033]
ded5180a
AS
29955 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
29956 double functions to double *_finite functions.
29957
7e0d315d
AS
29958 [BZ #13941]
29959 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
29960 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
29961 LDBL_MIN_EXP.
29962 * stdio-common/Makefile (tests): Add tst-sprintf3.
29963 * stdio-common/tst-sprintf3.c: New file.
29964
6d5c57fa
AS
29965 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
29966 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
29967
0749ff8b
JM
299682012-04-28 Joseph Myers <joseph@codesourcery.com>
29969
29970 * conform/conformtest.pl: Remove duplicate typed-constant
29971 handling.
29972
8dbd5d7b
DM
299732012-04-28 David S. Miller <davem@davemloft.net>
29974
29975 * Makerules (%.abilist): Add vpath on sysdep_dirs.
29976 (check-abi-%): Remove AWK script prerequisite and explicit
29977 abilist directory.
29978 (check-abi): Rewrite to just diff the symlist with the abilist.
29979 (config-tls, config-abi-config): Delete, no longer used.
29980 (update-abi-%): Remove AWK script and explicit abilist directory.
29981 (update-abi): Rewrite to simply compare and conditionally copy the
29982 symlist and the sysdep abilist file. Remove update-abi-config
29983 checks.
29984 * abilist/ld.abilist: Remove.
29985 * abilist/libBrokenLocale.abilist: Remove.
29986 * abilist/libanl.abilist: Remove.
29987 * abilist/libcrypt.abilist: Remove.
29988 * abilist/libdl.abilist: Remove.
29989 * abilist/librt.abilist: Remove.
29990 * abilist/libthread_db.abilist: Remove.
29991 * abilist/libutil.abilist: Remove.
29992 * scripts/extract-abilist.awk: Remove.
29993 * scripts/merge-abilist.awk: Remove.
29994 * sysdeps/generic/libcidn.abilist: New file.
29995 * sysdeps/generic/libnss_compat.abilist: New file.
29996 * sysdeps/generic/libnss_db.abilist: New file.
29997 * sysdeps/generic/libnss_dns.abilist: New file.
29998 * sysdeps/generic/libnss_files.abilist: New file.
29999 * sysdeps/generic/libnss_hesiod.abilist: New file.
30000 * sysdeps/generic/libnss_nis.abilist: New file.
30001 * sysdeps/generic/libnss_nisplus.abilist: New file.
30002 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
30003 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
30004 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
30005 file.
30006 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
30007 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
30008 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
30009 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
30010 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
30011 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
30012 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
30013 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
30014 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
30015 file.
30016 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
30017 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
30018 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
30019 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
30020 file.
30021 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
30022 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
30023 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
30024 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
30025 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
30026 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
30027 file.
30028 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
30029 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
30030 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
30031 file.
30032 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
30033 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
30034 New file.
30035 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
30036 New file.
30037 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
30038 New file.
30039 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
30040 New file.
30041 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
30042 New file.
30043 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
30044 New file.
30045 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
30046 New file.
30047 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
30048 New file.
30049 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
30050 New file.
30051 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
30052 New file.
30053 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
30054 New file.
30055 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
30056 New file.
30057 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
30058 New file.
30059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
30060 file.
30061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
30062 New file.
30063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
30064 New file.
30065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
30066 file.
30067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
30068 New file.
30069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
30070 New file.
30071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
30072 file.
30073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
30074 New file.
30075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
30076 New file.
30077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
30078 New file.
30079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
30080 New file.
30081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
30082 New file.
30083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
30084 New file.
30085 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
30086 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
30087 file.
30088 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
30089 New file.
30090 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
30091 file.
30092 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
30093 file.
30094 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
30095 file.
30096 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
30097 file.
30098 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
30099 file.
30100 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
30101 New file.
30102 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
30103 file.
30104 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
30105 file.
30106 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
30107 New file.
30108 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
30109 file.
30110 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
30111 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
30112 file.
30113 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
30114 New file.
30115 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
30116 file.
30117 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
30118 file.
30119 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
30120 file.
30121 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
30122 file.
30123 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
30124 file.
30125 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
30126 New file.
30127 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
30128 file.
30129 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
30130 file.
30131 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
30132 New file.
30133 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
30134 file.
30135 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
30136 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
30137 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
30138 file.
30139 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
30140 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
30141 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
30142 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
30143 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
30144 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
30145 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
30146 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
30147 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
30148 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
30149 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
30150 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
30151 file.
30152 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
30153 New file.
30154 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
30155 file.
30156 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
30157 file.
30158 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
30159 file.
30160 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
30161 file.
30162 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
30163 file.
30164 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
30165 New file.
30166 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
30167 New file.
30168 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
30169 file.
30170 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
30171 New file.
30172 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
30173 file.
30174 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
30175 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
30176 file.
30177 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
30178 New file.
30179 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
30180 file.
30181 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
30182 file.
30183 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
30184 file.
30185 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
30186 file.
30187 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
30188 file.
30189 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
30190 New file.
30191 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
30192 New file.
30193 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
30194 file.
30195 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
30196 New file.
30197 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
30198 file.
30199
41d73a1b
JM
302002012-04-28 Joseph Myers <joseph@codesourcery.com>
30201
30202 * conform/conformtest.pl: Fix typo in handling typed-constant from
30203 allow-header.
30204
28aeeda4
JM
302052012-04-27 Joseph Myers <joseph@codesourcery.com>
30206
adae8f5e
JM
30207 * README: Cut down references to pre-2.6 Linux kernels and
30208 Linuxthreads. Update lists of configurations in libc and ports
30209 and sort alphabetically. Say "or newer" with Linux kernel version
30210 requirements.
30211
28aeeda4
JM
30212 * config.h.in [IS_IN_build]: Allow compiling without optimization.
30213
a462cb63
RA
302142012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
30215
30216 [BZ #887]
30217 * math/libm-test.inc (logb_test_downward): New test to expose
30218 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
30219 rounding mode.
30220
6ad3493e
JM
302212012-04-27 Joseph Myers <joseph@codesourcery.com>
30222
30223 [BZ #14027]
30224 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
30225 to be done.
30226 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
30227 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
30228
2ce4f015
JM
302292012-04-26 Joseph Myers <joseph@codesourcery.com>
30230
5aeb141a
JM
30231 * sysdeps/unix/i386/brk.S: Remove file.
30232 * sysdeps/unix/i386/dl-brk.S: Likewise.
30233 * sysdeps/unix/i386/pipe.S: Likewise.
30234 * sysdeps/unix/i386/sigreturn.S: Likewise.
30235 * sysdeps/unix/i386/syscall.S: Likewise.
30236 * sysdeps/unix/i386/vfork.S: Likewise.
30237 * sysdeps/unix/i386/wait.S: Likewise.
30238
7143acae
JM
30239 * sysdeps/unix/common/tcsendbrk.c: Move to ...
30240 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
30241
2ce4f015
JM
30242 * configure.in (arm*-none*): Do not allow without
30243 --enable-hacker-mode.
30244 (netbsd*): Remove case setting base_os.
30245 (386bsd*): Likewise.
30246 (freebsd*): Likewise.
30247 (bsdi*): Likewise.
30248 (osf*): Likewise.
30249 (sunos*): Likewise.
30250 (ultrix*): Likewise.
30251 (newsos*): Likewise.
30252 (dynix*): Likewise.
30253 (*bsd*): Likewise.
30254 (sysv*): Likewise.
30255 (isc*): Likewise.
30256 (esix*): Likewise.
30257 (sco*): Likewise.
30258 (minix*): Likewise.
30259 (irix4*): Likewise.
30260 (irix6*): Likewise.
30261 (solaris[2-9]*): Likewise.
30262 (none): Likewise.
30263 * configure: Regenerated.
30264
0ac229c8
AZ
302652012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30266
30267 [BZ #11521]
30268 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
30269 overflow or cancellation in calculating denominator.
30270 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
30271 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
30272 down expression to avoid unexpected rounding in newer GCCs.
30273 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
30274
33f244f4
DM
302752012-04-26 David S. Miller <davem@davemloft.net>
30276
30277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
30278 long-double compat symbols.
30279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
30280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
30281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
30282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
30283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
30284 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
30285 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
30286 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
30287 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
30288 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
30289 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
30290 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
30291 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
30292
cfa1f3e8
DM
302932012-04-25 David S. Miller <davem@davemloft.net>
30294
30295 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
30296 HWCAP_* values only after the memory barriers have been defined.
30297 (atomic_full_barrier): Define.
30298 (atomic_read_barrier): Define.
30299 (atomic_write_barrier): Define.
30300
6e236b92
SP
303012012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
30302
30303 * shlib-versions: Add libgcc_s version information.
30304 * sysdeps/generic/libgcc_s.h: Remove.
30305 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
30306 libgcc_s.h.
30307 * sysdeps/gnu/unwind-resume.c: Likewise.
30308 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
30309
aab39a09
DM
303102012-04-25 David S. Miller <davem@davemloft.net>
30311
30312 * sysdeps/unix/sparc/brk.S: Delete.
30313 * sysdeps/unix/sparc/dl-brk.S: Delete.
30314 * sysdeps/unix/sparc/pipe.S: Delete.
30315 * sysdeps/unix/sparc/sysdep.S: Delete.
30316 * sysdeps/unix/sparc/sysdep.h: Delete.
30317 * sysdeps/unix/sparc/vfork.S: Delete.
30318 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
30319 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
30320 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
30321 ret_ERRVAL, r0, r1, MOVE): Define.
30322 (JUMPTARGET): Remove.
30323 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
30324 sysdeps/unix/sparc/sysdep.h
30325 (ENTRY, END): Remove.
30326 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30327
a3cc4f48
JM
303282012-04-25 Joseph Myers <joseph@codesourcery.com>
30329
2ed8cda2
JM
30330 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
30331 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
30332 -DIS_IN_build.
30333
35d76d59
JM
30334 * timezone/README: Update upstream location and email address for
30335 tzcode and tzdata.
30336 * timezone/zdump.c: Update from tzcode 2012b.
30337 * timezone/zic.c: Likewise.
30338
a3cc4f48
JM
30339 * configure.in (libc_cv_as_needed): Remove test.
30340 * configure: Regenerated.
30341 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
30342 conditional definition.
30343 [$(have-as-needed) != yes] (no-as-needed): Likewise.
30344 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
30345 * config.make.in (have-as-needed): Remove variable.
30346
ceab42c3
SP
303472012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
30348 Paul Pluzhnikov <ppluzhnikov@google.com>
30349
30350 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
30351 strings correctly.
30352
3ce2865f
CLT
303532012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
30354
30355 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
30356 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
30357 * sysdeps/sh/strlen.S: Likewise.
30358
f37e0d68
JM
303592012-04-24 Joseph Myers <joseph@codesourcery.com>
30360
ae186e9a
JM
30361 * sysdeps/unix/fork.S: Remove file.
30362 * sysdeps/unix/i386/fork.S: Likewise.
30363 * sysdeps/unix/sparc/fork.S: Likewise.
30364
b96914af
JM
30365 * sysdeps/unix/system.c: Remove file.
30366 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
30367
f37e0d68
JM
30368 * sysdeps/unix/getegid.S: Remove file.
30369 * sysdeps/unix/geteuid.S: Likewise.
30370
87ef29ca
RM
303712012-04-24 Roland McGrath <roland@hack.frob.com>
30372
83bcd236
RM
30373 * scripts/check-localplt.awk: New file.
30374 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
30375 of diff.
30376 * scripts/data/localplt-generic.data: Add a comment.
30377
87ef29ca
RM
30378 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
30379 NODE when __dir_mkfile failed.
30380 * sysdeps/mach/hurd/symlinkat.c: Likewise.
30381 Reported by Ludovic Courtès <ludo@gnu.org>.
30382
e5a6e567
AJ
303832012-04-24 Andreas Jaeger <aj@suse.de>
30384
30385 * Makerules (common-clean): Also remove gen-as-const-headers
30386 files.
30387
c1820385
JM
303882012-04-24 Joseph Myers <joseph@codesourcery.com>
30389
30390 * Makerules (native-compile): Do not change working directory for
30391 build. Use $(OUTPUT_OPTION) in command.
30392 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
30393
94e02fc4
AZ
303942012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30395
30396 [BZ #13886]
30397 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
30398 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
30399 * math/libm-test.inc (floor_test): Add more tests.
30400 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
30401
3a533ca3
JM
304022012-04-24 Joseph Myers <joseph@codesourcery.com>
30403
940ab4b3
JM
30404 * sysdeps/unix/getdents.c: Remove file.
30405 * sysdeps/unix/sysv/getdents.c: Likewise.
30406 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
30407
90e037bd
JM
30408 * sysdeps/unix/syscalls.list (madvise): Add syscall from
30409 sysdeps/unix/mman/syscalls.list.
30410 (mmap): Likewise.
30411 (mprotect): Likewise.
30412 (msync): Likewise.
30413 (munmap): Likewise.
30414 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
30415 * sysdeps/unix/mman/syscalls.list: Remove.
30416 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
30417
3a533ca3
JM
30418 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
30419 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
30420 * configure: Regenerated.
30421 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
30422 $(libgcc_s_suffix).
30423 * config.make.in (libgcc_s_suffix): Remove variable.
30424
1ad743de
JM
304252012-04-23 Joseph Myers <joseph@codesourcery.com>
30426
4ad451e2
JM
30427 * sysdeps/unix/sysv/gethostname.c: Move to ...
30428 * sysdeps/posix/gethostname.c: ... here.
30429
5e37ce39
JM
30430 * sysdeps/unix/execve.S: Remove file.
30431
1ad743de
JM
30432 * sysdeps/unix/_exit.S: Remove file.
30433
4e681b5b
AJ
304342012-04-23 Andreas Jaeger <aj@suse.de>
30435
30436 [BZ #13739]
30437 * manual/Makefile: Remove make dist support, there's no
30438 need for a stand-alone documentation tar ball.
30439 (TEXI2DVI): Define always, it's not in Makeconfig.
30440 (dist): Removed.
30441 (tar-it): Removed.
30442 (edition): Removed.
30443 (glibc-doc-$(edition).tar): Removed
30444 (%.Z): Removed.
30445 (%.gz): Removed.
30446 (%.uu): Removed.
30447 (ETAGS): Remove, it's in Makeconfig.
30448 (move-if-change): Remove, it's in Makeconfig.
30449
38686a03 304502012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
30451
30452 [BZ #13970]
30453 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
30454 (strtod, strtof, strtold, strtol, strtoul, strtoq)
30455 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
30456 (strtod_l, strtof_l, strtold_l): Remove __wur.
30457 It is not necessarily an error to ignore strtol's return value.
30458 One can reliably look at the stored endptr to decide whether
30459 the number had valid syntax.
30460
7c0616fa
AJ
304612012-04-21 Andreas Jaeger <aj@suse.de>
30462
803cb6b7 30463 [BZ #13739]
7c0616fa
AJ
30464 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
30465
b0fe253f
JM
304662012-04-21 Joseph Myers <joseph@codesourcery.com>
30467
30468 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
30469 * sysdeps/unix/sysv/Versions: Remove file.
30470
8280f22d
MT
304712012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
30472
30473 [BZ #13927]
30474 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30475
75ce411f 304762012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
30477
30478 [BZ #7064]
30479 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
30480 version from __vm86.
30481
097d59fa
JM
304822012-04-20 Joseph Myers <joseph@codesourcery.com>
30483
a90f3bcb
JM
30484 * sysdeps/unix/common/lxstat.c: Remove file.
30485 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
30486
edc7ea78
JM
30487 * sysdeps/unix/sysv/Makefile: Remove file.
30488
cb78c221
JM
30489 * sysdeps/unix/sysv/direct.h: Remove file.
30490
efa6a45f
JM
30491 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
30492 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
30493 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
30494 * sysdeps/unix/sysv/bits/signum.h: Likewise.
30495 * sysdeps/unix/sysv/bits/stat.h: Likewise.
30496 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
30497 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
30498
9c9f2d0c
JM
30499 * sysdeps/unix/sysv/setrlimit.c: Remove file.
30500
4541c83b
JM
30501 * sysdeps/unix/xmknod.c: Remove file.
30502 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
30503
f5d153a0
JM
30504 * sysdeps/unix/sysv/settimeofday.c: Remove file.
30505
aa746595
JM
30506 * sysdeps/unix/sysv/i386/time.S: Remove file.
30507
cce5905e
JM
30508 * sysdeps/unix/fxstat.c: Remove file.
30509 * sysdeps/unix/xstat.c: Likewise.
30510 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
30511
37fa3841
JM
30512 * sysdeps/unix/sysv/sigaction.c: Remove file.
30513
ff1962a3
JM
30514 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
30515 (sysdep_headers): Remove variable.
30516 [termio.h not in sysdep_headers] (generated): Likewise.
30517 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
30518 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
30519 * sysdeps/unix/sysv/tcdrain.c: Likewise.
30520 * sysdeps/unix/sysv/tcflow.c: Likewise.
30521 * sysdeps/unix/sysv/tcflush.c: Likewise.
30522 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
30523 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
30524 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
30525 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
30526 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
30527
e7740d31
JM
30528 * sysdeps/unix/siglist.c: Remove file.
30529
ee06f18b
JM
30530 * sysdeps/unix/getppid.S: Remove file.
30531
097d59fa
JM
30532 * sysdeps/unix/mkdir.c: Remove file.
30533 * sysdeps/unix/rmdir.c: Likewise.
30534
ff3d51ec
AS
305352012-04-19 Andreas Schwab <schwab@linux-m68k.org>
30536
30537 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
30538 ERR_MAX value.
30539 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
30540 errlist-compat value.
30541
50f81fd7
DM
305422012-04-18 David S. Miller <davem@davemloft.net>
30543
30544 * sysdeps/generic/memcopy.h (reg_char): Delete.
30545 * debug/strcat_chk.c: Use char, not reg_char.
30546 * debug/strcpy_chk.c: Likewise.
30547 * debug/strncat_chk.c: Likewise.
30548 * debug/strncpy_chk.c: Likewise.
30549 * string/memchr.c: Likewise.
30550 * string/memrchr.c: Likewise.
30551 * string/rawmemchr.c: Likewise.
30552 * string/strcat.c: Likewise.
30553 * string/strchr.c: Likewise.
30554 * string/strchrnul.c: Likewise.
30555 * string/strcmp.c: Likewise.
30556 * string/strcpy.c: Likewise.
30557 * string/strncat.c: Likewise.
30558 * string/strncmp.c: Likewise.
30559 * string/strncpy.c: Likewise.
30560
8ff41c46
WS
305612012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
30562
30563 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
30564 __builtin_memcopy is called when src and dest ranges are known to not
30565 overlap.
30566
6b652f46
WS
305672012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
30568
30569 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
30570 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
30571 fwd_align_merge macro call.
30572 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
30573 bwd_align_merge macro call.
30574 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
30575
b282631e
WS
305762012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
30577
30578 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
30579 bwd_align_merge macros.
30580 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
30581 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
30582 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
30583
95aa737c
DM
305842012-04-18 David S. Miller <davem@davemloft.net>
30585
30586 * sysdeps/sparc/sparc64/memcopy.h: Delete.
30587
7a99a614
AJ
305882012-04-18 Andreas Jaeger <aj@suse.de>
30589
30590 [BZ# 6794]
30591 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
30592 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
30593 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
30594
30595 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
30596 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
30597 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
30598
30599 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
30600 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
30601 Adjust for changed ldbl-128 files.
30602
30603 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
30604 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
30605 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
30606
e5270c23
DM
306072012-04-17 David S. Miller <davem@davemloft.net>
30608
30609 * sysdeps/sparc/sparc32/memcopy.h: Delete.
30610
fb5e92c9
AS
306112012-04-17 Andreas Schwab <schwab@linux-m68k.org>
30612
30613 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
30614 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
30615 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
30616 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
30617 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
30618 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
30619
76da7265
AZ
306202012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30621
30622 [BZ #6794]
30623 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
30624 * math/libm-test.inc: Add ilogb errno and exception tests.
30625 * math/w_ilogb.c: New file: ilogb wrapper.
30626 * math/w_ilogbf.c: New file: ilogbf wrapper.
30627 * math/w_ilogbl.c: New file: ilogbl wrapper.
30628 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
30629 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
30630 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
30631 exception being thrown with 0.0 as argument.
30632 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
30633 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
30634 exception being thrown with 0.0 as argument.
30635 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
30636 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
30637 exception being thrown with 0.0 as argument.
30638 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
30639 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
30640 exception being thrown with 0.0 as argument.
30641 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
30642 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 30643 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
30644 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
30645 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
30646 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
30647 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
30648 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
30649 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
30650
0396e69d
PB
306512012-04-17 Petr Baudis <pasky@ucw.cz>
30652
30653 * include/sys/uio.h: Change __vector to __iovec to avoid clash
30654 with altivec.
30655
750b5926
MP
306562012-04-16 Marek Polacek <polacek@redhat.com>
30657
30658 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
30659
751728a1
MP
306602012-04-16 Marek Polacek <polacek@redhat.com>
30661
30662 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
30663 operands of fdivp instruction.
30664
34a27407
L
306652012-04-13 H.J. Lu <hongjiu.lu@intel.com>
30666
30667 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
30668 * elf/tst-auditmod3b.c: Likewise.
30669 * elf/tst-auditmod4b.c: Likewise.
30670 * elf/tst-auditmod5b.c: Likewise.
30671 * elf/tst-auditmod6b.c: Likewise.
30672 * elf/tst-auditmod6c.c: Likewise.
30673 * elf/tst-auditmod7b.c: Likewise.
30674 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
30675 * sysdeps/x86_64/preconfigure.in: Likewise.
30676 * sysdeps/x86_64/preconfigure: Regenerated.
30677
7e73e17d
L
306782012-04-13 H.J. Lu <hongjiu.lu@intel.com>
30679
30680 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
30681 __ILP32__.
30682
c7a6ab72
AB
306832012-04-13 Antoine Balestrat <merkil33@gmail.com>
30684
30685 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
30686 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
30687
a9e8e0e0
CL
306882012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
30689
30690 [BZ #13973]
30691 * locale/iso-639.def: Fix gl language name. Spotted by
30692 Yaron Shahrabani.
30693
ec98af7d
RM
306942012-04-12 Roland McGrath <roland@hack.frob.com>
30695
30696 [BZ #2074]
30697 * libio/libio.h (__io_write_fn): Update comment.
30698
247c3ede
PB
306992012-04-12 Petr Baudis <pasky@ucw.cz>
30700
30701 [BZ #2074]
30702 * stdio.texi (Hook Functions): The user provided writer function
30703 is not allowed to return -1.
30704
55939d6d
DM
307052012-04-11 David S. Miller <davem@davemloft.net>
30706
30707 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30708
90020f5a
MF
307092012-04-11 Mike Frysinger <vapier@gentoo.org>
30710
30711 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
30712 Add a leading slash to rtkaio.
30713
288f9098
JM
307142012-04-11 Jim Meyering <meyering@redhat.com>
30715
90020f5a
MF
30716 [BZ #11959]
30717 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
30718 It is not necessarily an error to ignore fwrite's return
30719 value. One can reliably use ferror to test for errors after
30720 the fact.
288f9098 30721
4be2b570
L
307222012-04-10 H.J. Lu <hongjiu.lu@intel.com>
30723
30724 * bits/types.h (__snseconds_t): New type.
30725 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
30726
30727 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
30728 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30729 (__SNSECONDS_T_TYPE): Likewise.
30730 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30731 (__SNSECONDS_T_TYPE): Likewise.
30732 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30733 (__SNSECONDS_T_TYPE): Likewise.
30734
288f9098 307352012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
30736
30737 [BZ #2636]
30738 * manual/time.texi (Processor Time): Return type of times is
30739 elapsed real time since an arbitrary point in the past.
30740 (CPU Time): Move CLK_TCK from here...
30741 (Processor Time): ...to here. Correct description.
30742 * manual/conf.texi (Constants for Sysconf): Correct description of
30743 _SC_CLK_TCK.
30744
d7dd4413
DM
307452012-04-10 David S. Miller <davem@davemloft.net>
30746
30747 [BZ #13967]
30748 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
30749 where the is a gap between DT_REL(A) and DT_JMPREL.
30750
b46068fc
L
307512012-04-10 H.J. Lu <hongjiu.lu@intel.com>
30752
30753 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
30754 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
30755 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
30756
73d65cc3
SP
307572012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
30758
30759 * elf/dl-support.c (_dl_inhibit_cache): New variable.
30760 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
30761 (dl_main): Handle --inhibit-cache.
30762 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
30763 _dl_inhibit_cache.
30764 * elf/dl-load.c (_dl_map_object): Use it.
30765 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
30766
bcc8d661
JM
307672012-04-09 Joseph Myers <joseph@codesourcery.com>
30768
8f9a2fae
JM
30769 [BZ #13872]
30770 * sysdeps/i386/fpu/e_powl.S (p78): New object.
30771 (__ieee754_powl): Saturate large exponents rather than testing for
30772 overflow of y*log2(x).
30773 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30774 * math/libm-test.inc (pow_test): Do not permit spurious overflow
30775 exceptions.
30776
bcc8d661
JM
30777 [BZ #11521]
30778 * math/s_ctan.c: Include <float.h>.
30779 (__ctan): Avoid internal overflow or cancellation in calculating
30780 denominator.
30781 * math/s_ctanf.c: Likewise.
30782 * math/s_ctanl.c: Likewise.
30783 * math/s_ctanh.c: Likewise.
30784 * math/s_ctanhf.c: Likewise.
30785 * math/s_ctanhl.c: Likewise.
30786 * math/libm-test.inc (ctan_test): Add more tests.
30787 (ctanh_test): Likewise.
30788 * sysdeps/i386/fpu/libm-test-ulps: Update.
30789 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30790
823fbbb4
AJ
307912012-04-09 Andreas Jaeger <aj@suse.de>
30792
03879793
AJ
30793 [BZ #6894]
30794 * manual/filesys.texi (Directory Entries): Mention that d_namlen
30795 is an optional BSD extension.
30796
823fbbb4
AJ
30797 [BZ #10254]
30798 * manual/stdio.texi (Opening Streams): Document additional fopen
30799 parameters.
30800
8de131cb
RM
308012012-04-09 Roland McGrath <roland@hack.frob.com>
30802
30803 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
30804 %eax without telling the compiler.
30805
c0ed9d7d
CD
308062012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
30807
30808 [BZ # 13963]
30809 * manual/install.texi: Use sourceware.org.
30810
c483f6b4
JM
308112012-04-09 Joseph Myers <joseph@codesourcery.com>
30812
d7dd9453
JM
30813 [BZ #13873]
30814 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
30815 (__ieee754_pow): Generate overflow and underflow using huge*huge
30816 and tiny*tiny rather than just returning constant infinity or zero
30817 for large exponents.
30818 * math/libm-test.inc (pow_test): Require overflow exceptions for
30819 applicable cases of large exponents.
30820
c483f6b4
JM
30821 [BZ #706]
30822 * sysdeps/i386/fpu/e_pow.S (p10): New object.
30823 (__ieee754_pow): Use iterative multiplication algorithm only for
30824 integer exponents with absolute value below 1024. Check for odd
30825 integer exponents when using algorithm for real exponents.
30826 * math/libm-test.inc (pow_test): Add more tests.
30827 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30828
d2de7579
JM
308292012-04-08 Joseph Myers <joseph@codesourcery.com>
30830
30831 [BZ #13705]
30832 * math/libm-test.inc (exp_test): Do not allow overflow exception
30833 on underflow test.
30834
f77f1232
AJ
308352012-04-08 Aurelien Jarno <aurelien@aurel32.net>
30836
30837 [BZ #13705]
30838 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
30839 instead of __kernel_standard_f.
30840
3884932b
MF
308412012-04-08 Mike Frysinger <vapier@gentoo.org>
30842
30843 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
30844 * sysdeps/x86_64/memset_chk.S: Likewise.
30845
54472e9c
AJ
308462012-04-08 Andreas Jaeger <aj@suse.de>
30847
6ab0fbfc
AJ
30848 [BZ #10153]
30849 * manual/startup.texi (Environment Access): Describe return value
30850 for putenv and setenv.
30851
61efba8c
AJ
30852 [BZ #6895]
30853 * manual/filesys.texi (Directory Entries): Add description for
30854 DT_LNK.
30855
95c3f29a
AJ
30856 [BZ #6890]
30857 * manual/filesys.texi (Directory Entries): Clarify that it's file
30858 system not operating system in the description of DT_UNKNOWN.
30859
54472e9c
AJ
30860 [BZ #6578]
30861 * manual/syslog.texi (closelog): Fix reference, it's openlog.
30862
624254b1
SC
308632012-04-08 Stephen Compall <s11@member.fsf.org>
30864
30865 [BZ #6649]
30866 * manual/llio.texi (Opening and Closing Files): Add cross
30867 reference to explain mode argument.
30868
1e4920e0
MF
308692012-04-07 Mike Frysinger <vapier@gentoo.org>
30870
30871 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
30872 * sysdeps/x86_64/memset_chk.S: Likewise.
30873
5ed848f3
DM
308742012-04-07 David S. Miller <davem@davemloft.net>
30875
30876 * elf/elf.h (R_SPARC_WDISP10): Define.
30877 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
30878 R_SPARC_SIZE32.
30879 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
30880 R_SPARC_SIZE64 and R_SPARC_H34.
30881
96154cd8
CD
308822012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
30883
30884 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
30885 conditions and remove no longer applicable assertion.
30886
9904dc47
L
308872012-04-06 H.J. Lu <hongjiu.lu@intel.com>
30888
30889 * bits/byteswap.h: Include <features.h>.
30890 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
30891 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
30892
f8887d0a
L
308932012-04-06 H.J. Lu <hongjiu.lu@intel.com>
30894
30895 * bits/byteswap.h (__bswap_16): Removed.
30896 Include <bits/byteswap-16.h> to get __bswap_16.
30897 * sysdeps/i386/bits/byteswap.h: Likewise.
30898 * sysdeps/s390/bits/byteswap.h: Likewise.
30899 * sysdeps/x86_64/bits/byteswap.h: Likewise.
30900 * bits/byteswap-16.h: New file.
30901 * sysdeps/i386/bits/byteswap-16.h: Likewise.
30902 * sysdeps/s390/bits/byteswap-16.h: Likewise.
30903 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
30904 * string/Makefile (headers): Add bits/byteswap-16.h.
30905
62470f60
PP
309062012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
30907
30908 [BZ #13895]
30909 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
30910 extra indirection.
30911 * nss/Makefile (tests-static, tests): Add tst-nss-static.
30912 * nss/tst-nss-static.c: New.
30913
4dad7bab
RM
309142012-04-06 Robert Millan <rmh@gnu.org>
30915
30916 [BZ #6486]
30917 * manual/llio.texi (File Position Primitive): lseek
30918 refers to WHENCE when it really means OFFSET.
30919
e9142a17
AJ
309202012-04-06 Andreas Jaeger <aj@suse.de>
30921
2c040eff
AJ
30922 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
30923 strncmp declarations.
30924
e9142a17
AJ
30925 * abilist/libc.abilist: Add __poll and __ppoll.
30926
ff9f1c5f
DM
309272012-04-05 David S. Miller <davem@davemloft.net>
30928
dcd2ae90
DM
30929 * scripts/check-local-headers.sh: Accept a host triplet in the
30930 path matched by the exclude regexp.
30931
993eb054
DM
30932 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
30933 definition.
30934 * sysdeps/powerpc/powerpc32/dl-machine.h
30935 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
30936 * sysdeps/s390/s390-32/dl-machine.h
30937 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
30938 * sysdeps/sparc/sparc32/dl-machine.h
30939 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
30940 * sysdeps/sparc/sparc64/dl-machine.h
30941 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
30942
ff9f1c5f
DM
30943 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
30944 lazy binding.
48e2e132 30945 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
30946 undefined symbol errors.
30947
48e2e132 30948 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
30949 DT_NEEDED entries.
30950
e80d6f94
MM
309512012-04-05 Michael Matz <matz@suse.de>
30952
30953 [BZ #13592]
30954 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
30955
349fa79f
AJ
309562012-04-05 Andreas Jaeger <aj@suse.de>
30957
30958 [BZ #13908]
30959 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
30960 comment.
30961
f402708f
KK
309622012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
30963
30964 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
30965 which ROUND is no valid rounding mode.
30966
2ecccfc9
KK
309672012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
30968
30969 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
30970 read again.
30971 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
30972
8a53f50f
KK
309732012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
30974
30975 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
30976 an exception using FPU order intentionally.
30977
309782012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
30979
30980 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
30981 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
30982 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
30983 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
30984
d653abb7
SJ
309852012-04-05 Simon Josefsson <simon@josefsson.org>
30986
30987 [BZ #12340]
30988 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
30989 EINVAL when BUFLEN is too smal.
30990
c3b1bf7d
TS
309912012-04-05 Thomas Schwinge <thomas@codesourcery.com>
30992
30993 [BZ #13553]
30994 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
30995 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
30996
b1aa60f3
AJ
309972012-04-03 Andreas Jaeger <aj@suse.de>
30998
c3b1bf7d 30999 [BZ #13938]
67f60a26
AJ
31000 * manual/setjmp.texi (System V contexts): Fix sentence.
31001
b1aa60f3
AJ
31002 [BZ #13926]
31003 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
31004 New macro for this case.
31005 [!__GNUC__] (__bswap_64): New inline function for this case.
31006 * sysdeps/x86_64/bits/byteswap.h: Likewise.
31007 * bits/byteswap.h: Likewise.
31008 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
31009 ull, guard with __GLIBC_HAVE_LONG_LONG.
31010
31011 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
31012 __GLIBC_HAVE_LONG_LONG.
31013
31014 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
31015 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
31016
39c59c35
TMQMF
310172012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31018
31019 [BZ #13691]
31020 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
31021 inptr and inend, rather than using last_ch.
31022
135ffda8
DM
310232012-04-02 David S. Miller <davem@davemloft.net>
31024
31025 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
31026 * stdio-common/printf-parse.h (read_int): Change return type to
31027 'int', return -1 on INT_MAX overflow.
31028 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
31029 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
31030 overflows INT_MAX. Check for overflow of in-format-string precision
31031 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
31032 SIZE_MAX not INT_MAX for integer overflow test.
31033 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
31034 skip the construct in the format string but do not record anything.
31035 * stdio-common/bug22.c: Adjust to test both width/prevision
31036 INT_MAX overflow as well as total length INT_MAX overflow. Check
31037 explicitly for proper errno values.
31038
228c019e
TS
310392012-04-02 Thomas Schwinge <thomas@codesourcery.com>
31040
302cadd3
TS
31041 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
31042 CHAR_MAX.
31043 * string/test-strcmp.c [! WIDE]: Likewise.
31044 * time/tst-mktime2.c: Likewise for INT_MAX.
31045 * string/test-string.h: #include <sys/param.h> for MIN.
31046
228c019e
TS
31047 * csu/init-first.c (__libc_init_first): Call __ctype_init.
31048 * sysdeps/i386/init-first.c (init): Likewise.
31049 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
31050 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
31051 * sysdeps/sh/init-first.c (init): Likewise.
31052
cfa633f5
UD
310532012-04-01 Ulrich Drepper <drepper@gmail.com>
31054
31055 * po/ru.po: Update from translation team.
d1635ef8 31056 * po/vi.po: Likewise.
cfa633f5 31057
6cd0a5ea
SP
310582012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
31059
31060 * resolv/nss_dns/dns-host.c: Merge copyright years.
31061
4b43400f
LD
310622012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31063
31064 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
31065 Optimize memcpy with prefetch if
31066 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
31067 src, dst pointers have unequal 16 byte alignments.
31068
48c41d04
SP
310692012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
31070
31071 [BZ #13928]
31072 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
31073 from a CNAME entry and return the minimum ttl for the query.
31074 (gaih_getanswer_slice): Likewise.
31075
b8dc394d
JL
310762012-03-30 Jeff Law <law@redhat.com>
31077
31078 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
31079 due to long keys.
31080 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
31081 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
31082
2f5a5ed0
JL
31083 * resolv/nss_dns/dns-host.c: Update copyright year.
31084
1d39e359
UD
310852012-03-30 Ulrich Drepper <drepper@gmail.com>
31086
c030f70c 31087 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 31088 requests to save a system call. Fix check that all bytes are sent.
c030f70c 31089
1d39e359
UD
31090 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
31091 comments for sendmmsg.
31092
310932012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
31094
31095 [BZ #13691]
31096 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
31097 with only 1 character between 0x0041 and 0x01b0.
31098 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
31099 * wcsmbs/tst-mbsnrtowcs.c: New file.
31100
20fde227
DM
311012012-03-29 David S. Miller <davem@davemloft.net>
31102
31103 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
31104 small copies by hand.
31105
984a4237
JL
311062012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
31107
31108 [BZ #13761]
31109 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
31110 _nss_compat_initgroups_dyn): Fall back to malloc/free
31111 for large group memberships.
31112
18c9d62b
DM
311132012-03-28 David S. Miller <davem@davemloft.net>
31114
88d85d4f
DM
31115 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
31116 that branches into memcpy.
31117 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
31118 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
31119 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
31120 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
31121 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
31122 bits.
31123 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
31124 implementation too.
31125 * sysdeps/sparc/mempcpy.S: New file.
31126
e5aa83e1
DM
31127 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
31128 the IFUNC routine in the libc case.
31129 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
31130
88570753
DM
31131 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
31132 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
31133 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
31134 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
31135 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
31136 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
31137 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
31138 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
31139
249d7567
DM
31140 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
31141 loop to 256 bytes instead of 64 bytes and fix test signedness.
31142
18c9d62b
DM
31143 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
31144 * sysdeps/sparc/sparc32/Makefile: rather than here...
31145 * sysdeps/sparc/sparc64/Makefile: and here.
31146
05f3d1f6
UD
311472012-03-28 Ulrich Drepper <drepper@gmail.com>
31148
31149 * malloc/mallocbug.c: Avoid warnings about unused variables.
31150
86ae07a8
JL
311512012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
31152
31153 [BZ #13760]
31154 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
31155 in the right place. Discard and retry query if response is
31156 larger than input buffer size.
31157
41bf21a1
JM
311582012-03-28 Joseph Myers <joseph@codesourcery.com>
31159
d6270972
JM
31160 [BZ #369]
31161 [BZ #2678]
31162 [BZ #3866]
31163 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
31164 x for large integer exponent.
31165 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
31166 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
31167 sign of result as needed afterwards.
31168 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
31169 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
31170 result for underflowing pow the same as for overflow.
31171 (__kernel_standard_l): Handle powl overflow and underflow here
31172 rather than calling __kernel_standard.
31173 * math/libm-test.inc (pow_test): Add more tests.
31174
414fca03 31175 [BZ #3868]
41bf21a1
JM
31176 [BZ #13879]
31177 [BZ #13910]
31178 [BZ #13911]
31179 [BZ #13912]
31180 [BZ #13913]
31181 [BZ #13915]
31182 [BZ #13916]
31183 [BZ #13917]
31184 [BZ #13918]
31185 [BZ #13919]
31186 [BZ #13920]
31187 [BZ #13921]
31188 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
31189 * sysdeps/ieee754/k_standard.c: Include <float.h>.
31190 (__kernel_standard_l): New function.
31191 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
31192 __kernel_standard.
31193 * math/w_acosl.c (__acosl): Likewise.
31194 * math/w_asinl.c (__asinl): Likewise.
31195 * math/w_atan2l.c (__atan2l): Likewise.
31196 * math/w_atanhl.c (__atanhl): Likewise.
31197 * math/w_coshl.c (__coshl): Likewise.
31198 * math/w_exp10l.c (__exp10l): Likewise.
31199 * math/w_exp2l.c (__exp2l): Likewise.
31200 * math/w_fmodl.c (__fmodl): Likewise.
31201 * math/w_hypotl.c (__hypotl): Likewise.
31202 * math/w_j0l.c (__j0l, __y0l): Likewise.
31203 * math/w_j1l.c (__j1l, __y1l): Likewise.
31204 * math/w_jnl.c (__jnl, __ynl): Likewise.
31205 * math/w_lgammal.c (__lgammal): Likewise.
31206 * math/w_log10l.c (__log10l): Likewise.
31207 * math/w_log2l.c (__log2l): Likewise.
31208 * math/w_logl.c (__logl): Likewise.
31209 * math/w_powl.c (__powl): Likewise.
31210 * math/w_remainderl.c (__remainderl): Likewise.
31211 * math/w_scalbl.c (sysv_scalbl): Likewise.
31212 * math/w_sinhl.c (__sinhl): Likewise.
31213 * math/w_sqrtl.c (__sqrtl): Likewise.
31214 * math/w_tgammal.c (__tgammal): Likewise.
31215 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
31216 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
31217 * math/libm-test.inc (acos_test): Add more tests.
31218 (acosh_test): Likewise.
31219 (asin_test): Likewise.
31220 (atanh_test): Likewise.
31221 (exp_test): Likewise.
31222 (exp10_test): Likewise.
31223 (exp2_test): Likewise.
31224 (expm1_test): Likewise.
31225 (lgamma_test): Likewise.
31226 (log_test): Likewise.
31227 (log10_test): Likewise.
31228 (log1p_test): Likewise.
31229 (log2_test): Likewise.
31230 (pow_test): Do not allow some spurious overflow exceptions.
31231 (sqrt_test): Add more tests.
31232 (tgamma_test): Likewise.
31233 (y0_test): Likewise.
31234 (y1_test): Likewise.
31235 (yn_test): Likewise.
31236
dd62fda6
AB
312372012-03-27 Anton Blanchard <anton@samba.org>
31238
31239 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
31240 MAP_HUGETLB.
31241 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
31242 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
31243 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
31244
1e3cdfda
AJ
312452012-03-27 David S. Miller <davem@davemloft.net>
31246
b855ab85
DM
31247 * conform/Makefile: Run run-conformtest.sh using $(BASH).
31248
1e3cdfda
AJ
31249 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
31250 have-as-vis3 check.
31251
312522012-03-27 Andreas Jaeger <aj@suse.de>
31253
31254 * sysdeps/x86_64/elf/configure.in: Moved to ...
31255 * sysdeps/x86_64/configure.in: ... here.
31256 * sysdeps/x86_64/elf/start.S: Moved to ...
31257 * sysdeps/x86_64/start.S: ... here.
31258 * sysdeps/x86_64/elf/configure: Delete.
31259
31260 * sysdeps/x86_64/configure.in: Merge contents from
31261 sysdeps/i386/configure.in (without i686 check).
31262
31263 * sysdeps/i386/elf/Versions: Merge into ...
31264 * sysdeps/i386/Versions: ... this.
31265 * sysdeps/i386/elf/Versions: Delete file.
31266 * sysdeps/i386/elf/start.S: Moved to ...
31267 * sysdeps/i386/start.S: ...here.
31268 * sysdeps/i386/elf/configure.in: Merge into...
31269 * sysdeps/i386/configure.in: ...here.
31270 * sysdeps/i386/elf/configure.in: Delete file.
31271 * sysdeps/i386/elf/configure: Delete file.
31272
31273 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
31274 * debug/backtracesyms.c: ... here.
31275 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
31276 * debug/backtracesymsfd.c: ... here.
31277 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
31278 * sysdeps/generic/ifunc-sel.h: ... here.
31279
31280 * sysdeps/unix/i386/start.c: Delete file.
31281 * sysdeps/unix/sparc/start.c: Delete file.
31282 * sysdeps/unix/start.c: Delete file.
31283
31284 * sysdeps/sh/elf/configure.in: Moved to ...
31285 * sysdeps/sh/configure.in: ... here.
31286 * sysdeps/sh/elf/start.S: Moved to ...
31287 * sysdeps/sh/start.S: ... here.
31288 * sysdeps/sh/elf/configure: Delete file.
31289
31290 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
31291 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
31292 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
31293 * sysdeps/powerpc/powerpc64/entry.h: ... here.
31294 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
31295 * sysdeps/powerpc/powerpc64/start.S: here.
31296 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
31297 * sysdeps/powerpc/powerpc64/Makefile: ... this.
31298 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
31299 * sysdeps/powerpc/powerpc64/configure.in: ... this.
31300 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
31301
31302 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
31303 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
31304 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
31305 * sysdeps/powerpc/powerpc32/start.S: ... here.
31306 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
31307 * sysdeps/powerpc/powerpc32/configure.in: ... this.
31308 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
31309
31310 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
31311 * sysdeps/powerpc/ifunc-sel.h: ... here.
31312 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
31313 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
31314
31315 * sysdeps/sparc/elf/configure.in: Moved to ...
31316 * sysdeps/sparc/configure.in: ... here.
31317 * sysdeps/sparc/elf/configure: Delete file.
31318 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
31319 * sysdeps/sparc/sparc32/start.S: ... here.
31320 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
31321 * sysdeps/sparc/sparc64/start.S: ... here.
31322 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
31323 * sysdeps/sparc/sparc32/Makefile: ... this.
31324 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
31325 * sysdeps/sparc/sparc64/Makefile: ... this.
31326
31327 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
31328 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
31329 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
31330 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
31331 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
31332 * sysdeps/s390/s390-32/setjmp.S: ... here.
31333 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
31334 * sysdeps/s390/s390-32/configure.in: ... here.
31335 * sysdeps/s390/s390-32/elf/configure: Delete file.
31336 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
31337 * sysdeps/s390/s390-32/start.S: ... here.
31338
31339 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
31340 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
31341 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
31342 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
31343 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
31344 * sysdeps/s390/s390-64/setjmp.S: ... here.
31345 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
31346 * sysdeps/s390/s390-64/configure.in: ... here
31347 * sysdeps/s390/s390-64/elf/configure: Delete file.
31348 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
31349 * sysdeps/s390/s390-64/start.S: ... here.
31350 * sysdeps/s390/s390-64/elf/configure: Delete.
31351
31352 * configure.in: Remove support for elf directories in sysdeps.
31353
31354 * configure: Regenerated.
31355 * sysdeps/i386/configure: Regenerated.
31356 * sysdeps/powerpc/powerpc32/configure: Regenerated.
31357 * sysdeps/powerpc/powerpc64/configure: Regenerated.
31358 * sysdeps/s390/s390-32/configure: Regenerated.
31359 * sysdeps/s390/s390-64/configure: Regenerated.
31360 * sysdeps/sh/configure: Regenerated.
31361 * sysdeps/sparc/configure: Regenerated.
31362 * sysdeps/x86_64/configure: Regenerated.
31363
a3f61311
AS
313642012-03-26 Andreas Schwab <schwab@linux-m68k.org>
31365
c876e002
AS
31366 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31367
a3f61311
AS
31368 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
31369 denormal result into account.
31370
ac4c54f0
RM
313712012-03-25 Roland McGrath <roland@hack.frob.com>
31372
31373 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
31374 Reported by Allan McRae <allan@archlinux.org>.
31375
6a9b9c02
JL
313762012-03-23 Jeff Law <law@redhat.com>
31377
31378 * nss/getnssent.c (__nss_getent): Fix typo.
31379
4c42a0c1
DM
313802012-03-23 David S. Miller <davem@davemloft.net>
31381
31382 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31383
1532c7ac
L
313842012-03-23 H.J. Lu <hongjiu.lu@intel.com>
31385
31386 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
31387 to pad to uint64_t for each field.
31388 (dl_tls_index): Replace unsigned long with uint64_t.
31389
3ff42526
PP
313902012-03-23 Daniel Jacobowitz <dmj@google.com>
31391 Paul Pluzhnikov <ppluzhnikov@google.com>
31392
31393 [BZ #6528]
31394 * grp/Makefile (otherlibs): Don't set it.
31395 * inet/Makefile (otherlibs): Likewise.
31396 * login/Makefile (otherlibs): Likewise.
31397 * nscd/Makefile (otherlibs): Likewise.
31398 * posix/Makefile (otherlibs): Likewise.
31399 * pwd/Makefile (otherlibs): Likewise.
31400 * rt/Makefile (otherlibs): Likewise.
31401 * sunrpc/Makefile (otherlibs): Likewise.
31402 * nss/Makefile (otherlibs): Likewise.
31403 Add libnss_files to routines and static-only-routines.
31404 ($(objpfx)getent): Remove rule.
31405 * resolv/Makefile: Add libnss_dns and libresolv to routines and
31406 static-only-routines.
31407
7c69cd14
JM
314082012-03-22 Joseph Myers <joseph@codesourcery.com>
31409
31410 [BZ #13892]
31411 * math/s_cexp.c: Include <float.h>.
31412 (__cexp): Handle exp result overflowing not necessarily
31413 overflowing both real and imaginary parts of result.
31414 * math/s_cexpf.c: Likewise.
31415 * math/s_cexpl.c: Likewise.
31416 * math/libm-test.inc (cexp_test): Add more tests.
31417 * sysdeps/i386/fpu/libm-test-ulps: Update.
31418 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31419
81b035fe
L
314202012-03-22 H.J. Lu <hongjiu.lu@intel.com>
31421
31422 * include/link.h (ELFW): New macro.
31423 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
31424 Replace ELF64_R_TYPE with ELFW(R_TYPE).
31425
1da7940c
L
314262012-03-22 H.J. Lu <hongjiu.lu@intel.com>
31427
31428 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
31429 with uint64_t.
31430
b749dbb9
L
314312012-03-22 H.J. Lu <hongjiu.lu@intel.com>
31432
31433 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
31434 declaration.
31435 (struct La_x32_retval): Likewise.
31436
2ff87f3f
L
314372012-03-22 H.J. Lu <hongjiu.lu@intel.com>
31438
31439 * sysdeps/x86_64/preconfigure.in: New file.
31440 * sysdeps/x86_64/preconfigure: New generated file.
31441
c0df8e69
JM
314422012-03-22 Joseph Myers <joseph@codesourcery.com>
31443
48e44791
JM
31444 [BZ #13824]
31445 * math/e_exp2l.c: Include <float.h>.
31446 (__ieee754_exp2l): Handle overflow and underflow cases
31447 separately. Only pass fractional part of argument to
31448 __ieee754_expl.
31449 * math/libm-test.inc (exp2_test): Add more tests.
31450
c0df8e69
JM
31451 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
31452 negating x to take absolute value.
31453 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
31454 Likewise.
31455 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
31456 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
31457 Likewise.
31458 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
31459 computing low part if x was negated.
31460 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
31461
c8e43ba7
L
314622012-03-21 H.J. Lu <hongjiu.lu@intel.com>
31463
31464 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
31465 la_x32_gnu_pltexit.
31466 (pltexit): Cast int_retval to ptrdiff_t.
31467 * elf/tst-auditmod3b.c: Likewise.
31468 * elf/tst-auditmod4b.c: Likewise.
31469 * elf/tst-auditmod5b.c: Likewise.
31470 * elf/tst-auditmod6b.c: Likewise.
31471 * elf/tst-auditmod6c.c: Likewise.
31472 * elf/tst-auditmod7b.c: Likewise.
31473
31474 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
31475 and x32_gnu_pltexit.
31476
31477 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
31478 __ELF_NATIVE_CLASS.
31479 (La_x32_regs): New macro.
31480 (La_x32_retval): Likewise.
31481 (la_x32_gnu_pltenter): New function prototype.
31482 (la_x32_gnu_pltexit): Likewise.
31483
7998fa78
AS
314842012-03-21 Andreas Schwab <schwab@linux-m68k.org>
31485
dcb33988
AS
31486 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
31487 exponent.
31488
233fc563
AS
31489 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31490
7998fa78
AS
31491 * configure.in (libc_cv_cc_nofma): Check for option to disable
31492 generation of FMA instructions.
31493 * configure: Regenerate.
31494 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
31495 * sysdeps/ieee754/dbl-64/Makefile: New file.
31496 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
31497 Remove brandred-fma4.
31498 (CFLAGS-brandred-fma4.c): Remove.
31499 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
31500 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
31501 define.
31502 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
31503 define.
31504
8e95c99a
L
315052012-03-21 H.J. Lu <hongjiu.lu@intel.com>
31506
31507 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
31508 LLONG_MAX != LONG_MAX.
31509 (_itoa_word): Use _ITOA_WORD_TYPE on value.
31510 (_fitoa_word): Likewise.
31511 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
31512 LLONG_MAX != LONG_MAX.
31513 * stdio-common/_itowa.h: Include <_itoa.h>.
31514 (_itowa_word): Use _ITOA_WORD_TYPE on value.
31515 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
31516 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
31517 only if not defined.
31518 (_ITOA_WORD_TYPE): Likewise.
31519 (_itoa_word): Use _ITOA_WORD_TYPE on value.
31520 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
31521
6f4db457
DM
315222012-03-21 David S. Miller <davem@davemloft.net>
31523
31524 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31525
7785fe5a
L
315262012-03-21 H.J. Lu <hongjiu.lu@intel.com>
31527
31528 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
31529 of x86_64 when setting libc_cv_slibdir, libdir and
31530 libc_cv_localedir.
31531 * sysdeps/unix/sysv/linux/configure: Regenerated.
31532
4535cd55
JM
315332012-03-21 Joseph Myers <joseph@codesourcery.com>
31534
31535 * manual/lang.texi (Old Varargs): Remove section.
31536 (How Variadic): Update menu.
31537 (va_start): Do not mention varargs.h.
31538
17228132
TS
315392012-03-21 Thomas Schwinge <thomas@codesourcery.com>
31540 Joseph Myers <joseph@codesourcery.com>
31541
31542 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
31543 link test.
31544 * configure: Regenerated.
31545
8149f976
TS
315462012-03-21 Thomas Schwinge <thomas@codesourcery.com>
31547
05f3d1f6
UD
31548 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
31549 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
31550 conformtest.pl
8149f976 31551
1a4ac776
JM
315522012-03-21 Joseph Myers <joseph@codesourcery.com>
31553
be22ce65
JM
31554 * NOTES: Remove.
31555 * Makefile (files-for-dist): Remove NOTES.
31556 (NOTES): Remove rule.
31557 * README: Don't refer to NOTES.
31558 * manual/creature.texi: Don't include macros.texi.
31559 * manual/intro.texi (creature.texi): Remove comment referring to
31560 NOTES.
31561
40b601fb
JM
31562 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
31563 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
31564 * configure: Regenerated.
31565 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
31566 LIBC_TRY_CC_OPTION.
31567 (libc_cv_as_i686): Likewise.
31568 (libc_cv_cc_avx): Likewise.
31569 (libc_cv_cc_sse2avx): Likewise.
31570 (libc_cv_cc_fma4): Likewise.
31571 (libc_cv_cc_novzeroupper): Likewise.
31572 * sysdeps/i386/configure: Regenerated.
31573
1a4ac776
JM
31574 [BZ #13883]
31575 * sysdeps/i386/fpu/s_cexp.S: Remove.
31576 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
31577 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
31578 * math/libm-test.inc (cexp_test): Add more tests.
31579 * sysdeps/i386/fpu/libm-test-ulps: Update.
31580 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31581
a458e7fe
AM
315822012-03-21 Allan McRae <allan@archlinux.org>
31583
31584 * timezone/Makefile: Do not install iso3166.tab and zone.tab
31585
0cb7efc5
JM
315862012-03-21 Joseph Myers <joseph@codesourcery.com>
31587
31588 [BZ #13871]
31589 * math/w_exp2.c: Do not include <float.h>.
31590 (o_threshold, u_threshold): Remove.
31591 (__exp2): Calculate result before checking finiteness and calling
31592 __kernel_standard.
31593 * math/w_exp2f.c: Likewise.
31594 * math/w_exp2l.c: Likewise.
31595 * math/libm-test.inc (exp2_test): Require overflow exception for
31596 1e6 input.
2460d3aa
JM
31597
31598 [BZ #3866]
31599 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
31600 range of signed 64-bit integers before using fistpll. Remove
31601 checks for whether integers fit in mantissa bits.
31602 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
31603 the range of signed 32-bit integers before using fistpl. Remove
31604 checks for whether integers fit in mantissa bits.
31605 * sysdeps/i386/fpu/e_powl.S (p64): New object.
31606 (__ieee754_powl): Test for y outside the range of signed 64-bit
31607 integers before using fistpll. Reduce 64-bit values to 63-bit
31608 ones as needed.
31609 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
31610 divide-by-zero is raised for zero to large negative powers.
31611 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
31612 (__ieee754_powl): Test for y outside the range of signed 64-bit
31613 integers before using fistpll. Reduce 64-bit values to 63-bit
31614 ones as needed.
31615 * math/libm-test.inc (pow_test): Add more tests.
31616
eb96ffb0
L
316172012-03-20 H.J. Lu <hongjiu.lu@intel.com>
31618
31619 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
31620 <stdio-common/_itoa.h>.
31621 * debug/segfault.c: Likewise.
31622 * elf/dl-cache.c: Likewise.
31623 * elf/dl-minimal.c: Likewise.
31624 * elf/dl-misc.c: Likewise.
31625 * elf/dl-sysdep.c: Likewise.
31626 * elf/dl-version.c: Likewise.
31627 * elf/rtld.c: Likewise.
31628 * hurd/hurdsock.c: Likewise.
31629 * hurd/lookup-retry.c: Likewise.
31630 * malloc/malloc.c: Likewise.
31631 * malloc/mtrace.c: Likewise.
31632 * nscd/nscd_getgr_r.c: Likewise.
31633 * nscd/nscd_getpw_r.c: Likewise.
31634 * nscd/nscd_getserv_r.c: Likewise.
31635 * posix/getopt_init.c: Likewise.
31636 * posix/wordexp.c: Likewise.
31637 * stdio-common/_itoa.c: Likewise.
31638 * stdio-common/printf_fphex.c: Likewise.
31639 * stdio-common/vfprintf.c: Likewise.
31640 * string/_strerror.c: Likewise.
31641 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
31642 * sysdeps/i386/i686/hp-timing.h: Likewise.
31643 * sysdeps/mach/_strerror.c: Likewise.
31644 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
31645 * sysdeps/mach/hurd/sethostid.c: Likewise.
31646 * sysdeps/mach/hurd/xmknodat.c: Likewise.
31647 * sysdeps/mach/xpg-strerror.c: Likewise.
31648 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
31649 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
31650 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
31651 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
31652 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
31653 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
31654 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
31655 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
31656 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
31657 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
31658 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
31659 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
31660 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
31661 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
31662 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
31663 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
31664 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
31665 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
31666 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
31667 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
31668 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
31669
31670 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
31671
31672 * stdio-common/_itoa.h: Moved to ...
31673 * sysdeps/generic/_itoa.h: Here.
31674
31675 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
31676
31677 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
31678 instead of "_itoa.h" and "_itowa.h".
31679 * stdio-common/vfprintf.: Likewise.
31680
d1af992d
L
316812012-03-20 H.J. Lu <hongjiu.lu@intel.com>
31682
31683 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
31684 <bits/wordsize.h>.
31685 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
31686 (__signbit): Likwise.
31687 (llrintf): Likwise.
31688 (llrint): Likwise.
31689
114883e0
L
316902012-03-20 H.J. Lu <hongjiu.lu@intel.com>
31691
31692 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
31693 __WORDSIZE != 64.
31694
c135cc1b
JM
316952012-03-20 Joseph Myers <joseph@codesourcery.com>
31696
31697 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
31698 OVERFLOW_EXCEPTION_OK.
31699 * math/libm-test.inc ("Philosophy"): Update comment about
31700 exception testing.
31701 (OVERFLOW_EXCEPTION): Define.
31702 (OVERFLOW_EXCEPTION_OK): Likewise.
31703 (INVALID_EXCEPTION_OK): Renumber.
31704 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
31705 (IGNORE_ZERO_INF_SIGN): Likewise.
31706 (test_exceptions): Handle FE_OVERFLOW.
31707 (exp10_test): Expect overflow exceptions.
31708 (exp2_test): Likewise.
31709 (expm1_test): Likewise.
31710 (nextafter_test): Likewise.
31711 (pow_test): Likewise.
31712 (scalbn_test): Likewise.
31713 (scalbln_test): Likewise.
31714
95443d88
L
317152012-03-19 H.J. Lu <hongjiu.lu@intel.com>
31716
31717 * sysdeps/x86_64/bits/atomic.h
31718 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
31719 64bit integer.
31720 (atomic_exchange_acq): Likewise.
31721 (__arch_exchange_and_add_body): Likewise.
31722 (__arch_add_body): Likewise.
31723 (atomic_add_negative): Likewise.
31724 (atomic_add_zero): Likewise.
31725
490df6c4
L
317262012-03-19 H.J. Lu <hongjiu.lu@intel.com>
31727
c2722551 31728 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
31729 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
31730
5e52b189
L
317312012-03-19 H.J. Lu <hongjiu.lu@intel.com>
31732
31733 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
31734 Check __x86_64__ instead of __WORDSIZE.
31735
a9879d4c
L
317362012-03-19 H.J. Lu <hongjiu.lu@intel.com>
31737
31738 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
31739
5df98260
DM
317402012-03-19 David S. Miller <davem@davemloft.net>
31741
e1497744
DM
31742 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31743
5df98260
DM
31744 * sysdeps/sparc/fpu/fenv_private.h: New file.
31745 * sysdeps/sparc/fpu/math_private.h: Use it.
31746 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
31747 Remove.
31748 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
31749 (libc_feholdexcept_setroundl): Remove.
31750 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
31751 Remove.
31752 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
31753 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
31754
b4c35121
L
317552012-03-19 H.J. Lu <hongjiu.lu@intel.com>
31756
31757 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
31758 int64_t instead of long int.
31759 (INSERT_WORDS64): Likwise.
31760
56965fd7
L
317612012-03-19 H.J. Lu <hongjiu.lu@intel.com>
31762
31763 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
31764 _Unwind_GetCFA return to _Unwind_Ptr first.
31765
83d1aec8
JM
317662012-03-19 Joseph Myers <joseph@codesourcery.com>
31767
1897ad44
JM
31768 [BZ #13629]
31769 * math/s_clog.c: Include <float.h>.
31770 (__clog): Scale large or subnormal inputs.
31771 * math/s_clogf.c: Likewise.
31772 * math/s_clogl.c: Likewise.
31773 * math/s_clog10.c: Include <float.h>.
31774 (M_LOG10_2): Define.
31775 (__clog10): Scale large or subnormal inputs.
31776 * math/s_clog10f.c: Likewise.
31777 * math/s_clog10l.c: Likewise.
31778 * math/libm-test.inc (clog_test): Add more tests.
31779 (clog10_test): Likewise.
31780 * sysdeps/i386/fpu/libm-test-ulps: Update.
31781 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31782
7726d6a9
JM
31783 [BZ #11451]
31784 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
31785 x and y.
31786 * math/libm-test.inc (atan2_test): Add another test.
31787
83d1aec8
JM
31788 * Makerules (common-objdir-compile): Remove.
31789 * sysdeps/unix/Makefile (config-generated): Do not add
31790 $(unix-generated) to variable.
31791 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
31792 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
31793 Remove rule.
31794 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
31795 Likewise.
31796 [generic bits/local_lim.h] (before-compile): Do not append to
31797 variable.
31798 [generic bits/local_lim.h] (common-generated): Likewise.
31799 [generic sys/param.h] (before-compile): Do not append to variable.
31800 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
31801 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
31802 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
31803 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
31804 include.
31805 [generic sys/param.h] (sys/param.h-includes): Remove variable.
31806 [generic sys/param.h] (sys/param.h-includes): Remove rule.
31807 [generic sys/param.h] ($(addprefix
31808 $(common-objpfx),$(sys/param.h-includes))): Likewise.
31809 [generic sys/param.h] (common-generated): Do not append to
31810 variable.
31811 [generic sys/param.h] (sysdep_headers): Likewise.
31812 [generic bits/errno.h] (before-compile): Do not append to
31813 variable.
31814 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
31815 rule.
31816 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
31817 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
31818 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
31819 [generic bits/errno.h] (common-generated): Do not append to
31820 variable.
31821 [generic bits/ioctls.h] (before-compile): Do not append to
31822 variable.
31823 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
31824 rule.
31825 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
31826 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
31827 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
31828 rule.
31829 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
31830 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
31831 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
31832 [generic bits/ioctls.h] (common-generated): Do not append to
31833 variable.
31834 [generic sys/syscall.h] (syscall.h): Remove variable.
31835 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
31836 rule.
31837 [generic sys/syscall.h] (before-compile): Do not append to
31838 variable.
31839 [generic sys/syscall.h] (common-generated): Likewise.
31840 * sysdeps/unix/errnos-tmpl.c: Remove file.
31841 * sysdeps/unix/errnos.awk: Likewise.
31842 * sysdeps/unix/ioctls-tmpl.c: Likewise.
31843 * sysdeps/unix/ioctls.awk: Likewise.
31844 * sysdeps/unix/mk-local_lim.c: Likewise.
31845 * sysdeps/unix/snarf-ioctls: Likewise.
31846
4851a949
RH
318472012-03-19 Richard Henderson <rth@twiddle.net>
31848
bd37f2ee
RH
31849 * sysdeps/i386/fpu/fenv_private.h: New file.
31850 * sysdeps/i386/fpu/math_private.h: Use it.
31851 (math_opt_barrier, math_force_eval): Remove.
31852 (libc_feholdexcept_setround_53bit): Remove.
31853 (libc_feupdateenv_53bit): Remove.
31854 * sysdeps/x86_64/fpu/math_private.h: Likewise.
31855 (math_opt_barrier, math_force_eval): Remove.
31856 (libc_feholdexcept): Remove.
31857 (libc_feholdexcept_setround): Remove.
31858 (libc_fetestexcept, libc_fesetenv): Remove.
31859 (libc_feupdateenv_test): Remove.
31860 (libc_feupdateenv, libc_feholdsetround): Remove.
31861 (libc_feresetround): Remove.
31862
d0adc922
RH
31863 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
31864 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
31865
0fe0f1f8
RH
31866 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
31867 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
31868 (libc_feupdateenv_testl): New.
31869 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
31870 (libc_feupdateenv_testf): New.
31871 (libc_feupdateenv): Use libc_feupdateenv_test.
31872 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
31873 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
31874
eb92c487
RH
31875 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
31876 (libc_feholdsetroundf, libc_feholdsetroundl): New.
31877 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
31878 (libc_feresetround_noex): New.
31879 (libc_feresetround_noexf): New.
31880 (libc_feresetround_noexl): New.
31881 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
31882 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
31883 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
31884 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
31885 SET_RESTORE_ROUND.
31886 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
31887 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
31888 (__cos): Likewise.
31889 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
31890 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
31891 SET_RESTORE_ROUND_NOEX.
31892 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
31893 SET_RESTORE_ROUND_NOEXF.
31894 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
31895 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
31896 (libc_feholdsetroundf): New.
31897 (libc_feresetround, libc_feresetroundf): New.
31898
7d2e8012
RH
31899 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
31900 (libc_feholdexcept_setround_53bit): Convert from macro to function.
31901 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
31902
b4dabbb4
RH
31903 * sysdeps/generic/math_private.h: Include <fenv.h>.
31904 (default_libc_feholdexcept): New.
31905 (default_libc_feholdexcept_setround): New.
31906 (default_libc_fesetenv, default_libc_feupdateenv): New.
31907 (libc_feholdexcept): Only define if undefined.
31908 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
31909 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
31910 (libc_feholdexcept_setroundl): Likewise.
31911 (libc_feholdexcept_setround_53bit): Likewise.
31912 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
31913 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
31914 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
31915 (libc_feupdateenv_53bit): Likewise.
31916 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
31917 (libc_feholdexcept): Convert from macro to inline function.
31918 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
31919 (libc_fesetenv, libc_feupdateenv): Likewise.
31920
4851a949
RH
31921 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
31922 not previously defined.
31923 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
31924 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
31925 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
31926 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
31927 * sysdeps/ieee754/flt-32/math_private.h: New file.
31928 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
31929 math_private.h below SET_FLOAT_WORD.
31930 (__isnan, __isinf_ns, __finite): Remove.
31931 (__isnanf, __isinf_nsf, __finitef): Remove.
31932
e79d442e
AS
319332012-03-18 Andreas Schwab <schwab@linux-m68k.org>
31934
31935 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31936
90b80344
DM
319372012-03-17 David S. Miller <davem@davemloft.net>
31938
31939 [BZ #6471]
31940 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
31941 for 2.16.
31942
edc21804
DM
319432012-03-16 David S. Miller <davem@davemloft.net>
31944
77e927af
DM
31945 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
31946 warnings.
31947
374976dd
DM
31948 [BZ #6471]
31949 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
31950 properly.
31951 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
31952 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
31953 sysdep_routines when subdir is sysvipc.
31954 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
31955 __getshmlba helper.
31956
edc21804
DM
31957 * sysdeps/sparc/fpu/libm-test/ulps: Update.
31958
473c3ef3
L
319592012-03-16 H.J. Lu <hongjiu.lu@intel.com>
31960
31961 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
31962 [__LP64__].
31963
eb0f39b6
L
319642012-03-16 H.J. Lu <hongjiu.lu@intel.com>
31965
31966 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
31967 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
31968 (__lround): Renamed to ...
31969 (__llround): This. Replace long int with long long int.
31970 Define lround functions as aliases of llround functions.
31971 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
31972
6b6cd74b
L
319732012-03-16 H.J. Lu <hongjiu.lu@intel.com>
31974
31975 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
31976 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
31977 adresses to uintptr_t. Replace "long int" and "unsigned long
31978 int" with "greg_t" on va_arg.
31979
f1a77b01
L
319802012-03-16 H.J. Lu <hongjiu.lu@intel.com>
31981
31982 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
31983 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
31984
31985 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
31986 Move e_machine check before EI_CLASS check. Handle x32
31987 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
31988 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
31989 SKIP_EM_IA_64 and include
31990 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
31991
31992 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
31993 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
31994 (add_system_dir): New macro.
31995
31996 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
31997 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
31998
11b90b9f
JM
319992012-03-16 Joseph Myers <joseph@codesourcery.com>
32000
c36e1d23
JM
32001 [BZ #2551]
32002 [BZ #2552]
32003 [BZ #2553]
32004 [BZ #2554]
32005 [BZ #2562]
32006 [BZ #2563]
32007 [BZ #2565]
32008 [BZ #2566]
32009 [BZ #2576]
32010 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
32011 (y0): Likewise.
32012 * math/w_j0f.c (j0f): Likewise.
32013 (y0f): Likewise.
32014 * math/w_j0l.c (__j0l): Likewise.
32015 (__y0l): Likewise.
32016 * math/w_j1.c (j1): Likewise.
32017 (y1): Likewise.
32018 * math/w_j1f.c (j1f): Likewise.
32019 (y1f): Likewise.
32020 * math/w_j1l.c (__j1l): Likewise.
32021 (__y1l): Likewise.
32022 * math/w_jn.c (jn): Likewise.
32023 (yn): Likewise.
32024 * math/w_jnf.c (jnf): Likewise.
32025 (ynf): Likewise.
32026 * math/w_jnl.c (__jnl): Likewise.
32027 (__ynl): Likewise.
32028 * math/libm-test.inc (j0_test): Add more tests.
32029 (j1_test): Likewise.
32030 (jn_test): Likewise. Add trailing semicolon to existing test.
32031 (y0_test): Likewise.
32032 (y1_test): Likewise.
32033 * sysdeps/i386/fpu/libm-test-ulps: Update.
32034 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32035
11b90b9f
JM
32036 [BZ #13851]
32037 [BZ #13854]
32038 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
32039 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
32040 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
32041 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
32042 (__tanl): Set errno for infinite argument.
32043 * sysdeps/i386/fpu/mptan.c: Remove.
32044 * sysdeps/i386/fpu/s_tan.S: Likewise.
32045 * sysdeps/i386/fpu/s_tanl.S: Likewise.
32046 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
32047 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
32048 * math/libm-test.inc (tan_test): Add more tests and enable more
32049 tests for double and long double.
32050 * sysdeps/i386/fpu/libm-test-ulps: Update.
32051 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32052
6a1bd2a1
JK
320532012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
32054
32055 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
32056 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
32057
10a803e0
RM
320582012-03-16 Roland McGrath <roland@hack.frob.com>
32059
32060 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
32061 * configure.in: Use it for both main tree and add-ons.
32062 * configure: Regenerated.
32063
f196c7f7
L
320642012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32065
32066 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
32067
8848d99d
JM
320682012-03-16 Joseph Myers <joseph@codesourcery.com>
32069
96cbe7f4
JM
32070 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
32071 in comment.
32072
8848d99d
JM
32073 [BZ #13851]
32074 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
32075 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
32076 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
32077 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
32078 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
32079 infinite argument.
32080 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
32081 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
32082 != 0 for prec == 2.
32083 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
32084 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
32085 * sysdeps/i386/fpu/s_cosl.S: Likewise.
32086 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
32087 * sysdeps/i386/fpu/s_sinl.S: Likewise.
32088 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
32089 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
32090 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
32091 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
32092 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
32093 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
32094 * math/libm-test.inc (cos_test): Add more tests and enable more
32095 tests for long double.
32096 (sin_test): Likewise.
32097 (sincos_test): Likewise.
32098 * sysdeps/i386/fpu/libm-test-ulps: Update.
32099 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32100
dd7f4703
DM
321012012-03-16 David S. Miller <davem@davemloft.net>
32102
32103 * sysdeps/sparc/fpu/math_private.h: New file.
32104
006f1daa
DM
321052012-03-15 David S. Miller <davem@davemloft.net>
32106
c0c83bc8
DM
32107 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
32108 file.
e6a62e18 32109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
32110 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
32111 file.
e6a62e18
DM
32112 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
32113 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
32114 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
32115 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
32116 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
32117 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
32118 sysdep routines.
32119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
32120
88cb87d9
DM
32121 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
32122 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
32123
006f1daa 32124 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
32125 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
32126 sparc-ifunc.h
006f1daa 32127 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
32128 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
32129 Likewise.
32130 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
32131 Likewise.
006f1daa
DM
32132 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
32133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
32134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
32135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
32136 Likewise.
006f1daa
DM
32137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
32138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
32139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
32140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
32141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
32142 Likewise.
32143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
32144 Likewise.
006f1daa
DM
32145 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
32146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
32147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
32148 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
32149 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
32150 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
32151 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
32152 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
32153 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
32154 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
32155 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
32156 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
32157 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
32158 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
32159 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
32160 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
32161 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
32162 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
32163 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
32164 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
32165 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
32166 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
32167 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
32168 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
32169
11e0098e
AS
321702012-03-15 Andreas Schwab <schwab@linux-m68k.org>
32171
32172 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
32173 scaling.
32174 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32175
e85b09d0
AJ
321762012-03-15 Andreas Jaeger <aj@suse.de>
32177
32178 [BZ #13852]
32179 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
32180 ieee754/flt-32 implementation for sin, cos and sincos.
32181 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
32182 * sysdeps/i386/fpu/s_cosf.S: Likewise.
32183 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
32184 * sysdeps/i386/fpu/s_sinf.S: Likewise.
32185 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
32186 ieee754/flt-32 implementation for tan.
32187
32188 * math/libm-test.inc (cos_test): Enable some large input tests for
32189 float as well
32190 (sin_test): Likewise.
32191 (sincos_test): Likewise.
32192 (tan_test): Add tests for large input.
32193
32194 * sysdeps/i386/fpu/libm-test-ulps: Update.
32195
81c64153
AJ
321962012-03-15 Andreas Jaeger <aj@suse.de>
32197
32198 [BZ #13658]
32199 * math/libm-test.inc (cos_test): Add more test cases.
32200 (sin_test): Likewise.
32201 (sincos_test): Likewise.
32202
7bbfa5c6
AJ
322032012-03-15 Andreas Jaeger <aj@suse.de>
32204
32205 [BZ #13837]
32206 * math/libm-test.inc (cos_test): Add a test case for large input
32207 value.
32208 (sin_test): Likewise.
32209 (sincos_test): Likewise.
32210
322112012-03-15 Andreas Jaeger <aj@suse.de>,
32212 Joseph Myers <joseph@codesourcery.com>
32213
32214 [BZ #13658]
0671f479 32215 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
32216 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
32217 * sysdeps/i386/fpu/branred.c: Likewise.
32218 * sysdeps/i386/fpu/dosincos.c: Likewise.
32219 * sysdeps/i386/fpu/mpa.c: Likewise.
32220 * sysdeps/i386/fpu/s_cos.S: Likewise.
32221 * sysdeps/i386/fpu/s_sin.S: Likewise.
32222 * sysdeps/i386/fpu/s_sincos.S: Likewise.
32223 * sysdeps/i386/fpu/sincos32.c: Likewise.
32224
32225 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
32226 Define.
32227 (libc_feupdateenv_53bit): Define.
32228 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
32229 Define.
32230 (libc_feupdateenv_53bit): Define.
32231
32232 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
32233 53 bit (without extend i386 double precision).
32234
32235 * math/libm-test.inc (sincos_test): Add tests for large input.
32236 (sin): Likewise.
32237 (cos): Likewise.
32238
32239 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
32240
9cad04ea
AS
322412012-03-15 Andreas Schwab <schwab@linux-m68k.org>
32242
32243 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32244
f7062b9a
DM
322452012-03-15 David S. Miller <davem@davemloft.net>
32246
32247 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
32248 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
32249 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
32250 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
32251 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
32252 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
32253 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
32254 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
32255 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
32256 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
32257 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
32258 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
32259 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
32260 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
32261 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
32262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
32263 file.
f7062b9a 32264 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
32265 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
32266 file.
f7062b9a 32267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
32268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
32269 file.
f7062b9a 32270 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
32271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
32272 file.
f7062b9a
DM
32273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
32274 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
32275 fmin/fmax sysdep routines.
32276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
32277
7bd951ff
DM
322782012-03-14 David S. Miller <davem@davemloft.net>
32279
559398ab
DM
32280 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
32281 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
32282 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
32283 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
32284 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
32285 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
32286 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
32287 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
32288 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
32289 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
32290 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
32291 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
32292 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
32293 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
32294 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
32295 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
32296 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
32297 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
32298 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
32299 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
32300 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
32301 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
32302 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
32303 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
32304 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
32305 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
32306 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
32307 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
32308 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
32309 routines.
32310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
32311 file.
559398ab 32312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
32313 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
32314 file.
559398ab 32315 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
32316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
32317 file.
559398ab 32318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
32319 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
32320 file.
559398ab 32321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
32322 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
32323 file.
559398ab 32324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
32325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
32326 file.
32327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
32328 file.
32329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
32330 file.
32331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
32332 file.
32333 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
32334 New file.
32335 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
32336 file.
32337 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
32338 file.
559398ab 32339 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
32340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
32341 file.
559398ab 32342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
32343 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
32344 file.
559398ab 32345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
32346 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
32347 file.
559398ab 32348 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
32349 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
32350 VIS3 routines.
559398ab
DM
32351
32352 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
32353 New file.
32354
5a1c1e32
DM
32355 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32356
eae47a36
DM
32357 * sysdeps/sparc/configure.in: New file.
32358 * sysdeps/sparc/configure: Generate.
32359 * configure.in (libc_cv_sparc_as_vis3): Substitute.
32360 * configure: Regenerate.
32361 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
32362 * config.make.in (have-as-vis3): New.
32363 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
32364 available use -Av9d instead of -Av9a.
32365 * sysdeps/sparc/sparc64/Makefile: Likewise.
32366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
32367 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
32368 New file.
32369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
32370 file.
32371 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
32372 New file.
32373 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
32374 file.
eae47a36
DM
32375 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
32376 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
32377 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
32378 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
32379 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
32380
c0c83bc8
DM
32381 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
32382 fzeros/fnegs to load 0x80000000 into a float register instead of
32383 using the stack.
7bd951ff
DM
32384 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
32385
bd951ccb
JM
323862012-03-14 Joseph Myers <joseph@codesourcery.com>
32387
32388 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32389 bits/syscall.h.
32390 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
32391 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
32392 ($(inst_includedir)/bits/syscall.h): Remove rule.
32393 ($(objpfx)bits/syscall.d): Include instead of
32394 $(objpfx)syscall-list.d.
32395 (generated): Change syscall-list.h and syscall-list.d to
32396 bits/syscall.h and bits/syscall.d.
32397
bb4e6db2
RM
323982012-03-14 Roland McGrath <roland@hack.frob.com>
32399
32400 [BZ #13846]
32401 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
32402
aa4a2ae1
JM
324032012-03-14 Joseph Myers <joseph@codesourcery.com>
32404
e456826d
JM
32405 [BZ #13841]
32406 * math/s_csqrt.c: Include <float.h>.
32407 (__csqrt): Scale large or subnormal inputs.
32408 * math/s_csqrtf.c: Likewise.
32409 * math/s_csqrtl.c: Likewise.
32410 * math/libm-test.inc (csqrt_test): Add more tests.
32411 * sysdeps/i386/fpu/libm-test-ulps: Update.
32412 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32413
aa4a2ae1
JM
32414 [BZ #13840]
32415 * math/libm-test.inc (hypot_test): Add more tests.
32416
7c10fd35
DM
324172012-03-13 David S. Miller <davem@davemloft.net>
32418
32419 [BZ #13840]
32420 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
32421 double-precision for the calculation instead of scaling.
32422
f453b98b
JM
324232012-03-13 Joseph Myers <joseph@codesourcery.com>
32424
32425 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
32426 manipulate bits before adding and subtracting TWO52[sx].
32427 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
32428 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
32429 Likewise.
32430 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
32431
09a3453f
DM
324322012-03-13 David S. Miller <davem@davemloft.net>
32433
8e59da90
DM
32434 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
32435 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
32436 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
32437 rtld-global-offsets.h
32438 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
32439
2a8ab7f2
DM
32440 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
32441 large parameters.
32442
10f62770
DM
32443 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
32444
5f0bdb18
DM
32445 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
32446 'err' in the ifdef scope in which it is actually used.
32447
09a3453f
DM
32448 * nss/nss_db/db-init.c: Include string.h
32449
b4b2eb5e
DM
324502012-03-12 David S. Miller <davem@davemloft.net>
32451
98bb2f1c
DM
32452 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
32453 masking out of the most significant byte of random value used.
32454 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32455 Fix coding style in previous change.
32456
b4b2eb5e
DM
32457 * sysdeps/unix/sysv/linux/kernel-features.h
32458 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
32459 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
32460 expression.
32461 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
32462 later.
32463
6e226b09
DM
324642012-03-11 David S. Miller <davem@davemloft.net>
32465
a1bcbd40
DM
32466 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
32467 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
32468 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
32469 for 'resultvar' otherwise things get truncated on 64-bit.
32470
cb9d6174
DM
32471 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32472 Fix masking out of the most significant byte of random value used.
32473
6e226b09
DM
32474 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32475
058c132d
AS
324762012-03-10 Andreas Schwab <schwab@linux-m68k.org>
32477
32478 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32479
2d2cd515
DM
324802012-03-09 David S. Miller <davem@davemloft.net>
32481
32482 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
32483 variables with appropriate CPP guards.
32484 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
32485 frame pointer, not the stack pointer. Correct layout comments. Fix test
32486 on resulting framesize and the management of the outregs buffer for pltexit.
32487 Preserve floating point return values across _dl_call_pltexit call.
32488 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
32489 framesize and the management of the outregs buffer for pltexit.
32490 Preserve floating point return values across _dl_call_pltexit
32491 call.
32492 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
32493 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
32494 (print_exit): Fix format string for return register value.
32495
9a07f9d0
JM
324962012-03-10 Joseph Myers <joseph@codesourcery.com>
32497
32498 * sunrpc/Makefile (others): Add rpcgen.
32499 ($(objpfx)rpcgen): Remove special build rule and dependency on
32500 libc.
32501 * sunrpc/rpcgen.c: New file.
32502
547b5e30
PE
325032012-03-09 Paul Eggert <eggert@cs.ucla.edu>
32504
c524201a
PE
32505 [BZ #13673]
32506 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
32507 * stdio-common/bug-vfprintf-nargs.c: Likewise.
32508 * sysdeps/i386/crti.S: Likewise.
32509 * sysdeps/i386/crtn.S: Likewise.
32510 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
32511 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
32512 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
32513 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
32514 * sysdeps/sh/crti.S: Likewise.
32515 * sysdeps/sh/crtn.S: Likewise.
32516 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
32517
7b6235f2
PE
32518 [BZ #13673]
32519 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
32520 with URL.
32521 * locale/programs/locfile-kw.gperf: Likewise.
32522 * locale/programs/charmap-kw.h: Regenerated.
32523 * locale/programs/locfile-kw.h: Likewise.
32524
547b5e30
PE
32525 [BZ #13673]
32526 * intl/plural.y: Replace FSF snail mail address with URL.
32527 * intl/plural.c: Regenerated.
32528
5f0a5dae
RH
325292012-03-09 Richard Henderson <rth@twiddle.net>
32530
32531 * include/math_private.h: Remove file.
32532 * math/math_private.h: Move file ...
32533 * sysdeps/generic/math_private.h: ... here.
32534
b8c03620
RH
32535 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
32536 * sysdeps/powerpc/fpu/math_private.h: Likewise.
32537 * sysdeps/x86_64/fpu/math_private.h: Likewise.
32538
4e234f5d 32539 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
32540 and <math_private.h>.
32541 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
32542 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
32543 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
32544 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
32545 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
32546 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
32547 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
32548 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32549 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
32550 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32551 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32552 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
32553 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
32554 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32555 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
32556 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
32557 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
32558 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
32559 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
32560 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
32561 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32562 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
32563 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
32564 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32565 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
32566 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
32567 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
32568 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
32569 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32570 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
32571 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
32572 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32573 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
32574 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
32575 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
32576 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
32577 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
32578 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
32579 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
32580 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32581 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
32582 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
32583 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
32584 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
32585 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
32586 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
32587 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
32588 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
32589 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
32590 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
32591 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
32592 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
32593 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
32594 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
32595 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
32596 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
32597 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32598 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
32599 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
32600 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
32601 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
32602 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
32603 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32604 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
32605 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
32606 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
32607 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
32608 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
32609 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
32610 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
32611 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
32612 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
32613 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
32614 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32615 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
32616 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
32617 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
32618 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
32619 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
32620 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
32621 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
32622 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
32623 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
32624 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
32625 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
32626 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
32627 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
32628 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
32629 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
32630 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
32631 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
32632 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
32633 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
32634 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
32635 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
32636 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
32637 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
32638 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
32639 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
32640 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
32641 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
32642 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
32643 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
32644 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
32645 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
32646 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
32647 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
32648 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
32649 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
32650 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
32651 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
32652 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
32653 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
32654 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
32655 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
32656 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
32657 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
32658 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
32659 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
32660 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
32661 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
32662 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
32663 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
32664 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
32665 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
32666 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
32667 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
32668 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
32669 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
32670 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
32671 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
32672 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
32673 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
32674 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
32675 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
32676 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
32677 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
32678 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
32679 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
32680 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
32681 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
32682 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
32683 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
32684 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
32685 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
32686 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
32687 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
32688 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
32689 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
32690 * sysdeps/ieee754/k_standard.c: Likewise.
32691 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
32692 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
32693 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
32694 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
32695 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
32696 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
32697 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
32698 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
32699 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
32700 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
32701 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
32702 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
32703 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
32704 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
32705 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
32706 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
32707 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
32708 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
32709 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
32710 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
32711 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
32712 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
32713 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
32714 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
32715 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
32716 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
32717 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
32718 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
32719 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
32720 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
32721 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
32722 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
32723 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
32724 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
32725 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
32726 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
32727 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
32728 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
32729 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
32730 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
32731 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
32732 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
32733 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
32734 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
32735 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
32736 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
32737 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
32738 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
32739 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
32740 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
32741 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
32742 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
32743 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
32744 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
32745 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
32746 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
32747 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
32748 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
32749 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
32750 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
32751 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
32752 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
32753 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
32754 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
32755 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
32756 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
32757 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
32758 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
32759 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
32760 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
32761 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
32762 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
32763 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
32764 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
32765 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
32766 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
32767 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
32768 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
32769 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
32770 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
32771 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
32772 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
32773 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
32774 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
32775 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
32776 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
32777 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
32778 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
32779 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
32780 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
32781 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
32782 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
32783 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
32784 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
32785 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
32786 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
32787 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
32788 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
32789 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
32790 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
32791 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
32792 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
32793 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
32794 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
32795 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
32796 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
32797 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
32798 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
32799 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
32800 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
32801 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
32802 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
32803 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
32804 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
32805 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
32806 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
32807 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
32808 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
32809 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
32810 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
32811 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
32812 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
32813 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
32814 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
32815 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
32816 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
32817 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
32818 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
32819 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
32820 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
32821 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
32822 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
32823 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
32824 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
32825 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
32826 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
32827 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
32828 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
32829 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
32830 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
32831 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
32832 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
32833 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
32834 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
32835 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
32836 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
32837 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
32838 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
32839 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
32840 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
32841 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
32842 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
32843 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
32844 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
32845 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
32846 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
32847 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
32848 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
32849 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
32850 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
32851 * sysdeps/ieee754/s_lib_version.c: Likewise.
32852 * sysdeps/ieee754/s_matherr.c: Likewise.
32853 * sysdeps/ieee754/s_signgam.c: Likewise.
32854 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
32855 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
32856 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
32857 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
32858 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
32859 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
32860 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
32861 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
32862 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
32863 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
32864 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
32865 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
32866 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
32867 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
32868 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
32869 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
32870 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
32871 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
32872 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
32873 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
32874 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 32875
1991fa03
JM
328762012-03-09 Joseph Myers <joseph@codesourcery.com>
32877
32878 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
32879 * sunrpc/rpc_main.c: Likewise.
32880 * sunrpc/rpc_svcout.c: Likewise.
32881
60d6f5a6
DM
328822012-03-09 David S. Miller <davem@davemloft.net>
32883
32884 * include/math_private.h: New file.
32885
4962050e
JM
328862012-03-09 Joseph Myers <joseph@codesourcery.com>
32887
02a6f887
JM
32888 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
32889 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
32890 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
32891 from <bits/socket_type.h>.
32892 (enum __socket_type): Don't define here.
32893 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
32894 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32895 bits/socket_type.h.
32896
c6e013c1
JM
32897 [BZ #13566]
32898 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
32899 checking __USE_GNU.
32900
4962050e
JM
32901 * Makerules ($(inst_includedir)/%.h): New rule.
32902 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
32903 (install-others): Remove variable setting.
32904 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
32905
38842f45
RH
329062012-03-08 Richard Henderson <rth@twiddle.net>
32907
67bb6da6
RH
32908 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
32909 from macro to inline function; merge with the
32910 !__LIBC_INTERNAL_MATH_INLINES version.
32911 (__ieee754_sqrtf): Likewise.
32912
15194b4b
RH
32913 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
32914 to inline function.
32915 (__rintf, __floor, __floorf): Likewise.
32916
64e21ede
RH
32917 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
32918 macro to inline function.
32919 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
32920
38842f45
RH
32921 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
32922 not <math/math_private.h>.
32923
c64bf5fe
DM
329242012-03-08 David S. Miller <davem@davemloft.net>
32925
32926 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
32927 copyright year.
32928 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
32929
82d86f28
TS
329302012-03-08 Thomas Schwinge <thomas@codesourcery.com>
32931
32932 * resolv/gai_misc.c (handle_requests): Fix struct timespec
32933 normalization.
32934 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
32935 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
32936
aea5d727
UD
329372012-03-08 Ulrich Drepper <drepper@gmail.com>
32938
32939 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
32940 be defined individually, they must be defined as a block. Define
32941 S for printing a string instead of hidint the different by using a
32942 macro for adding the 'l'.
32943 * stdio-common/tst-fphex-wide.c: Adjust.
32944
70bca0a3
MP
329452012-03-07 Marek Polacek <polacek@redhat.com>
32946
32947 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
32948
65b81130
MP
329492012-03-08 Marek Polacek <polacek@redhat.com>
32950
32951 [BZ #13806]
32952 * stdio-common/Makefile (tests): Add tst-fphex-wide.
32953 * stdio-common/tst-fphex.c: Define a few macros to make the
32954 test reusable. Use them.
32955 * stdio-common/tst-fphex-wide.c: New file.
32956
07037eeb
JM
329572012-03-08 Joseph Myers <joseph@codesourcery.com>
32958
a7a93d50
JM
32959 [BZ #6911]
32960 * manual/macros.texi (gnusystems): New macro.
32961 (nongnusystems): Likewise.
32962 (gnulinuxhurdsystems): Likewise.
32963 (gnuhurdsystems): Likewise..
32964 (gnulinuxsystems): Likewise.
32965 * manual/charset.texi: Use new macros or @theglibc{} to refer to
32966 variants of the GNU system, not "GNU system".
32967 * manual/conf.texi: Likewise.
32968 * manual/errno.texi: Likewise. Update example of errno macro
32969 expansion.
32970 * manual/filesys.texi: Likewise.
32971 (getumask): Document as specific to GNU/Hurd.
32972 * manual/install.texi: Likewise. Reword some references to
32973 GNU/Linux.
32974 * manual/intro.texi: Likewise.
32975 * manual/io.texi: Likewise.
32976 (File Name Portability): Detail which constraints are inapplicable
32977 to all GNU systems and which are only inapplicable to GNU/Hurd.
32978 * manual/job.texi: Likewise.
32979 * manual/llio.texi: Likewise.
32980 (O_NOCTTY): Document as present on GNU/Linux.
32981 * manual/maint.texi: Likewise.
32982 * manual/memory.texi: Likewise.
32983 * manual/pattern.texi: Likewise.
32984 * manual/pipe.texi: Likewise.
32985 * manual/process.texi: Likewise.
32986 * manual/resource.texi: Likewise.
32987 (RUSAGE_CHILDREN): Remove statement about specifying a particular
32988 child on GNU/Hurd.
32989 * manual/setjmp.texi: Likewise.
32990 * manual/signal.texi: Likewise.
32991 * manual/startup.texi: Likewise.
32992 * manual/stdio.texi: Likewise.
32993 * manual/terminal.texi: Likewise.
32994 (ONLCR): Document as POSIX.
32995 (OXTABS): Document availability on GNU/Linux as XTABS.
32996 (ONOEOT): Document availability separately from other bits.
32997 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
32998 * manual/time.texi: Likewise.
32999 * manual/users.texi: Likewise.
33000 * INSTALL: Regenerated.
33001 * sysdeps/gnu/errlist.c: Regenerated.
33002
07037eeb
JM
33003 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
33004 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
33005 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
33006 puts.
33007 * configure: Regenerated.
33008
d1d3431a
JM
330092012-03-07 Joseph Myers <joseph@codesourcery.com>
33010
af6a1e37
JM
33011 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
33012 default includes instead of AC_HEADER_CHECK.
33013 * sysdeps/i386/configure: Regenerated.
33014
d1d3431a
JM
33015 [BZ #10716]
33016 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
33017 * math/s_cacoshf.c (__cacoshf): Likewise.
33018 * math/s_cacoshl.c (__cacoshl): Likewise.
33019 * math/s_casinh.c (__casinh): Set signs of result from argument.
33020 * math/s_casinhf.c (__casinhf): Likewise.
33021 * math/s_casinhl.c (__casinhl): Likewise.
33022 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
33023 (casinh_test): Add more tests.
33024 * sysdeps/i386/fpu/libm-test-ulps: Update.
33025 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33026
482ff4da
UD
330272012-03-07 Ulrich Drepper <drepper@gmail.com>
33028
872fda05
UD
33029 * po/zh_TW.po: Update from translation team.
33030
a4300c7a
UD
33031 * login/Makefile (distribute): Remove variable.
33032 * catgets/Makefile: Likewise.
33033 * mach/Makefile: Likewise.
33034 * malloc/Makefile: Likewise.
33035 * misc/Makefile: Likewise.
33036 * iconv/Makefile: Likewise.
33037 * nscd/Makefile: Likewise.
33038 * hurd/Makefile: Likewise.
33039 * manual/Makefile: Likewise.
33040 * locale/Makefile: Likewise.
33041 * intl/Makefile: Likewise.
33042 * conform/Makefile: Likewise.
33043 * nss/Makefile: Likewise.
33044 * time/Makefile: Likewise.
33045 * soft-fp/Makefile: Likewise.
33046 * dirent/Makefile: Likewise.
33047 * gmon/Makefile: Likewise.
33048 * po/Makefile: Likewise.
33049 * rt/Makefile: Likewise.
33050 * socket/Makefile: Likewise.
33051 * math/Makefile: Likewise.
33052 * signal/Makefile: Likewise.
33053 * debug/Makefile: Likewise.
33054 * elf/Makefile: Likewise.
33055 * timezone/Makefile: Likewise.
33056 * stdlib/Makefile: Likewise.
33057 * iconvdata/Makefile: Likewise.
33058 * sunrpc/Makefile: Likewise.
33059 * io/Makefile: Likewise.
33060 * argp/Makefile: Likewise.
33061 * inet/Makefile: Likewise.
33062 * hesiod/Makefile: Likewise.
33063 * grp/Makefile: Likewise.
33064 * csu/Makefile: Likewise.
33065 * wctype/Makefile: Likewise.
33066 * crypt/Makefile: Likewise.
33067 * libio/Makefile: Likewise.
33068 * string/Makefile: Likewise.
33069 * nis/Makefile: Likewise.
33070 * resolv/Makefile: Likewise.
33071 * stdio-common/Makefile: Likewise.
33072 * wcsmbs/Makefile: Likewise.
33073 * dlfcn/Makefile: Likewise.
33074 * posix/Makefile: Likewise.
33075
3b7c4e74 33076 [BZ #6959]
482ff4da
UD
33077 * timezone/Makefile: Don't install timezone files, just the programs
33078 and scripts.
33079
f72ed77d
UD
330802012-03-06 Ulrich Drepper <drepper@gmail.com>
33081
a000466f
UD
33082 * nss/databases.def: Add missing gshadow entry.
33083
f72ed77d
UD
33084 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
33085
a53b7a4e
MP
330862012-03-06 Marek Polacek <polacek@redhat.com>
33087
33088 [BZ #13726]
33089 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
33090 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
33091 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
33092 * stdio-common/tst-long-dbl-fphex.c: New file.
33093
e9258400
DM
330942012-03-06 David S. Miller <davem@davemloft.net>
33095
33096 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33097 (set_obp_int): New function.
33098 (get_obp_int): New function.
33099 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
33100 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
33101 Avoid unused variable warnings on 'val' and use builtin_expect.
33102 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
33103 __builtin_expect.
e9258400
DM
33104 (INLINE_CLONE_SYSCALL): Likewise.
33105
3bd2c723
DM
331062012-03-05 David S. Miller <davem@davemloft.net>
33107
33108 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33109
bbb78d03
AS
331102012-03-05 Andreas Schwab <schwab@linux-m68k.org>
33111
884c5db4
AS
33112 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33113
bbb78d03
AS
33114 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
33115 only for |x| >= 40.
33116 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33117
1c9f702a 331182012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
33119
33120 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
33121 Replace gettimeofday with __vdso_gettimeofday.
33122
7be16f82
RM
33123 * sysdeps/unix/sysv/linux/x86_64/init-first.c
33124 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
33125 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
33126
33127 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
33128 time with __vdso_time.
33129
ed58a00f
JM
331302012-03-05 Joseph Myers <joseph@codesourcery.com>
33131
33132 * manual/lang.texi (size_t): Note types to which size_t may be
33133 equivalent with the GNU C Library, but do not describe when
33134 differences between them are significant.
33135
30ee4ced
AJ
331362012-03-05 Andreas Jaeger <aj@suse.de>
33137
33138 * sysdeps/i386/fpu/libm-test-ulps: Update.
33139
b7cd39e8
JM
331402012-03-05 Joseph Myers <joseph@codesourcery.com>
33141
33142 [BZ #3976]
33143 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
33144 (__ieee754_pow): Save and restore rounding mode and use
33145 round-to-nearest for main computations.
33146 * math/libm-test.inc (pow_test_tonearest): New function.
33147 (pow_test_towardzero): Likewise.
33148 (pow_test_downward): Likewise.
33149 (pow_test_upward): Likewise.
33150 (main): Call the new functions.
33151 * sysdeps/i386/fpu/libm-test-ulps: Update.
33152 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
33153
33154 [BZ #3976]
33155 * math/libm-test.inc (cosh_test_tonearest): New function.
33156 (cosh_test_towardzero): Likewise.
33157 (cosh_test_downward): Likewise.
33158 (cosh_test_upward): Likewise.
33159 (sinh_test_tonearest): Likewise.
33160 (sinh_test_towardzero): Likewise.
33161 (sinh_test_downward): Likewise.
33162 (sinh_test_upward): Likewise.
33163 (main): Call the new functions.
33164 * sysdeps/i386/fpu/libm-test-ulps: Update.
33165 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33166
6c6a98c9
TV
331672012-03-05 Tom de Vries <tom@codesourcery.com>
33168
33169 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
33170 default stack guard is set in last bytes.
33171 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
33172
21bb2d2e 331732012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 33174
21bb2d2e 33175 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 33176
21bb2d2e
AJ
33177 [BZ #13656]
33178 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
33179 possibly allocate from heap instead of stack.
33180 * stdio-common/bug-vfprintf-nargs.c: New file.
33181 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 33182
c6922934
AS
331832012-03-03 Andreas Schwab <schwab@linux-m68k.org>
33184
33185 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33186
bc957d53
MP
331872012-03-03 Marek Polacek <polacek@redhat.com>
33188
33189 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
33190 * math/math_private.h: Likewise.
33191 * stdlib/tst-strtod.c: Likewise.
33192 * sysdeps/i386/i486/bits/atomic.h: Likewise.
33193 * sysdeps/x86_64/bits/atomic.h: Likewise.
33194
6358490d
DM
331952012-03-02 David S. Miller <davem@davemloft.net>
33196
33197 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
33198 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
33199 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
33200 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
33201 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
33202 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
33203 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
33204 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
33205
01ae168d
RM
332062012-03-02 Roland McGrath <roland@hack.frob.com>
33207
d9a17c07
RM
33208 [BZ #13792]
33209 * manual/examples/README: New file, says the example source files
33210 can be used under GPL>=2.
33211 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
33212 line containing just "*/".
33213 * manual/examples/add.c: Add copyright header (GPL>=2).
33214 * manual/examples/argp-ex1.c: Likewise.
33215 * manual/examples/argp-ex2.c: Likewise.
33216 * manual/examples/argp-ex3.c: Likewise.
33217 * manual/examples/argp-ex4.c: Likewise.
33218 * manual/examples/atexit.c: Likewise.
33219 * manual/examples/db.c: Likewise.
33220 * manual/examples/dir.c: Likewise.
33221 * manual/examples/dir2.c: Likewise.
33222 * manual/examples/execinfo.c: Likewise.
33223 * manual/examples/filecli.c: Likewise.
33224 * manual/examples/filesrv.c: Likewise.
33225 * manual/examples/fmtmsgexpl.c: Likewise.
33226 * manual/examples/genpass.c: Likewise.
33227 * manual/examples/inetcli.c: Likewise.
33228 * manual/examples/inetsrv.c: Likewise.
33229 * manual/examples/isockad.c: Likewise.
33230 * manual/examples/longopt.c: Likewise.
33231 * manual/examples/memopen.c: Likewise.
33232 * manual/examples/memstrm.c: Likewise.
33233 * manual/examples/mkfsock.c: Likewise.
33234 * manual/examples/mkisock.c: Likewise.
33235 * manual/examples/mygetpass.c: Likewise.
33236 * manual/examples/pipe.c: Likewise.
33237 * manual/examples/popen.c: Likewise.
33238 * manual/examples/rprintf.c: Likewise.
33239 * manual/examples/search.c: Likewise.
33240 * manual/examples/select.c: Likewise.
33241 * manual/examples/setjmp.c: Likewise.
33242 * manual/examples/sigh1.c: Likewise.
33243 * manual/examples/sigusr.c: Likewise.
33244 * manual/examples/stpcpy.c: Likewise.
33245 * manual/examples/strdupa.c: Likewise.
33246 * manual/examples/strftim.c: Likewise.
33247 * manual/examples/strncat.c: Likewise.
33248 * manual/examples/subopt.c: Likewise.
33249 * manual/examples/swapcontext.c: Likewise.
33250 * manual/examples/termios.c: Likewise.
33251 * manual/examples/testopt.c: Likewise.
33252 * manual/examples/testpass.c: Likewise.
33253 * manual/examples/timeval_subtract.c: Likewise.
33254
01ae168d
RM
33255 [BZ #13792]
33256 * manual/time.texi (Elapsed Time): Move timeval_subtract example
33257 function to ...
33258 * manual/timeval_subtract.c.texi: ... here, new file.
33259
49efa33d
DM
332602012-03-02 David S. Miller <davem@davemloft.net>
33261
33262 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
33263
28afd92d
JM
332642012-03-02 Joseph Myers <joseph@codesourcery.com>
33265
804360ed
JM
33266 [BZ #3976]
33267 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
33268 (__sin): Save and restore rounding mode and use round-to-nearest
33269 for all computations.
33270 (__cos): Save and restore rounding mode and use round-to-nearest
33271 for all computations.
33272 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
33273 <fenv.h>.
33274 (tan): Save and restore rounding mode and use round-to-nearest for
33275 all computations.
33276 * math/libm-test.inc (cos_test_tonearest): New function.
33277 (cos_test_towardzero): Likewise.
33278 (cos_test_downward): Likewise.
33279 (cos_test_upward): Likewise.
33280 (sin_test_tonearest): Likewise.
33281 (sin_test_towardzero): Likewise.
33282 (sin_test_downward): Likewise.
33283 (sin_test_upward): Likewise.
33284 (tan_test_tonearest): Likewise.
33285 (tan_test_towardzero): Likewise.
33286 (tan_test_downward): Likewise.
33287 (tan_test_upward): Likewise.
33288 (main): Call the new functions.
33289 * sysdeps/i386/fpu/libm-test-ulps: Update.
33290 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33291
a6d06d7b
JM
33292 [BZ #10135]
33293 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
33294 small n, then large n, before computing and testing k+n.
33295 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
33296 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
33297 Likewise.
33298 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
33299 Likewise.
33300 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
33301 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
33302 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
33303 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
33304 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
33305 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
33306 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
33307 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
33308 * math/libm-test.inc (scalbn_test): Add more tests.
33309 (scalbln_test): Likewise.
33310
07e12bb3
JM
33311 * manual/filesys.texi (mode_t): Describe constraints on size and
33312 signedness, not exact equivalence to a particular type.
33313 (ino_t): Likewise.
33314 (ino64_t): Likewise.
33315 (dev_t): Likewise.
33316 (nlink_t): Likewise.
33317 (blkcnt_t): Likewise.
33318 (blkcnt64_t): Likewise.
33319 * manual/llio.texi (off_t): Likewise.
33320
28afd92d
JM
33321 [BZ #3976]
33322 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
33323 (__ieee754_exp): Save and restore rounding mode and use
33324 round-to-nearest for all computations.
33325 * math/libm-test.inc (exp_test_tonearest): New function.
33326 (exp_test_towardzero): Likewise.
33327 (exp_test_downward): Likewise.
33328 (exp_test_upward): Likewise.
33329 (main): Call the new functions.
33330 * sysdeps/i386/fpu/libm-test-ulps: Update.
33331 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33332
b1eeb65d
CD
333332012-03-01 Chris Demetriou <cgd@google.com>
33334
33335 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
33336 have predictable order.
33337
53362a4b
DM
333382012-03-01 David S. Miller <davem@davemloft.net>
33339
3c969083
DM
33340 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
33341
759707de
DM
33342 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
33343 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
33344 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
33345 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
33346
dfdb8ff2
DM
33347 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
33348 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
33349 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
33350 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
33351 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
33352 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
33353 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
33354 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
33355 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
33356
ead89f96
DM
33357 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33358
7f66bd07
DM
33359 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
33360 * sysdeps/sparc/fpu/libm-test-ulps: to here.
33361 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
33362
53362a4b
DM
33363 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
33364 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
33365 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
33366 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
33367 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
33368 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
33369 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
33370 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
33371 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
33372 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
33373 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
33374 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
33375 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
33376 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
33377 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
33378 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33379 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
33380 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
33381 * sysdeps/sparc/elf/configure: Regenerated.
33382
7b1902cb
JM
333832012-03-01 Joseph Myers <joseph@codesourcery.com>
33384
bec039bc
JM
33385 * configure.in (AS, LD): Require binutils 2.20 or later.
33386 * configure: Regenerated.
33387 * manual/install.texi (Tools for Compilation): Give binutils 2.20
33388 as required minimum version.
33389 * INSTALL: Regenerated.
33390
7b1902cb
JM
33391 [BZ #2541]
33392 [BZ #4108]
33393 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
33394 before squaring exponent.
33395 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
33396 bottom long double and 27 bits of top long double before squaring
33397 exponent.
33398 * math/libm-test.inc (erfc_test): Add more tests.
33399 * sysdeps/i386/fpu/libm-test-ulps: Update.
33400 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33401 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33402
f775c276
KT
334032012-03-01 Kai Tietz <ktietz@redhat.com>
33404
33405 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
33406 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
33407 containing bit-fields.
33408 * soft-fp/extended.h (_FP_UNION_E): Likewise.
33409 * soft-fp/single.h (_FP_UNION_S): Likewise.
33410 * soft-fp/double.h (_FP_UNION_D): Likewise.
33411
5b8a4d4a
JM
334122012-02-29 Joseph Myers <joseph@codesourcery.com>
33413
0bab47b6
JM
33414 [BZ #13786]
33415 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
33416 not include ../strcmp.S.
33417 [USE_AS_STRNCASECMP_L]: Likewise.
33418 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
33419 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
33420 * sysdeps/i386/i686/multiarch/strncase_l-c.c
33421 (__strncasecmp_l_ia32): Define as alias to
33422 __strncasecmp_l_nonascii.
33423
0fcad3e2
JM
33424 [BZ #5794]
33425 * math/libm-test.inc (expm1_test): Add test for bug 5794.
33426 * sysdeps/i386/fpu/libm-test-ulps: Update.
33427 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33428
5b8a4d4a
JM
33429 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
33430 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33431
8fdceb2e
JL
334322012-02-29 Jeff Law <law@redhat.com>
33433
33434 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
33435 out of bounds read.
33436
1f393a11
MP
334372012-02-29 Marek Polacek <polacek@redhat.com>
33438
33439 [BZ #13706]
33440 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
33441 * elf/Makefile: Add rules to run tst-unused-dep.out.
33442
8847f037
DM
334432012-02-28 David S. Miller <davem@davemloft.net>
33444
33445 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
33446 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
33447 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
33448 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
33449 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
33450 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
33451
169d7f11
JM
334522012-02-29 Joseph Myers <joseph@codesourcery.com>
33453
33454 * math/libm-test.inc (llround_test): Move one test from
33455 lround_test. Use TEST_f_L in moved test.
33456 (lround_test): Move misplaced test to llround_test. Add testcase
33457 from bug 2561.
33458
39adf059
UD
334592012-02-28 Ulrich Drepper <drepper@gmail.com>
33460
33461 * sysdeps/x86_64/fpu/e_expf.S: New file.
33462 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
33463
71b5d1c5
SB
334642012-02-28 Stanislav Brabec <sbrabec@suse.cz>
33465
33466 [BZ #13637]
33467 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
33468 of remain_len that may cause incomplete multi-byte character and
33469 false match.
33470 * posix/bug-regex33.c: New file.
33471 * posix/Makefile (tests): Add bug-regex33.
33472
1f77f049
JM
334732012-02-28 Joseph Myers <joseph@codesourcery.com>
33474
33475 * manual/macros.texi: New file.
33476 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
33477 * manual/libc.texinfo: Include macros.texi.
33478 * manual/creatute.texi: Likewise.
33479 * manual/install.texi: Likewise.
33480 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
33481 @glibcadj{} in references to the GNU C Library.
33482 * manual/charset.texi: Likewise.
33483 * manual/conf.texi: Likewise.
33484 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
33485 when not using those macros.
33486 * manual/creature.texi: Likewise.
33487 * manual/crypt.texi: Likewise.
33488 * manual/errno.texi: Likewise.
33489 * manual/filesys.texi: Likewise.
33490 * manual/header.texi: Likewise.
33491 * manual/install.texi: Likewise.
33492 * manual/intro.texi: Likewise.
33493 * manual/io.texi: Likewise.
33494 * manual/job.texi: Likewise.
33495 * manual/lang.texi: Likewise.
33496 * manual/libc.texiinfo: Likewise.
33497 * manual/llio.texi: Likewise.
33498 * manual/locale.texi: Likewise.
33499 * manual/maint.texi: Likewise.
33500 * manual/math.texi: Likewise.
33501 * manual/memory.texi: Likewise.
33502 * manual/message.texi: Likewise.
33503 * manual/nss.texi: Likewise.
33504 * manual/pattern.texi: Likewise.
33505 * manual/process.texi: Likewise.
33506 * manual/resource.texi: Likewise.
33507 * manual/search.texi: Likewise.
33508 * manual/setjmp.texi: Likewise.
33509 * manual/signal.texi: Likewise.
33510 * manual/socket.texi: Likewise.
33511 * manual/startup.texi: Likewise.
33512 * manual/stdio.texi: Likewise.
33513 * manual/string.texi: Likewise.
33514 * manual/sysinfo.texi: Likewise.
33515 * manual/syslog.texi: Likewise.
33516 * manual/terminal.texi: Likewise.
33517 * manual/time.texi: Likewise.
33518 * manual/users.texi: Likewise.
33519 * INSTALL: Regenerated.
33520 * NOTES: Regenerated.
d40c5d54 33521 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 33522
450bf206
AS
335232012-02-28 Andreas Schwab <schwab@linux-m68k.org>
33524
33525 * include/dirent.h: Include <dirstream.h> before
33526 <dirent/dirent.h>.
33527
741a235b
DM
335282012-02-28 David S. Miller <davem@davemloft.net>
33529
33530 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
33531 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
33532 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
33533 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
33534
d6b5aa58
DM
335352012-02-27 David S. Miller <davem@davemloft.net>
33536
1aff59a3
DM
33537 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
33538 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
33539 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
33540 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
33541
d6b5aa58
DM
33542 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
33543 frame pointer instead of stack pointer relative arg slot.
33544 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
33545 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
33546 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
33547
433f48bf
CD
335482012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
33549
33550 [BZ #3992]
33551 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
33552
d674b76d
DM
335532012-02-27 David S. Miller <davem@davemloft.net>
33554
33555 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
33556 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
33557 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
33558 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
33559 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
33560 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
33561 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
33562 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
33563
0e7727f7
JM
335642012-02-27 Joseph Myers <joseph@codesourcery.com>
33565
33566 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
33567 later. Allow versions 5-9.
43be4ca2 33568 * configure: Regenerated.
0e7727f7
JM
33569 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
33570 required minimum version and 4.6 as recommended version. Do not
33571 mention bugs in GCC 2.7 and 2.8.
43be4ca2 33572 * INSTALL: Regenerated.
0e7727f7 33573
a78bc654
DM
335742012-02-27 David S. Miller <davem@davemloft.net>
33575
428d5830
DM
33576 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
33577 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
33578 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
33579 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
33580 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
33581 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
33582 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
33583 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
33584
a78bc654
DM
33585 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
33586 manipulate bits before adding and subtracting TWO112[sx].
33587 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
33588
4579f81c
RM
335892012-02-27 Roland McGrath <roland@hack.frob.com>
33590
36c8acb4
RM
33591 [BZ #13775]
33592 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
33593 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
33594 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
33595 being in POSIX, because they are in 1003.1-2008.
33596
84ad622b
RM
33597 * rt/tst-aio.c: Include <fcntl.h>.
33598 * rt/tst-aio7.c: Likewise.
33599 * rt/tst-aio64.c: Likewise.
33600
4579f81c
RM
33601 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
33602
abd923db
JM
336032012-02-27 Joseph Myers <joseph@codesourcery.com>
33604
33605 * manual/install.texi (--with-headers): Describe headers as
33606 interface headers, not private headers.
33607 (Specific advice for GNU/Linux systems): Describe use of headers
33608 from "make headers_install", not private headers from older
33609 kernels.
43be4ca2 33610 * INSTALL: Regenerated.
abd923db
JM
33611 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
33612 Change to 2.6.19.
33613 * sysdeps/unix/sysv/linux/configure: Regenerated.
33614
6664049b
JM
33615 * manual/llio.texi (fclean): Remove documentation.
33616
bb8b6697
JM
33617 * manual/Makefile (libc-texi-generated): New variable. Include
33618 version.texi.
33619 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
33620 $(libc-texi-generated), not duplicated list of files.
33621 (version.texi, stamp-version): New rules.
33622 (realclean): Remove $(libc-texi-generated), not individual files
33623 from that list. Do not remove dir-add.texinfo.
33624 * manual/libc.texinfo: Comment out uses of edition numbers and
33625 references to printed manual. Remove last-updated dates.
33626 (EDITION): Comment out.
33627 (ISBN): Likewise.
33628 (VERSION, UPDATED): Remove.
33629 (version.texi): Include.
33630
12e5c3b9
AS
336312012-02-27 Andreas Schwab <schwab@linux-m68k.org>
33632
33633 * sysdeps/posix/spawni.c: Include <signal.h>.
33634 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
33635 * sysdeps/pthread/aio_fsync.c: Likewise.
33636
4efeffc1 336372012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 33638
ba63ba08
UD
33639 * conform/Makefile (tests): Run only when not cross-compiling and
33640 when fast-check is not defined.
33641
d94a4670
UD
33642 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
33643 * conform/data/limits.h-data: Fixes for POSIX2008.
33644 * conform/run-conformtest.sh: Run all tests.
33645 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
33646 headers.
33647 * include/bits/dlfcn.h: Likewise.
33648 * include/langinfo.h: Likewise.
33649 * include/monetary.h: Likewise.
33650 * include/sys/poll.h: Likewise.
33651
33652 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
33653 for __USE_GNU.
33654 * posix/spawn.h: Define __need_sigset_t.
33655 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
33656 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
33657 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
33658 to get sigevent_t only.
33659 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
33660 only for __USE_GNU.
33661 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
33662 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
33663 process_vm_writev only for __USE_GNU.
33664 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
33665
33666 * conform/Makefile: For now ignore errors from run-conformtest.
33667 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
33668 POSIX to avoid namespace pollution. Don't prepend headers.
33669 * conform/data/aio.h-data: Fixes for POSIX testing.
33670 * conform/data/fcntl.h-data: Likewise.
33671 * conform/data/glob.h-data: Likewise.
33672 * conform/data/grp.h-data: Likewise.
33673 * conform/data/pthread.h-data: Likewise.
33674 * conform/data/pwd.h-data: Likewise.
33675 * conform/data/signal.h-data: Likewise.
33676 * conform/data/spawn.h-data: Likewise.
33677 * conform/data/stdio.h-data: Likewise.
33678 * conform/data/stdlib.h-data: Likewise.
33679 * conform/data/stropts.h-data: Likewise.
33680 * conform/data/sys/mman.h-data: Likewise.
33681 * conform/data/sys/stat.h-data: Likewise.
33682 * conform/data/sys/types.h-data: Likewise.
33683 * conform/data/sys/wait.h-data: Likewise.
33684 * conform/data/time.h-data: Likewise.
33685 * conform/data/unistd.h-data: Likewise.
33686 * conform/data/utime.h-data: Likewise.
33687
33688 * io/sys/stat.h: fchmod was always in POSIX.
33689 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
33690 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
33691 * rt/aio.h: Define __need_timespec before including <time.h>.
33692 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
33693 struct. Add forward declaration of pthread_attr_t and use it in
33694 sigevent.
33695 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
33696 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
33697 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
33698 always remove CLK_TCK definition.
33699
c20105c3
AS
337002012-02-26 Andreas Schwab <schwab@linux-m68k.org>
33701
33702 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
33703
7a270350
UD
337042012-02-25 Ulrich Drepper <drepper@gmail.com>
33705
31341567
UD
33706 * conform/run-conformtest.sh: New file.
33707 * conform/Makefile: Run run-conformtest for tests.
33708 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
33709 support.
33710
33711 * conform/data/uchar.h-data: New file.
33712 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
33713 * conform/data/arpa/inet.h-data: Likewise.
33714 * conform/data/assert.h-data: Likewise.
33715 * conform/data/complex.h-data: Likewise.
33716 * conform/data/cpio.h-data: Likewise.
33717 * conform/data/ctype.h-data: Likewise.
33718 * conform/data/dirent.h-data: Likewise.
33719 * conform/data/dlfcn.h-data: Likewise.
33720 * conform/data/errno.h-data: Likewise.
33721 * conform/data/fcntl.h-data: Likewise.
33722 * conform/data/float.h-data: Likewise.
33723 * conform/data/fmtmsg.h-data: Likewise.
33724 * conform/data/fnmatch.h-data: Likewise.
33725 * conform/data/ftw.h-data: Likewise.
33726 * conform/data/glob.h-data: Likewise.
33727 * conform/data/grp.h-data: Likewise.
33728 * conform/data/iconv.h-data: Likewise.
33729 * conform/data/inttypes.h-data: Likewise.
33730 * conform/data/langinfo.h-data: Likewise.
33731 * conform/data/libgen.h-data: Likewise.
33732 * conform/data/limits.h-data: Likewise.
33733 * conform/data/locale.h-data: Likewise.
33734 * conform/data/math.h-data: Likewise.
33735 * conform/data/monetary.h-data: Likewise.
33736 * conform/data/mqueue.h-data: Likewise.
33737 * conform/data/ndbm.h-data: Likewise.
33738 * conform/data/net/if.h-data: Likewise.
33739 * conform/data/netdb.h-data: Likewise.
33740 * conform/data/netinet/in.h-data: Likewise.
33741 * conform/data/nl_types.h-data: Likewise.
33742 * conform/data/poll.h-data: Likewise.
33743 * conform/data/pthread.h-data: Likewise.
33744 * conform/data/pwd.h-data: Likewise.
33745 * conform/data/regex.h-data: Likewise.
33746 * conform/data/sched.h-data: Likewise.
33747 * conform/data/search.h-data: Likewise.
33748 * conform/data/semaphore.h-data: Likewise.
33749 * conform/data/setjmp.h-data: Likewise.
33750 * conform/data/signal.h-data: Likewise.
33751 * conform/data/spawn.h-data: Likewise.
33752 * conform/data/stdarg.h-data: Likewise.
33753 * conform/data/stdio.h-data: Likewise.
33754 * conform/data/stdlib.h-data: Likewise.
33755 * conform/data/string.h-data: Likewise.
33756 * conform/data/strings.h-data: Likewise.
33757 * conform/data/stropts.h-data: Likewise.
33758 * conform/data/sys/ipc.h-data: Likewise.
33759 * conform/data/sys/mman.h-data: Likewise.
33760 * conform/data/sys/msg.h-data: Likewise.
33761 * conform/data/sys/resource.h-data: Likewise.
33762 * conform/data/sys/select.h-data: Likewise.
33763 * conform/data/sys/sem.h-data: Likewise.
33764 * conform/data/sys/shm.h-data: Likewise.
33765 * conform/data/sys/socket.h-data: Likewise.
33766 * conform/data/sys/stat.h-data: Likewise.
33767 * conform/data/sys/statvfs.h-data: Likewise.
33768 * conform/data/sys/time.h-data: Likewise.
33769 * conform/data/sys/timeb.h-data: Likewise.
33770 * conform/data/sys/times.h-data: Likewise.
33771 * conform/data/sys/types.h-data: Likewise.
33772 * conform/data/sys/uio.h-data: Likewise.
33773 * conform/data/sys/un.h-data: Likewise.
33774 * conform/data/sys/utsname.h-data: Likewise.
33775 * conform/data/sys/wait.h-data: Likewise.
33776 * conform/data/syslog.h-data: Likewise.
33777 * conform/data/tar.h-data: Likewise.
33778 * conform/data/termios.h-data: Likewise.
33779 * conform/data/utime.h-data: Likewise.
33780 * conform/data/utmpx.h-data: Likewise.
33781 * conform/data/varargs.h-data: Likewise.
33782 * conform/data/wchar.h-data: Likewise.
33783 * conform/data/wctype.h-data: Likewise.
33784 * conform/data/wordexp.h-data: Likewise.
33785
33786 * include/stropts.h: New file.
33787 * include/uchar.h: New file.
33788 * include/aio.h: Changes to allow conformtest.pl to use the headers.
33789 * include/assert.h: Likewise.
33790 * include/ctype.h: Likewise.
33791 * include/dirent.h: Likewise.
33792 * include/dlfcn.h: Likewise.
33793 * include/fcntl.h: Likewise.
33794 * include/fnmatch.h: Likewise.
33795 * include/glob.h: Likewise.
33796 * include/grp.h: Likewise.
33797 * include/libio.h: Likewise.
33798 * include/locale.h: Likewise.
33799 * include/math.h: Likewise.
33800 * include/net/if.h: Likewise.
33801 * include/netdb.h: Likewise.
33802 * include/netinet/in.h: Likewise.
33803 * include/pthread.h: Likewise.
33804 * include/pwd.h: Likewise.
33805 * include/regex.h: Likewise.
33806 * include/sched.h: Likewise.
33807 * include/search.h: Likewise.
33808 * include/setjmp.h: Likewise.
33809 * include/signal.h: Likewise.
33810 * include/stdio.h: Likewise.
33811 * include/stdlib.h: Likewise.
33812 * include/string.h: Likewise.
33813 * include/sys/cdefs.h: Likewise.
33814 * include/sys/mman.h: Likewise.
33815 * include/sys/msg.h: Likewise.
33816 * include/sys/resource.h: Likewise.
33817 * include/sys/select.h: Likewise.
33818 * include/sys/socket.h: Likewise.
33819 * include/sys/stat.h: Likewise.
33820 * include/sys/statvfs.h: Likewise.
33821 * include/sys/time.h: Likewise.
33822 * include/sys/times.h: Likewise.
33823 * include/sys/uio.h: Likewise.
33824 * include/sys/utsname.h: Likewise.
33825 * include/sys/wait.h: Likewise.
33826 * include/termios.h: Likewise.
33827 * include/time.h: Likewise.
33828 * include/ulimit.h: Likewise.
33829 * include/unistd.h: Likewise.
33830 * include/utime.h: Likewise.
33831 * include/wchar.h: Likewise.
33832 * include/wctype.h: Likewise.
33833 * include/wordexp.h: Likewise.
33834
33835 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
33836
7a270350
UD
33837 * time/time.h: TIME_UTC must be a macro.
33838 Make timespec_get available for ISO C11 only as well.
33839
7724defc
UD
338402012-02-24 Ulrich Drepper <drepper@gmail.com>
33841
33842 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
33843 Reported by Peng Haitao <penght@cn.fujitsu.com>.
33844
6b1d1d46
JM
338452012-02-24 Joseph Myers <joseph@codesourcery.com>
33846
33847 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 33848
0f8bbd69
JM
338492012-02-24 Joseph Myers <joseph@codesourcery.com>
33850
33851 * manual/texinfo.tex: Update to version 2012-01-19.16.
33852
66ab80bc
JM
338532012-02-24 Joseph Myers <joseph@codesourcery.com>
33854
33855 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
33856
74981cc5
RM
338572012-02-24 Roland McGrath <roland@hack.frob.com>
33858
ee968201
RM
33859 [BZ #13738]
33860 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
33861 * manual/fdl-1.3.texi: New file.
33862 * manual/fdl-1.1.texi: File removed.
33863
74981cc5
RM
33864 [BZ #13738]
33865 * manual/libc.texinfo (FDL_VERSION): New @set.
33866 Use it for mention of FDL in cover text.
33867 (Documentation License): Use it in @include file name.
33868
7bb764bc
JM
338692012-02-22 Joseph Myers <joseph@codesourcery.com>
33870 Roland McGrath <roland@hack.frob.com>
33871
33872 [BZ #5461]
33873 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
33874 not LONG_LONG_MAX and LONG_LONG_MIN.
33875 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
33876 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
33877 name.
33878 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
33879
6cbeae47
JM
338802012-02-22 Joseph Myers <joseph@codesourcery.com>
33881
33882 [BZ #2547]
33883 [BZ #11365]
33884 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
33885 manipulate bits before adding and subtracting TWO23[sx].
33886 * math/libm-test.inc (nearbyint_test): Add more tests.
33887
fe45ce09
JM
338882012-02-22 Joseph Myers <joseph@codesourcery.com>
33889
33890 [BZ #2548]
33891 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
33892 bits before adding and subtracting TWO23[sx].
33893 * math/libm-test.inc (rint_test): Add more tests.
33894 (rint_test_tonearest): Likewise.
33895 (rint_test_towardzero): Likewise.
33896 (rint_test_downward): Likewise.
33897 (rint_test_upward: Likewise.
33898
ff3b3d82
JM
338992012-02-22 Joseph Myers <joseph@codesourcery.com>
33900
33901 [BZ #10110]
33902 * include/stdc-predef.h: New file. Extracted from features.h.
33903 * include/features.h: Include stdc-predef.h.
33904 * Makefile (headers): Add stdc-predef.h.
33905 * CONFORMANCE (Compiler limitations): Update.
33906
ef0aab35
JM
339072012-02-22 Joseph Myers <joseph@codesourcery.com>
33908
33909 * manual/libc.texinfo (VERSION, UPDATED): Revert.
33910
58639409
DM
339112012-02-21 David S. Miller <davem@davemloft.net>
33912
33913 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
33914 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
33915
c0e70b25
DM
339162012-02-20 David S. Miller <davem@davemloft.net>
33917
33918 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
33919 using a normal save/restore sequence, rather than allocating a
33920 dummy stack frame just to store a frame pointer and restore.
33921 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
33922
fb06851d
JM
339232012-02-21 Joseph Myers <joseph@codesourcery.com>
33924
33925 * manual/install.texi: Fix stray word in line-wrapped comment.
33926
7a8b71c3
DM
339272012-02-20 David S. Miller <davem@davemloft.net>
33928
d510c123
DM
33929 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
33930 both binutils and gcc support GOTDATA.
33931
0722d7c2
DM
33932 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
33933 "rd %pc" in the PIC register setup sequences.
33934
3d2b3019
DM
33935 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
33936 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
33937 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
33938 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
33939 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
33940 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
33941 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
33942 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
33943 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
33944 (SYSCALL_ERROR_HANDLER): Likewise.
33945 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
33946 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
33947 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
33948 (SYSCALL_ERROR_HANDLER): Likewise.
33949
c80098a9
DM
33950 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
33951 (HAVE_GCC_GOTDATA): New.
33952 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
33953 relocation support in both binutils and gcc.
33954 * sysdeps/sparc/elf/configure: Regenerate.
33955
3a2545a0
DM
33956 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
33957 * sysdeps/sparc/sparc32/elf/configure: Delete.
33958 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
33959 * sysdeps/sparc/sparc64/elf/configure: Delete.
33960 * sysdeps/sparc/elf/configure.in: New file.
33961 * sysdeps/sparc/elf/configure: Generate.
33962
7a8b71c3
DM
33963 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
33964 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
33965 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
33966 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
33967 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
33968
f1e86fca
JM
339692012-02-21 Joseph Myers <joseph@codesourcery.com>
33970
33971 * manual/install.texi: Do not mention specific glibc version
33972 numbers.
33973 * manual/libc.texinfo (VERSION, UPDATED): Update.
33974 (@copying): Use @copyright{} and range of years.
33975
0e7dfaef
JM
339762012-02-21 Joseph Myers <joseph@codesourcery.com>
33977
33978 [BZ #13695]
33979 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
33980 [crti.S not in sysdirs] (generated): Do not append.
33981 [crti.S not in sysdirs] (omit-deps): Likewise.
33982 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
33983 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
33984 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
33985 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
33986 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
33987 Likewise.
33988 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
33989 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
33990 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
33991 * csu/defs.awk: Remove file.
33992 * sysdeps/generic/initfini.c: Likewise.
33993 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
33994 variable.
33995 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
33996 Likewise.
33997
599af3ca
JM
339982012-02-20 Joseph Myers <joseph@codesourcery.com>
33999
34000 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
34001 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
34002 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
34003 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
34004 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
34005 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
34006 <bits/epoll.h>.
34007 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
34008 (__EPOLL_PACKED): Define to empty if not defined by
34009 <bits/epoll.h>.
34010 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
34011 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34012 bits/epoll.h.
34013
0e499750
JM
340142012-02-20 Joseph Myers <joseph@codesourcery.com>
34015
34016 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
34017 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
34018 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
34019 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
34020 <bits/timerfd.h>.
34021 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
34022 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34023 bits/timerfd.h.
34024
5ad91f6e
JM
340252012-02-20 Joseph Myers <joseph@codesourcery.com>
34026
34027 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
34028 in C locale.
34029 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34030 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
34031 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
34032 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34033
06b99b02
AJ
340342012-02-20 Aurelien Jarno <aurelien@aurel32.net>
34035
34036 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34037 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
34038
7638c0fd
AS
340392012-02-19 Andreas Schwab <schwab@linux-m68k.org>
34040
34041 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
34042 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
34043 defined.
34044 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
34045 Likewise.
34046 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
34047 entry for 2.16.
34048
92221550
AJ
340492012-02-19 Aurelien Jarno <aurelien@aurel32.net>
34050
34051 * math/w_acos.c: Use non-signaling floating-point comparisons.
34052 * math/w_acosf.c: Likewise.
34053 * math/w_acosh.c: Likewise.
34054 * math/w_acoshf.c: Likewise.
34055 * math/w_acoshl.c: Likewise.
34056 * math/w_acosl.c: Likewise.
34057 * math/w_asin.c: Likewise.
34058 * math/w_asinf.c: Likewise.
34059 * math/w_asinl.c: Likewise.
34060 * math/w_atanh.c: Likewise.
34061 * math/w_atanhf.c: Likewise.
34062 * math/w_atanhl.c: Likewise.
34063 * math/w_exp2.c: Likewise.
34064 * math/w_exp2f.c: Likewise.
34065 * math/w_exp2l.c: Likewise.
34066 * math/w_j0.c: Likewise.
34067 * math/w_j0f.c: Likewise.
34068 * math/w_j0l.c: Likewise.
34069 * math/w_j1.c: Likewise.
34070 * math/w_j1f.c: Likewise.
34071 * math/w_j1l.c: Likewise.
34072 * math/w_jn.c: Likewise.
34073 * math/w_jnf.c: Likewise.
34074 * math/w_log.c: Likewise.
34075 * math/w_log10.c: Likewise.
34076 * math/w_log10f.c: Likewise.
34077 * math/w_log10l.c: Likewise.
34078 * math/w_log2.c: Likewise.
34079 * math/w_log2f.c: Likewise.
34080 * math/w_log2l.c: Likewise.
34081 * math/w_logf.c: Likewise.
34082 * math/w_logl.c: Likewise.
34083 * math/w_sqrt.c: Likewise.
34084 * math/w_sqrtf.c: Likewise.
34085 * math/w_sqrtl.c: Likewise.
34086 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
34087 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
34088 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
34089 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
34090 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
34091
ebaf36eb
JM
340922012-02-19 Joseph Myers <joseph@codesourcery.com>
34093
34094 [BZ #9739]
34095 * manual/string.texi (strnlen): Use correct parameter name in
34096 equivalent expression.
34097
71c254a6
JM
340982012-02-19 Joseph Myers <joseph@codesourcery.com>
34099
34100 [BZ #11174]
34101 * manual/users.texi (seteuid): Consistently use neweuid for
34102 argument name.
34103
16d2c631
JM
341042012-02-19 Joseph Myers <joseph@codesourcery.com>
34105
34106 [BZ #13704]
34107 * manual/nss.texi (Services in the NSS configuration): Correct
34108 list of services in example configuration file.
34109
cd837b09
NB
341102012-02-19 Nick Bowler <nbowler@draconx.ca>
34111
34112 [BZ #11322]
34113 * manual/arith.texi: Remove statements about negative zero
34114 behaving identically to zero.
34115
02c4bbad
JM
341162012-02-18 Joseph Myers <joseph@codesourcery.com>
34117
34118 [BZ #5993]
34119 * manual/install.texi: Do not document upgrading from libc5.
34120
366842e7
JM
341212012-02-18 Joseph Myers <joseph@codesourcery.com>
34122
34123 [BZ #4596]
34124 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
34125
dd54084d
DM
341262012-02-18 David S. Miller <davem@davemloft.net>
34127
34128 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
34129 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
34130 %o7 across the call.
34131 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
34132 instead.
34133 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
34134 SETUP_PIC_REG_LEAF.
34135 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34136 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
34137 * sysdeps/sparc/crtn.S: Likewise.
34138
2bcc53a3
UD
341392012-02-17 Ulrich Drepper <drepper@gmail.com>
34140
34141 * aout/Makefile: Remove.
34142
09c093b5
RK
341432012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
34144
34145 [BZ #13058]
34146 * manual/examples/argp-ex1.c (main): Format definition in GNU
34147 style.
34148 * manual/examples/argp-ex2.c (main): Likewise.
34149 * manual/examples/argp-ex3.c (main): Likewise.
34150 * manual/examples/argp-ex4.c (main): Likewise.
34151 * manual/examples/longopt.c (main): Use new-style prototype
34152 definition.
34153 * manual/examples/strncat.c (main): Specify return type and use
34154 (void) for arguments.
34155 * manual/examples/subopt.c (main): Use char **argv argument.
34156
2ee633a2
JM
341572012-02-17 Joseph Myers <joseph@codesourcery.com>
34158
34159 [BZ #5077]
34160 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
34161 rounding modes.
34162
0520adde
FB
341632012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
34164
34165 [BZ #6907]
34166 * manual/string.texi (strchr): Change when strchrnul is
34167 recommended.
34168
3f4081cd
DGM
341692012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
34170
34171 [BZ #174]
34172 * manual/locale.texi (setlocale): Document LOCPATH.
34173
d1b10e78
JM
341742012-02-17 Joseph Myers <joseph@codesourcery.com>
34175
34176 [BZ #10210]
34177 * manual/process.texi (execle): Move @dots{} before last argument.
34178
79c6869c
PB
341792012-02-17 Paul Bolle <pebolle@tiscali.nl>
34180
34181 [BZ #12047]
34182 * manual/charset.texi (Generic Charset Conversion): Fix typo
34183 (LC_TYPE -> LC_CTYPE).
34184
cc6e48bc
NB
341852012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
34186
34187 [BZ #5805]
34188 * manual/arith.texi (scalbn): Use @var{} on parameter names.
34189 (scalbnf): Likewise.
34190 (scalbnl): Likewise.
34191 (scalbln): Likewise.
34192 (scalblnf): Likewise.
34193 (scalblnl): Likewise.
34194 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
34195 (vwarnx): Likewise.
34196 (verr): Likewise.
34197 (verrx): Likewise.
34198 * manual/filesys.texi (telldir): Use braces around return type.
34199 * manual/llio.texi (mmap): Add space after comma.
34200 (mmap64): Likewise.
34201 * manual/math.texi (jn): Use @var{} on parameter names.
34202 (jnf): Likewise.
34203 (jnl): Likewise.
34204 (yn): Likewise.
34205 (ynf): Likewise.
34206 (ynl): Likewise.
34207 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
34208 line.
34209 * manual/resource.texi (ulimit): Use @dots{} instead of literal
34210 "...".
34211 (sched_get_priority_min): Remove semicolon on @deftypefun line.
34212 (sched_get_priority_max): Likewise.
34213 * manual/signal.texi (sigvec): Add space after comma.
34214 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
34215 names.
34216 (if_indextoname): Likewise.
34217 (if_freenameindex): Likewise.
34218 (sendto): Use ',' instead of '.' in prototype.
34219 * manual/startup.texi (syscall): Use @dots{} instead of literal
34220 "...".
34221 * manual/stdio.texi (__fpending): Separate initial words of
34222 paragraph from @deftypefun line.
34223 * manual/syslog.texi (syslog): Use @dots{} instead of literal
34224 "...".
34225 (vsyslog): Use @var{} on parameter names.
34226 * manual/terminal.texi (stty): Use @var{} on parameter names.
34227 * manual/users.texi (getutmp): Use @var{} on parameter names.
34228 (getutmpx): Likewise.
34229
5b23062f
JM
342302012-02-17 Joseph Myers <joseph@codesourcery.com>
34231
34232 [BZ #6884]
34233 * manual/stdio.texi (fopen): Fix typos in description of
34234 ",ccs=STRING".
34235
8dee4833
AJ
342362012-02-17 Aurelien Jarno <aurelien@aurel32.net>
34237
34238 [BZ #4026]
34239 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
34240 get clock_id definition.
34241
9078ce93
TS
342422012-02-17 Thomas Schwinge <thomas@schwinge.name>
34243
34244 [BZ #4822]
34245 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
34246 (madvise): Cast every argument to void on its own.
34247
3835c55f
JM
342482012-02-17 Joseph Myers <joseph@codesourcery.com>
34249
34250 [BZ #9902]
34251 * manual/startup.texi (Exit Status): Fix typo.
34252
35c47e37
JM
342532012-02-17 Joseph Myers <joseph@codesourcery.com>
34254
34255 [BZ #10140]
34256 * manual/examples/argp-ex1.c: Include <stdlib.h>.
34257 * manual/examples/argp-ex2.c: Likewise.
34258 * manual/examples/argp-ex3.c: Likewise.
34259
e3b69ca7
RH
342602012-02-16 Richard Henderson <rth@redhat.com>
34261
34262 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
34263 * sysdeps/s390/s390-32/initfini.c: Remove.
34264 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
34265 * sysdeps/s390/s390-64/initfini.c: Remove.
34266
df83af67
KK
342672012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
34268
34269 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
34270 compiler output for sysdeps/generic/initfini.c.
34271 * sysdeps/sh/elf/initfini.c: Remove file.
34272
f63f3380
DM
342732012-02-16 David S. Miller <davem@davemloft.net>
34274
fb59b3a4
DM
34275 [BZ #11494]
34276 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
34277
f63f3380
DM
34278 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
34279 * sysdeps/sparc/crti.S: New file.
34280 * sysdeps/sparc/crtn.S: New file.
34281 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
34282 * sysdeps/sparc/sparc64/Makefile: Likewise.
34283
df6a4a4a
MF
342842012-02-15 Mike Frysinger <vapier@gentoo.org>
34285
6dd8f3dc 34286 [BZ #3335]
df6a4a4a
MF
34287 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
34288
1cac7236
RM
342892012-02-15 Roland McGrath <roland@hack.frob.com>
34290
d2c736f8
RM
34291 [BZ #4822]
34292 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
34293
1cac7236
RM
34294 * mach/devstream.c (cookie_io_functions_t): Macro removed.
34295 (write, read, close): Likewise.
34296 Patch by Aurelien Jarno <aurelien@aurel32.net>.
34297
8e475601
JM
342982012-02-15 Joseph Myers <joseph@codesourcery.com>
34299
34300 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
34301 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
34302 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
34303 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
34304 <bits/signalfd.h>.
34305 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
34306 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34307 bits/signalfd.h.
34308
ed656b40
MP
343092012-02-14 Marek Polacek <polacek@redhat.com>
34310
34311 * sysdeps/x86_64/crti.S: New file.
34312 * sysdeps/x86_64/crtn.S: New file.
34313 * sysdeps/x86_64/elf/initfini.c: Remove file.
34314
2a979d3a
JM
343152012-02-13 Joseph Myers <joseph@codesourcery.com>
34316
34317 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
34318 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
34319 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
34320 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
34321 <bits/inotify.h>.
34322 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
34323 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34324 bits/inotify.h.
34325
2a418ac3
JM
343262012-02-13 Joseph Myers <joseph@codesourcery.com>
34327
34328 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
34329 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
34330 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
34331 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
34332 <bits/eventfd.h>.
34333 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
34334 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34335 bits/eventfd.h.
34336
fb779be7
TS
343372012-02-10 Thomas Schwinge <thomas@codesourcery.com>
34338
e19e83c5
RM
34339 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
34340 __feraiseexcept instead of feraiseexcept.
7c35ffed 34341
fb779be7
TS
34342 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
34343 nanosleep invocations.
34344 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
34345 strings, and add error checking for a nanosleep invocations.
34346
59ba27a6
PE
343472012-02-09 Paul Eggert <eggert@cs.ucla.edu>
34348
34349 Replace FSF snail mail address with URLs, as per GNU coding standards.
34350 Most of the snail mail addresses were wrong anyway, and omitting
34351 them makes the source code easier to maintain. Almost all of the
34352 changes are to license notices and to locale LC_IDENTIFICATION
34353 addresses, except for this one:
34354 * manual/libc.texinfo: In "Published by", give the FSF's URL,
34355 not its snail mail address.
34356
57b957eb
RH
343572012-02-09 Richard Henderson <rth@twiddle.net>
34358
af850b1c
RH
34359 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
34360 of kernel-features.h.
34361
57b957eb
RH
34362 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
34363
6b73181a
MP
343642012-02-08 Marek Polacek <polacek@redhat.com>
34365
34366 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
34367 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
34368 * sysdeps/gnu/_G_config.h: Likewise.
34369 * sysdeps/generic/_G_config.h: Likewise.
34370
26ecc33a
AS
343712012-02-08 Andreas Schwab <schwab@linux-m68k.org>
34372
6c6dbc63
AS
34373 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
34374 tests.
34375 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34376
e216c012
AS
34377 * sysdeps/powerpc/powerpc32/crti.S: New file.
34378 * sysdeps/powerpc/powerpc32/crtn.S: New file.
34379 * sysdeps/powerpc/powerpc64/crti.S: New file.
34380 * sysdeps/powerpc/powerpc64/crtn.S: New file.
34381
26ecc33a
AS
34382 * Makeconfig (have-initfini): Don't set.
34383 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
34384 * configure.in (nopic_initfini): Don't substitute.
34385 * config.h.in (HAVE_INITFINI): Don't #undef.
34386 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
34387 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
34388
3add8e13
JM
343892012-02-08 Joseph Myers <joseph@codesourcery.com>
34390
34391 Support crti.S and crtn.S provided directly by architectures.
34392 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
34393 [crti.S in sysdirs] (omit-deps): Likewise.
34394 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
34395 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
34396 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
34397 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
34398 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
34399 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
34400 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
34401 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
34402 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
34403 compiler output for sysdeps/generic/initfini.c.
34404 * sysdeps/i386/elf/Makefile: Remove file.
34405 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
34406
a22f12b4
MP
344072012-02-07 Marek Polacek <polacek@redhat.com>
34408
34409 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
34410 * sysdeps/gnu/_G_config.h: Likewise.
34411 * sysdeps/mach/hurd/_G_config.h: Likewise.
34412
148cf100
MP
344132012-02-07 Marek Polacek <polacek@redhat.com>
34414
34415 * math/Makefile (tests): Add tst-CMPLX2.
34416 * math/tst-CMPLX2.c: New file.
34417
cfdc0dd7
AS
344182012-02-07 Andreas Schwab <schwab@linux-m68k.org>
34419
84ba42c4
AS
34420 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34421
cfdc0dd7
AS
34422 * math/libm-test.inc (jn_test): Add missing L suffix.
34423
622c86f4
MP
344242012-02-06 Marek Polacek <polacek@redhat.com>
34425
34426 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
34427 * sysdeps/i386/fpu/e_powf.S: Likewise.
34428 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
34429 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
34430 * sysdeps/i386/fpu/e_acosh.S: Likewise.
34431 * sysdeps/i386/fpu/e_pow.S: Likewise.
34432 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
34433 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
34434 * sysdeps/i386/fpu/s_expm1.S: Likewise.
34435 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
34436 * sysdeps/i386/fpu/e_log2.S: Likewise.
34437 * sysdeps/i386/fpu/e_log2l.S: Likewise.
34438 * sysdeps/i386/fpu/e_scalb.S: Likewise.
34439 * sysdeps/i386/fpu/e_powl.S: Likewise.
34440 * sysdeps/i386/fpu/s_log1p.S: Likewise.
34441 * sysdeps/i386/fpu/e_log10f.S: Likewise.
34442 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
34443 * sysdeps/i386/fpu/e_logl.S: Likewise.
34444 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
34445 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
34446 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
34447 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
34448 * sysdeps/i386/fpu/e_log2f.S: Likewise.
34449 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
34450 * sysdeps/i386/fpu/e_log.S: Likewise.
34451 * sysdeps/i386/fpu/s_cexp.S: Likewise.
34452 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
34453 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
34454 * sysdeps/i386/fpu/e_logf.S: Likewise.
34455 * sysdeps/i386/fpu/e_log10l.S: Likewise.
34456 * sysdeps/i386/fpu/e_atanh.S: Likewise.
34457 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
34458 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
34459 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
34460 * sysdeps/i386/fpu/e_log10.S: Likewise.
34461 * sysdeps/i386/fpu/s_frexp.S: Likewise.
34462 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
34463 * sysdeps/i386/fpu/s_asinh.S: Likewise.
34464 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
34465 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
34466 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
34467 * sysdeps/i386/asm-syntax.h: Likewise.
34468 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
34469 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
34470 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
34471 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
34472 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
34473 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
34474 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
34475 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
34476 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
34477 * sysdeps/powerpc/sysdep.h: Likewise.
34478 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
34479 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
34480
d4a54ac6
JM
344812012-02-06 Joseph Myers <joseph@codesourcery.com>
34482
34483 [BZ #411]
34484 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
34485
314054ea
JM
344862012-02-06 Joseph Myers <joseph@codesourcery.com>
34487
34488 * sysdeps/i386/sysdep.h: Include <features.h>.
34489 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
34490 version.
34491
d8e0ca50
JM
344922012-02-05 Joseph Myers <joseph@codesourcery.com>
34493
34494 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
34495 Define.
34496 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
34497 LOAD_PIC_REG_STR.
34498
b1da7dd9
JM
344992012-02-03 Joseph Myers <joseph@codesourcery.com>
34500
34501 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
34502 (SETUP_PIC_REG): Use GET_PC_THUNK.
34503 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
34504 macro.
34505
9a1d9254
JM
345062012-02-03 Joseph Myers <joseph@codesourcery.com>
34507
34508 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
34509 for non-PIC compilation.
34510 (SETUP_PIC_REG): Add .p2align directive.
34511 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
34512 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
34513 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
34514 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
34515 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
34516 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
34517 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
34518 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
34519 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
34520 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
34521 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
34522 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
34523 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
34524 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
34525 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
34526 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
34527 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
34528 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
34529 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
34530 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
34531 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
34532 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
34533 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
34534 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
34535 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
34536 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
34537 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
34538 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
34539 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
34540 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
34541 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
34542 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
34543 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
34544 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
34545 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
34546 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
34547 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
34548 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
34549 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
34550 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
34551 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
34552
65dc3b75
JM
345532012-02-03 Joseph Myers <joseph@codesourcery.com>
34554
34555 * math/tst-CMPLX.c: Include <stdio.h>.
34556
d55bf177
JM
345572012-01-31 Joseph Myers <joseph@codesourcery.com>
34558
34559 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
34560 float.
34561 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
34562 * sysdeps/sparc/bits/mathdef.h: Likewise.
34563
69db4f8f
MP
345642012-01-31 Marek Polacek <polacek@redhat.com>
34565
34566 * libio/libio.h: Don't define _PARAMS.
34567 * locale/programs/config.h: Don't define PARAMS.
34568 * stdlib/strtol_l.c: Likewise.
34569 (__strtol_l): Remove PARAMS from the prototype.
34570
41b81892
UD
345712012-01-31 Ulrich Drepper <drepper@gmail.com>
34572
3b49edc0
UD
34573 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
34574 names. Just use the correct names. Remove unnecessary wrapper
34575 functions.
34576 * malloc/arena.c: Likewise.
34577 * malloc/hooks.c: Likewise.
34578
41b81892
UD
34579 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
34580 ARENA_TEST says not to. Simplify test for creation of a new arena.
34581 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
34582
27a25b6e
UD
345832012-01-30 Ulrich Drepper <drepper@gmail.com>
34584
34585 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
34586 into tail calls.
34587 (update_get_addr): New function.
34588 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
34589 GET_ADDR_MODULE parameter.
34590
c8a89e7d
JM
345912012-01-30 Joseph Myers <joseph@codesourcery.com>
34592
34593 * crypt/cert.c: Remove __STDC__ conditionals.
34594 * crypt/crypt-entry.c: Likewise.
34595 * crypt/crypt_util.c: Likewise.
34596 * libio/filedoalloc.c: Likewise.
34597 * libio/fileops.c: Likewise.
34598 * libio/genops.c: Likewise.
34599 * libio/iofclose.c: Likewise.
34600 * libio/iofdopen.c: Likewise.
34601 * libio/iofopen.c: Likewise.
34602 * libio/iofopen64.c: Likewise.
34603 * libio/iogetdelim.c: Likewise.
34604 * libio/iopopen.c: Likewise.
34605 * libio/obprintf.c: Likewise.
34606 * libio/oldfileops.c: Likewise.
34607 * libio/oldiofclose.c: Likewise.
34608 * libio/oldiofdopen.c: Likewise.
34609 * libio/oldiofopen.c: Likewise.
34610 * libio/oldiopopen.c: Likewise.
34611 * libio/wfiledoalloc.c: Likewise.
34612 * libio/wgenops.c: Likewise.
34613 * locale/programs/xmalloc.c: Likewise.
34614 * misc/syslog.c: Likewise.
34615 * stdio-common/xbug.c: Likewise.
34616 * string/memchr.c: Likewise.
34617 * string/memcmp.c: Likewise.
34618 * string/memrchr.c: Likewise.
34619 * string/rawmemchr.c: Likewise.
34620 * sysdeps/posix/getcwd.c: Likewise.
34621 * time/strftime_l.c: Likewise.
34622
3b100462
JM
346232012-01-30 Joseph Myers <joseph@codesourcery.com>
34624
34625 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
34626 * config.make.in (config-cflags-sse2avx): Define.
34627 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
34628 Fix typo.
34629
607998af
CM
346302012-01-29 Chris Metcalf <cmetcalf@tilera.com>
34631
34632 * scripts/config.guess: Update from upstream config git repository.
34633 * scripts/config.sub: Likewise.
34634
3601428f
CM
346352012-01-28 Chris Metcalf <cmetcalf@tilera.com>
34636
3ac8b282
CM
34637 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
34638 (EM_NUM): Update.
34639 (R_TILEPRO_*, R_TILEGX_*): New macros.
34640
e034841e
CM
34641 * scripts/firstversions.awk: Fix bug in version range handling.
34642
540d7568
CM
34643 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
34644
3601428f
CM
34645 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
34646
463de862
CM
34647 * include/sys/epoll.h: New file.
34648 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
34649 libc_hidden_def.
34650
73139a76
UD
346512012-01-28 Ulrich Drepper <drepper@gmail.com>
34652
96bc5b45
UD
34653 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
34654 Avoid unnecessary __WORDSIZE == 64 test.
34655 (fmaxf): Use VEX format if possible.
34656 (fmax): Likewise.
34657 (fminf): Likewise.
34658 (fmin): Likewise.
34659
56f6f6a2
UD
34660 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
34661 * math/math_private.h: Remove libc_fegetround* and
34662 libc_fesetround*.
34663 * sysdeps/i386/configure.in: Check for -msse2avx.
34664 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
34665 also if SSE2AVX is defined.
34666 Remove libc_fegetround* and libc_fesetround*.
34667 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
34668 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
34669 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
34670 of HAS_YMM_USABLE.
34671 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
34672 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
34673 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
34674 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
34675 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
34676
73139a76
UD
34677 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
34678
d73f93a4
AZ
346792012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34680
34681 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
34682 size is not set.
34683 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
34684
6ee65ed6
UD
346852012-01-27 Ulrich Drepper <drepper@gmail.com>
34686
34687 [BZ #13618]
34688 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
34689 relocation.
34690 * Makeconfig (libm): Define.
34691 * elf/Makefile: Add rules to build and run tst-relsort1.
34692 * elf/tst-relsort1.c: New file.
34693 * elf/tst-relsort1mod1.c: New file.
34694 * elf/tst-relsort1mod2.c: New file.
34695
8db21882
JM
346962012-01-27 Joseph Myers <joseph@codesourcery.com>
34697
34698 * math/s_ldexp.c: Remove __STDC__ conditionals.
34699 * math/s_ldexpf.c: Likewise.
34700 * math/s_ldexpl.c: Likewise.
34701 * math/s_nextafter.c: Likewise.
34702 * math/s_nexttowardf.c: Likewise.
34703 * math/s_significand.c: Likewise.
34704 * math/s_significandf.c: Likewise.
34705 * math/s_significandl.c: Likewise.
34706 * math/w_jnl.c: Likewise.
34707 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
34708 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
34709 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
34710 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
34711 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
34712 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
34713 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
34714 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
34715 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
34716 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
34717 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
34718 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
34719 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
34720 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
34721 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
34722 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
34723 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
34724 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
34725 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
34726 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
34727 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
34728 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
34729 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
34730 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
34731 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
34732 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
34733 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
34734 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
34735 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
34736 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
34737 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
34738 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
34739 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
34740 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
34741 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
34742 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
34743 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
34744 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
34745 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
34746 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
34747 * sysdeps/ieee754/k_standard.c: Likewise.
34748 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
34749 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
34750 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
34751 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
34752 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
34753 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
34754 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
34755 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
34756 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
34757 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
34758 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
34759 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
34760 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
34761 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
34762 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
34763 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
34764 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
34765 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
34766 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
34767 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
34768 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
34769 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
34770 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
34771 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
34772 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
34773 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
34774 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
34775 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
34776 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
34777 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
34778 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
34779 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
34780 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
34781 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
34782 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
34783 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
34784 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
34785 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
34786 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
34787 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
34788 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
34789 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
34790 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
34791 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
34792 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
34793 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
34794 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
34795 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
34796 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
34797 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
34798 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
34799 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
34800 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
34801 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
34802 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
34803 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
34804 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
34805 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
34806 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
34807 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
34808 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
34809 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
34810 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
34811 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
34812 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
34813 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
34814 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
34815 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
34816 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
34817 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
34818 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
34819 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
34820 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
34821 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
34822 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
34823 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
34824 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
34825 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
34826 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
34827 * sysdeps/ieee754/s_matherr.c: Likewise.
34828 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
34829 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
34830 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
34831 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
34832
965a54a4
JM
348332012-01-26 Joseph Myers <joseph@codesourcery.com>
34834
34835 * crypt/md5.h: Remove __STDC__ conditionals.
34836 * libio/libioP.h: Likewise.
34837 * locale/programs/config.h: Likewise.
34838 * sysdeps/generic/sysdep.h: Likewise.
34839 * sysdeps/i386/asm-syntax.h: Likewise.
34840 * sysdeps/s390/asm-syntax.h: Likewise.
34841 * sysdeps/unix/sysdep.h: Likewise.
34842 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
34843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
34844
7071ad79
JM
348452012-01-26 Joseph Myers <joseph@codesourcery.com>
34846
34847 * libio/libio.h: Remove __STDC__ conditionals.
34848 * malloc/obstack.h: Likewise.
34849 * math/complex.h: Likewise.
34850 * math/math.h: Likewise.
34851 * sysdeps/generic/_G_config.h: Likewise.
34852 * sysdeps/gnu/_G_config.h: Likewise.
34853 * sysdeps/mach/hurd/_G_config.h: Likewise.
34854 * sysdeps/powerpc/bits/mathdef.h: Likewise.
34855 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
34856 * sysdeps/sparc/bits/mathdef.h: Likewise.
34857
afc5ed09
UD
348582012-01-26 Ulrich Drepper <drepper@gmail.com>
34859
34860 [BZ #13583]
34861 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 34862 Clean up HAS_* macros.
afc5ed09 34863 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
34864 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
34865 possible.
34866 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
34867 HAS_AVX.
34868 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
34869 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
34870 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
34871 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
34872 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 34873
bdb6de1d
JM
348742012-01-25 Joseph Myers <joseph@codesourcery.com>
34875
34876 * elf/tst-unique3.cc (gets): Remove declaration.
34877 * elf/tst-unique3lib.cc (gets): Likewise.
34878 * elf/tst-unique3lib2.cc (gets): Likewise.
34879 * elf/tst-unique4.cc (gets): Likewise.
34880
b15549e6
UD
348812012-01-24 Ulrich Drepper <drepper@gmail.com>
34882
34883 * include/stdio.h: Add C++ protection. Add gets declarations and
34884 definitions.
34885 * debug/tst-chk1.c: Don't declare gets here.
34886 * stdio-common/tst-gets.c: Likewise.
34887
a037381f
JM
348882012-01-24 Joseph Myers <joseph@codesourcery.com>
34889
34890 * posix/glob: Remove directory.
34891
f1d4aa75
JM
348922012-01-24 Joseph Myers <joseph@codesourcery.com>
34893
34894 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
34895
81c0c964
PT
348962012-01-22 Pino Toscano <toscano.pino@tiscali.it>
34897
34898 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
34899 of the non-standard EPFNOSUPPORT.
34900
0ea698ae
ST
349012011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
34902
34903 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
34904 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
34905 ANYWHERE set to 1 only on KERN_NO_SPACE error.
34906
d220b117
UD
349072012-01-21 Ulrich Drepper <drepper@gmail.com>
34908
34909 * wcsmbs/uchar.h: Test __STDC_VERSION__.
34910
3e1aa84e
UD
349112012-01-20 Ulrich Drepper <drepper@gmail.com>
34912
34913 * nscd/aicache.c (addhstaiX): Do not cache negative results of
34914 transient errors.
34915 * nscd/grpcache.c (cache_addgr): Likewise.
34916 * nscd/hstcache.c (cache_addhst): Likewise.
34917 * nscd/initgrcache.c (addinitgroupsX): Likewise.
34918 * nscd/pwdcache.c (cache_addpw): Likewise.
34919 * nscd/servicescache.c (cache_addserv): Likewise.
34920
400aa020
UD
349212012-01-16 Ulrich Drepper <drepper@gmail.com>
34922
d77e7869
UD
34923 * malloc/malloc.c: Various cleanups.
34924 * malloc/hooks.c: Likewise.
34925
400aa020
UD
34926 * stdlib/Makefile (tests): Add bug-fmtmsg1.
34927 * stdlib/bug-fmtmsg1.c: New file.
34928
34929 * stdlib/fmtmsg.c (init): Add missing unlock.
34930 Patch by Peng Haitao <penght@cn.fujitsu.com>.
34931
e0a309cf
MP
349322012-01-12 Marek Polacek <polacek@redhat.com>
34933
34934 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
34935 and _GNU_SOURCE.
34936
929d11c7
WS
349372012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
34938
34939 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
34940 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
34941 macro to ensure uniqueness of label name.
34942 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
34943 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
34944
41d0e869
UD
349452012-01-11 Ulrich Drepper <drepper@gmail.com>
34946
0cc5ed3b
UD
34947 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
34948
41d0e869
UD
34949 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
34950 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
34951 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
34952 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
34953
a47a831a
UD
349542012-01-10 Ulrich Drepper <drepper@gmail.com>
34955
daa891c0
UD
34956 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
34957
34958 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
34959 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
34960 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
34961
e58ef0f2
UD
34962 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
34963
a47a831a 34964 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
34965 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
34966 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 34967 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
34968
34969 * math/bits/math-finite.h: Add ldexp support.
34970
a0bfc9c7
MP
349712012-01-10 Marek Polacek <polacek@redhat.com>
34972
34973 * locale/programs/localedef.h (show_archive_content): Add noreturn
34974 attribute.
34975
d6e97a1d
UD
349762012-01-09 Ulrich Drepper <drepper@gmail.com>
34977
34978 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
34979
d5835c26
UD
349802012-01-08 Ulrich Drepper <drepper@gmail.com>
34981
e5f484c6
UD
34982 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
34983
d5835c26
UD
34984 * io/Makefile (headers): Add bits/poll2.h.
34985
d1f741e9
WS
349862011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
34987
34988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
34989 typo #include statement.
34990
ec09c1c4
UD
349912012-01-08 Ulrich Drepper <drepper@gmail.com>
34992
34993 * include/sys/cdefs.h: Define __attribute_alloc_size.
34994 * catgets/gencat.c: Add alloc_size attribute and apply consistently
34995 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
34996 * elf/pldd.c: Likewise.
34997 * iconv/iconv_charmap.c: Likewise.
34998 * iconv/iconvconfig.c: Likewise.
34999 * iconv/strtab.c: Likewise.
35000 * locale/programs/locale.c: Likewise.
35001 * locale/programs/localedef.h: Likewise.
35002 * locale/programs/simple-hash.c: Likewise.
35003 * nscd/nscd.h: Likewise.
35004 * nss/makedb.c: Likewise.
35005 * sysdeps/generic/ldconfig.h: Likewise.
35006 * locale/programs/localedef.c: Remove xmalloc prototype.
35007 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
35008
20b38e03
PP
350092012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
35010
35011 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
35012 appropriate.
35013
a0da5fe1
UD
350142012-01-08 Ulrich Drepper <drepper@gmail.com>
35015
1d5a644a 35016 * math/Makefile (tests): Add tst-CMPLX.
669704fd 35017 * math/tst-CMPLX.c: New file.
1d5a644a 35018
8784a6db
UD
35019 * math/complex.h (CMPLXL): Fix typo.
35020
d9a216c0
UD
35021 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
35022 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
35023 GLIBC_2.16.
35024 * debug/tst-chk1.c: Add poll and ppoll tests.
35025 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
35026 * include/sys/poll.h: Add hidden proto for ppoll.
35027 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
35028 * sysdeps/mach/hurd/ppoll.c: Likewise.
35029 * io/ppoll.c: Likewise.
35030 * debug/poll_chk.c: New file.
35031 * debug/ppoll_chk.c: New file.
35032 * include/bits/poll2.h: New file.
35033 * io/bits/poll2.h: New file.
35034
ac097f5c
UD
35035 [BZ #1350]
35036 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
35037
2119dcfa
UD
35038 * configure.in: static is always set to yes. Remove.
35039 * config.make.in: Don't set build-static.
35040 * Makeconfig: Remove use of build-static.
35041 * dlfcn/Makefile: Likewise.
35042 * elf/Makefile: Likewise.
35043 * math/Makefile: Likewise.
35044 * misc/Makefile: Likewise.
35045 * nptl/Makefile: Likewise.
35046 * sysdeps/mach/hurd/Makefile: Likewise.
35047
121766a9
UD
35048 * configure.in: PWD_P is not used anymore.
35049 * config.make.in: Remove PWD_P entry.
35050
51a1d39c 35051 * configure.in: Remove last remnants of RANLIB.
8720d066 35052 No need to check for signed size_t anymore.
215f4bdc
UD
35053 Don't set libc_commonpagesize and libc_relro_required here for Alpha
35054 and IA-64.
3857022a 35055 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
35056 * aclocal.m4: Likewise.
35057
d3ed7225
UD
35058 * wcsmbs/mbrtoc16.c: Implement using towc function.
35059 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
35060 * wcsmbs/wcsmbsload.c: Likewise.
35061 * iconv/gconv_simple.c: Likewise.
35062 * iconv/gconv_int.h: Likewise.
35063 * iconv/gconv_builtin.h: Likewise.
35064 * iconv/iconv_prog.c: Remove CHAR16 handling.
35065
35066 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
35067
35068 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
35069
a0da5fe1
UD
35070 * configure.in: Remove --with-elf and --enable-bounded options.
35071 Dont set base_machine for ia64. More non-ELF conditions removed.
35072 Remove testing and setting of leading underscore information.
35073 * config.make.in (build-bounded): Set to no.
35074 * config.h.in: Remove NO_UNDERSCORES entry.
35075 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
35076 them.
35077 * csu/start.c: Remove !NO_UNDERSCORE code.
35078 * locale/localeinfo.h: Likewise.
35079 * sysdeps/generic/machine-gmon.h: Likewise.
35080 * sysdeps/generic/sysdep.h: Likewise.
35081 * sysdeps/i386/sysdep.h: Likewise.
35082 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
35083 * sysdeps/mach/sysdep.h: Likewise.
35084 * sysdeps/s390/s390-32/sysdep.h: Likewise.
35085 * sysdeps/s390/s390-64/sysdep.h: Likewise.
35086 * sysdeps/sh/sysdep.h: Likewise.
35087 * sysdeps/sparc/sparc32/alloca.S: Likewise.
35088 * sysdeps/unix/i386/sysdep.S: Likewise.
35089 * sysdeps/unix/sparc/start.c: Likewise.
35090 * sysdeps/unix/sparc/sysdep.S: Likewise.
35091 * sysdeps/unix/sparc/sysdep.h: Likewise.
35092 * sysdeps/unix/start.c: Likewise.
35093 * sysdeps/unix/x86_64/sysdep.S: Likewise.
35094 * sysdeps/x86_64/sysdep.h: Likewise.
35095
df78418a
UD
350962012-01-07 Ulrich Drepper <drepper@gmail.com>
35097
a784e502
UD
35098 [BZ #13553]
35099 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
35100 for non-gcc.
35101 * argp/argp-fmtstream.h: Use const instead __const.
35102 * argp/argp.h: Likewise.
35103 * assert/assert.h: Likewise.
35104 * bits/fenv.h: Likewise.
35105 * bits/sched.h: Likewise.
35106 * bits/sigset.h: Likewise.
35107 * bits/sigthread.h: Likewise.
35108 * catgets/nl_types.h: Likewise.
35109 * conform/data/pthread.h-data: Likewise.
35110 * crypt/crypt-private.h: Likewise.
35111 * crypt/crypt.h: Likewise.
35112 * crypt/crypt_util.c: Likewise.
35113 * ctype/ctype.h: Likewise.
35114 * debug/execinfo.h: Likewise.
35115 * debug/mbsnrtowcs_chk.c: Likewise.
35116 * debug/mbsrtowcs_chk.c: Likewise.
35117 * debug/wcsnrtombs_chk.c: Likewise.
35118 * debug/wcsrtombs_chk.c: Likewise.
35119 * debug/wcstombs_chk.c: Likewise.
35120 * dirent/dirent.h: Likewise.
35121 * dlfcn/dlfcn.h: Likewise.
35122 * elf/neededtest4.c: Likewise.
35123 * grp/grp.h: Likewise.
35124 * gshadow/gshadow.h: Likewise.
35125 * iconv/gconv.h: Likewise.
35126 * iconv/gconv_int.h: Likewise.
35127 * iconv/gconv_simple.c: Likewise.
35128 * iconv/iconv.h: Likewise.
35129 * iconv/loop.c: Likewise.
35130 * iconv/skeleton.c: Likewise.
35131 * include/aio.h: Likewise.
35132 * include/aliases.h: Likewise.
35133 * include/argz.h: Likewise.
35134 * include/arpa/inet.h: Likewise.
35135 * include/assert.h: Likewise.
35136 * include/dirent.h: Likewise.
35137 * include/dlfcn.h: Likewise.
35138 * include/execinfo.h: Likewise.
35139 * include/fcntl.h: Likewise.
35140 * include/fenv.h: Likewise.
35141 * include/glob.h: Likewise.
35142 * include/grp.h: Likewise.
35143 * include/libintl.h: Likewise.
35144 * include/mntent.h: Likewise.
35145 * include/netdb.h: Likewise.
35146 * include/pwd.h: Likewise.
35147 * include/rpc/netdb.h: Likewise.
35148 * include/sched.h: Likewise.
35149 * include/search.h: Likewise.
35150 * include/shadow.h: Likewise.
35151 * include/signal.h: Likewise.
35152 * include/stdio.h: Likewise.
35153 * include/stdlib.h: Likewise.
35154 * include/string.h: Likewise.
35155 * include/sys/socket.h: Likewise.
35156 * include/sys/stat.h: Likewise.
35157 * include/sys/statfs.h: Likewise.
35158 * include/sys/statvfs.h: Likewise.
35159 * include/sys/syslog.h: Likewise.
35160 * include/sys/time.h: Likewise.
35161 * include/sys/uio.h: Likewise.
35162 * include/time.h: Likewise.
35163 * include/unistd.h: Likewise.
35164 * include/utmp.h: Likewise.
35165 * include/wchar.h: Likewise.
35166 * include/wctype.h: Likewise.
35167 * inet/aliases.h: Likewise.
35168 * inet/arpa/inet.h: Likewise.
35169 * inet/netinet/ether.h: Likewise.
35170 * inet/netinet/in.h: Likewise.
35171 * intl/libintl.h: Likewise.
35172 * io/bits/fcntl2.h: Likewise.
35173 * io/fcntl.h: Likewise.
35174 * io/ftw.h: Likewise.
35175 * io/sys/poll.h: Likewise.
35176 * io/sys/stat.h: Likewise.
35177 * io/sys/statfs.h: Likewise.
35178 * io/sys/statvfs.h: Likewise.
35179 * io/utime.h: Likewise.
35180 * libio/bits/stdio.h: Likewise.
35181 * libio/bits/stdio2.h: Likewise.
35182 * libio/libio.h: Likewise.
35183 * libio/libioP.h: Likewise.
35184 * libio/stdio.h: Likewise.
35185 * locale/lc-ctype.c: Likewise.
35186 * locale/locale.h: Likewise.
35187 * login/utmp.h: Likewise.
35188 * malloc/arena.c: Likewise.
35189 * malloc/malloc.c: Likewise.
35190 * malloc/malloc.h: Likewise.
35191 * malloc/mcheck.c: Likewise.
35192 * malloc/mtrace.c: Likewise.
35193 * math/bits/mathcalls.h: Likewise.
35194 * math/fenv.h: Likewise.
35195 * math/math_private.h: Likewise.
35196 * misc/bits/error.h: Likewise.
35197 * misc/bits/syslog.h: Likewise.
35198 * misc/err.h: Likewise.
35199 * misc/error.h: Likewise.
35200 * misc/fstab.h: Likewise.
35201 * misc/mntent.h: Likewise.
35202 * misc/regexp.h: Likewise.
35203 * misc/search.h: Likewise.
35204 * misc/sgtty.h: Likewise.
35205 * misc/sys/mman.h: Likewise.
35206 * misc/sys/syslog.h: Likewise.
35207 * misc/sys/uio.h: Likewise.
35208 * misc/sys/xattr.h: Likewise.
35209 * misc/ttyent.h: Likewise.
35210 * nis/rpcsvc/ypclnt.h: Likewise.
35211 * nss/nss.h: Likewise.
35212 * posix/bits/unistd.h: Likewise.
35213 * posix/fnmatch.h: Likewise.
35214 * posix/glob.h: Likewise.
35215 * posix/sched.h: Likewise.
35216 * posix/spawn.h: Likewise.
35217 * posix/sys/wait.h: Likewise.
35218 * posix/unistd.h: Likewise.
35219 * posix/wordexp.h: Likewise.
35220 * pwd/pwd.h: Likewise.
35221 * resolv/netdb.h: Likewise.
35222 * resource/sys/resource.h: Likewise.
35223 * rt/aio.h: Likewise.
35224 * rt/bits/mqueue2.h: Likewise.
35225 * rt/mqueue.h: Likewise.
35226 * shadow/shadow.h: Likewise.
35227 * signal/signal.h: Likewise.
35228 * socket/send.c: Likewise.
35229 * socket/sendto.c: Likewise.
35230 * socket/sys/socket.h: Likewise.
35231 * stdio-common/printf.h: Likewise.
35232 * stdlib/bits/stdlib.h: Likewise.
35233 * stdlib/fmtmsg.h: Likewise.
35234 * stdlib/monetary.h: Likewise.
35235 * stdlib/stdlib.h: Likewise.
35236 * stdlib/ucontext.h: Likewise.
35237 * streams/stropts.h: Likewise.
35238 * string/argz.h: Likewise.
35239 * string/bits/string2.h: Likewise.
35240 * string/string.h: Likewise.
35241 * string/strings.h: Likewise.
35242 * sunrpc/rpc/auth.h: Likewise.
35243 * sunrpc/rpc/auth_des.h: Likewise.
35244 * sunrpc/rpc/clnt.h: Likewise.
35245 * sunrpc/rpc/netdb.h: Likewise.
35246 * sunrpc/rpc/pmap_clnt.h: Likewise.
35247 * sunrpc/rpc/xdr.h: Likewise.
35248 * sysdeps/generic/inttypes.h: Likewise.
35249 * sysdeps/generic/net/if.h: Likewise.
35250 * sysdeps/generic/sys/swap.h: Likewise.
35251 * sysdeps/gnu/net/if.h: Likewise.
35252 * sysdeps/gnu/utmpx.h: Likewise.
35253 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
35254 * sysdeps/i386/i486/bits/string.h: Likewise.
35255 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
35256 * sysdeps/s390/bits/string.h: Likewise.
35257 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
35258 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
35259 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
35260 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
35261 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
35262 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
35263 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
35264 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
35265 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
35266 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
35267 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
35268 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
35269 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
35270 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
35271 * sysdeps/unix/sysv/linux/readv.c: Likewise.
35272 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
35273 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
35274 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
35275 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
35276 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
35277 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
35278 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
35279 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
35280 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
35281 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
35282 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
35283 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
35284 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
35285 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
35286 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
35287 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
35288 * sysvipc/sys/ipc.h: Likewise.
35289 * sysvipc/sys/msg.h: Likewise.
35290 * sysvipc/sys/sem.h: Likewise.
35291 * sysvipc/sys/shm.h: Likewise.
35292 * termios/termios.h: Likewise.
35293 * time/sys/time.h: Likewise.
35294 * time/time.h: Likewise.
35295 * wcsmbs/bits/wchar2.h: Likewise.
35296 * wcsmbs/uchar.h: Likewise.
35297 * wcsmbs/wchar.h: Likewise.
35298 * wctype/wctype.h: Likewise.
35299
0269750c
UD
35300 [BZ #13551]
35301 * Makeconfig: Remove all but ELF support including AIX support.
35302 * Makerules: Likewise.
35303 * config.h.in: Likewise.
35304 * config.make.in: Likewise.
35305 * configure: Likewise.
35306 * configure.in: Likewise.
35307 * csu/Makefile: Likewise.
35308 * csu/version.c: Likewise.
35309 * debug/Makefile: Likewise.
35310 * dlfcn/Makefile: Likewise.
35311 * elf/Makefile: Likewise.
35312 * extra-lib.mk: Likewise.
35313 * iconv/Makefile: Likewise.
35314 * include/libc-symbols.h: Likewise.
35315 * include/shlib-compat.h: Likewise.
35316 * resolv/Makefile: Likewise.
35317 * resolv/res_libc.c: Likewise.
35318 * rt/Makefile: Likewise.
35319 * sysdeps/i386/asm-syntax.h: Likewise.
35320 * sysdeps/i386/sysdep.h: Likewise.
35321 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
35322 * sysdeps/mach/sysdep.h: Likewise.
35323 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
35324 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
35325 * sysdeps/s390/asm-syntax.h: Likewise.
35326 * sysdeps/s390/s390-32/sysdep.h: Likewise.
35327 * sysdeps/s390/s390-64/sysdep.h: Likewise.
35328 * sysdeps/sh/sysdep.h: Likewise.
35329 * sysdeps/unix/sparc/sysdep.h: Likewise.
35330 * sysdeps/wordsize-32/divdi3.c: Likewise.
35331 * sysdeps/x86_64/sysdep.h: Likewise.
35332
00bbd29b
UD
35333 * argp/Versions: Remove _argp_unlock_xxx.
35334
35335 [BZ #13559]
35336 * abilist/ld.abilist: Update. Adjust for removal of tls option.
35337 * abilist/libBrokenLocale.abilist: Likewise.
35338 * abilist/libanl.abilist: Likewise.
35339 * abilist/libc.abilist: Likewise.
35340 * abilist/libcrypt.abilist: Likewise.
35341 * abilist/libdl.abilist: Likewise.
35342 * abilist/libm.abilist: Likewise.
35343 * abilist/libnsl.abilist: Likewise.
35344 * abilist/libpthread.abilist: Likewise.
35345 * abilist/libresolv.abilist: Likewise.
35346 * abilist/librt.abilist: Likewise.
35347 * abilist/libthread_db.abilist: Likewise.
35348 * abilist/libutil.abilist: Likewise.
35349 * abilist/libnss_db.abilist: New file.
35350
35351 * scripts/abilist.awk: Add support for indirect functions.
35352
a2693a0e
UD
35353 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
35354
3f05895f
UD
35355 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
35356
ecb6fb48
UD
35357 * shlib-versions: Remove entries for ports architectures.
35358
664f8cb9
UD
35359 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
35360 files in ports.
35361 * elf/stackguard-macros.h: Remove support for IA-64.
35362 * elf/tst-auditmod1.c: Likewise.
35363 * sysdeps/generic/ldsodefs.h: Likewise.
35364
7ae81d88
UD
35365 * sysdeps/unix/sysv/linux/configure.in: Ports should define
35366 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
35367 configure files.
35368
bdeba135
UD
35369 [BZ #13552]
35370 * configure.in: Remove --enable-omitfp support.
35371 * FAQ.in: Adjust.
35372 * config.make.in: Likewise.
35373 * Makeconfig: Likewise.
35374 * manual/install.texi: Likewise.
35375
d75a0a62
UD
35376 In case anyone cares, the IA-64 architecture could move to ports.
35377 * sysdeps/ia64/*: Removed.
35378 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 35379 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 35380
dcc9756b
UD
35381 [BZ #13555]
35382 * configure.in: Remove entries for unsupported architectures.
35383
d3761ebc 35384 [BZ #13533]
9954432e
UD
35385 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
35386 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
35387 routines.
35388 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
35389 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
35390 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
35391 fall back to using wcrtomb.
35392 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
35393 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
35394 renaming.
35395 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
35396 * wcsmbs/tst-c16c32-1.c: New file.
35397
35398 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
35399 local variable.
35400
c3a87236
UD
35401 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
35402
28926a1b
UD
35403 * elf/tst-unique3.cc: Add explicit declaration of gets.
35404 * elf/tst-unique3lib.cc: Likewise.
35405 * elf/tst-unique3lib2.cc: Likewise.
35406 * elf/tst-unique4.cc: Likewise.
35407
df78418a
UD
35408 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
35409
8ecd6b2a
JM
354102012-01-06 Joseph Myers <joseph@codesourcery.com>
35411
35412 [BZ #13566]
35413 * assert/assert.h (static_assert): Don't define for C++.
35414 * libio/stdio.h (gets): Do declare for C++ <= C++11.
35415 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
35416
9f115170
UD
354172012-01-03 Ulrich Drepper <drepper@gmail.com>
35418
5e0d0300
UD
35419 * iconv/loop.c (single loop): Fix assertion in storing of
35420 remaining bytes.
35421
9f115170
UD
35422 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
35423
81fb02b0
UD
354242012-01-01 Ulrich Drepper <drepper@gmail.com>
35425
35426 * posix/getconf.c: Update copyright year.
35427 * nss/getent.c: Likewise.
a316c1f6 35428 * nss/makedb.c: Likewise.
81fb02b0
UD
35429 * iconv/iconvconfig.c: Likewise.
35430 * iconv/iconv_prog.c: Likewise.
35431 * elf/ldconfig.c: Likewise.
a316c1f6
UD
35432 * elf/pldd.c: Likewise.
35433 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
35434 * catgets/gencat.c: Likewise.
35435 * csu/version.c: Likewise.
35436 * elf/ldd.bash.in: Likewise.
35437 * elf/sprof.c (print_version): Likewise.
35438 * locale/programs/locale.c: Likewise.
35439 * locale/programs/localedef.c: Likewise.
a316c1f6 35440 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
35441 * nscd/nscd.c (print_version): Likewise.
35442 * debug/xtrace.sh: Likewise.
35443 * malloc/memusage.sh: Likewise.
35444 * malloc/mtrace.pl: Likewise.
35445 * debug/catchsegv.sh: Likewise.
35446
2ba92745
JJ
354472011-12-30 Jakub Jelinek <jakub@redhat.com>
35448
35449 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
35450 pure attribute.
35451
dadebdae
UD
354522011-12-24 Ulrich Drepper <drepper@gmail.com>
35453
d3761ebc 35454 [BZ #13533]
db6af3eb
UD
35455 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
35456 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
35457 transformations.
35458 * iconv/gconv_int.h: Likewise.
35459 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
35460 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
35461 from libc for GLIBC_2.16.
35462 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
35463 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
35464 * wcsmbs/uchar.h: Really define mbstate_t.
35465 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
35466 * wcsmbs/c16rtomb.c: New file.
35467 * wcsmbs/mbrtoc16.c: New file.
35468 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
35469 for C/POSIX locale.
35470 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
35471 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
35472
dadebdae
UD
35473 * wcsmbs/wchar.h: Add missing __restrict.
35474
67371b56
UD
354752011-12-23 Ulrich Drepper <drepper@gmail.com>
35476
74033a25
UD
35477 [BZ #13532]
35478 * time/Makefile (routines): Add timespec_get.
35479 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
35480 * time/time.h: Define TIME_UTC and declare timespec_get. Define
35481 timespec for ISO C11.
35482 * time/timespec_get.c: New file.
35483 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
35484 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
35485
380d7e87
UD
35486 [BZ #13531]
35487 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
35488 * stdlib/stdlib.h: Declare aligned_alloc.
35489 * Versions.def: Add GLIBC_2.16 for libc.
35490 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
35491
4e9e7a35
UD
35492 [BZ 13527]
35493 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
35494 ISO C11.
35495
380d7e87 35496 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
35497 code.
35498
03a71829
UD
35499 [BZ #13528]
35500 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
35501
839e283e
UD
35502 [BZ #13529]
35503 * assert/assert.h (static_assert): Define.
35504
ce5294e2 35505 * version.h: Update for 2.16 development version.
90fa7312 35506
8d44e150 35507 [BZ #13526]
d7809905
UD
35508 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
35509 _ISOC11_SOURCE.
35510
c0da14cd
UD
35511 * version.h (RELEASE): Bump for 2.15 release.
35512 * include/features.h (__GLIBC_MINOR__): Bump to 15.
35513
530a3249
MP
35514 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
35515 Patch by Marek Polacek <mpolacek@redhat.com>.
35516
67371b56
UD
35517 * bits/byteswap.h: Protect long long constants with __extension__.
35518 * sysdeps/i386/bits/byteswap.h: Likewise.
35519 * sysdeps/ia64/bits/byteswap.h: Likewise.
35520 * sysdeps/s390/bits/byteswap.h: Likewise.
35521 * sysdeps/x86_64/bits/byteswap.h: Likewise.
35522
15db4de1
LD
355232011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35524
35525 [BZ #13540]
bbe315ea
LD
35526 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
35527 destination buffer.
15db4de1
LD
35528 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
35529
2b2596b1
MP
355302011-12-23 Marek Polacek <polacek@redhat.com>
35531
35532 * elf/dl-addr.c (determine_info): Add inline keyword.
35533 * elf/tst-auditmod4b.c (check_avx): Likewise.
35534 * elf/tst-auditmod6b.c (check_avx): Likewise.
35535 * elf/tst-auditmod6c.c (check_avx): Likewise.
35536 * elf/tst-auditmod7b.c (check_avx): Likewise.
35537
70c6c246
UD
355382011-12-23 Ulrich Drepper <drepper@gmail.com>
35539
35540 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
35541 !__SSE_MATH__.
35542
c044cf14
LD
355432011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35544
15db4de1 35545 [BZ #13540]
c044cf14
LD
35546 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
35547 processing for last bytes.
35548
6b13d9d9
BH
355492011-08-06 Bruno Haible <bruno@clisp.org>
35550
d455f537
BH
35551 [BZ #13061]
35552 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
35553 U+0385, not to U+1FEE.
35554
6b13d9d9
BH
35555 [BZ #13062]
35556 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
35557 entry for U+00A5 U+0301.
35558
db910efd
UD
355592011-12-22 Ulrich Drepper <drepper@gmail.com>
35560
27deeafc
UD
35561 [BZ #13166]
35562 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
35563 buffer for the output is too small.
35564
aed9d171
UD
35565 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
35566 optimization.
35567
db910efd
UD
35568 [BZ #13185]
35569 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
35570 SSE flags if possible.
35571
2bd779ae
LD
355722011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35573
e7f9dac3 35574 [BZ #13540]
2bd779ae
LD
35575 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
35576 processing for last bytes.
35577
154bfc16
JM
355782011-12-22 Joseph Myers <joseph@codesourcery.com>
35579
35580 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
35581 (syscall-list-default-options, syscall-list-default-condition)
35582 (syscall-list-includes): Define.
35583 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
35584 list of ABIs and options and #if conditions for each ABI. Do not
35585 handle common syscalls between ABIs specially.
35586 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
35587 Remove.
35588 (syscall-list-variants, syscall-list-32bit-options)
35589 (syscall-list-32bit-condition, syscall-list-64bit-options)
35590 (syscall-list-64bit-condition): Define.
35591 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
35592 (syscall-list-variants, syscall-list-32bit-options)
35593 (syscall-list-32bit-condition, syscall-list-64bit-options)
35594 (syscall-list-64bit-condition): Define.
35595 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
35596 Remove.
35597 (syscall-list-variants, syscall-list-32bit-options)
35598 (syscall-list-32bit-condition, syscall-list-64bit-options)
35599 (syscall-list-64bit-condition): Define.
35600 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
35601 Remove.
35602 (syscall-list-variants, syscall-list-32bit-options)
35603 (syscall-list-32bit-condition, syscall-list-64bit-options)
35604 (syscall-list-64bit-condition): Define.
35605
21eaf3a5
UD
356062011-12-22 Ulrich Drepper <drepper@gmail.com>
35607
16c6f992
UD
35608 * locale/iso-639.def: Add brx entry.
35609
41043168
UD
35610 [BZ #13328]
35611 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
35612 Proposed by Mariusz_Cukr <marcukr@op.pl>.
35613
21eaf3a5
UD
35614 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
35615 __feraiseexcept_renamed.
35616
e3a851a2
UD
356172011-12-21 Ulrich Drepper <drepper@gmail.com>
35618
4920765e
UD
35619 [BZ #13538]
35620 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
35621 EPOLLET with unsigned values.
35622 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
35623 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
35624
e3a851a2
UD
35625 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
35626 to large cancellation.
35627 * math/s_cacoshf.c: Likewise.
35628 * math/s_cacoshl.c: Likewise.
35629
b27e24b8
RK
356302011-11-18 Richard B. Kreckel <kreckel@ginac.de>
35631
35632 [BZ #13305]
aebefeee 35633 [BZ #12786]
b27e24b8
RK
35634 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
35635 * math/s_cacoshf.c: Likewise.
35636 * math/s_cacoshl.c: Likewise.
35637
ee190f67
UD
356382011-12-21 Ulrich Drepper <drepper@gmail.com>
35639
35640 [BZ #13439]
35641 * iconv/gconv.h: Define __GCONV_SWAP.
35642 * iconvdata/unicode.c: The swap bit must be stored in __flags.
35643 * iconvdata/utf-16.c: Likewise.
35644 * iconvdata/utf-32.c: Likewise.
35645
707f25df
AS
356462011-12-21 Andreas Schwab <schwab@linux-m68k.org>
35647
35648 [BZ #13524]
35649 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
35650 numerator after shifting it by one limb.
35651
d2daaa1e
RÁE
356522011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
35653
35654 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
35655 under [__USE_EXTERN_INLINES].
35656
a4647e72
UD
356572011-12-17 Ulrich Drepper <drepper@gmail.com>
35658
35659 [BZ #13446]
35660 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
35661
f0b264f1
AZ
356622011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35663
35664 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
35665 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
35666 optimized code.
35667 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
35668 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
35669 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
35670 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
35671 for strncasecmp/strncasecmp_l compilation.
35672 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
35673 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
35674
8ef4f244
MP
356752011-12-08 Marek Polacek <mpolacek@redhat.com>
35676
35677 [BZ #13484]
35678 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
35679 of __asm__.
35680
97ac2654
UD
356812011-12-17 Ulrich Drepper <drepper@gmail.com>
35682
35683 [BZ #13506]
35684 * time/tzfile.c (__tzfile_read): Check values from file header.
35685
91d2a845
WS
356862011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
35687
35688 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
35689 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
35690 * powerpc/powerpc32/dl-start.S: Likewise.
35691 * powerpc/powerpc32/elf/start.S: Likewise.
35692 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
35693 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
35694 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
35695 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
35696 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
35697 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
35698 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
35699 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
35700 * powerpc/powerpc32/fpu/s_round.S: Likewise.
35701 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
35702 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
35703 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
35704 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
35705 * powerpc/powerpc32/memset.S: Likewise.
35706 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
35707 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
35708 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
35709 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
35710 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
35711 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
35712 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
35713 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
35714 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
35715 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
35716 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
35717 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
35718 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
35719
a1267ba1
AZ
357202011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35721
35722 * math/libm-test.inc: Added more nearbyint tests.
35723 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
35724 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
35725 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
35726 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
35727
ad8ac1bd
RL
357282011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
35729
35730 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
35731 FD_CLOEXEC.
35732
1d3e4b61
UD
357332011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35734
35735 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
35736 Add wcscpy-ssse3 wcscpy-c.
35737 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
35738 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
35739 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
35740 * sysdeps/x86_64/wcschr.S: New file.
35741 * sysdeps/x86_64/wcsrchr.S: New file.
35742 * string/test-strcmp.c: Remove checking of wcscmp function for
35743 wrong alignments.
35744 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
35745 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
35746 wcsrchr-sse2 wcsrchr-c.
35747 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
35748 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
35749 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
35750 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
35751 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
35752 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
35753 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
35754 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
35755 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
35756 * wcsmbc/wcschr.c (WCSCHR): New macro.
35757
5b330a2d
UD
357582011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35759
35760 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
35761 * wcsmbs/test-wcsrchr.c: New file.
35762 * string/test-strrchr.c: Add wcsrchr support.
35763 (WIDE): New macro.
35764 * wcsmbs/test-wcscpy.c: New file.
35765 * string/test-strcpy.c: Add wcscpy support.
35766 (WIDE): New macro.
26428b7c 35767
f039c043
UD
357682011-12-10 Ulrich Drepper <drepper@gmail.com>
35769
35770 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
35771 the inner loop.
35772
850fb039
AS
357732011-12-06 Andreas Schwab <schwab@linux-m68k.org>
35774
35775 [BZ #13472]
35776 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
35777
4efbd5cb
UD
357782011-12-04 Ulrich Drepper <drepper@gmail.com>
35779
52ff5dd0 35780 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 35781 Minor optimizations.
52ff5dd0 35782
4efbd5cb
UD
35783 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
35784 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
35785 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
35786
8a426e12
UD
357872011-12-03 Ulrich Drepper <drepper@gmail.com>
35788
aff2453d
UD
35789 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
35790 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
35791 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
35792 for gcc to avoid warnings.
35793 * inet/Makefile (tests): Add tst-checks.
35794 * inet/tst-checks.c: New file.
35795
35796 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
35797 warning.
35798
35799 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
35800 __wmemcmp_sse2.
35801
35802 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
35803 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
35804
8a426e12
UD
35805 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
35806
9bea3473
UD
358072011-12-02 Ulrich Drepper <drepper@gmail.com>
35808
3a965496
UD
35809 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
35810 problem.
35811
9bea3473
UD
35812 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
35813
f101631b
UD
358142011-11-29 Joseph Myers <joseph@codesourcery.com>
35815
35816 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
35817 conditional on GCC version.
35818 (__arch_compare_and_exchange_val_8_acq)
35819 (__arch_compare_and_exchange_val_16_acq)
35820 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
35821 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
35822 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
35823
a98275aa
UD
358242011-12-02 Joseph Myers <joseph@codesourcery.com>
35825
35826 * sysdeps/sh/backtrace.c: New file.
35827
d4cc29a2
AS
358282011-12-02 Andreas Schwab <schwab@redhat.com>
35829
35830 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
35831 parenthesis.
35832
6257af2d
AS
358332011-12-01 Andreas Schwab <schwab@redhat.com>
35834
35835 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
35836 falling back to utime.
35837
b5f44c1a
AS
358382011-11-30 Andreas Schwab <schwab@redhat.com>
35839
35840 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
35841 expectations for float.
35842
f3a6cc0a
AS
358432011-11-29 Andreas Schwab <schwab@redhat.com>
35844
35845 * locale/weight.h (findidx): Add parameter len.
35846 * locale/weightwc.h (findidx): Likewise.
35847 * posix/fnmatch_loop.c (FCT): Adjust caller.
35848 * posix/regcomp.c (build_equiv_class): Likewise.
35849 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
35850 * posix/regexec.c (check_node_accept_bytes): Likewise.
35851 * string/strcoll_l.c (STRCOLL): Likewise.
35852 * string/strxfrm_l.c (STRXFRM): Likewise.
35853
9d65ea3a
UD
358542011-11-17 Ulrich Drepper <drepper@gmail.com>
35855
35856 * Makefile.in: Remove CVSOPT handling.
35857 * configure.in: Remove use of AC_REVISION.
35858 * iconvdata/Makefile (distribute): No need to filter out CVS.
35859 * scripts/list-sources.sh: Remove CVS, subversion and monotone
35860 handling.
35861
5583a086
AS
358622011-11-16 Andreas Schwab <schwab@redhat.com>
35863
35864 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
35865 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
35866 [USE_AS_STRNCASECMP_L]: Likewise.
35867 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
35868 NO_TLS_DIRECT_SEG_REFS.
35869 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
35870 Fix argument offsets for non-PIC.
35871 [USE_AS_STRNCASECMP_L]: Likewise.
35872 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
35873 NO_TLS_DIRECT_SEG_REFS.
35874
d62a8200
UD
358752011-11-15 Ulrich Drepper <drepper@gmail.com>
35876
9d65ea3a 35877 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
35878 O_CLOEXEC.
35879 * locale/loadlocale.c (_nl_load_locale): Likewise.
35880
09f93bd3
AS
358812011-11-15 Andreas Schwab <schwab@redhat.com>
35882
446514f9
AS
35883 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
35884 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
35885 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
35886 (SYSCALL_GETTIME): Set errno on error.
35887
09f93bd3
AS
35888 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
35889 count references to noai6ai_cached.
35890
312be3f9
UD
358912011-11-15 Ulrich Drepper <drepper@gmail.com>
35892
35893 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
35894
35895 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
35896 FD_CLOEXEC for /proc/self/maps.
35897
35898 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
35899 FD_CLOEXEC for /proc/meminfo.
35900
35901 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
35902 gai.conf.
35903
35904 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
35905 FD_CLOEXEC for given file.
35906
35907 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
35908
35909 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
35910 FD_CLOEXEC for /etc/hosts.
35911 (_gethtent): Likewise.
35912
35913 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
35914
35915 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
35916 cancellation and set FD_CLOEXEC for /etc/netgroup.
35917
35918 * nss/nss_files/files-key.c (search): Don't allow cancellation when
35919 reading /etc/publickey.
35920
35921 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
35922 allow cancellation when reading /etc/group.
35923
35924 * nss/nss_files/files-alias.c (internal_setent): Don't allow
35925 cancellation.
35926 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
35927
35928 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
35929 when using data file.
35930
35931 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
35932
35933 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
35934 (write_nis_obj): Use "c" and "e" in fopen.
35935
35936 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
35937
35938 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
35939
35940 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
35941
35942 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
35943
35944 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
35945 locale.alias.
35946
35947 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
35948
35949 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
35950
35951 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
35952
35953 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
35954 file parsing and set FD_CLOEXEC.
35955
82af0fa8
UD
359562011-11-14 Ulrich Drepper <drepper@gmail.com>
35957
35958 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
35959
a5fb313c
AS
359602011-11-14 Andreas Schwab <schwab@redhat.com>
35961
35962 * malloc/arena.c (arena_get2): Don't call reused_arena when
35963 _int_new_arena failed.
35964
6abf3465
UD
359652011-11-14 Ulrich Drepper <drepper@gmail.com>
35966
35967 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
35968 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
35969 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
35970 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
35971 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
35972 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
35973 to compile strcasecmp and strncasecmp.
35974 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
35975 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
35976
35977 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
35978
76e3966e
UD
359792011-11-13 Ulrich Drepper <drepper@gmail.com>
35980
35981 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
35982 locale-defines.sym to gen-as-const-headers.
35983 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
35984 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
35985 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
35986 to compile strcasecmp and strncasecmp.
35987 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
35988 strcasecmp_l and strncasecmp_l.
35989 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
35990 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
35991 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
35992 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
35993 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
35994 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
35995 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
35996 * sysdeps/i386/i686/multiarch/strncase.S: New file.
35997 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
35998 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
35999 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
36000
ab26144e
UD
360012011-11-12 Ulrich Drepper <drepper@gmail.com>
36002
7edb22ef
UD
36003 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
36004 result of SYSDEP_GETTIME_CPU to retval.
36005 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
36006 parameter list to macro. Remove trailing semicolon. Adjust users.
36007
9694fc44
UD
36008 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
36009 variable.
36010
8ad89ef8
UD
36011 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
36012 mantissa words.
36013 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
36014
0c822ef9
UD
36015 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
36016 from unused variable.
36017
874e0564
UD
36018 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
36019 DWARF definitions.
36020 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
36021 for assembling.
36022
3a2edc79
UD
36023 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
36024 over namespaces.
36025
f3c2577f
UD
36026 * sunrpc/rpc_prot.c (rejected): Fix case value.
36027
294ce126
UD
36028 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
36029 unsigned long long int to avoid warnings in shift.
36030
5e2b63c6
UD
36031 * posix/regex_internal.c (re_string_reconstruct): Actually use result
36032 of use of trans.
36033 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
36034 variable tmp.
36035
e7f4b08e
UD
36036 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
36037 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
36038 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
36039
ab26144e
UD
36040 * nis/nis_table.c (nis_list): Use variable of correct type for
36041 result of __follow_path call.
36042
8a6d5255
AZ
360432011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36044
36045 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
36046 of math functions ceil, trunc, floor, round, and sqrt, when
36047 avaliable on the platform.
36048 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
36049 name clash.
36050 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
36051 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
36052 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
36053
aaddc98c
MP
360542011-10-30 Marek Polacek <mpolacek@redhat.com>
36055
36056 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
36057 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
36058
95b7042b
RM
360592011-11-11 Roland McGrath <roland@hack.frob.com>
36060
36061 * include/unistd.h: Fix __readlink return type.
36062 Reported by Chris Metcalf <cmetcalf@tilera.com>.
36063
57769839
UD
360642011-11-11 Ulrich Drepper <drepper@gmail.com>
36065
36066 * stdlib/ucontext.h: Undo last change for makecontext.
36067
edc5984d
AS
360682011-11-11 Andreas Schwab <schwab@redhat.com>
36069
98591e58
AS
36070 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
36071
edc5984d
AS
36072 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
36073 * setjmp/setjmp.h: Mark functions as non-leaf.
36074 * setjmp/bits/setjmp2.h: Likewise.
36075 * stdlib/ucontext.h: Likewise.
36076
77cdc054
AS
360772011-11-10 Andreas Schwab <schwab@redhat.com>
36078
36079 * malloc/arena.c (_int_new_arena): Don't increment narenas.
36080 (reused_arena): Don't check arena limit.
36081 (arena_get2): Atomically check arena limit.
36082
fe72eebd
UD
360832011-11-08 Ulrich Drepper <drepper@gmail.com>
36084
5f078c32
UD
36085 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
36086 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
36087
fe72eebd
UD
36088 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
36089 instructions.
36090
ae1bc2fa
AS
360912011-11-07 Andreas Schwab <schwab@redhat.com>
36092
7583a88d
AS
36093 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
36094 handler when locking.
36095
ae1bc2fa
AS
36096 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
36097 Fix size of allocated buffer.
36098
10fb0bfa
AS
360992011-11-04 Andreas Schwab <schwab@redhat.com>
36100
998832a4
AS
36101 [BZ #10103]
36102 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
36103 declarations for long double functions.
36104 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
36105
10fb0bfa
AS
36106 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
36107
3d7ba52b
AS
361082011-11-03 Andreas Schwab <schwab@redhat.com>
36109
a9ae54a1
AS
36110 * nscd/nscd.c (main): Don't start AVC thread until credentials are
36111 installed.
36112
3d7ba52b
AS
36113 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
36114 is disabled.
36115
bc8db248
ST
361162011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
36117
36118 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
36119
45b96dd6
AS
361202011-11-01 Andreas Schwab <schwab@linux-m68k.org>
36121
647776f6
AS
36122 * include/alloca.h (stackinfo_alloca_round): Define.
36123 (extend_alloca): Use it.
36124 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
36125 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
36126 here.
36127
d91a8b93
AS
36128 * scripts/check-local-headers.sh: Ignore libaudit.h.
36129
45b96dd6
AS
36130 * nscd/Makefile (extra-objs): Make recursively expanded.
36131
432d41ce
UD
361322011-11-01 Ulrich Drepper <drepper@gmail.com>
36133
34372fc6
UD
36134 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
36135 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
36136
fadb59f8
UD
36137 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
36138 * posix/tst-rfc3484-2.c: Likewise.
36139 * posix/tst-rfc3484-3.c: Likewise.
36140
78239589
UD
36141 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
36142 process_vm_writev.
36143 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
36144 process_vm_writev.
36145 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
36146 process_vm_writev from libc using GLIBC_2.15 version.
36147
432d41ce
UD
36148 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
36149
02f9c6cf
PP
361502011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
36151
36152 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
36153 stack usage.
36154
3a2c0242
UD
361552011-10-31 Ulrich Drepper <drepper@gmail.com>
36156
f4ec4833
UD
36157 [BZ #13367]
36158 * nss/getent.c (initgroups_keys): Show error message in case no group
36159 names are given.
36160
3a2c0242
UD
36161 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
36162 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
36163 __bump_nl_timestamp.
36164 * nscd/connections (nscd_init): When host database is served open
36165 netlink socket and request notification about configuration changes.
36166 (main_loop_poll): Track netlink file descriptor and bump timestamp
36167 in case data becomes available.
36168 (main_loop_epoll): Likewise.
36169 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
36170 (database_pers_head): Add extra_data fileds.
36171 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
36172 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
36173 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
36174 Adjust caller.
36175 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
36176 in6ai data, call __free_in6ai.
36177 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
36178 Add -DHAVE_NETLINK.
36179 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
36180 interface information. Reuse previous data if netlink timestamp
36181 is not changed.
36182 (__bump_nl_timestamp): New function.
36183 (__free_in6ai): New function.
36184
636064eb
UD
361852011-10-30 Ulrich Drepper <drepper@gmail.com>
36186
36187 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
36188 close_not_cancel_no_status here.
36189 (__check_pf): Reorganize code a bit to not call close twice if OOM.
36190
9beb2334
UD
361912011-10-29 Ulrich Drepper <drepper@gmail.com>
36192
6ef76f3b
UD
36193 [BZ #13276]
36194 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
36195 return value.
36196
0ffc4f3e 36197 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
36198 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
36199 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
36200
cb95113e
UD
362012011-07-03 Andreas Jaeger <aj@suse.de>
36202
36203 [BZ #10709]
36204 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
36205 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
36206 * math/libm-test.inc (sin_test): Add test case.
36207
a1b560ff
UD
362082011-10-29 Ulrich Drepper <drepper@gmail.com>
36209
c9aaface
UD
36210 [BZ #13337]
36211 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
36212 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
36213
d272e7f1
UD
36214 * elf/chroot_canon.c (chroot_canon): Cleanups.
36215
1bc33071
UD
36216 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
36217
1760874d
TJ
36218 [BZ #13335]
36219 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
36220 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
36221
51d91b18
UD
36222 * string/test-strchr.c: Make usable for strchrnul testing.
36223 * string/test-strchrnul.c: New file.
36224 * string/Makefile (strop-tests): Add strchrnul.
36225
a1b560ff 36226 * po/it.po: Update from translation team.
b611fb81 36227 * po/es.po: Likewise.
a1b560ff 36228
a5b81e1f
UD
362292011-10-28 Ulrich Drepper <drepper@gmail.com>
36230
fd52bc6d
UD
36231 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
36232 the three constants needed as parameters. Drop the others.
36233 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
36234 __m128i_strloadu_tolower.
52e4b9eb
UD
36235 Create and initialize variable zero and use it in all the places
36236 where _mm_setzero_si128 was used.
fd52bc6d 36237
a5b81e1f
UD
36238 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
36239 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
36240 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
36241 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
36242 anymore.
36243 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
36244 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
36245 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
36246 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
36247 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
36248 __mpranred, __mptan.
36249 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
36250 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
36251 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
36252 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
36253 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
36254 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
36255 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
36256 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
36257 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
36258
b4343346
AS
362592011-10-28 Andreas Schwab <schwab@redhat.com>
36260
0c92d8a8
AS
36261 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
36262 redefine if SHARED.
36263 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
36264
b4343346
AS
36265 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
36266 wide char related routines to wcsmbs subdir.
36267
3871f58f
AS
362682011-10-27 Andreas Schwab <schwab@redhat.com>
36269
36270 [BZ #13344]
36271 * misc/sys/cdefs.h (__THROWNL): Define.
36272 * posix/unistd.h: Use __THREADNL instead of __THREAD
36273 for memory synchronization functions.
36274
94d44d9f
RM
362752011-10-26 Roland McGrath <roland@hack.frob.com>
36276
21b64b15 36277 [BZ #13349]
94d44d9f
RM
36278 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
36279 doesn't exist.
36280 * manual/stdio.texi (Obstack Streams): Node removed.
36281
f6ce9294
AS
362822011-10-26 Andreas Schwab <schwab@redhat.com>
36283
80479147
AS
36284 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
36285 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
36286 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
36287
f6ce9294
AS
36288 * math/math_private.h (math_force_eval): Allow non-addressable
36289 arguments.
36290 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
36291
618280a1
UD
362922011-10-25 Ulrich Drepper <drepper@gmail.com>
36293
e0016b11
UD
36294 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
36295 file is not needed.
36296
36297 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
36298 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
36299 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
36300 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
36301 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
36302 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
36303 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
36304 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
36305 Add AVX variants.
36306 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
36307 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
36308 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
36309 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
36310 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
36311 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
36312 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
36313 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
36314 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
36315 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
36316 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
36317 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
36318 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
36319 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
36320 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
36321 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
36322 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
36323 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
36324 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
36325
36326 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
36327 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
36328
618280a1
UD
36329 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
36330 place. Use VEX encoding when compiling for AVX.
36331
37822576
AS
363322011-10-25 Andreas Schwab <schwab@redhat.com>
36333
1f1e1947
AS
36334 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
36335 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
36336
37822576
AS
36337 * string/test-strchr.c (do_test): Don't generate NUL bytes.
36338
31ea014d
UD
363392011-10-25 Ulrich Drepper <drepper@gmail.com>
36340
d7826aa1 36341 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 36342 useless if() expression.
d7826aa1
UD
36343 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
36344 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
36345 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
36346 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
36347 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
36348 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
36349 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
36350 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
36351 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
36352 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
36353 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
36354 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
36355 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
36356 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
36357 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
36358 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
36359 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
36360 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
36361 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
36362
31ea014d
UD
36363 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
36364
16437fec
AS
363652011-10-25 Andreas Schwab <schwab@redhat.com>
36366
36367 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
36368 condition.
36369 * elf/dl-fini.c (_dl_sort_fini): Likewise.
36370
31d3cc00
UD
363712011-10-25 Ulrich Drepper <drepper@gmail.com>
36372
36373 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
36374 .text section. Avoid duplicate constants.
36375 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
36376 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36377 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
36378 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36379 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36380 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36381 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36382 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36383 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
36384 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
36385 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
36386 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
36387 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
36388 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
36389 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
36390 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
36391 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
36392 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
36393 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
36394 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36395 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
36396 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
36397 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
36398 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
36399 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
36400 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
36401 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
36402 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
36403 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
36404 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
36405 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
36406 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
36407 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
36408 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
36409 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
36410 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
36411 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
36412 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
36413 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
36414 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
36415 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
36416 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
36417 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
36418 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
36419 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
36420
58985aa9
UD
364212011-10-24 Ulrich Drepper <drepper@gmail.com>
36422
202c9deb
UD
36423 * sysdeps/x86_64/dla.h: Move to ...
36424 * sysdeps/x86_64/fpu/dla.h: ...here.
36425 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
36426 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 36427
af968f62
UD
36428 * config.make.in: Add have-mfma4 entry.
36429 * configure.in: Substitute libc_cv_cc_fma4.
36430 * math/Makefile (dbl-only-routines): Add sincostab.
36431 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
36432 Use __sincostab not sincos.
36433 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
36434 name is a macro.
36435 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36436 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36437 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36438 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
36439 using __copysign.
36440 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
36441 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
36442 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
36443 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
36444 and __inv.
36445 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
36446 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
36447 __copysign.
36448 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
36449 define aliases when function name is a macro.
36450 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
36451 sysdeps/ieee754/dbl-64/sincos.tbl.
36452 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
36453 fma4-enabled routines.
36454 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
36455 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
36456 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
36457 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
36458 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
36459 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
36460 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
36461 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
36462 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
36463 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
36464 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
36465 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
36466 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
36467 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
36468 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
36469 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
36470 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
36471 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
36472 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
36473 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
36474 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
36475 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
36476 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
36477 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
36478 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
36479 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
36480 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
36481 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
36482 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
36483 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
36484
58985aa9
UD
36485 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
36486 rename.
36487 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36488 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36489 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36490 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36491 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36492 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36493 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
36494 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36495
a201fbcf
AS
364962011-10-24 Andreas Schwab <schwab@redhat.com>
36497
36498 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
36499
fc2ee42a
LD
365002011-10-23 Ulrich Drepper <drepper@gmail.com>
36501
bb3129bd
UD
36502 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
36503
0275fff8
UD
36504 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
36505 prediction.
36506 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
36507
2fa2ae85
UD
36508 * string/strnlen.c: Don't define STRNLEN, reverse logic.
36509 Remove unused variable magic_bits.
36510 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
36511
fc2ee42a
LD
36512 * string/strnlen.c: Define and use STRNLEN macro.
36513 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
36514 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
36515 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
36516 * wcsmbs/wcslen.c: Define and use WCSLEN.
36517 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
36518 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
36519 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
36520 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
36521 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
36522 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
36523 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
36524
ce7dd29f
LD
365252011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36526
36527 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36528 strnlen-sse2-no-bsf.
36529 Rename strlen-no-bsf to strlen-sse2-no-bsf.
36530 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
36531 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
36532 Add strnlen support.
36533 (USE_AS_STRNLEN): New macro.
36534 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
36535 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
36536 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
36537 * sysdeps/x86_64/wcslen.S: New file.
36538
979c70a3
MZ
365392011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
36540
36541 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
36542 XMM-moves are used for copying on small sizes.
36543
2d09f82f
LD
365442011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36545
36546 * wcsmbs/Makefile (strop-tests): Add wcschr.
36547 * wcsmbs/test-wcschr.c: New file.
36548 * string/test-strchr.c: Update.
36549 Add wcschr support.
36550 (WIDE): New macro.
36551
619fccca
LD
365522011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36553
2d09f82f 36554 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
36555 * wcsmbs/test-wcslen.c: New file.
36556 * string/test-strlen.c: Update.
36557 Add wcslen support.
36558 (WIDE): New macro.
36559
09f699ea
UD
365602011-10-23 Ulrich Drepper <drepper@gmail.com>
36561
36562 * po/it.po: Update from translation team.
36563
95584d3b
LD
365642011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36565
36566 * sysdeps/x86_64/wcscmp.S: Update.
36567 Fix wrong comparison semantics.
36568 wcscmp shall use signed comparison not unsigned.
36569 Don't use substraction to avoid overflow bug.
36570 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
36571 * wcsmbc/wcscmp.c: Likewise.
36572 * string/test-strcmp.c: Likewise.
36573 Add new tests to check cases with negative values.
36574
c8b3296b
UD
365752011-10-23 Ulrich Drepper <drepper@gmail.com>
36576
36577 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
36578 * sysdeps/x86_64/dla.h: ...here. New file.
36579 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
36580 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36581 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36582 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36583 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36584 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
36585 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36586 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
36587 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36588
246ad57a
AS
365892011-10-23 Andreas Schwab <schwab@linux-m68k.org>
36590
36591 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
36592 __ynl_finite aliases.
36593
a1a87169
UD
365942011-10-22 Ulrich Drepper <drepper@gmail.com>
36595
0d355eb7
UD
36596 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36597
a1a87169
UD
36598 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
36599 define DLA_FMA.
36600 [DLA_FMA] (EMULV): Use DLA_FMA.
36601 [DLA_FMA] (MUL12): Use EMULV.
36602 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
36603 that are not needed.
36604 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36605 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36606 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36607 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36608 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36609 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
36610 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36611
ee2aafe0
AS
366122011-10-22 Andreas Schwab <schwab@linux-m68k.org>
36613
36614 * math/s_nan.c: Undef __nan.
36615 * math/s_nanf.c: Undef __nanf.
36616 * math/s_nanl.c: Undef __nanl.
36617 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
36618 "math_private.h".
36619
bc62c2fb
UD
366202011-10-22 Ulrich Drepper <drepper@gmail.com>
36621
77425c63
UD
36622 * math/s_catan.c: Add branch predictions.
36623 * math/s_catanf.c: Likewise.
36624 * math/s_catanh.c: Likewise.
36625 * math/s_catanhf.c: Likewise.
36626 * math/s_catanhl.c: Likewise.
36627 * math/s_catanl.c: Likewise.
36628 * math/s_cexp.c: Likewise.
36629 * math/s_cexpf.c: Likewise.
36630 * math/s_cexpl.c: Likewise.
36631 * math/s_clog.c: Likewise.
36632 * math/s_clog10.c: Likewise.
36633 * math/s_clog10f.c: Likewise.
36634 * math/s_clog10l.c: Likewise.
36635 * math/s_clogf.c: Likewise.
36636 * math/s_clogl.c: Likewise.
36637 * math/s_csqrt.c: Likewise.
36638 * math/s_csqrtf.c: Likewise.
36639 * math/s_csqrtl.c: Likewise.
36640 * math/s_ctanf.c: Likewise.
36641 * math/s_ctanh.c: Likewise.
36642 * math/s_ctanhf.c: Likewise.
36643 * math/s_ctanhl.c: Likewise.
36644 * math/s_ctanl.c: Likewise.
36645
bc62c2fb
UD
36646 * math/math_private.h: Define __nan, __nanf, __nanl.
36647 * math/s_cacosh.c: Include <math_private.h>.
36648 * math/s_cacoshl.c: Likewise.
36649 * math/s_casinh.c: Likewise.
36650 * math/s_casinhf.c: Likewise.
36651 * math/s_casinhl.c: Likewise.
36652 * math/s_ccos.c: Rely entire on ccosh.
36653 * math/s_ccosf.c: Rely entire on ccoshf.
36654 * math/s_ccosl.c: Rely entirely on ccoshl.
36655 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
36656 Remove tests for FE_INVALID.
36657 * math/s_ccoshf.c: Likewise.
36658 * math/s_ccoshl.c: Likewise.
36659 * math/s_csin.c: Likewise.
36660 * math/s_csinf.c: Likewise.
36661 * math/s_csinh.c Likewise.
36662 * math/s_csinhf.c: Likewise.
36663 * math/s_csinhl.c: Likewise.
36664 * math/s_csinl.c: Likewise.
36665 * math/s_ctan.c: Likewise.
36666 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
36667 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
36668 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
36669
8ec250a4
UD
366702011-10-21 Ulrich Drepper <drepper@gmail.com>
36671
c196fed8
UD
36672 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
36673 compilation problems.
36674
8ec250a4
UD
36675 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
36676 __builtin_expect.
36677
8d4f46c6
UD
366782011-10-20 Ulrich Drepper <drepper@gmail.com>
36679
ed72b654
UD
36680 * sysdeps/i386/configure.in: Test for -mfma4 option.
36681 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
36682 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
36683 COMMON_CPUID_INDEX_80000001.
36684 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
36685 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
36686 use it if FMA3 is not supported.
36687 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
36688
8d4f46c6
UD
36689 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
36690 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
36691
d45c60c2
AS
366922011-10-20 Andreas Schwab <schwab@redhat.com>
36693
36694 [BZ #12892]
36695 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
36696 it would create a cycle with a link time dependency.
36697
d9a4d2ab
UD
366982011-10-19 Ulrich Drepper <drepper@gmail.com>
36699
855d1560
UD
36700 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
36701 instruction.
36702 * string/Makefile (strop-tests): Add rawmemchr.
36703 * string/test-rawmemchr.c: New file.
36704
d9a4d2ab
UD
36705 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
36706 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
36707 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
36708 when compiling str{,n}casecmp and when AVX is available. Hook up
36709 new optimized code in initializers.
36710
8f3b1ffe
AS
367112011-10-19 Andreas Schwab <schwab@redhat.com>
36712
36713 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
36714 __feraiseexcept instead of feraiseexcept.
36715
d38f1dba
UD
367162011-10-18 Ulrich Drepper <drepper@gmail.com>
36717
d9a8d0ab
UD
36718 * math/math_private.h: Define defaults for libc_fetestexcept and
36719 libc_feupdateenv.
36720 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
36721 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
36722 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
36723 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
36724 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
36725 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
36726 libc_fetestexcept and libc_feupdateenv.
36727
4855e3dd
UD
36728 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
36729 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
36730 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
36731 * sysdeps/x86_64/fpu/math_private.h: Define special version of
36732 libc_feholdexcept_setround.
36733
581d30e3
UD
36734 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
36735 Add s_nearbyint-c and s_nearbyintf-c.
36736 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
36737 nearbyintf inlines.
36738 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
36739 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
36740 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
36741 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
36742
d38f1dba
UD
36743 * math/math_private.h: Define defaults for libc_fegetround,
36744 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
36745 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
36746 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
36747 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
36748 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
36749 standard functions.
36750 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
36751 Remove comments and hacks for old compiler versions.
36752 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
36753 libc_fegetround, libc_fesetround, libc_feholdexcept, and
36754 libc_feholdexceptl.
36755
caa6c9d8
AS
367562011-10-18 Andreas Schwab <schwab@redhat.com>
36757
36758 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
36759 (__feraiseexcept_renamed): Add __NTH.
36760 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
36761 namespace violations.
36762
97c066e6
UD
367632011-10-17 Ulrich Drepper <drepper@gmail.com>
36764
99ce7b04
UD
36765 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
36766
1004d182
UD
36767 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
36768
228a984d
UD
36769 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
36770 recently added interfaces.
36771 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
36772
c8553a6a
UD
36773 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
36774 about macro parameter expansion.
36775
ed22dcf6
UD
36776 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
36777 __NO_MATH_INLINES is defined. Cleanups.
36778
36779 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
36780 and __floorf is target has SSE4.1.
36781 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
36782 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
36783 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
36784 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
36785
b171c137
UD
36786 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
36787 name.
36788 (floorf): Likewise.
36789
97c066e6
UD
36790 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
36791
629f62ef
AS
367922011-10-17 Andreas Schwab <schwab@redhat.com>
36793
49a43d80
AS
36794 * misc/sys/cdefs.h: Fix last change.
36795
629f62ef
AS
36796 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
36797 database lookup.
36798
e453f6cd
UD
367992011-10-16 Ulrich Drepper <drepper@gmail.com>
36800
aa78043a
UD
36801 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
36802
ad0f5cad
UD
36803 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
36804 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
36805 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
36806 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
36807 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
36808 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
36809 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
36810 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
36811 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
36812 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
36813 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
36814 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
36815 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
36816 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
36817 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
36818 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
36819 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
36820 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
36821 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
36822 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
36823 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
36824 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
36825
36826 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
36827 ceil, ceilf, floor, floorf.
36828
36829 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
36830 Perform IRELATIVE relocations last.
36831
e453f6cd
UD
36832 * elf/do-rel.h: Add another parameter nrelative, replacing the
36833 local variable with the same name. Change name of the function
36834 to end in Rel or Rela (uppercase).
36835 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
36836 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
36837 elf_dynamic_do_##reloc function.
36838
fd5bdc09
UD
368392011-10-15 Ulrich Drepper <drepper@gmail.com>
36840
79b195b5
UD
36841 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
36842 is sufficient, at least on modern CPUs.
36843
d4a28569
UD
36844 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
36845
b61099b5
UD
36846 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
36847 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
36848
bcf01e6d
UD
36849 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
36850 __expl_finite.
36851 * math/bits/math-finite.h: Add entries for exp.
36852 * math/e_expl.c: Add __*_finite alias.
36853 * sysdeps/i386/fpu/e_exp.S: Likewise.
36854 * sysdeps/i386/fpu/e_expf.S: Likewise.
36855 * sysdeps/i386/fpu/e_expl.c: Likewise.
36856 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36857 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
36858 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
36859 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
36860 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
36861 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
36862 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
36863
ba1a0d59
UD
36864 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
36865 is sufficient, at least on modern CPUs.
36866
fd5bdc09
UD
36867 * ctype/ctype-info.c (__ctype_init): Define.
36868 * include/ctype.h (__ctype_init): Declare.
36869 (__ctype_b_loc): The variable is always initialized.
36870 (__ctype_toupper_loc): Likewise.
36871 (__ctype_tolower_loc): Likewise.
36872 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
36873 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
36874
7872cfb0
AS
368752011-10-15 Andreas Schwab <schwab@linux-m68k.org>
36876
b468825a
AS
36877 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
36878
7872cfb0
AS
36879 * configure.in: Also look in $cxxmachine/include for C++ system
36880 headers.
36881
be13f7bf
LD
368822011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36883
36884 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
36885 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
36886 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
36887 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
36888 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
36889 (USE_AS_WMEMCMP): New macro.
36890 Fixing indents.
36891 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
36892 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
36893 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
36894 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
36895 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36896 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
36897 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
36898 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
36899 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
36900 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
36901 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
36902 (USE_AS_WMEMCMP): New macro.
36903 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
36904 * sysdeps/string/test-memcmp.c: Update.
36905 Fix simple_wmemcmp.
36906 Add new tests.
36907 * wcsmbs/wmemcmp.c: Update.
36908 (WMEMCMP): New macro.
36909 Fix overflow bug.
36910
556a2007
AJ
369112011-10-12 Andreas Jaeger <aj@suse.de>
36912
36913 [BZ #13268]
36914 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
36915
538faaa7
UD
369162011-10-15 Ulrich Drepper <drepper@gmail.com>
36917
ab6737ff
UD
36918 * libio/iofwide.c (do_length): Avoid warning.
36919
538faaa7
UD
36920 * ctype/ctype.h (__isctype_f): Add missing __THROW.
36921
396a21b1
UD
369222011-10-14 Ulrich Drepper <drepper@gmail.com>
36923
cdf2901f
UD
36924 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
36925
38ad40ce
UD
36926 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
36927 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
36928 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
36929 * sysdeps/i386/i686/fpu/e_log.S: New file.
36930 * sysdeps/i386/i686/fpu/e_logf.S: New file.
36931 * sysdeps/i386/i686/fpu/e_logl.S: New file.
36932
396a21b1
UD
36933 * ctype/ctype.h: Add support for inlined isXXX functions when
36934 compiling C++ code.
36935
6b1f68c9
AS
369362011-10-14 Andreas Schwab <schwab@redhat.com>
36937
349290c0
AS
36938 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
36939
6b1f68c9
AS
36940 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
36941
f2282d42
RM
369422011-10-13 Roland McGrath <roland@hack.frob.com>
36943
36944 [BZ #13291]
36945 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
36946
5298ffa8
AS
369472011-10-13 Andreas Schwab <schwab@redhat.com>
36948
714fad23
AS
36949 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
36950 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
36951 feraiseexcept.
36952
81dcc7fb
AS
36953 * sysdeps/x86_64/memrchr.S: Check for zero size.
36954
5298ffa8
AS
36955 * string/stratcliff.c: Add memrchr tests.
36956
951fbcec
LD
369572011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36958
36959 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36960 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
36961 rawmemchr-sse2 rawmemchr-sse2-bsf.
36962 * sysdeps/i386/i686/multiarch/memchr.S: New file.
36963 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
36964 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
36965 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
36966 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
36967 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
36968 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
36969 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
36970 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
36971 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
36972 * string/memrchr.c (MEMRCHR): New macro.
36973
0ac5ae23
UD
369742011-10-12 Ulrich Drepper <drepper@gmail.com>
36975
36976 Add integration with gcc's -ffinite-math-only and optimize wrapper
36977 functions in libm.
36978 * Versions.def: Define GLIBC_2.15 version for libm.
36979 * math/Makefile (headers): Add bits/math-finite.h.
36980 * math/bits/math-finite.h: New file.
36981 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
36982 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
36983 * math/e_acoshl.c: Add __*_finite alias.
36984 * math/e_acosl.c: Likewise.
36985 * math/e_asinl.c: Likewise.
36986 * math/e_atan2l.c: Likewise.
36987 * math/e_atanhl.c: Likewise.
36988 * math/e_coshl.c: Likewise.
36989 * math/e_exp10.c: Likewise.
36990 * math/e_exp10f.c: Likewise.
36991 * math/e_exp10l.c: Likewise.
36992 * math/e_exp2l.c: Likewise.
36993 * math/e_fmodl.c: Likewise.
36994 * math/e_gammal_r.c: Likewise.
36995 * math/e_hypotl.c: Likewise.
36996 * math/e_j0l.c: Likewise.
36997 * math/e_j1l.c: Likewise.
36998 * math/e_jnl.c: Likewise.
36999 * math/e_lgammal_r.c: Likewise.
37000 * math/e_log10l.c: Likewise.
37001 * math/e_log2l.c: Likewise.
37002 * math/e_logl.c: Likewise.
37003 * math/e_powl.c: Likewise.
37004 * math/e_sinhl.c: Likewise.
37005 * math/e_sqrtl.c: Likewise.
37006 * math/e_scalb.c: Completely rewritten and optimized.
37007 * math/e_scalbf.c: Likewise.
37008 * math/e_scalbl.c: Likewise.
37009 * math/w_acos.c: Likewise.
37010 * math/w_acosf.c: Likewise.
37011 * math/w_acosl.c: Likewise.
37012 * math/w_acosh.c: Likewise.
37013 * math/w_acoshf.c: Likewise.
37014 * math/w_acoshl.c: Likewise.
37015 * math/w_asin.c: Likewise.
37016 * math/w_asinf.c: Likewise.
37017 * math/w_asinl.c: Likewise.
37018 * math/w_atan2.c: Likewise.
37019 * math/w_atan2f.c: Likewise.
37020 * math/w_atan2l.c: Likewise.
37021 * math/w_atanh.c: Likewise.
37022 * math/w_atanhf.c: Likewise.
37023 * math/w_atanhl.c: Likewise.
37024 * math/w_exp10.c: Likewise.
37025 * math/w_exp10f.c: Likewise.
37026 * math/w_exp10l.c: Likewise.
37027 * math/w_fmod.c: Likewise.
37028 * math/w_fmodf.c: Likewise.
37029 * math/w_fmodl.c: Likewise.
37030 * math/w_j0.c: Likewise.
37031 * math/w_j0f.c: Likewise.
37032 * math/w_j0l.c: Likewise.
37033 * math/w_j1.c: Likewise.
37034 * math/w_j1f.c: Likewise.
37035 * math/w_j1l.c: Likewise.
37036 * math/w_jn.c: Likewise.
37037 * math/w_jnf.c: Likewise.
37038 * math/w_log.c: Likewise.
37039 * math/w_logf.c: Likewise.
37040 * math/w_logl.c: Likewise.
37041 * math/w_log10.c: Likewise.
37042 * math/w_log10f.c: Likewise.
37043 * math/w_log10l.c: Likewise.
37044 * math/w_log2.c: Likewise.
37045 * math/w_log2f.c: Likewise.
37046 * math/w_log2l.c: Likewise.
37047 * math/w_pow.c: Likewise.
37048 * math/w_powf.c: Likewise.
37049 * math/w_powl.c: Likewise.
37050 * math/w_remainder.c: Likewise.
37051 * math/w_remainderf.c: Likewise.
37052 * math/w_remainderl.c: Likewise.
37053 * math/w_scalb.c: Likewise.
37054 * math/w_scalbf.c: Likewise.
37055 * math/w_scalbl.c: Likewise.
37056 * math/w_sqrt.c: Likewise.
37057 * math/w_sqrtf.c: Likewise.
37058 * math/w_sqrtl.c: Likewise.
37059 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
37060 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
37061 used.
37062 * math/math_private.h: Declare __kernel_standard_f.
37063 * math/w_cosh.c: Remove cruft and optimize a bit.
37064 * math/w_coshf.c: Likewise.
37065 * math/w_coshl.c: Likewise.
37066 * math/w_exp2.c: Likewise.
37067 * math/w_exp2f.c: Likewise.
37068 * math/w_exp2l.c: Likewise.
37069 * math/w_hypot.c: Likewise.
37070 * math/w_hypotf.c: Likewise.
37071 * math/w_hypotl.c: Likewise.
37072 * math/w_lgamma.c: Likewise.
37073 * math/w_lgamma_r.c: Likewise.
37074 * math/w_lgammaf.c: Likewise.
37075 * math/w_lgammaf_r.c: Likewise.
37076 * math/w_lgammal.c: Likewise.
37077 * math/w_lgammal_r.c: Likewise.
37078 * math/w_sinh.c: Likewise.
37079 * math/w_sinhf.c: Likewise.
37080 * math/w_sinhl.c: Likewise.
37081 * math/w_tgamma.c: Likewise.
37082 * math/w_tgammaf.c: Likewise.
37083 * math/w_tgammal.c: Likewise.
37084 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
37085 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37086 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
37087 Minor optimizations. Pretty printing. Remove cruft.
37088 * sysdeps/i386/fpu/e_acosf.S: Likewise.
37089 * sysdeps/i386/fpu/e_acosh.S: Likewise.
37090 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
37091 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
37092 * sysdeps/i386/fpu/e_acosl.c: Likewise.
37093 * sysdeps/i386/fpu/e_asin.S: Likewise.
37094 * sysdeps/i386/fpu/e_asinf.S: Likewise.
37095 * sysdeps/i386/fpu/e_atan2.S: Likewise.
37096 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
37097 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
37098 * sysdeps/i386/fpu/e_atanh.S: Likewise.
37099 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
37100 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
37101 * sysdeps/i386/fpu/e_exp10.S: Likewise.
37102 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
37103 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
37104 * sysdeps/i386/fpu/e_exp2.S: Likewise.
37105 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
37106 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
37107 * sysdeps/i386/fpu/e_fmod.S: Likewise.
37108 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
37109 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
37110 * sysdeps/i386/fpu/e_hypot.S: Likewise.
37111 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
37112 * sysdeps/i386/fpu/e_log.S: Likewise.
37113 * sysdeps/i386/fpu/e_log10.S: Likewise.
37114 * sysdeps/i386/fpu/e_log10f.S: Likewise.
37115 * sysdeps/i386/fpu/e_log10l.S: Likewise.
37116 * sysdeps/i386/fpu/e_log2.S: Likewise.
37117 * sysdeps/i386/fpu/e_log2f.S: Likewise.
37118 * sysdeps/i386/fpu/e_log2l.S: Likewise.
37119 * sysdeps/i386/fpu/e_logf.S: Likewise.
37120 * sysdeps/i386/fpu/e_logl.S: Likewise.
37121 * sysdeps/i386/fpu/e_pow.S: Likewise.
37122 * sysdeps/i386/fpu/e_powf.S: Likewise.
37123 * sysdeps/i386/fpu/e_powl.S: Likewise.
37124 * sysdeps/i386/fpu/e_remainder.S: Likewise.
37125 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
37126 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
37127 * sysdeps/i386/fpu/e_scalb.S: Likewise.
37128 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
37129 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
37130 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
37131 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
37132 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
37133 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
37134 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
37135 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37136 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
37137 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
37138 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
37139 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
37140 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
37141 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
37142 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
37143 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
37144 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
37145 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37146 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
37147 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
37148 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37149 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
37150 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
37151 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37152 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37153 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
37154 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
37155 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
37156 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
37157 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
37158 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
37159 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
37160 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
37161 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
37162 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
37163 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
37164 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
37165 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
37166 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
37167 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
37168 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
37169 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
37170 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
37171 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
37172 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
37173 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
37174 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
37175 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
37176 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
37177 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
37178 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
37179 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
37180 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
37181 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
37182 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
37183 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
37184 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
37185 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
37186 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
37187 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
37188 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
37189 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
37190 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
37191 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
37192 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
37193 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
37194 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
37195 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
37196 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
37197 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
37198 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
37199 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
37200 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
37201 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
37202 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
37203 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
37204 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
37205 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
37206 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
37207 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
37208 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
37209 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
37210 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
37211 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
37212 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
37213 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
37214 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
37215 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
37216 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
37217 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
37218 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
37219 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
37220 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
37221 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
37222 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
37223 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
37224 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
37225 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
37226 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
37227 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
37228 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
37229 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
37230 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
37231 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
37232 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
37233 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
37234 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
37235 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
37236 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
37237 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
37238 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
37239 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
37240 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
37241 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
37242 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
37243 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
37244 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
37245 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
37246 (__isnanf): Likewise.
37247 (__isinf_ns): Likewise.
37248 (__isinf_nsf): Likewise.
37249 (__finite): Likewise.
37250 (__finitef): Likewise.
37251 (__ieee754_sqrt): Define as macro.
37252 (__ieee754_sqrtf): Define as macro.
37253 (__ieee754_sqrtl): Define as macro.
37254 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
37255 inlined copy.
37256 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
37257 __FINITE_MATH_ONLY__ consistent.
37258 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
37259
12cc2fcd
AS
372602011-10-10 Andreas Schwab <schwab@linux-m68k.org>
37261
a843a204
AS
37262 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
37263 of rawmemchr.
37264
12cc2fcd
AS
37265 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
37266
c853acd5
UD
372672011-10-09 Ulrich Drepper <drepper@gmail.com>
37268
37269 * po/ja.po: Update from translation team.
37270
c658d255
RM
372712011-10-08 Roland McGrath <roland@hack.frob.com>
37272
110946e4
RM
37273 * locale/programs/locarchive.c (prepare_address_space): New function.
37274 (create_archive, enlarge_archive, open_archive): Use it.
37275
50604220
RM
37276 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
37277 inside [SHARED], where it is used.
37278
c658d255
RM
37279 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
37280
37281 * nss/getent.c (netgroup_keys): Remove unused variable.
37282 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
37283
6a621eb7
UD
372842011-10-08 Ulrich Drepper <drepper@gmail.com>
37285
7edb55ce
UD
37286 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
37287 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
37288 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
37289 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
37290 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
37291 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
37292 * math/Makefile (libm-calls): Add s_isinf_ns.
37293 * math/divtc3.c: Use __isinf_nsl instead of isinf.
37294 * math/multc3.c: Likewise.
37295 * math/s_casin.c: Likewise.
37296 * math/s_casinf.c: Likewise.
37297 * math/s_casinl.c: Likewise.
37298 * math/s_ccos.c: Likewise.
37299 * math/s_ccosf.c: Likewise.
37300 * math/s_ccosl.c: Likewise.
37301 * math/s_ctan.c: Likewise.
37302 * math/s_ctanf.c: Likewise.
37303 * math/s_ctanh.c: Likewise.
37304 * math/s_ctanhf.c: Likewise.
37305 * math/s_ctanhl.c: Likewise.
37306 * math/s_ctanl.c: Likewise.
37307 * math/w_fmod.c: Likewise.
37308 * math/w_fmodf.c: Likewise.
37309 * math/w_fmodl.c: Likewise.
37310 * math/w_remainder.c: Likewise.
37311 * math/w_remainderf.c: Likewise.
37312 * math/w_remainderl.c: Likewise.
37313 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
37314 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
37315 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
37316 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
37317 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
37318 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
37319 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
37320 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
37321
187da0ae
UD
37322 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
37323 of the number.
37324 * stdio-common/printf_fphex.c: Likewise.
37325 * stdio-common/printf_size.c: Likewise.
37326
9277c064
UD
37327 * math/e_exp10.c: Include math_private.h using <...> not "...".
37328 * math/e_exp10f.c: Likewise.
37329 * math/e_exp10l.c: Likewise.
37330 * math/e_exp2l.c: Likewise.
37331 * math/e_j0l.c: Likewise.
37332 * math/e_j1l.c: Likewise.
37333 * math/e_jnl.c: Likewise.
37334 * math/e_lgammal_r.c: Likewise.
37335 * math/e_rem_pio2l.c: Likewise.
37336 * math/e_scalb.c: Likewise.
37337 * math/e_scalbf.c: Likewise.
37338 * math/e_scalbl.c: Likewise.
37339 * math/k_cosl.c: Likewise.
37340 * math/k_sinl.c: Likewise.
37341 * math/k_tanl.c: Likewise.
37342 * math/s_cacoshf.c: Likewise.
37343 * math/s_catan.c: Likewise.
37344 * math/s_catanf.c: Likewise.
37345 * math/s_catanh.c: Likewise.
37346 * math/s_catanhf.c: Likewise.
37347 * math/s_catanhl.c: Likewise.
37348 * math/s_catanl.c: Likewise.
37349 * math/s_ccosh.c: Likewise.
37350 * math/s_ccoshf.c: Likewise.
37351 * math/s_ccoshl.c: Likewise.
37352 * math/s_cexp.c: Likewise.
37353 * math/s_cexpf.c: Likewise.
37354 * math/s_cexpl.c: Likewise.
37355 * math/s_clog.c: Likewise.
37356 * math/s_clog10.c: Likewise.
37357 * math/s_clog10f.c: Likewise.
37358 * math/s_clog10l.c: Likewise.
37359 * math/s_clogf.c: Likewise.
37360 * math/s_clogl.c: Likewise.
37361 * math/s_csin.c: Likewise.
37362 * math/s_csinf.c: Likewise.
37363 * math/s_csinh.c: Likewise.
37364 * math/s_csinhf.c: Likewise.
37365 * math/s_csinhl.c: Likewise.
37366 * math/s_csinl.c: Likewise.
37367 * math/s_csqrt.c: Likewise.
37368 * math/s_csqrtf.c: Likewise.
37369 * math/s_csqrtl.c: Likewise.
37370 * math/s_ctan.c: Likewise.
37371 * math/s_ctanf.c: Likewise.
37372 * math/s_ctanh.c: Likewise.
37373 * math/s_ctanhf.c: Likewise.
37374 * math/s_ctanhl.c: Likewise.
37375 * math/s_ctanl.c: Likewise.
37376 * math/s_ldexp.c: Likewise.
37377 * math/s_ldexpf.c: Likewise.
37378 * math/s_ldexpl.c: Likewise.
37379 * math/s_significand.c: Likewise.
37380 * math/s_significandf.c: Likewise.
37381 * math/s_significandl.c: Likewise.
37382 * math/w_acos.c: Likewise.
37383 * math/w_acosf.c: Likewise.
37384 * math/w_acosh.c: Likewise.
37385 * math/w_acoshf.c: Likewise.
37386 * math/w_acoshl.c: Likewise.
37387 * math/w_acosl.c: Likewise.
37388 * math/w_asin.c: Likewise.
37389 * math/w_asinf.c: Likewise.
37390 * math/w_asinl.c: Likewise.
37391 * math/w_atan2.c: Likewise.
37392 * math/w_atan2f.c: Likewise.
37393 * math/w_atan2l.c: Likewise.
37394 * math/w_atanh.c: Likewise.
37395 * math/w_atanhf.c: Likewise.
37396 * math/w_atanhl.c: Likewise.
37397 * math/w_cosh.c: Likewise.
37398 * math/w_coshf.c: Likewise.
37399 * math/w_coshl.c: Likewise.
37400 * math/w_dremf.c: Likewise.
37401 * math/w_exp10.c: Likewise.
37402 * math/w_exp10f.c: Likewise.
37403 * math/w_exp10l.c: Likewise.
37404 * math/w_exp2.c: Likewise.
37405 * math/w_exp2f.c: Likewise.
37406 * math/w_fmod.c: Likewise.
37407 * math/w_fmodf.c: Likewise.
37408 * math/w_fmodl.c: Likewise.
37409 * math/w_hypot.c: Likewise.
37410 * math/w_hypotf.c: Likewise.
37411 * math/w_hypotl.c: Likewise.
37412 * math/w_j0.c: Likewise.
37413 * math/w_j0f.c: Likewise.
37414 * math/w_j0l.c: Likewise.
37415 * math/w_j1.c: Likewise.
37416 * math/w_j1f.c: Likewise.
37417 * math/w_j1l.c: Likewise.
37418 * math/w_jn.c: Likewise.
37419 * math/w_jnf.c: Likewise.
37420 * math/w_jnl.c: Likewise.
37421 * math/w_lgamma.c: Likewise.
37422 * math/w_lgamma_r.c: Likewise.
37423 * math/w_lgammaf.c: Likewise.
37424 * math/w_lgammaf_r.c: Likewise.
37425 * math/w_lgammal.c: Likewise.
37426 * math/w_lgammal_r.c: Likewise.
37427 * math/w_log.c: Likewise.
37428 * math/w_log10.c: Likewise.
37429 * math/w_log10f.c: Likewise.
37430 * math/w_log10l.c: Likewise.
37431 * math/w_log2.c: Likewise.
37432 * math/w_log2f.c: Likewise.
37433 * math/w_log2l.c: Likewise.
37434 * math/w_logf.c: Likewise.
37435 * math/w_logl.c: Likewise.
37436 * math/w_pow.c: Likewise.
37437 * math/w_powf.c: Likewise.
37438 * math/w_powl.c: Likewise.
37439 * math/w_remainder.c: Likewise.
37440 * math/w_remainderf.c: Likewise.
37441 * math/w_remainderl.c: Likewise.
37442 * math/w_scalb.c: Likewise.
37443 * math/w_scalbf.c: Likewise.
37444 * math/w_scalbl.c: Likewise.
37445 * math/w_sinh.c: Likewise.
37446 * math/w_sinhf.c: Likewise.
37447 * math/w_sinhl.c: Likewise.
37448 * math/w_sqrt.c: Likewise.
37449 * math/w_sqrtf.c: Likewise.
37450 * math/w_sqrtl.c: Likewise.
37451 * math/w_tgamma.c: Likewise.
37452 * math/w_tgammaf.c: Likewise.
37453 * math/w_tgammal.c: Likewise.
37454
6a621eb7
UD
37455 * po/ja.po: Update from translation team.
37456
bf582445
AJ
374572011-09-29 Andreas Jaeger <aj@suse.de>
37458
f9efbf3a
AJ
37459 [BZ #13179]
37460 * sunrpc/netname.c (netname2host): Fix logic.
37461
bf582445
AJ
37462 [BZ #6779]
37463 [BZ #6783]
37464 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
37465 correctly.
37466 * math/w_remainder.c (__remainder): Likewise.
37467 * math/w_remainderf.c (__remainderf): Likewise.
37468 * math/libm-test.inc (remainder_test): Add test cases.
37469
48693bea
AK
374702011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37471
37472 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
37473 sdiv_qrnnd.
37474
42622229
LD
374752011-10-07 Ulrich Drepper <drepper@gmail.com>
37476
37477 * string/test-memcmp.c: Avoid unncessary #defines.
37478 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
37479
093ecf92
LD
374802011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37481
37482 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
37483 Use new sse2 version for core i3 - i7 as it's faster
37484 than sse42 version.
37485 (bit_Prefer_PMINUB_for_stringop): New.
37486 * sysdeps/x86_64/rawmemchr.S: Update.
37487 Replace with faster SSE2 version.
37488 * sysdeps/x86_64/memrchr.S: New file.
37489 * sysdeps/x86_64/memchr.S: Update.
37490 Replace with faster SSE2 version.
37491
fde56e5c
MP
374922011-09-12 Marek Polacek <mpolacek@redhat.com>
37493
37494 * elf/dl-load.c (lose): Add cast to avoid warning.
37495
21fd49a9
UD
374962011-10-07 Ulrich Drepper <drepper@gmail.com>
37497
5a06e643
UD
37498 * po/ca.po: Update from translation team.
37499
684ae515
UD
37500 * inet/getnetgrent_r.c: Hook up nscd.
37501 * nscd/Makefile (routines): Add nscd_netgroup.
37502 (nscd-modules): Add netgroupcache.
37503 (CFLAGS-netgroupcache.c): Define.
37504 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
37505 (cache_search): Add const to second parameter.
37506 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
37507 INNETGR.
37508 (dbs): Add netgrdb entry.
37509 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
37510 (verify_persistent_db): Handle netgrdb.
37511 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
37512 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
37513 GETFDNETGR.
37514 (netgroup_response_header): Define.
37515 (innetgroup_response_header): Define.
37516 (datahead): Add netgroup_response_header and innetgroup_response_header
37517 elements.
37518 * nscd/nscd.conf: Add entries for netgroup cache.
37519 * nscd/nscd.h (dbtype): Add netgrdb.
37520 (_PATH_NSCD_NETGROUP_DB): Define.
37521 (netgroup_iov_disabled): Declare.
37522 (xmalloc, xcalloc, xrealloc): Move declarations here.
37523 (cache_search): Adjust prototype.
37524 Add netgroup-related prototypes.
37525 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
37526 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
37527 (__nscd_innetgr): Declare.
37528 * nscd/selinux.c (perms): Use access_vector_t as element type and
37529 add netgroup-related initializers.
37530 * nscd/netgroupcache.c: New file.
37531 * nscd/nscd_netgroup.c: New file.
37532 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
37533 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
37534 For four parameters use innetgr.
37535 * nss/nss_files/files-init.c: Add definition and callback for netgr.
37536 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
37537 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
37538 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
37539
21fd49a9
UD
37540 * nscd/connections.c (register_traced_file): Don't register file
37541 for disabled databases.
37542
054c0457
UD
375432011-10-06 Ulrich Drepper <drepper@gmail.com>
37544
32b63198
UD
37545 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
37546
054c0457
UD
37547 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
37548 from tree and freeing node.
37549
64031225
JO
375502011-09-25 Jiri Olsa <jolsa@redhat.com>
37551
37552 * nss/nsswitch.c (__nss_database_lookup): Handle
37553 nss_parse_service_list out of memory case.
37554
0490345c
JO
375552011-09-15 Jiri Olsa <jolsa@redhat.com>
37556
37557 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
37558 out of memory case.
37559
3a62d00d
AS
375602011-10-04 Andreas Schwab <schwab@redhat.com>
37561
37562 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
37563 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
37564 pass it down.
37565 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
37566 elf_machine_rela, elf_machine_lazy_rel.
37567 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
37568 (ELF_DYNAMIC_DO_REL): Likewise.
37569 (ELF_DYNAMIC_DO_RELA): Likewise.
37570 (ELF_DYNAMIC_RELOCATE): Likewise.
37571 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
37572 to ELF_DYNAMIC_DO_REL.
37573 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
37574 (dl_main): In trace mode always set __RTLD_NOIFUNC.
37575 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
37576 elf_machine_rela.
37577 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
37578 skip_ifunc, don't call ifunc function if non-zero.
37579 (elf_machine_rela): Likewise.
37580 (elf_machine_lazy_rel): Likewise.
37581 (elf_machine_lazy_rela): Likewise.
37582 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
37583 (elf_machine_lazy_rel): Likewise.
37584 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
37585 Likewise.
37586 (elf_machine_lazy_rel): Likewise.
37587 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
37588 Likewise.
37589 (elf_machine_lazy_rel): Likewise.
37590 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
37591 (elf_machine_lazy_rel): Likewise.
37592 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
37593 (elf_machine_lazy_rel): Likewise.
37594 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
37595 (elf_machine_lazy_rel): Likewise.
37596 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
37597 (elf_machine_lazy_rel): Likewise.
37598 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
37599 (elf_machine_lazy_rel): Likewise.
37600 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
37601 (elf_machine_lazy_rel): Likewise.
37602
68577918
UD
376032011-09-28 Ulrich Drepper <drepper@gmail.com>
37604
37605 * nss/nss_files/files-init.c (_nss_files_init): Use static
37606 initialization for all the *_traced_file variables.
37607
68822d74
AS
376082011-09-28 Andreas Schwab <schwab@redhat.com>
37609
37610 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
37611
2056100b
RM
376122011-09-27 Roland McGrath <roland@hack.frob.com>
37613
37614 [BZ #13226]
37615 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
37616
32c76b63
AS
376172011-09-27 Andreas Schwab <schwab@redhat.com>
37618
37619 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
37620 Reread the line before reparsing it.
37621
bf972c9d
AS
376222011-09-26 Andreas Schwab <schwab@redhat.com>
37623
37624 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
37625
e057a1b5
JM
376262011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
37627 Maxim Kuvyrkov <maxim@codesourcery.com>
37628 Joseph Myers <joseph@codesourcery.com>
37629
37630 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
37631 if needed for __stack_chk_guard.
37632
bc7e1c36
RM
376332011-09-19 Roland McGrath <roland@hack.frob.com>
37634
ecb1482f
RM
37635 * sysdeps/posix/spawni.c (script_execute): Always define it.
37636 It will be optimized away if unused.
37637 (maybe_script_execute): New function.
37638 (__spawni): Call it.
37639
bc7e1c36
RM
37640 * Makerules: Don't include tls.make.
37641 (config-tls): Always set to thread.
37642 * tls.make.c: File removed.
37643
1c3b002b
MF
376442011-09-19 Mike Frysinger <vapier@gentoo.org>
37645
37646 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
37647 * config.make.in (CPPFLAGS-config): New substituted variable.
37648
2840865d
UD
376492011-09-15 Ulrich Drepper <drepper@gmail.com>
37650
88738eb6
UD
37651 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
37652
cbf645a6 37653 [BZ #13192]
2840865d
UD
37654 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
37655 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
37656
b402e91a
RM
376572011-09-15 Roland McGrath <roland@hack.frob.com>
37658
37659 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
37660 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
37661 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
37662 (CALL_FAIL): Likewise.
37663 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
37664 (CALL_FAIL): Macro removed.
37665 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
37666
4c1a1f71
UD
376672011-09-15 Ulrich Drepper <drepper@gmail.com>
37668
37669 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
37670 for __FINITE_MATH_ONLY__ == 1.
37671
edc121be
AS
376722011-09-15 Andreas Schwab <schwab@redhat.com>
37673
37674 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
37675 __ieee754_sqrt instead of sqrt.
37676 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
37677 __ieee754_sqrtf instead of sqrtf.
37678 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
37679 __floorf instead of floorf.
37680 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
37681 __floorf, __truncf instead of floorf, truncf.
37682
cd205654
UD
376832011-09-14 Ulrich Drepper <drepper@gmail.com>
37684
ee4d0315
UD
37685 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
37686
cd205654
UD
37687 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
37688 __extern_always_inline.
37689 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
37690 32-bit.
37691
48b67d71
AS
376922011-09-14 Andreas Schwab <schwab@redhat.com>
37693
37694 * elf/rtld.c (dl_main): Also relocate in dependency order when
37695 doing symbol dependency testing.
37696
1ae12c75
AS
376972011-09-13 Andreas Schwab <schwab@linux-m68k.org>
37698
37699 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
37700 Always define `refsym'.
37701
995a80df
AS
377022011-09-13 Andreas Schwab <schwab@redhat.com>
37703
e529793b
AS
37704 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
37705 (__FD_ELT): Renamed from __FDELT.
37706 * misc/bits/select2.h (__FD_ELT): Likewise.
37707 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
37708 __FD_MASK instead of __FDELT, __FDMASK.
37709 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
37710 Likewise.
37711 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
37712 Likewise.
37713
52d4fef8
AS
37714 * elf/Makefile (gen-ldd): Fix pattern.
37715
995a80df
AS
37716 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
37717 (init_tls): Likewise.
37718
8682f8b0
UD
377192011-09-12 Ulrich Drepper <drepper@gmail.com>
37720
37721 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
37722
de82006d
AS
377232011-09-12 Andreas Schwab <schwab@redhat.com>
37724
a7c8e6a1
AS
37725 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
37726 `struct cmsghdr *' instead of `void *'.
37727 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
37728 Likewise.
37729
0f31fe77
AS
377302011-09-11 Andreas Schwab <schwab@linux-m68k.org>
37731
37732 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
37733 if non-absolute.
37734 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
37735 ldd_rewrite_script.
0f31fe77 37736
32b4c839
UD
377372011-09-11 Ulrich Drepper <drepper@gmail.com>
37738
83cd1420
UD
37739 * configure.in: Remove --with-tls option.
37740 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
37741 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
37742 out in case it is missing.
37743 * sysdeps/ia64/elf/configure.in: Likewise.
37744 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
37745 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
37746 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
37747 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
37748 * sysdeps/sh/elf/configure.in: Likewise.
37749 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
37750 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
37751 * sysdeps/x86_64/elf/configure.in: Likewise.
37752 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
37753 * sysdeps/mach/hurd/tls.h: Likewise.
37754
633f745d
UD
37755 [BZ #13067]
37756 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
37757
f318beb8
UD
37758 [BZ #13090]
37759 * configure.in: Fix use of AC_INIT.
37760
32b4c839
UD
37761 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
37762
3ce1f295
UD
377632011-09-10 Ulrich Drepper <drepper@gmail.com>
37764
bb016596
UD
37765 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
37766 __set_errno.
8e58439c
UD
37767 * malloc/hooks.c: Likewise.
37768
aebae053 37769 [BZ #11929]
02d46fc4
UD
37770 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
37771 variables statically.
37772 (narenas): Initialize.
37773 (list_lock): Initialize.
bb016596
UD
37774 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
37775 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
37776 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
37777 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
37778 Add initializers to main_arena and mp_.
37779 (malloc_state): Remove pagesize member. Change all users to use
37780 GLRO(dl_pagesize).
37781
37782 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
37783 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
37784 is always initialized.
37785
22a89187
UD
37786 * malloc/malloc.c: Removed unused configurations and dead code.
37787 * malloc/arena.c: Likewise.
37788 * malloc/hooks.c: Likewise.
02d46fc4 37789 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 37790
d063d164
UD
37791 * include/tls.h: Removed. USE___THREAD must always be defined.
37792 * bits/libc-tsd.h: Don't handle !USE___THREAD.
37793 * elf/dl-libc.c: Likewise.
37794 * elf/dl-tsd.c: Likewise.
37795 * include/errno.h: Likewise.
37796 * include/netdb.h: Likewise.
37797 * include/resolv.h: Likewise.
37798 * inet/herrno-loc.c: Likewise.
37799 * inet/herrno.c: Likewise.
37800 * malloc/arena.c: Likewise.
37801 * malloc/hooks.c: Likewise.
37802 * malloc/malloc.c: Likewise.
37803 * resolv/res-state.c: Likewise.
37804 * resolv/res_libc.c: Likewise.
37805 * sysdeps/i386/dl-machine.h: Likewise.
37806 * sysdeps/ia64/dl-machine.h: Likewise.
37807 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
37808 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
37809 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
37810 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
37811 * sysdeps/sh/dl-machine.h: Likewise.
37812 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
37813 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
37814 * sysdeps/unix/i386/sysdep.S: Likewise.
37815 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
37816 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
37817 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
37818 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
37819 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
37820 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
37821 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
37822 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
37823 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37824 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
37825 * sysdeps/unix/x86_64/sysdep.S: Likewise.
37826 * sysdeps/x86_64/dl-machine.h: Likewise.
37827 * tls.make.c: Likewise.
37828
3ce1f295
UD
37829 * configure.in: Remove --with-__thread option. Make tests for
37830 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
37831 tls_model attribute fail if no support is available. Remove
37832 USE_IN_LIBIO.
37833 * Makeconfig: Adjust for dropped configure option. All features are
37834 now mandatory.
37835 * Makerules: Likewise.
37836 * Versions.def: Likewise.
37837 * argp/argp-fmtstream.c: Likewise.
37838 * argp/argp-fmtstream.h: Likewise.
37839 * argp/argp-help.c: Likewise.
37840 * assert/assert.c: Likewise.
37841 * config.h.in: Likewise.
37842 * config.make.in: Likewise.
37843 * configure: Likewise.
37844 * configure.in: Likewise.
37845 * csu/Versions: Likewise.
37846 * csu/init.c: Likewise.
37847 * elf/tst-audit2.c: Likewise.
37848 * elf/tst-tls10.c: Likewise.
37849 * elf/tst-tls10.h: Likewise.
37850 * elf/tst-tls11.c: Likewise.
37851 * elf/tst-tls12.c: Likewise.
37852 * elf/tst-tls14.c: Likewise.
37853 * elf/tst-tlsmod11.c: Likewise.
37854 * elf/tst-tlsmod12.c: Likewise.
37855 * elf/tst-tlsmod13.c: Likewise.
37856 * elf/tst-tlsmod13a.c: Likewise.
37857 * elf/tst-tlsmod14a.c: Likewise.
37858 * elf/tst-tlsmod15b.c: Likewise.
37859 * elf/tst-tlsmod16a.c: Likewise.
37860 * elf/tst-tlsmod16b.c: Likewise.
37861 * elf/tst-tlsmod7.c: Likewise.
37862 * elf/tst-tlsmod8.c: Likewise.
37863 * elf/tst-tlsmod9.c: Likewise.
37864 * gmon/gmon.c: Likewise.
37865 * grp/fgetgrent_r.c: Likewise.
37866 * grp/putgrent.c: Likewise.
37867 * hurd/fopenport.c: Likewise.
37868 * include/libc-symbols.h: Likewise.
37869 * include/tls.h: Likewise.
37870 * intl/gettextP.h: Likewise.
37871 * intl/loadinfo.h: Likewise.
37872 * locale/global-locale.c: Likewise.
37873 * locale/localeinfo.h: Likewise.
37874 * mach/devstream.c: Likewise.
37875 * malloc/arena.c: Likewise.
37876 * malloc/set-freeres.c: Likewise.
37877 * misc/err.c: Likewise.
37878 * misc/getttyent.c: Likewise.
37879 * misc/mntent_r.c: Likewise.
37880 * posix/getopt.c: Likewise.
37881 * posix/wordexp.c: Likewise.
37882 * pwd/fgetpwent_r.c: Likewise.
37883 * resolv/Versions: Likewise.
37884 * resolv/res_hconf.c: Likewise.
37885 * shadow/fgetspent_r.c: Likewise.
37886 * shadow/putspent.c: Likewise.
37887 * stdio-common/printf_fphex.c: Likewise.
37888 * stdio-common/tmpfile.c: Likewise.
37889 * stdlib/abort.c: Likewise.
37890 * stdlib/fmtmsg.c: Likewise.
37891 * sunrpc/auth_unix.c: Likewise.
37892 * sunrpc/clnt_perr.c: Likewise.
37893 * sunrpc/clnt_tcp.c: Likewise.
37894 * sunrpc/clnt_udp.c: Likewise.
37895 * sunrpc/clnt_unix.c: Likewise.
37896 * sunrpc/openchild.c: Likewise.
37897 * sunrpc/svc_simple.c: Likewise.
37898 * sunrpc/svc_tcp.c: Likewise.
37899 * sunrpc/svc_udp.c: Likewise.
37900 * sunrpc/svc_unix.c: Likewise.
37901 * sunrpc/xdr.c: Likewise.
37902 * sunrpc/xdr_array.c: Likewise.
37903 * sunrpc/xdr_rec.c: Likewise.
37904 * sunrpc/xdr_ref.c: Likewise.
37905 * sunrpc/xdr_stdio.c: Likewise.
37906
1248c1c4
PB
379072011-09-09 Ulrich Drepper <drepper@gmail.com>
37908
37909 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
37910
379112011-07-03 Andreas Jaeger <aj@suse.de>
37912
37913 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
37914 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
37915 regenerate with gen-libm-tests.pl.
37916
379172010-05-12 Petr Baudis <pasky@suse.cz>
37918
37919 [BZ #11589]
37920 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
37921 around j0() zero points by switching to j1().
37922 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
37923 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
37924 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
37925 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
37926
f22e1074
UD
379272011-09-09 Ulrich Drepper <drepper@gmail.com>
37928
f19009c1
UD
37929 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
37930 instead of 0.
37931 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 37932 instead of 0.
f19009c1
UD
37933 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
37934 Patch in part by Pavel Roskin <proski@gnu.org>.
37935
3f8cc204
UD
37936 [BZ #13138]
37937 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
37938 realloc.
37939 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
37940 Free memory block if necessary.
37941
f22e1074
UD
37942 [BZ #12847]
37943 * libio/genops.c (INTDEF): For string streams the _lock pointer can
37944 be NULL. Don't lock in this case.
37945
0a2349f9
RM
379462011-09-09 Roland McGrath <roland@hack.frob.com>
37947
37948 * elf/elf.h (ELFOSABI_GNU): New macro.
37949 (ELFOSABI_LINUX): Define to that.
37950
f3cdd467
DZ
379512011-07-29 Denis Zaitceff <zaitceff@gmail.com>
37952
37953 * string/strncat.c (strncat): Undef the symbol in case it has been
37954 defined in bits/string.h.
37955
74718d13
UD
379562011-09-09 Ulrich Drepper <drepper@gmail.com>
37957
633e9e0f
UD
37958 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
37959
0a2349f9 37960 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
37961 link map.
37962
f9924780
AJ
379632011-08-17 Andreas Jaeger <aj@suse.de>
37964
37965 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
37966
7f5517aa
PP
379672011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
37968 Ian Lance Taylor <iant@google.com>
37969
37970 * math/libm-test.inc (lround_test): New testcase.
37971 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
37972
762011fe
UD
379732011-09-08 Ulrich Drepper <drepper@gmail.com>
37974
92963737
UD
37975 * Makefile: Remove support for automatic cvs check-ins.
37976 * Makerules: Likewise.
37977 * config.make.in: Likewise.
37978 * configure.in: Likewise.
37979 * intl/Makefile: Likewise.
37980 * locale/Makefile: Likewise.
37981 * po/Makefile: Likewise.
37982 * posix/Makefile: Likewise.
37983 * sysdeps/gnu/Makefile: Likewise.
37984 * sysdeps/mach/hurd/Makefile: Likewise.
37985 * sysdeps/sparc/sparc32/Makefile: Likewise.
37986
b0727fd8
JS
37987 [BZ #13118]
37988 * posix/Makefile (bug-regex32-ENV): Define.
37989 Patch by John Stanley <jpsinthemix@verizon.net>.
37990
a0f33f99
UD
37991 * misc/Makefile (headers): Add bits/select2.h.
37992 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
37993 * misc/bits/select2.h: New file.
37994 * include/bits/select2.h: New file.
37995 * debug/Makefile (routines): Add fdelt_chk.
37996 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
37997 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
37998 FD_ISSET.
37999 * debug/fdelt_chk.c: New file.
38000
762011fe
UD
38001 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
38002 * wcsmbs/test-wmemcmp.c: Likewise.
38003 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 38004 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
38005
380062011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38007
38008 * string/Makefile (strop-tests): Add memcmp.
38009 * string/test-wmemcmp.c: New file.
38010 * string/test-memcmp.c: Add wmemcmp support.
38011
7f513ec8
RM
380122011-09-08 Roland McGrath <roland@hack.frob.com>
38013
0442afb4
RM
38014 [BZ #13153]
38015 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
38016 2011-07-19 change.
38017
7f513ec8
RM
38018 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
38019 garbage value in a __mach_port_mod_refs call in the cases of the
38020 task-self and thread-self ports.
38021
a12b2239
ST
380222011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
38023
38024 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
38025
610f9ab4
AS
380262011-09-08 Andreas Schwab <schwab@redhat.com>
38027
7f513ec8 38028 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 38029
48882a1a
LD
380302011-09-07 Ulrich Drepper <drepper@gmail.com>
38031
b49865be
UD
38032 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
38033
fdc86bc9
UD
38034 * elf/dl-libc.c (dlerror_run): Pass back error code from
38035 dl_catch_error.
38036
c966526a
UD
38037 [BZ #13123]
38038 * elf/dl-load.c (lose): Free l_origin if it is valid.
38039
48882a1a
LD
38040 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
38041 names.
38042 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
38043 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
38044 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
38045 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
38046 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
38047 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
38048
77a2a8b4
AZ
380492011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38050
38051 * sysdeps/powerpc/fpu/e_hypot.c: New file.
38052 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
38053 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
38054 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
38055 * sysdeps/powerpc/fpu/k_cosf.c: New file.
38056 * sysdeps/powerpc/fpu/k_sinf.c: New file.
38057 * sysdeps/powerpc/fpu/s_cosf.c: New file.
38058 * sysdeps/powerpc/fpu/s_sinf.c: New file.
38059 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
38060 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
38061
24f579d8
AM
380622011-08-15 Alan Modra <amodra@gmail.com>
38063
38064 [BZ #13092]
38065 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
38066 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
38067 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
38068 ppc_mcount to static-only-routines.
38069 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
38070 __mcount_internal.
38071 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
38072 __mcount_internal with usual JUMPTARGET. Remove useless nop.
38073
3d4837df
UD
380742011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
38075
38076 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
38077 for finite and infinity parameters.
38078
22700377
WS
380792011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
38080
38081 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
38082 and add nop instructions for throughput optimization.
38083 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
38084
5025581e
WS
380852011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
38086
38087 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
38088 aligned copy for power7 with vector-scalar instructions.
38089 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
38090
08a300c9
L
380912011-07-24 H.J. Lu <hongjiu.lu@intel.com>
38092
38093 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
38094 AVX check.
38095
59178ef9
AS
380962011-09-07 Andreas Schwab <schwab@redhat.com>
38097
38098 [BZ #13144]
38099 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
38100 last change.
38101
e38ba7ab
UD
381022011-09-07 Ulrich Drepper <drepper@gmail.com>
38103
38104 * sysdeps/unix/sysv/linux/x86_64/init-first.c
38105 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
38106 syscall wrapper around clock_gettime in __vdso_clock_gettime.
38107 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
38108 clock_gettime.
38109
d53a73ac
UD
381102011-09-06 Ulrich Drepper <drepper@gmail.com>
38111
fc8bffcc
UD
38112 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
38113 Forgot to demangle the pointer.
38114
ceaa0c5d
UD
38115 * sysdeps/i386/sysdep.h: Define atom_text_section.
38116 * sysdeps/x86_64/sysdep.h: Likewise.
38117 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
38118 section with atom_text_section.
38119 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
38120 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
38121 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
38122 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
38123 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
38124
a77d3c17
UD
38125 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
38126 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
38127 already be defined. Change to take two parameters and don't assign
38128 result to variable. Adjust all users.
38129 Define INTERNAL_GETTIME if not already defined.
38130 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
38131 call.
38132 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
38133 HAVE_CLOCK_GETTIME_VSYSCALL.
38134 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
38135
d53a73ac
UD
38136 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
38137 gettimeofday vsyscall, just use time.
38138
a8f84144
AS
381392011-09-06 Andreas Schwab <schwab@redhat.com>
38140
38141 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
38142 <errno.h>.
38143
ef606249
UD
381442011-09-06 Ulrich Drepper <drepper@gmail.com>
38145
38146 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
38147 syscall on x86-64.
38148 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
38149 syscall.
38150 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
38151 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
38152 syscall if possible.
38153
6585cb60
UD
381542011-09-05 Ulrich Drepper <drepper@gmail.com>
38155
38156 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
38157 e_ident. Don't pass to find_mapsXX.
38158 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
38159
a5f524e4
LD
381602011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
38161
38162 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38163 strchr-sse2-no-bsf strrchr-sse2-no-bsf
38164 * sysdeps/x86_64/multiarch/strchr.S: Update.
38165 Check bit_slow_BSF bit.
38166 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
38167 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
38168 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
38169
554881ef
UD
381702011-09-05 Ulrich Drepper <drepper@gmail.com>
38171
d96de963
UD
38172 [BZ #13134]
38173 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
38174 before glibc 2.15.
38175 (tryshell): Define.
38176 (__spawni): Change last parameter to be flag. Test
38177 SPAWN_XFLAGS_USE_PATH flag to use path or not.
38178 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
38179 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
38180 * posix/spawni.c: Likewise.
38181 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
38182 * posix/spawnp.c: Likewise. Change normal version to use
38183 SPAWN_XFLAGS_USE_PATH.
38184 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
38185 SPAWN_XFLAGS_TRY_SHELL.
38186
d48e5868
UD
38187 [BZ #13150]
38188 * posix/glob.h: Remove gcc 1.x support.
38189
554881ef
UD
38190 [BZ #13068]
38191 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
38192
693fb948
LD
381932011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
38194
38195 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38196 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
38197 strrchr-sse2-bsf
38198 * sysdeps/i386/i686/multiarch/strchr.S: New file.
38199 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
38200 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
38201 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
38202 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
38203 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
38204
1b48c537
UD
382052011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38206
49d42c37
UD
38207 * sysdeps/x86_64/wcscmp.S: New file.
38208
1b48c537
UD
38209 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
38210 wcscmp-c wcscmp-sse2
38211 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
38212 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
38213 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
38214 * wcsmbs/wcscmp.c: Allow renaming.
38215
15c95c5d
DM
382162011-09-05 David S. Miller <davem@davemloft.net>
38217
38218 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
38219 stack slot, rather than the struct return pointer slot.
38220 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
38221 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
38222 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
38223 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
38224
2f0ad8f3
UD
382252011-09-05 Ulrich Drepper <drepper@gmail.com>
38226
d88ae418
UD
38227 * po/ja.po: Update from translation team.
38228
2f0ad8f3
UD
38229 [BZ #13144]
38230 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
38231 kernel in 64-bit binaries.
38232
5f4318d1
DM
382332011-09-01 David S. Miller <davem@davemloft.net>
38234
38235 * elf/elf.h (HWCAP_SPARC_*): Move to..
38236 * sysdeps/sparc/sysdep.h: this new file and add new values.
38237 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
38238 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
38239 _DL_HWCAP_COUNT to 24.
38240 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
38241 entries.
38242 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
38243 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
38244 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
38245 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
38246 instead of magic constants.
38247 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
38248
3ba57516
DM
382492011-08-31 David S. Miller <davem@davemloft.net>
38250
38251 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
38252 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
38253 Reimplement to do errno handling inline.
38254 (SYSCALL_ERROR_HANDLER): New macro.
38255 (__SYSCALL_STRING): Do not do errno handling in asm.
38256 (__CLONE_SYSCALL_STRING): Delete.
38257 (__INTERNAL_SYSCALL_STRING): Delete.
38258 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
38259 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
38260 (PSEUDO): Reimplement to do errno handling inline.
38261 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
38262 (SYSCALL_ERROR_HANDLER): New macro.
38263 (__SYSCALL_STRING): Do not do errno handling in asm.
38264 (__CLONE_SYSCALL_STRING): Delete.
38265 (__INTERNAL_SYSCALL_STRING): Delete.
38266 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
38267 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
38268 i386.
38269 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
38270 (inline_syscall*): Add 'err' argument.
38271 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
38272 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
38273 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
38274 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
38275
38276 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
38277 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
38278
2bc17433
AS
382792011-08-30 Andreas Schwab <schwab@redhat.com>
38280
38281 * elf/rtld.c (dl_main): Relocate objects in dependency order.
38282
fbeb5f4d
JO
382832011-08-29 Jiri Olsa <jolsa@redhat.com>
38284
38285 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
38286 directive.
38287
ad69cc26
DM
382882011-08-24 David S. Miller <davem@davemloft.net>
38289
38290 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
38291
39dd69df
AS
382922011-08-24 Andreas Schwab <schwab@redhat.com>
38293
38294 * elf/Makefile: Add rules to build and run unload8 test.
38295 * elf/unload8.c: New file.
38296 * elf/unload8mod1.c: New file.
38297 * elf/unload8mod1x.c: New file.
38298 * elf/unload8mod2.c: New file.
38299 * elf/unload8mod3.c: New file.
38300
38301 * elf/dl-close.c (_dl_close_worker): Reset private search list if
38302 it wasn't used.
38303
2c0b250a
DM
383042011-08-23 David S. Miller <davem@davemloft.net>
38305
38306 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
38307 subtract stack bias.
38308 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
38309 %sp not %fp in calculations.
38310 (_JMPBUF_UNWINDS_ADJ): Likewise.
38311
22044b48
DM
38312 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
38313 (aio_suspend): Call it to force an exception region around the
38314 AIO_MISC_WAIT() invocation.
38315
2cae4995
AS
383162011-08-23 Andreas Schwab <schwab@redhat.com>
38317
38318 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
38319 backslash.
38320
873a772e
AJ
383212011-07-04 Aurelien Jarno <aurelien@aurel32.net>
38322
38323 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
38324 protection macro.
38325 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
38326 and <dl-machine.h>.
38327 (Elf64_FuncDesc): Remove.
38328
25ad0df1
DM
383292011-08-22 David S. Miller <davem@davemloft.net>
38330
38331 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
38332 sigaltstack check, add missing cfi directives.
38333 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
38334 missing cfi directives, and sigaltstack handling.
38335
e888bcbe
AS
383362011-08-16 Andreas Schwab <schwab@redhat.com>
38337
38338 [BZ #11724]
38339 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
38340 object is seen twice.
38341 * elf/dl-fini.c (_dl_sort_fini): Likewise.
38342
38343 * elf/Makefile (distribute): Add tst-initorder2.c.
38344 (tests): Add tst-initorder2.
38345 (modules-names): Add tst-initorder2a tst-initorder2b
38346 tst-initorder2c tst-initorder2d. Add rules to build them.
38347 ($(objpfx)tst-initorder2.out): New rule.
38348 * elf/tst-initorder2.c: New file.
38349 * elf/tst-initorder2.exp: New file.
38350
87162f46
AS
383512011-08-22 Andreas Schwab <schwab@redhat.com>
38352
70538b7f
AS
38353 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
38354
f55ffe58
AS
38355 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
38356 dependencies back to end of function.
38357
87162f46
AS
38358 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
38359 $(elfobjdir)/ld.so.
38360
91b392a4
UD
383612011-08-21 Ulrich Drepper <drepper@gmail.com>
38362
38363 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
38364 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
38365 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
38366 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
38367 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
38368 of __vdso_gettimeofday.
38369 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
38370 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
38371 attribute_hidden.
38372 (_libc_vdso_platform_setup): Remove initialization of
38373 __vdso_gettimeofday and __vdso_time.
38374
5c43483f
UD
383752011-08-20 Ulrich Drepper <drepper@gmail.com>
38376
775a77e7
UD
38377 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
38378 and fgetc_unlocked.
38379 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
38380 getc_unlocked.
89f447ed 38381
49c74ba9
UD
38382 * elf/dl-open.c (add_to_global): Report additions to the global scope
38383 for LD_DEBUG=scopes.
38384 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 38385 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 38386
5c43483f
UD
38387 [BZ #13114]
38388 * stdio-common/Makefile (tests): Add bug24.
38389 * stdio-common/bug24.c: New file.
38390
a101b025
AJ
383912011-08-19 Andreas Jaeger <aj@suse.de>
38392
38393 [BZ #13114]
38394 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
38395 non-existant file when using close-on-exec mode.
38396
c88f1766
UD
383972011-08-20 Ulrich Drepper <drepper@gmail.com>
38398
0276a718
UD
38399 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
38400 the very first instruction.
38401
c88f1766
UD
38402 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
38403 the CFI state in the end.
38404 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
38405 inclusion of dl-trampoline.h.
38406 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
38407
51ccffa0
AS
384082011-08-19 Andreas Schwab <schwab@redhat.com>
38409
94d7165f
AS
38410 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
38411 expectations for long double.
38412
51ccffa0
AS
38413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
38414 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
38415
fd708658 384162011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
38417
38418 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
38419 artificual limit depends upon the system page size.
38420
44f0a71e
UD
384212011-08-17 Ulrich Drepper <drepper@gmail.com>
38422
38423 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
38424 * resolv/Makefile: Define CFLAGS-libresolv.
38425
8de79a24
AS
384262011-08-17 Andreas Schwab <schwab@redhat.com>
38427
38428 * nss/makedb.c (compute_tables): Make variables used in nested
38429 function static.
38430
27724598
UD
384312011-08-17 Ulrich Drepper <drepper@gmail.com>
38432
c5305d88
UD
38433 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
38434 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
38435 if buffer was too small.
38436
27724598
UD
38437 * elf/pldd.c (main): Attach to all threads in the process.
38438 Rewrite /proc handling to use *at functions.
38439
076fe015
UD
384402011-08-16 Ulrich Drepper <drepper@gmail.com>
38441
174baab3
UD
38442 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
38443 specifies first scope to show.
38444 (dl_open_worker): Update callers. Move printing scope of new
38445 object to before the relocation.
44f0a71e 38446 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
38447 * sysdeps/generic/ldsodefs.h: Update declaration.
38448
076fe015
UD
38449 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
38450 string for the scope number.
38451
a60df2c3
UD
384522011-08-14 Ulrich Drepper <drepper@gmail.com>
38453
38454 * nscd/servicescache.c (cache_addserv): Make sure written is always
38455 initialized.
38456
5e4287d1
RM
384572011-08-14 Roland McGrath <roland@hack.frob.com>
38458
85ae0589
RM
38459 * sysdeps/i386/i486/bits/atomic.h
38460 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
38461 statement expression, so as to suppress "set but not used" warning.
38462 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
38463
69f63097
RM
38464 * string/strncat.c (STRNCAT): Use prototype definition.
38465
675456ef
RM
38466 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
38467 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
38468 -Iprograms here.
38469 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
38470 (localedef-modules): Add localedef.
38471 (locale-modules): Add locale.
38472
5e4287d1
RM
38473 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
38474 * elf/rtld.c (dl_main): Invert order of assignment in last change,
38475 to avoid a warning.
38476
9c96ff23
DM
384772011-08-14 David S. Miller <davem@davemloft.net>
38478
38479 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
38480 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
38481
f9ddf089
UD
384822011-08-13 Ulrich Drepper <drepper@gmail.com>
38483
44f0a71e 38484 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
38485 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
38486 * elf/rtld.c (dl_main): Set l_name of vDSO.
38487 Call _dl_show_scope when DL_DEBUG_SCOPES.
38488 (process_dl_debug): Recognize scopes flag and also set it for all.
38489 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
38490 Declare _dl_show_scope.
38491
1dc27704
UD
38492 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
38493 (do_dlopen): Pass caller_dlopen to dl_open.
38494 (__libc_dlopen_mode): Initialize caller_dlopen.
38495
f9ddf089
UD
38496 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
38497 of libc. Make tolower call locale-independent. Optimize a bit by
38498 using isdigit instead of isalnum.
38499 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
38500
9ac533d3
UD
385012011-08-12 Ulrich Drepper <drepper@gmail.com>
38502
38503 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
38504 was a dependency or dynamically loaded.
38505
89edf2e9
UD
385062011-08-11 Ulrich Drepper <drepper@gmail.com>
38507
8e999d29
UD
38508 * intl/l10nflist.c: Allow architecture-specific pop function.
38509 * sysdeps/x86_64/l10nflist.c: New file.
38510
89edf2e9
UD
38511 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
38512 classification.
38513
14d96785
AS
385142011-08-10 Andreas Schwab <schwab@redhat.com>
38515
38516 * include/dirent.h: Add libc_hidden_proto for scandirat and
38517 scandirat64. Don't declare __scandirat64.
38518 * dirent/scandirat.c: Add libc_hidden_def.
38519 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
38520 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
38521
6761ac04
DM
385222011-08-10 David S. Miller <davem@davemloft.net>
38523
38524 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
38525 enum.
38526 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
38527 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
38528 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
38529
c55fbd1e
UD
385302011-08-09 Ulrich Drepper <drepper@gmail.com>
38531
38532 * Versions.def [libc]: Add GLIBC_2.15.
38533 * dirent/Makefile (routines): Add scandirat and scandirat64.
38534 * dirent/Versions [libc]: Export scandirat and scandirat64 for
38535 GLIBC_2.15.
38536 * dirent/dirent.h: Declare scandirat and scandirat64.
38537 * dirent/scandirat.c: New file.
38538 * dirent/scandirat64.c: New file.
38539 * sysdeps/wordsize-64/scandirat.c: New file.
38540 * sysdeps/wordsize-64/scandirat64.c: New file.
38541 * dirent/opendir.c: Define opendirat.
38542 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
38543 using scandirat.
38544 * dirent/scandir64.c: Adjust for scandir.c change.
38545 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
38546 __scandirat64, and __scandir_cancel_handler.
38547 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
38548 additional parameter and use openat instead of open (outside of ld.so).
38549 Add new __opendir as wrapper around __opendirat.
38550 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
38551 here without requiring old scandirat implementation.
38552
879165f2
UD
385532011-08-08 Ulrich Drepper <drepper@gmail.com>
38554
38555 * dirent/scandir.c (cancel_handler): Renamed to
38556 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
38557 defined. Adjust users.
38558 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
38559 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
38560
cb7e923b
UD
385612011-08-04 Ulrich Drepper <drepper@gmail.com>
38562
16292edd
UD
38563 * string/test-string.h (IMPL): Use __STRING to expand name and then
38564 stringify it.
38565
cb7e923b
UD
38566 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
38567 of cleanups.
38568
cff82933
LD
385692011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38570
38571 * string/Makefile: Update.
38572 (strop-tests): Append strncat.
38573 * string/test-wcscmp.c: New file.
38574 New comprehensive test for wcscmp.
38575 * string/test-strcmp.c: Update.
38576 (WIDE): New define.
38577
9be9bfcc
AS
385782011-07-22 Andreas Schwab <schwab@redhat.com>
38579
38580 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
38581 line.
38582
2e96f1c7
AS
385832011-07-26 Andreas Schwab <schwab@redhat.com>
38584
38585 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
38586 encoding to ACE if AI_IDN.
38587
85188888
JJ
385882011-08-01 Jakub Jelinek <jakub@redhat.com>
38589
38590 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
38591 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
38592
5fa16e9b
LD
385932011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
38594
38595 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
38596 Fix overflow bug in strncat.
38597 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
38598
38599 * string/test-strncat.c: Update.
38600 Add new tests for checking overflow bugs.
38601
386022011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
38603
38604 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38605 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
38606 * sysdeps/i386/i686/multiarch/strcat.S: New file.
38607 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
38608 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
38609 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
38610 * sysdeps/i386/i686/multiarch/strncat.S: New file.
38611 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
38612 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
38613
38614 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
38615 (USE_AS_STRCAT): Define.
38616 Add strcat and strncat support.
38617 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
38618
8c1a459f
AS
386192011-07-25 Andreas Schwab <schwab@redhat.com>
38620
38621 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
38622 __n bigger than INT_MAX+1.
38623 (__strncmp_g): Likewise.
38624
bba33c28
UD
386252011-07-23 Ulrich Drepper <drepper@gmail.com>
38626
798be72d
UD
38627 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
38628 * libio/stido.h: Likewise.
38629
8accd4dc
UD
38630 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
38631 (AF_NFC): Define.
38632 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
38633 (AF_NFC): Define.
38634
cbff0d96
UD
38635 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
38636 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
38637 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
38638 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
38639 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
38640
9191c04a
UD
38641 [BZ #13021]
38642 * scripts/test-installation.pl: Don't expect libnss_test1 to be
38643 installed.
38644
bba33c28
UD
38645 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
38646 typo.
38647 (_dl_x86_64_save_sse): Likewise.
38648
90f139dd
UD
386492011-07-22 Ulrich Drepper <drepper@gmail.com>
38650
1aae088a
UD
38651 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
38652 OSXSAVE.
38653 (_dl_x86_64_save_sse): Likewise.
38654
8e2045f5
UD
38655 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
38656
90f139dd
UD
38657 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
38658
1d002f25
AS
386592011-07-21 Andreas Schwab <schwab@redhat.com>
38660
38661 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
38662 change.
38663 (_dl_x86_64_save_sse): Use correct AVX check.
38664
21137f89
UD
386652011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38666
38667 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
38668 bug in strncpy/strncat.
38669 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
38670
a65c0b7a
UD
386712011-07-21 Ulrich Drepper <drepper@gmail.com>
38672
38673 * string/tester.c (test_strcat): Add tests for different alignments
38674 of source and destination.
38675 (test_strncat): Likewise.
38676
6986b98a
UD
386772011-07-20 Ulrich Drepper <drepper@gmail.com>
38678
90bb2039
UD
38679 [BZ #12852]
38680 * posix/glob.c (glob): Check passed in values before using them in
38681 expressions to avoid some overflows.
38682 (glob_in_dir): Likewise.
38683
5644ef54
UD
38684 [BZ #13007]
38685 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
38686 check for AVX enablement so that we don't crash with old kernels and
38687 new hardware.
38688 * elf/tst-audit4.c: Add same checks here.
38689 * elf/tst-audit6.c: Likewise.
38690
38691 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 38692
bfc9dc9b
AS
386932011-07-09 Andreas Schwab <schwab@linux-m68k.org>
38694
38695 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
38696
702e64bb
UD
386972011-07-20 Ulrich Drepper <drepper@gmail.com>
38698
38699 * po/cs.po: Update from translation team.
38700 * po/bg.po: Likewise.
38701
295e904f
MP
387022011-07-12 Marek Polacek <mpolacek@redhat.com>
38703
38704 * misc/sys/cdefs.h: Add support for const attribute.
38705 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
38706 to gnu_dev_{major,minor,makedev} functions.
38707
3ff94596
MP
387082011-07-20 Marek Polacek <mpolacek@redhat.com>
38709
38710 * intl/dcigettext.c (get_output_charset): Add missing bracket.
38711
28b59fca
AS
387122011-07-20 Andreas Schwab <schwab@redhat.com>
38713
38714 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
38715 strlen results.
38716
19df733e
AK
387172011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38718
38719 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
38720 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
38721 register in order to avoid conflicts with the soft frame pointer
38722 being held in r11 when necessary.
38723 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
38724 (INTERNAL_VSYSCALL_NCS): Likewise.
38725
c8835729
MP
387262011-07-14 Marek Polacek <mpolacek@redhat.com>
38727
38728 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
38729 * elf/dl-fini.c (_dl_fini): Adjust caller.
38730 * elf/dl-close.c (_dl_close_worker): Likewise.
38731 * sysdeps/generic/ldsodefs.h: Adjust declaration.
38732
b902330c
MP
387332011-07-15 Marek Polacek <mpolacek@redhat.com>
38734
8991e135
MP
38735 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
38736 "aux_cache->nlibs < 0".
38737
b902330c
MP
38738 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
38739 in the reload-count case.
38740
99710781
LD
387412011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
38742
38743 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38744 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
38745 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
38746 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
38747 * sysdeps/x86_64/multiarch/strcat.S: New file.
38748 * sysdeps/x86_64/multiarch/strncat.S: New file.
38749 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
38750 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
38751 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
38752 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
38753 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
38754 (USE_AS_STRCAT): Define.
38755 Add strcat and strncat support.
38756 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
38757 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
38758 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
38759 * string/strncat.c: Update.
38760 (USE_AS_STRNCAT): Define.
38761 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38762 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
38763 and i7.
38764 * sysdeps/x86_64/multiarch/init-arch.h
38765 (bit_Prefer_PMINUB_for_stringop): New.
38766 (index_Prefer_PMINUB_for_stringop): Likewise.
38767 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
38768 bit_Prefer_PMINUB_for_stringop.
38769
7dc6bd90
UD
387702011-07-19 Ulrich Drepper <drepper@gmail.com>
38771
38772 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
38773 buffer64.
38774 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
38775 of casting of buffer.
38776 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
38777 buffer32 and buffer64.
38778 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
38779 writes instead of casting of buffer.
38780 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
38781 buffer32.
38782 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
38783 casting of buffer.
38784
e0e72284
AS
387852011-07-19 Andreas Schwab <schwab@redhat.com>
38786
38787 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
38788
feb1eb0b
UD
387892011-07-19 Ulrich Drepper <drepper@gmail.com>
38790
38791 * nscd/nscd.c (termination_handler): Don't do anything for a database
38792 if it has not yet been initialized.
38793
298711ff
UD
387942011-07-18 Ulrich Drepper <drepper@gmail.com>
38795
38796 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
38797
387982011-07-15 Marek Polacek <mpolacek@redhat.com>
38799
38800 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
38801
f9d68389
UD
388022011-07-18 Ulrich Drepper <drepper@gmail.com>
38803
38804 * po/nl.po: Update from translation team.
38805 * po/sv.po: Likewise.
38806
db290cf5
RM
388072011-07-16 Roland McGrath <roland@hack.frob.com>
38808
38809 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
38810 now disallowed by GCC.
5c550700 38811
fd5e21c7
RM
38812 * configure.in (use-default-link): Default to yes if a test -shared
38813 link meets our qualifications.
38814 * configure: Regenerated.
38815
5c550700
RM
38816 * config.make.in (output-format): New variable.
38817 * configure.in: Check for ld --print-output-format support.
38818 * configure: Regenerated.
38819 * Makerules ($(common-objpfx)format.lds)
38820 [$(output-format) != unknown]: Just use $(output-format),
38821 instead of the linker-script munging.
38822
9fa2c032
RM
388232011-07-14 Roland McGrath <roland@hack.frob.com>
38824
a6928d51
RM
38825 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
38826 of $(common-objpfx)shlib.lds.
38827 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
38828
661607b3
RM
38829 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
38830 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
38831
9fa2c032
RM
38832 * configure.in (-z relro check): Adjust test code to add a large
38833 writable data section after it.
38834 * configure: Regenerated.
38835
defe9061
RM
388362011-07-11 Roland McGrath <roland@hack.frob.com>
38837
38838 * configure.in (-z relro check): Fix test code to make the variable
38839 truly const.
38840 * configure: Regenerated.
38841
319b9ad4
UD
388422011-07-11 Ulrich Drepper <drepper@gmail.com>
38843
38844 * nscd/nscd.h (struct traced_file): Define.
38845 (struct database_dyn): Remove inotify_descr, reset_res, and filename
38846 elements. Add traced_files.
38847 (inotify_fd): Declare.
38848 (register_traced_file): Declare.
38849 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
38850 (inotify_fd): Export.
38851 (resolv_conf_descr): Remove.
38852 (nscd_init): Move inotify descriptor creation to main.
38853 Don't register files for notification here.
38854 (register_traced_file): New function.
38855 (invalidate_cache): Don't use reset_res to determine whether to call
38856 res_init, go through the list of registered files.
38857 (main_loop_poll): The inotify descriptors are now stored in the
38858 structures for the traced files.
38859 (main_loop_epoll): Likewise
38860 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
38861 to __nss_disable_nscd.
38862 * nscd/cache.c (prune_cache): There is no single inotify descriptor
38863 for a database anymore. Check the records for all the registered
38864 files instead.
38865 * nss/Makefile (libnss_files-routines): Add files-init.
38866 (libnss_db-routines): Add db-init.
38867 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
38868 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
38869 * nss/nss_db/db-init.c: New file.
38870 * nss/nss_files/files-init.c: New file.
38871 * nss/nsswitch.c (nss_load_library): New function. Broken out of
38872 __nss_lookup_function.
38873 (__nss_lookup_function): Call nss_load_library.
38874 (nss_load_all_libraries): New function.
38875 (__nss_disable_nscd): Take parameter with callback function for files
38876 to register. Set is_nscd. Load all the DSOs for the NSS modules
38877 used for the cached services.
38878 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
38879 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
38880 options for features to all the files in nscd.
38881
38882 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
38883
23bee3e8
RM
388842011-07-10 Roland McGrath <roland@hack.frob.com>
38885
38886 * csu/elf-init.c (__libc_csu_init): Comment typo.
38887
46a5b7f0
UD
388882011-07-09 Ulrich Drepper <drepper@gmail.com>
38889
38890 * po/pl.po: Update from translation team.
38891 * po/ja.po: Likewise.
38892 * po/ru.po: Likewise.
38893 * po/ko.po: Likewise.
38894 * po/fr.po: Likewise.
38895
d30cf5bb
RM
388962011-07-09 Roland McGrath <roland@hack.frob.com>
38897
113ddea4
RM
38898 * configure.in (.ctors/.dtors header and trailer check):
38899 Use an empirical test on a built program.
38900 * configure: Regenerated.
38901
574920b4
RM
38902 * configure.in (-z relro check): Use an empirical test on a built DSO.
38903 Detect, but do not require, on ia64.
38904 * configure: Regenerated.
38905
d30cf5bb
RM
38906 * configure.in (READELF): Find it with AC_CHECK_TOOL.
38907 Update tests that use readelf to use $READELF instead.
38908 * configure: Regenerated.
38909
8538fdb3
UD
389102011-07-08 Ulrich Drepper <drepper@gmail.com>
38911
38912 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
38913 if the result is not used.
38914
04d08991
AJ
389152011-07-05 Andreas Jaeger <aj@suse.de>
38916
38917 [BZ#9696]
38918 * stdlib/tst-strtod.c: Add testcase.
38919
de283087
AD
389202011-07-07 Ulrich Drepper <drepper@gmail.com>
38921
4e5f31c8 38922 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 38923 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
38924 The latter has a higher limit. Take additional parameter to pass to
38925 the new function.
38926 (__pathconf): Pass file to __statfs_link_max.
38927 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
38928 __statfs_link_max.
38929 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
38930 __statfs_link_max.
38931
de283087
AD
38932 [BZ #12868]
38933 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
38934 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
38935 Handle Lustre.
38936 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
38937 (__statfs_filesize_max): Likewise.
38938 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
38939
c75fa153
AJ
389402011-07-05 Andreas Jaeger <aj@suse.de>
38941
38942 * resolv/res_comp.c (dn_skipname): Remove unused variable.
38943
1a544854
UD
389442011-07-06 Marek Polacek <mpolacek@redhat.com>
38945
38946 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
38947 `status' variable.
38948 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
38949 Likewise.
38950
6f0eec67
UD
389512011-07-04 H.J. Lu <hongjiu.lu@intel.com>
38952
38953 * Makefile (strop-tests): Add strncat.
38954 * string/test-strncat.c: New file.
38955
aae30307
UD
389562011-06-30 Marek Polacek <mpolacek@redhat.com>
38957
38958 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
38959
c0cfb5eb
UD
389602011-06-21 Andreas Jaeger <aj@suse.de>
38961
38962 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
38963 Copy rule from iconvdata/Makefile.
38964
01636b21
UD
389652011-07-06 Ulrich Drepper <drepper@gmail.com>
38966
38967 [BZ #12922]
38968 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
38969 but no long options are defined, just return 'W'.
38970
9895c8bc
UD
389712011-06-22 Marek Polacek <mpolacek@redhat.com>
38972
38973 [BZ #9696]
38974 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
38975
5d4cf042
UD
389762011-07-06 Ulrich Drepper <drepper@gmail.com>
38977
38978 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
38979 netgroups to read.
960e5535 38980 (innetgr): Likewise.
5d4cf042 38981
751eb97e
RM
389822011-07-05 Roland McGrath <roland@hack.frob.com>
38983
38984 * config.make.in (install_root): Default to $(DESTDIR).
38985
f15f1e45
UD
389862011-07-05 Ulrich Drepper <drepper@gmail.com>
38987
38988 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
38989
4e34ac6a
RM
389902011-07-02 Roland McGrath <roland@hack.frob.com>
38991
5e9b6af4
RM
38992 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
38993
84f9ea0f
RM
38994 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
38995 containing directory rather than embedding absolute directory names.
38996
ea5ee9f7
RM
38997 * scripts/check-local-headers.sh: Rewritten using awk.
38998 Match by word, not by line. Print error messages for matches.
38999 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
39000
1b74661a
RM
39001 * Makerules [shlib-lds-flags empty]:
39002 ($(common-objpfx)libc_pic.opts): New target.
39003 ($(common-objpfx)libc_pic.os.clean): New target.
39004 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
39005
39006 * config.make.in (OBJCOPY): New variable.
39007 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
39008 * configure: Regenerated.
39009
f781ef40
RM
39010 * config.make.in (use-default-link): New variable.
39011 * configure.in (use_default_link): Grok --with-default-link to set it.
39012 * configure: Regenerated.
39013 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
39014 (shlib-lds, shlib-lds-flags): Define to empty.
39015
2d4fa81e
RM
39016 * Makerules (shlib-lds): New variable.
39017 (shlib-lds-flags): New variable.
39018 (build-shlib, build-moduile, build-module-asneeded): Use it.
39019 ($(common-objpfx)libc.so): Use $(shlib-lds).
39020 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
39021 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
39022
31fffa6b
RM
39023 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
39024 DT_FLAGS/DT_FLAGS_1 with zero flags.
39025
4e34ac6a
RM
39026 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
39027 linker script munging.
39028
fcfc776b
UD
390292011-07-02 Ulrich Drepper <drepper@gmail.com>
39030
39031 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
39032 as 128-bit value.
39033 * crypt/sha512.c (sha512_process_block): Perform total addition using
39034 128-bit if possible.
39035 (__sha512_finish_ctx): Likewise.
39036 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
39037 as 64-bit value.
39038 * crypt/sha256.c (SWAP64): Define.
39039 (sha256_process_block): Perform total addition using 64-bit if
39040 possible.
39041 (__sha256_finish_ctx): Likewise.
39042
99231d9a
UD
390432011-07-01 Ulrich Drepper <drepper@gmail.com>
39044
39045 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
39046 * nscd/initgrcache.c (addinitgroupsX): Likewise.
39047 * nscd/hstcache.c (cache_addhst): Likewise.
39048 * nscd/grpcache.c (cache_addgr): Likewise.
39049 * nscd/aicache.c (addhstaiX): Likewise
39050 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
39051
445b4a53
TK
390522011-07-01 Thorsten Kukuk <kukuk@suse.de>
39053
39054 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
39055 * nscd/initgrcache.c (addinitgroupsX): Likewise.
39056 * nscd/hstcache.c (cache_addhst): Likewise.
39057 * nscd/grpcache.c (cache_addgr): Likewise.
39058 * nscd/aicache.c (addhstaiX): Likewise
39059
6d4d8e8e
AS
390602011-07-01 Andreas Schwab <schwab@redhat.com>
39061
39062 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
39063 domain only when needed.
39064
89f654c5
AS
390652011-06-30 Andreas Schwab <schwab@redhat.com>
39066
39067 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
39068 is always restored.
39069
cf3b23ff
UD
390702011-06-29 Ulrich Drepper <drepper@gmail.com>
39071
39072 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
39073 are re-adding the entry.
39074 * nscd/servicescache.c (cache_addserv): Likewise.
39075
751626f9
AJ
390762011-06-30 Aurelien Jarno <aurelien@aurel32.net>
39077
39078 * sysdeps/generic/dl-irel.h: fix protection against multiple
39079 inclusions.
39080 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
39081
9113ea1f
UD
390822011-06-28 Ulrich Drepper <drepper@gmail.com>
39083
5c0b8d90
UD
39084 [BZ #12935]
39085 * malloc/memusage.sh: Fix quoting in message.
39086 * debug/xtrace.sh: Likewise.
39087
9113ea1f
UD
39088 * configure.in: Remove support for --experimental-malloc option, make
39089 it the default.
39090 * config.make.in: Likewise.
39091 * malloc/Makefile: Likewise.
39092
a4172181
AS
390932011-06-27 Andreas Schwab <schwab@redhat.com>
39094
39095 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
39096 two-byte characters.
39097
78a7eee7
RM
390982011-06-27 Roland McGrath <roland@hack.frob.com>
39099
62bede13
RM
39100 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
39101 AC_CACHE_CHECK invocation.
39102 * configure: Regenerated.
39103
78a7eee7
RM
39104 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
39105
5ce33a62
UD
391062011-06-27 Ulrich Drepper <drepper@gmail.com>
39107
034807a9
UD
39108 [BZ #12350]
39109 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
39110 bit from old_res_options.
39111
4902da17
UD
39112 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
39113
5ce33a62
UD
39114 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
39115 value type for setfct.
39116
c2344f56
L
391172011-06-23 H.J. Lu <hongjiu.lu@intel.com>
39118
39119 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
39120 __gettimeofday instead of gettimeofday.
39121
68468076
UD
391222011-06-26 Ulrich Drepper <drepper@gmail.com>
39123
39124 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
39125
acb0d739
L
391262011-06-24 H.J. Lu <hongjiu.lu@intel.com>
39127
39128 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
39129
39130 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
39131 info.
39132
8912479f
L
391332011-06-22 H.J. Lu <hongjiu.lu@intel.com>
39134
39135 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39136 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
39137 strcpy-sse2-unaligned strncpy-sse2-unaligned
39138 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
39139 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
39140 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
39141 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
39142 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
39143 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
39144 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
39145 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
39146 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
39147 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
39148 (STRCPY): Support SSE2 and SSSE3 versions.
39149
d5495a11
UD
391502011-06-24 Ulrich Drepper <drepper@gmail.com>
39151
39152 [BZ #12874]
39153 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
39154 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
39155 kernels which artificially limit size of requests.
39156
0b1cbaae
L
391572011-06-22 H.J. Lu <hongjiu.lu@intel.com>
39158
39159 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39160 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
39161 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
39162 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
39163 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
39164 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
39165 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
39166 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
39167 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
39168 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
39169 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
39170 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
39171 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
39172 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
39173 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
39174 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39175 Enable unaligned load optimization for Intel Core i3, i5 and i7
39176 processors.
39177 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
39178 Define.
39179 (index_Fast_Unaligned_Load): Define.
39180 (HAS_FAST_UNALIGNED_LOAD): Define.
39181
07f494a0
MP
391822011-06-23 Marek Polacek <mpolacek@redhat.com>
39183
39184 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
39185
fa3fc0fe
UD
391862011-06-22 Ulrich Drepper <drepper@gmail.com>
39187
39188 [BZ #12907]
39189 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
39190 until it is clear that the information is realy needed.
39191 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
39192
e12df166
AS
391932011-06-22 Andreas Schwab <schwab@redhat.com>
39194
39195 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
39196
852eb34d
UD
391972011-06-22 Ulrich Drepper <drepper@gmail.com>
39198
84e2a551
UD
39199 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
39200 /sys/devices/system/cpu/online if it is usable.
39201
852eb34d
UD
39202 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
39203 reading the information from the /proc filesystem to once a second.
39204
6e502e19
UD
392052011-06-21 Andreas Jaeger <aj@suse.de>
39206
39207 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
39208 NULL after inclusion of kernel headers.
39209
75d39ff2
UD
392102011-06-21 Ulrich Drepper <drepper@gmail.com>
39211
51f9aa6a
UD
39212 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
39213 calls to internal_setent.
39214
c0244a9d
UD
39215 [BZ #12885]
39216 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
39217 addresses using gethostbyname4_r ignore IPv4 addresses.
39218
c5e3c2ae
UD
39219 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
39220 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
39221
75d39ff2
UD
39222 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
39223
42675c6f
DM
392242011-06-20 David S. Miller <davem@davemloft.net>
39225
39226 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
39227 inclusions.
39228 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
39229
39230 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
39231 (elf_irel): Use it.
39232 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
39233 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
39234 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
39235 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
39236 * sysdeps/x86_64/dl-irel.h: Likewise.
39237
39238 * elf/dl-runtime.c: Use elf_ifunc_invoke.
39239 * elf/dl-sym.c: Likewise.
39240
57912a71
UD
392412011-06-15 Ulrich Drepper <drepper@gmail.com>
39242
39243 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
39244 need to dereference resplen2.
39245
ee22793d
AS
392462011-06-14 Andreas Schwab <schwab@redhat.com>
39247
39248 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
39249
a9e836b0
UD
392502011-06-15 Ulrich Drepper <drepper@gmail.com>
39251
77fb9117
UD
39252 * Makeconfig: Define vardbdir and inst_vardbdir.
39253 * nss/Makefile: Add rules to install db-Makefile.
39254
40c1b22c
UD
39255 * nss/nss_db/db-XXX.c: Cleanup.
39256
9f2da732
UD
39257 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
39258 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
39259 GLIBC_PRIVATE.
39260 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
39261 * nss/makedb.c: Implement -g option to specify that value strings
39262 are generated and should not be added to table iterated over for
39263 get*ent calls.
39264 * nss/nss_db/db-initgroups.c: New file.
39265
82e9a1f7
UD
39266 * nss/getent.c: Add support for initgroups lookups through getgrouplist
39267 interface.
39268
c41af17e
UD
39269 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
39270 (internal_getgrouplist): Adjust to name change.
39271 Update use_initgroups_entry if this is not the first call.
39272 * nss/databases.def: Add initgroups entry.
39273
a9e836b0
UD
39274 * nss/makedb.c (compute_tables): Check result of multiple hash table
39275 sizes to minimize maximum chain length.
39276
2666d441
UD
392772011-06-14 Ulrich Drepper <drepper@gmail.com>
39278
39279 * Versions.def: Add entry for libnss_db.
39280 * shlib-versions: Likewise.
39281 * nss/Makefile: Add rules to build libnss_db.
39282 * nss/Versions: Add libnss_db information. Organize libnss_files
39283 entries better.
39284 * nss/db-Makefile: Add gshadow support. Change rules for the new
39285 makedb progra. Some minor improvements to generate smaller files.
39286 * nss/nss_db/nss_db.h: Move NSS database header data structures to
39287 here from...
39288 * nss/makedb.c: ...here.
39289 Improve database format to be smaller and require less memory at
39290 runtime.
39291 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
39292 db anymore.
39293 * nss/nss_db/db-netgrp.c: Likewise.
39294 * nss/nss_db/db-open.c: Likewise.
39295 * nss/nss_files/flies-XXX.x: Adjust comments.
39296 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
39297 * nss/nss_files/files-grp.c: Likewise.
39298 * nss/nss_files/files-hosts.c: Likewise.
39299 * nss/nss_files/files-network.c: Likewise.
39300 * nss/nss_files/files-proto.c: Likewise.
39301 * nss/nss_files/files-pwd.c: Likewise.
39302 * nss/nss_files/files-rpc.c: Likewise.
39303 * nss/nss_files/files-service.c: Likewise.
39304 * nss/nss_files/files-sgrp.c: Likewise.
39305 * nss/nss_files/files-spwd.c: Likewise.
39306 * nss/nss_db/db-alias.c: Removed.
39307 * nss/nss_db/dummy-db.h: Removed.
39308
9ee76b5a
UD
393092011-06-02 Ulrich Drepper <drepper@gmail.com>
39310
39311 * nss/makedb.c: Rewritten to not use database library.
39312 * nss/Makefile: Update to build new makedb program.
39313
c71ca1f8
AJ
393142011-06-14 Andreas Jaeger <aj@suse.de>
39315
39316 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
39317 memset declaration.
39318
3154bfb8
UD
393192011-06-10 Andreas Schwab <schwab@redhat.com>
39320
39321 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
39322 tmpbuf.
39323
b350afab
RM
393242011-06-10 Roland McGrath <roland@hack.frob.com>
39325
decd4e50
RM
39326 * Makerules (shlib.lds): Fail if the linker script comes out empty.
39327 * elf/Makefile ($(objpfx)ld.so): Likewise.
39328
5615eaf2
RM
39329 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
39330 Don't list ld.so twice in dependencies.
39331
39332 * posix/bug-regex31.c: Include <stdlib.h>.
39333
39334 * nscd/hstcache.c (cache_addhst): Remove unused variable.
39335
39336 * nis/nss_compat/compat-spwd.c
39337 (getspent_next_nss_netgr): Remove unused variable.
39338 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
39339
39340 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
39341 nonmembers" output to use the right array.
39342
39343 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
39344
39345 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
39346
39347 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
39348 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
39349 * catgets/gencat.c (read_input_file): Likewise.
39350 * locale/programs/locarchive.c (enlarge_archive): Likewise.
39351
39352 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
39353 variable definition inside #if's controlling its use.
39354
39355 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
39356
39357 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
39358
39359 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
39360
39361 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
39362 unreachable code.
39363
39364 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
39365
b68e08db
RM
39366 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
39367 * configure: Regenerated.
39368
b350afab
RM
39369 * Makerules: Revert last change.
39370 * elf/Makefile: Likewise.
39371
28368601
RM
393722011-06-09 Roland McGrath <roland@hack.frob.com>
39373
39374 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
39375 * elf/Makefile ($(objpfx)librtld.os): Likewise.
39376 (reloc-link): Likewise.
39377
11988f8f
UD
393782011-06-09 Ulrich Drepper <drepper@gmail.com>
39379
39380 * elf/Makefile: Add rules to build pldd.
39381 * elf/pldd.c: New file.
39382 * elf/pldd-xx.c: New file.
39383
e80fab37
UD
393842011-06-07 Ulrich Drepper <drepper@gmail.com>
39385
39386 * version.h: Update for 2.15 development version.
39387
9b849836
DM
393882011-06-07 David S. Miller <davem@davemloft.net>
39389
39390 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
39391 ifuncs.
39392 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
39393 elf_machine_lazy_rel): Likewise.
39394 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
39395 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
39396 elf_machine_lazy_rel): Likewise.
39397 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
39398 dl_hwcap via passed in argument.
39399 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
39400 Likewise.
39401
5a31b283
AK
394022011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39403
39404 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
39405
069e52f8
RM
394062011-06-06 Roland McGrath <roland@hack.frob.com>
39407
39408 [BZ #12849]
39409 * manual/fdl-1.1.texi: New file, verbatim from:
39410 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
39411 * manual/lgpl-2.1.texi: New file, verbatim from:
39412 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
39413 * manual/Makefile (licenses): New variable, list those new file names.
39414 (texis): Use it.
39415 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
39416
39417 * manual/fdl.texi: File removed.
39418 * manual/lesser.texi: File removed.
39419 * manual/libc.texinfo (Copying, Documentation License):
39420 Use new @include file names, put @appendix directive before @include.
39421
f16846a5
JJ
394222011-06-04 Jakub Jelinek <jakub@redhat.com>
39423
39424 [BZ #12841]
39425 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
39426 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
39427 (mq_open): Add __NTH.
39428
3d29045b
L
394292011-06-02 H.J. Lu <hongjiu.lu@intel.com>
39430
39431 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39432 Assume Intel Core i3/i5/i7 processor if AVX is available.
39433
8c297311
UD
394342011-05-31 Ulrich Drepper <drepper@gmail.com>
39435
39436 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
39437 typo.
39438
c8fc0c91
UD
394392011-05-31 Andreas Schwab <schwab@redhat.com>
39440
39441 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
39442 memory. Use alloca_account. Fix memory leak when retrying.
39443
5b27a807
UD
394442011-05-31 Ulrich Drepper <drepper@gmail.com>
39445
356f8bc6
UD
39446 * version.h (RELEASE): Bump for 2.14 release.
39447 * include/features.h (__GLIBC_MINOR__): Bump to 14.
39448
5b27a807
UD
39449 * config.make.in (RANLIB): Remove entry.
39450
01f16ab0
UD
394512011-05-30 Ulrich Drepper <drepper@gmail.com>
39452
41fce8bd
UD
39453 * po/Makefile (po-sed-cmd): Add ksh to extensions.
39454 (libc.pot): Work around missing support for .ksh extension in xgettext.
39455
4769ae77
UD
39456 [BZ #12684]
39457 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
39458 if both request failed.
39459 (send_dg): In case of server errors clear resplen or *resplen2.
39460
6b1e7d19
UD
39461 [BZ #12454]
39462 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
39463 when there are multiple maps.
39464 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
39465 (_dl_fini): Remove test here.
39466
01f16ab0
UD
39467 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
39468
b1ebd700
UD
394692011-05-29 Ulrich Drepper <drepper@gmail.com>
39470
7ae22829
UD
39471 [BZ #12350]
39472 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
39473 bit from old_res_options.
39474 (gaih_inet): Likewise.
39475
553149f6 39476 [BZ #11099]
18a84741 39477 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
39478 as signed.
39479
652ffab1
UD
39480 * resolv/res_init.c (res_setoptions): Make the code more compact.
39481
16985fd0
UD
39482 [BZ #11558]
39483 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
39484 set RES_USEVC.
39485
0464f746
UD
39486 [BZ #11634]
39487 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
39488
7d17596c
UD
39489 * malloc/malloc.h: Mark malloc hook variables as deprecated.
39490
cf6bbbd7
UD
39491 [BZ #11781]
39492 * malloc/malloc.h: Declare malloc hook variables as volatile.
39493
13f1ab36
UD
39494 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
39495 in last patch.
39496
b1ebd700
UD
39497 [BZ #11799]
39498 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 39499 raise in the comment.
80e2212d
UD
39500 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
39501 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
39502 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 39503
ce67228d
UD
395042011-05-28 Ulrich Drepper <drepper@gmail.com>
39505
8887a920
UD
39506 [BZ #12811]
39507 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
39508 grow the buffers more if it already has to be sufficient.
39509 (build_wcs_upper_buffer): Likewise.
39510 * posix/regexec.c (check_matching): Likewise.
39511 (clean_state_log_if_needed): Likewise.
39512 (extend_buffers): Don't enlarge buffers beyond size of the input
39513 buffer.
39514 Patches mostly by Emil Wojak <emil@wojak.eu>.
39515 * posix/bug-regex32.c: New file.
39516 * posix/Makefile (tests): Add bug-regex32.
39517
4f031072
UD
39518 * locale/findlocale.c (_nl_find_locale): Return right away if
39519 _nl_explode_name failed.
39520 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
39521
d0478f0c
UD
39522 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
39523
de81b246
UD
39524 * debug/xtrace.sh: Unify messages.
39525 * malloc/memusage.sh: Likewise.
39526
c738465a
UD
39527 [BZ #12813]
39528 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
39529 time symbol from vDSO. Substitute with vsyscall if not available.
39530 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
39531 __vdso_time.
39532
f1f929d7
UD
39533 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
39534 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
39535 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
39536 Add sendmmsg and internal_sendmmsg.
39537 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
39538 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
39539 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
39540
ce67228d
UD
39541 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
39542 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
39543 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
39544
e57420c6
UD
395452011-05-27 Ulrich Drepper <drepper@gmail.com>
39546
a8509ca5
UD
39547 [BZ #12813]
39548 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
39549 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
39550 available.
39551 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
39552 __vdso_getcpu.
39553
e57420c6
UD
39554 [BZ #12814]
39555 * iconvdata/Makefile (tests): Add bug-iconv9.
39556 * iconvdata/bug-iconv9.c: New file.
39557
4d07db15
AS
395582011-05-27 Andreas Schwab <schwab@redhat.com>
39559
39560 [BZ #12814]
39561 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
39562
ea486f69
JJ
395632011-05-25 Jakub Jelinek <jakub@redhat.com>
39564
39565 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
39566 (struct user_regs_struct): Change intcs field back to cs.
39567
6f038433
UD
395682011-05-25 Ulrich Drepper <drepper@gmail.com>
39569
39570 * po/ja.po: Update from translation team.
39571
67f86a25
UD
395722011-05-23 Ulrich Drepper <drepper@gmail.com>
39573
39574 [BZ #12795]
39575 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
39576 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
39577
def7fbd6
AS
395782011-05-20 Andreas Schwab <schwab@redhat.com>
39579
39580 * stdlib/longlong.h: Update from GCC.
39581
f50ef8f1
AS
395822011-05-23 Andreas Schwab <schwab@redhat.com>
39583
39584 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
39585 parameter name.
39586 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
39587 Add parameter name.
39588 (__sysconf): Pass it down.
39589
de7ce8f1
UD
395902011-05-22 Ulrich Drepper <drepper@gmail.com>
39591
f2962a71
UD
39592 [BZ #12671]
39593 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
39594 some situations.
39595 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
39596 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
39597 add in in __libc_use_alloca calls. Adjust callers.
39598 (glob): Use malloc in some situations.
39599
de7ce8f1
UD
39600 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
39601 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
39602 pltexit.
39603
aec84f53
UD
396042011-05-21 Ulrich Drepper <drepper@gmail.com>
39605
05bb4a68
UD
39606 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
39607 and CLOCK_BOOTTIME_ALARM.
39608
7ea72f99
UD
39609 [BZ #12782]
39610 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
39611 is returned.
39612
7e4afad5
UD
39613 * string/_strerror.c (__strerror_r): Print negative errors as signed
39614 numbers.
39615
8e211fec
UD
39616 [BZ #12777]
39617 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
39618 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
39619 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
39620
f7d82dc9
UD
39621 * configure.in: Fix typo in redirection and correct removal of test
39622 files in two cases.
39623
cc9e536d
UD
39624 [BZ #12788]
39625 * locale/setlocale.c (new_composite_name): Fix test to check for
39626 identical name of all categories.
39627
aec84f53
UD
39628 [BZ #12792]
39629 * libio/filedoalloc.c (local_isatty): New function.
39630 (_IO_file_doallocate): Use local_isatty.
39631 * stdio-common/perror.c (perror): In case a new stream is used
39632 forward the stream error.
39633 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
39634 error flag.
39635
78e64fdc
RT
396362011-05-20 Ulrich Drepper <drepper@gmail.com>
39637
34a9094f
UD
39638 [BZ #11869]
39639 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
39640 alloca.
39641 * include/alloca.h (extend_alloca_account): Define.
39642
78e64fdc
RT
39643 [BZ #11857]
39644 * posix/regex.h: Fix comments with documentation of user-accessible
39645 fields after compilation and describe correct free'ing of pattern
39646 after re_compile_pattern.
39647 Patch by Reuben Thomas <rrt@sc3d.org>.
39648
457bddfc
RA
396492011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
39650
39651 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
39652 and -mno-altivec to prevent the compiler from using Altivec and/or
39653 VSX instructions when the corresponding registers are not available.
39654
a4527b51
AS
396552011-05-19 Andreas Schwab <schwab@redhat.com>
39656
39657 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
39658
ed690b2f
UD
396592011-05-19 Ulrich Drepper <drepper@gmail.com>
39660
39661 * libio/freopen.c (freopen): Use __dup2, not dup2.
39662 * libio/freopen64.c (freopen64): Likewise.
39663
8db73634
L
396642011-05-17 H.J. Lu <hongjiu.lu@intel.com>
39665
39666 [BZ #12775]
39667 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
39668 * math/Makefile (tests): Add test-powl.
39669 (CFLAGS-test-powl.c): Define.
39670 * math/test-powl.c: New file.
39671
0a197a9d
L
396722011-05-16 H.J. Lu <hongjiu.lu@intel.com>
39673
39674 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
39675
ee30c380
UD
396762011-05-17 Ulrich Drepper <drepper@gmail.com>
39677
39678 [BZ #11837]
39679 * iconvdata/gb18030.c: Update to GB18020-2005.
39680
6ce75379
UD
396812011-05-16 Ulrich Drepper <drepper@gmail.com>
39682
a4b89fd8
AR
39683 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
39684 RE_SYNTAX_POSIX_AWK): Update to match recent development.
39685 Patch by Aharon Robbins <arnold@skeeve.com>.
39686
ea389b12
UD
39687 [BZ #11892]
39688 * stdlib/putenv.c (putenv): Don't always create copy of the variable
39689 on the stack.
39690
68a3f91f
UD
39691 [BZ #11895]
39692 * misc/pselect.c (__pselect): Handle timeout value errors hidden
39693 through underflows.
39694
15cc7dd1
UD
39695 [BZ #12766]
39696 * misc/error.c (error_at_line): Ensure file_name and old_file_name
39697 point to strings before performing equality test for error_one_per_line
39698 mode.
39699
f3799213
UD
39700 [BZ #11697]
39701 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
39702
d79a9c94
UD
39703 [BZ #11820]
39704 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
39705 (struct user_fpregs_struct): Avoid __uint*_t types.
39706
56e5eb46
UD
39707 [BZ #6420]
39708 * malloc/mtrace.c (tr_where): Add additional parameter to point to
39709 symbol info. Use it instead of calling _dl_addr locally.
39710 (lock_and_info): New function.
39711 (tr_freehook): Call lock_and_info and pass symbol info as additional
39712 parameter to tr_where.
39713 (tr_mallochook): Likewise.
39714 (tr_reallochook): Likewise.
39715 (tr_memalignhook): Likewise.
39716
6ce75379
UD
39717 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
39718 used and couldn't be at all thread-safe.
39719
f8a3b5bf
UD
397202011-05-15 Ulrich Drepper <drepper@gmail.com>
39721
94b7cc37
UD
39722 * libio/freopen.c (freopen): Don't close old file descriptor
39723 before the new one is opened. Instead dup the new file descriptor
39724 to the old one after the new stream is created.
39725 * libio/freopen64.c (freopen64): Likewise.
39726 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
39727 * libio/fileops.c (_IO_new_file_close_it): Handle new
39728 _IO_FLAGS2_NOCLOSE flag.
39729 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
39730 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
39731 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
39732 _IO_FLAGS2_NOCLOSE flag.
39733 * include/unistd.h: Add hidden_proto for dup3.
39734 Define __have_dup3.
39735 * io/dup3.c: Define hidden symbol.
39736 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
39737
bd25564e
UD
39738 [BZ #7101]
39739 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
39740 when an incomplete long option is used.
39741 * posix/tst-getopt_long1.c: New file.
39742 * posix/Makefile (tests): Add tst-getopt_long1.
39743
c84cfef4
UD
39744 [BZ #10138]
39745 * scripts/config.guess: Update from autoconf-2.68.
39746 * scripts/config.sub: Likewise.
39747
3b85df27
UD
39748 [BZ #10157]
39749 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
39750 tests into ...
39751 (has_cpuclock): ...this. New function.
39752 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
39753 macro here based on has_cpuclock code.
39754
15a856b1
UD
39755 [BZ #10149]
39756 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
39757 First byte (not low byte) is now always NUL.
39758 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
39759
05f399e6
UD
39760 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
39761 Use non-cancelable interfaces.
39762
10a52685 39763 [BZ #9809]
94ecc67d
UD
39764 * locale/iso-639.def: Add entry for Sorani.
39765
f8a3b5bf
UD
39766 [BZ #11901]
39767 * include/stdlib.h: Move include protection to the right place.
39768 Define abort_msg_s. Declare __abort_msg with it.
39769 * stdlib/abort.c (__abort_msg): Adjust type.
39770 * assert/assert.c (__assert_fail_base): New function. Majority
39771 of code from __assert_fail. Allocate memory for __abort_msg with
39772 mmap.
39773 (__assert_fail): Now call __assert_fail_base.
39774 * assert/assert-perr.c: Remove bulk of implementation. Use
39775 __assert_fail_base.
39776 * include/assert.hL Declare __assert_fail_base.
39777 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
39778 mmap.
39779 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
39780
1af4e298
UD
397812011-05-14 Ulrich Drepper <drepper@gmail.com>
39782
f8a3b5bf 39783 [BZ #11952]
d26dfc60
MG
39784 [BZ #12453]
39785 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
39786 until all modules are registered in the DTV.
39787 * elf/Makefile: Add rules to build and run tst-tls19.
39788 * elf/tst-tls19.c: New file.
39789 * elf/tst-tls19mod1.c: New file.
39790 * elf/tst-tls19mod2.c: New file.
39791 * elf/tst-tls19mod3.c: New file.
39792 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
39793
2fc54d6f
UD
39794 [BZ #12083]
39795 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
39796 correctly.
39797
98d76b46
UD
39798 [BZ #12601]
39799 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
39800 two-byte sequence errors.
39801 * iconvdata/Makefile (tests): Add bug-iconv8.
39802 * iconvdata/bug-iconv8.c: New file.
39803
da3c19ef
UD
39804 [BZ #12626]
39805 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
39806 buf2 definition.
39807
ca408c15
UD
39808 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
39809
d6f67f7d
UD
39810 [BZ #12432]
39811 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
39812 (dummy_getcfa): New function.
39813 (init): Get _Unwind_GetCFA address, use dummy if not found.
39814 (backtrace_helper): In recursion check, also check whether CFA changes.
39815 (__backtrace): Completely initialize arg.
39816
1af4e298 39817 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
39818 storing incomplete byte sequence in state object. Avoid testing for
39819 guaranteed too small input if we know there is enough data available.
1af4e298 39820
da62f81b
AS
398212011-05-11 Andreas Schwab <schwab@redhat.com>
39822
39823 * Makeconfig (+link-pie): Indent.
39824 * Rules (binaries-pie): Define if $(have-fpie) and
39825 $(build-shared).
39826 (binaries-shared): Also filter out $(binaries-pie).
39827 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
39828 * nscd/Makefile (others-pie): Add nscd.
39829 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
39830 ($(objpfx)nscd): Remove command override.
39831 * login/Makefile (others-pie): Add pt_chown.
39832 ($(objpfx)pt_chown): Remove command override.
39833 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
39834 remove command overrides.
39835
fcabc0f8
UD
398362011-05-13 Ulrich Drepper <drepper@gmail.com>
39837
20030ae6
UD
39838 * libio/tst_putwc.c: Fix error messages.
39839
fcabc0f8
UD
39840 [BZ #12724]
39841 * libio/fileops.c (_IO_new_file_close_it): Always flush when
39842 currently writing and seek to current position when not.
39843 * libio/Makefile (tests): Add bug-fclose1.
39844 * libio/bug-fclose1.c: New file.
39845
320a5dc0
PB
398462011-05-12 Ulrich Drepper <drepper@gmail.com>
39847
39848 [BZ #12511]
39849 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
39850 don't set DF_1_NODELETE here.
39851 (do_lookup_x): When entering new entry test for copy relocation
39852 and if necessary set DF_1_NODELETE flag.
39853 * elf/tst-unique4.cc: New file.
39854 * elf/tst-unique4.h: New file.
39855 * elf/tst-unique4lib.cc: New file.
39856 * elf/Makefile: Add rules to build and run tst-unique4.
39857 Patch by Piotr Bury <pbury@goahead.com>.
39858
22836f52
UD
398592011-05-11 Ulrich Drepper <drepper@gmail.com>
39860
f574184a
UD
39861 [BZ #12052]
39862 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
39863
e1fb097f
UD
39864 [BZ #12625]
39865 * misc/mntent_r.c (addmntent): Flush the stream after the output
39866
22836f52
UD
39867 [BZ #12393]
39868 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
39869 (is_trusted_path_normalize): Skip initial colon. Append slash
39870 to empty buffer. Duplicate is_trusted_path code but allow
39871 constructed patch to be prefix.
39872 (is_dst): Allow $ORIGIN followed by /.
39873 (_dl_dst_substitute): Correct clearing of check_for_trusted.
39874 Correct testing of result of is_trusted_path_normalize
39875 (decompose_rpath): Fix warning.
39876
7b3b0b2a
UD
398772011-05-10 Ulrich Drepper <drepper@gmail.com>
39878
39879 [BZ #11257]
39880 * grp/initgroups.c (internal_getgrouplist): When we found the service
39881 list through the initgroups entry in nsswitch.conf do not always
39882 continue on a successful lookup. Don't always use the
eac80ce2 39883 __nss_group_database value if it is set.
7b3b0b2a
UD
39884 * nss/nsswitch.conf (initgroups): Change action for successful db
39885 lookup to continue for compatibility.
39886
2a81eaa5
UD
398872011-05-09 Ulrich Drepper <drepper@gmail.com>
39888
be97a69e
UD
39889 [BZ #11532]
39890 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
39891 and CP774 modules.
39892 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
39893 and CP774 modules.
39894 * iconvdata/tst-tables.sh: Likewise.
39895 * iconvdata/cp770.c: New file.
39896 * iconvdata/cp771.c: New file.
39897 * iconvdata/cp772.c: New file.
39898 * iconvdata/cp773.c: New file.
39899 * iconvdata/cp774.c: New file.
39900 * iconvdata/testdata/CP770: New file.
39901 * iconvdata/testdata/CP770..UTF8: New file.
39902 * iconvdata/testdata/CP771: New file.
39903 * iconvdata/testdata/CP771..UTF8: New file.
39904 * iconvdata/testdata/CP772: New file.
39905 * iconvdata/testdata/CP772..UTF8: New file.
39906 * iconvdata/testdata/CP773: New file.
39907 * iconvdata/testdata/CP773..UTF8: New file.
39908 * iconvdata/testdata/CP774: New file.
39909 * iconvdata/testdata/CP774..UTF8: New file.
39910
39911 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
39912 END CHARMAP line.
39913 * iconvdata/gen-8bit-gap.sh: Likewise.
39914 * iconvdata/gen-8bit.sh: Likewise.
39915
c1e9e399
UD
39916 * locale/iso-639.def: Add ary entry.
39917
24c55fb3 39918 [BZ #11258]
96b4b1b0
UD
39919 * locale/C-translit.h.in: Add U20A1 transliteration.
39920
bdc2f971
KB
39921 [BZ #12178]
39922 * locale/iso-639.def: Add wae entry.
39923 Patch by Kevin Bortis <bortis@translate-wae.ch>.
39924
2952b117
UD
39925 [BZ #12545]
39926 * locale/programs/localedef.c (construct_output_path): Use ssize_t
39927 for n.
39928
2a81eaa5
UD
39929 [BZ #12711]
39930 * locale/C-translit.h.in: Add entry for U20B9.
39931 Patch by pravin.d.s@gmail.com.
39932
28377d1b
UD
399332011-05-08 Ulrich Drepper <drepper@gmail.com>
39934
7fb90fb8
UD
39935 [BZ #12713]
39936 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
39937 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
39938 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
39939 in rtld. Use *stat64.
7fb90fb8 39940 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 39941 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 39942 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
39943 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
39944 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
39945 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
39946 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
39947 __fstatat64 macros.
7fb90fb8
UD
39948 * include/dirent.h: Add libc_hidden_proto for rewinddir.
39949 * dirent/rewinddir.c: Add libc_hidden_def.
39950 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 39951 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 39952
28377d1b
UD
39953 * include/dirent.h (__alloc_dir): Add flags parameter.
39954 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
39955 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
39956 __alloc_dir.
39957 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
39958 from fdopendir if O_CLOEXEC is already set.
39959
66bdbaa4
AM
399602011-03-15 Alan Modra <amodra@gmail.com>
39961
39962 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
39963 l_tls_firstbyte_offset non-zero. Save padding offset in
39964 l_tls_firstbyte_offset for later use.
39965 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
39966 freeing static tls block.
39967
95721191
JN
399682011-03-05 Jonathan Nieder <jrnieder@gmail.com>
39969
39970 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
39971 where #ifdef was intended. The intent is to prevent ARG_MAX from
39972 being defined by the kernel headers.
39973
f87dfb1f
UD
399742011-05-07 Ulrich Drepper <drepper@gmail.com>
39975
39976 [BZ #12734]
39977 * resolv/resolv.h: Define RES_NOTLDQUERY.
39978 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
39979 no-tld-query and set RES_NOTLDQUERY.
39980 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
39981 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
39982 modern BIND to search name as TLD unless forbidden.
39983
47c3cd7a
UD
399842011-05-07 Petr Baudis <pasky@suse.cz>
39985 Ulrich Drepper <drepper@gmail.com>
39986
39987 [BZ #12393]
39988 * elf/dl-load.c (fillin_rpath): Move trusted path check...
39989 (is_trusted_path): ...to here.
c1e9ea35 39990 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 39991 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 39992 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 39993
8a35c912
PP
399942011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
39995
39996 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
39997 __BEGIN/__END_DECLS.
39998
acd41f47
UD
399992011-05-06 Ulrich Drepper <drepper@gmail.com>
40000
40001 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
40002 NSS_STATUS_NOTFOUND if no record was found.
40003
597df647
AS
400042011-05-05 Andreas Schwab <schwab@redhat.com>
40005
40006 * sunrpc/Makefile (headers): Add rpc/netdb.h.
40007 (headers-not-in-tirpc): Remove rpc/netdb.h
40008 * resolv/netdb.h: Revert last change.
40009
b9af1301
PP
400102011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
40011
40012 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
40013 circular dependency between libgcc.a and libc.a.
40014
4e34d5f5
AS
400152011-05-05 Andreas Schwab <schwab@redhat.com>
40016
40017 * resolv/netdb.h: Don't include <rpc/netdb.h>.
40018 * nis/Makefile: Don't install rpcsvc/*.
40019 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
40020 instead of <rpc/types.h>.
40021 (MAXHOSTNAMELEN): Define.
40022
00ee369c
AS
400232011-05-03 Andreas Schwab <schwab@redhat.com>
40024
40025 * elf/ldconfig.c (add_dir): Don't crash on empty path.
40026
0b592a30
MB
400272011-04-28 Maciej Babinski <mbabinski@google.com>
40028
40029 [BZ #12714]
40030 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
40031 gethostbyname4_r when IPv6 results are possible.
40032
6e04cbbe
UD
400332011-05-02 Ulrich Drepper <drepper@gmail.com>
40034
40035 [BZ #12723]
40036 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
40037 _PC_PIPE_BUF handling.
40038
e4ecafe0
BH
400392011-04-30 Bruno Haible <bruno@clisp.org>
40040
40041 [BZ #12717]
40042 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
40043 * resolv/netdb.h (getnameinfo): Change type of flags parameter
40044 to 'int'.
40045 * inet/getnameinfo.c (getnameinfo): Likewise.
40046
125ee683
UD
400472011-04-29 Ulrich Drepper <drepper@gmail.com>
40048
40049 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
40050 to groups setting in database lookup.
40051 * nss/nsswitch.conf: Add initgroups entry.
40052
b722481a
EB
400532011-04-22 Ulrich Drepper <drepper@gmail.com>
40054
40055 [BZ #12685]
40056 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
40057 mode string.
40058 Patch by Eric Blake <eblake@redhat.com>.
40059
4df46dbd
L
400602011-04-20 H.J. Lu <hongjiu.lu@intel.com>
40061
40062 * sunrpc/Makefile (need-export-routines): Add svc_run.
40063 (routines): Remove svc_run.
40064 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
40065 * sunrpc/clnt_perr.c (clnt_perrno): Export.
40066 * sunrpc/svc_run.c (svc_run): Likewise.
40067 * sunrpc/svc_udp.c (svcudp_create): Likewise.
40068
e84142d2
UD
400692011-04-21 Ulrich Drepper <drepper@gmail.com>
40070
40071 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
40072 problem in reallocation in last patch.
40073
877175d8
UD
400742011-04-20 Ulrich Drepper <drepper@gmail.com>
40075
40076 * sunrpc/Makefile: Move inclusion of Rules.
40077
ab8eed78
UD
400782011-04-19 Ulrich Drepper <drepper@gmail.com>
40079
40080 * nss/nss_files/files-initgroups.c: New file.
40081 * nss/Makefile (libnss_files-routines): Add files-initgroups.
40082 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
40083 _nss_files_initgroups_dyn.
40084
e3d8f584
RS
400852011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
40086
40087 * elf/elf.h (R_ARM_IRELATIVE): Define.
40088
af190f45
UD
400892011-04-19 Ulrich Drepper <drepper@gmail.com>
40090
40091 * po/ru.po: Update from translation team.
40092
53cf59ef
UD
400932011-04-17 Ulrich Drepper <drepper@gmail.com>
40094
40095 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
40096 dependencies.
40097
4c559bcd
MF
400982011-02-06 Mike Frysinger <vapier@gentoo.org>
40099
40100 [BZ #12653]
40101 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
40102 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
40103 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
40104 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
40105 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
40106
4420675c
AS
401072011-03-28 Andreas Schwab <schwab@linux-m68k.org>
40108
40109 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
40110 differing bytes.
40111 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
40112 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
40113 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
40114
75ea32ab
UD
401152011-04-17 Ulrich Drepper <drepper@gmail.com>
40116
40117 [BZ #12420]
40118 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
40119 storing it.
40120 * stdlib/bug-getcontext.c: New file.
40121 * stdlib/Makefile: Add rules to build and run bug-getcontext.
40122
27390476
AK
401232011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40124
40125 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
40126 instructions into .machine "z9-109".
40127 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
40128 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
40129
10442705
AK
401302011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40131
40132 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
40133 between environment variables and auxiliary vector.
40134
7b57bfe5
UD
401352011-04-16 Ulrich Drepper <drepper@gmail.com>
40136
40137 * Makefile: Add rules to build linkobj/libc.so.
40138 * include/libc-symbols.h: Define libc_hidden_nolink.
40139 * include/rpc/auth.h: Mark functions which are to be hidden.
40140 * include/rpc/auth_des.h: Likewise.
40141 * include/rpc/auth_unix.h: Likewise.
40142 * include/rpc/clnt.h: Likewise.
40143 * include/rpc/des_crypt.h: Likewise.
40144 * include/rpc/key_prot.h: Likewise.
40145 * include/rpc/pmap_clnt.h: Likewise.
40146 * include/rpc/pmap_prot.h: Likewise.
40147 * include/rpc/pmap_rmt.h: Likewise.
40148 * include/rpc/rpc_msg.h: Likewise.
40149 * include/rpc/svc.h: Likewise.
40150 * include/rpc/svc_auth.h: Likewise.
40151 * include/rpc/xdr.h: Likewise.
40152 * nis/Makefile: Link all DSOs against linkobj/libc.so.
40153 * nss/Makefile: Likewise.
40154 * sunrpc/Makefile: Don't install headers. Build library with normal
40155 entry points. Don't build rpcinfo. Link RPC tests appropriately.
40156 * sunrpc/auth_des.c: Hide exported symbols by default, export some
40157 for the compat linking library. Remove use of INTDEF/INTUSE.
40158 * sunrpc/auth_none.c: Likewise.
40159 * sunrpc/auth_unix.c: Likewise.
40160 * sunrpc/authdes_prot.c: Likewise.
40161 * sunrpc/authuxprot.c: Likewise.
40162 * sunrpc/clnt_gen.c: Likewise.
40163 * sunrpc/clnt_perr.c: Likewise.
40164 * sunrpc/clnt_raw.c: Likewise.
40165 * sunrpc/clnt_simp.c: Likewise.
40166 * sunrpc/clnt_tcp.c: Likewise.
40167 * sunrpc/clnt_udp.c: Likewise.
40168 * sunrpc/clnt_unix.c: Likewise.
40169 * sunrpc/des_crypt.c: Likewise.
40170 * sunrpc/des_soft.c: Likewise.
40171 * sunrpc/get_myaddr.c: Likewise.
40172 * sunrpc/key_call.c: Likewise.
40173 * sunrpc/key_prot.c: Likewise.
40174 * sunrpc/netname.c: Likewise.
40175 * sunrpc/pm_getmaps.c: Likewise.
40176 * sunrpc/pm_getport.c: Likewise.
40177 * sunrpc/pmap_clnt.c: Likewise.
40178 * sunrpc/pmap_prot.c: Likewise.
40179 * sunrpc/pmap_prot2.c: Likewise.
40180 * sunrpc/pmap_rmt.c: Likewise.
40181 * sunrpc/publickey.c: Likewise.
40182 * sunrpc/rpc_cmsg.c: Likewise.
40183 * sunrpc/rpc_common.c: Likewise.
40184 * sunrpc/rpc_dtable.c: Likewise.
40185 * sunrpc/rpc_prot.c: Likewise.
40186 * sunrpc/rpc_thread.c: Likewise.
40187 * sunrpc/rtime.c: Likewise.
40188 * sunrpc/svc.c: Likewise.
40189 * sunrpc/svc_auth.c: Likewise.
40190 * sunrpc/svc_authux.c: Likewise.
40191 * sunrpc/svc_raw.c: Likewise.
40192 * sunrpc/svc_run.c: Likewise.
40193 * sunrpc/svc_simple.c: Likewise.
40194 * sunrpc/svc_tcp.c: Likewise.
40195 * sunrpc/svc_udp.c: Likewise.
40196 * sunrpc/svc_unix.c: Likewise.
40197 * sunrpc/svcauth_des.c: Likewise.
40198 * sunrpc/xcrypt.c: Likewise.
40199 * sunrpc/xdr.c: Likewise.
40200 * sunrpc/xdr_array.c: Likewise.
40201 * sunrpc/xdr_float.c: Likewise.
40202 * sunrpc/xdr_intXX_t.c: Likewise.
40203 * sunrpc/xdr_mem.c: Likewise.
40204 * sunrpc/xdr_rec.c: Likewise.
40205 * sunrpc/xdr_ref.c: Likewise.
40206 * sunrpc/xdr_sizeof.c: Likewise.
40207 * sunrpc/xdr_stdio.c: Likewise.
40208
e6c61494
UD
402092011-04-10 Ulrich Drepper <drepper@gmail.com>
40210
40211 [BZ #12650]
40212 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
40213 * sysdeps/ia64/dl-tls.h: Likewise.
40214 * sysdeps/powerpc/dl-tls.h: Likewise.
40215 * sysdeps/s390/dl-tls.h: Likewise.
40216 * sysdeps/sh/dl-tls.h: Likewise.
40217 * sysdeps/sparc/dl-tls.h: Likewise.
40218 * sysdeps/x86_64/dl-tls.h: Likewise.
40219 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
40220
34fe483e
AS
402212011-03-14 Andreas Schwab <schwab@redhat.com>
40222
40223 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
40224 rpath element also skip the following colon.
40225 (expand_dynamic_string_token): Add is_path parameter and pass
40226 down to DL_DST_REQUIRED and _dl_dst_substitute.
40227 (decompose_rpath): Call expand_dynamic_string_token with
40228 non-zero is_path. Ignore empty rpaths.
40229 (_dl_map_object_from_fd): Call expand_dynamic_string_token
40230 with zero is_path.
40231
f12a32e6
AS
402322011-04-08 Andreas Schwab <schwab@linux-m68k.org>
40233
40234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
40235 Make cancelable.
40236
38a7d692
UD
402372011-04-09 Ulrich Drepper <drepper@gmail.com>
40238
40239 [BZ #12655]
40240 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
40241 Patch by Filipe David Manana <fdmanana@apache.org>.
40242
e451d22b
AS
402432011-04-07 Andreas Schwab <schwab@redhat.com>
40244
40245 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
40246 Maintain aligned stack.
40247 (CHECK_RSP): Remove unused macro.
40248
dedc7c7b
UD
402492011-04-03 Ulrich Drepper <drepper@gmail.com>
40250
40251 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
40252 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
40253
94521213
UD
402542011-04-02 Ulrich Drepper <drepper@gmail.com>
40255
40256 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
40257
8cb700c0 40258 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 40259
0354e355
L
402602011-03-26 H.J. Lu <hongjiu.lu@intel.com>
40261
40262 [BZ #12518]
40263 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
40264 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
40265 * sysdeps/x86_64/memmove.c: New file.
40266 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
40267 (memcpy): Renamed to ...
40268 (__new_memcpy): This.
40269 (memcpy): Provide GLIBC_2_14 memcpy.
40270 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
40271 (memcpy): Provide GLIBC_2_2_5 memcpy.
40272
8593482f
UD
402732011-04-01 Ulrich Drepper <drepper@gmail.com>
40274
40275 [BZ #12631]
40276 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
40277
81a5726b
AS
402782011-03-30 Andreas Schwab <schwab@redhat.com>
40279
40280 * misc/syncfs.c: New file.
40281 * misc/Makefile (routines): Add syncfs.
40282 * posix/unistd.h: Declare syncfs.
40283 * sysdeps/unix/syscalls.list: Add syncfs.
40284
00e5419f
AS
402852011-04-01 Andreas Schwab <schwab@redhat.com>
40286
40287 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
40288 open_by_handle_at.
40289 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
40290 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
40291 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
40292 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
40293 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
40294 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
40295 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
40296
748876bf
UD
402972011-04-01 Ulrich Drepper <drepper@gmail.com>
40298
658e451d
UD
40299 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
40300 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
40301 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
40302 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
40303 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
40304 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
40305 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
40306
748876bf
UD
40307 * io/Makefile: Compile fallocate.c, fallocate64.c, and
40308 sync_file_range.c with -fexceptions.
40309 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
40310 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
40311 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
40312 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
40313 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
40314 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
40315 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
40316 sync_file_range as cancellation point
40317 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
40318 now a wrapper around __call_sync_file_range with cancellation handling.
40319 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
40320 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
40321 function name to __call_sync_file_range.
40322 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
40323 Add call_sync_file_range.
748876bf 40324
6e63d5e1
AS
403252011-04-01 Andreas Schwab <schwab@redhat.com>
40326
40327 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 40328 bits/timex.h.
6e63d5e1 40329
46998f74
UD
403302011-04-01 Ulrich Drepper <drepper@gmail.com>
40331
4c1423ed
UD
40332 * iconv/iconv.h: Fix typo in comment.
40333 * io/fcntl.h: Likewise.
40334 * libio/stdio.h: Likewise.
40335 * posix/spawn.h: Likewise.
40336 * posix/unistd.h: Likewise.
40337 * stdlib/stdlib.h: Likewise.
40338 * time/time.h: Likewise.
40339 * wcsmbs/wchar.h: Likewise.
40340
158648c0
UD
40341 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
40342 open_by_handle): Add.
40343 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
40344 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
40345 Augment a few comments.
40346 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
40347 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
40348 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
40349 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
40350 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
40351 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
40352 open_by_handle.
40353
46998f74
UD
40354 * io/fcntl.h (AT_EMPTY_PATH): Define.
40355
83fe108b
UD
403562011-03-30 Ulrich Drepper <drepper@gmail.com>
40357
40358 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
40359 * sysdeps/unix/sysv/linux/bits/time.h: New file.
40360 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
40361 to...
40362 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
40363 * Versions.def: Add GLIBC_2.14.
40364 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
40365 Export.
83fe108b 40366
bb242059
UD
403672011-03-22 Ulrich Drepper <drepper@gmail.com>
40368
40369 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
40370 round counter.
40371 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
40372
c97a1282
L
403732011-03-20 H.J. Lu <hongjiu.lu@intel.com>
40374
40375 [BZ #12597]
40376 * string/test-strncmp.c (do_page_test): New function.
40377 (check2): Likewise.
40378 (test_main): Call check2.
40379 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
40380
2a115601
UD
403812011-03-20 Ulrich Drepper <drepper@gmail.com>
40382
40383 [BZ #12587]
40384 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
40385 Handle cache information in CPU leaf 4.
40386 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
40387
8126d904
UD
403882011-03-18 Ulrich Drepper <drepper@gmail.com>
40389
042c49c6 40390 [BZ #12583]
8126d904
UD
40391 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
40392 character representation.
40393 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
40394
ccfe366e
RA
403952011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
40396
40397 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
40398 END(__isnan) to END(__isnanf) to match function entry point/label
40399 EALIGN(__isnanf,...).
40400
c6e13027
JJ
404012011-03-10 Jakub Jelinek <jakub@redhat.com>
40402
40403 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
40404
33f85a3f
UD
404052011-03-10 Ulrich Drepper <drepper@gmail.com>
40406
028478fa
UD
40407 [BZ #12510]
40408 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
40409 copy from the symbol referenced in the relocation to initialize the
40410 used variable.
40411 Patch by Piotr Bury <pbury@goahead.com>.
40412 * elf/Makefile: Add rules to build and tst-unique3.
40413 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
40414 * elf/tst-unique3.cc: New file.
40415 * elf/tst-unique3.h: New file.
40416 * elf/tst-unique3lib.cc: New file.
40417 * elf/tst-unique3lib2.cc: New file.
40418
33f85a3f
UD
40419 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
40420
03592fc7
MF
404212011-03-10 Mike Frysinger <vapier@gentoo.org>
40422
40423 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
40424 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
40425 to _start.
03592fc7 40426
6a5ee102
UD
404272011-03-06 Ulrich Drepper <drepper@gmail.com>
40428
40429 * elf/dl-load.c (_dl_map_object): If we are looking for the first
40430 to-be-loaded object along a path to loader is ld.so.
40431
7e4ba49c
HJ
404322011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
40433 Ulrich Drepper <drepper@gmail.com>
40434
40435 * sysdeps/x86_64/memset.S: After aligning destination, code
40436 branches to different locations depending on the value of
40437 misalignment, when multiarch is enabled. Fix this.
40438
404392011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
40440
40441 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
40442 Set _x86_64_preferred_memory_instruction for AMD processsors.
40443 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40444 Set bit_Prefer_SSE_for_memop for AMD processors.
40445
13a804de
UD
404462011-03-04 Ulrich Drepper <drepper@gmail.com>
40447
40448 * libio/fmemopen.c (fmemopen): Optimize a bit.
40449
9d25c392
AS
404502011-03-03 Andreas Schwab <schwab@redhat.com>
40451
40452 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
40453
a5543c6a
RM
404542011-03-03 Roland McGrath <roland@redhat.com>
40455
40456 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
40457
012d35f7
DM
404582011-02-28 Aurelien Jarno <aurelien@aurel32.net>
40459
7e4ba49c 40460 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
40461 __bzero_ultra1 instead of __memset_ultra1.
40462
4bff6e01
AS
404632011-02-23 Andreas Schwab <schwab@redhat.com>
40464 Ulrich Drepper <drepper@gmail.com>
40465
40466 [BZ #12509]
40467 * include/link.h (struct link_map): Add l_orig_initfini.
40468 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
40469 returning unsuccessfully.
40470 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
40471 close of a file loaded at startup, restore the original l_initfini
40472 list.
40473 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
40474 list, store the pointer.
40475 * elf/Makefile ($(objpfx)noload-mem): New rule.
40476 (noload-ENV): Define.
40477 (tests): Add $(objpfx)noload-mem.
40478 * elf/noload.c: Include <memcheck.h>.
40479 (main): Call mtrace. Close all opened handles.
40480
f2092faf
AS
404812011-02-17 Andreas Schwab <schwab@redhat.com>
40482
40483 [BZ #12454]
40484 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
40485 dependencies are missing.
40486
6c8a2e88
ST
404872011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
40488
f2092faf 40489 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
40490 Hurd needs munmap.
40491 * sysdeps/mach/hurd/ifreq.h: New file.
40492
84a42118
PB
404932011-01-27 Petr Baudis <pasky@suse.cz>
40494 Ulrich Drepper <drepper@gmail.com>
40495
071f805e 40496 [BZ 12445]#
84a42118
PB
40497 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
40498 to extend_alloca().
40499 * stdio-common/bug23.c: New file.
40500 * stdio-common/Makefile (tests): Add bug23.
40501
e23fe25b
AS
405022010-09-28 Andreas Schwab <schwab@redhat.com>
40503 Ulrich Drepper <drepper@gmail.com>
40504
40505 [BZ #12489]
40506 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
40507 before performing relro protection. At old place add assertion
40508 to make sure nothing changed.
40509
d3f02e10
NS
405102011-02-17 Nathan Sidwell <nathan@codesourcery.com>
40511 Glauber de Oliveira Costa <glommer@gmail.com>
40512
40513 * elf/elf.h: Add new ARM TLS relocs.
40514
d55fd7a5
RA
405152011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
40516
40517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
40518 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
40519 cast from r3.
40520 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
40521 'tests' variable.
40522 * sysdeps/wordsize-64/tst-writev.c: New file.
40523
2206397e
RA
405242011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
40525
40526 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
40527 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
40528 insns in _dl_start to prevent a TOC reference before relocs are
40529 resolved.
40530
e9433893
UD
405312011-02-15 Ulrich Drepper <drepper@gmail.com>
40532
40533 [BZ #12469]
40534 * Makeconfig: Remove RANLIB definition.
40535 * Makerules: Don't use RANLIB.
40536 * aclocal.m4: Remove ranlib test.
40537 * configure.in: No need to check for ranlib.
40538 * elf/rtld-Rules: Don't use RANLIB.
40539
f75286c6
ST
405402011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
40541
8e31c82d
ST
40542 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
40543 protection macro.
40544 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
40545 inclusion protection macro.
40546
f75286c6
ST
40547 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
40548 SIGRTMIN and SIGRTMAX and print information in that case only when
40549 SIGRTMIN is defined.
40550
c1d0e639
JJ
405512011-02-11 Jakub Jelinek <jakub@redhat.com>
40552
40553 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
40554 arginfo fn returning -1.
40555
40556 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
40557 and thousands string is zero terminated.
40558
edf9294e
AS
405592011-02-03 Andreas Schwab <schwab@redhat.com>
40560
40561 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
40562 sysdeps/unix/sysv/linux/bits/socket.h.
40563
2b7e92df
ST
405642011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
40565
edf9294e
AS
40566 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
40567 (__CPU_COUNT): Remove old macros.
40568 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
40569 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
40570 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
40571 (__sched_cpualloc, __sched_cpufree): Add declarations.
40572
a4c7ea7b
UD
405732011-02-05 Ulrich Drepper <drepper@gmail.com>
40574
40575 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
40576 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
40577 * nscd/aicache.c (addhstaiX): Return timeout of added value.
40578 (readdhstai): Return value of addhstaiX call.
40579 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
40580 (addgrbyX): Return value returned by cache_addgr.
40581 (readdgrbyname): Return value returned by addgrbyX.
40582 (readdgrbygid): Likewise.
40583 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
40584 (addpwbyX): Return value returned by cache_addpw.
40585 (readdpwbyname): Return value returned by addhstbyX.
40586 (readdpwbyuid): Likewise.
40587 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
40588 (addservbyX): Return value returned by cache_addserv.
40589 (readdservbyname): Return value returned by addservbyX:
40590 (readdservbyport): Likewise.
40591 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
40592 (addhstbyX): Return value returned by cache_addhst.
40593 (readdhstbyname): Return value returned by addhstbyX.
40594 (readdhstbyaddr): Likewise.
40595 (readdhstbynamev6): Likewise.
40596 (readdhstbyaddrv6): Likewise.
40597 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
40598 (readdinitgroups): Return value returned by addinitgroupsX.
40599 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
40600 (prune_cache): Keep track of timeout value of re-added entries.
40601 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
40602 * nscd/nscd.h: Adjust prototypes of readd* functions.
40603
a0bf67cc
RM
406042011-02-04 Roland McGrath <roland@redhat.com>
40605
40606 * nis/nis_server.c (nis_servstate): Use the right name for 0.
40607 (nis_stats): Likewise.
40608 * nis/nis_modify.c (nis_modify): Likewise.
40609 * nis/nis_remove.c (nis_remove): Likewise.
40610 * nis/nis_add.c (nis_add): Likewise.
40611
40612 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
40613
40614 * posix/fnmatch_loop.c: Add some consts.
40615
40616 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
40617
435b95eb
L
406182011-02-02 H.J. Lu <hongjiu.lu@intel.com>
40619
40620 [BZ #12460]
40621 * config.make.in (config-cflags-novzeroupper): Define.
40622 * configure.in: Substitute libc_cv_cc_novzeroupper.
40623 * elf/Makefile (AVX-CFLAGS): Define.
40624 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
40625 (CFLAGS-tst-auditmod4a.c): Likewise.
40626 (CFLAGS-tst-auditmod4b.c): Likewise.
40627 (CFLAGS-tst-auditmod6b.c): Likewise.
40628 (CFLAGS-tst-auditmod6c.c): Likewise.
40629 (CFLAGS-tst-auditmod7b.c): Likewise.
40630 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
40631
8517b15e
UD
406322011-02-02 Ulrich Drepper <drepper@gmail.com>
40633
40634 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
40635 function to the callback.
40636 Patch partly by Jiri Olsa <jolsa@redhat.com>.
40637
10a656fe
AS
406382011-02-02 Andreas Schwab <schwab@redhat.com>
40639
40640 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
40641 of errno.
40642
968dad0a
UD
406432011-01-19 Ulrich Drepper <drepper@gmail.com>
40644
9f94d2ea 40645 [BZ #11724]
968dad0a
UD
40646 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
40647 of constructors.
40648 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
40649 of destructors.
40650 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
40651
40652 [BZ #11724]
40653 * elf/Makefile: Add rules to build and run new test.
40654 * elf/tst-initorder.c: New file.
40655 * elf/tst-initorder.exp: New file.
40656 * elf/tst-initordera1.c: New file.
40657 * elf/tst-initordera2.c: New file.
40658 * elf/tst-initordera3.c: New file.
40659 * elf/tst-initordera4.c: New file.
40660 * elf/tst-initorderb1.c: New file.
40661 * elf/tst-initorderb2.c: New file.
40662 * elf/tst-order-a1.c: New file.
40663 * elf/tst-order-a2.c: New file.
40664 * elf/tst-order-a3.c: New file.
40665 * elf/tst-order-a4.c: New file.
40666 * elf/tst-order-b1.c: New file.
40667 * elf/tst-order-b2.c: New file.
40668 * elf/tst-order-main.c: New file.
40669 New test case by George Gensure <werkt0@gmail.com>.
40670
86e92359
UD
406712010-10-01 Andreas Schwab <schwab@redhat.com>
40672
40673 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
40674 decoding ACE if AI_CANONIDN.
40675
5d5732b0
UD
406762011-01-18 Ulrich Drepper <drepper@gmail.com>
40677
40678 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
40679
a77e8cbc
UD
406802011-01-17 Ulrich Drepper <drepper@gmail.com>
40681
6392473f
UD
40682 * version.h (RELEASE): Bump for 2.13 release.
40683 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
40684
620a0529
UD
40685 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
40686
18ba70a5
UD
40687 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
40688 MADV_NOHUGEPAGE.
32465c3e
UD
40689 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
40690 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
40691 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
40692 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
40693 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
40694 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
40695
c0dafcf1
UD
40696 * posix/getconf.c: Update copyright year.
40697 * catgets/gencat.c: Likewise.
40698 * csu/version.c: Likewise.
40699 * debug/catchsegv.sh: Likewise.
40700 * debug/xtrace.sh: Likewise.
40701 * elf/ldconfig.c: Likewise.
40702 * elf/ldd.bash.in: Likewise.
40703 * elf/sprof.c (print_version): Likewise.
40704 * iconv/iconv_prog.c: Likewise.
40705 * iconv/iconvconfig.c: Likewise.
40706 * locale/programs/locale.c: Likewise.
40707 * locale/programs/localedef.c: Likewise.
40708 * malloc/memusage.sh: Likewise.
40709 * malloc/mtrace.pl: Likewise.
40710 * nscd/nscd.c (print_version): Likewise.
40711 * nss/getent.c: Likewise.
40712
a77e8cbc
UD
40713 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
40714 PF_CAIF, and PF_ALG.
40715 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
40716
77e8bddf
AS
407172011-01-16 Andreas Schwab <schwab@linux-m68k.org>
40718
1f20b93a
AS
40719 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
40720 (modules-names): Use them.
40721 (ifunc-test-modules, ifunc-pie-tests): Define.
40722 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
40723 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
40724 (test-extras): Likewise.
40725 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
40726 $(compile-command.c).
40727 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
40728 (all-built-dso): Define.
40729 (check-textrel.out, check-execstack.out): Depend on it.
40730
77e8bddf
AS
40731 * configure.in: Don't override --enable-multi-arch.
40732
bc425b33
UD
407332011-01-15 Ulrich Drepper <drepper@gmail.com>
40734
40735 [BZ #6812]
40736 * nscd/hstcache.c (tryagain): Define.
40737 (cache_addhst): Return tryagain not notfound for temporary errors.
40738 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
40739 failed.
40740
794c3ad3
UD
407412011-01-14 Ulrich Drepper <drepper@gmail.com>
40742
70181fdd
UD
40743 [BZ #10563]
40744 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
40745 to make the syscall.
40746 * sysdeps/unix/sysv/linux/setgroups.c: New file.
40747
794c3ad3
UD
40748 [BZ #12378]
40749 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
40750 and fall back to matching as normal character if the string ends before
40751 the matching ']' is found. This is what POSIX requires.
40752 * posix/testfnm.c: Adjust test result.
40753 * posix/globtest.sh: Adjust test result. Add new test.
40754 * posix/tst-fnmatch.input: Likewise.
40755 * posix/tst-fnmatch2.c: Add new test.
40756
68dc9497
AS
407572010-12-28 Andreas Schwab <schwab@linux-m68k.org>
40758
40759 * elf/Makefile (check-execstack): Revert last change. Depend on
40760 check-execstack.h.
40761 (check-execstack.h): New target.
40762 (generated): Add check-execstack.h.
40763 * elf/check-execstack.c: Include "check-execstack.h".
40764 (main): Revert last change.
40765 (handle_file): Return zero if GNU_STACK is absent and
40766 DEFAULT_STACK_PERMS doesn't include PF_X.
40767
451f001b
UD
407682011-01-13 Ulrich Drepper <drepper@gmail.com>
40769
cfa28e56
UD
40770 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
40771 in child fails because the descriptor is already closed.
8cf8ce17
UD
40772 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
40773 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
40774 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 40775
1086d70d
UD
40776 [BZ #12397]
40777 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
40778 syscall.
40779
451f001b
UD
40780 [BZ #10484]
40781 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
40782 temporary buffer used to handle multi lookups locally.
a85b5cb4 40783 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 40784
08769175
UD
407852011-01-12 Ulrich Drepper <drepper@gmail.com>
40786
40787 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
40788 loader is ld.so.
40789
5e49c52e
UD
407902011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
40791
40792 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
40793 alignment for SSE2.
40794
60522a5f
UD
407952011-01-12 Ulrich Drepper <drepper@gmail.com>
40796
40797 [BZ #12394]
40798 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
40799 characters. When rounding increased number of integer digits recompute
40800 number of groups.
40801 * stdio-common/tst-grouping.c: New file.
40802 * stdio-common/Makefile: Add rules to build and run tst-grouping.
40803
f257bbd7
UD
408042011-01-09 Ulrich Drepper <drepper@gmail.com>
40805
40806 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
40807 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
40808
40809 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
40810 void.
40811 * bits/select.h: Likewise.
40812
fa9c15cb
UD
408132011-01-08 Ulrich Drepper <drepper@gmail.com>
40814
40815 * po/ja.po: Update from translation team.
40816
16c2895f
DM
408172011-01-04 David S. Miller <davem@sunset.davemloft.net>
40818
40819 [BZ #11155]
40820 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
40821 implementation just like for lxstat, fxstatat, et al.
40822
2543fef2
JM
408232010-12-27 Jim Meyering <meyering@redhat.com>
40824
40825 [BZ #12348]
40826 * posix/regexec.c (build_trtable): Return failure indication upon
40827 calloc failure. Otherwise, re_search_internal could infloop on OOM.
40828
98727dbe
UD
408292010-12-25 Ulrich Drepper <drepper@gmail.com>
40830
5bd6dc5c
UD
40831 [BZ #12201]
40832 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
40833 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
40834 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
40835 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
40836
97983464
UD
40837 [BZ #12207]
40838 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
40839
98727dbe
UD
40840 [BZ #12204]
40841 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
40842 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
40843
4a531bb0
L
408442010-12-15 H.J. Lu <hongjiu.lu@intel.com>
40845
40846 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
40847 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
40848 script has SORT_BY_INIT_PRIORITY.
40849 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
40850 NO_CTORS_DTORS_SECTIONS is defined.
40851 * elf/soinit.c: Likewise.
40852 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
40853 NO_CTORS_DTORS_SECTIONS is defined.
40854 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
40855 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
40856 * sysdeps/sh/init-first.c: Likewise.
40857 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
40858
07eb4b71
UD
408592010-12-24 Ulrich Drepper <drepper@gmail.com>
40860
40861 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
40862 always use the slow path.
40863
30950a5f
RA
408642010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
40865
40866 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
40867 similar rule which adds the sysdep directories to the header search in
40868 order to pick up the correct platform stackinfo.h.
40869 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
40870 perform test if it is, otherwise return successfully without testing.
40871 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
40872 DEFAULT_STACK_PERMS define in stackinfo.h.
40873 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
40874 defined in stackinfo.h.
40875 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
40876 DEFAULT_STACK_PERMS defined in stackinfo.h.
40877 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
40878 * sysdeps/ia64/stackinfo.h: Likewise.
40879 * sysdeps/s390/stackinfo.h: Likewise.
40880 * sysdeps/sh/stackinfo.h: Likewise.
40881 * sysdeps/sparc/stackinfo.h: Likewise.
40882 * sysdeps/x86_64/stackinfo.h: Likewise.
40883 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
40884 PF_X for powerpc64. Retain PF_X for powerpc32.
40885
db753e2c
UD
408862010-12-19 Ulrich Drepper <drepper@gmail.com>
40887
14b697f7
UD
40888 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
40889 accurately.
db753e2c
UD
40890 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
40891 GETDENTS_64BIT_ALIGNED.
40892
28300719
UD
408932010-12-14 Ulrich Drepper <dreper@gmail.com>
40894
14b697f7 40895 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 40896
4f197237
AS
408972010-12-10 Andreas Schwab <schwab@redhat.com>
40898
dbb0472f
AS
40899 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
40900 _GNU_SOURCE.
40901
4f197237
AS
40902 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
40903 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
40904 Remove __restrict.
40905 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
40906 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
40907
fb88ac72
UD
409082010-12-09 Ulrich Drepper <drepper@gmail.com>
40909
40910 [BZ #11655]
40911 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
40912 are initialized.
40913
42acbb92
JJ
409142010-12-09 Jakub Jelinek <jakub@redhat.com>
40915
40916 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
40917
c038d98d
UD
409182010-12-03 Ulrich Drepper <drepper@gmail.com>
40919
40920 * po/it.po: Update from translation team.
40921
3a4a2499
L
409222010-12-01 H.J. Lu <hongjiu.lu@intel.com>
40923
40924 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
40925 unused codes.
40926
1e24cf6e
UD
409272010-11-30 Ulrich Drepper <drepper@gmail.com>
40928
40929 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
40930
a7690819
AS
409312010-11-24 Andreas Schwab <schwab@redhat.com>
40932
40933 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
40934 specially.
40935 (gaih_getanswer_slice): Likewise.
40936
3bf8d1b1
JJ
409372010-10-20 Jakub Jelinek <jakub@redhat.com>
40938
40939 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
40940
6db52fbb
PB
409412010-05-31 Petr Baudis <pasky@suse.cz>
40942
40943 [BZ #11149]
40944 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
40945 silently even in the chroot mode.
40946
eaca7569
UD
409472010-11-22 Ulrich Drepper <drepper@gmail.com>
40948
40949 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
40950 last patch a bit. Pretty printing
40951
3056dcdb
UD
409522010-05-31 Petr Baudis <pasky@suse.cz>
40953
40954 [BZ #10085]
40955 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
40956 initialization of skip_initgroups_dyn.
40957
cf7c9078
UD
409582010-11-19 Ulrich Drepper <drepper@gmail.com>
40959
40960 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
40961 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
40962
a1fb5e3e
UD
409632010-11-16 Ulrich Drepper <drepper@gmail.com>
40964
40965 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
40966
3540d66b
AS
409672010-11-11 Andreas Schwab <schwab@redhat.com>
40968
40969 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
40970 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
40971 (tst-fnmatch-ENV): Set MALLOC_TRACE.
40972 ($(objpfx)tst-fnmatch-mem): New rule.
40973 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
40974 * posix/tst-fnmatch.c (main): Call mtrace.
40975
13b69574
L
409762010-11-11 H.J. Lu <hongjiu.lu@intel.com>
40977
40978 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40979 Support Intel processor model 6 and model 0x2c.
40980
da93d214
LM
409812010-11-10 Luis Machado <luisgpm@br.ibm.com>
40982
40983 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
40984 signed comparison.
40985
8ca52c6e
L
409862010-11-09 H.J. Lu <hongjiu.lu@intel.com>
40987
40988 [BZ #12205]
40989 * string/test-strncasecmp.c (check_result): New function.
40990 (do_one_test): Use it.
40991 (check1): New function.
40992 (test_main): Use it.
40993 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
40994 Support strcasecmp and strncasecmp.
40995
69da074d
UD
409962010-11-08 Ulrich Drepper <drepper@gmail.com>
40997
40998 [BZ #12194]
40999 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
41000 * sysdeps/x86_64/bits/byteswap.h: Likewise.
41001
ff02d528
L
410022010-11-07 H.J. Lu <hongjiu.lu@intel.com>
41003
41004 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
41005 IFUNC support.
41006 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41007 memset-x86-64.
41008 * sysdeps/x86_64/multiarch/bzero.S: New file.
41009 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
41010 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
41011 * sysdeps/x86_64/multiarch/memset.S: New file.
41012 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
41013 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41014 Set bit_Prefer_SSE_for_memop for Intel processors.
41015 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
41016 Define.
41017 (index_Prefer_SSE_for_memop): Define.
41018 (HAS_PREFER_SSE_FOR_MEMOP): Define.
41019
344d0b54
LM
410202010-11-04 Luis Machado <luisgpm@br.ibm.com>
41021
41022 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
41023 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
41024
c0dde15b
UD
410252010-11-03 H.J. Lu <hongjiu.lu@intel.com>
41026
41027 [BZ #12191]
41028 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
41029 (__x86_64_raw_data_cache_size_half): Likewise.
41030 (__x86_64_raw_shared_cache_size): Likewise.
41031 (__x86_64_raw_shared_cache_size_half): Likewise.
41032
41033 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
41034 (__x86_64_raw_data_cache_size_half): Likewise.
41035 (__x86_64_raw_shared_cache_size): Likewise.
41036 (__x86_64_raw_shared_cache_size_half): Likewise.
41037 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
41038 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
41039 and __x86_64_raw_shared_cache_size_half. Round
41040 __x86_64_data_cache_size_half, __x86_64_data_cache_size
41041 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
41042 to multiple of 256 bytes.
41043
0e516e0e
MS
410442010-11-03 Ulrich Drepper <drepper@gmail.com>
41045
41046 [BZ #12167]
41047 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
41048 of inacessible symlinks. Verify result of symlink before returning it.
41049 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
41050 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
41051
0e012e87
ER
410522010-10-28 Erich Ritz <erichritz@gmail.com>
41053
41054 * math/math.h (isinf): Fix typo in comment.
41055
de0ff7bc
UD
410562010-11-01 Ulrich Drepper <drepper@gmail.com>
41057
41058 * po/da.po: Update from translation team.
41059
fa41c84d
UD
410602010-10-26 Ulrich Drepper <drepper@gmail.com>
41061
41062 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
41063 is added to the list.
41064
f0967738
AK
410652010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41066 Ulrich Drepper <drepper@gmail.com>
41067
41068 * elf/dl-object.c (_dl_new_object): Don't append the new object to
41069 the global list here. Move code to...
41070 (_dl_add_to_namespace_list): ...here. New function.
41071 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
41072 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
41073 * elf/dl-load.c (lose): Don't remove the element from the list.
41074 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
41075 (_dl_map_object): Likewise.
41076
410772010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
41078
41079 [BZ #12159]
41080 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
41081 into all bytes of SSE register.
41082 Patch by Richard Li <richardpku@gmail.com>.
41083
f0967738 410842010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
41085
41086 [BZ #12140]
41087 * malloc/malloc.c (_int_free): Fill correct number of bytes when
41088 perturbing.
41089
d0b9e94f
MB
410902010-10-20 Michael B. Brutman <brutman@us.ibm.com>
41091
41092 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
41093 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
41094 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
41095 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
41096 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
41097 submachine.
41098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
41099
8e9f92e9
AS
411002010-10-22 Andreas Schwab <schwab@redhat.com>
41101
41102 * include/dlfcn.h (__RTLD_SECURE): Define.
41103 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
41104 mode & __RTLD_SECURE instead.
41105 (open_path): Rename preloaded parameter to secure.
41106 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
41107 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
41108 * elf/dl-deps.c (openaux): Likewise.
41109 * elf/rtld.c (struct map_args): Remove is_preloaded.
41110 (map_doit): Don't use it.
41111 (dl_main): Likewise.
41112 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
41113 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
41114
bc96fbda
AS
411152010-09-09 Andreas Schwab <schwab@redhat.com>
41116
41117 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
41118 (sysd-rules-targets): Remove duplicates.
41119 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
41120 rtld-%.$o dependency.
41121
22cd1c9b
AS
411222010-10-18 Andreas Schwab <schwab@redhat.com>
41123
41124 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
41125 _dl_map_object do it.
41126
18edac48
UD
411272010-10-19 Ulrich Drepper <drepper@gmail.com>
41128
41129 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
41130 fast fma builtins, define the macros in the C99 standard.
41131 (FP_FAST_FMAF): Likewise.
41132 (FP_FAST_FMAL): Likewise.
41133 * sysdeps/x86_64/bits/mathdef.h: Likewise.
41134
41135 * bits/mathdef.h: Update copyright year.
41136 * sysdeps/powerpc/bits/mathdef.h: Likewise.
41137
d2050124
MM
411382010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
41139
41140 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
41141 builtins, define the macros in the C99 standard.
41142 (FP_FAST_FMAF): Likewise.
41143 (FP_FAST_FMAL): Likewise.
41144 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
41145 multiply/add.
41146 (FP_FAST_FMAF): Likewise.
41147
475facd1
JJ
411482010-10-15 Jakub Jelinek <jakub@redhat.com>
41149
41150 [BZ #3268]
41151 * math/libm-test.inc (fma_test): Some new testcases.
41152 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
41153 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
41154 y and infinite z. Do multiplication by C already in long double.
41155 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
41156 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
41157 y and infinite z. Do bitwise or of inexact bit into u.d.
41158 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
41159 * sysdeps/i386/fpu/s_fmaf.S: Removed.
41160 * sysdeps/i386/fpu/s_fma.S: Removed.
41161 * sysdeps/i386/fpu/s_fmal.S: Removed.
41162
7c08a05c
JJ
411632010-10-16 Jakub Jelinek <jakub@redhat.com>
41164
41165 [BZ #3268]
41166 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
41167 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
41168 computation is not scheduled after fetestexcept. Fix value
41169 of minimum denormal long double.
41170
f3f7372d
JJ
411712010-10-14 Jakub Jelinek <jakub@redhat.com>
41172
41173 [BZ #3268]
41174 * math/libm-test.inc (fma_test): Add some more tests.
41175 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
41176 correctly.
41177
14d43591
AS
411782010-10-15 Andreas Schwab <schwab@redhat.com>
41179
41180 * scripts/data/localplt-s390-linux-gnu.data: New file.
41181 * scripts/data/localplt-s390x-linux-gnu.data: New file.
41182
5e908464
JJ
411832010-10-13 Jakub Jelinek <jakub@redhat.com>
41184
41185 [BZ #3268]
41186 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
41187 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
41188 instead of dbl-64.
41189 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
41190 inlines.
41191 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
41192 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
41193 if one of x and y is very large and the other is subnormal.
41194 * sysdeps/s390/fpu/s_fmaf.c: New file.
41195 * sysdeps/s390/fpu/s_fma.c: New file.
41196 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
41197 * sysdeps/powerpc/fpu/s_fma.S: New file.
41198 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
41199 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
41200 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
41201
412022010-10-12 Jakub Jelinek <jakub@redhat.com>
41203
41204 [BZ #3268]
41205 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
41206 fma tests.
41207 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
41208 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
41209 * sysdeps/i386/i686/multiarch/s_fma.c: Include
41210 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
41211 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
41212 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
41213 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
41214
b833d51f
UD
412152010-10-12 Ulrich Drepper <drepper@redhat.com>
41216
41217 [BZ #12078]
41218 * posix/regcomp.c (parse_branch): One more memory leak plugged.
41219 * posix/bug-regex31.input: Add test case.
41220
1751705d
UD
412212010-10-11 Ulrich Drepper <drepper@gmail.com>
41222
e9b9cbf5
UD
41223 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
41224 * posix/bug-regex31.input: New file.
41225
41226 [BZ #12078]
41227 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
41228 (parse_sub_exp): Fix last change, use postorder.
41229
ef06edbe
UD
41230 * posix/bug-regex31.c: New file.
41231 * posix/Makefile: Add rules to build and run bug-regex31.
41232
a129c80d
UD
41233 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
41234
41235 [BZ #12078]
41236 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
41237
b76b818e
UD
41238 [BZ #12108]
41239 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
41240 to have entries in sys_siglist.
41241
1751705d
UD
41242 [BZ #12093]
41243 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
41244 be NULL.
41245
9ff8d36f
JJ
412462010-10-07 Jakub Jelinek <jakub@redhat.com>
41247
41248 [BZ #3268]
41249 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
41250 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
41251 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
41252 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
41253 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
41254 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
41255 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
41256 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
41257 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
41258 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
41259 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
41260 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
41261 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
41262 * math/ftestexcept.c (fetestexcept): Likewise.
41263 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
41264 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
41265 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
41266 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
41267 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
41268 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
41269 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
41270
af325969
UD
412712010-10-11 Ulrich Drepper <drepper@gmail.com>
41272
c579b202 41273 [BZ #12107]
af325969
UD
41274 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
41275 newline.
41276
67a67b95
UD
412772010-10-06 Ulrich Drepper <drepper@gmail.com>
41278
41279 * string/bug-strstr1.c: New file.
41280 * string/Makefile: Add rules to build and run bug-strstr1.
41281
5fb308bc
EB
412822010-10-05 Eric Blake <eblake@redhat.com>
41283
41284 [BZ #12092]
41285 * string/str-two-way.h (two_way_long_needle): Always clear memory
41286 when skipping input due to the shift table.
41287
45db99c7
UD
412882010-10-03 Ulrich Drepper <drepper@gmail.com>
41289
3b111893
UD
41290 [BZ #12005]
41291 * malloc/mcheck.c: Handle large requests.
41292
45db99c7
UD
41293 [BZ #12077]
41294 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
41295 for strncmp and strncasecmp.
41296 * string/stratcliff.c: Add tests for strcmp and strncmp.
41297 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
41298
cf7a1eb8
NI
412992010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
41300
41301 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
41302 __set_fpscr.
41303
6484ba5e
AJ
413042010-09-30 Andreas Jaeger <aj@suse.de>
41305
41306 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
41307 (CGROUP_SUPER_MAGIC): Define.
41308 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
41309 Handle btrfs and cgroup file systems.
41310 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
41311 Likewise.
41312
91c42559
LM
413132010-09-27 Luis Machado <luisgpm@br.ibm.com>
41314
41315 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
41316 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
41317
87a97932
AK
413182010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41319
41320 [BZ #12067]
41321 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
41322 trying to locate the ELF header.
41323
c21cc9bc
AS
413242010-09-27 Andreas Schwab <schwab@redhat.com>
41325
41326 [BZ #11611]
41327 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
41328 Mask out sign-bit copies when constructing f_fsid.
41329
315970f6
PB
413302010-09-24 Petr Baudis <pasky@suse.cz>
41331
41332 * debug/stack_chk_fail_local.c: Add missing licence exception.
41333 * debug/warning-nop.c: Likewise.
41334
1ac7a2c7
JM
413352010-09-15 Joseph Myers <joseph@codesourcery.com>
41336
41337 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
41338 implementing getdents64 using getdents syscall, set d_type if
41339 __ASSUME_GETDENTS32_D_TYPE.
41340
56801c50
AS
413412010-09-16 Andreas Schwab <schwab@redhat.com>
41342
41343 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
41344 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
41345
dda51327
UD
413462010-09-21 Ulrich Drepper <drepper@redhat.com>
41347
41348 [BZ #12037]
41349 * posix/unistd.h: Undo change of feature selection for ftruncate from
41350 2010-01-11.
41351
8ffcee4a
UD
413522010-09-20 Ulrich Drepper <drepper@redhat.com>
41353
a545ecd9 41354 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
41355 detection.
41356
e24f0a8b
AS
413572010-09-20 Andreas Schwab <schwab@redhat.com>
41358
41359 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
41360 fanotify_mark.
41361 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
41362
7291c56f
AS
413632010-09-14 Andreas Schwab <schwab@redhat.com>
41364
41365 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
41366 variables after CHECK_SP call.
41367 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
41368
bc5fb037
AS
413692010-09-13 Andreas Schwab <schwab@redhat.com>
41370 Ulrich Drepper <drepper@redhat.com>
41371
41372 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
41373 re-relocationg ld.so.
41374 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
41375 _dl_init_paths call.
41376 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
41377 here anymore.
41378
e66e7419
UD
413792010-09-14 Ulrich Drepper <drepper@redhat.com>
41380
41381 * resolv/res_init.c (__res_vinit): Count the default server we added.
41382
c044aa75
CLT
413832010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
41384 Ulrich Drepper <drepper@redhat.com>
41385
41386 [BZ #11968]
41387 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
41388 (____longjmp_chk): Use %ebx for saving value across system call.
41389 Add unwind info.
41390
32cf4069
AS
413912010-09-06 Andreas Schwab <schwab@redhat.com>
41392
41393 * manual/Makefile: Don't mix pattern rules with normal rules.
41394
817328ee
AS
413952010-09-05 Andreas Schwab <schwab@linux-m68k.org>
41396
41397 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
41398 operation.
41399 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
41400 * libio/iofopncook.c (_IO_cookie_init): Likewise.
41401 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
41402 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
41403 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
41404 Likewise.
41405
29fddf61
UD
414062010-09-04 Ulrich Drepper <drepper@redhat.com>
41407
41408 [BZ #11979]
41409 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
41410 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
41411
0959ffc9
UD
414122010-09-02 Ulrich Drepper <drepper@redhat.com>
41413
41414 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
41415 * sysdeps/x86_64/addmul_1.S: Likewise.
41416 * sysdeps/x86_64/lshift.S: Likewise.
41417 * sysdeps/x86_64/mul_1.S: Likewise.
41418 * sysdeps/x86_64/rshift.S: Likewise.
41419 * sysdeps/x86_64/sub_n.S: Likewise.
41420 * sysdeps/x86_64/submul_1.S: Likewise.
41421
ece29840
ST
414222010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
41423
0959ffc9
UD
41424 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
41425 Define __sched_param instead of SCHED_* and sched_param when
ece29840 41426 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 41427 * bits/sched.h [__need_schedparam]
ece29840 41428 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
41429 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
41430 (__defined_schedparam): Define to 1.
ece29840
ST
41431 (__sched_param): New structure, identical to sched_param.
41432 (__need_schedparam): Undefine.
41433
e53a31fe
MF
414342010-08-31 Mike Frysinger <vapier@gentoo.org>
41435
fdc0c10d
MF
41436 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
41437 (epoll_create1): Declare.
41438
e53a31fe
MF
41439 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
41440
a726d796
AS
414412010-08-31 Andreas Schwab <schwab@redhat.com>
41442
41443 [BZ #7066]
41444 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
41445 shifting retval into place.
41446
2f3e3dc7
UD
414472010-09-01 Ulrich Drepper <drepper@redhat.com>
41448
f2933da9
UD
41449 * nis/rpcsvc/nis.h: Update copyright notice.
41450 * nis/rpcsvc/nis.x: Likewise.
41451 * nis/rpcsvc/nis_callback.h: Likewise.
41452 * nis/rpcsvc/nis_callback.x: Likewise.
41453 * nis/rpcsvc/nis_object.x: Likewise.
41454 * nis/rpcsvc/nis_tags.h: Likewise.
41455 * nis/rpcsvc/yp.h: Likewise.
41456 * nis/rpcsvc/yp.x: Likewise.
41457 * nis/rpcsvc/ypupd.h: Likewise.
41458 * nis/yp_xdr.c: Likewise.
41459 * nis/ypupdate_xdr.c: Likewise.
41460
2f3e3dc7
UD
41461 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
41462 mainly the body of pmap_getport. Add parameters to specify timeouts.
41463 (pmap_getport): Use __libc_rpc_getport.
41464 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
41465 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
41466 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
41467
f3dcc2f9
AS
414682010-08-31 Andreas Schwab <schwab@linux-m68k.org>
41469
41470 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
41471 fanotify_mark.
41472
6d34eb5b
RM
414732010-08-27 Roland McGrath <roland@redhat.com>
41474
41475 * sysdeps/i386/i686/multiarch/Makefile
41476 (CFLAGS-varshift.c): New variable.
41477
9ea3de11
UD
414782010-08-27 Ulrich Drepper <drepper@redhat.com>
41479
c96d23fc
UD
41480 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
41481 * sysdeps/i386/i686/multiarch/varshift.c: New file.
41482
9ea3de11
UD
41483 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
41484
41485 * sysdeps/x86_64/strlen.S: Minimal code improvement.
41486
623aac7f
L
414872010-08-26 H.J. Lu <hongjiu.lu@intel.com>
41488
41489 * sysdeps/x86_64/strlen.S: Unroll the loop.
41490 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41491 strlen-sse2 strlen-sse2-bsf.
41492 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
41493 __strlen_no_bsf if bit_Slow_BSF is set.
41494 (__strlen_sse42): Removed.
41495 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
41496 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
41497
8b2b7715
RM
414982010-08-25 Roland McGrath <roland@redhat.com>
41499
41500 * sysdeps/x86_64/multiarch/varshift.S: File removed.
41501 * sysdeps/x86_64/multiarch/varshift.c: New file.
41502 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
41503 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
41504 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
41505 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
41506
e73015f2
L
415072010-08-25 H.J. Lu <hongjiu.lu@intel.com>
41508
41509 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41510 strlen-sse2 strlen-sse2-bsf.
41511 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
41512 __strlen_sse2_bsf if bit_Slow_BSF is unset.
41513 (__strlen_sse2): Removed.
41514 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
41515 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
41516 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
41517 bit_Slow_BSF for Atom.
41518 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
41519 (index_Slow_BSF): Define.
41520 (HAS_SLOW_BSF): Define.
41521
df24a73e
UD
415222010-08-25 Ulrich Drepper <drepper@redhat.com>
41523
41524 [BZ #10851]
41525 * resolv/res_init.c (__res_vinit): When no server address at all
41526 is given default to loopback.
41527
f2ac4868
RM
415282010-08-24 Roland McGrath <roland@redhat.com>
41529
09055553
RM
41530 * configure.in: Remove config-name.h generation.
41531 * configure: Regenerated.
41532 * config-name.in: File removed.
41533 * scripts/config-uname.sh: New file.
41534 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
41535 ($(objdir)config-name.h): New target.
41536
f2ac4868
RM
41537 * sunrpc/rpc_parse.h: Avoid nested comment.
41538
73f27d5e
RH
415392010-08-24 Richard Henderson <rth@redhat.com>
41540 Ulrich Drepper <drepper@redhat.com>
41541 H.J. Lu <hongjiu.lu@intel.com>
41542
41543 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
41544 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
41545 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
41546 Replace _mm_srli_si128 with __m128i_shift_right. Replace
41547 _mm_alignr_epi8 with _mm_loadu_si128.
41548 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
41549 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
41550 (__m128i_shift_right): Removed.
41551 * sysdeps/i386/i686/multiarch/varshift.h: New file.
41552 * sysdeps/i386/i686/multiarch/varshift.S: New file.
41553 * sysdeps/x86_64/multiarch/varshift.h: New file.
41554 * sysdeps/x86_64/multiarch/varshift.S: New file.
41555
84b9230c
MF
415562010-08-21 Mike Frysinger <vapier@gentoo.org>
41557
41558 * configure.in: Move assembler checks to before sysdep dir checking.
41559
9bbd0ddc
PB
415602010-08-20 Petr Baudis <pasky@suse.cz>
41561
41562 * LICENSES: Sync the sunrpc license.
41563
9da4bb31
UD
415642010-08-19 Ulrich Drepper <drepper@redhat.com>
41565
a7ab6ec8
UD
41566 * sunrpc/auth_des.c: Update copyright notice once again.
41567 * sunrpc/auth_none.c: Likewise.
41568 * sunrpc/auth_unix.c: Likewise.
41569 * sunrpc/authdes_prot.c: Likewise.
41570 * sunrpc/authuxprot.c: Likewise.
41571 * sunrpc/bindrsvprt.c: Likewise.
41572 * sunrpc/clnt_gen.c: Likewise.
41573 * sunrpc/clnt_perr.c: Likewise.
41574 * sunrpc/clnt_raw.c: Likewise.
41575 * sunrpc/clnt_simp.c: Likewise.
41576 * sunrpc/clnt_tcp.c: Likewise.
41577 * sunrpc/clnt_udp.c: Likewise.
41578 * sunrpc/clnt_unix.c: Likewise.
41579 * sunrpc/des_crypt.c: Likewise.
41580 * sunrpc/des_soft.c: Likewise.
41581 * sunrpc/get_myaddr.c: Likewise.
41582 * sunrpc/getrpcport.c: Likewise.
41583 * sunrpc/key_call.c: Likewise.
41584 * sunrpc/key_prot.c: Likewise.
41585 * sunrpc/openchild.c: Likewise.
41586 * sunrpc/pm_getmaps.c: Likewise.
41587 * sunrpc/pm_getport.c: Likewise.
41588 * sunrpc/pmap_clnt.c: Likewise.
41589 * sunrpc/pmap_prot.c: Likewise.
41590 * sunrpc/pmap_prot2.c: Likewise.
41591 * sunrpc/pmap_rmt.c: Likewise.
41592 * sunrpc/rpc/auth.h: Likewise.
41593 * sunrpc/rpc/auth_unix.h: Likewise.
41594 * sunrpc/rpc/clnt.h: Likewise.
41595 * sunrpc/rpc/des_crypt.h: Likewise.
41596 * sunrpc/rpc/key_prot.h: Likewise.
41597 * sunrpc/rpc/netdb.h: Likewise.
41598 * sunrpc/rpc/pmap_clnt.h: Likewise.
41599 * sunrpc/rpc/pmap_prot.h: Likewise.
41600 * sunrpc/rpc/pmap_rmt.h: Likewise.
41601 * sunrpc/rpc/rpc.h: Likewise.
41602 * sunrpc/rpc/rpc_des.h: Likewise.
41603 * sunrpc/rpc/rpc_msg.h: Likewise.
41604 * sunrpc/rpc/svc.h: Likewise.
41605 * sunrpc/rpc/svc_auth.h: Likewise.
41606 * sunrpc/rpc/types.h: Likewise.
41607 * sunrpc/rpc/xdr.h: Likewise.
41608 * sunrpc/rpc_clntout.c: Likewise.
41609 * sunrpc/rpc_cmsg.c: Likewise.
41610 * sunrpc/rpc_common.c: Likewise.
41611 * sunrpc/rpc_cout.c: Likewise.
41612 * sunrpc/rpc_dtable.c: Likewise.
41613 * sunrpc/rpc_hout.c: Likewise.
41614 * sunrpc/rpc_main.c: Likewise.
41615 * sunrpc/rpc_parse.c: Likewise.
41616 * sunrpc/rpc_parse.h: Likewise.
41617 * sunrpc/rpc_prot.c: Likewise.
41618 * sunrpc/rpc_sample.c: Likewise.
41619 * sunrpc/rpc_scan.c: Likewise.
41620 * sunrpc/rpc_scan.h: Likewise.
41621 * sunrpc/rpc_svcout.c: Likewise.
41622 * sunrpc/rpc_tblout.c: Likewise.
41623 * sunrpc/rpc_util.c: Likewise.
41624 * sunrpc/rpc_util.h: Likewise.
41625 * sunrpc/rpcinfo.c: Likewise.
41626 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
41627 * sunrpc/rpcsvc/key_prot.x: Likewise.
41628 * sunrpc/rpcsvc/klm_prot.x: Likewise.
41629 * sunrpc/rpcsvc/mount.x: Likewise.
41630 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
41631 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
41632 * sunrpc/rpcsvc/rex.x: Likewise.
41633 * sunrpc/rpcsvc/rstat.x: Likewise.
41634 * sunrpc/rpcsvc/rusers.x: Likewise.
41635 * sunrpc/rpcsvc/sm_inter.x: Likewise.
41636 * sunrpc/rpcsvc/spray.x: Likewise.
41637 * sunrpc/rpcsvc/yppasswd.x: Likewise.
41638 * sunrpc/rtime.c: Likewise.
41639 * sunrpc/svc.c: Likewise.
41640 * sunrpc/svc_auth.c: Likewise.
41641 * sunrpc/svc_authux.c: Likewise.
41642 * sunrpc/svc_raw.c: Likewise.
41643 * sunrpc/svc_run.c: Likewise.
41644 * sunrpc/svc_simple.c: Likewise.
41645 * sunrpc/svc_tcp.c: Likewise.
41646 * sunrpc/svc_udp.c: Likewise.
41647 * sunrpc/svc_unix.c: Likewise.
41648 * sunrpc/svcauth_des.c: Likewise.
41649 * sunrpc/xcrypt.c: Likewise.
41650 * sunrpc/xdr.c: Likewise.
41651 * sunrpc/xdr_array.c: Likewise.
41652 * sunrpc/xdr_float.c: Likewise.
41653 * sunrpc/xdr_mem.c: Likewise.
41654 * sunrpc/xdr_rec.c: Likewise.
41655 * sunrpc/xdr_ref.c: Likewise.
41656 * sunrpc/xdr_sizeof.c: Likewise.
41657 * sunrpc/xdr_stdio.c: Likewise.
41658
9da4bb31
UD
41659 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
41660 handling.
41661
bdaa77bc
AS
416622010-08-19 Andreas Schwab <schwab@redhat.com>
41663
41664 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
41665
fe2f79db
LM
416662010-08-19 Luis Machado <luisgpm@br.ibm.com>
41667
41668 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
41669 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
41670 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
41671 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
41672 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
41673 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
41674 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
41675 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
41676 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
41677 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
41678 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
41679 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
41680 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
41681 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
41682
b9b42ee0
AB
416832010-07-26 Anton Blanchard <anton@samba.org>
41684
41685 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
41686 * malloc/arena.c (heap_trim): Likewise.
41687
1c06ba31
UD
416882010-08-16 Ulrich Drepper <drepper@redhat.com>
41689
41690 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
41691 here. Not...
41692 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
41693 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
41694
f8392f40
L
416952010-08-12 H.J. Lu <hongjiu.lu@intel.com>
41696
41697 * sysdeps/i386/elf/Makefile: New file.
41698
3162f12e
AS
416992010-08-14 Andreas Schwab <schwab@linux-m68k.org>
41700
41701 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
41702 from fanotify_init.
41703 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
41704 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
41705
28c90b2c
UD
417062010-08-15 Ulrich Drepper <drepper@redhat.com>
41707
41708 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
41709 of strncasecmp_l.
1feccb6c 41710 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 41711
ca6bb004
UD
417122010-08-14 Ulrich Drepper <drepper@redhat.com>
41713
e9f82e0d
UD
41714 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
41715 strncase_l-nonascii.
41716 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
41717 Add strncase_l-ssse3.
41718 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
41719 * sysdeps/x86_64/strcmp.S: Likewise.
41720 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
41721 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
41722 * sysdeps/x86_64/strncase.S: New file.
41723 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
41724 * sysdeps/x86_64/strncase_l.S: New file.
41725 * string/Makefile (strop-tests): Add strncasecmp.
41726 * string/test-strncasecmp.c: New file.
41727
41728 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
41729 warning.
41730
ca6bb004
UD
41731 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
41732 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
41733
052fa7b3
AS
417342010-08-14 Andreas Schwab <schwab@linux-m68k.org>
41735
41736 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
41737
962dba78
UD
417382010-08-12 Ulrich Drepper <drepper@redhat.com>
41739
41740 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
41741 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
41742 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
41743
bebff237
AM
417442010-05-01 Alan Modra <amodra@gmail.com>
41745
41746 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
41747 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
41748 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
41749 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
41750 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
41751 tidying. Don't tail-call __sigjmp_save for static lib.
41752 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
41753 save location.
41754 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
41755 (CALL_MCOUNT): Add eh info, and nop after bl.
41756 (TAIL_CALL_SYSCALL_ERROR): New macro.
41757 (PSEUDO_RET): Use it.
41758 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
41759 Correct save location of integer regs and cr.
41760 (_dl_profile_resolve): Correct cr save location. Delete nops
41761 after bl when SHARED. Reduce cfi size a little by better
41762 placement of cfi directives.
41763 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
41764 make a stack frame. Instead use parm save area as a temp.
41765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
41766 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
41767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
41768 Don't make a stack frame for parent, use parm save area.
41769 Increase child stack frame to 112 bytes. Don't save unused reg,
41770 and adjust reg usage. Set up cfi on error recovery and
41771 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
41772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
41773 (__makecontext): Add dummy nop after jump to exit.
41774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
41775 Use correct parm save area and cr save, reduce stack frame.
41776 Correct cfi for possible PSEUDO_RET frame setup.
41777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
41778 Branch to local label emitted by PSEUDO_RET rather than
41779 __syscall_error.
41780
02637374
AS
417812010-08-12 Andreas Schwab <schwab@redhat.com>
41782
41783 [BZ #11904]
41784 * locale/programs/locale.c (print_assignment): New function.
41785 (show_locale_vars): Use it.
41786
c3e2f19b
UD
417872010-08-11 Ulrich Drepper <drepper@redhat.com>
41788
3cdaa6ad
UD
41789 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
41790 field.
41791 (struct statfs64): Likewise.
41792 (_STATFS_F_FLAGS): Define.
41793 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
41794 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
41795 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
41796 (ST_VALID): Define locally.
41797 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
41798 __statvfs_getflags, use the provided value.
41799 * sysdeps/unix/sysv/linux/kernel-features.h: Define
41800 __ASSUME_STATFS_F_FLAGS.
41801
754f7da3
UD
41802 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
41803
10b3bedc
UD
41804 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
41805 Add sys/fanotify.h.
41806 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
41807 fanotify_mask for GLIBC_2.13.
41808 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
41809 fanotify_init and fanotify_mark.
41810 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
41811 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
41812
c08fb0d7
UD
41813 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
41814 Add prlimit.
41815 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
41816 prlimit64 for GLIBC_2.13.
41817 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
41818 prlimit64.
41819 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
41820 syscall.
41821 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
41822 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
41823 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
41824 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
41825 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
41826 add prlimit alias.
41827 * sysdeps/unix/sysv/linux/prlimit.c: New file.
41828
15bac72b
UD
41829 [BZ #11903]
41830 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
41831 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
41832
c3e2f19b
UD
41833 * nss/Makefile: Add rules to build and run tst-nss-test1.
41834 * shlib-versions: Add entry for libnss_test1.
41835 * nss/nss_test1.c: New file.
41836 * nss/tst-nss-test1.c: New file.
41837
41838 * nss/nsswitch.c (__nss_database_custom): Define new variable.
41839 (__nss_configure_lookup): Set appropriate entry in
41840 __nss_configure_lookup to true.
41841 * nss/nsswitch.h: Define enum with indeces of databases in
41842 databases and __nss_database_custom arrays. Declare
41843 __nss_database_custom.
41844 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
41845 to avoid using nscd when custom rules are installed.
41846 * nss/getXXbyYY_r.c: Likewise.
41847 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
41848
41849 * nss/nss_files/files-parse.c: Whitespace fixes.
41850
f15ce4d8
UD
418512010-08-09 Ulrich Drepper <drepper@redhat.com>
41852
41853 [BZ #11883]
41854 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
41855 * posix/fnmatch_loop.c: Likewise.
41856
d22e4cc9
AK
418572010-07-17 Andi Kleen <ak@linux.intel.com>
41858
41859 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
41860 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
41861 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
41862 * Versions.def [GLIBC_2.13]: Add.
41863
805bc17d
UD
418642010-08-06 Ulrich Drepper <drepper@redhat.com>
41865
41866 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
41867 Also fail if tpwd after pwuid call is NULL.
41868
5a42321d
ST
418692010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
41870
41871 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
41872 when converting to ms.
41873
fd3ebeda
ST
418742010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
41875
41876 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
41877 EOPNOTSUPP errors with ENOTTY.
41878 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
41879 EOPNOTSUPP errors with ENOTTY.
41880
73507d3a
UD
418812010-07-31 Ulrich Drepper <drepper@redhat.com>
41882
41883 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
41884 Add strcasecmp_l-ssse3.
41885 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
41886 strcasecmp.
41887 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
41888 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
41889 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
41890
fe36dd02
UD
418912010-07-30 Ulrich Drepper <drepper@redhat.com>
41892
66f6765a
UD
41893 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
41894
42e08a54
UD
41895 * string/Makefile (strop-tests): Add strcasecmp.
41896 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
41897 strcasecmp_l-nonascii.
41898 (gen-as-const-headers): Add locale-defines.sym.
41899 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
41900 * sysdeps/x86_64/strcasecmp.S: New file.
41901 * sysdeps/x86_64/strcasecmp_l.S: New file.
41902 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
41903 * sysdeps/x86_64/locale-defines.sym: New file.
41904 * string/test-strcasecmp.c: New file.
41905
fe36dd02
UD
41906 * string/test-strcasestr.c: Test both ends of the range of characters.
41907 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
41908
48cbc0d6
RM
419092010-07-29 Roland McGrath <roland@redhat.com>
41910
76e6d6bc 41911 [BZ #11856]
48cbc0d6
RM
41912 * manual/locale.texi (Yes-or-No Questions): Fix example code.
41913
880113d9
UD
419142010-07-27 Ulrich Drepper <drepper@redhat.com>
41915
41916 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
41917 for ld.so.
41918
deb9cabb
AS
419192010-07-27 Andreas Schwab <schwab@redhat.com>
41920
41921 * manual/memory.texi (Malloc Tunable Parameters): Document
41922 M_PERTURB.
41923
1c7570ff
RM
419242010-07-26 Roland McGrath <roland@redhat.com>
41925
41926 [BZ #11840]
41927 * configure.in (-fgnu89-inline check): Set and substitute
41928 gnu89_inline, not libc_cv_gnu89_inline.
41929 * configure: Regenerated.
41930 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
41931
24fb0f88
UD
419322010-07-26 Ulrich Drepper <drepper@redhat.com>
41933
41934 * string/test-strnlen.c: New file.
41935 * string/Makefile (strop-tests): Add strnlen.
41936 * string/tester.c (test_strnlen): Add a few more test cases.
41937 * string/tst-strlen.c: Better error reporting.
41938
41939 * sysdeps/x86_64/strnlen.S: New file.
41940
8e96b93a
UD
419412010-07-24 Ulrich Drepper <drepper@redhat.com>
41942
41943 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
41944 lower-latency instructions.
41945
dbc676d4
UD
419462010-07-23 Ulrich Drepper <drepper@redhat.com>
41947
41948 * string/test-strcasestr.c: New file.
41949 * string/test-strstr.c: New file.
41950 * string/Makefile (strop-tests): Add strstr and strcasestr.
41951 * string/str-two-way.h: Don't undefine MAX.
41952 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
41953
f6a31e0e
AS
419542010-07-21 Andreas Schwab <schwab@redhat.com>
41955
41956 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41957 strcasestr-nonascii.
41958 (CFLAGS-strcasestr-nonascii.c): Define.
41959 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
41960 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
41961 Remove unused attribute.
41962
5dbc3b6c
RM
419632010-07-20 Roland McGrath <roland@redhat.com>
41964
41965 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
41966 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
41967 ld.so.cache was broken. With it, there is no way to disable dsocaps
41968 like LD_HWCAP_MASK can disable hwcaps.
41969
23d101d8
EPM
419702010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
41971
41972 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
41973
cc9f2e47
UD
419742010-07-16 Ulrich Drepper <drepper@redhat.com>
41975
41976 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
41977 call in strcasestr.
41978 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
41979 __strcasestr_sse42_nonascii.
41980 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
41981 strcasestr-nonascii.c.
41982 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
41983
77c1b069
LM
419842010-06-15 Luis Machado <luisgpm@br.ibm.com>
41985
41986 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
41987 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
41988 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
41989 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
41990
440566c3
UD
419912010-07-09 Ulrich Drepper <drepper@redhat.com>
41992
41993 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
41994 fcntl.
41995
5be9d05d
AS
419962010-07-06 Andreas Schwab <schwab@redhat.com>
41997
c30b7ee2 41998 [BZ #11577]
5be9d05d
AS
41999 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
42000 dl_signal_cerror.
42001
8a492a67
UD
420022010-07-06 Ulrich Drepper <drepper@redhat.com>
42003
42004 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
42005 _PC_PIPE_BUF using F_GETPIPE_SZ.
42006
713df3d5
RM
420072010-07-05 Roland McGrath <roland@redhat.com>
42008
42009 * manual/arith.texi (Rounding Functions): Fix rint description
42010 implicit in round description.
42011
702e8f14
UD
420122010-07-02 Ulrich Drepper <drepper@redhat.com>
42013
42014 * elf/Makefile: Fix linking for a few tests to make recent linker
42015 happy.
42016
52ed8be9
AS
420172010-06-30 Andreas Schwab <schwab@redhat.com>
42018
42019 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
42020 $(common-objpfx)libc_nonshared.a.
42021
f47c9a11
LM
420222010-06-21 Luis Machado <luisgpm@br.ibm.com>
42023
42024 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
42025 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
42026 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
42027 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
42028 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
42029 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
42030 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
42031 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
42032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
42033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
42034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
42035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
42036 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
42037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
42038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
42039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
42040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
42041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
42042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
42043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
42044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
42045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
42046 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
42047 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
42048 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
42049 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
42050 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
42051 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
42052 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
42053 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
42054 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
42055 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
42056 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
42057 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
42058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
42059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
42060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
42061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
42062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
42063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
42064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
42065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
42066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
42067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
42068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
42069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
42070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
42071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
42072
6fb8cbcb
L
420732010-06-25 H.J. Lu <hongjiu.lu@intel.com>
42074
42075 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
42076 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
42077 * string/memmove.c (memmove): Renamed to ...
42078 (MEMMOVE): ...this. Default to memmove.
42079 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
42080 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
42081 (END_CHK): Define.
42082 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42083 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
42084 mempcpy-ssse3-back memmove-ssse3-back.
42085 * sysdeps/x86_64/multiarch/bcopy.S: New file .
42086 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
42087 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
42088 * sysdeps/x86_64/multiarch/memcpy.S: New file.
42089 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
42090 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
42091 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
42092 * sysdeps/x86_64/multiarch/memmove.c: New file.
42093 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
42094 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
42095 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
42096 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
42097 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
42098 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
42099 Define.
42100 (index_Fast_Copy_Backward): Define.
42101 (HAS_ARCH_FEATURE): Define.
42102 (HAS_FAST_REP_STRING): Define.
42103 (HAS_FAST_COPY_BACKWARD): Define.
42104
4e733bac 421052010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
42106
42107 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
42108 Restore proper fallback handling.
42109
63c4ed22
UD
421102010-06-19 Ulrich Drepper <drepper@redhat.com>
42111
ac2b484c
UD
42112 [BZ #11701]
42113 * posix/group_member.c (__group_member): Correct checking loop.
42114
63c4ed22
UD
42115 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
42116 OOM in getpwuid_r correctly. Return error number when the caller
42117 should return, otherwise -1.
42118 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
42119 call returning > 0 value.
42120 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
42121
765ade4b
AS
421222010-06-07 Andreas Schwab <schwab@redhat.com>
42123
42124 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
42125 libc_nonshared.a from targets in modules-names.
42126
80da2e09
KS
421272010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
42128
42129 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
42130 requires it.
42131
158db122
LM
421322010-06-10 Luis Machado <luisgpm@br.ibm.com>
42133
42134 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
42135 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
42136 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
42137 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
42138
caa78cf8
AS
421392010-06-02 Andreas Schwab <schwab@redhat.com>
42140
42141 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
42142
b2ef2c01
UD
421432010-06-14 Ulrich Drepper <drepper@redhat.com>
42144
42145 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
42146 and F_GETPIPE_SZ.
42147 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
42148 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
42149 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
42150 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42151 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
42152 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
42153
fbd643b6
RM
421542010-06-14 Roland McGrath <roland@redhat.com>
42155
42156 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
42157
f32f2869
JJ
421582010-06-07 Jakub Jelinek <jakub@redhat.com>
42159
42160 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
42161 __REDIRECT followed by __THROW.
42162 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
42163 * posix/getopt.h (getopt): Likewise.
42164
2a50c078
EPM
421652010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
42166
42167 * hurd/lookup-at.c (__file_name_lookup_at): Accept
42168 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
42169 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
42170 in AT_FLAGS.
42171 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
42172 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
42173
eb5ad2eb
LM
421742010-05-28 Luis Machado <luisgpm@br.ibm.com>
42175
42176 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
42177
3c88fe1e
L
421782010-05-26 H.J. Lu <hongjiu.lu@intel.com>
42179
42180 [BZ #11640]
42181 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42182 Properly check family and model.
42183
d2f73151
TY
421842010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
42185
42186 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
42187
ebd2e13d
LM
421882010-05-24 Luis Machado <luisgpm@br.ibm.com>
42189
42190 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
42191
b32b8b45
UD
421922010-05-21 Ulrich Drepper <drepper@redhat.com>
42193
42194 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
42195 symbol reference.
42196
9acbe24d
AS
421972010-05-19 Andreas Schwab <schwab@redhat.com>
42198
42199 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
42200 symbol reference.
42201
f0ccf6ea
AS
422022010-05-21 Andreas Schwab <schwab@redhat.com>
42203
3d04ff3a
AS
42204 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
42205 and internal_recvmmsg.
42206 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
42207 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
42208 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
42209 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
42210
f0ccf6ea
AS
42211 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
42212 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
42213 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
42214
5b08ac57
AS
422152010-05-20 Andreas Schwab <schwab@redhat.com>
42216
42217 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
42218
4828935d
LM
422192010-05-17 Luis Machado <luisgpm@br.ibm.com>
42220
42221 POWER7 optimizations.
42222 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
42223 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
42224
373d545e
UD
422252010-05-19 Ulrich Drepper <drepper@redhat.com>
42226
42227 * version.h: Update for 2.13 development version.
42228
21a2b1ae
AS
422292010-05-12 Andrew Stubbs <ams@codesourcery.com>
42230
42231 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
42232 exceptions. Return 0.
42233
3f7dcb2b
RM
422342010-05-07 Roland McGrath <roland@redhat.com>
42235
42236 * elf/ldconfig.c (main): Add a const.
42237
5f24d53a 422382010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 42239
a160f8d8
UD
42240 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
42241 (args_options): Add no-idn option.
42242 (ahosts_keys_int): Add idn_flags to ai_flags.
42243 (parse_option): Handle 'i' option to clear idn_flags.
42244
5f24d53a
UD
42245 * malloc/malloc.c (_int_free): Possible race in the most recently
42246 added check. Only act on the data if no current modification
42247 happened.
265bb1ce
UD
42248
42249See ChangeLog.17 for earlier changes.