]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Get rid of Versions.def source file
[thirdparty/glibc.git] / ChangeLog
CommitLineData
498a2233
RM
12014-03-14 Roland McGrath <roland@hack.frob.com>
2
22dbc19d
RM
3 * scripts/versionlist.awk: New file.
4 * Makerules [$(build-shared) = yes]
5 (postclean-generated): Add Versions.def, not Versions.def.v and
6 Versions.def.v.i.
7 ($(common-objpfx)Versions.def.v.i): Target removed.
8 ($(common-objpfx)Versions.def): New target.
9 ($(common-objpfx)Versions.all): Depend on that rather that
10 $(common-objpfx)Versions.def.v.
11 * Versions.def: File removed.
12
498a2233
RM
13 * Makeconfig (+gccwarn): Add -Wundef.
14 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
15 a dl-sysdep.h breaking its contract.
16 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
17 * include/stackinfo.h: New file.
18 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
19 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
20 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
21 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
22 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
23 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
24 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
25 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
26 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
27 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
28 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
29 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
30 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
31 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
32 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
33
c7de5025
AZ
342014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35
36 [BZ #16707]
37 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
38 implementation.
39 * math/libm-test.inc (round_test_data): Add more tests.
40
98fb27a3
AZ
412014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42
43 [BZ #16706]
44 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
45 implementation.
46 * math/libm-test.inc (nearbyint_test_data): Add more tests.
47
374f7f61
AZ
482014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49
50 [BZ #16701]
51 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
52 implementation.
53 * math/libm-test.inc (ceil_test_data): Add more tests.
54
4655c291
AZ
552014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56
57 * math/libm-test.inc (trunc_test_data): Add more tests related to
58 BZ#16414.
59
d7329d4b
RM
602014-03-14 Roland McGrath <roland@hack.frob.com>
61
62 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
63 with #if rather than #ifdef.
64 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
65
aa4de9ce
L
662014-03-14 H.J. Lu <hongjiu.lu@intel.com>
67
68 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
69 first. Disable AVX-512 GCC support if assembler doesn't support
70 it.
71 * sysdeps/x86_64/configure: Regenerated.
72
2e03fae7
CD
732014-03-13 Carlos O'Donell <carlos@redhat.com>
74
75 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
76 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
77 (__old_pthread_attr_setstack): Likewise.
78 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
79 [!_STACK_GROWS_DOWN]: Likewise.
80
43ca83ec
MF
812014-03-13 Mike Frysinger <vapier@gentoo.org>
82
83 * config.make.in (have-bash2): Delete.
84 * configure.ac (libc_cv_have_bash2): Delete.
85 * configure: Regenerate.
86 * elf/Makefile (common-ldd-rewrite): Rename to ...
87 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
88 (sh-ldd-rewrite): Delete.
89 (bash-ldd-rewrite): Delete.
90 (have-bash2): Delete checks.
91 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to ldd-rewrite.
92
c66e48b4
MF
932014-03-13 Mike Frysinger <vapier@gentoo.org>
94
95 * config.make.in (have-ksh): Delete.
96 (KSH): Delete.
97 * configure.ac (libc_cv_have_ksh): Delete.
98 * configure: Regenerate.
99
b93834ef
MF
1002014-03-13 Mike Frysinger <vapier@gentoo.org>
101
102 * elf/Makefile: Delete $(have-ksh) check.
103 ($(objpfx)sotruss): Change KSH to BASH.
104 * elf/sotruss.ksh: Rename to ...
105 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
106 function style to match POSIX. Drop ksh vim mode setting.
107
f3a4632a
MF
1082014-03-13 Mike Frysinger <vapier@gentoo.org>
109
110 * manual/time.texi (Specifying the Time Zone with TZ): Change
111 Tuesday to Thursday.
112
5896c8bd
MF
1132014-03-13 Mike Frysinger <vapier@gentoo.org>
114
115 * debug/tst-longjmp_chk2.c: Update header comment.
116 (stackoverflow_handler): Add comment. Call assert on pass value.
117
2d63a517
IZ
1182014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
119
120 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
121 (HAVE_AVX512_ASM_SUPPORT): Likewise.
122 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
123 (La_x86_64_vector): Add zmm.
124 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
125 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
126 ($(objpfx)tst-audit10): New target.
127 ($(objpfx)tst-audit10.out): Likewise.
128 (tst-audit10-ENV): New.
129 (AVX512-CFLAGS): Likewise.
130 (CFLAGS-tst-audit10.c): Likewise.
131 (CFLAGS-tst-auditmod10a.c): Likewise.
132 (CFLAGS-tst-auditmod10b.c): Likewise.
133 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
134 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
135 * sysdeps/x86_64/configure: Regenerated.
136 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
137 AVX-512 zmm register support.
138 (_dl_x86_64_save_sse): Likewise.
139 (_dl_x86_64_restore_sse): Likewise.
140 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
141 size vector registers.
142 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
143 (ZMM_SIZE): Likewise.
144 * sysdeps/x86_64/tst-audit10.c: New file.
145 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
146 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
147
44c4e5d5
RM
1482014-03-13 Roland McGrath <roland@hack.frob.com>
149
150 * configure.ac (HAVE_EHDR_START): New check.
151 * configure: Regenerated.
152 * config.h.in (HAVE_EHDR_START): New #undef.
153 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
154 assuming the lowest-addressed segment maps the start of the file.
155
acd6e389
JM
1562014-03-13 Joseph Myers <joseph@codesourcery.com>
157
158 * INSTALL: Regenerated.
159
6f918f36
WN
1602014-03-13 Will Newton <will.newton@linaro.org>
161
162 * manual/setjmp.texi (System V contexts): Improve
163 clarity and grammar of documentation.
164
798212a0
PP
1652014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
166
167 [BZ #16381]
798212a0 168 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 169 (tests-pie): Add tst-pie2.
798212a0
PP
170 * elf/tst-pie2.c: New file.
171 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
172 for ET_EXEC.
173 * elf/rtld.c (map_doit): Load executable as lt_executable.
174 (dl_main): Likewise.
175
abe6d90c
JM
1762014-03-12 Joseph Myers <joseph@codesourcery.com>
177
178 [BZ #16642]
179 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
180 (__ASSUME_PSELECT): Undefine.
181
dd3946c6
AZ
1822014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
183
184 [BZ #16689]
185 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
186 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
187 static build.
188 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
189 selector for static builds.
190
c44496df
SP
1912014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
192
193 [BZ #16695]
194 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
195 key in the buffer.
196
27c7220a
AZ
1972014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
198
199 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build IFUNC
200 selector for static builds.
201
600fa361
JM
2022014-03-11 Joseph Myers <joseph@codesourcery.com>
203
76c96cf7
JM
204 * sysdeps/mips/math_private.h [__mips_hard_float]
205 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
206 libc_feresetround_mips_ctx.
207 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
208 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
209 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
210
600fa361
JM
211 [BZ #16677]
212 * math/s_nextafter.c (__nextafter): Do not return value from
213 overflowing computation.
214 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
215 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
216 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
217 Likewise.
218 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
219 Likewise.
220 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
221 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
222
d7706c32
RM
2232014-03-11 Roland McGrath <roland@hack.frob.com>
224
225 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
226 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
227 Move sfi_sp use from the load-multiple (that no longer sets sp) to
228 the new mov targetting sp.
229
4facea47
AZ
2302014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
231
232 [BZ #16683]
233 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
234 Define it for static builds as well.
235 (NO_BZERO_IMPL): Likewise.
236
e65caf1f
VR
2372014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
238
239 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
240 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
241 multiarch strspn for PPC64.
242 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
243 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
244 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
245 (__libc_ifunc_impl_list): Likewise.
246 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
247 multiarch optimizations
248 * string/strspn.c (strspn): Using macro to redefine symbol name.
249
ba9cc071
AZ
2502014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
251 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
252
253 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
254 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
255 multiarch strncat for PPC64.
256 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
257 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
258 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
259 (__libc_ifunc_impl_list): Likewise.
260 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
261 multiarch optimizations
262
8b4ff974
SP
2632014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
264
265 [BZ #16639]
266 * nscd/nscd.service: Make service type forking.
267
54b46a4b
AZ
2682014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
269
270 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
271 sign in non default rounding modes.
272 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
273
e9996ef7
JM
2742014-03-08 Joseph Myers <joseph@codesourcery.com>
275
276 * math/libm-test.inc (ALL_RM_TEST): New macro.
277 (ceil_test): Use ALL_RM_TEST.
278 (cimag_test): Likewise.
279 (conj_test): Likewise.
280 (copysign_test): Likewise.
281 (cproj_test): Likewise.
282 (creal_test): Likewise.
283 (fabs_test): Likewise.
284 (floor_test): Likewise.
285 (fmax_test): Likewise.
286 (fmin_test): Likewise.
287 (fmod_test): Likewise.
288 (fpclassify_test): Likewise.
289 (frexp_test): Likewise.
290 (ilogb_test): Likewise.
291 (isfinite_test): Likewise.
292 (finite_test): Likewise.
293 (isgreater_test): Likewise.
294 (isgreaterequal_test): Likewise.
295 (isinf_test): Likewise.
296 (isless_test): Likewise.
297 (islessequal_test): Likewise.
298 (islessgreater_test): Likewise.
299 (isnan_test): Likewise.
300 (isnormal_test): Likewise.
301 (issignaling_test): Likewise.
302 (isunordered_test): Likewise.
303 (logb_test): Likewise.
304 (logb_downward_test_data): Remove.
305 (logb_test_downward): Likewise.
306 (lround_test): Use ALL_RM_TEST.
307 (llround_test): Likewise.
308 (modf_test): Likewise.
309 (nexttoward_test): Likewise.
310 (remainder_test): Likewise.
311 (drem_test): Likewise.
312 (remainder_tonearest_test_data): Likewise.
313 (remainder_test_tonearest): Likewise.
314 (drem_test_tonearest): Likewise.
315 (remainder_towardzero_test_data): Likewise.
316 (remainder_test_towardzero): Likewise.
317 (drem_test_towardzero): Likewise.
318 (remainder_downward_test_data): Likewise.
319 (remainder_test_downward): Likewise.
320 (drem_test_downward): Likewise.
321 (remainder_upward_test_data): Likewise.
322 (remainder_test_upward): Likewise.
323 (drem_test_upward): Likewise.
324 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
325 (round_test): Use ALL_RM_TEST.
326 (signbit_test): Likewise.
327 (trunc_test): Likewise.
328 (significand_test): Likewise.
329 (main): Don't call removed functions.
330
bc61d27c
JM
3312014-03-07 Joseph Myers <joseph@codesourcery.com>
332
5c780849
JM
333 [BZ #16674]
334 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
335 || __USE_XOPEN2K8].
336 (ILL_ILLOPN): Likewise.
337 (ILL_ILLADR): Likewise.
338 (ILL_ILLTRP): Likewise.
339 (ILL_PRVOPC): Likewise.
340 (ILL_PRVREG): Likewise.
341 (ILL_COPROC): Likewise.
342 (ILL_BADSTK): Likewise.
343 (FPE_INTDIV): Likewise.
344 (FPE_INTOVF): Likewise.
345 (FPE_FLTDIV): Likewise.
346 (FPE_FLTOVF): Likewise.
347 (FPE_FLTUND): Likewise.
348 (FPE_FLTRES): Likewise.
349 (FPE_FLTINV): Likewise.
350 (FPE_FLTSUB): Likewise.
351 (SEGV_MAPERR): Likewise.
352 (SEGV_ACCERR): Likewise.
353 (BUS_ADRALN): Likewise.
354 (BUS_ADRERR): Likewise.
355 (BUS_OBJERR): Likewise.
356 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
357 (TRAP_TRACE): Likewise.
358 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
359 __USE_XOPEN2K8].
360 (CLD_KILLED): Likewise.
361 (CLD_DUMPED): Likewise.
362 (CLD_TRAPPED): Likewise.
363 (CLD_STOPPED): Likewise.
364 (CLD_CONTINUED): Likewise.
365 (POLL_IN): Likewise.
366 (POLL_OUT): Likewise.
367 (POLL_MSG): Likewise.
368 (POLL_ERR): Likewise.
369 (POLL_PRI): Likewise.
370 (POLL_HUP): Likewise.
371 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
372 Likewise.
373 (ILL_ILLOPN): Likewise.
374 (ILL_ILLADR): Likewise.
375 (ILL_ILLTRP): Likewise.
376 (ILL_PRVOPC): Likewise.
377 (ILL_PRVREG): Likewise.
378 (ILL_COPROC): Likewise.
379 (ILL_BADSTK): Likewise.
380 (FPE_INTDIV): Likewise.
381 (FPE_INTOVF): Likewise.
382 (FPE_FLTDIV): Likewise.
383 (FPE_FLTOVF): Likewise.
384 (FPE_FLTUND): Likewise.
385 (FPE_FLTRES): Likewise.
386 (FPE_FLTINV): Likewise.
387 (FPE_FLTSUB): Likewise.
388 (SEGV_MAPERR): Likewise.
389 (SEGV_ACCERR): Likewise.
390 (BUS_ADRALN): Likewise.
391 (BUS_ADRERR): Likewise.
392 (BUS_OBJERR): Likewise.
393 (BUS_MCEERR_AR): Likewise.
394 (BUS_MCEERR_AO): Likewise.
395 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
396 (TRAP_TRACE): Likewise.
397 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
398 __USE_XOPEN2K8].
399 (CLD_KILLED): Likewise.
400 (CLD_DUMPED): Likewise.
401 (CLD_TRAPPED): Likewise.
402 (CLD_STOPPED): Likewise.
403 (CLD_CONTINUED): Likewise.
404 (POLL_IN): Likewise.
405 (POLL_OUT): Likewise.
406 (POLL_MSG): Likewise.
407 (POLL_ERR): Likewise.
408 (POLL_PRI): Likewise.
409 (POLL_HUP): Likewise.
410 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
411 (ILL_ILLOPN): Likewise.
412 (ILL_ILLADR): Likewise.
413 (ILL_ILLTRP): Likewise.
414 (ILL_PRVOPC): Likewise.
415 (ILL_PRVREG): Likewise.
416 (ILL_COPROC): Likewise.
417 (ILL_BADSTK): Likewise.
418 (FPE_INTDIV): Likewise.
419 (FPE_INTOVF): Likewise.
420 (FPE_FLTDIV): Likewise.
421 (FPE_FLTOVF): Likewise.
422 (FPE_FLTUND): Likewise.
423 (FPE_FLTRES): Likewise.
424 (FPE_FLTINV): Likewise.
425 (FPE_FLTSUB): Likewise.
426 (SEGV_MAPERR): Likewise.
427 (SEGV_ACCERR): Likewise.
428 (BUS_ADRALN): Likewise.
429 (BUS_ADRERR): Likewise.
430 (BUS_OBJERR): Likewise.
431 (BUS_MCEERR_AR): Likewise.
432 (BUS_MCEERR_AO): Likewise.
433 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
434 (TRAP_TRACE): Likewise.
435 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
436 __USE_XOPEN2K8].
437 (CLD_KILLED): Likewise.
438 (CLD_DUMPED): Likewise.
439 (CLD_TRAPPED): Likewise.
440 (CLD_STOPPED): Likewise.
441 (CLD_CONTINUED): Likewise.
442 (POLL_IN): Likewise.
443 (POLL_OUT): Likewise.
444 (POLL_MSG): Likewise.
445 (POLL_ERR): Likewise.
446 (POLL_PRI): Likewise.
447 (POLL_HUP): Likewise.
448 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
449 Likewise.
450 (ILL_ILLOPN): Likewise.
451 (ILL_ILLADR): Likewise.
452 (ILL_ILLTRP): Likewise.
453 (ILL_PRVOPC): Likewise.
454 (ILL_PRVREG): Likewise.
455 (ILL_COPROC): Likewise.
456 (ILL_BADSTK): Likewise.
457 (ILL_BADIADDR): Likewise.
458 (ILL_BREAK): Likewise.
459 (FPE_INTDIV): Likewise.
460 (FPE_INTOVF): Likewise.
461 (FPE_FLTDIV): Likewise.
462 (FPE_FLTOVF): Likewise.
463 (FPE_FLTUND): Likewise.
464 (FPE_FLTRES): Likewise.
465 (FPE_FLTINV): Likewise.
466 (FPE_FLTSUB): Likewise.
467 (FPE_DECOVF): Likewise.
468 (FPE_DECDIV): Likewise.
469 (FPE_DECERR): Likewise.
470 (FPE_INVASC): Likewise.
471 (FPE_INVDEC): Likewise.
472 (SEGV_MAPERR): Likewise.
473 (SEGV_ACCERR): Likewise.
474 (SEGV_PSTKOVF): Likewise.
475 (BUS_ADRALN): Likewise.
476 (BUS_ADRERR): Likewise.
477 (BUS_OBJERR): Likewise.
478 (BUS_MCEERR_AR): Likewise.
479 (BUS_MCEERR_AO): Likewise.
480 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
481 (TRAP_TRACE): Likewise.
482 (TRAP_BRANCH): Likewise.
483 (TRAP_HWBKPT): Likewise.
484 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
485 __USE_XOPEN2K8].
486 (CLD_KILLED): Likewise.
487 (CLD_DUMPED): Likewise.
488 (CLD_TRAPPED): Likewise.
489 (CLD_STOPPED): Likewise.
490 (CLD_CONTINUED): Likewise.
491 (POLL_IN): Likewise.
492 (POLL_OUT): Likewise.
493 (POLL_MSG): Likewise.
494 (POLL_ERR): Likewise.
495 (POLL_PRI): Likewise.
496 (POLL_HUP): Likewise.
497 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
498 (ILL_ILLOPN): Likewise.
499 (ILL_ILLADR): Likewise.
500 (ILL_ILLTRP): Likewise.
501 (ILL_PRVOPC): Likewise.
502 (ILL_PRVREG): Likewise.
503 (ILL_COPROC): Likewise.
504 (ILL_BADSTK): Likewise.
505 (FPE_INTDIV): Likewise.
506 (FPE_INTOVF): Likewise.
507 (FPE_FLTDIV): Likewise.
508 (FPE_FLTOVF): Likewise.
509 (FPE_FLTUND): Likewise.
510 (FPE_FLTRES): Likewise.
511 (FPE_FLTINV): Likewise.
512 (FPE_FLTSUB): Likewise.
513 (SEGV_MAPERR): Likewise.
514 (SEGV_ACCERR): Likewise.
515 (BUS_ADRALN): Likewise.
516 (BUS_ADRERR): Likewise.
517 (BUS_OBJERR): Likewise.
518 (BUS_MCEERR_AR): Likewise.
519 (BUS_MCEERR_AO): Likewise.
520 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
521 (TRAP_TRACE): Likewise.
522 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
523 __USE_XOPEN2K8].
524 (CLD_KILLED): Likewise.
525 (CLD_DUMPED): Likewise.
526 (CLD_TRAPPED): Likewise.
527 (CLD_STOPPED): Likewise.
528 (CLD_CONTINUED): Likewise.
529 (POLL_IN): Likewise.
530 (POLL_OUT): Likewise.
531 (POLL_MSG): Likewise.
532 (POLL_ERR): Likewise.
533 (POLL_PRI): Likewise.
534 (POLL_HUP): Likewise.
535 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
536 (ILL_ILLOPN): Likewise.
537 (ILL_ILLADR): Likewise.
538 (ILL_ILLTRP): Likewise.
539 (ILL_PRVOPC): Likewise.
540 (ILL_PRVREG): Likewise.
541 (ILL_COPROC): Likewise.
542 (ILL_BADSTK): Likewise.
543 (FPE_INTDIV): Likewise.
544 (FPE_INTOVF): Likewise.
545 (FPE_FLTDIV): Likewise.
546 (FPE_FLTOVF): Likewise.
547 (FPE_FLTUND): Likewise.
548 (FPE_FLTRES): Likewise.
549 (FPE_FLTINV): Likewise.
550 (FPE_FLTSUB): Likewise.
551 (SEGV_MAPERR): Likewise.
552 (SEGV_ACCERR): Likewise.
553 (BUS_ADRALN): Likewise.
554 (BUS_ADRERR): Likewise.
555 (BUS_OBJERR): Likewise.
556 (BUS_MCEERR_AR): Likewise.
557 (BUS_MCEERR_AO): Likewise.
558 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
559 (TRAP_TRACE): Likewise.
560 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
561 __USE_XOPEN2K8].
562 (CLD_KILLED): Likewise.
563 (CLD_DUMPED): Likewise.
564 (CLD_TRAPPED): Likewise.
565 (CLD_STOPPED): Likewise.
566 (CLD_CONTINUED): Likewise.
567 (POLL_IN): Likewise.
568 (POLL_OUT): Likewise.
569 (POLL_MSG): Likewise.
570 (POLL_ERR): Likewise.
571 (POLL_PRI): Likewise.
572 (POLL_HUP): Likewise.
573 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
574 (ILL_ILLOPN): Likewise.
575 (ILL_ILLADR): Likewise.
576 (ILL_ILLTRP): Likewise.
577 (ILL_PRVOPC): Likewise.
578 (ILL_PRVREG): Likewise.
579 (ILL_COPROC): Likewise.
580 (ILL_BADSTK): Likewise.
581 (FPE_INTDIV): Likewise.
582 (FPE_INTOVF): Likewise.
583 (FPE_FLTDIV): Likewise.
584 (FPE_FLTOVF): Likewise.
585 (FPE_FLTUND): Likewise.
586 (FPE_FLTRES): Likewise.
587 (FPE_FLTINV): Likewise.
588 (FPE_FLTSUB): Likewise.
589 (SEGV_MAPERR): Likewise.
590 (SEGV_ACCERR): Likewise.
591 (BUS_ADRALN): Likewise.
592 (BUS_ADRERR): Likewise.
593 (BUS_OBJERR): Likewise.
594 (BUS_MCEERR_AR): Likewise.
595 (BUS_MCEERR_AO): Likewise.
596 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
597 (TRAP_TRACE): Likewise.
598 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
599 __USE_XOPEN2K8].
600 (CLD_KILLED): Likewise.
601 (CLD_DUMPED): Likewise.
602 (CLD_TRAPPED): Likewise.
603 (CLD_STOPPED): Likewise.
604 (CLD_CONTINUED): Likewise.
605 (POLL_IN): Likewise.
606 (POLL_OUT): Likewise.
607 (POLL_MSG): Likewise.
608 (POLL_ERR): Likewise.
609 (POLL_PRI): Likewise.
610 (POLL_HUP): Likewise.
611 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
612 (ILL_ILLOPN): Likewise.
613 (ILL_ILLADR): Likewise.
614 (ILL_ILLTRP): Likewise.
615 (ILL_PRVOPC): Likewise.
616 (ILL_PRVREG): Likewise.
617 (ILL_COPROC): Likewise.
618 (ILL_BADSTK): Likewise.
619 (ILL_DBLFLT): Likewise.
620 (ILL_HARDWALL): Likewise.
621 (FPE_INTDIV): Likewise.
622 (FPE_INTOVF): Likewise.
623 (FPE_FLTDIV): Likewise.
624 (FPE_FLTOVF): Likewise.
625 (FPE_FLTUND): Likewise.
626 (FPE_FLTRES): Likewise.
627 (FPE_FLTINV): Likewise.
628 (FPE_FLTSUB): Likewise.
629 (SEGV_MAPERR): Likewise.
630 (SEGV_ACCERR): Likewise.
631 (BUS_ADRALN): Likewise.
632 (BUS_ADRERR): Likewise.
633 (BUS_OBJERR): Likewise.
634 (BUS_MCEERR_AR): Likewise.
635 (BUS_MCEERR_AO): Likewise.
636 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
637 (TRAP_TRACE): Likewise.
638 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
639 __USE_XOPEN2K8].
640 (CLD_KILLED): Likewise.
641 (CLD_DUMPED): Likewise.
642 (CLD_TRAPPED): Likewise.
643 (CLD_STOPPED): Likewise.
644 (CLD_CONTINUED): Likewise.
645 (POLL_IN): Likewise.
646 (POLL_OUT): Likewise.
647 (POLL_MSG): Likewise.
648 (POLL_ERR): Likewise.
649 (POLL_PRI): Likewise.
650 (POLL_HUP): Likewise.
651 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
652 (ILL_ILLOPN): Likewise.
653 (ILL_ILLADR): Likewise.
654 (ILL_ILLTRP): Likewise.
655 (ILL_PRVOPC): Likewise.
656 (ILL_PRVREG): Likewise.
657 (ILL_COPROC): Likewise.
658 (ILL_BADSTK): Likewise.
659 (FPE_INTDIV): Likewise.
660 (FPE_INTOVF): Likewise.
661 (FPE_FLTDIV): Likewise.
662 (FPE_FLTOVF): Likewise.
663 (FPE_FLTUND): Likewise.
664 (FPE_FLTRES): Likewise.
665 (FPE_FLTINV): Likewise.
666 (FPE_FLTSUB): Likewise.
667 (SEGV_MAPERR): Likewise.
668 (SEGV_ACCERR): Likewise.
669 (BUS_ADRALN): Likewise.
670 (BUS_ADRERR): Likewise.
671 (BUS_OBJERR): Likewise.
672 (BUS_MCEERR_AR): Likewise.
673 (BUS_MCEERR_AO): Likewise.
674 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
675 (TRAP_TRACE): Likewise.
676 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
677 __USE_XOPEN2K8].
678 (CLD_KILLED): Likewise.
679 (CLD_DUMPED): Likewise.
680 (CLD_TRAPPED): Likewise.
681 (CLD_STOPPED): Likewise.
682 (CLD_CONTINUED): Likewise.
683 (POLL_IN): Likewise.
684 (POLL_OUT): Likewise.
685 (POLL_MSG): Likewise.
686 (POLL_ERR): Likewise.
687 (POLL_PRI): Likewise.
688 (POLL_HUP): Likewise.
689 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
690 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
691
bc61d27c
JM
692 [BZ #16670]
693 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
694 before #include of <time.h>.
695 [!__USE_XOPEN2K] (__need_timespec): Likewise.
696 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
697 (test-xfail-UNIX98/sched.h/conform): Likewise.
698
302949e2
MS
6992014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
700
701 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
702 error absence of trapping exception support.
703 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
704
a00f522a
JM
7052014-03-07 Joseph Myers <joseph@codesourcery.com>
706
6f99f280
JM
707 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
708 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
709 * timezone/Makefile (testdata): Move definition above include of
710 Rules.
711 (test-zones): New variable.
712 (tests-special): Add zone files.
713 (build-testdata): Use $(evaluate-test).
714
0b20a9e8
JM
715 * elf/Makefile (tests-special): Rename tests to end with .out.
716 ($(objpfx)noload-mem): Likewise.
717 ($(objpfx)tst-leaks1-mem): Likewise.
718 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
719 * iconv/Makefile (xtests-special): Change test-iconvconfig to
720 $(objpfx)test-iconvconfig.out.
721 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
722 set -e inside subshell and redirect output to file.
723 * iconvdata/Makefile (generated): Rename tests to end with .out.
724 Correct type.
725 (tests-special): Rename tests to end with .out.
726 ($(objpfx)mtrace-tst-loading): Likewise.
727 * intl/Makefile (generated): Likewise.
728 (tests-special): Likewise.
729 ($(objpfx)mtrace-tst-gettext): Likewise.
730 * misc/Makefile (generated): Likewise.
731 (tests-special): Likewise.
732 ($(objpfx)tst-error1-mem): Likewise.
733 * nptl/Makefile (tests-special): Likewise.
734 ($(objpfx)tst-stack3-mem): Likewise.
735 (generated): Likewise.
736 * posix/Makefile (generated): Likewise.
737 (tests-special): Likewise.
738 (xtests-special): Likewise.
739 ($(objpfx)tst-fnmatch-mem): Likewise.
740 ($(objpfx)bug-regex2-mem): Likewise.
741 ($(objpfx)bug-regex14-mem): Likewise.
742 ($(objpfx)bug-regex21-mem): Likewise.
743 ($(objpfx)bug-regex31-mem): Likewise.
744 ($(objpfx)tst-vfork3-mem): Likewise.
745 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
746 ($(objpfx)tst-pcre-mem): Likewise.
747 ($(objpfx)tst-boost-mem): Likewise.
748 ($(objpfx)bug-ga2-mem): Likewise.
749 ($(objpfx)bug-glob2-mem): Likewise.
750 * resolv/Makefile (generate): Likewise.
751 (tests-special): Likewise.
752 (xtests-special): Likewise.
753 (generated): Likewise.
754 ($(objpfx)mtrace-tst-leaks): Likewise.
755 ($(objpfx)mtrace-tst-leaks2): Likewise.
756
265d52ab
JM
757 * scripts/merge-test-results.sh: New file.
758 * Makefile (tests-special-notdir): New variable.
759 (tests): Run merge-test-results.sh.
760 (xtests): Likewise.
761 * Rules (tests-special-notdir): New variable.
762 (xtests-special-notdir): Likewise.
763 (tests): Run merge-test-results.sh
764 (xtests): Likewise.
765
54ee292d
JM
766 * Makeconfig (test-xfail-name): New variable.
767 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
768 compute variable name for expected failures.
769 * conform/Makefile (conformtest-headers-data): New variable.
770 (conformtest-standards): Likewise.
771 (conformtest-headers-ISO): Likewise.
772 (conformtest-headers-ISO99): Likewise.
773 (conformtest-headers-ISO11): Likewise.
774 (conformtest-headers-POSIX): Likewise.
775 (conformtest-headers-XPG3): Likewise.
776 (conformtest-headers-XPG4): Likewise.
777 (conformtest-headers-UNIX98): Likewise.
778 (conformtest-headers-XOPEN2K): Likewise.
779 (conformtest-headers-POSIX2008): Likewise.
780 (conformtest-headers-XOPEN2K8): Likewise.
781 (conformtest-header-list-base): Likewise.
782 (conformtest-header-list-tests): Likewise.
783 (conformtest-header-base): Likewise.
784 (conformtest-header-tests): Likewise.
785 (tests-special): Add $(conformtest-header-list-tests). If
786 [$(fast-check) && !$(cross-compiling)], add
787 $(conformtest-header-tests) instead of
788 $(objpfx)run-conformtest.out.
789 (generated): Add $(conformtest-header-list-base). If
790 [$(fast-check) && !$(cross-compiling)], add
791 $(conformtest-header-base). Remove previous setting.
792 ($(conformtest-header-list-tests)): New target.
793 (test-xfail-run-conformtest): Remove variable.
794 ($(objpfx)run-conformtest.out): Remove target.
795 (test-xfail-ISO11/complex.h/conform): New variable.
796 (test-xfail-ISO11/stdalign.h/conform): Likewise.
797 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
798 (test-xfail-XPG3/varargs.h/conform): Likewise.
799 (test-xfail-XPG4/varargs.h/conform): Likewise.
800 (test-xfail-UNIX98/varargs.h/conform): Likewise.
801 (test-xfail-XPG4/ndbm.h/conform): Likewise.
802 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
803 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
804 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
805 (test-xfail-XPG3/fcntl.h/conform): Likewise.
806 (test-xfail-XPG3/ftw.h/conform): Likewise.
807 (test-xfail-XPG3/grp.h/conform): Likewise.
808 (test-xfail-XPG3/langinfo.h/conform): Likewise.
809 (test-xfail-XPG3/limits.h/conform): Likewise.
810 (test-xfail-XPG3/pwd.h/conform): Likewise.
811 (test-xfail-XPG3/search.h/conform): Likewise.
812 (test-xfail-XPG3/signal.h/conform): Likewise.
813 (test-xfail-XPG3/stdio.h/conform): Likewise.
814 (test-xfail-XPG3/stdlib.h/conform): Likewise.
815 (test-xfail-XPG3/string.h/conform): Likewise.
816 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
817 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
818 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
819 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
820 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
821 (test-xfail-XPG3/sys/types.h/conform): Likewise.
822 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
823 (test-xfail-XPG3/termios.h/conform): Likewise.
824 (test-xfail-XPG3/time.h/conform): Likewise.
825 (test-xfail-XPG3/unistd.h/conform): Likewise.
826 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
827 (test-xfail-XPG4/fcntl.h/conform): Likewise.
828 (test-xfail-XPG4/langinfo.h/conform): Likewise.
829 (test-xfail-XPG4/netdb.h/conform): Likewise.
830 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
831 (test-xfail-XPG4/signal.h/conform): Likewise.
832 (test-xfail-XPG4/stdio.h/conform): Likewise.
833 (test-xfail-XPG4/stdlib.h/conform): Likewise.
834 (test-xfail-XPG4/stropts.h/conform): Likewise.
835 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
836 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
837 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
838 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
839 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
840 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
841 (test-xfail-XPG4/sys/time.h/conform): Likewise.
842 (test-xfail-XPG4/sys/types.h/conform): Likewise.
843 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
844 (test-xfail-XPG4/termios.h/conform): Likewise.
845 (test-xfail-XPG4/ucontext.h/conform): Likewise.
846 (test-xfail-XPG4/unistd.h/conform): Likewise.
847 (test-xfail-XPG4/utmpx.h/conform): Likewise.
848 (test-xfail-POSIX/sched.h/conform): Likewise.
849 (test-xfail-POSIX/signal.h/conform): Likewise.
850 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
851 (test-xfail-POSIX/tar.h/conform): Likewise.
852 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
853 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
854 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
855 (test-xfail-UNIX98/netdb.h/conform): Likewise.
856 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
857 (test-xfail-UNIX98/sched.h/conform): Likewise.
858 (test-xfail-UNIX98/signal.h/conform): Likewise.
859 (test-xfail-UNIX98/stdio.h/conform): Likewise.
860 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
861 (test-xfail-UNIX98/stropts.h/conform): Likewise.
862 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
863 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
864 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
865 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
866 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
867 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
868 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
869 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
870 (test-xfail-UNIX98/unistd.h/conform): Likewise.
871 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
872 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
873 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
874 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
875 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
876 (test-xfail-XOPEN2K/math.h/conform): Likewise.
877 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
878 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
879 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
880 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
881 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
882 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
883 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
884 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
885 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
886 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
887 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
888 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
889 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
890 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
891 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
892 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
893 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
894 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
895 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
896 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
897 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
898 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
899 (test-xfail-POSIX2008/signal.h/conform): Likewise.
900 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
901 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
902 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
903 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
904 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
905 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
906 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
907 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
908 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
909 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
910 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
911 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
912 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
913 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
914 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
915 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
916 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
917 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
918 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
919 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
920 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
921 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
922 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
923 (conformtest-cc-flags): Likewise.
924 ($(conformtest-header-tests): New target.
925 * conform/check-header-lists.sh: New file.
926 * conform/run-conformtest.sh: Remove.
927
a00f522a
JM
928 * conform/conformtest.pl: Allow ' and \ in values given for
929 constants.
930 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
931 inclusion.
932 [POSIX] (sys/types.h): Likewise.
933 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
934 inclusion.
935 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
936 inclusion.
937 * conform/data/signal.h-data (SIGIO): Remove expectation.
938 [XPG3] (SIGBUS): Do not expect.
939 [POSIX || XPG3] (SIGPOLL): Likewise.
940 [POSIX || XPG3] (SIGPROF): Likewise.
941 [POSIX || XPG3] (SIGSYS): Likewise.
942 [XPG3] (SIGTRAP): Likewise.
943 [POSIX || XPG3] (SIGURG): Likewise.
944 [POSIX || XPG3] (SIGVTALRM): Likewise.
945 [POSIX || XPG3] (SIGXCPU): Likewise.
946 [POSIX || XPG3] (SIGXFSZ): Likewise.
947 [POSIX] (SA_SIGINFO): Expect.
948 [XPG3] (siginfo_t): Do not expect type or contents.
949 [POSIX] (si_pid): Do not expect element.
950 [POSIX] (si_uid): Likewise.
951 [POSIX] (si_addr): Likewise.
952 [POSIX] (si_status): Likewise.
953 [POSIX] (si_band): Likewise.
954 [XPG4] (si_value): Likewise.
955 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
956 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
957 [POSIX || XPG3] (ILL_ILLADR): Likewise.
958 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
959 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
960 [POSIX || XPG3] (ILL_PRVREG): Likewise.
961 [POSIX || XPG3] (ILL_COPROC): Likewise.
962 [POSIX || XPG3] (ILL_BADSTK): Likewise.
963 [POSIX || XPG3] (FPE_INTDIV): Likewise.
964 [POSIX || XPG3] (FPE_INTOVF): Likewise.
965 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
966 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
967 [POSIX || XPG3] (FPE_FLTUND): Likewise.
968 [POSIX || XPG3] (FPE_FLTRES): Likewise.
969 [POSIX || XPG3] (FPE_FLTINV): Likewise.
970 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
971 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
972 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
973 [POSIX || XPG3] (BUS_ADRALN): Likewise.
974 [POSIX || XPG3] (BUS_ADRERR): Likewise.
975 [POSIX || XPG3] (BUS_OBJERR): Likewise.
976 [POSIX || XPG3] (CLD_EXITED): Likewise.
977 [POSIX || XPG3] (CLD_KILLED): Likewise.
978 [POSIX || XPG3] (CLD_DUMPED): Likewise.
979 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
980 [POSIX || XPG3] (CLD_STOPPED): Likewise.
981 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
982 [POSIX || XPG3] (POLL_IN): Likewise.
983 [POSIX || XPG3] (POLL_OUT): Likewise.
984 [POSIX || XPG3] (POLL_MSG): Likewise.
985 [POSIX || XPG3] (POLL_ERR): Likewise.
986 [POSIX || XPG3] (POLL_PRI): Likewise.
987 [POSIX || XPG3] (POLL_HUP): Likewise.
988 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
989 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
990 (SIG*): Do not allow.
991 [XPG3] (si_*): Likewise.
992 [XPG3] (SI_*): Likewise.
993 [XPG3 || XPG4] (sigev_*): Likewise.
994 [XPG3 || XPG4] (SIGEV_*): Likewise.
995 [XPG3 || XPG4] (sival_*): Likewise.
996 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
997 [POSIX || XPG3] (BUS_*): Likewise.
998 [POSIX || XPG3] (CLD_*): Likewise.
999 [POSIX || XPG3] (FPE_*): Likewise.
1000 [POSIX || XPG3] (ILL_*): Likewise.
1001 [POSIX || XPG3] (POLL_*): Likewise.
1002 [POSIX || XPG3] (SEGV_*): Likewise.
1003 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
1004 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
1005 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
1006 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
1007 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
1008 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
1009 Specify type and value.
1010 (TVERSLEN): Likewise.
1011 (REGTYPE): Likewise.
1012 (AREGTYPE): Likewise.
1013 (LNKTYPE): Likewise.
1014 (SYMTYPE): Likewise.
1015 (CHRTYPE): Likewise.
1016 (BLKTYPE): Likewise.
1017 (DIRTYPE): Likewise.
1018 (FIFOTYPE): Likewise.
1019 (CONTTYPE): Likewise.
1020 (TSUID): Likewise.
1021 (TSGID): Likewise.
1022 (TSVTX): Likewise.
1023 (TUREAD): Likewise.
1024 (TUWRITE): Likewise.
1025 (TUEXEC): Likewise.
1026 (TGREAD): Likewise.
1027 (TGWRITE): Likewise.
1028 (TGEXEC): Likewise.
1029 (TOREAD): Likewise.
1030 (TOWRITE): Likewise.
1031 (TOEXEC): Likewise.
1032 [POSIX] (TSVTX): Expect constant.
1033
aa97dee1
JM
10342014-03-06 Joseph Myers <joseph@codesourcery.com>
1035
f214606a
JM
1036 * Makefile (tests): Change dependencies to ....
1037 (tests-special): ... additions to this variable.
1038 (tests): Depend on $(tests-special).
1039 * Makerules (check-abi-list): New variable.
1040 (check-abi): Depend on $(check-abi-list).
1041 [$(subdir) = elf] (tests-special): Add
1042 $(objpfx)check-abi-libc.out.
1043 [$(build-shared) = yes && subdir] (tests-special): Add
1044 $(check-abi-list).
1045 [$(build-shared) = yes && subdir] (tests): Do not depend on
1046 check-abi.
1047 * Rules (tests): Depend on $(tests-special).
1048 (xtests): Depend on $(xtests-special).
1049 * catgets/Makefile (tests): Change dependencies to ....
1050 (tests-special): ... additions to this variable.
1051 * conform/Makefile (tests): Change dependencies to ....
1052 (tests-special): ... additions to this variable.
1053 * elf/Makefile (tests): Change dependencies to ....
1054 (tests-special): ... additions to this variable.
1055 * grp/Makefile (tests): Change dependencies to ....
1056 (tests-special): ... additions to this variable.
1057 * iconv/Makefile (xtests): Change dependencies to ....
1058 (xtests-special): ... additions to this variable.
1059 * iconvdata/Makefile (tests): Change dependencies to ....
1060 (tests-special): ... additions to this variable.
1061 * intl/Makefile (tests): Change dependencies to ....
1062 (tests-special): ... additions to this variable. Also add
1063 $(objpfx)tst-gettext.out.
1064 * io/Makefile (tests): Change dependencies to ....
1065 (tests-special): ... additions to this variable.
1066 * libio/Makefile (tests): Change dependencies to ....
1067 (tests-special): ... additions to this variable.
1068 * malloc/Makefile (tests): Change dependencies to ....
1069 (tests-special): ... additions to this variable.
1070 * misc/Makefile (tests): Change dependencies to ....
1071 (tests-special): ... additions to this variable.
1072 * nptl/Makefile (tests): Change dependencies to ....
1073 (tests-special): ... additions to this variable.
1074 * nptl_db/Makefile (tests): Change dependencies to ....
1075 (tests-special): ... additions to this variable.
1076 * posix/Makefile (tests): Change dependencies to ....
1077 (tests-special): ... additions to this variable.
1078 (xtests): Change dependencies to ....
1079 (xtests-special): ... additions to this variable.
1080 * resolv/Makefile (tests): Change dependencies to ....
1081 (tests-special): ... additions to this variable.
1082 (xtests): Change dependencies to ....
1083 (xtests-special): ... additions to this variable.
1084 * stdio-common/Makefile (tests): Change dependencies to ....
1085 (tests-special): ... additions to this variable.
1086 (do-tst-unbputc): Remove target.
1087 (do-tst-printf): Likewise.
1088 * stdlib/Makefile (tests): Change dependencies to ....
1089 (tests-special): ... additions to this variable.
1090 * string/Makefile (tests): Change dependencies to ....
1091 (tests-special): ... additions to this variable.
1092 * sysdeps/x86/Makefile (tests): Change dependencies to ....
1093 (tests-special): ... additions to this variable.
1094
81700b53
JM
1095 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
1096 whole file.
1097 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
1098 whole file.
1099 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
1100 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
1101
2ea18461
JM
1102 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
1103 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
1104 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
1105 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
1106 * conform/data/libgen.h-data [XPG3]: Likewise.
1107 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
1108 * conform/data/ndbm.h-data [XPG3]: Likewise.
1109 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
1110 * conform/data/netdb.h-data [XPG3]: Likewise.
1111 * conform/data/netinet/in.h-data [XPG3]: Likewise.
1112 * conform/data/poll.h-data [XPG3]: Likewise.
1113 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
1114 * conform/data/strings.h-data [XPG3]: Likewise.
1115 * conform/data/stropts.h-data [XPG3]: Likewise.
1116 * conform/data/sys/mman.h-data [XPG3]: Likewise.
1117 * conform/data/sys/resource.h-data [XPG3]: Likewise.
1118 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
1119 Likewise.
1120 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
1121 * conform/data/sys/time.h-data [XPG3]: Likewise.
1122 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
1123 * conform/data/sys/uio.h-data [XPG3]: Likewise.
1124 * conform/data/sys/un.h-data [XPG3]: Likewise.
1125 * conform/data/syslog.h-data [XPG3]: Likewise.
1126 * conform/data/ucontext.h-data [XPG3]: Likewise.
1127 * conform/data/utmpx.h-data [XPG3]: Likewise.
1128 * conform/data/varargs.h-data [UNIX98]: Enable file.
1129
355bc986
JM
1130 * manual/Makefile (INSTALL_INFO): Remove variable setting.
1131
215db402
JM
1132 * math/libm-test.inc (struct test_f_f_data): Move expected results
1133 into structure for each rounding mode.
1134 (struct test_ff_f_data): Likewise.
1135 (struct test_ff_f_data_nexttoward): Likewise.
1136 (struct test_fi_f_data): Likewise.
1137 (struct test_fl_f_data): Likewise.
1138 (struct test_if_f_data): Likewise.
1139 (struct test_fff_f_data): Likewise.
1140 (struct test_c_f_data): Likewise.
1141 (struct test_f_f1_data): Likewise.
1142 (struct test_fF_f1_data): Likewise.
1143 (struct test_ffI_f1_data): Likewise.
1144 (struct test_c_c_data): Likewise.
1145 (struct test_cc_c_data): Likewise.
1146 (struct test_f_i_data): Likewise.
1147 (struct test_ff_i_data): Likewise.
1148 (struct test_f_l_data): Likewise.
1149 (struct test_f_L_data): Likewise.
1150 (struct test_fFF_11_data): Likewise.
1151 (RM_): New macro.
1152 (RM_FE_DOWNWARD): Likewise.
1153 (RM_FE_TONEAREST): Likewise.
1154 (RM_FE_TOWARDZERO): Likewise.
1155 (RM_FE_UPWARD): Likewise.
1156 (RUN_TEST_LOOP_f_f): Update references to expected results.
1157 (RUN_TEST_LOOP_2_f): Likewise.
1158 (RUN_TEST_LOOP_fff_f): Likewise.
1159 (RUN_TEST_LOOP_c_f): Likewise.
1160 (RUN_TEST_LOOP_f_f1): Likewise.
1161 (RUN_TEST_LOOP_fF_f1): Likewise.
1162 (RUN_TEST_LOOP_fI_f1): Likewise.
1163 (RUN_TEST_LOOP_ffI_f1): Likewise.
1164 (RUN_TEST_LOOP_c_c): Likewise.
1165 (RUN_TEST_LOOP_cc_c): Likewise.
1166 (RUN_TEST_LOOP_f_i): Likewise.
1167 (RUN_TEST_LOOP_f_i_tg): Likewise.
1168 (RUN_TEST_LOOP_ff_i_tg): Likewise.
1169 (RUN_TEST_LOOP_f_b): Likewise.
1170 (RUN_TEST_LOOP_f_b_tg): Likewise.
1171 (RUN_TEST_LOOP_f_l): Likewise.
1172 (RUN_TEST_LOOP_f_L): Likewise.
1173 (RUN_TEST_LOOP_fFF_11): Likewise.
1174 * math/gen-libm-test.pl (parse_args): Output four copies of
1175 expected results for each test.
1176
67737b8f
JM
1177 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
1178 (__ASSUME_UTIMES): Remove.
1179 * sysdeps/unix/sysv/linux/tile/kernel-features.h
1180 (__ASSUME_UTIMES): Likewise.
1181
aa97dee1
JM
1182 * math/gen-auto-libm-tests.c: Update comment on output format.
1183 (output_for_one_input_case): Generate before-rounding and
1184 after-rounding information as conditions on output flags not
1185 floating-point format.
1186 * math/auto-libm-test-out: Regenerated.
1187 * math/gen-libm-test.pl (cond_value): New function.
1188 (or_cond_value): Use cond_value.
1189 (generate_testfile): Handle conditional exceptions.
1190
e6b6a857
JM
11912014-03-05 Joseph Myers <joseph@codesourcery.com>
1192
2f0a0f44
JM
1193 * math/libm-test.inc (max_valid_error): New variable.
1194 (init_max_error): Take new argument specifying whether function
1195 results are exactly determined. Set max_valid_error and bound
1196 other variables for errors based on this argument.
1197 (set_max_error): Do not record results above max_valid_error.
1198 (check_float_internal): Only accept errors of up to 0.5ulps if
1199 also at most max_valid_error.
1200 (START): Take new argument EXACT and pass it to init_max_error.
1201 (acos_test): Update call to START.
1202 (acos_test_tonearest): Likewise.
1203 (acos_test_towardzero): Likewise.
1204 (acos_test_downward): Likewise.
1205 (acos_test_upward): Likewise.
1206 (acosh_test): Likewise.
1207 (asin_test): Likewise.
1208 (asin_test_tonearest): Likewise.
1209 (asin_test_towardzero): Likewise.
1210 (asin_test_downward): Likewise.
1211 (asin_test_upward): Likewise.
1212 (asinh_test): Likewise.
1213 (atan_test): Likewise.
1214 (atanh_test): Likewise.
1215 (atan2_test): Likewise.
1216 (cabs_test): Likewise.
1217 (cacos_test): Likewise.
1218 (cacosh_test): Likewise.
1219 (carg_test): Likewise.
1220 (casin_test): Likewise.
1221 (casinh_test): Likewise.
1222 (catan_test): Likewise.
1223 (catanh_test): Likewise.
1224 (cbrt_test): Likewise.
1225 (ccos_test): Likewise.
1226 (ccosh_test): Likewise.
1227 (ceil_test): Likewise.
1228 (cexp_test): Likewise.
1229 (cimag_test): Likewise.
1230 (clog_test): Likewise.
1231 (clog10_test): Likewise.
1232 (conj_test): Likewise.
1233 (copysign_test): Likewise.
1234 (cos_test): Likewise.
1235 (cos_test_tonearest): Likewise.
1236 (cos_test_towardzero): Likewise.
1237 (cos_test_downward): Likewise.
1238 (cos_test_upward): Likewise.
1239 (cosh_test): Likewise.
1240 (cosh_test_tonearest): Likewise.
1241 (cosh_test_towardzero): Likewise.
1242 (cosh_test_downward): Likewise.
1243 (cosh_test_upward): Likewise.
1244 (cpow_test): Likewise.
1245 (cproj_test): Likewise.
1246 (creal_test): Likewise.
1247 (csin_test): Likewise.
1248 (csinh_test): Likewise.
1249 (csqrt_test): Likewise.
1250 (ctan_test): Likewise.
1251 (ctan_test_tonearest): Likewise.
1252 (ctan_test_towardzero): Likewise.
1253 (ctan_test_downward): Likewise.
1254 (ctan_test_upward): Likewise.
1255 (ctanh_test): Likewise.
1256 (ctanh_test_tonearest): Likewise.
1257 (ctanh_test_towardzero): Likewise.
1258 (ctanh_test_downward): Likewise.
1259 (ctanh_test_upward): Likewise.
1260 (erf_test): Likewise.
1261 (erfc_test): Likewise.
1262 (exp_test): Likewise.
1263 (exp_test_tonearest): Likewise.
1264 (exp_test_towardzero): Likewise.
1265 (exp_test_downward): Likewise.
1266 (exp_test_upward): Likewise.
1267 (exp10_test): Likewise.
1268 (exp10_test_tonearest): Likewise.
1269 (exp10_test_towardzero): Likewise.
1270 (exp10_test_downward): Likewise.
1271 (exp10_test_upward): Likewise.
1272 (pow10_test): Likewise.
1273 (exp2_test): Likewise.
1274 (expm1_test): Likewise.
1275 (expm1_test_tonearest): Likewise.
1276 (expm1_test_towardzero): Likewise.
1277 (expm1_test_downward): Likewise.
1278 (expm1_test_upward): Likewise.
1279 (fabs_test): Likewise.
1280 (fdim_test): Likewise.
1281 (floor_test): Likewise.
1282 (fma_test): Likewise.
1283 (fma_test_towardzero): Likewise.
1284 (fma_test_downward): Likewise.
1285 (fma_test_upward): Likewise.
1286 (fmax_test): Likewise.
1287 (fmin_test): Likewise.
1288 (fmod_test): Likewise.
1289 (fpclassify_test): Likewise.
1290 (frexp_test): Likewise.
1291 (hypot_test): Likewise.
1292 (ilogb_test): Likewise.
1293 (isfinite_test): Likewise.
1294 (finite_test): Likewise.
1295 (isgreater_test): Likewise.
1296 (isgreaterequal_test): Likewise.
1297 (isinf_test): Likewise.
1298 (isless_test): Likewise.
1299 (islessequal_test): Likewise.
1300 (islessgreater_test): Likewise.
1301 (isnan_test): Likewise.
1302 (isnormal_test): Likewise.
1303 (issignaling_test): Likewise.
1304 (isunordered_test): Likewise.
1305 (j0_test): Likewise.
1306 (j1_test): Likewise.
1307 (jn_test): Likewise.
1308 (ldexp_test): Likewise.
1309 (lgamma_test): Likewise.
1310 (gamma_test): Likewise.
1311 (lrint_test): Likewise.
1312 (lrint_test_tonearest): Likewise.
1313 (lrint_test_towardzero): Likewise.
1314 (lrint_test_downward): Likewise.
1315 (lrint_test_upward): Likewise.
1316 (llrint_test): Likewise.
1317 (llrint_test_tonearest): Likewise.
1318 (llrint_test_towardzero): Likewise.
1319 (llrint_test_downward): Likewise.
1320 (llrint_test_upward): Likewise.
1321 (log_test): Likewise.
1322 (log10_test): Likewise.
1323 (log1p_test): Likewise.
1324 (log2_test): Likewise.
1325 (logb_test): Likewise.
1326 (logb_test_downward): Likewise.
1327 (lround_test): Likewise.
1328 (llround_test): Likewise.
1329 (modf_test): Likewise.
1330 (nearbyint_test): Likewise.
1331 (nextafter_test): Likewise.
1332 (nexttoward_test): Likewise.
1333 (pow_test): Likewise.
1334 (pow_test_tonearest): Likewise.
1335 (pow_test_towardzero): Likewise.
1336 (pow_test_downward): Likewise.
1337 (pow_test_upward): Likewise.
1338 (remainder_test): Likewise.
1339 (drem_test): Likewise.
1340 (remainder_test_tonearest): Likewise.
1341 (drem_test_tonearest): Likewise.
1342 (remainder_test_towardzero): Likewise.
1343 (drem_test_towardzero): Likewise.
1344 (remainder_test_downward): Likewise.
1345 (drem_test_downward): Likewise.
1346 (remainder_test_upward): Likewise.
1347 (drem_test_upward): Likewise.
1348 (remquo_test): Likewise.
1349 (rint_test): Likewise.
1350 (rint_test_tonearest): Likewise.
1351 (rint_test_towardzero): Likewise.
1352 (rint_test_downward): Likewise.
1353 (rint_test_upward): Likewise.
1354 (round_test): Likewise.
1355 (scalb_test): Likewise.
1356 (scalbn_test): Likewise.
1357 (scalbln_test): Likewise.
1358 (signbit_test): Likewise.
1359 (sin_test): Likewise.
1360 (sin_test_tonearest): Likewise.
1361 (sin_test_towardzero): Likewise.
1362 (sin_test_downward): Likewise.
1363 (sin_test_upward): Likewise.
1364 (sincos_test): Likewise.
1365 (sinh_test): Likewise.
1366 (sinh_test_tonearest): Likewise.
1367 (sinh_test_towardzero): Likewise.
1368 (sinh_test_downward): Likewise.
1369 (sinh_test_upward): Likewise.
1370 (sqrt_test): Likewise.
1371 (sqrt_test_tonearest): Likewise.
1372 (sqrt_test_towardzero): Likewise.
1373 (sqrt_test_downward): Likewise.
1374 (sqrt_test_upward): Likewise.
1375 (tan_test): Likewise.
1376 (tan_test_tonearest): Likewise.
1377 (tan_test_towardzero): Likewise.
1378 (tan_test_downward): Likewise.
1379 (tan_test_upward): Likewise.
1380 (tanh_test): Likewise.
1381 (tgamma_test): Likewise.
1382 (trunc_test): Likewise.
1383 (y0_test): Likewise.
1384 (y1_test): Likewise.
1385 (yn_test): Likewise.
1386 (significand_test): Likewise.
1387
e6b6a857
JM
1388 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
1389 individual tests in comment.
1390 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
1391 (prev_max_error): New variable.
1392 (prev_real_max_error): Likewise.
1393 (prev_imag_max_error): Likewise.
1394 (compare_ulp_data): Don't refer to test names in comment.
1395 (find_test_ulps): Remove function.
1396 (find_function_ulps): Likewise.
1397 (find_complex_function_ulps): Likewise.
1398 (init_max_error): Take function name as argument. Look up ulps
1399 for that function.
1400 (print_ulps): Remove function.
1401 (print_max_error): Use prev_max_error instead of calling
1402 find_function_ulps.
1403 (print_complex_max_error): Use prev_real_max_error and
1404 prev_imag_max_error instead of calling find_complex_function_ulps.
1405 (check_float_internal): Take max_ulp parameter instead of calling
1406 find_test_ulps. Don't call print_ulps.
1407 (check_float): Update call to check_float_internal.
1408 (check_complex): Update calls to check_float_internal.
1409 (START): Pass argument to init_max_error.
1410 * math/gen-libm-test.pl (%results): Don't include "kind"
1411 information.
1412 (parse_ulps): Don't handle ulps of individual tests.
1413 (print_ulps_file): Likewise.
1414 (output_ulps): Likewise.
1415 * math/README.libm-test: Update.
1416 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
1417 individual tests.
1418 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
1419 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
1420 * sysdeps/arm/libm-test-ulps: Likewise.
1421 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
1422 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
1423 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
1424 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
1425 * sysdeps/microblaze/libm-test-ulps: Likewise.
1426 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
1427 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1428 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1429 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
1430 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1431 * sysdeps/sh/libm-test-ulps: Likewise.
1432 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
1433 * sysdeps/tile/libm-test-ulps: Likewise.
1434 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1435
45adef3c
JM
14362014-03-04 Joseph Myers <joseph@codesourcery.com>
1437
1438 * math/libm-test.inc (print_complex_max_error): Check separately
1439 whether real and imaginary errors are within allowed range and
1440 pass 0 to print_complex_function_ulps instead of value within
1441 allowed range.
1442
000232b9
SP
14432014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1444
d4b17258
SP
1445 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
1446 formatting.
1447 (get_handles_fopen): Likewise.
1448 (do_write_test): Likewise.
1449
091eff71
SP
1450 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
1451
fa3cd248
SP
1452 * libio/fileops.c (do_ftell): Use cached offset when
1453 available.
1454 * libio/iofwide.c (do_ftell_wide): Likewise.
1455 * libio/iofdopen.c (_IO_new_fdopen): Don't use
1456 _IO_file_attach.
1457 * libio/wfileops.c (_IO_fwide): Don't cache offset.
1458
000232b9
SP
1459 [BZ #16532]
1460 * libio/libioP.h (get_file_offset): New function.
1461 * libio/fileops.c (get_file_offset): Likewise.
1462 (do_ftell): Likewise.
1463 (_IO_new_file_seekoff): Split out ftell logic.
1464 * libio/wfileops.c (do_ftell_wide): Likewise.
1465 (_IO_wfile_seekoff): Split out ftell logic.
1466 * libio/tst-ftell-active-handler.c: New test case.
1467 * libio/Makefile (tests): Add it.
1468
116f4d1a
RM
14692014-03-03 Roland McGrath <roland@hack.frob.com>
1470
1471 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
1472 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
1473
532a6035
SP
14742014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
1475
1476 [BZ #16639]
1477 * nscd/connections.c (nscd_init): Call do_exit.
1478 (start_threads): Call do_exit and notify_parent.
1479 (begin_drop_privileges): Call do_exit.
1480 (finish_drop_privileges): Likewise.
1481 * nscd/selinux.c (preserve_capabilities): Likewise.
1482 (install_real_capabilities): Likewise.
1483 (nscd_selinux_enabled): Likewise.
1484 (avc_create_thread): Likewise.
1485 (avc_alloc_lock): Likewise.
1486 (nscd_avc_init): Likewise.
1487 * nscd/nscd.c (parent_fd): New static variable.
1488 (main): Create a pipe between parent and child processes.
1489 Skip closing parent_fd.
1490 (monitor_child): New function.
1491 (do_exit): Likewise.
1492 (notify_parent): Likewise.
1493 * nscd/nscd.h (notify_parent): Likewise.
1494 (do_exit): Likewise.
1495
d6285c9f
CD
14962014-03-03 Carlos O'Donell <carlos@redhat.com>
1497
1498 * malloc/malloc.c (__libc_calloc): Revert last change.
1499
2b85d2a0
AZ
15002014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1501
1502 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1503
c7debbdf
RS
15042014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1505
1506 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
1507 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
1508 implementation.
1509 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1510 (__libc_ifunc_impl_list): Likewise.
1511 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
1512 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
1513 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
1514 * string/strrchr.c: Define STRRCHR.
1515
235eed86
OB
15162014-02-28 Ondřej Bílka <neleai@seznam.cz>
1517
1518 * benchtest/bench-strtok.c (simple_strtok): Delete.
1519 (strtok_string): Use as benchmark.
1520 * string/strtok (STRTOK): New macro.
1521
8e25d1e7
CD
15222014-02-28 Carlos O'Donell <carlos@redhat.com>
1523
ef563f92
CD
1524 * manual/threads.texi: Add header and standard comments to all
1525 functions.
1526
8e25d1e7
CD
1527 * elf/dl-lookup.c (check_match): New function.
1528 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
1529 (do_lookup_x): Remove nested function check_match. Use non-nested
1530 function check_match.
1531
ff71cc37
RM
15322014-02-28 Roland McGrath <roland@hack.frob.com>
1533
f08e9a26
RM
1534 * csu/Makefile (generated, before-compile): Use += rather than =.
1535 * catgets/Makefile (generated, generated-dirs): Likewise.
1536 * debug/Makefile (generated): Likewise.
1537 * dlfcn/Makefile (generated): Likewise.
1538 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
1539 * iconvdata/Makefile (before-compile, generated): Likewise.
1540 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
1541 * libio/Makefile (generated): Likewise.
1542 * malloc/Makefile (generated): Likewise.
1543 * manual/Makefile (generated, generated-dirs): Likewise.
1544 * misc/Makefile (generated): Likewise.
1545 * posix/Makefile (generated): Likewise.
1546 * resolv/Makefile (generated): Likewise.
1547 * sunrpc/Makefile (generated, generated-dirs): Likewise.
1548 * timezone/Makefile (generated, generated-dirs): Likewise.
1549
ff71cc37
RM
1550 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
1551
fe13a20c
AZ
15522014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1553
1554 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround power8
1555 implementation.
1556 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New file:
1557 POWER8 llround ifunc implementation.
1558 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c (__lllround): Add
1559 POWER8 implementation.
1560 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
1561 POWER8 llround implementation.
1562
1ad8950a
AZ
15632014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1564
1565 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint power8
1566 implementation.
1567 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New file:
1568 POWER8 llrint ifunc implementation.
1569 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint): Add
1570 POWER8 implementation.
1571 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
1572 POWER8 llrint implementation.
1573
cac626d6
AZ
15742014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1575
1576 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite power8
1577 implementation.
1578 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New file:
1579 POWER8 finite ifunc implementation.
1580 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite): Add
1581 POWER8 implementation.
1582 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
1583 Likewise.
1584 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
1585 POWER8 finite implementation.
1586 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
1587
4393fc11
AZ
15882014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1589
1590 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf power8
1591 implementation.
1592 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New file:
1593 POWER8 isinf ifunc implementation.
1594 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
1595 POWER8 implementation.
1596 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
1597 Likewise.
1598 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file:
1599 POWER8 isinf implementation.
1600 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
1601
487972ae
AZ
16022014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1603
1604 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h (INIT_ARCH):
1605 Add hwcap2 initialization.
1606 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan power8
1607 implementation.
1608 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New file:
1609 POWER8 isnan ifunc implementation.
1610 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
1611 POWER8 implementation.
1612 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
1613 Likewise.
1614 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file:
1615 POWER8 isnan implementation.
1616 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
1617
7d92b787
JY
16182014-02-27 Joey Ye <joey.ye@arm.com>
1619
1620 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
1621 (_FP_NANFRAC_Q): Set to zero.
1622
1cadc858
SP
16232014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1624
1625 [BZ #16623]
1626 * math/auto-libm-test-in: New test inputs.
1627 * math/auto-libm-test-out: Regenerate.
1628 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
1629 and DA.
1630 (__cos): Likewise.
1631 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
1632
f8c17e79
JM
16332014-02-27 Joseph Myers <joseph@codesourcery.com>
1634
1635 * scripts/evaluate-test.sh: Take new argument indicating whether
1636 failure is expected.
1637 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
1638 indicating whether failure is expected.
1639 * conform/Makefile (test-xfail-run-conformtest): New variable.
1640 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
1641 level.
1642 * posix/Makefile (test-xfail-annexc): New variable.
1643 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
1644
a5f891ac
JM
16452014-02-26 Joseph Myers <joseph@codesourcery.com>
1646
1647 * argp/Makefile: Include Makeconfig immediately after defining
1648 subdir.
1649 * assert/Makefile: Likewise.
1650 * benchtests/Makefile: Likewise.
1651 * catgets/Makefile: Likewise.
1652 * conform/Makefile: Likewise.
1653 * crypt/Makefile: Likewise.
1654 * csu/Makefile: Likewise.
1655 (all): Remove target.
1656 * ctype/Makefile: Include Makeconfig immediately after defining
1657 subdir.
1658 * debug/Makefile: Likewise.
1659 * dirent/Makefile: Likewise.
1660 * dlfcn/Makefile: Likewise.
1661 * gmon/Makefile: Likewise.
1662 * gnulib/Makefile: Likewise.
1663 * grp/Makefile: Likewise.
1664 * gshadow/Makefile: Likewise.
1665 * hesiod/Makefile: Likewise.
1666 * hurd/Makefile: Likewise.
1667 (all): Remove target.
1668 * iconvdata/Makefile: Include Makeconfig immediately after
1669 defining subdir.
1670 * inet/Makefile: Likewise.
1671 * intl/Makefile: Likewise.
1672 * io/Makefile: Likewise.
1673 * libio/Makefile: Likewise.
1674 (all): Remove target.
1675 * locale/Makefile: Include Makeconfig immediately after defining
1676 subdir.
1677 * login/Makefile: Likewise.
1678 * mach/Makefile: Likewise.
1679 (all): Remove target.
1680 * malloc/Makefile: Include Makeconfig immediately after defining
1681 subdir.
1682 (all): Remove target.
1683 * manual/Makefile: Include Makeconfig immediately after defining
1684 subdir.
1685 * math/Makefile: Likewise.
1686 * misc/Makefile: Likewise.
1687 * nis/Makefile: Likewise.
1688 * nss/Makefile: Likewise.
1689 * po/Makefile: Likewise.
1690 (all): Remove target.
1691 * posix/Makefile: Include Makeconfig immediately after defining
1692 subdir.
1693 * pwd/Makefile: Likewise.
1694 * resolv/Makefile: Likewise.
1695 * resource/Makefile: Likewise.
1696 * rt/Makefile: Likewise.
1697 * setjmp/Makefile: Likewise.
1698 * shadow/Makefile: Likewise.
1699 * signal/Makefile: Likewise.
1700 * socket/Makefile: Likewise.
1701 * soft-fp/Makefile: Likewise.
1702 * stdio-common/Makefile: Likewise.
1703 * stdlib/Makefile: Likewise.
1704 * streams/Makefile: Likewise.
1705 * string/Makefile: Likewise.
1706 * sunrpc/Makefile: Likewise.
1707 (all): Remove target.
1708 * sysvipc/Makefile: Include Makeconfig immediately after defining
1709 subdir.
1710 * termios/Makefile: Likewise.
1711 * time/Makefile: Likewise.
1712 * timezone/Makefile: Likewise.
1713 (all): Remove target.
1714 * wcsmbs/Makefile: Include Makeconfig immediately after defining
1715 subdir.
1716 * wctype/Makefile: Likewise.
1717
5b456e9d
SE
17182014-02-26 Steve Ellcey <sellcey@mips.com>
1719
1720 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
1721 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
1722 (libc_feholdexcept_setround_mips): Ditto.
1723 (libc_feholdsetround): New.
1724 (libc_feholdsetroundf): New.
1725 (libc_feholdsetroundl): New.
1726 (libc_feupdateenv_test_mips): New.
1727 (libc_feupdateenv_test): New.
1728 (libc_feupdateenv_testf): New.
1729 (libc_feupdateenv_testl): New.
1730 (libc_feresetround): New.
1731 (libc_feresetroundf): New.
1732 (libc_feresetroundl): New.
1733 (libc_fetestexcept_mips): New.
1734 (libc_fetestexcept): New.
1735 (libc_fetestexceptf): New.
1736 (libc_fetestexceptl): New.
1737 (HAVE_RM_CTX): New.
1738 (libc_feholdexcept_setround_mips_ctx): New.
1739 (libc_feholdexcept_setround_ctx): New.
1740 (libc_feholdexcept_setroundf_ctx): New.
1741 (libc_feholdexcept_setroundl_ctx): New.
1742 (libc_fesetenv_mips_ctx): New.
1743 (libc_fesetenv_ctx): New.
1744 (libc_fesetenv_ctxf): New.
1745 (libc_fesetenv_ctxl): New.
1746 (libc_feupdateenv_mips_ctx): New.
1747 (libc_feupdateenv_ctx): New.
1748 (libc_feupdateenvf_ctx): New.
1749 (libc_feupdateenvl_ctx): New.
1750 (libc_feholdsetround_mips_ctx): New.
1751 (libc_feholdsetround_ctx): New.
1752 (libc_feholdsetroundf_ctx): New.
1753 (libc_feholdsetroundl_ctx): New.
1754 (libc_feresetround_mips_ctx): New.
1755 (libc_feresetround_ctx): New.
1756 (libc_feresetroundf_ctx): New.
1757 (libc_feresetroundl_ctx): New.
1758
085d0e35
CD
17592014-02-26 Carlos O'Donell <carlos@redhat.com>
1760
f067bf1f
CD
1761 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
1762
085d0e35
CD
1763 * manual/ipc.texi: New file.
1764 * manual/Makefile (chapters): Add ipc.
1765 * manual/job.texi: Add "Inter-Process Communication" to next.
1766 * manual/process.texi: Add "Inter-Process Communication" to prev.
1767
86e58c08
AZ
17682014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1769
1770 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1771
4248f0da
OB
17722014-02-26 Ondřej Bílka <neleai@seznam.cz>
1773
1774 * malloc/malloc.c (__libc_calloc): Simplify implementation.
1775
cf822e3c
OB
1776 * manual/arith.texi: Fix spaces after sentences.
1777 * manual/charset.texi: Likewise.
1778 * manual/errno.texi: Likewise.
1779 * manual/install.texi: Likewise.
1780 * manual/llio.texi: Likewise.
1781 * manual/locale.texi: Likewise.
1782 * manual/maint.texi: Likewise.
1783 * manual/math.texi: Likewise.
1784 * manual/memory.texi: Likewise.
1785 * manual/message.texi: Likewise.
1786 * manual/probes.texi: Likewise.
1787 * manual/resource.texi: Likewise.
1788 * manual/signal.texi: Likewise.
1789 * manual/socket.texi: Likewise.
1790 * manual/stdio.texi: Likewise.
1791 * manual/string.texi: Likewise.
1792 * manual/time.texi: Likewise.
1793 * manual/users.texi: Likewise.
1794
ade40b10
CD
17952014-02-25 Carlos O'Donell <carlos@redhat.com>
1796
1797 [BZ #16632]
1798 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
1799 _DEFAULT_SOURCE is defined.
1800
d0503676
CD
18012014-02-25 Ulrich Drepper <drepper@gmail.com>
1802 Carlos O'Donell <carlos@redhat.com>
1803
1804 [BZ #16613]
1805 * elf/dl-tls.c (_dl_count_modids): New function.
1806 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
1807 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
1808 audit library and increment generation counter.
1809 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
1810 * elf/tst-audit9.c: New file.
1811 * elf/tst-auditmod9a.c: New file.
1812 * elf/tst-auditmod9b.c: New file.
1813 * elf/Makefile: Add rules to build and run tst-audit9.
1814
4cbf380c
FW
18152014-02-25 Florian Weimer <fweimer@redhat.com>
1816
1817 [BZ #15347]
1818 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
1819
80a56cc3
WN
18202014-02-25 Will Newton <will.newton@linaro.org>
1821
1822 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
1823 (__longjmp): Restore sp and lr before restoring callee
1824 saved registers. Add longjmp and longjmp_target
1825 SystemTap probe point.
1826 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
1827 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
1828 Define to zero to match jmpbuf layout.
1829 * sysdeps/arm/setjmp.S: Include stap-probe.h.
1830 (__sigsetjmp): Save sp and lr before saving callee
1831 saved registers. Add setjmp SystemTap probe point.
1832
3ea0f74e
SL
18332014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
1834
1835 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1836
b04acb26
AS
18372014-02-24 Andreas Schwab <schwab@suse.de>
1838
1839 [BZ #15804]
1840 * elf/pldd.c (wait_for_ptrace_stop): New function.
1841 (main): Call it after attaching.
1842
098ad55c
RM
18432014-02-22 Roland McGrath <roland@hack.frob.com>
1844
d4ec6ae1
RM
1845 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
1846 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
1847 Versions files is now verboten.
1848 * hurd/Versions (libc: GLIBC_2.0):
1849 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
1850 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
1851 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
1852 * mach/Versions: Likewise.
1853
098ad55c
RM
1854 * csu/Versions: Remove unused %include.
1855 * resolv/Versions: Likewise.
1856
acd7f096
JM
18572014-02-21 Joseph Myers <joseph@codesourcery.com>
1858
f0881698
JM
1859 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
1860 ($(objpfx)check-local-headers.out): Likewise.
1861 ($(objpfx)begin-end-check.out): Likewise.
1862 * Makerules (check-abi-%.out): Likewise.
1863 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
1864 ($(objpfx)test2.cat): Likewise.
1865 ($(objpfx)de/libc.cat): Likewise.
1866 ($(objpfx)test-gencat.out): Likewise.
1867 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
1868 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
1869 ($(objpfx)noload-mem): Likewise.
1870 ($(objpfx)tst-pathopt.out): Likewise.
1871 ($(objpfx)tst-rtld-load-self.out): Likewise.
1872 ($(objpfx)tst-array1-cmp.out): Likewise.
1873 ($(objpfx)tst-array1-static-cmp.out): Likewise.
1874 ($(objpfx)tst-array2-cmp.out): Likewise.
1875 ($(objpfx)tst-array3-cmp.out): Likewise.
1876 ($(objpfx)tst-array4-cmp.out): Likewise.
1877 ($(objpfx)tst-array5-cmp.out): Likewise.
1878 ($(objpfx)tst-array5-static-cmp.out): Likewise.
1879 ($(objpfx)check-textrel.out): Likewise.
1880 ($(objpfx)check-execstack.out): Likewise.
1881 ($(objpfx)check-localplt.out): Likewise.
1882 ($(objpfx)order2-cmp.out): Likewise.
1883 ($(objpfx)tst-leaks1-mem): Likewise.
1884 ($(objpfx)tst-leaks1-static-mem): Likewise.
1885 ($(objpfx)tst-initorder-cmp.out): Likewise.
1886 ($(objpfx)tst-initorder2-cmp.out): Likewise.
1887 ($(objpfx)tst-unused-dep.out): Likewise.
1888 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
1889 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
1890 * iconv/Makefile (test-iconvconfig): Likewise.
1891 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
1892 ($(objpfx)iconv-test.out): Likewise.
1893 ($(objpfx)tst-tables.out): Likewise.
1894 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
1895 ($(objpfx)tst-gettext.out): Likewise.
1896 ($(objpfx)tst-translit.out): Likewise.
1897 ($(objpfx)tst-gettext2.out): Likewise.
1898 ($(objpfx)tst-gettext4.out): Likewise.
1899 ($(objpfx)tst-gettext6.out): Likewise.
1900 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
1901 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
1902 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
1903 ($(objpfx)tst-fopenloc-mem.out): Likewise.
1904 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
1905 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
1906 * posix/Makefile ($(objpfx)globtest.out): Likewise.
1907 ($(objpfx)wordexp-tst.out): Likewise.
1908 ($(objpfx)annexc.out): Likewise.
1909 ($(objpfx)tst-fnmatch-mem): Likewise.
1910 ($(objpfx)bug-regex2-mem): Likewise.
1911 ($(objpfx)bug-regex14-mem): Likewise.
1912 ($(objpfx)bug-regex21-mem): Likewise.
1913 ($(objpfx)bug-regex31-mem): Likewise.
1914 ($(objpfx)tst-vfork3-mem): Likewise.
1915 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
1916 ($(objpfx)tst-pcre-mem): Likewise.
1917 ($(objpfx)tst-boost-mem): Likewise.
1918 ($(objpfx)tst-getconf.out): Likewise.
1919 ($(objpfx)bug-ga2-mem): Likewise.
1920 ($(objpfx)bug-glob2-mem): Likewise.
1921 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
1922 ($(objpfx)mtrace-tst-leaks2): Likewise.
1923 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
1924 ($(objpfx)tst-printf.out): Likewise.
1925 ($(objpfx)tst-setvbuf1.out): Likewise.
1926 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
1927 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
1928 ($(objpfx)tst-fmtmsg.out): Likewise.
1929 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
1930 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
1931
acd7f096
JM
1932 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
1933 * bits/sigaction.h [__USE_MISC]: Likewise.
1934 * bits/waitstatus.h: Update #endif comments.
1935 * ctype/ctype.h: Likewise.
1936 * dirent/dirent.h: Likewise.
1937 [__USE_MISC]: Remove redundant conditionals.
1938 * grp/grp.h: Update #endif comments.
1939 [__USE_GNU]: Remove redundant conditionals.
1940 [__USE_MISC]: Likewise.
1941 * inet/netinet/in.h [__USE_GNU]: Likewise.
1942 * io/sys/stat.h [__USE_MISC]: Likewise.
1943 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
1944 * libio/bits/stdio.h: Update #endif comments.
1945 [__USE_MISC]: Remove redundant conditionals.
1946 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
1947 * libio/stdio.h: Update #endif comments.
1948 [__USE_MISC]: Remove redundant conditionals.
1949 * math/bits/math-finite.h [__USE_MISC]: Likewise.
1950 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
1951 * math/math.h: Update #else and #endif comments.
1952 [__USE_MISC]: Remove redundant conditionals.
1953 * misc/sys/uio.h: Update #endif comments.
1954 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
1955 * posix/glob.h [__USE_MISC]: Likewise.
1956 * posix/sys/types.h: Update #endif comments.
1957 [__USE_MISC]: Remove redundant conditionals.
1958 * posix/sys/wait.h: Update #endif comments.
1959 [__USE_MISC]: Remove redundant conditionals.
1960 * posix/unistd.h: Update #endif comments.
1961 [__USE_MISC]: Remove redundant conditionals.
1962 * pwd/pwd.h [__USE_GNU]: Likewise.
1963 [__USE_MISC]: Likewise.
1964 * resolv/netdb.h [__USE_GNU]: Likewise.
1965 * signal/signal.h: Update #endif comments.
1966 [__USE_MISC]: Remove redundant conditionals.
1967 * stdlib/stdlib.h: Update #else and #endif comments.
1968 [__USE_MISC]: Remove redundant conditionals.
1969 [__USE_GNU]: Likewise.
1970 * string/bits/string2.h [__USE_MISC]: Likewise.
1971 * string/string.h: Update #endif comments.
1972 [__USE_MISC]: Remove redundant conditionals.
1973 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
1974 Likewise.
1975 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
1976 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
1977 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
1978 Likewise.
1979 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
1980 Likewise.
1981 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
1982 comments.
1983 [__USE_MISC]: Remove redundant conditionals.
1984 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
1985 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
1986 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
1987 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
1988 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
1989 Likewise.
1990 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
1991 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
1992 Likewise.
1993 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
1994 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
1995 Likewise.
1996 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
1997 Likewise.
1998 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
1999 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
2000 Likewise.
2001 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
2002 Likewise.
2003 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
2004 * sysdeps/x86/bits/string.h: Update #endif comments.
2005 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
2006 conditionals.
2007 * time/sys/time.h: Update #endif comments.
2008 * time/time.h: Likewise.
2009 [__USE_MISC]: Remove redundant conditionals.
2010
a5d82e4e
YG
20112014-02-21 Yury Gribov <y.gribov@samsung.com>
2012
2013 [BZ #16600]
2014 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
2015
9a80491d
AS
20162014-02-21 Andreas Schwab <schwab@linux-m68k.org>
2017
2018 * Versions.def (librt): Add GLIBC_2.17.
2019
105fa381
AC
20202014-02-21 Adam Conrad <adconrad@0c3.net>
2021
2022 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
2023 synonym for _SYS_AUXV_H to allow direct inclusion.
2024 * sysdeps/sparc/bits/hwcap.h: Likewise.
2025 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
2026 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
2027 * sysdeps/sparc/sysdep.h: Likewise.
2028
b8cd1c4e
SP
20292014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2030
2031 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
2032
bd939d23
RS
20332014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2034
2035 * benchtests/bench-strrchr.c: Print length instead of position.
2036
5d7b57ca
JM
20372014-02-20 Joseph Myers <joseph@codesourcery.com>
2038
bc688c10
JM
2039 [BZ #16611]
2040 * sysdeps/unix/sysv/linux/kernel-features.h
2041 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
2042 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
2043 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
2044 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
2045 Likewise.
2046 [__i386__ || __powerpc__ || __sh__ || __sparc__]
2047 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2048 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
2049 (__ASSUME_SENDMMSG): Define instead of using previous
2050 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
2051 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2052 (__ASSUME_SENDMMSG_SYSCALL): Define.
2053 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2054 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
2055 Likewise.
2056 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2057 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
2058 Likewise.
2059 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2060 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
2061 Likewise.
2062 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
2063 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
2064 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
2065 [__ASSUME_SENDMMSG]: Change conditionals to
2066 [__ASSUME_SENDMMSG_SOCKETCALL].
2067 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2068 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
2069 Define.
2070 * sysdeps/unix/sysv/linux/mips/kernel-features.h
2071 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
2072 Likewise.
2073 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
2074 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
2075 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
2076 [!__ASSUME_SENDMMSG]: Change conditional to
2077 [!__ASSUME_SENDMMSG_SOCKETCALL].
2078 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2079 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
2080 Define.
2081
0e31b18c
JM
2082 [BZ #16610]
2083 * sysdeps/unix/sysv/linux/kernel-features.h
2084 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
2085 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
2086 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
2087 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
2088 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2089 [__i386__ || __sparc__]
2090 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2091 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
2092 (__ASSUME_RECVMMSG): Define instead of using previous
2093 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
2094 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2095 (__ASSUME_RECVMMSG_SYSCALL): Define.
2096 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2097 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2098 Likewise.
2099 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2100 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2101 Likewise.
2102 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2103 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2104 Likewise.
2105 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
2106 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
2107 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
2108 [__ASSUME_RECVMMSG]: Change condition to
2109 [__ASSUME_RECVMMSG_SOCKETCALL].
2110 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2111 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2112 Define.
2113 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2114 * sysdeps/unix/sysv/linux/mips/kernel-features.h
2115 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2116 Likewise.
2117 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
2118 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
2119 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
2120 [!__ASSUME_RECVMMSG]: Change condition to
2121 [!__ASSUME_RECVMMSG_SOCKETCALL].
2122 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2123 (__ASSUME_RECVMMSG_SYSCALL): Define.
2124
dd481ccf
JM
2125 [BZ #16609]
2126 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
2127 __powerpc__ || __s390__ || __sh__ || __sparc__]
2128 (__ASSUME_SOCKETCALL): Define.
2129 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
2130 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
2131 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
2132 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
2133 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2134 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
2135 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
2136 (__ASSUME_ACCEPT4): Define instead of using previous
2137 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
2138 __powerpc__ || __sparc__ || __s390__)] condition.
2139 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2140 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
2141 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
2142 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
2143 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
2144 [!__ASSUME_ACCEPT4]: Change condition to
2145 [!__ASSUME_ACCEPT4_SOCKETCALL].
2146 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2147 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
2148 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
2149 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2150 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
2151 __ASSUME_ACCEPT4_SYSCALL.
2152 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
2153 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
2154 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2155 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
2156 __ASSUME_ACCEPT4_SYSCALL.
2157 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
2158 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
2159 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
2160 [__ASSUME_ACCEPT4]: Change condition to
2161 [__ASSUME_ACCEPT4_SOCKETCALL].
2162 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2163 (__ASSUME_SOCKETCALL): Define.
2164 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
2165 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2166 (__ASSUME_SOCKETCALL): Define.
2167 (__ASSUME_ACCEPT4): Remove.
2168 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
2169 Define.
2170 * sysdeps/unix/sysv/linux/mips/kernel-features.h
2171 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
2172 Likewise.
2173 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2174 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
2175
5d7b57ca
JM
2176 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
2177 macro.
2178 (HWCAP_ARM_LPAE): Likewise.
2179 (HWCAP_ARM_EVTSTRM): Likewise.
2180 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
2181 Add vpfd32, lpae and evtstrm.
2182 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
2183 Increase to 22.
2184
63689d61
JM
21852014-02-19 Joseph Myers <joseph@codesourcery.com>
2186
2187 * math/auto-libm-test-in: Add tests of clog10.
2188 * math/auto-libm-test-out: Regenerated.
2189 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
2190 * sysdeps/i386/fpu/libm-test-ulps: Update.
2191 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2192
ab09bf61
AS
21932014-02-18 Andreas Schwab <schwab@suse.de>
2194
2195 [BZ #16574]
2196 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
2197 Store non-zero if the second buffer was newly allocated.
2198 (send_dg): Likewise.
2199 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
2200 to send_vc and send_dg.
2201 (res_nsend): Pass NULL for ansp2_malloced.
2202 * resolv/res_query.c (__libc_res_nquery): Add parameter
2203 answerp2_malloced and pass it down to __libc_res_nsend.
2204 (res_nquery): Pass additional NULL to __libc_res_nquery.
2205 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
2206 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
2207 second answer buffer if answerp2_malloced was set.
2208 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
2209 (__libc_res_nquerydomain): Add parameter
2210 answerp2_malloced and pass it down to __libc_res_nquery.
2211 (res_nquerydomain): Pass additional NULL to
2212 __libc_res_nquerydomain.
2213 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
2214 additional NULL to __libc_res_nsend and __libc_res_nquery.
2215 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
2216 additional NULL to __libc_res_nsearch.
2217 (_nss_dns_gethostbyname4_r): Revert last change. Use new
2218 parameter of __libc_res_nsearch to check for separately allocated
2219 second buffer.
2220 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
2221 __libc_res_nquery.
2222 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
2223 additional NULL to __libc_res_nquery.
2224 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
2225 __libc_res_nsearch.
2226 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
2227 * include/resolv.h: Update prototypes of __libc_res_nquery,
2228 __libc_res_nsearch, __libc_res_nsend.
2229
a4fb7861
JM
22302014-02-18 Joseph Myers <joseph@codesourcery.com>
2231
c6af2d89
JM
2232 * math/auto-libm-test-in: Add tests of fma.
2233 * math/auto-libm-test-out: Regenerated.
2234 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
2235 (fma_towardzero_test_data): Likewise.
2236 (fma_downward_test_data): Likewise.
2237 (fma_upward_test_data): Likewise.
2238 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
2239 mpc_mode.
2240 (rounding_modes): Add values for new field.
2241 (func_calc_method): Add value mpfr_fff_f.
2242 (func_calc_desc): Add mpfr_fff_f union field.
2243 (test_function): Add field exact_args.
2244 (FUNC): Add macro argument EXACT_ARGS.
2245 (FUNC_mpfr_f_f): Update call to FUNC.
2246 (FUNC_mpfr_f_f): Likewise.
2247 (FUNC_mpfr_ff_f): Likewise.
2248 (FUNC_mpfr_if_f): Likewise.
2249 (FUNC_mpc_c_f): Likewise.
2250 (FUNC_mpc_c_c): Likewise.
2251 (test_functions): Add fma. Update calls to FUNC.
2252 (handle_input_arg): Add argument exact_args.
2253 (add_test): Update call to handle_input_arg.
2254 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
2255 (output_for_one_input_case): Update call to calc_generic_results.
2256 Recalculate exact zero results in each rounding mode.
2257
a4fb7861
JM
2258 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
2259 non-negative before setting low bit.
2260 * math/auto-libm-test-in: Mark one asin test possibly having
2261 spurious underflow.
2262 * math/auto-libm-test-out: Regenerated.
2263 * sysdeps/i386/fpu/libm-test-ulps: Update.
2264 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2265
ef114eaf
DH
22662014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
2267
2b7f4f2c
SP
2268 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
2269 * sysdeps/unix/sysv/linux/microblaze: Move directory from
2270 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
2271 * README: Add missing listing for microblaze*-*-linux-gnu.
2272
c70a4b1d
MF
22732014-02-16 Mike Frysinger <vapier@gentoo.org>
2274
2275 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
2276 * sysdeps/unix/sysv/linux/ia64: Move directory from
2277 ports/sysdeps/unix/sysv/linux/ia64.
2278 * README: Update listing for ia64-*-linux-gnu.
2279
591aeaf7
TD
22802014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
2281 Joseph Myers <joseph@codesourcery.com>
2282
2283 * Makeconfig (test-name): New variable.
2284 (evaluate-test): Likewise.
2285 * Makerules (do-test-clean): Remove .test-result files.
2286 (common-mostlyclean): Likewise.
2287 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
2288 * scripts/evaluate-test.sh: New file.
2289
6e89caf1
JM
22902014-02-14 Joseph Myers <joseph@codesourcery.com>
2291
7f98f180
JM
2292 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
2293 separate $(objpfx)tst-fopenloc-cmp.out and
2294 $(objpfx)tst-fopenloc-mem.out targets.
2295 (tests): Update dependencies.
2296 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
2297 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
2298 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
2299 (tst-rxspencer-no-utf8-ARGS): New variable.
2300 (tst-rxspencer-no-utf8-ENV): Likewise.
2301 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
2302 instead of $(objpfx)tst-rxspencer-mem.
2303 ($(objpfx)tst-rxspencer-mem): Change target to
2304 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
2305 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
2306 * posix/tst-rxspencer-no-utf8.c: New file.
2307
6e89caf1
JM
2308 * elf/Makefile ($(objpfx)order.out): Remove rule.
2309 [$(run-built-tests) = yes] (tests): Depend on
2310 $(objpfx)order-cmp.out.
2311 ($(objpfx)order-cmp.out): New rule.
2312 [$(run-built-tests) = yes] (tests): Depend on
2313 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
2314 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
2315 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
2316 $(objpfx)tst-array5-static-cmp.out.
2317 ($(objpfx)tst-array1.out): Remove rule.
2318 ($(objpfx)tst-array1-cmp.out): New rule.
2319 ($(objpfx)tst-array1-static.out): Remove rule.
2320 ($(objpfx)tst-array1-static-cmp.out): New rule.
2321 ($(objpfx)tst-array2.out): Remove rule.
2322 ($(objpfx)tst-array2-cmp.out): New rule.
2323 ($(objpfx)tst-array3.out): Remove rule.
2324 ($(objpfx)tst-array3-cmp.out): New rule.
2325 ($(objpfx)tst-array4.out): Remove rule.
2326 ($(objpfx)tst-array4-cmp.out): New rule.
2327 ($(objpfx)tst-array5.out): Remove rule.
2328 ($(objpfx)tst-array5-cmp.out): New rule.
2329 ($(objpfx)tst-array5-static.out): Remove rule.
2330 ($(objpfx)tst-array5-static-cmp.out): New rule.
2331 [$(run-built-tests) = yes] (tests): Depend on
2332 $(objpfx)order2-cmp.out.
2333 ($(objpfx)order2.out): Remove rule.
2334 ($(objpfx)order2-cmp.out): New rule.
2335 ($(objpfx)tst-initorder.out): Remove rule.
2336 [$(run-built-tests) = yes] (tests): Depend on
2337 $(objpfx)tst-initorder-cmp.out.
2338 ($(objpfx)tst-initorder-cmp.out): New rule.
2339 ($(objpfx)tst-initorder2.out): Remove rule.
2340 [$(run-built-tests) = yes] (tests): Depend on
2341 $(objpfx)tst-initorder2-cmp.out.
2342 ($(objpfx)tst-initorder2-cmp.out): New rule.
2343 [$(run-built-tests) = yes] (tests): Depend on
2344 $(objpfx)tst-unused-dep-cmp.out.
2345 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
2346 ($(objpfx)tst-unused-dep-cmp.out): New rule.
2347 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
2348 on $(objpfx)tst-setvbuf1-cmp.out.
2349 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
2350 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
2351 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
2352 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
2353 ($(objpfx)tst-svc.out): Remove rule.
2354 ($(objpfx)tst-svc-cmp.out): New rule.
2355
ed9a38e2
JM
23562014-02-13 Joseph Myers <joseph@codesourcery.com>
2357
2358 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
2359 * ctype/ctype.h [__USE_MISC]: Likewise.
2360 * dirent/dirent.h [__USE_MISC]: Likewise.
2361 * grp/grp.h [__USE_MISC]: Likewise.
2362 * io/fcntl.h [__USE_MISC]: Likewise.
2363 * io/sys/stat.h [__USE_MISC]: Likewise.
2364 * libio/stdio.h [__USE_MISC]: Likewise.
2365 * posix/unistd.h [__USE_MISC]: Likewise.
2366 * pwd/pwd.h [__USE_MISC]: Likewise.
2367 * stdlib.h [__USE_MISC]: Likewise.
2368 * string/bits/string2.h [__USE_MISC]: Likewise.
2369 * string/string.h [__USE_MISC]: Likewise.
2370 * time/time.h [__USE_MISC]: Likewise.
2371
d6680619
AS
23722014-02-13 Andreas Schwab <schwab@suse.de>
2373
2374 [BZ #16574]
2375 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
2376 second answer buffer if it was separately allocated.
2377
ace614b8
JM
23782014-02-12 Joseph Myers <joseph@codesourcery.com>
2379
743151ae
JM
2380 * sysdeps/mips/math-tests.h: Include <features.h>.
2381 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
2382 (ROUNDING_TESTS_long_double): Do not define.
2383 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
2384 (EXCEPTION_TESTS_long_double): Likewise.
2385 * sysdeps/mips/mips64/libm-test-ulps: Update.
2386
498afc54
JM
2387 * include/features.h (__USE_BSD): Remove macro definitions.
2388 (__USE_SVID): Likewise.
2389 (_BSD_SOURCE): Likewise.
2390 (_SVID_SOURCE): Likewise.
2391 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
2392 from definition of _DEFAULT_SOURCE.
2393 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
2394 [_DEFAULT_SOURCE].
2395 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
2396 * bits/mman.h [__USE_BSD]: Likewise.
2397 * bits/termios.h [__USE_BSD]: Likewise.
2398 * bits/waitstatus.h [__USE_BSD]: Likewise.
2399 * ctype/ctype.h [__USE_SVID]: Likewise.
2400 * dirent/dirent.h [__USE_BSD]: Likewise.
2401 * grp/grp.h [__USE_SVID]: Likewise.
2402 [__USE_BSD]: Likewise.
2403 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
2404 * io/fcntl.h [__USE_BSD]: Likewise.
2405 * io/ftw.h [__USE_BSD]: Likewise.
2406 * io/sys/stat.h [__USE_BSD]: Likewise.
2407 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
2408 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
2409 * libio/stdio.h [__USE_SVID]: Likewise.
2410 [__USE_BSD]: Likewise.
2411 * math/math.h [__USE_SVID]: Likewise.
2412 [__USE_BSD]: Likewise.
2413 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
2414 * misc/bits/syslog.h [__USE_BSD]: Likewise.
2415 * misc/search.h [__USE_SVID]: Likewise.
2416 * misc/sys/mman.h [__USE_BSD]: Likewise.
2417 * misc/sys/syslog.h [__USE_BSD]: Likewise.
2418 * misc/sys/uio.h [__USE_BSD]: Likewise.
2419 * posix/bits/unistd.h [__USE_BSD]: Likewise.
2420 * posix/glob.h [__USE_BSD]: Likewise.
2421 * posix/regex.h [__USE_BSD]: Likewise.
2422 * posix/sys/types.h [__USE_BSD]: Likewise.
2423 [__USE_SVID]: Likewise.
2424 * posix/sys/utsname.h [__USE_SVID]: Likewise.
2425 * posix/sys/wait.h [__USE_BSD]: Likewise.
2426 [__USE_SVID]: Likewise.
2427 * posix/unistd.h [__USE_BSD]: Likewise.
2428 [__USE_SVID]: Likewise.
2429 * pwd/pwd.h [__USE_SVID]: Likewise.
2430 * resolv/netdb.h [__USE_BSD]: Likewise.
2431 * setjmp/setjmp.h [__USE_BSD]: Likewise.
2432 * signal/signal.h [__USE_BSD]: Likewise.
2433 [__USE_SVID]: Likewise.
2434 * socket/sys/socket.h [__USE_BSD]: Likewise.
2435 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
2436 * stdlib/stdlib.h [__USE_BSD]: Likewise.
2437 [__USE_SVID]: Likewise.
2438 * string/bits/string2.h [__USE_BSD]: Likewise.
2439 [__USE_SVID]: Likewise.
2440 * string/bits/string3.h [__USE_BSD]: Likewise.
2441 * string/endian.h [__USE_BSD]: Likewise.
2442 * string/string.h [__USE_SVID]: Likewise.
2443 [__USE_BSD]: Likewise.
2444 * string/strings.h [__USE_BSD]: Likewise.
2445 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
2446 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
2447 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
2448 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
2449 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
2450 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
2451 Likewise.
2452 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
2453 Likewise.
2454 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
2455 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
2456 Likewise.
2457 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
2458 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
2459 Likewise.
2460 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
2461 Likewise.
2462 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
2463 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
2464 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
2465 Likewise.
2466 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
2467 Likewise.
2468 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
2469 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
2470 * termios/termios.h [__USE_BSD]: Likewise.
2471 * time/sys/time.h [__USE_BSD]: Likewise.
2472 * time/time.h [__USE_BSD]: Likewise.
2473 [__USE_SVID]: Likewise.
2474
dd7b064c
JM
2475 * Makefile (subdir_targets): Remove subdir_lint.out.
2476
a2c4c199
JM
2477 * stdio-common/Makefile (do-tst-unbputc): Remove target.
2478 (do-tst-printf): Likewise.
2479 (tests): Depend directly on $(objpfx)tst-unbputc.out and
2480 $(objpfx)tst-printf.out.
2481
8756f740
JM
2482 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
2483
1b6dd3f1
JM
2484 * Makerules (check-abi-%): Change target to
2485 $(objpfx)check-abi-%.out.
2486 (check-abi target): Update dependencies.
2487 (check-abi-pattern variable): Redirect output of diff to $@.
2488 (check-abi variable): Likewise.
2489 * elf/Makefile (check-abi): Update dependencies.
2490
ace614b8
JM
2491 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
2492 unused.
2493 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
2494 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
2495 subnormal range.
2496 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
2497 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
2498 value has largest subnormal exponent.
2499 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
2500 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
2501 * sysdeps/aarch64/soft-fp/sfp-machine.h
2502 (_FP_TININESS_AFTER_ROUNDING): New macro.
2503 * sysdeps/alpha/soft-fp/sfp-machine.h
2504 (_FP_TININESS_AFTER_ROUNDING): Likewise.
2505 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2506 Likewise.
2507 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
2508 (_FP_TININESS_AFTER_ROUNDING): Likewise.
2509 * sysdeps/mips/soft-fp/sfp-machine.h
2510 (_FP_TININESS_AFTER_ROUNDING): Likewise.
2511 * sysdeps/powerpc/soft-fp/sfp-machine.h
2512 (_FP_TININESS_AFTER_ROUNDING): Likewise.
2513 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2514 Likewise.
2515 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
2516 (_FP_TININESS_AFTER_ROUNDING): Likewise.
2517 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
2518 (_FP_TININESS_AFTER_ROUNDING): Likewise.
2519 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2520 Likewise.
2521
fbfdf9cb
DAS
25222014-02-12 Dylan Alex Simon <dylan@dylex.net>
2523
2524 [BZ #16545]
2525 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
2526 model 1.
2527
68b7efaa
RH
25282014-02-12 Richard Henderson <rth@redhat.com>
2529
c70a4b1d 2530 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
2531 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
2532 * sysdeps/unix/sysv/linux/alpha: Move directory from
2533 ports/sysdeps/unix/sysv/linux/alpha.
2534 * README: Update listing for alpha-*-linux-gnu.
2535
cb4a2928
JM
25362014-02-11 Joseph Myers <joseph@codesourcery.com>
2537
c941736c
JM
2538 * include/features.h: Update comment documenting feature test
2539 macros.
2540 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
2541 _DEFAULT_SOURCE.
2542 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
2543 (_SVID_SOURCE): Likewise.
2544 (_DEFAULT_SOURCE): Update description of default features.
2545 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
2546 with _GNU_SOURCE.
2547 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
2548 (S_ISVTX): Likewise.
2549 * manual/math.texi (Mathematical Constants): Likewise.
2550 * manual/signal.texi (Interrupted Primitives): Likewise.
2551 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
2552 * math/test-matherr.c (_SVID_SOURCE): Do not define.
2553 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
2554 Don't refer to _SVID_SOURCE in warning text.
2555
e8d8d7ec
JM
2556 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2557
cb4a2928
JM
2558 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
2559 already defined.
2560 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
2561 * sysdeps/mips/dl-lookup.c: Remove.
2562 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
2563
7e6424e3
AK
25642014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
2565
2566 [BZ #16447]
2567 * math/auto-libm-test-in: Add testcase for expl.
2568 * math/auto-libm-test-out: Regenerate.
2569 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
2570 calculation of unsafe.
2571 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
2572
75eff3fe
MS
25732014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
2574
2575 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
2576 * sysdeps/unix/sysv/linux/aarch64: Move directory from
2577 ports/sysdeps/unix/sysv/linux/aarch64.
2578 * README: Update listing for aarch64*-*-linux-gnu.
2579
d35f1e80
WN
25802014-02-11 Will Newton <will.newton@linaro.org>
2581
2582 * manual/probes.texi (Mathematical Function Probes): Use
2583 "triggered" instead of "hit".
2584
7b3436d4
WN
25852014-02-11 Will Newton <will.newton@linaro.org>
2586
2587 * manual/probes.texi (Internal Probes): Add documentation
2588 of setjmp, longjmp and longjmp_target probes.
2589
b4f12ca3
WN
25902014-02-11 Will Newton <will.newton@linaro.org>
2591
2592 * include/stap-probe.h: Add comment about probe argument
2593 format.
2594
c13a72b7
WN
25952014-02-11 Will Newton <will.newton@linaro.org>
2596
2597 * malloc/mtrace.c (attribute_hidden): Remove unused macro
2598 definition. (tr_where, tr_freehook, tr_mallochook,
2599 tr_reallochook, tr_memalignhook): Use ANSI protoype.
2600
195b8165
DM
26012014-02-11 David S. Miller <davem@davemloft.net>
2602
2603 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
2604 processing int_tests.
2605
2ad7600b
JM
26062014-02-10 Joseph Myers <joseph@codesourcery.com>
2607
2608 * sysdeps/mips: Move directory from ports/sysdeps/mips.
2609 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
2610 * sysdeps/unix/sysv/linux/mips: Move directory from
2611 ports/sysdeps/unix/sysv/linux/mips.
2612 * README: Update listing for mips-*-linux-gnu and
2613 mips64-*-linux-gnu.
2614
73588a72
AS
26152014-02-10 Andreas Schwab <schwab@linux-m68k.org>
2616
2617 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
2618 * sysdeps/unix/sysv/linux/m68k: Move directory from
2619 ports/sysdeps/unix/sysv/linux/m68k.
2620 * README: Update listing for m68k-*-linux-gnu.
2621
4372980f
CM
26222014-02-10 Chris Metcalf <cmetcalf@tilera.com>
2623
2624 * sysdeps/tile: Move directory from ports/sysdeps/tile.
2625 * sysdeps/unix/sysv/linux/generic: Move directory from
2626 ports/sysdeps/unix/sysv/linux/generic.
2627 * sysdeps/unix/sysv/linux/tile: Move directory from
2628 ports/sysdeps/unix/sysv/linux/tile.
2629 * README: Update listing for tile*-*-linux-gnu.
2630
a1ffb40e
OB
26312014-02-10 Ondřej Bílka <neleai@seznam.cz>
2632
2633 * assert/assert.c (__assert_fail_base): Use glibc_likely instead __builtin_expect.
2634 * benchtests/bench-memmem.c (simple_memmem): Likewise.
2635 * catgets/open_catalog.c (__open_catalog): Likewise.
2636 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
2637 * debug/confstr_chk.c: Likewise.
2638 * debug/fread_chk.c (__fread_chk): Likewise.
2639 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
2640 * debug/getgroups_chk.c: Likewise.
2641 * debug/mbsnrtowcs_chk.c: Likewise.
2642 * debug/mbsrtowcs_chk.c: Likewise.
2643 * debug/mbstowcs_chk.c: Likewise.
2644 * debug/memcpy_chk.c: Likewise.
2645 * debug/memmove_chk.c: Likewise.
2646 * debug/mempcpy_chk.c: Likewise.
2647 * debug/memset_chk.c: Likewise.
2648 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
2649 * debug/strcat_chk.c (__strcat_chk): Likewise.
2650 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
2651 * debug/strncat_chk.c (__strncat_chk): Likewise.
2652 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
2653 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
2654 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
2655 * debug/wcpncpy_chk.c: Likewise.
2656 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
2657 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
2658 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
2659 * debug/wcsncpy_chk.c: Likewise.
2660 * debug/wcsnrtombs_chk.c: Likewise.
2661 * debug/wcsrtombs_chk.c: Likewise.
2662 * debug/wcstombs_chk.c: Likewise.
2663 * debug/wmemcpy_chk.c: Likewise.
2664 * debug/wmemmove_chk.c: Likewise.
2665 * debug/wmempcpy_chk.c: Likewise.
2666 * debug/wmemset_chk.c: Likewise.
2667 * dirent/scandirat.c (SCANDIRAT): Likewise.
2668 * dlfcn/dladdr1.c (dladdr1): Likewise.
2669 * dlfcn/dladdr.c (dladdr): Likewise.
2670 * dlfcn/dlclose.c (dlclose_doit): Likewise.
2671 * dlfcn/dlerror.c (__dlerror): Likewise.
2672 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
2673 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
2674 * dlfcn/dlopen.c (dlopen_doit): Likewise.
2675 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
2676 * dlfcn/dlsym.c (dlsym_doit): Likewise.
2677 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
2678 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
2679 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
2680 Likewise.
2681 * elf/dl-conflict.c: Likewise.
2682 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
2683 * elf/dl-dst.h: Likewise.
2684 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
2685 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
2686 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
2687 * elf/dl-init.c (call_init, _dl_init): Likewise.
2688 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
2689 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths,
2690 _dl_map_object_from_fd, open_verify, open_path,
2691 _dl_map_object): Likewise.
2692 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
2693 Likewise.
2694 * elf/dl-minimal.c (__libc_memalign): Likewise.
2695 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
2696 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
2697 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
2698 * elf/dl-sym.c (do_sym): Likewise.
2699 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr, __tls_get_addr,
2700 _dl_tls_get_addr_soft): Likewise.
2701 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
2702 * elf/dl-writev.h (_dl_writev): Likewise.
2703 * elf/ldconfig.c (search_dir): Likewise.
2704 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload,
2705 dl_main): Likewise.
2706 * elf/setup-vdso.h (setup_vdso): Likewise.
2707 * grp/compat-initgroups.c (compat_call): Likewise.
2708 * grp/fgetgrent.c (fgetgrent): Likewise.
2709 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
2710 * grp/putgrent.c (putgrent): Likewise.
2711 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
2712 Likewise.
2713 * hurd/hurdinit.c: Likewise.
2714 * iconvdata/8bit-gap.c (struct): Likewise.
2715 * iconvdata/ansi_x3.110.c : Likewise.
2716 * iconvdata/big5.c : Likewise.
2717 * iconvdata/big5hkscs.c : Likewise.
2718 * iconvdata/cp1255.c: Likewise.
2719 * iconvdata/cp1258.c : Likewise.
2720 * iconvdata/cp932.c : Likewise.
2721 * iconvdata/euc-cn.c: Likewise.
2722 * iconvdata/euc-jisx0213.c : Likewise.
2723 * iconvdata/euc-jp.c: Likewise.
2724 * iconvdata/euc-jp-ms.c : Likewise.
2725 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
2726 * iconvdata/gb18030.c : Likewise.
2727 * iconvdata/gbbig5.c (const): Likewise.
2728 * iconvdata/gbgbk.c: Likewise.
2729 * iconvdata/gbk.c : Likewise.
2730 * iconvdata/ibm1364.c : Likewise.
2731 * iconvdata/ibm930.c : Likewise.
2732 * iconvdata/ibm932.c: Likewise.
2733 * iconvdata/ibm933.c : Likewise.
2734 * iconvdata/ibm935.c : Likewise.
2735 * iconvdata/ibm937.c : Likewise.
2736 * iconvdata/ibm939.c : Likewise.
2737 * iconvdata/ibm943.c: Likewise.
2738 * iconvdata/iso_11548-1.c: Likewise.
2739 * iconvdata/iso-2022-cn.c : Likewise.
2740 * iconvdata/iso-2022-cn-ext.c : Likewise.
2741 * iconvdata/iso-2022-jp-3.c: Likewise.
2742 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
2743 * iconvdata/iso-2022-kr.c : Likewise.
2744 * iconvdata/iso646.c (gconv_end): Likewise.
2745 * iconvdata/iso_6937-2.c : Likewise.
2746 * iconvdata/iso_6937.c : Likewise.
2747 * iconvdata/iso8859-1.c: Likewise.
2748 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
2749 * iconvdata/shift_jisx0213.c : Likewise.
2750 * iconvdata/sjis.c : Likewise.
2751 * iconvdata/t.61.c : Likewise.
2752 * iconvdata/tcvn5712-1.c : Likewise.
2753 * iconvdata/tscii.c: Likewise.
2754 * iconvdata/uhc.c : Likewise.
2755 * iconvdata/unicode.c (gconv_end): Likewise.
2756 * iconvdata/utf-16.c (gconv_end): Likewise.
2757 * iconvdata/utf-32.c (gconv_end): Likewise.
2758 * iconvdata/utf-7.c (base64): Likewise.
2759 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
2760 * iconv/gconv_close.c (__gconv_close): Likewise.
2761 * iconv/gconv_open.c (__gconv_open): Likewise.
2762 * iconv/gconv_simple.c (internal_ucs4_loop_single, ucs4_internal_loop,
2763 ucs4_internal_loop_unaligned, ucs4_internal_loop_single,
2764 internal_ucs4le_loop_single, ucs4le_internal_loop,
2765 ucs4le_internal_loop_unaligned, ucs4le_internal_loop_single): Likewise.
2766 * iconv/iconv.c (iconv): Likewise.
2767 * iconv/iconv_close.c: Likewise.
2768 * iconv/loop.c (SINGLE): Likewise.
2769 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
2770 * include/atomic.h: Likewise.
2771 * inet/inet6_option.c (option_alloc): Likewise.
2772 * intl/bindtextdom.c (set_binding_values): Likewise.
2773 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
2774 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
2775 * intl/localealias.c (read_alias_file): Likewise.
2776 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
2777 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap,
2778 _IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
2779 * libio/fmemopen.c (fmemopen): Likewise.
2780 * libio/iofgets.c (_IO_fgets): Likewise.
2781 * libio/iofgets_u.c (fgets_unlocked): Likewise.
2782 * libio/iofgetws.c (fgetws): Likewise.
2783 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
2784 * libio/iogetdelim.c (_IO_getdelim): Likewise.
2785 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap,
2786 adjust_wide_data, _IO_wfile_seekoff): Likewise.
2787 * locale/findlocale.c (_nl_find_locale): Likewise.
2788 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
2789 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
2790 Likewise.
2791 * locale/setlocale.c (setlocale): Likewise.
2792 * login/programs/pt_chown.c (main): Likewise.
2793 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
2794 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
2795 * malloc/memusage.c (update_data, malloc, realloc, calloc, free,
2796 mmap, mmap64, mremap, munmap): Likewise.
2797 * math/e_exp2l.c: Likewise.
2798 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
2799 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
2800 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
2801 * math/s_catan.c (__catan): Likewise.
2802 * math/s_catanf.c (__catanf): Likewise.
2803 * math/s_catanh.c (__catanh): Likewise.
2804 * math/s_catanhf.c (__catanhf): Likewise.
2805 * math/s_catanhl.c (__catanhl): Likewise.
2806 * math/s_catanl.c (__catanl): Likewise.
2807 * math/s_ccosh.c (__ccosh): Likewise.
2808 * math/s_ccoshf.c (__ccoshf): Likewise.
2809 * math/s_ccoshl.c (__ccoshl): Likewise.
2810 * math/s_cexp.c (__cexp): Likewise.
2811 * math/s_cexpf.c (__cexpf): Likewise.
2812 * math/s_cexpl.c (__cexpl): Likewise.
2813 * math/s_clog10.c (__clog10): Likewise.
2814 * math/s_clog10f.c (__clog10f): Likewise.
2815 * math/s_clog10l.c (__clog10l): Likewise.
2816 * math/s_clog.c (__clog): Likewise.
2817 * math/s_clogf.c (__clogf): Likewise.
2818 * math/s_clogl.c (__clogl): Likewise.
2819 * math/s_csin.c (__csin): Likewise.
2820 * math/s_csinf.c (__csinf): Likewise.
2821 * math/s_csinh.c (__csinh): Likewise.
2822 * math/s_csinhf.c (__csinhf): Likewise.
2823 * math/s_csinhl.c (__csinhl): Likewise.
2824 * math/s_csinl.c (__csinl): Likewise.
2825 * math/s_csqrt.c (__csqrt): Likewise.
2826 * math/s_csqrtf.c (__csqrtf): Likewise.
2827 * math/s_csqrtl.c (__csqrtl): Likewise.
2828 * math/s_ctan.c (__ctan): Likewise.
2829 * math/s_ctanf.c (__ctanf): Likewise.
2830 * math/s_ctanh.c (__ctanh): Likewise.
2831 * math/s_ctanhf.c (__ctanhf): Likewise.
2832 * math/s_ctanhl.c (__ctanhl): Likewise.
2833 * math/s_ctanl.c (__ctanl): Likewise.
2834 * math/w_pow.c: Likewise.
2835 * math/w_powf.c: Likewise.
2836 * math/w_powl.c: Likewise.
2837 * math/w_scalb.c (sysv_scalb): Likewise.
2838 * math/w_scalbf.c (sysv_scalbf): Likewise.
2839 * math/w_scalbl.c (sysv_scalbl): Likewise.
2840 * misc/error.c (error_tail): Likewise.
2841 * misc/pselect.c (__pselect): Likewise.
2842 * nis/nis_callback.c (__nis_create_callback): Likewise.
2843 * nis/nis_call.c (__nisfind_server): Likewise.
2844 * nis/nis_creategroup.c (nis_creategroup): Likewise.
2845 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
2846 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
2847 * nis/nis_getservlist.c (nis_getservlist): Likewise.
2848 * nis/nis_lookup.c (nis_lookup): Likewise.
2849 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
2850 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry,
2851 nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
2852 * nis/nis_xdr.c (xdr_endpoint): Likewise.
2853 * nis/nss_compat/compat-grp.c (getgrent_next_file, internal_getgrnam_r,
2854 internal_getgrgid_r): Likewise.
2855 * nis/nss_compat/compat-initgroups.c (add_group, internal_getgrent_r):
2856 Likewise.
2857 * nis/nss_compat/compat-pwd.c (getpwent_next_file, internal_getpwnam_r,
2858 internal_getpwuid_r): Likewise.
2859 * nis/nss_compat/compat-spwd.c (getspent_next_file,
2860 internal_getspnam_r): Likewise.
2861 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r,
2862 _nss_nis_getaliasbyname_r): Likewise.
2863 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r,
2864 _nss_nis_getntohost_r): Likewise.
2865 * nis/nss_nis/nis-grp.c (internal_nis_setgrent,
2866 internal_nis_getgrent_r, _nss_nis_getgrnam_r, _nss_nis_getgrgid_r):
2867 Likewise.
2868 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent,
2869 internal_nis_gethostent_r, internal_gethostbyname2_r,
2870 _nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r,
2871 _nss_nis_gethostbyname4_r): Likewise.
2872 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r,
2873 initgroups_netid): Likewise.
2874 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
2875 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r,
2876 _nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
2877 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r,
2878 _nss_nis_getprotobynumber_r): Likewise.
2879 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey,
2880 _nss_nis_getsecretkey): Likewise.
2881 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent,
2882 internal_nis_getpwent_r, _nss_nis_getpwnam_r, _nss_nis_getpwuid_r):
2883 Likewise.
2884 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r,
2885 _nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
2886 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r,
2887 _nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
2888 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent, internal_nis_getspent_r,
2889 _nss_nis_getspnam_r): Likewise.
2890 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
2891 Likewise.
2892 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r,
2893 _nss_nisplus_getntohost_r): Likewise.
2894 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r,
2895 _nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
2896 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r,
2897 _nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r): Likewise.
2898 * nis/nss_nisplus/nisplus-initgroups.c (_nss_nisplus_initgroups_dyn):
2899 Likewise.
2900 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r,
2901 _nss_nisplus_getnetbyaddr_r): Likewise.
2902 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r,
2903 _nss_nisplus_getprotobynumber_r): Likewise.
2904 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r,
2905 _nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
2906 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
2907 Likewise.
2908 * nis/nss_nisplus/nisplus-service.c (internal_nisplus_getservent_r,
2909 _nss_nisplus_getservbyname_r, _nss_nisplus_getservbyport_r): Likewise.
2910 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r,
2911 _nss_nisplus_getspnam_r): Likewise.
2912 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist): Likewise.
2913 * nscd/aicache.c (addhstaiX): Likewise.
2914 * nscd/cache.c (cache_search, prune_cache): Likewise.
2915 * nscd/connections.c (register_traced_file, send_ro_fd, handle_request,
2916 nscd_run_prune, nscd_run_worker, fd_ready, main_loop_epoll): Likewise.
2917 * nscd/grpcache.c (addgrbyX): Likewise.
2918 * nscd/hstcache.c (addhstbyX): Likewise.
2919 * nscd/initgrcache.c (addinitgroupsX): Likewise.
2920 * nscd/mem.c (gc, mempool_alloc): Likewise.
2921 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX, addinnetgrX):
2922 Likewise.
2923 * nscd/nscd-client.h (__nscd_acquire_maplock, __nscd_drop_map_ref):
2924 Likewise.
2925 * nscd/nscd_getai.c (__nscd_getai): Likewise.
2926 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
2927 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
2928 Likewise.
2929 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
2930 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
2931 * nscd/nscd_helper.c (__readvall, open_socket,
2932 __nscd_get_mapping, __nscd_get_map_ref): Likewise.
2933 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
2934 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr): Likewise.
2935 * nscd/pwdcache.c (addpwbyX): Likewise.
2936 * nscd/selinux.c (preserve_capabilities): Likewise.
2937 * nscd/servicescache.c (addservbyX): Likewise.
2938 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
2939 * posix/fnmatch.c (fnmatch): Likewise.
2940 * posix/getopt.c (_getopt_internal_r): Likewise.
2941 * posix/glob.c (glob, glob_in_dir): Likewise.
2942 * posix/wordexp.c (exec_comm_child): Likewise.
2943 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r, getanswer_r,
2944 gaih_getanswer_slice): Likewise.
2945 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
2946 * resolv/res_init.c: Likewise.
2947 * resolv/res_mkquery.c (res_nmkquery): Likewise.
2948 * resolv/res_query.c (__libc_res_nquery): Likewise.
2949 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
2950 Likewise.
2951 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
2952 * stdio-common/perror.c (perror): Likewise.
2953 * stdio-common/printf_fp.c (___printf_fp): Likewise.
2954 * stdio-common/tmpnam.c (tmpnam): Likewise.
2955 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
2956 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
2957 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl): Likewise.
2958 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
2959 * stdlib/putenv.c (putenv): Likewise.
2960 * stdlib/setenv.c (__add_to_environ): Likewise.
2961 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
2962 * stdlib/strtol_l.c (INTERNAL): Likewise.
2963 * string/memmem.c (memmem): Likewise.
2964 * string/strerror.c (strerror): Likewise.
2965 * string/strnlen.c (__strnlen): Likewise.
2966 * string/test-memmem.c (simple_memmem): Likewise.
2967 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
2968 * sunrpc/pm_getport.c (__get_socket): Likewise.
2969 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
2970 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
2971 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup,
2972 elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
2973 Likewise.
2974 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
2975 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
2976 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
2977 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
2978 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
2979 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1): Likewise.
2980 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn): Likewise.
2981 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
2982 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
2983 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
2984 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
2985 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
2986 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
2987 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
2988 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
2989 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
2990 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
2991 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
2992 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
2993 Likewise.
2994 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
2995 Likewise.
2996 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
2997 Likewise.
2998 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
2999 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
3000 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
3001 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
3002 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
3003 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
3004 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
3005 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
3006 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
3007 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
3008 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
3009 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3010 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
3011 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
3012 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3013 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Likewise.
3014 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
3015 Likewise.
3016 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
3017 Likewise.
3018 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
3019 Likewise.
3020 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3021 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3022 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
3023 Likewise.
3024 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
3025 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
3026 * sysdeps/posix/opendir.c (__opendirat): Likewise.
3027 * sysdeps/posix/sleep.c: Likewise.
3028 * sysdeps/posix/tempname.c: Likewise.
3029 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
3030 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
3031 Likewise.
3032 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_runtime_setup,
3033 elf_machine_rela): Likewise.
3034 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
3035 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
3036 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
3037 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
3038 Likewise.
3039 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
3040 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup,
3041 elf_machine_rela, elf_machine_lazy_rel): Likewise.
3042 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup,
3043 elf_machine_rela, elf_machine_lazy_rel): Likewise.
3044 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
3045 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
3046 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
3047 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
3048 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
3049 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
3050 elf_machine_lazy_rel): Likewise.
3051 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
3052 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
3053 elf_machine_lazy_rel): Likewise.
3054 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
3055 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
3056 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
3057 * sysdeps/unix/grantpt.c (grantpt): Likewise.
3058 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
3059 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
3060 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
3061 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
3062 Likewise.
3063 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
3064 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
3065 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
3066 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
3067 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
3068 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
3069 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
3070 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
3071 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
3072 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
3073 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
3074 Likewise.
3075 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
3076 (__posix_fallocate64_l64): Likewise.
3077 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
3078 (posix_fallocate): Likewise.
3079 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64): Likewise.
3080 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3081 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request,
3082 getifaddrs_internal): Likewise.
3083 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
3084 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
3085 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
3086 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
3087 * sysdeps/unix/sysv/linux/posix_fallocate64.c
3088 (__posix_fallocate64_l64): Likewise.
3089 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
3090 Likewise.
3091 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
3092 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
3093 Likewise.
3094 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
3095 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
3096 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
3097 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3098 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3099 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
3100 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
3101 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
3102 Likewise.
3103 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
3104 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
3105 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
3106 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
3107 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
3108 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
3109 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
3110 Likewise.
3111 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
3112 (posix_fallocate): Likewise.
3113 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
3114 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
3115 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
3116 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup,
3117 elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel):
3118 Likewise.
3119 * time/asctime.c (asctime_internal): Likewise.
3120 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
3121 * time/tzset.c (__tzset_parse_tz): Likewise.
3122 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
3123 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
3124 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
3125 * wcsmbs/wcsmbsload.h: Likewise.
3126
f3d338c9
OB
31272014-02-10 Ondřej Bílka <neleai@seznam.cz>
3128
3129 [BZ #15894]
3130 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
3131
bdfe308a
OB
31322014-02-10 Ondřej Bílka <neleai@seznam.cz>
3133
3134 * malloc/arena.c (grow_heap, get_free_list, reused_arena,
3135 arena_get2): Remove THREAD_STATS conditionals.
3136 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free,
3137 __malloc_stats, int): Likewise.
3138
d674667c
MF
31392014-02-08 Mike Frysinger <vapier@gentoo.org>
3140
3141 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
3142 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
3143
6349768c
MF
31442014-02-08 Mike Frysinger <vapier@gentoo.org>
3145
3146 * manual/setjmp.texi: Fix typos/grammar errors.
3147
0b7c7473
MF
31482014-02-08 Mike Frysinger <vapier@gentoo.org>
3149
3150 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
3151 Only return early when n is <= 0. Delete unused return statement.
3152
ac8cc9e3
MF
31532014-02-08 Mike Frysinger <vapier@gentoo.org>
3154
3155 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
3156 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
3157 * debug/tst-longjmp_chk3.c: New file.
3158
c5bb8e23
MF
31592014-02-08 Mike Frysinger <vapier@gentoo.org>
3160
3161 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
3162 (test_main): Replace code with set_fortify_handler call.
3163 * debug/test-strcpy_chk.c: Likewise.
3164 * debug/tst-chk1.c: Likewise.
3165 * debug/tst-longjmp_chk.c: Likewise.
3166 * test-skeleton.c: Include fcntl.h & paths.h
3167 (set_fortify_handler): Define.
3168
10444e42
MF
31692014-02-08 Mike Frysinger <vapier@gentoo.org>
3170
3171 * debug/tst-longjmp_chk.c: Add header comment and include
3172 ../test-skeleton.c.
3173 (do_test): Mark static.
3174 (TEST_FUNCTION): Define.
3175
1e805e8d
MF
31762014-02-08 Mike Frysinger <vapier@gentoo.org>
3177
3178 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
3179 (IP_PMTUDISC_INTERFACE): Likewise.
3180 (IP_MULTICAST_IF): Likewise.
3181 (IP_MULTICAST_TTL): Likewise.
3182 (IP_MULTICAST_LOOP): Likewise.
3183 (IP_ADD_MEMBERSHIP): Likewise.
3184 (IP_DROP_MEMBERSHIP): Likewise.
3185 (IP_UNBLOCK_SOURCE): Likewise.
3186 (IP_BLOCK_SOURCE): Likewise.
3187 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
3188 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
3189 (IP_MSFILTER): Likewise.
3190 (MCAST_JOIN_GROUP): Likewise.
3191 (MCAST_BLOCK_SOURCE): Likewise.
3192 (MCAST_UNBLOCK_SOURCE): Likewise.
3193 (MCAST_LEAVE_GROUP): Likewise.
3194 (MCAST_JOIN_SOURCE_GROUP): Likewise.
3195 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
3196 (MCAST_MSFILTER): Likewise.
3197 (IP_MULTICAST_ALL): Likewise.
3198 (IP_UNICAST_IF): Likewise.
3199
73f79bb7
MF
32002014-02-08 Mike Frysinger <vapier@gentoo.org>
3201
3202 * timezone/Makefile: Delete $(have-ksh) check.
3203 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
3204 * timezone/tzselect.ksh: Add +x mode bits.
3205
8da79b60
MF
32062014-02-08 Mike Frysinger <vapier@gentoo.org>
3207
3208 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
3209 (ANON_INODE_FS_MAGIC): Likewise.
3210 (BDEVFS_MAGIC): Likewise.
3211 (BINFMTFS_MAGIC): Likewise.
3212 (BTRFS_TEST_MAGIC): Likewise.
3213 (CRAMFS_MAGIC_WEND): Likewise.
3214 (DEBUGFS_MAGIC): Likewise.
3215 (ECRYPTFS_SUPER_MAGIC): Likewise.
3216 (EXT3_SUPER_MAGIC): Likewise.
3217 (EXT4_SUPER_MAGIC): Likewise.
3218 (FUTEXFS_SUPER_MAGIC): Likewise.
3219 (HOSTFS_SUPER_MAGIC): Likewise.
3220 (HUGETLBFS_MAGIC): Likewise.
3221 (MINIX3_SUPER_MAGIC): Likewise.
3222 (MTD_INODE_FS_MAGIC): Likewise.
3223 (NILFS_SUPER_MAGIC): Likewise.
3224 (OPENPROM_SUPER_MAGIC): Likewise.
3225 (PIPEFS_MAGIC): Likewise.
3226 (PSTOREFS_MAGIC): Likewise.
3227 (QNX6_SUPER_MAGIC): Likewise.
3228 (RAMFS_MAGIC): Likewise.
3229 (REISERFS_SUPER_MAGIC_STRING): Likewise.
3230 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
3231 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
3232 (SECURITYFS_MAGIC): Likewise.
3233 (SELINUX_MAGIC): Likewise.
3234 (SMACK_MAGIC): Likewise.
3235 (SOCKFS_MAGIC): Likewise.
3236 (SQUASHFS_MAGIC): Likewise.
3237 (STACK_END_MAGIC): Likewise.
3238 (TMPFS_MAGIC): Likewise.
3239 (USBDEVICE_SUPER_MAGIC): Likewise.
3240 (V9FS_MAGIC): Likewise.
3241 (XENFS_SUPER_MAGIC): Likewise.
3242 (CRAMFS_MAGIC): Fix typo in comment.
3243 (EXT2_SUPER_MAGIC): Update comment.
3244 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
3245
464263cc
JM
32462014-02-08 Joseph Myers <joseph@codesourcery.com>
3247
c6bfe5c4
JM
3248 * sysdeps/arm: Move directory from ports/sysdeps/arm.
3249 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
3250 * sysdeps/unix/sysv/linux/arm: Move directory from
3251 ports/sysdeps/unix/sysv/linux/arm.
3252 * README: Update listing for arm-*-linux-gnueabi.
3253
464263cc
JM
3254 * README: Remove mention of am33.
3255
32749f6c
RM
32562014-02-07 Roland McGrath <roland@hack.frob.com>
3257
3258 * bits/sigset.h (__sigemptyset): Use a statement expression rather
3259 than the comma operator, to avoid "rhs of comma has no effect"
3260 compiler warnings.
3261 (__sigfillset, __sigandset, __sigorset): Likewise.
3262 * include/signal.h (__sigemptyset): Likewise.
3263 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
3264
d5b396c1
AM
32652014-02-07 Allan McRae <allan@archlinux.org>
3266
3267 * version.h (RELEASE): Set to "development".
3268 (VERSION): Set to "2.19.90"
3269 * NEWS: Add 2.20 section.
3270
3bfff2ed
CD
32712014-02-06 Carlos O'Donell <carlos@redhat.com>
3272
3273 [BZ #16529]
3274 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
3275
ee7cc385
SP
32762014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
3277
3278 * manual/contrib.texi: Update entry for Carlos O'Donell,
3279 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
3280
f877c4f2
CD
32812014-02-05 Carlos O'Donell <carlos@rehdat.com>
3282
27e839f6
CD
3283 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
3284
f877c4f2
CD
3285 * sysdeps/unix/sysv/linux/kernel-features.h
3286 [__LINUX_KERNEL_VERSION >= 0x020621]
3287 (__ASSUME_PROC_PID_TASK_COMM): Define.
3288
68159946
SP
32892014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3290
ba17cdbd
SP
3291 [BZ #16398]
3292 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
3293 conversion when destination buffer does not have enough space.
3294 * libio/tst-ftell-partial-wide.c: New test case.
3295 * libio/Makefile (tests): Add tst-ftell-partial-wide.
3296
68159946
SP
3297 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
3298 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
3299 Leonard and Allan McRae.
3300
2b528732
DM
33012014-02-04 David S. Miller <davem@davemloft.net>
3302
3303 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
3304 32-bit.
3305
0ff82463
AZ
33062014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3307
c01603f7
AZ
3308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist: New
3309 file
3310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
3311 New file
3312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist: New
3313 file.
3314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist: New
3315 file.
3316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
3317 New file.
3318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist: New
3319 file.
3320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist: New
3321 file.
3322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
3323 New file.
3324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
3325 New file.
3326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
3327 New file.
3328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
3329 New file.
3330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
3331 New file.
3332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
3333 New file.
3334
33352014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3336
0ff82463
AZ
3337 * nptl/shlib-versions: Change powerpc*le start to 2.17.
3338 * shlib-versions: Likewise.
3339
1695c773
AZ
33402014-02-04 Roland McGrath <roland@hack.frob.com>
3341 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3342
3343 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
3344 (abilist-pattern): New variable, set to %-le.abilist.
3345
3346 * Makerules (abilist-pattern): New variable.
3347 (vpath): Use $(abilist-pattern) in place of %.abilist.
3348 (check-abi-% pattern rule): Likewise.
3349 (check-abi, update-abi): Likewise.
3350
6c0ce4b4
EW
33512014-02-04 Eric Wong <normalperson@yhbt.net>
3352
3353 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3354
dc98b8f5
EW
33552014-02-04 Eric Wong <normalperson@yhbt.net>
3356
3357 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3358
481e3524
CD
33592014-02-03 Carlos O'Donell <carlos@redhat.com>
3360
3361 * manual/startup.texi: Add next, previous, and top entries for
3362 the `Program Arguments' and `Environment Variables' nodes.
3363
375592d3
AO
33642014-02-03 Alexandre Oliva <aoliva@redhat.com>
3365
3366 * manual/macros.texi: Add comments before MTASC-safety macros.
3367
f54838ba
AO
3368 * manual/users.texi: Document MTASC-safety properties.
3369
909e12ad
AO
3370 * manual/threads.texi (pthread_key_create, pthread_key_delete,
3371 pthread_getspecific, pthread_setspecific): Format with
3372 @deftypefun, and add @safety note.
3373 * manual/signal.texi: Move comments that analyze the above
3374 functions to their home place.
3375
fd3daba4
AM
33762014-02-03 Allan McRae <allan@archlinux.org>
3377
3378 * po/sl.po: Update Slovenian translation from translation project.
3379
597636d7
AO
33802014-02-02 Alexandre Oliva <aoliva@redhat.com>
3381
3382 * manual/time.texi (timegm): Add missing blank after @c.
3383 Reported by Joseph Myers <joseph@codesourcery.com>.
3384
ee196e3c
AO
33852014-02-01 Alexandre Oliva <aoliva@redhat.com>
3386
3387 * manual/check-safety.sh: New.
3388 * manual/Makefile ($(objpfx)stamp-summary): Run it.
3389
f8d529d5
AO
3390 * manual/terminal.texi: Document MTASC-safety properties.
3391
de55fdf4
AO
3392 * manual/filesys.texi: Document MTASC-safety properties.
3393
c3299c08
AO
3394 * manual/errno.texi: Document MTASC-safety properties.
3395
06e90b14
AO
3396 * manual/intro.texi: Document safety identifiers and
3397 conditionals.
3398
1acd4371
AO
3399 * manual/string.texi (wcstok): Fix prototype.
3400 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
3401
23e5b8cb
AO
3402 * manual/time.texi: Document MTASC-safety properties.
3403
11087373
AO
3404 * manual/string.texi: Document MTASC-safety properties.
3405
5da2c93d
AO
3406 * manual/threads.texi: Document MTASC-safety properties.
3407
171e9210
AO
3408 * manual/stdio.texi: Document MTASC-safety properties.
3409
d9e02532
AO
3410 * manual/syslog.texi: Document MTASC-safety properties.
3411
6af8bab7
AO
3412 * manual/sysinfo.texi: Document MTASC-safety properties.
3413
663b02d7
AO
3414 * manual/startup.texi: Document MTASC-safety properties.
3415
973f180b
AO
3416 * manual/socket.texi: Document MTASC-safety properties.
3417
8f3c25c8
AO
3418 * manual/signal.texi: Document MTASC-safety properties.
3419
542210fb
AO
34202014-01-31 Alexandre Oliva <aoliva@redhat.com>
3421
3422 * manual/setjmp.texi: Document MTASC-safety properties.
3423
433c45a2
AO
3424 * manual/search.texi: Document MTASC-safety properties.
3425
c8ce789c
AO
3426 * manual/resource.texi: Document MTASC-safety properties.
3427
19f5d29c
AO
3428 * manual/process.texi: Document MTASC-safety properties.
3429
e2dfb7f4
AO
3430 * manual/platform.texi: Document MTASC-safety properties.
3431
8c1413f5
AO
3432 * manual/pipe.texi: Document MTASC-safety properties.
3433
03483ada
AO
3434 * manual/pattern.texi: Document MTASC-safety properties.
3435
29e7e2df
AO
3436 * manual/message.texi: Document MTASC-safety properties.
3437
9f529d7c
AO
3438 [BZ #12751]
3439 * manual/memory.texi: Document MTASC-safety properties.
3440
27aaa791
AO
3441 * manual/math.texi: Document MTASC-safety properties.
3442
f2d58726
AO
3443 * manual/locale.texi: Document MTASC-safety properties.
3444
2cc3615c
AO
3445 * manual/llio.texi: Document MTASC-safety properties.
3446
d9f0ec97
AO
3447 * manual/libdl.texi: New.
3448
e7c4409a
AO
3449 * manual/lang.texi: Document MTASC-safety properties.
3450
27bdc63c
AO
3451 * manual/job.texi: Document MTASC-safety properties.
3452
a7b90ea9
AO
3453 * manual/getopt.texi: Document MTASC-safety properties.
3454
c49130e3
AO
3455 * manual/ctype.texi: Document MTASC-safety properties.
3456
0d23a5c1
MR
34572014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
3458
3459 [BZ #16046]
3460 * csu/libc-tls.c (static_map): Remove variable.
3461 (__libc_setup_tls): Use main executable's link map for TLS data.
3462 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
3463 casing for LM_ID_BASE and GL(dl_nns).
3464 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
3465 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
3466 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
3467 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
3468 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
3469 member.
3470 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
3471 l_phnum members.
3472
0037bb60
AO
34732014-01-30 Alexandre Oliva <aoliva@redhat.com>
3474
3475 * manual/debug.texi: Document MTASC-safety properties.
3476
409e00bd
L
34772014-01-29 H.J. Lu <hongjiu.lu@intel.com>
3478
3479 [BZ #16510]
3480 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
3481 of __x86_64__ when disabling x87 inline functions.
3482
86e60666
AO
34832014-01-29 Alexandre Oliva <aoliva@redhat.com>
3484
3485 * manual/charset.texi: Document MTASC-safety properties.
3486
76167637
AO
3487 * manual/crypt.texi: Document MTASC-safety properties.
3488
e567f2a0
AO
3489 * manual/conf.texi: Document MTASC-safety properties.
3490
b719dafd
AO
3491 * manual/arith.texi: Document MTASC-safety properties.
3492
4a16c662
AO
3493 * manual/argp.texi: Document MTASC-safety properties.
3494
0a57b83e
AO
3495 * manual/macros.texi: Introduce macros to document multi
3496 thread, asynchronous signal and asynchronous cancellation
3497 safety properties.
3498 * manual/intro.texi: Introduce the properties themselves.
3499
feab2397
KK
35002014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3501
3502 * sysdeps/sh/sh4/Makefile: New file.
3503
1c0d11bc
AS
35042014-01-27 Andreas Schwab <schwab@linux-m68k.org>
3505
3506 * math/gen-libm-test.pl ($srcdir): New variable.
3507 ($auto_input): Use it.
3508
af37a8a3
SP
35092014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3510
d7b00f98
SP
3511 [BZ #16506]
3512 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
3513 access beyond array bounds when parsing netgroups file.
3514
af37a8a3
SP
3515 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
3516 the old buffer before realloc.
3517
0c00f062
AM
35182014-01-27 Allan McRae <allan@archlinux.org>
3519
3520 * po/fr.po: Update French translation from translation project.
3521
7d69a1b0
KK
35222014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3523
3524 * sysdeps/sh/libm-test-ulps: Regenerate.
3525
6e697ff7
DM
35262014-01-24 David S. Miller <davem@davemloft.net>
3527
3528 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
3529
9cadb35c
KK
35302014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3531
3532 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
3533 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
3534
5d41dadf
SP
35352013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3536
3537 [BZ #16474]
3538 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
3539 string pointers after reallocation.
3540
0bad441c
KK
35412014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3542
3543 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
3544 __SH4A__ instead of __SH_FPU_ANY__.
3545
7007c661
KK
35462014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3547
3548 * sysdeps/sh/fpu_control.h: New file.
3549 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
3550 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
3551 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
3552 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
3553 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
3554 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
3555 * sysdeps/sh/sys/ucontext.h: Remove.
3556 * sysdeps/sh/sys: Remove directory.
3557
0f0c35e4
AK
35582014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3559
3560 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
3561 s390/sys/ucontext.h.
3562 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
3563 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
3564
4959e284
L
35652014-01-20 H.J. Lu <hongjiu.lu@intel.com>
3566
3567 [BZ #15605]
3568 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
3569
d98720e0
AZ
35702014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3571
3572 [BZ#16431]
3573 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
3574 Adjust the vDSO correctly for internal calls.
3575 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
3576
91cbd0bc
AM
35772014-01-20 Allan McRae <allan@archlinux.org>
3578
3579 * po/ca.po: Update Catalan translation from translation project.
3580
7a02cfad
MF
35812014-01-16 Mike Frysinger <vapier@gentoo.org>
3582
3583 * sysdeps/s390/sotruss-lib.c: New file.
3584
736c304a
AZ
35852014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3586
3587 [BZ#16430]
6e077ee5 3588 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
3589 (__GI___gettimeofday): Alias for a different internal symbol to avoid
3590 local calls issues by not having a PLT stub required for IFUNC calls.
3591 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
3592
94d0cea0
JM
35932014-01-16 Joseph Myers <joseph@codesourcery.com>
3594
3595 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
3596 * math/test-fpucw-static.c: Likewise.
3597
980cb518
SP
35982013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3599
3600 [BZ #16453]
3601 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
3602
2393fc01
AZ
36032014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3604
3605 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
3606 implementation for powerpc.
3607
d359bcc2
OB
36082014-01-15 Ondřej Bílka <neleai@seznam.cz>
3609
3610 [BZ #14782]
3611 * sysdeps/posix/system.c (__libc_system): Do not enable
3612 asynchronous cancellation.
3613
7beb48cb
AK
36142014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3615
3616 [BZ #16427]
3617 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
3618 handling only for numbers special also in the IEEE case.
3619
c20d5bf5
AK
36202014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3621
3622 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3623
e83bd4ee
AM
36242014-01-11 Allan McRae <allan@archlinux.org>
3625
76d0ea69
AM
3626 * po/bg.po: Update Bulgarian translation from translation project.
3627
e83bd4ee
AM
3628 * po/de.po: Update German translation from translation project.
3629
bc2ba20a
RM
36302014-01-10 Roland McGrath <roland@hack.frob.com>
3631
3632 * sysdeps/generic/gcc-compat.h: New file.
3633
649ecea2
SP
36342014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3635
3636 * benchtests/asin-inputs: Correct slow inputs.
3637 * benchtests/acos-inputs: Likewise.
3638
1b19c006
AM
36392014-01-10 Allan McRae <allan@archlinux.org>
3640
a46dab08
AM
3641 * po:sv.po: Update Swedish translation from translation project.
3642
421df74a
AM
3643 * po/vi.po: Update Vietnamese translation from translation project.
3644
d61c51a7
AM
3645 * po/eo.po: Update Esperanto translation from translation project.
3646
0339a319
AM
3647 * po/cs.po: Update Czech translation from translation project.
3648
94ad3e99
AM
3649 * po/nl.po: Update Dutch translation from translation project.
3650
e349ca71
AM
3651 * po/pl.po: Update Polish translation from translation project.
3652
ddf930c1
AM
3653 * po/ru.po: Update Russian translation from translation project.
3654
1b19c006
AM
3655 * po/uk.po: Update Ukrainian translation from translation project.
3656
9f236c49
BM
36572014-01-08 Brooks Moses <bmoses@google.com>
3658
3659 * elf/dl-load.c: Fix comment typo.
3660
cd6701cf
CD
36612014-01-08 Carlos O'Donell <carlos@redhat.com>
3662
3663 * po/header.pot: Rename to...
3664 * po/pot.header: ... this.
3665 * po/Makefile: Use pot.header.
3666
66671c84
YK
36672014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
3668 Maxim Kuvyrkov <maxim@kugelworks.com>
3669
3670 [BZ #16394]
cd6701cf
CD
3671 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
3672 SRC and DEST against LEN.
66671c84 3673
38f34581
AZ
36742014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3675
3676 [BZ #16414]
3677 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
3678 implementation.
3679 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
3680
36812014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
3682
3683 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3684
4c327f2a
JM
36852014-01-08 Joseph Myers <joseph@codesourcery.com>
3686
3687 [BZ #16408]
3688 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
3689 for large positive arguments.
3690
b821f414
JM
36912014-01-07 Joseph Myers <joseph@codesourcery.com>
3692
1f0f2067
JM
3693 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
3694
a5a326f6
JM
3695 * math/auto-libm-test-in: Mark various tests with
3696 xfail-rounding:ldbl-128ibm.
3697 * math/auto-libm-test-out: Regenerated.
3698
b821f414
JM
3699 [BZ #16407]
3700 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
3701 Increase overflow threshold.
3702
94c8a4bc
OB
37032014-01-07 Ondřej Bílka <neleai@seznam.cz>
3704
3705 [BZ #14286]
3706 * stdio-common/vfprintf.c: Check for integer overflow.
3707
87ded0c3
AK
37082014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3709
3710 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
3711 the first argument and return value of __tls_get_addr_internal.
3712
c5eebdd0
AK
37132014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3714
3715 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
3716 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
3717
05d138ef
AK
37182014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3719
3720 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
3721 * sysdeps/s390/rtld-global-offsets.sym: New file.
3722 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
3723 GLIBC_2.19 symbol.
3724 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
3725 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
3726 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
3727 ... this.
3728 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
3729 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
3730 ... this.
3731 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
3732 Regenerate.
3733 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
3734 Regenerate.
3735 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
3736 halfs of GPRs for high_gprs contexts.
3737 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
3738 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
3739 field.
3740 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
3741 uc_flags field.
3742 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
3743 64 bit versions:
3744 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
3745 for high GPRs (uc_high_gprs) and for future extensions
3746 (__reserved).
3747 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
3748 for future extensions (__reserved).
3749 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
3750 64 bit versions:
3751 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
3752 SC_HIGHGPRS offset definition.
3753 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
3754 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
3755
93a45ff1
AK
37562014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3757
3758 * Versions.def: Add GLIBC_2.19 for libpthread.
3759 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
3760 siglongjmp for libpthread with GLIBC_2.19 symver.
3761 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
3762 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
3763 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
3764 * sysdeps/s390/__longjmp.c: New file.
3765 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
3766 * sysdeps/s390/longjmp.c: New file.
3767 * sysdeps/s390/setjmp.S: New file.
3768 * sysdeps/s390/sigjmp.S: New file.
3769 * sysdeps/s390/v1-longjmp.c: New file.
3770 * sysdeps/s390/v1-setjmp.h: New file.
3771 * sysdeps/s390/v1-sigjmp.c: New file.
3772 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
3773 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
3774 GLIBC_2.19 version.
3775 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
3776 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
3777 versioned symbols for ____longjmp_chk.
3778 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
3779 Likewise.
3780 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
3781 Regenerate.
3782 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3783 Regenerate.
3784 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
3785 Regenerate.
3786 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3787 Regenerate.
3788 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
3789 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
3790 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
3791 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
3792 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
3793 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
3794 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
3795 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
3796 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
3797 * sysdeps/s390/rtld-__longjmp.c: New file.
3798 * sysdeps/s390/rtld-setjmp.S: New file.
3799
eb3fc44b
JM
38002014-01-06 Joseph Myers <joseph@codesourcery.com>
3801
3802 [BZ #16400]
3803 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
3804 Return -__logl (x) for small positive arguments without evaluating
3805 a polynomial.
3806
9341dde4
MF
38072014-01-06 Mike Frysinger <vapier@gentoo.org>
3808
3809 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
3810 Rename to ...
3811 (__ptrace_peeksiginfo_args): ... this.
3812 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
3813 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
3814 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
3815
4cff0293
AM
38162014-01-06 Allan McRae <allan@archlinux.org>
3817
3818 * inet/netinet/in.h: Fix typo in comment.
3819
75595dcf
AJ
38202014-01-05 Andreas Jaeger <aj@suse.de>
3821
3822 * sysdeps/i386/fpu/libm-test-ulps: Update.
3823
79c1e109
AM
38242014-01-05 Allan McRae <allan@archlinux.org>
3825
dd804818
AM
3826 * po/libc.pot: Regenerated.
3827
79c1e109
AM
3828 * malloc/memusagestat.c: Fix gettext call formatting.
3829
0c813d1f
SK
38302014-01-04 Sami Kerola <kerolasa@iki.fi>
3831
3832 * nscd/nscd.c: Improve usage() output.
3833
20f4a8d9
MF
38342014-01-04 Mike Frysinger <vapier@gentoo.org>
3835
3836 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
3837 * sysdeps/unix/sysv/linux/configure: Regenerated.
3838 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
3839 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
3840
22562bb2
JM
38412014-01-03 Joseph Myers <joseph@codesourcery.com>
3842
3843 [BZ #16390]
3844 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
3845 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
3846
d7ad2d9b
AZ
38472014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3848
3849 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
3850 extra tokens at end of #undef directive.
3851 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
3852 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
3853 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
3854
7dd009d8
JM
38552014-01-03 Joseph Myers <joseph@codesourcery.com>
3856
24db925a
JM
3857 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
3858
7dd009d8
JM
3859 * math/auto-libm-test-in: Mark various tests with
3860 xfail-rounding:ldbl-128ibm.
3861 * math/auto-libm-test-out: Regenerated.
3862
396e3ecf
JM
38632014-01-02 Joseph Myers <joseph@codesourcery.com>
3864
819e5d50
JM
3865 [BZ #16386]
3866 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
3867 numbers with subnormal high part when calculating exponent.
3868
90b6a1e5
JM
3869 [BZ #16385]
3870 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
3871 fabs.
3872
396e3ecf
JM
3873 [BZ #16384]
3874 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
3875 M_LN2l.
3876 (__ieee754_acoshl): Use __log1pl not __log1p.
3877
6c8dbf00
OB
38782013-01-02 Ondřej Bílka <neleai@seznam.cz>
3879
3880 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
3881 ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
3882 __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
3883 heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
3884 Convert to GNU style.
3885 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
3886 mem2mem_check, mem2chunk_check, top_check, realloc_check,
3887 memalign_check, __malloc_set_state): Likewise.
3888 * malloc/mallocbug.c (main): Likewise.
3889 * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
3890 do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
3891 mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
3892 _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
3893 musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
3894 * malloc/malloc.h: Likewise.
3895 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
3896 memalignhook, reallochook, mabort): Likewise.
3897 * malloc/mcheck.h: Likewise.
3898 * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
3899 mmap64, mremap, munmap, dest): Likewise.
3900 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
3901 * malloc/morecore.c (__default_morecore): Likewise.
3902 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
3903 * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
3904 _obstack_allocated_p, obstack_free, _obstack_memory_used,
3905 print_and_abort): Likewise.
3906 * malloc/obstack.h: Likewise.
3907 * malloc/set-freeres.c (__libc_freeres): Likewise.
3908 * malloc/tst-mallocstate.c (main): Likewise.
3909 * malloc/tst-mtrace.c (main): Likewise.
3910 * malloc/tst-realloc.c (do_test): Likewise.
3911
d4124212
SP
39122013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3913
9a3c6a6f
SP
3914 [BZ #16366]
3915 * nscd/netgroupcache.c (do_notfound): New function.
3916 (addgetnetgrentX): Use it.
3917
d4124212
SP
3918 [BZ # 16365]
3919 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
3920 NSS_STATUS_NOTFOUND.
3921
97b9a009
JM
39222014-01-01 Joseph Myers <joseph@codesourcery.com>
3923
3924 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
3925 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3926
d4697bc9
AM
39272014-01-01 Allan McRae <allan@archlinux.org>
3928
ddb3687f
AM
3929 * scripts/update-copyrights: Update configure input file suffix.
3930
88726d48
AM
3931 * NEWS: Update copyright year.
3932 * catgets/gencat.c: Likewise.
3933 * csu/version.c: Likewise.
3934 * debug/catchsegv.sh: Likewise.
3935 * debug/pcprofiledump.c: Likewise.
3936 * debug/xtrace.sh: Likewise.
3937 * elf/ldconfig.c: Likewise.
3938 * elf/ldd.bash.in: Likewise.
3939 * elf/pldd.c: Likewise.
3940 * elf/sotruss.ksh: Likewise.
3941 * elf/sprof.c: Likewise.
3942 * iconv/iconv_prog.c: Likewise.
3943 * iconv/iconvconfig.c: Likewise.
3944 * locale/programs/locale.c: Likewise.
3945 * locale/programs/localedef.c: Likewise.
3946 * login/programs/pt_chown.c: Likewise.
3947 * malloc/memusage.sh: Likewise.
3948 * malloc/memusagestat.c: Likewise.
3949 * malloc/mtrace.pl: Likewise.
3950 * manual/libc.texinfo: Likewise.
3951 * nscd/nscd.c: Likewise.
3952 * nss/getent.c: Likewise.
3953 * nss/makedb.c: Likewise.
3954 * posix/getconf.c: Likewise.
3955 * scripts/test-installation.pl: Likewise.
3956
d4697bc9
AM
3957 * All files with FSF copyright notices: Update copyright dates
3958 using scripts/update-copyrights.
3959 * intl/plural.c: Regenerated.
3960 * locale/programs/charmap-kw.h: Likewise.
3961 * locale/programs/locfile-kw.h: Likewise.
3962
c8590f9d
MF
39632013-12-31 Mike Frysinger <vapier@gentoo.org>
3964
3965 * sysdeps/unix/sysv/linux/configure: Regenerated.
3966 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
3967 the linux/fanotify.h header.
3968 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
3969 HAVE_LINUX_FANOTIFY_H is defined.
3970
b19221b9
SP
39712013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
3972
dd1d85e5
SP
3973 * benchtests/cos-inputs: New inputs.
3974 * benchtests/sin-inputs: Likewise.
3975
1acbb90f
SP
3976 * benchtests/atan-inputs: New inputs. Fix name of multiple
3977 precision fallback inputs.
3978
4c012ed3
SP
3979 * benchtests/atanh-inputs: New inputs.
3980 * benchtests/tanh-inputs: Likewise.
3981
eff98324
SP
3982 * benchtests/acosh-inputs: New inputs.
3983 * benchtests/asinh-inputs: Likewise.
3984
ce641152
SP
3985 * benchtests/cosh-inputs: New inputs.
3986 * benchtests/sinh-inputs: Likewise.
3987
b19221b9
SP
3988 * benchtests/acos-inputs: Add more inputs.
3989 * benchtests/asin-inputs: Likewise.
3990
030a4976 39912013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 3992
030a4976 3993 [BZ #16375]
9dcc8f11
VS
3994 * manual/arith.texi: Fix spelling.
3995 * manual/charset.texi: Likewise.
3996 * manual/errno.texi: Likewise.
3997 * manual/filesys.texi: Likewise.
3998 * manual/lang.texi: Likewise.
3999 * manual/llio.texi: Likewise.
4000 * manual/locale.texi: Likewise.
4001 * manual/message.texi: Likewise.
4002 * manual/resource.texi: Likewise.
4003 * manual/search.texi: Likewise.
4004 * manual/setjmp.texi: Likewise.
4005 * manual/stdio.texi: Likewise.
4006 * manual/string.texi: Likewise.
4007 * manual/sysinfo.texi: Likewise.
4008 * manual/time.texi: Likewise.
4009
11520a57
CD
40102013-12-27 Carlos O'Donell <carlos@redhat.com>
4011
4012 * po/sl.po: New file.
4013
471103ae
MF
40142013-12-27 Mike Frysinger <vapier@gentoo.org>
4015
4016 * .gitignore: Add core/.gdbinit/.gdb_history.
4017
6c9642ed
AM
40182013-12-27 Allan McRae <allan@archlinux.org>
4019
4020 [BZ #16369]
4021 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
4022 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
4023
3f637079
BM
40242013-12-24 Brooks Moses <bmoses@google.com>
4025
4026 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
4027 all compilers that claim C++98 compliance, not just GCC.
4028 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
4029 Likewise.
4030
abc26e99
MK
40312013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
4032
4033 * NEWS: Restore accidentally deleted bug-fix entries.
4034
362b47fe
MK
40352013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
4036 Ondřej Bílka <neleai@seznam.cz>
4037
4038 [BZ #15073]
4039 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 4040 have_lock.
362b47fe 4041
b9bcbbcb
OB
40422013-12-23 Ondřej Bílka <neleai@seznam.cz>
4043
4044 [BZ #12986]
4045 * manual/stdio.texi (String Input Conversions): Clarify that character
4046 classes are not supported.
4047
fb55fcd2
AZ
40482013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4049
4050 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4051
ef7344f0
JM
40522013-12-22 Joseph Myers <joseph@codesourcery.com>
4053
4f40e4b3
JM
4054 [BZ #16337]
4055 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
4056 Calculate results for small negative arguments directly rather
4057 than using reflection formula with special underflow handling.
4058
ef7344f0
JM
4059 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
4060 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
4061 sysdeps/unix/bsd/bsd4.4/syscalls.list.
4062 (fchflags): Likewise.
4063 (revoke): Likewise.
4064 (setlogin): Likewise.
4065 (sigaltstack): Likewise.
4066 (wait4): Likewise.
4067 (sigblock): Remove.
4068 (sigsetmask): Likewise.
4069 (wait3): Likewise.
4070 (waitpid): Likewise.
4071 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
4072 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
4073 file.
4074 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
4075 * sysdeps/unix/bsd/Makefile: ... here.
4076 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
4077 * sysdeps/unix/bsd/Versions: ... here.
4078 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
4079 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
4080 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
4081 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
4082 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
4083 * sysdeps/unix/bsd/sigblock.c: ... here.
4084 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
4085 * sysdeps/unix/bsd/sigsetmask.c: ... here.
4086 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
4087 * sysdeps/unix/bsd/sigvec.c: ... here.
4088 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
4089 * sysdeps/unix/bsd/tcdrain.c: ... here.
4090 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
4091 * sysdeps/unix/bsd/tcgetattr.c: ... here.
4092 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
4093 * sysdeps/unix/bsd/tcsetattr.c: ... here.
4094 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
4095 * sysdeps/unix/bsd/wait.c: ... here.
4096 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
4097 * sysdeps/unix/bsd/wait3.c: ... here.
4098 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
4099 * sysdeps/unix/bsd/waitpid.c: ... here.
4100
5b0626b9
JM
41012013-12-21 Joseph Myers <joseph@codesourcery.com>
4102
4103 [BZ #16356]
4104 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
4105 round-to-nearest for [!USE_AS_EXPM1L].
4106 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
4107 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
4108 more tests of exp and exp10. Expect some exp10 tests to miss
4109 exceptions or fail in directed rounding modes.
4110 * math/auto-libm-test-out: Regenerated.
4111 * math/libm-test.inc (exp10_tonearest_test_data): New array.
4112 (exp10_test_tonearest): New function.
4113 (exp10_towardzero_test_data): New array.
4114 (exp10_test_towardzero): New function.
4115 (exp10_downward_test_data): New array.
4116 (exp10_test_downward): New function.
4117 (exp10_upward_test_data): New array.
4118 (exp10_test_upward): New function.
4119 (main): Call the new functions.
4120 * sysdeps/i386/fpu/libm-test-ulps: Update.
4121 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4122
7fda5682
JM
41232013-12-20 Joseph Myers <joseph@codesourcery.com>
4124
31e3a405
JM
4125 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
4126 asinh, atan, atan2, atanh, cbrt, cos and cosh.
4127 * math/auto-libm-test-out: Regenerated.
4128 * math/libm-test.inc (acosh_test_data): Add more tests.
4129 (atanh_test_data): Likewise.
4130 (ceil_test_data): Likewise.
4131 (copysign_test_data): Likewise.
4132 * sysdeps/i386/fpu/libm-test-ulps: Update.
4133 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4134
85bff96a
JM
4135 * timezone/checktab.awk: Update from tzcode 2013i.
4136 * timezone/private.h: Likewise.
4137 * timezone/scheck.c: Likewise.
4138 * timezone/tzfile.h: Likewise.
4139 * timezone/tzselect.ksh: Likewise.
4140 * timezone/zdump.c: Likewise.
4141 * timezone/zic.c: Likewise.
4142
b7867a3b
JM
4143 * math/auto-libm-test-in: Add tests of cpow.
4144 * math/auto-libm-test-out: Regenerated.
4145 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
4146 * * math/gen-auto-libm-tests.c (func_calc_method): Add value
4147 mpc_cc_c.
4148 (func_calc_desc): Add mpc_cc_c union field.
4149 (test_functions): Add cpow.
4150 (special_fill_2pi): New function.
4151 (special_real_inputs): Add 2pi.
4152 (calc_generic_results): Handle mpc_cc_c.
4153 * sysdeps/i386/fpu/libm-test-ulps: Update.
4154 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4155
7fda5682
JM
4156 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
4157 csqrt, ctan and ctanh.
4158 * math/auto-libm-test-out: Regenerated.
4159 * math/libm-test.inc (TEST_COND_x86_64): New macro.
4160 (TEST_COND_x86): Likewise.
4161 (ccos_test_data): Use AUTO_TESTS_c_c.
4162 (ccosh_test_data): Likewise.
4163 (cexp_test_data): Likewise.
4164 (clog_test_data): Likewise.
4165 (csqrt_test_data): Likewise.
4166 (ctan_test_data): Likewise.
4167 (ctan_tonearest_test_data): Likewise.
4168 (ctan_towardzero_test_data): Likewise.
4169 (ctan_downward_test_data): Likewise.
4170 (ctan_upward_test_data): Likewise.
4171 (ctanh_test_data): Likewise.
4172 (ctanh_tonearest_test_data): Likewise.
4173 (ctanh_towardzero_test_data): Likewise.
4174 (ctanh_downward_test_data): Likewise.
4175 (ctanh_upward_test_data): Likewise.
4176 * math/gen-auto-libm-tests.c (func_calc_method): Add value
4177 mpc_c_c.
4178 (func_calc_desc): Add mpc_c_c union field.
4179 (FUNC_mpc_c_c): New macro.
4180 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
4181 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
4182 ctanh.
4183 (special_fill_min_subnorm_p120): New function.
4184 (special_real_inputs): Add min_subnorm_p120.
4185 (calc_generic_results): Handle mpc_c_c.
4186 * sysdeps/i386/fpu/libm-test-ulps: Update.
4187 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4188
5ff8d60e
SP
41892013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
4190
392dd2de
SP
4191 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
4192 do_sin_slow): New functions.
4193 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
4194 cslow2, csloww1, csloww2): Use the new functions.
4195
84ba214c
SP
4196 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
4197 Use M to change sign of result instead of X. Assume X is
4198 positive.
4199 (csloww1): Likewise.
4200 (__sin): Adjust.
4201 (__cos): Adjust.
4202
975195e4
SP
4203 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
4204 arguments A and DA.
4205 (__sin): Adjust.
4206 (__cos): Likewise.
4207
5ff8d60e
SP
4208 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
4209 (__cos): Likewise.
4210 (sloww1): Don't adjust sign of DX.
4211 (csloww1): Likewise.
4212 (sloww2): Use X directly and don't adjust sign of DX.
4213 (csloww2): Likewise.
4214
eb983568
JM
42152013-12-19 Joseph Myers <joseph@codesourcery.com>
4216
64a17f1a
JM
4217 * math/auto-libm-test-in: Add tests of cabs and carg.
4218 * math/auto-libm-test-out: Regenerated.
4219 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
4220 (carg_test_data): Likewise.
4221 * math/gen-auto-libm-tests.c (func_calc_method): Add value
4222 mpc_c_f.
4223 (func_calc_desc): Add mpc_c_f union field.
4224 (test_functions): Add cabs and carg.
4225 (calc_generic_results): Handle mpc_c_f.
4226
eb983568
JM
4227 * sysdeps/powerpc/powerpc32/libgcc-compat.S
4228 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
4229 as a macro and a compat symbol.
4230 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
4231 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
4232 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
4233 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
4234 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
4235 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
4236 not use .hidden.
4237 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
4238 Likewise.
4239 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
4240 Likewise.
4241 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
4242 Likewise.
4243 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
4244 Likewise.
4245 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
4246 Likewise.
4247 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
4248 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
4249 from GLIBC_2.3.2.
4250
6eeb678a
AZ
42512013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4252
4253 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4254
6f6fc482
JM
42552013-12-19 Joseph Myers <joseph@codesourcery.com>
4256
21fea2e2
JM
4257 * manual/texinfo.tex: Update to version 2013-11-26.10 with
4258 trailing whitespace removed.
4259 * scripts/config.guess: Update to version 2013-11-29.
4260 * scripts/config.sub: Update to version 2013-10-01.
4261
6f6fc482
JM
4262 * math/auto-libm-test-in: Add tests of sincos.
4263 * math/auto-libm-test-out: Regenerated.
4264 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
4265 * math/gen-auto-libm-tests.c (func_calc_method): Add value
4266 mpfr_f_11.
4267 (func_calc_desc): Add mpfr_f_11 union field.
4268 (test_functions): Add sincos.
4269 (calc_generic_results): Handle mpfr_f_11.
4270 * sysdeps/i386/fpu/libm-test-ulps: Update.
4271 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4272
83f5c32d
AS
42732013-12-19 Andreas Schwab <schwab@suse.de>
4274
4275 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
4276 CALL_MCOUNT.
4277 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
4278 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
4279 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
4280
c688b419
JM
42812013-12-19 Joseph Myers <joseph@codesourcery.com>
4282
335ee092
JM
4283 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
4284 * sysdeps/i386/fpu/libm-test-ulps: Update.
4285 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4286
f88acd39
JM
4287 [BZ #16293]
4288 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
4289 round-to-nearest mode when using frndint.
4290 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
4291 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
4292 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
4293 Likewise.
4294 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
4295 sinh test to fail.
4296 * math/auto-libm-test-out: Regenerated.
4297 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
4298 (TEST_COND_x86): Likewise.
4299 (expm1_tonearest_test_data): New array.
4300 (expm1_test_tonearest): New function.
4301 (expm1_towardzero_test_data): New array.
4302 (expm1_test_towardzero): New function.
4303 (expm1_downward_test_data): New array.
4304 (expm1_test_downward): New function.
4305 (expm1_upward_test_data): New array.
4306 (expm1_test_upward): New function.
4307 (main): Run the new test functions.
4308 * sysdeps/i386/fpu/libm-test-ulps: Update.
4309 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4310
c688b419
JM
4311 * include/features.h: Update comment documenting feature test
4312 macros. Mention _DEFAULT_SOURCE in comment.
4313 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
4314 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
4315 _BSD_SOURCE and _SVID_SOURCE.
4316 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
4317 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
4318 !_SVID_SOURCE]: Likewise.
4319 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
4320 (__USE_POSIX_IMPLICITLY): Define.
4321 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
4322 (_POSIX_SOURCE): Undefine and redefine.
4323 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
4324 (_POSIX_C_SOURCE): Likewise.
4325 * manual/creature.texi (_DEFAULT_SOURCE): Document.
4326 (Feature Test Macros): Update documentation of default features.
4327
9f6e964c
RS
43282013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4329
4330 * benchtests/Makefile: Add bench-strtok.
4331 * benchtests/bench-strtok.c: New file: strtok benchtest.
4332
ee0a148a
AM
43332013-12-19 Allan McRae <allan@archlinux.org>
4334
4335 * manual/install.texi: Suppress menu for plain text output.
4336 * INSTALL: Regenerated.
4337
b9ab448f
BM
43382013-12-18 Brooks Moses <bmoses@google.com>
4339
4340 [BZ #15846]
4341 * misc/getauxval.c: Include errno.h.
4342 (__getauxval): Set errno to ENOENT if the requested type is not
4343 found.
4344 * misc/sys/auxv.h (getauxval): Document that it may set errno;
4345 don't declare with __attribute_const__.
4346 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
4347 * manual/startup.texi: Document that getauxval sets errno.
4348
23776487
JM
43492013-12-18 Joseph Myers <joseph@codesourcery.com>
4350
f889953b
JM
4351 * math/auto-libm-test-in: Add tests of jn and yn.
4352 * math/auto-libm-test-out: Regenerated.
4353 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
4354 (yn_test_data): Likewise.
4355 * math/gen-auto-libm-tests.c (func_calc_method): Add value
4356 mpfr_if_f.
4357 (func_calc_desc): Add mpfr_if_f union field.
4358 (FUNC_mpfr_if_f): New macro.
4359 (test_functions): Add jn and yn.
4360 (calc_generic_results): Assert type of second input for
4361 mpfr_ff_f. Handle mpfr_if_f.
4362 (output_for_one_input_case): Disable all checking for arguments
4363 fitting floating-point types in case of an integer argument.
4364 * sysdeps/i386/fpu/libm-test-ulps: Update.
4365 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4366
23776487
JM
4367 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
4368 Don't expect fegetround reference in libm.so.
4369
cb756c6d
MS
43702013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4371
4372 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
4373 $(config-cflags-nofma).
4374
2dec468f
JM
43752013-12-18 Joseph Myers <joseph@codesourcery.com>
4376
5953eb3a
JM
4377 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
4378 * math/auto-libm-test-out: Regenerated.
4379
2dec468f
JM
4380 [BZ #16338]
4381 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
4382 to determine exponent and adjust argument to have exponent of -1.
4383 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
4384 log2.
4385 * math/auto-libm-test-out: Regenerated.
4386 * sysdeps/i386/fpu/libm-test-ulps: Update.
4387 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4388
4d84e6ad
OB
43892013-12-18 Ondřej Bílka <neleai@seznam.cz>
4390
4391 * manual/probes.texi: Remove cases when per-thread arenas are
4392 disabled.
4393
1818483b
AS
43942013-12-18 Andreas Schwab <schwab@suse.de>
4395
4396 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
4397 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
4398 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
4399 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
4400 * sysdeps/i386/i686/multiarch/Makefile: Update.
4401 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
4402
25de95bf
JM
44032013-12-17 Joseph Myers <joseph@codesourcery.com>
4404
4405 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
4406 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
4407
674762d9
PE
44082013-12-17 Paul Eggert <eggert@cs.ucla.edu>
4409
ed27ed83 4410 [BZ #15968]
0748546f
PE
4411 Support TZ transition times < 00:00:00.
4412 This is needed for version-3 tz-format files; it supports time
4413 stamps past 2037 for America/Godthab (the only entry in the tz
4414 database for which this change is relevant).
4415 * manual/time.texi (TZ Variable): Document transition times
4416 from -167:59:59 through -00:00:01.
4417 * time/tzset.c (tz_rule): Time of day is now signed.
4418 (__tzset_parse_tz): Parse negative time of day.
4419
4480e934
PE
4420 Document TZ transition times >= 25:00:00.
4421 * manual/time.texi (TZ Variable): Document transition times from
4422 25:00:00 through 167:59:59. These are already supported, and this
4423 support will help with version-3 tz-format files.
4424
69947401
PE
4425 * manual/time.texi (TZ Variable): Modernize North America example
4426 to reflect current (i.e., 2007-and-later) daylight saving rules.
4427
674762d9
PE
4428 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
4429
7011c262
JM
44302013-12-17 Joseph Myers <joseph@codesourcery.com>
4431
2fc6557e
JM
4432 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
4433 * sysdeps/unix/bsd/bits/stat.h: Likewise.
4434 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
4435 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
4436 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
4437 * sysdeps/unix/bsd/bsdstat.h: Likewise.
4438 * sysdeps/unix/bsd/clock.c: Likewise.
4439 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
4440 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
4441 * sysdeps/unix/bsd/init-posix.c: Likewise.
4442 * sysdeps/unix/bsd/poll.c: Likewise.
4443 * sysdeps/unix/bsd/ptsname.c: Likewise.
4444 * sysdeps/unix/bsd/seekdir.c: Likewise.
4445 * sysdeps/unix/bsd/setegid.c: Likewise.
4446 * sysdeps/unix/bsd/seteuid.c: Likewise.
4447 * sysdeps/unix/bsd/setgid.c: Likewise.
4448 * sysdeps/unix/bsd/setrgid.c: Likewise.
4449 * sysdeps/unix/bsd/setruid.c: Likewise.
4450 * sysdeps/unix/bsd/setsid.c: Likewise.
4451 * sysdeps/unix/bsd/setuid.c: Likewise.
4452 * sysdeps/unix/bsd/sigaction.c: Likewise.
4453 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
4454 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
4455 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
4456 * sysdeps/unix/bsd/telldir.c: Likewise.
4457 * sysdeps/unix/bsd/times.c: Likewise.
4458 * sysdeps/unix/bsd/usleep.c: Likewise.
4459
029c7b25
JM
4460 * misc/Makefile (install-lib): Remove libbsd-compat.a.
4461 ($(objpfx)libbsd-compat.a): Remove rule.
4462
7011c262
JM
4463 * include/features.h (__FAVOR_BSD): Do not define.
4464 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
4465 features conflicting with POSIX.
4466 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
4467 (_BSD_SOURCE): Remove description of not being a subset of other
4468 feature test macros.
4469 * manual/job.texi (getpgrp): Do not document BSD version.
4470 (getpgid): Do not document by reference to BSD getpgrp.
4471 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
4472 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
4473 * signal/signal.h [__FAVOR_BSD]: Likewise.
4474 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
4475 instead of making contents conditional on [__FAVOR_BSD].
4476 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
4477
affb6f78
AZ
44782013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4479
4480 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4481
c88769dd
JM
44822013-12-17 Joseph Myers <joseph@codesourcery.com>
4483
6432a540
JM
4484 [BZ #16314]
4485 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
4486 values below 2**-450, not 2**-500.
4487 * math/auto-libm-test-in: Don't allow spurious underflow from
4488 hypot.
4489 * math/auto-libm-test-out: Regenerated.
4490
c88769dd
JM
4491 [BZ #16316]
4492 [BZ #16330]
4493 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
4494 values of ha and hb and sort them after adjusting subnormal
4495 arguments.
4496 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
4497 Likewise.
4498 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
4499 values of ea and eb and sort them after adjusting subnormal
4500 arguments.
4501 * math/auto-libm-test-in: Do not expect some hypot tests of
4502 subnormals to fail. Add more hypot tests.
4503 * math/auto-libm-test-out: Regenerated.
4504
29618f6b
KK
45052013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4506
4507 [BZ #13304]
4508 * sysdeps/sh/s_fma.c: New file.
4509 * sysdeps/sh/s_fmaf.c: New file.
4510 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
4511 version.
4512 * sysdeps/sh/Implies: Add sh/soft-fp.
4513
eacfdfbf
RM
45142013-12-16 Roland McGrath <roland@hack.frob.com>
4515
4516 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
4517 level of indirection to members `objname', `errstring', `malloced'.
4518 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
4519 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
4520 it as the __longjmp argument (just pass 1 instead).
4521 (_dl_catch_error): Initialize C with argument pointers and address of
4522 volatile local ERRCODE rather than copying values out of C at return.
4523
ff362e5b
JM
45242013-12-16 Joseph Myers <joseph@codesourcery.com>
4525
4526 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
4527 * math/auto-libm-test-out: Regenerated.
4528 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
4529 (hypot_test_data): Likewise.
4530 (pow_test_data): Likewise.
4531 (pow_tonearest_test_data): Likewise.
4532 * math/gen-auto-libm-tests.c (func_calc_method): Add value
4533 mpfr_ff_f.
4534 (func_calc_desc): Add mpfr_ff_f union field.
4535 (FUNC_mpfr_ff_f): New macro.
4536 (test_functions): Add atan2, hypot and pow.
4537 (special_fill_min): New function.
4538 (special_fill_minus_min): Likewise.
4539 (special_fill_min_subnorm): Likewise.
4540 (special_fill_minus_min_subnorm): Likewise.
4541 (special_real_inputs): Add min, -min, min_subnorm and
4542 -min_subnorm.
4543 (calc_generic_results): Handle mpfr_ff_f.
4544 * sysdeps/i386/fpu/libm-test-ulps: Update.
4545 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4546
5764c27f
WN
45472013-12-16 Will Newton <will.newton@linaro.org>
4548
4549 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
4550 (Aligned Memory Blocks): Add documentation for aligned_alloc
4551 and suggest it as an alternative to posix_memalign.
4552 (Hooks for Malloc): Document __memalign_hook is also called
4553 for aligned_alloc. (Summary of Malloc): Add summary for
4554 aligned alloc. Document __memalign_hook is also called
4555 for aligned_alloc.
4556
0a096e44
WN
45572013-12-16 Will Newton <will.newton@linaro.org>
4558
4559 * manual/memory.texi (Malloc Examples): Clarify default
4560 alignment documentation. Suggest posix_memalign rather
4561 than memalign or valloc.
4562 (Aligned Memory Blocks): Remove suggestion to use memalign
4563 or valloc. Remove obsolete comment about BSD.
4564 Document memalign errno values and mark the function obsolete.
4565 Document posix_memalign returned error codes. Mark valloc
4566 as obsolete. (Hooks for Malloc): __memalign_hook is also
4567 called for posix_memalign and valloc.
4568 (Summary of Malloc): Add posix_memalign to function summary.
4569 __memalign_hook is also called for posix_memalign and valloc.
4570
8d561986
SP
45712013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4572
4573 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
4574 TAYLOR_SIN.
4575 (__sin): Adjust.
4576 (__cos): Likewise.
4577 (sloww): Use mynumber union. Expand ternary operator into
4578 if-else statements.
4579 (cslow): use mynumber union.
4580
73616a74
AM
45812013-12-16 Allan McRae <allan@archlinux.org>
4582
9e8ac24b
AM
4583 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
4584 * configure: Regenerated.
4585
6f8e37eb
AM
4586 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
4587
8894bad3
AM
4588 [BZ #14120]
4589 * configure.ac: Added --enable-maintainer-mode. Check for
4590 autoconf when enabled.
4591 * configure: Regenerated.
4592
73616a74
AM
4593 * nscd/nscd.service: New file.
4594 * nscd/nscd.tmpfiles: New file.
4595
584b18eb
OB
45962013-12-14 Ondřej Bílka <neleai@seznam.cz>
4597
4598 [BZ #12100]
4599 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
4600 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
4601 * sysdeps/x86_64/multiarch/strstr.c: ... here.
4602 (strstr): Add __strstr_sse2_unaligned ifunc.
4603 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
4604 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
4605 (strcasestr): Remove __strcasestr_sse42 ifunc.
4606 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
4607 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
4608 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
4609
8a5c7897
KK
46102013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4611
4612 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
4613 * sysdeps/sh/bits/fenv.h: ... here.
4614 * sysdeps/sh/sh4/fpu/bits: Remove directory.
4615
fd712ef3
AZ
46162013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4617
4618 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
4619
42fcb46c
AZ
46202013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4621
4622 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
4623 hypotf multiarch implementations.
4624 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
4625 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
4626 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
4627 multiarch hypot for PPC64.
4628 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
4629 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
4630 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
4631 multiarch hypotf for PPC64.
4632
83efded4
AZ
46332013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4634
4635 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
4636 modff multiarch implementations.
4637 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
4638 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
4639 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
4640 multiarch modf for PPC64.
4641 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
4642 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
4643 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
4644 multiarch modff for PPC64.
4645
43e246d2
AZ
46462013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4647
4648 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
4649 and logl multiarch implementations.
4650 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
4651 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
4652 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
4653 multiarch logb for PPC64.
4654 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
4655 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
4656 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
4657 multiarch logb for PPC64.
4658 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
4659 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
4660 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
4661 multiarch logb for PPC64.
4662
8fdad123
AZ
46632013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4664
4665 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
4666 isinff multiarch implementation.
4667 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
4668 file.
4669 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
4670 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
4671 multiarch isinf for PPC64.
4672 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
4673 file.
4674 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
4675 multiarch isinff for PPC64.
4676
1481d706
AZ
46772013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4678
4679 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
4680 finitef multiarch implementation.
4681 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
4682 file.
4683 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
4684 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
4685 multiarch finite for PPC64.
4686 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
4687 file.
4688 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
4689 multiarch finitef for PPC64.
4690
5ccd5fc8
AZ
46912013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4692
4693 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
4694 lrint multiarch implementation.
4695 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
4696 file.
4697 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
4698 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
4699 multiarch llrint for PPC64.
4700 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
4701 multiarch lrint for PPC64.
4702
2568f3fa
AZ
47032013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4704
4705 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
4706 copysignf multiarch implementation.
4707 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
4708 file.
4709 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
4710 file.
4711 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
4712 multiarch copysign for PPC64.
4713 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
4714 multiarch copysignf for PPC64.
4715
1cb341fd
AZ
47162013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4717
4718 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
4719 multiarch implementation.
4720 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
4721 file.
4722 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
4723 file.
4724 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
4725 file.
4726 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
4727 file.
4728 multiarch llround for PPC64.
4729 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
4730 multiarch trunc for PPC64.
4731 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
4732 multiarch truncf for PPC64.
4733
59a3e194
AZ
47342013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4735
4736 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
4737 multiarch implementation.
4738 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
4739 file.
4740 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
4741 file.
4742 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
4743 file.
4744 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
4745 file.
4746 multiarch llround for PPC64.
4747 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
4748 multiarch round for PPC64.
4749 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
4750 multiarch roundf for PPC64.
4751
357fd3b4
AZ
47522013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4753
4754 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
4755 multiarch implementation.
4756 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
4757 file.
4758 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
4759 file.
4760 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
4761 file.
4762 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
4763 file.
4764 multiarch llround for PPC64.
4765 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
4766 multiarch floor for PPC64.
4767 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
4768 multiarch floorf for PPC64.
4769
96770f12
AZ
47702013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4771
4772 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
4773 multiarch implementation.
4774 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
4775 file.
4776 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
4777 file.
4778 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
4779 file.
4780 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
4781 file.
4782 multiarch llround for PPC64.
4783 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
4784 multiarch ceil for PPC64.
4785 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
4786 multiarch ceilf for PPC64.
4787
c3627f6e
AZ
47882013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4789
4790 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
4791 multiarch implementation.
4792 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
4793 file.
4794 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
4795 file.
4796 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
4797 file.
4798 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
4799 multiarch llround for PPC64.
4800 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
4801 multiarch lround for PPC64.
4802
b2284ad7
AZ
48032013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4804
4805 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
4806 multiarch implementation.
4807 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
4808 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
4809 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
4810 file.
4811 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
4812 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
4813 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
4814 multiarch isnan for PPC64.
4815 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
4816 multiarch isnanf for PPC64.
4817
69bbc63d
AZ
48182013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4819
4820 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
4821 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
4822 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
4823 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
4824 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
4825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
4826
c24517c9
AZ
48272013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4828
4829 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
4830 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
4831 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4832 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
4833
a52374e8
AZ
48342013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4835
4836 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
4837 multiarch implementations.
4838 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4839 (__libc_ifunc_impl_list): Likewise.
4840 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
4841 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
4842 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
4843 multiarch stpcpy for PPC64.
4844
7f5ec113
AZ
48452013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4846
4847 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
4848 multiarch implementations.
4849 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4850 (__libc_ifunc_impl_list): Likewise.
4851 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
4852 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
4853 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
4854 multiarch strcpy for PPC64.
4855
e28bcd42
AZ
48562013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4857
4858 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
4859 redefine function name.
4860 (_wordcopy_fwd_dest_aligned): Likewise.
4861 (_wordcopy_bwd_aligned): Likewise.
4862 (_wordcopy_bwd_dest_aligned): Likewise.
4863 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
4864 multiarch implementations.
4865 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4866 (__libc_ifunc_impl_list): Likewise.
4867 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
4868 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
4869 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
4870 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
4871 multiarch wcscpy for PPC64.
4872
92cacfce
AZ
48732013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4874
4875 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
4876 multiarch implementations.
4877 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4878 (__libc_ifunc_impl_list): Likewise.
4879 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
4880 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
4881 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
4882 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
4883 multiarch wcscpy for PPC64.
4884
7b714620
AZ
48852013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4886
4887 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
4888 multiarch implementations.
4889 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4890 (__libc_ifunc_impl_list): Likewise.
4891 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
4892 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
4893 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
4894 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
4895 multiarch wcsrchr for PPC64.
4896
16fd2ae3
AZ
48972013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4898
4899 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
4900 multiarch implementations.
4901 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4902 (__libc_ifunc_impl_list): Likewise.
4903 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
4904 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
4905 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
4906 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
4907 multiarch wcschr for PPC64.
4908
9ee2969b
AZ
49092013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4910
4911 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
4912 multiarch implementations.
4913 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4914 (__libc_ifunc_impl_list): Likewise.
4915 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
4916 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
4917 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
4918 multiarch strchrnul for PPC64.
4919
372dc060
AZ
49202013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4921
4922 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
4923 implementations.
4924 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4925 (__libc_ifunc_impl_list): Likewise.
4926 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
4927 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
4928 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
4929 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
4930 strchr for PPC64.
4931
24c2c3b9
AZ
49322013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4933
4934 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
4935 implementations.
4936 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4937 (__libc_ifunc_impl_list): Likewise.
4938 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
4939 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
4940 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
4941 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
4942 strncmp for PPC64.
4943
1c92d9a0
AZ
49442013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4945
4946 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
4947 multiarch implementations.
4948 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4949 (__libc_ifunc_impl_list): Likewise.
4950 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
4951 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
4952 strncasecmp for PPC64.
4953 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
4954 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
4955 multiarch strncasecmp_l for PPC64.
4956
17de3ee3
AZ
49572013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4958
4959 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
4960 multiarch implementations.
4961 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4962 (__libc_ifunc_impl_list): Likewise.
4963 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
4964 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
4965 multiarch strcasecmp for PPC64.
4966 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
4967 file.
4968 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
4969 multiarch strcasecmp_l for PPC64.
4970
62982bf9
AZ
49712013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4972
4973 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
4974 implementations.
4975 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4976 (__libc_ifunc_impl_list): Likewise.
4977 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
4978 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
4979 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
4980 strnlen for PPC64.
4981
a65f4904
AZ
49822013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4983
4984 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
4985 implementations.
4986 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4987 (__libc_ifunc_impl_list): Likewise.
4988 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
4989 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
4990 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
4991 strlen for PPC64.
4992
1fd005ad
AZ
49932013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4994
4995 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
4996 implementations.
4997 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4998 (__libc_ifunc_impl_list): Likewise.
4999 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
5000 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
5001 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
5002 rawmemrchr for PPC64.
5003
cd05ba91
AZ
50042013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5005
5006 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
5007 implementation.
5008 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5009 (__libc_ifunc_impl_list): Likewise.
5010 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
5011 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
5012 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
5013 memrchr for PPC64.
5014
870f8676
AZ
50152013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5016
5017 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
5018 implementation.
5019 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5020 (__libc_ifunc_impl_list): Likewise.
5021 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
5022 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
5023 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
5024 memchr for PPC64.
5025
f00be62b
AZ
50262013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5027
5028 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
5029 implementation.
5030 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5031 (__libc_ifunc_impl_list): Likewise.
5032 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
5033 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
5034 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
5035 mempcpy for PPC64.
5036
8a29a3d0
AZ
50372013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5038
5039 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
5040 avoid cretion of __bzero symbol.
5041 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
5042 Likewise.
5043 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
5044 Likewise.
5045 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
5046 Likewise.
5047 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
5048 multiarch implementations.
5049 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5050 (__libc_ifunc_impl_list): Likewise.
5051 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
5052 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
5053 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
5054 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
5055 bzero for PPC32.
5056 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
5057 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
5058 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
5059 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
5060 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
5061 memset for PPC64.
5062 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
5063
07253fcf
AZ
50642013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5065
5066 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
5067 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
5068 implementations.
5069 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5070 (__libc_ifunc_impl_list): Likewise.
5071 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
5072 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
5073 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
5074 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
5075 memcmp for PPC64.
5076
b5beafbc
AZ
50772013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5078
5079 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
5080 multiarch for POWER/PPC64.
5081 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
5082 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
5083 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
5084 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
5085 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
5086 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
5087 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
5088 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
5089 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
5090 memcpy for PPC64.
5091
5e6a4d4b
AZ
50922013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5093
5094 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
5095 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
5096 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
5097 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
5098 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
5099 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
5100 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
5101 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
5102 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
5103 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
5104 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
5105 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
5106 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
5107 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
5108 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
5109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
5110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
5111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
5112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
5113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
5114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
5115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
5116
ddfab6dc
KK
51172013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5118
5119 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
5120
19b5525e
SP
51212013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5122
5123 * benchtests/Makefile (bench): Add exp2 and log2.
5124 (LDLIBS-bench-exp2): Add -lm.
5125 (LDLIBS-bench-log2): Likewise.
5126 * benchtests/exp2-inputs: New inputs file.
5127 * benchtests/log2-inputs: New inputs file.
5128 * benchtests/log-inputs: Add new inputs.
5129 * benchtests/tan-inputs: Likewise.
5130
196f7f5d
SP
51312013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5132
7a74607f
SP
5133 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
5134 definition...
5135 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
5136 csloww1, csloww2): ... from here.
5137
196f7f5d
SP
5138 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
5139 instead of structures.
5140 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
5141 (POLYNOMIAL): Likewise.
5142 (TAYLOR_SLOW): Likewise.
5143 (__sin): Likewise.
5144 (__cos): Likewise.
5145 (slow1): Likewise.
5146 (slow2): Likewise.
5147 (sloww): Likewise.
5148 (sloww1); Likewise.
5149 (sloww2): Likewise.
5150 (bsloww1): Likewise.
5151 (bsloww2): Likewise.
5152 (cslow2): Likewise.
5153 (csloww): Likewise.
5154 (csloww1): Likewise.
5155 (csloww2): Likewise.
5156
0dfa665c
OB
51572013-12-10 Ondřej Bílka <neleai@seznam.cz>
5158
5159 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
5160 (__malloc_assert, __libc_realloc, __libc_calloc,
5161 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
5162 memcpy and memset.
5163 * malloc/hooks.c (realloc_check): Likewise.
5164
5782a80f
OB
51652013-12-10 Ondřej Bílka <neleai@seznam.cz>
5166
5167 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
5168 * malloc/arena.c: Remove PER_THREAD conditional.
5169 [!PER_THREAD]: Remove code.
5170 (ptmalloc_unlock_all2): Likewise.
5171 (ptmalloc_init): Likewise.
5172 (_int_new_arena): Likewise.
5173 (arena_get2): Likewise.
5174 * malloc/hooks.c (__malloc_get_state): Likewise.
5175 (__malloc_set_state): Likewise.
5176 * malloc/malloc.c: Likewise.
5177 (struct malloc_state): Likewise.
5178 (struct malloc_par): Likewise.
5179 (__libc_realloc): Likewise.
5180 (__libc_mallopt): Likewise.
5181
aeb95445
AZ
51822013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5183
5184 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
5185
e8349efd
OB
51862013-12-09 Ondřej Bílka <neleai@seznam.cz>
5187
5188 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
5189 macro to a function. Check for zero perturb_byte.
5190 (_int_malloc, _int_free): Remove zero perturb_byte checks.
5191
f3eeb3fc
OB
51922013-12-09 Ondřej Bílka <neleai@seznam.cz>
5193
5194 * malloc/malloc.c: (force_reg): Remove.
5195 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
5196 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
5197 force_reg by atomic_forced_read.
5198 * malloc/arena.c (ptmalloc_init): Likewise.
5199 * malloc/hooks.c (top_check): Likewise.
5200
be2f9009
AZ
52012013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5202
5203 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5204
e7b914bd
MT
52052013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
5206
5207 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5208
9f0be4f8
JM
52092013-12-08 Joseph Myers <joseph@codesourcery.com>
5210
5211 * math/auto-libm-test-in: Add tests of lgamma.
5212 * math/auto-libm-test-out: Regenerated.
5213 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
5214 (M_LOG_2_SQRT_PIl): Likewise.
5215 (lgamma_test_data): Use AUTO_TESTS_f_f1.
5216 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5217 mpfr_f_f1.
5218 (func_calc_desc): Add mpfr_f_f1 union field.
5219 (ARGS1): New macro.
5220 (ARGS2): Likewise.
5221 (ARGS3): Likewise.
5222 (ARGS4): Likewise.
5223 (RET1): Likewise.
5224 (RET2): Likewise.
5225 (CALC): Likewise.
5226 (FUNC): Likewise.
5227 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
5228 (test_functions): Add lgamma.
5229 (calc_generic_results): Handle mpfr_f_f1.
5230 * sysdeps/i386/fpu/libm-test-ulps: Update.
5231 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5232
24eeafdb
AZ
52332013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5234
5235 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
5236 __mpn_add_n for PowerPC64/POWER7.
5237 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
5238 __mpn_sub_n for PowerPC64/POWER7.
5239
4a2c0fd4
AZ
52402013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5241
5242 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
5243 __mpn_addmul_1 for PowerPC64.
5244 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
5245 __mpn_submul_1 for PowerPC64.
5246 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
5247 for PowerPC64.
5248 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
5249 for PowerPC64.
5250
4b5b548c
FS
52512013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
5252
5253 [BZ #15089]
5254 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
5255
0a3ac0aa
AZ
52562013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5257
5258 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
5259
ccdc8438
AZ
52602013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5261
5262 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
5263 add multiarch folders.
5264 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
5265 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
5266 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
5267 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
5268 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
5269 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
5270 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
5271 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
5272 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
5273 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
5274 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
5275 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
5276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
5277 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
5278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
5279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
5280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
5281
2e973d99
AZ
52822013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5283
5284 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
5285 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
5286 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
5287 New file.
5288 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
5289 New file.
5290 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
5291 multiarch __ieee754_hypot for PowerPC32.
5292 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
5293 New file.
5294 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
5295 New file.
5296 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
5297 multiarch __ieee754_hypotf for PowerPC32.
5298
2d9470b2
AZ
52992013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5300
5301 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
5302 long_double_symbol only if __logbl is defined.
5303 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
5304 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
5305 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
5306 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
5307 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
5308 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
5309 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
5310 path for implementation.
5311 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
5312 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
5313 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
5314 logb, and logbl multiarch implementations for PowerPC32.
5315 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
5316 file.
5317 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
5318 file.
5319 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
5320 multiarch logb for PowerPC32.
5321 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
5322 file.
5323 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
5324 file.
5325 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
5326 multiarch logbf for PowerPC32.
5327 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
5328 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
5329 file.
5330 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
5331 multiarch logbl implementation for PowerPC32.
5332
5212ffce
AZ
53332013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5334
5335 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
5336 and modff multiarch implementations.
5337 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
5338 New file.
5339 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
5340 New file.
5341 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
5342 multiarch modf for PowerPC32.
5343 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
5344 New file.
5345 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
5346 New file.
5347 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
5348 multiarch modff for PowerPC32.
5349
79dccf31
AZ
53502013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5351
5352 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
5353 and lrintf multiarch implementations.
5354 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
5355 New file.
5356 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
5357 New file.
5358 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
5359 multiarch lrint for PowerPC32.
5360 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
5361 file: multiarch lrintf for PowerPC32.
5362
deb66480
AZ
53632013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5364
5365 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
5366 and lroundf multiarch implementations.
5367 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
5368 New file.
5369 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
5370 New file.
5371 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
5372 New file.
5373 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
5374 multiarch lround for PowerPC32.
5375 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
5376 file: multiarch lroundf for PowerPC32.
5377
264b036b
AZ
53782013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5379
5380 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
5381 copysign and copysignf multiarch implementations.
5382 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
5383 New file.
5384 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
5385 New file.
5386 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
5387 file: multiarch copysign for PowerPC32.
5388 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
5389 file: multiarch copysignf for PowerPC32.
5390
d47db6c9
AZ
53912013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5392
5393 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
5394 and truncf multiarch implementations.
5395 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
5396 New file.
5397 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
5398 file.
5399 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
5400 multiarch trunc for PowerPC32.
5401 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
5402 New file.
5403 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
5404 New file.
5405 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
5406 multiarch truncf for PowerPC32.
5407
ddb60b5a
AZ
54082013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5409
5410 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
5411 and roundf multiarch implementations.
5412 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
5413 New file.
5414 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
5415 file.
5416 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
5417 multiarch round for PowerPC32.
5418 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
5419 New file.
5420 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
5421 New file.
5422 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
5423 multiarch roundf for PowerPC32.
5424
bedcf49b
AZ
54252013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5426
5427 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
5428 and floorf multiarch implementations.
5429 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
5430 New file.
5431 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
5432 file.
5433 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
5434 multiarch floor for PowerPC32.
5435 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
5436 New file.
5437 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
5438 New file.
5439 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
5440 multiarch floorf for PowerPC32.
5441
35ae5b40
AZ
54422013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5443
5444 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
5445 and ceilf multiarch implementations.
5446 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
5447 New file.
5448 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
5449 file.
5450 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
5451 multiarch ceil for PowerPC32.
5452 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
5453 New file.
5454 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
5455 file.
5456 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
5457 multiarch ceilf for PowerPC32.
5458
ae1a4cd9
AZ
54592013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5460
5461 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
5462 is defined.
5463 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
5464 FINITEF is defined.
5465 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
5466 and finitef multiarch implementations.
5467 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
5468 New file.
5469 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
5470 file.
5471 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
5472 multiarch finite for PowerPC32.
5473 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
5474 New file.
5475 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
5476 file: multiarch finitef for PowerPC32.
5477
64fffd65
AZ
54782013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5479
5480 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
5481 and isinff multiarch implementations.
5482 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
5483 file.
5484 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
5485 file.
5486 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
5487 multiarch isinf for PowerPC32.
5488 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
5489 New file.
5490 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
5491 multiarch isinff for PowerPC32.
5492
8e4e7ba2
AZ
54932013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5494
5495 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
5496 alias when __isnan is defined.
5497 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
5498 and isnanf multiarch implementations.
5499 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
5500 file.
5501 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
5502 file.
5503 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
5504 file.
5505 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
5506 file.
5507 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
5508 multiarch isnan for PowerPC32.
5509 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
5510 New file.
5511 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
5512 New file.
5513 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
5514 multiarch isnanf for PowerPC32.
5515
ddba588e
AZ
55162013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5517
5518 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
5519 and sqrtf multiarch implementations.
5520 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
5521 file.
5522 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
5523 file.
5524 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
5525 multiarch sqrt for PowerPC32.
5526 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
5527 file.
5528 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
5529 file.
5530 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
5531 multiarch sqrtf for PowerPC32.
5532
0f96a2f0
AZ
55332013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5534
5535 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
5536 and llroundf multiarch implementations.
5537 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
5538 New file.
5539 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
5540 New file.
5541 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
5542 New file.
5543 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
5544 file: multiarch llround for PowerPC32.
5545 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
5546 file: multiarch llroundf for PowerPC32.
5547
c9b5d79e
AZ
55482013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5549
5550 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
5551 multiarch PowerPC32 fpu implementations.
5552 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
5553 New file.
5554 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
5555 New file.
5556 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
5557 multiarch llrint for PowerPC32.
5558 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
5559 New file.
5560 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
5561 New file.
5562 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
5563 file.
5564
9cbb3aab
AZ
55652013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5566
5567 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
5568
ea5a72f8
AZ
55692013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5570
5571 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
5572 file.
5573 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
5574 file.
5575 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
5576 file.
5577 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
5578 multiarch wordcopy for PPC32.
5579 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
5580 wordcopy objects.
5581 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5582 (__libc_ifunc_impl_list): Likewise.
5583 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
5584 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
5585 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
5586 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
5587 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
5588 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
5589
93be09e7
AZ
55902013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5591
5592 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
5593 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
5594 file.
5595 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
5596 file.
5597 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
5598 file.
5599 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
5600 multiarch wcscpy for PPC32.
5601 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
5602 multiarch objects.
5603 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5604 (__libc_ifunc_impl_list): Likewise.
5605 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
5606 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
5607 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
5608 sysdeps/powerpc/power6/wcscpy.c.
5609
bb04e529
AZ
56102013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5611
5612 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
5613 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
5614 file.
5615 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
5616 file.
5617 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
5618 file.
5619 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
5620 multiarch wcsrchr for PPC32.
5621 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
5622 multiarch objects.
5623 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5624 (__libc_ifunc_impl_list): Likewise.
5625 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
5626 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
5627 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
5628 sysdeps/powerpc/power6/wcsrchr.c.
5629
05b5cd1c
AZ
56302013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5631
5632 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
5633 file.
5634 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
5635 file.
5636 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
5637 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
5638 multiarch wcschr for PPc32.
5639 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
5640 multiarch objects.
5641 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5642 (__libc_ifunc_impl_list): Likewise.
5643 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
5644 * sysdeps/powerpc/power6/wcschr.c: ... to here.
5645 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
5646 sysdeps/powerpc/power6/wcschr.c.
5647
ba964147
AZ
56482013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5649
5650 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
5651 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
5652 file.
5653 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
5654 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
5655 file: multiarch strchr for PPC32.
5656 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
5657 multiarch objects.
5658 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5659 (__libc_ifunc_impl_list): Likewise.
5660
31c81aaa
AZ
56612013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5662
5663 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
5664 name.
5665 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
5666 file.
5667 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
5668 file.
5669 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
5670 multiarch strchrnul for PPC32.
5671 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
5672 multiarch objects.
5673 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5674 (__libc_ifunc_impl_list): Likewise.
5675
0d0607d9
AZ
56762013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5677
5678 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
5679 file.
5680 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
5681 multiarch strncasecmp for PPC32.
5682 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
5683 file.
5684 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
5685 multiarch strncasecmp_l for PPC32.
5686 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
5687 strncasecmp multiarch objects.
5688 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5689 (__libc_ifunc_impl_list): Likewise.
5690
4dfd5c86
AZ
56912013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5692
5693 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
5694 file.
5695 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
5696 multiarch strncasecmp for PPC32.
5697 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
5698 New file.
5699 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
5700 multiarch strcasecmp_l for PPC32.
5701 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
5702 multiarch objects.
5703 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5704 (__libc_ifunc_impl_list): Likewise.
5705
a19e01a3
AZ
57062013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5707
5708 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
5709 file.
5710 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
5711 file.
5712 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
5713 multiarch strncmp for PPC32.
5714 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
5715 multiarch objects.
5716 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5717 (__libc_ifunc_impl_list): Likewise.
5718
ae9cf7a2
AZ
57192013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5720
5721 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
5722 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
5723 file.
5724 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
5725 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
5726 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
5727 multiarch objects.
5728 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5729 (__libc_ifunc_impl_list): Likewise.
5730
3148bb7d
AZ
57312013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5732
5733 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
5734 file.
5735 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
5736 file.
5737 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
5738 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
5739 multiarch objects.
5740 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5741 (__libc_ifunc_impl_list): Likewise.
5742
7af8b946
AZ
57432013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5744
5745 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
5746 file.
5747 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
5748 file.
5749 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
5750 multiarch rawmemchr for PPC32.
5751 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
5752 multiarch objects.
5753 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5754 (__libc_ifunc_impl_list): Likewise.
5755
03a6aa6a
AZ
57562013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5757
5758 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
5759 file.
5760 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
5761 file.
5762 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
5763 file: memrchr multiarch for PPC32.
5764 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
5765 multiarch objects.
5766 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5767 (__libc_ifunc_impl_list): Likewise.
5768
1c62e6d9
AZ
57692013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5770
5771 * string/memchr.c (__memchr): Using macro to redefine symbol name.
5772 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
5773 file.
5774 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
5775 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
5776 multiarch memchr for PPC32.
5777 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
5778 multiarch objects.
5779 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
5780 (__libc_ifunc_impl_list): Likewise.
5781
87da8bdb
AZ
57822013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5783
5784 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
5785 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
5786 file.
5787 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
5788 file.
5789 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
5790 file: multiarch mempcpy for PPC32.
5791 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
5792 multiarch objects.
5793 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
5794 (__libc_ifunc_impl_list): Likewise.
5795
20ed4714
AZ
57962013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5797
5798 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
5799 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
5800 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
5801 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
5802 multiarch bzero for PPC32.
5803 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
5804 file.
5805 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
5806 file.
5807 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
5808 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
5809 file: multiarch memset for PPC32.
5810 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
5811 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
5812 memset multiarch objects.
5813 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
5814 (__libc_ifunc_impl_list): Likewise.
5815
ab3e3a46
AZ
58162013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5817
5818 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
5819 file.
5820 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
5821 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
5822 memcmp for PPC32.
5823 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
5824 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
5825 multiarch objects.
5826 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
5827 (__libc_ifunc_impl_list): Likewise.
5828
930de6f0
AZ
58292013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5830
5831 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
5832 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
5833 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
5834 file.
5835 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
5836 file.
5837 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
5838 file.
5839 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
5840 multiarch memcpy for PPC32.
5841 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
5842 multiarch objects.
5843 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
5844 (__libc_ifunc_impl_list): Likewise.
5845
4c628e00
AZ
58462013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5847
5848 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
5849 support multiarch for POWER/PPC32.
5850 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
5851 Likewise.
5852 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
5853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
5854 Implies file to make multiarch folder appers before the fpu and
5855 default folder for power4 configuration.
5856
f4479220
SP
58572013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
5858
5859 * scripts/bench.pl: Append volatile keyword to type.
5860
8517800f
KK
58612013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5862
5863 * sysdeps/sh/sotruss-lib.c: New file.
5864 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
5865
180138f1
AZ
58662013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5867
5868 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5869
bbf37bdc
JM
58702013-12-05 Joseph Myers <joseph@codesourcery.com>
5871
e47cc4e0
JM
5872 [BZ #6810]
5873 * math/w_tgamma.c: Include <errno.h>.
5874 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
5875 * math/w_tgammaf.c: Include <errno.h>.
5876 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
5877 * math/w_tgammal.c: Include <errno.h>.
5878 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
5879 * math/auto-libm-test-in: Do not allow missing errno on tgamma
5880 underflow. Add more tgamma tests.
5881 * math/auto-libm-test-out: Regenerated.
5882 * sysdeps/i386/fpu/libm-test-ulps: Update.
5883 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5884
bbf37bdc
JM
5885 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
5886 sin, sinh, tan, tanh, tgamma, y0 and y1.
5887 * math/auto-libm-test-out: Regenerated.
5888 * math/libm-test.inc (TEST_COND_x86_64): New macro.
5889 (TEST_COND_x86): Likewise.
5890 (M_E2l): Remove macro.
5891 (M_E3l): Likewise.
5892 (M_2_SQRT_PIl): Likewise.
5893 (M_SQRT_PIl): Likewise.
5894 (M_1_DIV_El): Likewise.
5895 (log_test_data): Use AUTO_TESTS_f_f.
5896 (log10_test_data): Likewise.
5897 (log1p_test_data): Likewise.
5898 (log2_test_data): Likewise.
5899 (sin_test_data): Likewise.
5900 (sin_tonearest_test_data): Likewise.
5901 (sin_towardzero_test_data): Likewise.
5902 (sin_downward_test_data): Likewise.
5903 (sin_upward_test_data): Likewise.
5904 (sinh_test_data): Likewise.
5905 (sinh_tonearest_test_data): Likewise.
5906 (sinh_towardzero_test_data): Likewise.
5907 (sinh_downward_test_data): Likewise.
5908 (sinh_upward_test_data): Likewise.
5909 (tan_test_data): Likewise.
5910 (tan_tonearest_test_data): Likewise.
5911 (tan_towardzero_test_data): Likewise.
5912 (tan_downward_test_data): Likewise.
5913 (tan_upward_test_data): Likewise.
5914 (tanh_test_data): Likewise.
5915 (tgamma_test_data): Likewise.
5916 (y0_test_data): Likewise.
5917 (y1_test_data): Likewise.
5918 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
5919 (special_real_inputs): Add pi/4.
5920 * sysdeps/i386/fpu/libm-test-ulps: Update.
5921 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5922
eb5ad6b9
AZ
59232013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5924
5925 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
5926 "longjmp_target" static probes.
5927 (__longjmp): Rename to __longjmp_symbol.
5928 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
5929 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
5930 on which longjmp to generate.
5931 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
5932 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
5933 probe.
5934 (__sigsetjmp): Rename to __sigsetjmp_symbol.
5935 (__sigjmp_save): Rename to __sigjmp_save_symbol.
5936 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
5937 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
5938 and __sigjmp_save_symbol based on which sigsetjmp to generated.
5939 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
5940 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
5941 __longjmp_symbol based on which __longjmp to generate.
5942 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
5943 probe.
5944 (setjmp): Rename to setjmp_symbol.
5945 (__sigsetjmp): Rename to __sigsetjmp_symbol.
5946 (_setjmp): Rename to _setjmp_symbol.
5947 (__sigsetjmp): Rename to __sigsetjmp_symbol.
5948 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
5949 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
5950 which setjmp to generate.
5951 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
5952 "longjmp_target" static probes.
5953
d136c6dc
SP
59542013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
5955
9298ecba
SP
5956 * benchtests/README: Add note about output arguments.
5957 * benchtests/bench-sincos.c: Remove file.
5958 * benchtests/sincos-inputs: New file.
5959 * scripts/bench.pl: Identify output arguments and define
5960 static variables for them.
5961
232983e9
SP
5962 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
5963
d136c6dc
SP
5964 [BZ #15941]
5965 * Makefile (INSTALL): Add install-plain.texi as the primary
5966 dependency.
5967 * manual/install-plain.texi: New file.
5968 * manual/install.texi: Include node directive only for
5969 non-plaintext output.
5970
699ff837
JM
59712013-12-04 Joseph Myers <joseph@codesourcery.com>
5972
ab07cea8
JM
5973 * stdlib/longlong.h: Update from GCC.
5974
699ff837
JM
5975 [BZ #6807]
5976 [BZ #15901]
5977 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
5978 * math/w_j0f.c (y0f): Likewise.
5979 * math/w_j0l.c (__y0l): Likewise.
5980 * math/w_j1.c (y1): Likewise.
5981 * math/w_j1f.c (y1f): Likewise.
5982 * math/w_j1l.c (__y1l): Likewise
5983 * math/w_jn.c (yn): Likewise.
5984 * math/w_jnf.c (ynf): Likewise.
5985 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
5986 Bessel function pole errors in _POSIX_ mode. Use NAN as return
5987 value for Bessel function domain errors outside _SVID_ mode.
5988 Adjust sign of return value for yn (negative integer, 0).
5989 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
5990 by zero in return for negative x and set sign appropriately for
5991 negative n.
5992 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
5993 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
5994 * math/libm-test.inc (y0_test_data): Add more tests and adjust
5995 expectations in error cases.
5996 (y1_test_data): Likewise.
5997 (yn_test_data): Likewise.
5998 * sysdeps/i386/fpu/libm-test-ulps: Update.
5999 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6000
5b118558
UW
60012013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6002
6003 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
6004 "64" to "64-v1". Add "64-v2".
6005 (abi-64-options): Rename to ...
6006 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
6007 (abi-64-condition): Rename to ...
6008 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
6009 (abi-64-ld-soname): Rename to ...
6010 (abi-64-v1-ld-soname): ... this.
6011 (abi-64-v2-options): Define.
6012 (abi-64-v2-condition): Likewise.
6013 (abi-64-v2-ld-soname): Likewise.
6014 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
6015 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
6016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
6017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
6018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
6019
61cd8fe4
UW
60202013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6021 Alan Modra <amodra@gmail.com>
6022
6023 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
6024 New versions for use with the ELFv2 ABI.
6025 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
6026 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
6027 declaration.
6028 (struct La_ppc64v2_retval): Likewise.
6029 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
6030 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
6031 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
6032 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
6033 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
6034 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
6035 Do not save or restore CR.
6036 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
6037 (_dl_profile_resolve): Do no save or restore CR. Support extended
6038 return values for ELFv2 ABI. Fix location of FPR return registers.
6039 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
6040 updated values for _CALL_ELF == 2.
6041 (La_regs, La_retval, int_retval): Likewise.
6042
8b8a692c
UW
60432013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6044
6045 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
6046 (FRAME_MIN_SIZE_PARM): Likewise.
6047 (FRAME_BACKCHAIN): Likewise.
6048 (FRAME_CR_SAVE): Likewise.
6049 (FRAME_LR_SAVE): Likewise.
6050 (FRAME_TOC_SAVE): Likewise.
6051 (FRAME_PARM_SAVE): Likewise.
6052 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
6053 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
6054 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
6055 (call_mcount_parm_offset): New macro.
6056 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
6057 (PROF): Use symbolic stack frame offsets.
6058 (TAIL_CALL_SYSCALL_ERROR): Likewise.
6059 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
6060 Redefine in terms of FRAME_MIN_SIZE.
6061 (_dl_runtime_resolve): Use symbolic stack frame offsets.
6062 (_dl_profile_resolve): Likewise. Update comment.
6063 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
6064 symbols stack frame offsets.
6065 (__sigsetjmp): Likewise.
6066 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
6067 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
6068 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
6069 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
6070
6071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
6072 (FRAME_BACKCHAIN): Remove.
6073 (FRAME_CR_SAVE): Likewise.
6074 (FRAME_LR_SAVE): Likewise.
6075 (FRAME_COMPILER_DW): Likewise.
6076 (FRAME_LINKER_DW): Likewise.
6077 (FRAME_TOC_SAVE): Likewise.
6078 (FRAME_PARM_SAVE): Likewise.
6079 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
6080 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
6081 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
6082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
6083 (CHECK_SP): Use symbolic stack frame offsets.
6084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
6085 zone" instead of caller's parameter save area for temp storage.
6086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
6087 Likewise. Also, use symbolic stack frame offsets.
6088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
6089 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
6090 our own stack frame instead of the caller's.
6091 (__socket): Use symbolic stack frame offsets.
6092
122b66de
UW
60932013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6094 Alan Modra <amodra@gmail.com>
6095
6096 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
6097 Define.
6098 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
6099 PPC64_LOCAL_ENTRY_OFFSET): Define.
6100 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
6101 New function.
6102 (elf_machine_fixup_plt): Call it.
6103 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
6104 reloc arguments.
6105 (elf_machine_rela): Update call to elf_machine_plt_conflict.
54285cf9
SP
6106 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
6107 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
6108 r2 before calling target.
6109
696caf1d
UW
61102013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6111 Alan Modra <amodra@gmail.com>
6112
6113 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
6114 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
6115 versions of macros to support ELFv2 ABI.
6116 (LOCALENTRY): New macro.
6117 (ENTRY, EALIGN): Use it.
6118 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
6119 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
6120 fall through into ENTRY entry point.
6121 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
6122 Only define if _CALL_ELF != 2.
6123
6124 (elf_machine_matches_host): Verify ABI version matches.
6125 (RTLD_START): Use LOCALENTRY.
6126 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
6127 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
6128 (PLT_ENTRY_WORDS): New macro.
6129 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
6130 (elf_machine_runtime_setup): Support ELFv2 ABI.
6131 (elf_machine_fixup_plt): Likewise.
6132 (elf_machine_plt_conflict): Likewise.
6133 (resolve_ifunc): Likewise.
6134 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
6135 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
6136 Likewise.
6137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
6138 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
6139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
6140 (makecontext): Support ELFv2 ABI.
6141 * elf/elf.h (EF_PPC64_ABI): Define.
6142
d31beafa
UW
61432013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6144
6145 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
6146 New assembler macro.
6147 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
6148 [ASSEMBLER] (ENTRY): ... but instead here ...
6149 [ASSEMBLER] (EALIGN): ... and here.
6150 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
6151 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
6152 [!ASSEMBLER] (ENTRY_2): Use it.
6153 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
6154 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
6155 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
6156 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
6157 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
6158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
6159 Use PPC64_LOAD_FUNCPTR.
6160
b525166b
UW
61612013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6162
6163 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
6164
7ec07d9a
AM
61652013-12-04 Alan Modra <amodra@gmail.com>
6166
6167 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
6168 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
6169 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
6170 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
6171
6172 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
6173 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
6174 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
6175 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
6176 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
6177 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
6178
5162e7dd
UW
61792013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6180
6181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
6182 (__makecontext): Fix incorrect CFI when backtracing out of
6183 context created via makecontext.
6184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
6185 (__setcontext): Fix incorrect CFI during switch to new context.
6186 (__novec_setcontext): Likewise.
6187
19e3372b
OB
61882013-12-04 Ondřej Bílka <neleai@seznam.cz>
6189
6190 [BZ #4772]
6191 * time/strptime_l.c (__strptime_internal): Allow modifiers
6192 in strptime.
6193 * time/tst-strptime.c (day_tests): Add testcase.
6194
6195
ecaf142d
SP
61962013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6197
6198 * scripts/bench.pl: Skip over blank lines.
6199
fbf964ae
PE
62002013-12-04 Paul Eggert <eggert@cs.ucla.edu>
6201
6202 [BZ #926]
6203 * manual/time.texi (Calendar Time): Clarify what timezone functions
6204 use.
6205
fa60a674
AZ
62062013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6207
6208 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6209
d674f0ef
OB
62102013-12-04 Ondřej Bílka <neleai@seznam.cz>
6211
6212 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
6213 implementation.
6214 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
6215 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
6216 * debug/memset_chk.c (__memset_chk): Likewise.
6217 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
6218 * debug/strncpy_chk.c: Likewise.
6219
17dea188
JM
62202013-12-03 Joseph Myers <joseph@codesourcery.com>
6221
749008ff
JM
6222 [BZ #15268]
6223 [BZ #15425]
6224 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
6225 (__ieee754_exp): For possibly underflowing results, check size of
6226 result and force underflow exception if required.
6227 * math/auto-libm-test-in: Add more tests of exp.
6228 * math/auto-libm-test-out: Regenerated.
6229 * sysdeps/i386/fpu/libm-test-ulps: Update.
6230 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6231
17dea188
JM
6232 [BZ #16283]
6233 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
6234 * math/w_exp2f.c (__exp2f): Likewise.
6235 * math/w_exp2l.c (__exp2l): Likewise.
6236 * math/auto-libm-test-in: Do not allow missing errno on exp2
6237 underflow.
6238 * math/auto-libm-test-out: Regenerated.
6239
b20de2c3
OB
62402013-12-03 Ondřej Bílka <neleai@seznam.cz>
6241
6242 [BZ #16274]
6243 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
6244 handle filename validation.
6245 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
6246 (do_open): Delete.
6247
d8e2dbe3
JM
62482013-12-03 Joseph Myers <joseph@codesourcery.com>
6249
34e16df5
JM
6250 [BZ #6786]
6251 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
6252 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
6253 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
6254 <float.h>.
6255 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
6256 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
6257 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
6258 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
6259 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
6260 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
6261 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
6262 * math/auto-libm-test-in: Don't allow missing errno from erfc.
6263 Add more erfc tests.
6264 * math/auto-libm-test-out: Regenerated.
6265 * sysdeps/i386/fpu/libm-test-ulps: Update.
6266 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6267
d8e2dbe3
JM
6268 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
6269 exp2, expm1, j0 and j1.
6270 * math/auto-libm-test-out: Regenerated.
6271 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
6272 (erfc_test_data): Likewise.
6273 (exp_test_data): Likewise.
6274 (exp_tonearest_test_data): Likewise.
6275 (exp_towardzero_test_data): Likewise.
6276 (exp_downward_test_data): Likewise.
6277 (exp_upward_test_data): Likewise.
6278 (exp10_test_data): Likewise.
6279 (exp2_test_data): Likewise.
6280 (expm1_test_data): Likewise.
6281 (j0_test_data): Likewise.
6282 (j1_test_data): Likewise.
6283 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
6284 (input_flag_type): Add flag_xfail_rounding.
6285 (input_flags): Add xfail-rounding.
6286 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
6287 (output_for_one_input_case): Handle flag_xfail_rounding.
6288 * sysdeps/i386/fpu/libm-test-ulps: Update.
6289 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6290
18d14251
AJ
62912013-12-03 Aurelien Jarno <aurelien@aurel32.net>
6292
3d2e6075 6293 [BZ #16289]
18d14251
AJ
6294 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
6295 division by 0.
6296
520d437b
SP
62972013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
6298
6299 [BZ #16195]
6300 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
6301 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
6302 (STAP_PROBE0): New macro.
6303 (STAP_PROBE1): Likewise.
6304 (STAP_PROBE2): Likewise.
6305 (STAP_PROBE3): Likewise.
6306 (STAP_PROBE4): Likewise.
6307
416e0145
OB
63082013-12-02 Ondřej Bílka <neleai@seznam.cz>
6309
6310 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
6311
9d17796a
SE
63122013-12-02 Steve Ellcey <sellcey@mips.com>
6313
6314 * benchtests/Makefile (bench): Add sqrt.
6315 (LDLIBS-bench-sqrt): New.
6316 * benchtests/sqrt-input: New.
6317
f524d6a8
PS
63182013-12-02 Pavel Simerda <psimerda@redhat.com>
6319
639a0ef8
PS
6320 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
6321 (GAIH_EAI): Likewise.
6322 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
6323 (gaih_inet): Likewise.
6324 (getaddrinfo): Don't use GAIH_EAI.
6325
f524d6a8
PS
6326 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
6327 (struct gaih): Remove definition.
6328
df3aedaf
SP
63292013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6330
6331 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
6332 Use HERRNOP directly.
6333
1ab19dec
AZ
63342013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6335
b42ad38d 6336 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 6337
176b0c79
JM
63382013-11-30 Joseph Myers <joseph@codesourcery.com>
6339
6340 * math/gen-auto-libm-tests.c (test_functions): Add more
6341 single-argument functions.
6342 (special_fill_pi_2): New function.
6343 (special_fill_minus_pi_2): Likewise.
6344 (special_fill_pi_6): Likewise.
6345 (special_fill_minus_pi_6): Likewise.
6346 (special_fill_pi_3): Likewise.
6347 (special_fill_2pi_3): Likewise.
6348 (special_fill_e): Likewise.
6349 (special_fill_1_e): Likewise.
6350 (special_fill_e_minus_1): Likewise.
6351 (special_real_inputs): Add more special inputs.
6352 (output_for_one_input_case): Do not require ERANGE on underflow to
6353 zero if round-to-nearest result does not underflow to zero, unless
6354 exact results required.
6355 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
6356 atan, atanh, cbrt, cos and cosh.
6357 * math/auto-libm-test-out: Regenerated.
6358 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
6359 (acos_tonearest_test_data): Likewise.
6360 (acos_towardzero_test_data): Likewise.
6361 (acos_downward_test_data): Likewise.
6362 (acos_upward_test_data): Likewise.
6363 (acosh_test_data): Likewise.
6364 (asin_test_data): Likewise.
6365 (asin_tonearest_test_data): Likewise.
6366 (asin_towardzero_test_data): Likewise.
6367 (asin_upward_test_data): Likewise.
6368 (asinh_test_data): Likewise.
6369 (atan_test_data): Likewise.
6370 (atanh_test_data): Likewise.
6371 (cbrt_test_data): Likewise.
6372 (cos_test_data): Likewise.
6373 (cos_tonearest_test_data): Likewise.
6374 (cos_towardzero_test_data): Likewise.
6375 (cos_downward_test_data): Likewise.
6376 (cos_upward_test_data): Likewise.
6377 (cosh_test_data): Likewise.
6378 (cosh_tonearest_test_data): Likewise.
6379 (cosh_towardzero_test_data): Likewise.
6380 (cosh_downward_test_data): Likewise.
6381 (cosh_upward_test_data): Likewise.
6382 * sysdeps/i386/fpu/libm-test-ulps: Update.
6383 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6384
ffb536d0
JM
63852013-11-29 Joseph Myers <joseph@codesourcery.com>
6386
2a77a467
JM
6387 [BZ #6787]
6388 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
6389 * math/w_exp10f.c (__exp10f): Likewise.
6390 * math/w_exp10l.c (__exp10l): Likewise.
6391 * math/libm-test.inc (exp10_test_data): Add more tests and expect
6392 errno settings in existing tests.
6393
ea3bc4e8
JM
6394 [BZ #14032]
6395 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
6396 precision control set to double precision.
6397 * sysdeps/i386/fpu/w_sqrt.c: New file.
6398 * math/auto-libm-test-in: Add more tests.
6399 * math/auto-libm-test-out: Update.
6400
0712c9d8
JM
6401 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
6402 (sqrt_test_tonearest): New function.
6403 (sqrt_towardzero_test_data): New variable.
6404 (sqrt_test_towardzero): New function.
6405 (sqrt_downward_test_data): New variable.
6406 (sqrt_test_downward): New function.
6407 (sqrt_upward_test_data): New variable.
6408 (sqrt_test_upward): New function.
6409 (main): Call the new functions.
6410
ffb536d0
JM
6411 * math/gen-auto-libm-tests.c: New file.
6412 * math/auto-libm-test-in: Likewise.
6413 * math/auto-libm-test-out: New generated file.
6414 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
6415 variables.
6416 (%beautify): Add generated representations of zero.
6417 (top level): Set $auto_input and call parse_auto_input.
6418 (beautify): Remove trailing "f" from hex float constants.
6419 (parse_args): Handle XFAIL_TEST.
6420 (convert_condition): New function.
6421 (or_value): Likewise.
6422 (or_cond_value): Likewise.
6423 (generate_testfile): Handle AUTO_TESTS_* lines.
6424 (parse_auto_input): New function.
6425 * math/libm-test.inc (XFAIL_TEST): New macro.
6426 (ERRNO_UNCHANGED): Update value.
6427 (ERRNO_EDOM): Likewise.
6428 (ERRNO_ERANGE): Likewise.
6429 (IGNORE_RESULT): Likewise.
6430 (TEST_COND_flt_32): New macro.
6431 (TEST_COND_dbl_64): Likewise.
6432 (TEST_COND_ldbl_96_intel): Likewise.
6433 (TEST_COND_ldbl_96_m68k): Likewise.
6434 (TEST_COND_ldbl_128): Likewise.
6435 (TEST_COND_ldbl_128ibm): Likewise.
6436 (TEST_COND_long32): Likewise.
6437 (TEST_COND_long64): Likewise.
6438 (TEST_COND_before_rounding): Likewise.
6439 (TEST_COND_after_rounding): Likewise.
6440 (enable_test): Handle XFAIL_TEST flag.
6441 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
6442 with finite results.
6443 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
6444 auto-libm-test-out.
6445
acd98a8e
AK
64462013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
6447 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6448
6449 [BZ #16214]
6450 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
6451 __tls_get_addr_internal instead of __tls_get_offset in order to
6452 avoid GOT pointer dependency. Make rtld export
6453 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
6454 __tls_get_addr since we are a __tls_get_offset platform.
6455 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
6456 GOT pointer being set up before.
6457 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
6458
3c1c46a6
JM
64592013-11-28 Joseph Myers <joseph@codesourcery.com>
6460
7475aef5
JM
6461 * manual/math.texi (Errors in Math Functions): Document accuracy
6462 goals.
6463
8bca7cd8
JM
6464 [BZ #15004]
6465 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
6466 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
6467 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
6468 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
6469 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
6470 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
6471 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
6472 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
6473 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
6474 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
6475 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
6476 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
6477 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
6478 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
6479 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
6480 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
6481
91a1f3fe
JM
6482 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
6483 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
6484 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
6485 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
6486 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
6487 Likewise.
6488 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
6489 Likewise.
6490 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
6491 Likewise.
6492 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
6493 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
6494 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
6495 atomic-feupdateenv and flt-rounds.
6496 * sysdeps/powerpc/nofpu/Versions (libc): Add
6497 __atomic_feholdexcept, __atomic_feclearexcept,
6498 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
6499 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
6500 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
6501 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
6502 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
6503 here.
6504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
6505 Update.
6506
c5df7609
JM
6507 * manual/arith.texi (FP Exceptions): Document that exceptions may
6508 not be raised when matherr is used.
6509 (Math Error Reporting): Document overflow in directed rounding
6510 modes. Document that errno may not be set when finite values are
6511 returned on overflow. Document intent to set errno on underflow
6512 only for underflow to zero.
6513
3c1c46a6
JM
6514 [BZ #16271]
6515 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
6516 round-to-nearest then adjust result for other rounding modes.
6517 * include/fenv.h (fegetround): Use libm_hidden_proto.
6518 * math/fegetround.c (fegetround): Use libm_hidden_def.
6519 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
6520 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
6521 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
6522 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
6523 Likewise.
6524 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
6525 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
6526 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
6527 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
6528
5a4c6d53
SP
65292013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6530
6531 [BZ #16077]
6532 * nss/Versions (libnss_files): Add
6533 _nss_files_gethostbyname3_r.
6534 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
6535 New function.
6536 (HOST_DB_LOOKUP): Remove macro.
6537 (_nss_files_gethostbyname_r): Implement function without the
6538 HOST_DB_LOOKUP macro.
6539 (_nss_files_gethostbyname2_r): Likewise.
6540
897b98ba
OB
65412013-11-28 Ondřej Bílka <neleai@seznam.cz>
6542
6543 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
6544
6f476861
UB
65452013-11-26 Uros Bizjak <ubizjak@gmail.com>
6546
6547 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
6548 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
6549 warning.
6550
bd12ab55
AZ
65512013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6552
6553 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
6554 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
6555 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
6556 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
6557 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
6558 __fe_nomask_env_priv and attribute_hidden.
6559 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
6560 (libc_feupdateenv_test_ppc): Likewise.
6561 (libc_feresetround_ppc): Likewise.
6562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
6563 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
6564 compat_symbol macro.
6565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
6566 (__fe_nomask_env): Likewise.
6567 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
6568
52bb6543
OB
65692013-11-26 Ondřej Bílka <neleai@seznam.cz>
6570
6571 * string/Makefile: Remove ifunc tests.
6572 * string/test-string.h: Define TEST_IFUNC.
6573 * string/test-bcopy-ifunc.c: Remove.
6574 * string/test-bzero-ifunc.c: Likewise.
6575 * string/test-memccpy-ifunc.c: Likewise.
6576 * string/test-memchr-ifunc.c: Likewise.
6577 * string/test-memcmp-ifunc.c: Likewise.
6578 * string/test-memcpy-ifunc.c: Likewise.
6579 * string/test-memmem-ifunc.c: Likewise.
6580 * string/test-memmove-ifunc.c: Likewise.
6581 * string/test-mempcpy-ifunc.c: Likewise.
6582 * string/test-memrchr-ifunc.c: Likewise.
6583 * string/test-memset-ifunc.c: Likewise.
6584 * string/test-rawmemchr-ifunc.c: Likewise.
6585 * string/test-stpcpy-ifunc.c: Likewise.
6586 * string/test-stpncpy-ifunc.c: Likewise.
6587 * string/test-strcasecmp-ifunc.c: Likewise.
6588 * string/test-strcasestr-ifunc.c: Likewise.
6589 * string/test-strcat-ifunc.c: Likewise.
6590 * string/test-strchr-ifunc.c: Likewise.
6591 * string/test-strchrnul-ifunc.c: Likewise.
6592 * string/test-strcmp-ifunc.c: Likewise.
6593 * string/test-strcpy-ifunc.c: Likewise.
6594 * string/test-strcspn-ifunc.c: Likewise.
6595 * string/test-strlen-ifunc.c: Likewise.
6596 * string/test-strncasecmp-ifunc.c: Likewise.
6597 * string/test-strncat-ifunc.c: Likewise.
6598 * string/test-strncmp-ifunc.c: Likewise.
6599 * string/test-strncpy-ifunc.c: Likewise.
6600 * string/test-strnlen-ifunc.c: Likewise.
6601 * string/test-strpbrk-ifunc.c: Likewise.
6602 * string/test-strrchr-ifunc.c: Likewise.
6603 * string/test-strspn-ifunc.c: Likewise.
6604 * string/test-strstr-ifunc.c: Likewise.
6605
ab260039 66062013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
6607
6608 * benchtests/Makefile: Remove ifunc tests.
6609 * benchtests/bench-string.h: Define TEST_IFUNC.
6610 * benchtests/bench-bcopy-ifunc.c: Remove.
6611 * benchtests/bench-bzero-ifunc.c: Likewise.
6612 * benchtests/bench-memccpy-ifunc.c: Likewise.
6613 * benchtests/bench-memchr-ifunc.c: Likewise.
6614 * benchtests/bench-memcmp-ifunc.c: Likewise.
6615 * benchtests/bench-memcpy-ifunc.c: Likewise.
6616 * benchtests/bench-memmem-ifunc.c: Likewise.
6617 * benchtests/bench-memmove-ifunc.c: Likewise.
6618 * benchtests/bench-mempcpy-ifunc.c: Likewise.
6619 * benchtests/bench-memrchr-ifunc.c: Likewise.
6620 * benchtests/bench-memset-ifunc.c: Likewise.
6621 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
6622 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
6623 * benchtests/bench-stpcpy-ifunc.c: Likewise.
6624 * benchtests/bench-stpncpy-ifunc.c: Likewise.
6625 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
6626 * benchtests/bench-strcasestr-ifunc.c: Likewise.
6627 * benchtests/bench-strcat-ifunc.c: Likewise.
6628 * benchtests/bench-strchr-ifunc.c: Likewise.
6629 * benchtests/bench-strchrnul-ifunc.c: Likewise.
6630 * benchtests/bench-strcmp-ifunc.c: Likewise.
6631 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
6632 * benchtests/bench-strcpy-ifunc.c: Likewise.
6633 * benchtests/bench-strcspn-ifunc.c: Likewise.
6634 * benchtests/bench-strlen-ifunc.c: Likewise.
6635 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
6636 * benchtests/bench-strncat-ifunc.c: Likewise.
6637 * benchtests/bench-strncmp-ifunc.c: Likewise.
6638 * benchtests/bench-strncpy-ifunc.c: Likewise.
6639 * benchtests/bench-strnlen-ifunc.c: Likewise.
6640 * benchtests/bench-strpbrk-ifunc.c: Likewise.
6641 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 6642 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
6643 * benchtests/bench-strspn-ifunc.c: Likewise.
6644 * benchtests/bench-strstr-ifunc.c: Likewise.
6645
66462013-11-26 Ondřej Bílka <neleai@seznam.cz>
6647
ab260039
OB
6648 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
6649
d1d9eaf4 66502013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 6651
d1d9eaf4
OB
6652 * resolv/netdb.h: Use __glibc_reserved instead __unused.
6653 * rt/aio.h: Likewise.
6654 * sysdeps/gnu/bits/utmp.h: Likewise.
6655 * sysdeps/gnu/bits/utmpx.h: Likewise.
6656 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
6657 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
6658 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
6659 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
6660 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
6661 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
6662 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
6663 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
6664 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
6665 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
6666 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
6667 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
6668 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
6669 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
6670 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
6671 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
6672 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
6673 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
6674 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
6675 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
6676 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
6677 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
6678 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
6679 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
6680 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
6681 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
6682 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
6683 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
6684 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
6685 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
6686 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
6687 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
6688 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
6689 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
6690 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
6691 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
6692 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
6693 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
6694 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
6695 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
6696 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
6697 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
6698
a7624ed9
CD
66992013-11-25 Carlos O'Donell <carlos@redhat.com>
6700
6701 [BZ #16245]
6702 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
6703 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
6704
63cfe52b
JM
67052013-11-25 Joseph Myers <joseph@codesourcery.com>
6706
6707 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
6708 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
6709 Likewise.
6710
41e8926a
AZ
67112013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6712
6713 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
6714 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
6715 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
6716 (__fesetround): Remove define.
6717 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
6718 rounding and exceptions handling.
6719 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
6720 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
6721 (__fe_nomask_env): Likewise.
6722 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
6723 __fegetround instead of fegetround.
6724 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
6725 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
6726
6851bd4d
RM
67272013-11-21 Roland McGrath <roland@hack.frob.com>
6728
070906ff
RM
6729 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
6730 it's there.
6731
6851bd4d
RM
6732 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
6733
84ae135d
MI
67342013-11-21 Meador Inge <meadori@codesourcery.com>
6735
6736 [BZ #11157]
6737 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
6738 (encrypt_r): Likewise.
6739 * malloc/obstack.h (obstack_free): Likewise.
6740 * posix/unistd.h (encrypt): Likewise.
6741
daf75146
GM
67422013-11-21 Guy Martin <gmsoft@tuxicoman.be>
6743
6744 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
6745 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
6746 DL_CALL_DT_FINI() that call the functions directly.
6747 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
6748 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
6749 * elf/dl-fini.c: Likewise.
6750
10ad46bc
OB
67512013-11-20 Ondřej Bílka <neleai@seznam.cz>
6752
6753 * malloc/hooks.c (memalign_check): Add alignment rounding.
6754 * malloc/malloc.c (_mid_memalign): New function.
6755 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
6756 Implement by calling _mid_memalign.
6757 * manual/probes.texi (Memory Allocation Probes): Remove
6758 memory_valloc_retry and memory_pvalloc_retry.
6759
f3fd2628
SP
67602013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
6761
4712799f
SP
6762 * locale/programs/locarchive.c (open_archive): Add const
6763 qualifier to ARCHIVEFNAME and copy default fname to
6764 DEFAULT_FNAME.
6765
0417b20f
SP
6766 [BZ #15601]
6767 * libio/tst-widetext.input: Rename Oriya to Odia.
6768 * locale/iso-639.def: Likewise.
6769
f3fd2628
SP
6770 * manual/probes.texi (Mathematical Function Probes): Add
6771 documentation for sin, cos, asin and acos probes.
6772 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
6773 (__sin32): Add slowasin probe.
6774 (__cos32): Add slowacos probe.
6775 (__mpsin): Add slowsin probe.
6776 (__mpcos): Add slowcos probe.
6777
73c1ce4f
JM
67782013-11-19 Joseph Myers <joseph@codesourcery.com>
6779
6780 [BZ #15483]
6781 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
6782 thread-local __sim_exceptions_thread and global
6783 __sim_exceptions_global.
6784 (__sim_disabled_exceptions): Change to thread-local
6785 __sim_disabled_exceptions_thread and global
6786 __sim_disabled_exceptions_global.
6787 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
6788 and global __sim_round_mode_global.
6789 (__simulate_exceptions): Use thread-local floating-point state and
6790 set global state from it as needed.
6791 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
6792 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
6793 __sim_round_mode_thread.
6794 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
6795 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
6796 and global __sim_exceptions_global.
6797 (__sim_disabled_exceptions): Change to thread-local
6798 __sim_disabled_exceptions_thread and global
6799 __sim_disabled_exceptions_global.
6800 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
6801 and global __sim_round_mode_global.
6802 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
6803 (SIM_SET_GLOBAL): Likewise.
6804 * sysdeps/powerpc/soft-fp/sfp-machine.h
6805 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
6806 __sim_round_mode_thread.
6807 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
6808 __sim_disabled_exceptions_thread.
6809 (__sim_exceptions): Change to __sim_exceptions_thread.
6810 (__sim_disabled_exceptions): Change to
6811 __sim_disabled_exceptions_thread.
6812 (__sim_round_mode): Change to __sim_round_mode_thread.
6813 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
6814 thread-local floating-point state and set global state from it as
6815 needed.
6816 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
6817 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
6818 (__sim_disabled_exceptions): Remove extern declaration.
6819 (feenableexcept): Use thread-local floating-point state and set
6820 global state from it as needed.
6821 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
6822 extern declaration.
6823 (__sim_disabled_exceptions): Likewise.
6824 (__sim_round_mode): Likewise.
6825 (__fegetenv): Use thread-local floating-point state.
6826 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
6827 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
6828 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
6829 floating-point state and set global state from it as needed.
6830 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
6831 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
6832 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
6833 Likewise.
6834 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
6835 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
6836 Likewise.
6837 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
6838 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
6839 Use __sim_round_mode_thread.
6840 * math/test-fenv-tls.c: New file.
6841 * math/Makefile (tests): Add test-fenv-tls.
6842 ($(objpfx)test-fenv-tls): Depend on
6843 $(common-objpfx)nptl/libpthread.so.
6844
b5449b12
AS
68452013-11-19 Andreas Schwab <schwab@suse.de>
6846
6847 * locale/programs/locale.c (show_info): Decode wordarray elements.
6848 * locale/categories.def (LC_MONETARY): Add element for
6849 _NL_MONETARY_CRNCYSTR.
6850 * locale/C-monetary.c (conversion_rate): New variable.
6851 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
6852 element.
6853
e186536b
CM
68542013-11-18 Chris Metcalf <cmetcalf@tilera.com>
6855
6856 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
6857 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
6858
5c349950
PP
68592013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
6860
6861 * elf/Makefile (tst-auxv): New test.
6862 * elf/tst-auxv.c: New
6863 * elf/rtld.c (dl_main): Adjust AT_EXECFN
6864
699df45b
JM
68652013-11-18 Joseph Myers <joseph@codesourcery.com>
6866
6867 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
6868 (hidden_proto): Caller changed.
6869 (hidden_tls_proto): New macro.
6870 (libc_hidden_tls_proto): Likewise.
6871 (rtld_hidden_tls_proto): Likewise.
6872 (libm_hidden_tls_proto): Likewise.
6873 (libresolv_hidden_tls_proto): Likewise.
6874 (librt_hidden_tls_proto): Likewise.
6875 (libdl_hidden_tls_proto): Likewise.
6876 (libnss_files_hidden_tls_proto): Likewise.
6877 (libnsl_hidden_tls_proto): Likewise.
6878 (libnss_nisplus_hidden_tls_proto): Likewise.
6879 (libutil_hidden_tls_proto): Likewise.
6880
b7589107
OB
68812013-11-18 Ondřej Bílka <neleai@seznam.cz>
6882
6883 [BZ #10253]
6884 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
6885 (decompose_rpath): Defer expansion to fillin_rpath.
6886 (_dl_init_paths): Pass linkmap to fillin_rpath.
6887
250c23bd
RS
68882013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6889
6890 * benchtests/Makefile: Add strsep.
6891 * benchtests/bench-strsep.c: New file: strsep benchtest.
6892 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
6893
a7931fcf
AS
68942013-11-18 Andreas Schwab <schwab@suse.de>
6895
6896 * locale/programs/locale.c (show_info) [case byte]: Check for
6897 '\377' instead of '\177'.
6898 * locale/C-monetary.c (not_available): Always use "\377".
6899 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
6900 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
6901 detect unavailable sign_posn locale elements.
6902 * locale/localeconv.c (__localeconv): For grouping and
6903 mon_grouping handle "\177" and "\377" like no grouping.
6904 (INT_ELEM): New macro. Use it to set all numeric members.
6905 * locale/programs/ld-monetary.c (monetary_read)
6906 <tok_mon_grouping>: Normalize single -1 to the empty string.
6907 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
6908 Likewise.
6909
728dab0e
OB
69102013-11-07 Ondřej Bílka <neleai@seznam.cz>
6911
6912 [BZ #16055]
6913 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
6914 when we match (nil).
6915 * stdio-common/tst-sscanf.c (struct test): Add testcase.
6916
66294491
JM
69172013-11-16 Joseph Myers <joseph@codesourcery.com>
6918
ce665817
JM
6919 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
6920 (NO_TEST_INLINE): Update value.
6921 (ERRNO_UNCHANGED): Likewise.
6922 (ERRNO_EDOM): Likewise.
6923 (ERRNO_ERANGE): Likewise.
6924 (IGNORE_RESULT): Likewise.
6925 (check_float_internal): Check signs of NaN results if
6926 TEST_NAN_SIGN used.
6927 (check_complex): Pass TEST_NAN_SIGN flag through to second
6928 check_float_internal call.
6929 (copysign_test_data): Add tests with quiet NaNs as second
6930 argument. Use TEST_NAN_SIGN.
6931 (fabs_test_data): Add test of negative quiet NaN argument. Use
6932 TEST_NAN_SIGN.
6933 (signbit_test_data): Add tests of quiet NaN argument.
6934 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
6935
ee1466a9
JM
6936 * math/gen-libm-test.pl (show_exceptions): Take extra argument
6937 $ignore_result.
6938 (parse_args): Handle function results specified as IGNORE.
6939 * math/libm-test.inc (IGNORE_RESULT): New macro.
6940 (check_float_internal): Do not check numerical result if flag
6941 IGNORE_RESULT set.
6942 (check_complex): Pass through IGNORE_RESULT to second
6943 check_float_internal call.
6944 (check_int): Do not check numerical result if flag IGNORE_RESULT
6945 set.
6946 (check_long): Likewise.
6947 (check_bool): Likewise.
6948 (check_longlong): Likewise.
6949 (lrint_test_data): Add tests of infinite and NaN arguments.
6950 (lrint_tonearest_test_data): Likewise.
6951 (lrint_towardzero_test_data): Likewise.
6952 (lrint_downward_test_data): Likewise.
6953 (lrint_upward_test_data): Likewise.
6954 (llrint_test_data): Likewise.
6955 (llrint_tonearest_test_data): Likewise.
6956 (llrint_towardzero_test_data): Likewise.
6957 (llrint_downward_test_data): Likewise.
6958 (llrint_upward_test_data): Likewise.
6959 (lround_test_data): Likewise.
6960 (llround_test_data): Likewise.
6961
14407b7e
JM
6962 * math/libm-test.inc (NO_TEST_INLINE): New macro.
6963 (ERRNO_UNCHANGED): Update value.
6964 (ERRNO_EDOM): Likewise.
6965 (ERRNO_ERANGE): Likewise.
6966 (NO_TEST_INLINE_FLOAT): New macro.
6967 (NO_TEST_INLINE_DOUBLE): Likewise.
6968 (enable_test): New function.
6969 (RUN_TEST_f_f): Check enable_test before running test.
6970 (RUN_TEST_2_f): Likewise.
6971 (RUN_TEST_fff_f): Likewise.
6972 (RUN_TEST_c_f): Likewise.
6973 (RUN_TEST_f_f1): Likewise.
6974 (RUN_TEST_fF_f1): Likewise.
6975 (RUN_TEST_fI_f1): Likewise.
6976 (RUN_TEST_ffI_f1): Likewise.
6977 (RUN_TEST_c_c): Likewise.
6978 (RUN_TEST_cc_c): Likewise.
6979 (RUN_TEST_f_i): Likewise.
6980 (RUN_TEST_f_i_tg): Likewise.
6981 (RUN_TEST_ff_i_tg): Likewise.
6982 (RUN_TEST_f_b): Likewise.
6983 (RUN_TEST_f_b_tg): Likewise.
6984 (RUN_TEST_f_l): Likewise.
6985 (RUN_TEST_f_L): Likewise.
6986 (RUN_TEST_fFF_11): Likewise.
6987 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
6988 conditionals.
6989 (cosh_test_data): Likewise.
6990 (exp_test_data): Likewise.
6991 (expm1_test_data): Likewise.
6992 (hypot_test_data): Likewise.
6993 (pow_test_data): Likewise.
6994 (sinh_test_data): Likewise.
6995 (tanh_test_data): Likewise.
6996 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
6997 flags argument.
6998
ca07f197
JM
6999 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
7000 tests with quiet NaN input and output.
7001 (acosh_test_data): Likewise.
7002 (asin_test_data): Likewise.
7003 (asinh_test_data): Likewise.
7004 (atan_test_data): Likewise.
7005 (atanh_test_data): Likewise.
7006 (atan2_test_data): Likewise.
7007 (cbrt_test_data): Likewise.
7008 (cos_test_data): Likewise.
7009 (cosh_test_data): Likewise.
7010 (erf_test_data): Likewise.
7011 (erfc_test_data): Likewise.
7012 (exp_test_data): Likewise.
7013 (exp10_test_data): Likewise.
7014 (exp2_test_data): Likewise.
7015 (expm1_test_data): Likewise.
7016 (hypot_test_data): Likewise.
7017 (j0_test_data): Likewise.
7018 (j1_test_data): Likewise.
7019 (jn_test_data): Likewise.
7020 (lgamma_test_data): Likewise.
7021 (log_test_data): Likewise.
7022 (log10_test_data): Likewise.
7023 (log1p_test_data): Likewise.
7024 (log2_test_data): Likewise.
7025 (pow_test_data): Likewise.
7026 (scalb_test_data): Likewise.
7027 (sin_test_data): Likewise.
7028 (sincos_test_data): Likewise.
7029 (sinh_test_data): Likewise.
7030 (tan_test_data): Likewise.
7031 (tanh_test_data): Likewise.
7032 (tgamma_test_data): Likewise.
7033 (y0_test_data): Likewise.
7034 (y1_test_data): Likewise.
7035 (yn_test_data): Likewise.
7036
66294491
JM
7037 [BZ #16167]
7038 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
7039 argument being NaN and avoid computations with second argument in
7040 that case.
7041 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
7042 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
7043 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
7044
1820b143
CL
70452013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
7046
7047 * locale/iso-639.def: Add Chitwani Tharu (the).
7048
714bd261
AS
70492013-11-14 Andreas Schwab <schwab@suse.de>
7050
7051 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
7052 word instead of empty string.
7053
7ab44563
AZ
70542013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7055
7056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
7057 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
7058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7059 (__fe_nomask_env): Likewise.
7060
e8470ea2
SE
70612013-11-13 Steve Ellcey <sellcey@mips.com>
7062
7063 * benchtests/bench-timing.h: Include time.h.
7064
17c1d9f0
L
70652013-11-13 H.J. Lu <hongjiu.lu@intel.com>
7066
7067 [BZ #15997]
7068 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
7069 to 3.4.0 for x32.
7070 * sysdeps/unix/sysv/linux/configure: Regenerated.
7071
9310c284
JM
70722013-11-13 Joseph Myers <joseph@codesourcery.com>
7073
7074 [BZ #16151]
7075 * stdlib/strtod_l.c (round_and_return): Do not consider
7076 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
7077 exponent one less than half the least subnormal exponent.
7078 * stdlib/test-strtod-round-data: Add more tests.
7079 * stdlib/tst-strtod-round.c (tests): Regenerated.
7080
7a2ad8cf
AZ
70812013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7082
7083 [BZ #14143]
7084 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
7085 (__fe_mask_env): Likewise.
7086 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
7087 libm_hidden_proto and add function prototype.
7088 (__fe_mask_env): Add function prototype.
7089 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
7090 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
7091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
7092 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
7093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7094 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
7095
50727aa7
MS
70962013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7097
b2f386c1 7098 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
7099 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
7100
a615be46
MS
71012013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7102
7103 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
7104 of htab_find_slot().
7105
7ddace62
DM
71062013-11-11 David S. Miller <davem@davemloft.net>
7107
7108 [BZ #16150]
7109 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
7110 symbol in the non-vis3 case in static builds.
7111 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
7112 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
7113 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
7114 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
7115
9182aa67
JK
71162013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7117
7118 [BZ #387]
7119 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
7120 it is empty.
7121
450a2e2d
AZ
71222013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7123
b2f386c1
SP
7124 * benchtests/Makefile: Add bench-strtod.
7125 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 7126
8ec3f656
AS
71272013-11-11 Andreas Schwab <schwab@suse.de>
7128
7129 [BZ #16153]
7130 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
7131 terminating NUL in key length.
7132
76a9b998
AZ
71332013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7134
7135 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
7136 Add artificial ODP entry for vDSO symbol for PPC64.
7137 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
7138 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
7139
e4368156
OB
71402013-11-07 Ondřej Bílka <neleai@seznam.cz>
7141
7142 [BZ #15374]
7143 * nss/getent.c (services_keys): Recognize services starting with digit.
7144
8d6bb57c
DM
71452013-11-06 David S. Miller <davem@davemloft.net>
7146
7147 [BZ #15985]
7148 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
7149 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
7150
e256c421
WN
71512013-11-06 Will Newton <will.newton@linaro.org>
7152
7153 * manual/memory.texi (Malloc Examples): Remove register
7154 keyword from examples.
7155
f6e12daa 71562013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 7157
f6e12daa 7158 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 7159
9d880655
AS
71602013-11-04 Joseph Myers <joseph@codesourcery.com>
7161
fd2f9486 7162 [BZ #6981]
9d880655
AS
7163 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
7164 depending on [__GCC_IEC_559 > 0].
7165 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
7166 depending on [__GCC_IEC_559_COMPLEX > 0].
7167
ae129d3c
CL
71682013-11-03 Chris Leonard <cjl@sugarlabs.org>
7169
7170 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
7171 to iso-639.def.
7172
4a15c2a4 71732013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
7174
7175 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
7176
8b35e35d
OB
71772013-11-01 Ondřej Bílka <neleai@seznam.cz>
7178
7179 [BZ #16112]
7180 * malloc/malloc (malloc_info): Do not handle first bin as
7181 special case.
7182
1d70fd6c
CL
71832013-11-01 Chris Leonard <cjl@sugarlabs.org>
7184
7185 * locale/iso-639.def: Add Central Nahuatl (nhn).
7186
8c5c2600
BH
71872013-11-01 Bruno Haible <bruno@clisp.org>
7188
7189 [BZ #7003]
7190 * manual/math.texi (BSD Random): Specify range upper bound as
7191 in POSIX.
7192
da5579c2
CL
71932013-10-31 Chris Leonard <cjl@sugarlabs.org>
7194
7195 * locale/iso-639.def: Add Meadow Mari (mhr).
7196
5d30d853
OB
71972013-10-31 Ondřej Bílka <neleai@seznam.cz>
7198
7199 [BZ #14752], [BZ #15763]
7200 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
7201 Validate name.
7202 * rt/tst_shm.c: Add test for escaping directory.
7203
a4966c61
AS
72042013-10-31 Andreas Schwab <schwab@suse.de>
7205
8a43e768 7206 [BZ #15917]
a4966c61
AS
7207 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
7208 followed by 'x' as part of digit sequence.
7209 * stdio-common/tst-sscanf.c (double_tests2): New tests.
7210
28d708c4
MAP
72112013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
7212
7213 [BZ #16037]
7214 * configure.ac: allow GNU Make 4.0 and greater.
7215 * configure: Regenerated.
7216
a56ee40b
WN
72172013-10-30 Will Newton <will.newton@linaro.org>
7218
7219 [BZ #16038]
7220 * malloc/hooks.c (memalign_check): Limit alignment to the
7221 maximum representable power of two.
7222 * malloc/malloc.c (__libc_memalign): Likewise.
7223 * malloc/tst-memalign.c (do_test): Add test for very
7224 large alignment values.
7225 * malloc/tst-posix_memalign.c (do_test): Likewise.
7226
c6e4925d
OB
72272013-10-30 Ondřej Bílka <neleai@seznam.cz>
7228
7229 [BZ #11087]
7230 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
7231 (munmap_chunk): Likewise.
7232 (mremap_chunk): Likewise.
7233
72342013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 7235
8a43e768 7236 [BZ #15799]
bbea82f7
OB
7237 * stdlib/div.c (div): Remove obsolete code.
7238 * stdlib/ldiv.c (ldiv): Likewise.
7239 * stdlib/lldiv.c (lldiv): Likewise.
7240
977f4b31
SP
72412013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7242
7243 [BZ #16071]
7244 * nss/nss_files/files-XXX.c (get_contents_ret): New
7245 enumerator.
7246 (get_contents): New function.
7247 (internal_getent): Use it. Expand size of LINEBUFLEN.
7248
cb8a6dbd
MF
72492013-10-30 Mike Frysinger <vapier@gentoo.org>
7250
7251 * configure.in: Moved to ...
7252 * configure.ac: ... here. Change reference to configure.in
7253 to configure.ac.
7254 * sysdeps/arm/preconfigure.ac: ... here.
7255 configure.in to configure.ac.
7256 * sysdeps/gnu/configure.in: Moved to ...
7257 * sysdeps/gnu/configure.ac: ... here.
7258 * sysdeps/i386/configure.in: Moved to ...
7259 * sysdeps/i386/configure.ac: ... here.
7260 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
7261 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
7262 * sysdeps/mach/configure.in: Moved to ...
7263 * sysdeps/mach/configure.ac: ... here.
7264 * sysdeps/mach/hurd/configure.in: Moved to ...
7265 * sysdeps/mach/hurd/configure.ac: ... here.
7266 * sysdeps/powerpc/configure.in: Moved to ...
7267 * sysdeps/powerpc/configure.ac: ... here.
7268 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
7269 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
7270 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
7271 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
7272 * sysdeps/s390/s390-32/configure.in: Moved to ...
7273 * sysdeps/s390/s390-32/configure.ac: ... here.
7274 * sysdeps/s390/s390-64/configure.in: Moved to ...
7275 * sysdeps/s390/s390-64/configure.ac: ... here.
7276 * sysdeps/sh/configure.in: Moved to ...
7277 * sysdeps/sh/configure.ac: ... here.
7278 * sysdeps/sparc/configure.in: Moved to ...
7279 * sysdeps/sparc/configure.ac: ... here.
7280 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
7281 * sysdeps/unix/sysv/linux/configure.ac: ... here.
7282 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
7283 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
7284 * sysdeps/x86_64/configure.in: Moved to ...
7285 * sysdeps/x86_64/configure.ac: ... here.
7286 * sysdeps/x86_64/preconfigure.in: Moved to ...
7287 * sysdeps/x86_64/preconfigure.ac: ... here.
7288 * aclocal.m4: Change reference to configure.in to configure.ac.
7289 * config.h.in: Likewise.
7290 * manual/install.texi: Likewise.
7291 * manual/maint.texi: Likewise.
7292 * Makefile: Likewise.
7293 * malloc/Makefile: Likewise.
7294 * nscd/Makefile: Likewise.
7295 * Makeconfig: Change reference to configure.in and
7296 preconfigure.in to configure.ac and preconfigure.ac
7297 respectively.
7298 * INSTALL: Regenerated.
7299 * configure: Likewise.
7300 * sysdeps/gnu/configure: Likewise.
7301 * sysdeps/i386/configure: Likewise.
7302 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
7303 * sysdeps/mach/configure: Likewise.
7304 * sysdeps/mach/hurd/configure: Likewise.
7305 * sysdeps/powerpc/configure: Likewise.
7306 * sysdeps/powerpc/powerpc32/configure: Likewise.
7307 * sysdeps/powerpc/powerpc64/configure: Likewise.
7308 * sysdeps/s390/s390-32/configure: Likewise.
7309 * sysdeps/s390/s390-64/configure: Likewise.
7310 * sysdeps/sh/configure: Likewise.
7311 * sysdeps/sparc/configure: Likewise.
7312 * sysdeps/unix/sysv/linux/configure: Likewise.
7313 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
7314 * sysdeps/x86_64/configure: Likewise.
7315 * sysdeps/x86_64/preconfigure: Likewise.
7316
36a4953a
AS
73172013-10-29 Andreas Schwab <schwab@suse.de>
7318
7319 * stdio-common/Makefile (tst-swscanf-ENV): Define.
7320
c79a1204
SP
73212013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7322
dfa1b402
SP
7323 * benchtests/pow-inputs: Add new inputs.
7324
54f73d9c
SP
7325 * benchtests/exp-inputs: Add new inputs.
7326
c79a1204
SP
7327 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
7328 conditional check for return value.
7329 (__cos32): Likewise.
7330
67beb545 73312013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
7332
7333 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
7334 to provide a boost for large inputs with word alignment.
7335 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
7336 implementation based on optimized PPC64 strcpy.
7337 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
7338 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
7339 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
7340 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
7341
151659f6
OB
73422013-10-25 Ondřej Bílka <neleai@seznam.cz>
7343
482a077e 7344 [BZ #2801]
151659f6
OB
7345 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
7346
10b0f26b
OB
73472013-10-25 Ondřej Bílka <neleai@seznam.cz>
7348
7349 [BZ #14876]
7350 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
7351 * time/tst-strptime.c (day_tests): Add testcase.
7352
ca42d35e
OB
73532013-10-25 Ondřej Bílka <neleai@seznam.cz>
7354
482a077e 7355 [BZ #14029]
ca42d35e
OB
7356 * manual/pattern.texi: Acknowledge that fnmatch can fail.
7357
52e6d801
FB
73582013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
7359
7360 [BZ #16074]
7361 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
7362 MAP_FAILED on error.
7363
7cbcdb36
SP
73642013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
7365
7366 [BZ #16072]
7367 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
7368 heap for large requests.
7369
894f3f10
AM
73702013-10-25 Aurelien Jarno <aurelien@aurel32.net>
7371
7372 [BZ #9954]
7373 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
7374 result if the result has no associated interface.
7375 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
7376 interface for all 127.X.Y.Z addresses.
7377
b85545a6
CL
73782013-10-24 Chris Leonard <cjl@sugarlabs.org>
7379
7380 * locale/iso-639.def: Add Ligurian (lij)
7381
d1f23d46
OB
73822013-10-21 Ondřej Bílka <neleai@seznam.cz>
7383
7384 [BZ #15825]
7385 * sunrpc/rpc_main.c: Document rpcgen -5.
7386
4db5b08f
MS
73872013-10-19 Michael Stahl <mstahl@redhat.com>
7388
7389 * elf/rtld.c (do_preload): Print the reason why preloading failed.
7390
a471e96a
OB
73912013-10-19 Ondřej Bílka <neleai@seznam.cz>
7392
d1f23d46 7393 [BZ #10278]
a471e96a
OB
7394 * posix/glob.c: Match only directories when trailing slash is present.
7395 * posix/tst-gnuglob.c (my_opendir): Do not open files.
7396 (main): Add testcase.
7397
45c30c61
OB
73982013-10-19 Ondřej Bílka <neleai@seznam.cz>
7399
7400 [BZ #15670]
7401 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
7402
484c12fb
CD
74032013-10-18 Carlos O'Donell <carlos@redhat.com>
7404
3d7dc513
CD
7405 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
7406 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
7407 AUTH_DES and cindex for FIPS 140-2.
7408 (DES Encryption): Add cindex FIPS 46-3.
7409
484c12fb
CD
7410 * locale/locarchive.h (struct locarhandle): Add fname.
7411 * locale/programs/localedef.c (main): Pass ARGV[remaining]
7412 if an optional argument was specified to --list-archive,
7413 otherwise NULL.
7414 * locale/programs/locarchive.c (show_archive_content): Take new
7415 argument fname and pass it via ah.fname to open_archive.
7416 * locale/programs/localedef.h: Update decl.
7417 (open_archive): If AH->fname is non-null, open that file
7418 rather than the default file name, and don't ignore ENOENT.
7419 (create_archive): Set AH.fname to NULL.
7420 (delete_locales_from_archive): Likewise.
7421 (add_locales_to_archive): Likewise.
7422 * locale/programs/locfile.c (write_all_categories): Likewise.
7423
3c8325fb
JM
74242013-10-18 Joseph Myers <joseph@codesourcery.com>
7425 Aldy Hernandez <aldyh@redhat.com>
7426
7427 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
7428 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
7429 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
7430 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
7431 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
7432 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
7433 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
7434 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
7435 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
7436 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
7437 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
7438 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
7439 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
7440 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
7441 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
7442 Likewise.
7443 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
7444 Likewise.
7445 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
7446 Likewise.
7447 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
7448 Likewise.
7449 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
7450 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
7451 Likewise.
7452 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
7453 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
7454 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
7455 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
7456 Likewise.
7457 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
7458 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
7459 * sysdeps/powerpc/preconfigure: Likewise.
7460 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
7461 Likewise.
7462 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
7463 Replace contents of file by #include of <fenv_libc.h>.
7464 * sysdeps/powerpc/soft-fp/sfp-machine.h
7465 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
7466 and <sys/prctl.h>.
7467 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
7468 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
7469 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
7470 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
7471 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
7472 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
7473 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
7474 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
7475 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
7476 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
7477 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
7478 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
7479 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
7480 Allow copysignl PLT reference to be missing.
7481
5abe0682
RS
74822013-10-18 Richard Sandiford <richard@codesourcery.com>
7483 Joseph Myers <joseph@codesourcery.com
7484
7485 [BZ #15948]
7486 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
7487 single character.
7488 (add_to_tablewc): Assert sequence of wide characters is nonempty.
7489
c7738d08
SP
74902013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7491
7492 * elf/tst-tls-dlinfo.c: Don't include tls.h.
7493 * elf/tst-tls1.c: Likewise.
7494 * elf/tst-tls10.h: Likewise.
7495 * elf/tst-tls14.c: Likewise.
7496 * elf/tst-tls2.c: Likewise.
7497 * elf/tst-tls3.c: Likewise.
7498 * elf/tst-tls4.c: Likewise.
7499 * elf/tst-tls5.c: Likewise.
7500 * elf/tst-tls6.c: Likewise.
7501 * elf/tst-tls7.c: Likewise.
7502 * elf/tst-tls8.c: Likewise.
7503 * elf/tst-tls9.c: Likewise.
7504 * elf/tst-tlsmod1.c: Likewise.
7505 * elf/tst-tlsmod13.c: Likewise.
7506 * elf/tst-tlsmod13a.c: Likewise.
7507 * elf/tst-tlsmod14a.c: Likewise.
7508 * elf/tst-tlsmod16a.c: Likewise.
7509 * elf/tst-tlsmod16b.c: Likewise.
7510 * elf/tst-tlsmod2.c: Likewise.
7511 * elf/tst-tlsmod3.c: Likewise.
7512 * elf/tst-tlsmod4.c: Likewise.
7513 * elf/tst-tlsmod5.c: Likewise.
7514 * elf/tst-tlsmod6.c: Likewise.
7515
0bfcf2c7
OB
75162013-10-18 Ondřej Bílka <neleai@seznam.cz>
7517
7518 [BZ #12486]
7519 * malloc/malloc.c: remove checks for statistics.
7520
264aad1e
OB
75212013-10-17 Ondřej Bílka <neleai@seznam.cz>
7522
7523 [BZ #15277]
7524 * inet/inet_net.c (inet_network): Detect additional invalid strings.
7525 * inet/tst-network.c: Add testcase.
7526
b957ced8
AS
75272013-10-17 Andreas Schwab <schwab@suse.de>
7528
7529 [BZ #15218]
7530 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
7531 to determine canonical name.
7532
c5d5d574
OB
75332013-10-17 Ondřej Bílka <neleai@seznam.cz>
7534
7535 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
7536 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
7537 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7538 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
7539 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7540 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
7541 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
7542 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
7543 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
7544 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
7545 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
7546 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
7547 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
7548 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
7549 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
7550 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
7551 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7552 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
7553 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
7554 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
7555 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7556 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7557 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7558 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
7559 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
7560 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
7561 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
7562 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
7563 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
7564 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
7565 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
7566 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7567 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
7568 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
7569 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
7570 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
7571 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
7572 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
7573 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
7574 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7575 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
7576 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
7577 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
7578 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
7579 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
7580 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
7581 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
7582 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
7583 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
7584 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
7585 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
7586 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
7587 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
7588 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
7589 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
7590 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
7591 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7592 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
7593
e5c2c2d0
JM
75942013-10-17 Joseph Myers <joseph@codesourcery.com>
7595
7596 [BZ #16041]
7597 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
7598 make result into a quiet NaN.
7599
51ca9e29
JM
76002013-10-16 Joseph Myers <joseph@codesourcery.com>
7601
7602 * soft-fp/adddf3.c: Fix horizontal whitespace.
7603 * soft-fp/addsf3.c: Likewise.
7604 * soft-fp/addtf3.c: Likewise.
7605 * soft-fp/divdf3.c: Likewise.
7606 * soft-fp/divsf3.c: Likewise.
7607 * soft-fp/divtf3.c: Likewise.
7608 * soft-fp/double.h: Likewise.
7609 * soft-fp/eqdf2.c: Likewise.
7610 * soft-fp/eqsf2.c: Likewise.
7611 * soft-fp/eqtf2.c: Likewise.
7612 * soft-fp/extenddftf2.c: Likewise.
7613 * soft-fp/extended.h: Likewise.
7614 * soft-fp/extendsfdf2.c: Likewise.
7615 * soft-fp/extendsftf2.c: Likewise.
7616 * soft-fp/extendxftf2.c: Likewise.
7617 * soft-fp/fixdfdi.c: Likewise.
7618 * soft-fp/fixdfsi.c: Likewise.
7619 * soft-fp/fixdfti.c: Likewise.
7620 * soft-fp/fixsfdi.c: Likewise.
7621 * soft-fp/fixsfsi.c: Likewise.
7622 * soft-fp/fixsfti.c: Likewise.
7623 * soft-fp/fixtfdi.c: Likewise.
7624 * soft-fp/fixtfsi.c: Likewise.
7625 * soft-fp/fixtfti.c: Likewise.
7626 * soft-fp/fixunsdfdi.c: Likewise.
7627 * soft-fp/fixunsdfsi.c: Likewise.
7628 * soft-fp/fixunsdfti.c: Likewise.
7629 * soft-fp/fixunssfdi.c: Likewise.
7630 * soft-fp/fixunssfsi.c: Likewise.
7631 * soft-fp/fixunssfti.c: Likewise.
7632 * soft-fp/fixunstfdi.c: Likewise.
7633 * soft-fp/fixunstfsi.c: Likewise.
7634 * soft-fp/fixunstfti.c: Likewise.
7635 * soft-fp/floatdidf.c: Likewise.
7636 * soft-fp/floatdisf.c: Likewise.
7637 * soft-fp/floatditf.c: Likewise.
7638 * soft-fp/floatsidf.c: Likewise.
7639 * soft-fp/floatsisf.c: Likewise.
7640 * soft-fp/floatsitf.c: Likewise.
7641 * soft-fp/floattidf.c: Likewise.
7642 * soft-fp/floattisf.c: Likewise.
7643 * soft-fp/floattitf.c: Likewise.
7644 * soft-fp/floatundidf.c: Likewise.
7645 * soft-fp/floatundisf.c: Likewise.
7646 * soft-fp/floatunditf.c: Likewise.
7647 * soft-fp/floatunsidf.c: Likewise.
7648 * soft-fp/floatunsisf.c: Likewise.
7649 * soft-fp/floatunsitf.c: Likewise.
7650 * soft-fp/floatuntidf.c: Likewise.
7651 * soft-fp/floatuntisf.c: Likewise.
7652 * soft-fp/floatuntitf.c: Likewise.
7653 * soft-fp/fmadf4.c: Likewise.
7654 * soft-fp/fmasf4.c: Likewise.
7655 * soft-fp/fmatf4.c: Likewise.
7656 * soft-fp/gedf2.c: Likewise.
7657 * soft-fp/gesf2.c: Likewise.
7658 * soft-fp/getf2.c: Likewise.
7659 * soft-fp/ledf2.c: Likewise.
7660 * soft-fp/lesf2.c: Likewise.
7661 * soft-fp/letf2.c: Likewise.
7662 * soft-fp/muldf3.c: Likewise.
7663 * soft-fp/mulsf3.c: Likewise.
7664 * soft-fp/multf3.c: Likewise.
7665 * soft-fp/negdf2.c: Likewise.
7666 * soft-fp/negsf2.c: Likewise.
7667 * soft-fp/negtf2.c: Likewise.
7668 * soft-fp/op-1.h: Likewise.
7669 * soft-fp/op-2.h: Likewise.
7670 * soft-fp/op-4.h: Likewise.
7671 * soft-fp/op-8.h: Likewise.
7672 * soft-fp/op-common.h: Likewise.
7673 * soft-fp/quad.h: Likewise.
7674 * soft-fp/single.h: Likewise.
7675 * soft-fp/soft-fp.h: Likewise.
7676 * soft-fp/sqrtdf2.c: Likewise.
7677 * soft-fp/sqrtsf2.c: Likewise.
7678 * soft-fp/sqrttf2.c: Likewise.
7679 * soft-fp/subdf3.c: Likewise.
7680 * soft-fp/subsf3.c: Likewise.
7681 * soft-fp/subtf3.c: Likewise.
7682 * soft-fp/truncdfsf2.c: Likewise.
7683 * soft-fp/trunctfdf2.c: Likewise.
7684 * soft-fp/trunctfsf2.c: Likewise.
7685 * soft-fp/trunctfxf2.c: Likewise.
7686 * soft-fp/unorddf2.c: Likewise.
7687 * soft-fp/unordsf2.c: Likewise.
7688 * soft-fp/unordtf2.c: Likewise.
7689
9ebb0332
JM
76902013-10-15 Joseph Myers <joseph@codesourcery.com>
7691
7692 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
7693 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
7694
4b1a6d8b
OB
76952013-10-15 Ondřej Bílka <neleai@seznam.cz>
7696
7697 * elf/dl-libc.c: Clear initfini list after freeing.
7698
1e145589
JM
76992013-10-14 Joseph Myers <joseph@codesourcery.com>
7700
7701 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
7702 * soft-fp/addsf3.c: Likewise.
7703 * soft-fp/addtf3.c: Likewise.
7704 * soft-fp/divdf3.c: Likewise.
7705 * soft-fp/divsf3.c: Likewise.
7706 * soft-fp/divtf3.c: Likewise.
7707 * soft-fp/double.h: Likewise.
7708 * soft-fp/eqdf2.c: Likewise.
7709 * soft-fp/eqsf2.c: Likewise.
7710 * soft-fp/eqtf2.c: Likewise.
7711 * soft-fp/extenddftf2.c: Likewise.
7712 * soft-fp/extended.h: Likewise.
7713 * soft-fp/extendsfdf2.c: Likewise.
7714 * soft-fp/extendsftf2.c: Likewise.
7715 * soft-fp/extendxftf2.c: Likewise.
7716 * soft-fp/fixdfdi.c: Likewise.
7717 * soft-fp/fixdfsi.c: Likewise.
7718 * soft-fp/fixdfti.c: Likewise.
7719 * soft-fp/fixsfdi.c: Likewise.
7720 * soft-fp/fixsfsi.c: Likewise.
7721 * soft-fp/fixsfti.c: Likewise.
7722 * soft-fp/fixtfdi.c: Likewise.
7723 * soft-fp/fixtfsi.c: Likewise.
7724 * soft-fp/fixtfti.c: Likewise.
7725 * soft-fp/fixunsdfdi.c: Likewise.
7726 * soft-fp/fixunsdfsi.c: Likewise.
7727 * soft-fp/fixunsdfti.c: Likewise.
7728 * soft-fp/fixunssfdi.c: Likewise.
7729 * soft-fp/fixunssfsi.c: Likewise.
7730 * soft-fp/fixunssfti.c: Likewise.
7731 * soft-fp/fixunstfdi.c: Likewise.
7732 * soft-fp/fixunstfsi.c: Likewise.
7733 * soft-fp/fixunstfti.c: Likewise.
7734 * soft-fp/floatdidf.c: Likewise.
7735 * soft-fp/floatdisf.c: Likewise.
7736 * soft-fp/floatditf.c: Likewise.
7737 * soft-fp/floatsidf.c: Likewise.
7738 * soft-fp/floatsisf.c: Likewise.
7739 * soft-fp/floatsitf.c: Likewise.
7740 * soft-fp/floattidf.c: Likewise.
7741 * soft-fp/floattisf.c: Likewise.
7742 * soft-fp/floattitf.c: Likewise.
7743 * soft-fp/floatundidf.c: Likewise.
7744 * soft-fp/floatundisf.c: Likewise.
7745 * soft-fp/floatunsidf.c: Likewise.
7746 * soft-fp/floatunsisf.c: Likewise.
7747 * soft-fp/floatuntidf.c: Likewise.
7748 * soft-fp/floatuntisf.c: Likewise.
7749 * soft-fp/floatuntitf.c: Likewise.
7750 * soft-fp/fmadf4.c: Likewise.
7751 * soft-fp/fmasf4.c: Likewise.
7752 * soft-fp/fmatf4.c: Likewise.
7753 * soft-fp/gedf2.c: Likewise.
7754 * soft-fp/gesf2.c: Likewise.
7755 * soft-fp/getf2.c: Likewise.
7756 * soft-fp/ledf2.c: Likewise.
7757 * soft-fp/lesf2.c: Likewise.
7758 * soft-fp/letf2.c: Likewise.
7759 * soft-fp/muldf3.c: Likewise.
7760 * soft-fp/mulsf3.c: Likewise.
7761 * soft-fp/multf3.c: Likewise.
7762 * soft-fp/negdf2.c: Likewise.
7763 * soft-fp/negsf2.c: Likewise.
7764 * soft-fp/negtf2.c: Likewise.
7765 * soft-fp/op-1.h: Likewise.
7766 * soft-fp/op-2.h: Likewise.
7767 * soft-fp/op-4.h: Likewise.
7768 * soft-fp/op-8.h: Likewise.
7769 * soft-fp/op-common.h: Likewise.
7770 * soft-fp/quad.h: Likewise.
7771 * soft-fp/single.h: Likewise.
7772 * soft-fp/soft-fp.h: Likewise.
7773 * soft-fp/sqrtdf2.c: Likewise.
7774 * soft-fp/sqrtsf2.c: Likewise.
7775 * soft-fp/sqrttf2.c: Likewise.
7776 * soft-fp/subdf3.c: Likewise.
7777 * soft-fp/subsf3.c: Likewise.
7778 * soft-fp/subtf3.c: Likewise.
7779 * soft-fp/truncdfsf2.c: Likewise.
7780 * soft-fp/trunctfdf2.c: Likewise.
7781 * soft-fp/trunctfsf2.c: Likewise.
7782 * soft-fp/trunctfxf2.c: Likewise.
7783 * soft-fp/unorddf2.c: Likewise.
7784 * soft-fp/unordsf2.c: Likewise.
7785 * soft-fp/unordtf2.c: Likewise.
7786
17c48a60
OB
77872013-10-14 Ondřej Bílka <neleai@seznam.cz>
7788
7789 [BZ #15672]
7790 * misc/error.c (error_tail): Fix possible buffer overflow.
7791
cabba934
OB
77922013-10-14 Aurelien Jarno <aurelien@aurel32.net>
7793
7794 [BZ #13028]
7795 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
7796 address.
7797
94bf958a
PM
77982013-10-14 P. J. McDermott <pj@pehjota.net>
7799
7800 [BZ #832]
7801 * elf/ldd.bash.in (try_trace): New function. Delete previous code
7802 testing pipefail option.
7803
71b4dea7
JM
78042013-10-12 Joseph Myers <joseph@codesourcery.com>
7805
7806 * soft-fp/double.h: Indent preprocessor directives inside #if.
7807 * soft-fp/extended.h: Likewise.
7808 * soft-fp/op-2.h: Likewise.
7809 * soft-fp/op-4.h: Likewise.
7810 * soft-fp/op-common.h: Likewise.
7811 * soft-fp/quad.h: Likewise.
7812 * soft-fp/single.h: Likewise.
7813 * soft-fp/soft-fp.h: Likewise.
7814
55602758
YC
78152013-10-12 Yuri Chornoivan <yurchor@ukr.net>
7816
7817 * iconv/iconv_prog.c: Fix typos.
7818 * stdio-common/psiginfo-data.h: Likewise.
7819
9cd83302
RT
78202013-10-12 Reuben Thomas <rrt@sc3d.org>
7821
7822 [BZ #15764]
7823 * locale/setlocale.c: Fix typo.
7824
99fd9f47
JM
78252013-10-12 Joseph Myers <joseph@codesourcery.com>
7826
b7ea74f0
JM
7827 [BZ #16036]
7828 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
7829 signaling NaN arguments.
7830 * soft-fp/unordsf2.c (__unordsf2): Likewise.
7831 * soft-fp/unordtf2.c (__unordtf2): Likewise.
7832
8a509447
JM
7833 [BZ #14910]
7834 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
7835 unordered operands.
7836 * soft-fp/gesf2.c (__gesf2): Likewise.
7837 * soft-fp/getf2.c (__getf2): Likewise.
7838 * soft-fp/ledf2.c (__ledf2): Likewise.
7839 * soft-fp/lesf2.c (__lesf2): Likewise.
7840 * soft-fp/letf2.c (__letf2): Likewise.
7841
98998e9f
JM
7842 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
7843 * soft-fp/eqsf2.c (__eqsf2): Likewise.
7844 * soft-fp/eqtf2.c (__eqtf2): Likewise.
7845 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
7846 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
7847 * soft-fp/fixdfti.c (__fixdfti): Likewise.
7848 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
7849 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
7850 * soft-fp/fixsfti.c (__fixsfti): Likewise.
7851 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
7852 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
7853 * soft-fp/fixtfti.c (__fixtfti): Likewise.
7854 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
7855 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
7856 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
7857 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
7858 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
7859 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
7860 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
7861 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
7862 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
7863 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
7864 * soft-fp/floatdisf.c (__floatdisf): Likewise.
7865 * soft-fp/floatsisf.c (__floatsisf): Likewise.
7866 * soft-fp/floattidf.c (__floattidf): Likewise.
7867 * soft-fp/floattisf.c (__floattisf): Likewise.
7868 * soft-fp/floattitf.c (__floattitf): Likewise.
7869 * soft-fp/floatundidf.c (__floatundidf): Likewise.
7870 * soft-fp/floatundisf.c (__floatundisf): Likewise.
7871 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
7872 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
7873 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
7874 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
7875 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
7876 * soft-fp/gesf2.c (__gesf2): Likewise.
7877 * soft-fp/getf2.c (__getf2): Likewise.
7878 * soft-fp/ledf2.c (__ledf2): Likewise.
7879 * soft-fp/lesf2.c (__lesf2): Likewise.
7880 * soft-fp/letf2.c (__letf2): Likewise.
7881
8edc4a11
JM
7882 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
7883 Undefine and redefine.
7884 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
7885 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
7886 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
7887 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
7888 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
7889 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
7890 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
7891 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
7892 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
7893 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
7894 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
7895 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
7896 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
7897 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
7898 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
7899
8399acaf
JM
7900 [BZ #16032]
7901 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
7902 without decrementing exponent if mantissa >= that for the
7903 denominator, not >.
7904 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
7905 denominator, not >. Decrement exponent in < case instead of
7906 incrementing in >= case.
7907 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
7908 without decrementing exponent if mantissa >= that for the
7909 denominator, not >.
7910
99fd9f47
JM
7911 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
7912 computing saturated result for unsigned overflow.
7913
10e1cf6b
SP
79142013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7915 Jeff Law <law@redhat.com>
7916
7917 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
7918 (atan2Mp): Add systemtap probe marker.
7919 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
7920 (__ieee754_log): Add systemtap probe marker.
7921 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
7922 (atanMp): Add systemtap probe marker.
7923 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
7924 (tanMp): Add systemtap probe marker.
7925 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
7926 (__slowexp): Add systemtap probe marker.
7927 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
7928 (__slowpow): Add systemtap probe marker.
7929 * manual/probes.texi: Document probes.
7930
3d110c7c
EB
79312013-10-11 Eric Biggers <ebiggers3@gmail.com>
7932
7933 [BZ #15362]
7934 * libio/fileops.c (_IO_new_file_write): Return count of bytes
7935 written.
7936 (_IO_new_file_xsputn): Don't return EOF if nothing has been
7937 written.
7938 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
7939 written to buffer but not flushed.
7940 * libio/iofwrite_u.c: Likewise.
7941 * libio/iopadn.c: Return bytes returned even if EOF was
7942 encountered.
7943 * libio/iowpadn.c: Likewise.
7944 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
7945 if _IO_padn does not write the whole buffer.
7946 [!COMPILE_WPRINTF] (PAD): Likewise.
7947
75b4202a
DM
79482013-10-10 David S. Miller <davem@davemloft.net>
7949
7950 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
7951 directory block.
7952
6c6352e6
JM
79532013-10-10 Joseph Myers <joseph@codesourcery.com>
7954
33b853c3
JM
7955 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
7956 instead of FSF address.
7957 * soft-fp/fixdfti.c: Likewise.
7958 * soft-fp/fixsfti.c: Likewise.
7959 * soft-fp/fixtfti.c: Likewise.
7960 * soft-fp/fixunsdfti.c: Likewise.
7961 * soft-fp/fixunssfti.c: Likewise.
7962 * soft-fp/fixunstfti.c: Likewise.
7963 * soft-fp/floattidf.c: Likewise.
7964 * soft-fp/floattisf.c: Likewise.
7965 * soft-fp/floattitf.c: Likewise.
7966 * soft-fp/floatuntidf.c: Likewise.
7967 * soft-fp/floatuntisf.c: Likewise.
7968 * soft-fp/floatuntitf.c: Likewise.
7969 * soft-fp/trunctfxf2.c: Likewise.
7970
6c6352e6
JM
7971 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
7972 * soft-fp/fixdfti.c: Likewise.
7973 * soft-fp/fixsfti.c: Likewise.
7974 * soft-fp/fixtfti.c: Likewise.
7975 * soft-fp/fixunsdfti.c: Likewise.
7976 * soft-fp/fixunssfti.c: Likewise.
7977 * soft-fp/fixunstfti.c: Likewise.
7978 * soft-fp/floattidf.c: Likewise.
7979 * soft-fp/floattisf.c: Likewise.
7980 * soft-fp/floattitf.c: Likewise.
7981 * soft-fp/floatuntidf.c: Likewise.
7982 * soft-fp/floatuntisf.c: Likewise.
7983 * soft-fp/floatuntitf.c: Likewise.
7984 * soft-fp/trunctfxf2.c: Likewise.
7985
3bf78b71
DM
79862013-10-10 David S. Miller <davem@davemloft.net>
7987
7988 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7989
6f10289e
JM
79902013-10-10 Joseph Myers <joseph@codsourcery.com>
7991
bd878fc0
JM
7992 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
7993 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
7994 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
7995 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
7996 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
7997 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
7998 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
7999
6f10289e
JM
8000 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
8001 for NaNs before doing comparisons on argument.
8002 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
8003 Likewise.
8004
321e2684
WN
80052013-10-10 Will Newton <will.newton@linaro.org>
8006
8007 * malloc/hooks.c (memalign_check): Ensure the value of bytes
8008 passed to _int_memalign does not overflow.
8009
40fefba1
TR
80102013-10-10 Torvald Riegel <triegel@redhat.com>
8011
8012 * scripts/bench.pl: Add include-sources directive.
8013 * benchtests/README: Update documentation.
8014
2ae21ed2
JM
80152013-10-10 Joseph Myers <joseph@codesourcery.com>
8016
dcc2dd3f
JM
8017 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
8018 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
8019 instead of FP_INIT_ROUNDMODE.
8020 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
8021 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
8022
2ae21ed2
JM
8023 [BZ #16034]
8024 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
8025 copy class of input value.
8026 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
8027 not handle exceptions.
8028 * soft-fp/negsf2.c (__negsf2): Likewise.
8029 * soft-fp/negtf2.c (__negtf2): Likewise.
8030 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
8031
cb8f9562
JM
80322013-10-09 Joseph Myers <joseph@codesourcery.com>
8033
8034 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
8035 semicolon. From Linux kernel.
8036
5b60c59d
AB
80372013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
8038
8039 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
8040
b86835ca
YC
80412013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
8042
8043 [BZ #156]
8044 * manual/socket.texi: Added statement about buffer
8045 for gethostbyname2_r.
8046
e7044ea7
OB
80472013-10-08 Ondřej Bílka <neleai@seznam.cz>
8048
8049 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
8050 Use .p2align directive instead, throughout.
8051 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
8052 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
8053 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
8054 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
8055 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
8056 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
8057 * sysdeps/x86_64/strchr.S: Likewise.
8058 * sysdeps/x86_64/strrchr.S: Likewise.
8059
09544cbc
SP
80602013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
8061
88576635
SP
8062 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
8063
e7b2d1dd
SP
8064 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
8065
09544cbc
SP
8066 * sysdeps/generic/math_private.h (__mpsin1): Remove
8067 declaration.
8068 (__mpcos1): Likewise.
8069 (__mpsin): New argument __range_reduce.
8070 (__mpcos): Likewise.
8071 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8072 (slow): Use __mpsin and __mpcos.
8073 (slow1): Likewise.
8074 (slow2): Likewise.
8075 (sloww): Likewise.
8076 (sloww1): Likewise.
8077 (sloww2): Likewise.
8078 (bsloww): Likewise.
8079 (bsloww1): Likewise.
8080 (bsloww2): Likewise.
8081 (cslow2): Likewise.
8082 (csloww): Likewise.
8083 (csloww1): Likewise.
8084 (csloww2): Likewise.
8085 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
8086 range_reduce. Merge in __mpsin1.
8087 (__mpcos): Likewise.
8088 (__mpsin1): Remove.
8089 (__mpcos1): Likewise.
8090
7602d070
JM
80912013-10-07 Joseph Myers <joseph@codesourcery.com>
8092
8093 * locale/loadlocale.c (_nl_intern_locale_data): Use
8094 LOCFILE_ALIGNED_P.
8095 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
8096 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
8097 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
8098 obstack data is appropriately aligned.
8099 (obstack_int32_grow_fast): Likewise.
8100 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
8101 * locale/programs/locfile.c (add_locale_uint32): Likewise.
8102 (add_locale_uint32_array): Likewise.
8103
a357259b
SP
81042013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
8105
8106 * benchtests/Makefile: Remove ARGLIST and RET variables.
8107 ($(objpfx)bench-%.c): Pass only function name to the script.
8108 * benchtests/README: Update documentation.
8109 * benchtests/acos-inputs: Add new directives.
8110 * benchtests/acosh-inputs: Likewise.
8111 * benchtests/asin-inputs: Likewise.
8112 * benchtests/asinh-inputs: Likewise.
8113 * benchtests/atan-inputs: Likewise.
8114 * benchtests/atanh-inputs: Likewise.
8115 * benchtests/cos-inputs: Likewise.
8116 * benchtests/cosh-inputs: Likewise.
8117 * benchtests/exp-inputs: Likewise.
8118 * benchtests/log-inputs: Likewise.
8119 * benchtests/pow-inputs: Likewise.
8120 * benchtests/rint-inputs: Likewise.
8121 * benchtests/sin-inputs: Likewise.
8122 * benchtests/sinh-inputs: Likewise.
8123 * benchtests/tan-inputs: Likewise.
8124 * benchtests/tanh-inputs: Likewise.
8125 * scripts/bench.pl: Add support for new directives.
8126
9ec1b13d
AM
81272013-10-07 Alan Modra <amodra@gmail.com>
8128
8129 * README: Fix careless merge.
8130
8b7d57cd
AM
81312013-10-05 Alan Modra <amodra@gmail.com>
8132
8133 * NEWS: Mention powerpc64le support and bugs fixed.
8134 * README: Both big-endian and little-endian powerpc64 supported.
8135
7b7bab13
ST
81362013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
8137
8138 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
8139 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
8140 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
8141 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
8142
d39baad1
RA
81432013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
8144
8145 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
8146 match prototype.
8147
cd78f7e7
JM
81482013-10-04 Joseph Myers <joseph@codesourcery.com>
8149
29d73d86
JM
8150 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
8151 Move -mhard-float appending from
8152 ports/sysdeps/powerpc/powerpc32/Makefile.
8153 [$(with-fp) = yes] (ASFLAGS): Likewise.
8154 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
8155 * sysdeps/powerpc/nofpu: Move directory from
8156 ports/sysdeps/powerpc/nofpu.
8157 * sysdeps/powerpc/soft-fp: Move directory from
8158 ports/sysdeps/powerpc/soft-fp.
8159 * sysdeps/powerpc/powerpc32/405: Move directory from
8160 ports/sysdeps/powerpc/powerpc32/405.
8161 * sysdeps/powerpc/powerpc32/440: Move directory from
8162 ports/sysdeps/powerpc/powerpc32/440.
8163 * sysdeps/powerpc/powerpc32/464: Move directory from
8164 ports/sysdeps/powerpc/powerpc32/464.
8165 * sysdeps/powerpc/powerpc32/476: Move directory from
8166 ports/sysdeps/powerpc/powerpc32/476.
8167 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
8168 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
8169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
8170 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
8171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
8172 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
8173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
8174 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
8175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
8176 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
8177 * README: Update for powerpc-*-linux-gnu software floating point
8178 support in libc.
8179
e246b347
JM
8180 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
8181 case to powerpc/powerpc32*.
8182 * sysdeps/unix/sysv/linux/configure: Regenerated.
8183
89c2003e
JM
8184 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
8185 (_FPU_MASK_OM): Define as 0x04.
8186 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
8187 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
8188 0x00c10080.
8189 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
8190 0x0000003c.
8191 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
8192
cd78f7e7
JM
8193 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
8194 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
8195 getcontext_e500.
8196 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
8197 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
8198 setcontext_e500.
8199 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
8200 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
8201 and setcontext_e500.
8202
c755294d
CL
82032013-10-04 Chris Leonard <cjl@sugarlabs,.org>
8204
8205 * locale/iso-3166.def: Update iso-1366.def and related occurrences
8206
e16d221c
SP
82072013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8208
8209 * manual/threads.texi (Default Thread Attributes): Fix typo.
8210
215c7d43
WN
82112013-10-04 Will Newton <will.newton@linaro.org>
8212
8213 * malloc/Makefile: Add tst-memalign.
8214 * malloc/tst-memalign.c: New file.
8215
27d0461b
WN
8216 * malloc/tst-posix_memalign.c: Add comments.
8217 (do_test): Add comments and call free on all potentially
8218 allocated pointers. Add space after cast.
8219
1bc92709
WN
8220 * malloc/tst-pvalloc.c: Add comments.
8221 (do_test): Add comments and call free on all potentially
8222 allocated pointers. Remove duplicate check for NULL pointer.
8223 Add space after cast.
8224
66a9be9d
WN
8225 * malloc/tst-valloc.c: Add comments.
8226 (do_test): Add comments and call free on all potentially
8227 allocated pointers. Remove duplicate check for NULL pointer.
8228 Add space after cast.
8229
4cb81307
AM
82302013-10-04 Alan Modra <amodra@gmail.com>
8231
8232 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
8233 Use stdint types in rather than __attribute__((mode())).
8234 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
8235
f8e3e9f3
AM
82362013-10-04 Alan Modra <amodra@gmail.com>
8237
8238 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
8239 Correct handling of unaligned relocs for little-endian.
8240 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
8241
8f9ebb08
AM
82422013-10-04 Alan Modra <amodra@gmail.com>
8243
8244 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
8245 * configure: Regenerate.
8246 * nptl/shlib-versions: Powerpc*le starts at 2.18.
8247 * shlib-versions: Likewise.
8248
0edf96c2
AM
82492013-10-04 Alan Modra <amodra@gmail.com>
8250
8251 * string/tester.c (test_memrchr): Increment reported test cycle.
8252
e0f7a380
AM
82532013-10-04 Alan Modra <amodra@gmail.com>
8254
8255 * string/test-memcpy.c (do_one_test): When reporting errors, print
8256 string address and don't overrun end of string.
8257
466b0393
AM
82582013-10-04 Alan Modra <amodra@gmail.com>
8259
8260 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
8261 insrdi. Make better use of reg selection to speed exit slightly.
8262 Schedule entry path a little better. Remove useless "are we done"
8263 checks on entry to main loop. Handle wrapping around zero address.
8264 Correct main loop count. Handle single left-over word from main
8265 loop inline rather than by using loop_small. Remove extra word
8266 case in loop_small caused by wrong loop count. Add little-endian
8267 support.
8268 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
8269 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
8270 cache hint.
8271 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
8272 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
8273 support. Avoid rlwimi.
8274 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
8275
3be87c77
AM
82762013-10-04 Alan Modra <amodra@gmail.com>
8277
8278 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 8279 insrdi. Formatting.
3be87c77
AM
8280 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
8281 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
8282 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
8283 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
8284 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
8285 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
8286
759cfef3
AM
82872013-10-04 Alan Modra <amodra@gmail.com>
8288
8289 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
8290 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
8291 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
8292 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
8293 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
8294 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
8295 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
8296 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
8297 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
8298 use of regs. Use power7 mtocrf. Tidy function tails.
8299
fe6e95d7
AM
83002013-10-04 Alan Modra <amodra@gmail.com>
8301
8302 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
8303 Formatting. Consistently use rXXX register defines or rN defines.
8304 Use early exit labels that avoid restoring unused non-volatile regs.
8305 Make cr field use more consistent with rWORDn compares. Rename
8306 regs used as shift registers for unaligned loop, using rN defines
8307 for short lifetime/multiple use regs.
8308 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
8309 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
8310 addi 1,1,64 to pop stack frame. Simplify return value code.
8311 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
8312
664318c3
AM
83132013-10-04 Alan Modra <amodra@gmail.com>
8314
8315 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
8316 support. Correct typos, formatting. Optimize tail. Use insrdi
8317 rather than rlwimi.
8318 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
8319 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
8320 little-endian support. Correct typos.
8321 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
8322 rather than rlwimi.
8323 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
8324 in loop and entry code to keep "and." results.
8325 (strchr): Add little-endian support. Comment. Move cntlzd
8326 earlier in tail.
8327 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
8328
43b84013
AM
83292013-10-04 Alan Modra <amodra@gmail.com>
8330
8331 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
8332 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
8333 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
8334 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
8335
8a7413f9
AM
83362013-10-04 Alan Modra <amodra@gmail.com>
8337
8338 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
8339 (rTMP): Define as r11.
8340 (strcmp): Add little-endian support. Optimise tail.
8341 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
8342 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
8343 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
8344 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
8345 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
8346 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
8347 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
8348
33ee81de
AM
83492013-10-04 Alan Modra <amodra@gmail.com>
8350
8351 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
8352 little-endian support. Remove unnecessary "are we done" tests.
8353 Handle "s" wrapping around zero and extremely large "size".
8354 Correct main loop count. Handle single left-over word from main
8355 loop inline rather than by using small_loop. Correct comments.
8356 Delete "zero" tail, use "end_max" instead.
8357 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
8358
db9b4570
AM
83592013-10-04 Alan Modra <amodra@gmail.com>
8360
8361 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
8362 support. Don't branch over align.
8363 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
8364 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
8365 support. Rearrange tmp reg use to suit. Comment.
8366 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
8367
f7c399cf
AM
83682013-10-04 Alan Modra <amodra@gmail.com>
8369
8370 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
8371
0b2c2ace
AM
83722013-10-04 Alan Modra <amodra@gmail.com>
8373
8374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
8375 conditional form of branch and link when obtaining pc.
8376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
8377
02f04a6c
AM
83782013-10-04 Alan Modra <amodra@gmail.com>
8379
8380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
8381 HIWORD/LOWORD.
8382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
8383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
8384
9b874b2f
AM
83852013-10-04 Alan Modra <amodra@gmail.com>
8386
8387 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
8388 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
8389 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
8390 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
8391 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
8392 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
8393 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
8394 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
8395 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
8396 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
8397
be1e5d31
AB
83982013-10-04 Anton Blanchard <anton@au1.ibm.com>
8399 Alistair Popple <alistair@ozlabs.au.ibm.com>
8400 Alan Modra <amodra@gmail.com>
8401
8402 [BZ #15723]
8403 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
8404 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
8405 _dl_hwcap access for little-endian.
8406 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
8407 destroy vmx regs when saving unaligned.
8408 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
8409 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
8410 destroy vmx regs when saving unaligned.
8411
fef13a78
AM
84122013-10-04 Alan Modra <amodra@gmail.com>
8413
8414 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
8415 Don't use a union to pack hi/low value.
8416
76a66d51
AB
84172013-10-04 Anton Blanchard <anton@au1.ibm.com>
8418
8419 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
8420 for little-endian.
8421 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
8422 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
8423 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
8424 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
8425 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
8426
6a31fe7f
AM
84272013-10-04 Alan Modra <amodra@gmail.com>
8428
8429 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
8430 constants to usual value for .cst8 section, and remove redundant
8431 high address load.
8432 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
8433 constant for 0x1p52. Load little-endian words of double from
8434 correct stack offsets.
8435
7b88401f
AM
84362013-10-04 Alan Modra <amodra@gmail.com>
8437
8438 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
8439 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
8440 words of double from correct stack offsets.
8441 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
8442 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
8443 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
8444 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
8445 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
8446 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
8447 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
8448 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
8449 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
8450 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
8451 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
8452 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
8453 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
8454 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
8455 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
8456 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
8457 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
8458
9c008155
AM
84592013-10-04 Alan Modra <amodra@gmail.com>
8460
8461 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
8462 64-bit int/double union.
8463 (_FPU_SETCW): Likewise.
8464 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
8465 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
8466
da13146d
AM
84672013-10-04 Alan Modra <amodra@gmail.com>
8468
8469 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
8470 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
8471
603e8410
AM
84722013-10-04 Alan Modra <amodra@gmail.com>
8473
8474 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
8475 use vector int constants.
8476 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
8477
4a28b3ca
AB
84782013-10-04 Anton Blanchard <anton@au1.ibm.com>
8479
8480 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
8481 array with long long.
8482 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
8483 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
8484 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
8485 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
8486 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
8487 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
8488 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
8489 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
8490 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
8491 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
8492 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
8493 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
8494 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
8495
2ca85d2b
AB
84962013-10-04 Anton Blanchard <anton@au1.ibm.com>
8497
8498 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
8499 (__signbit): Likewise. Correct for little-endian.
8500 (__signbitl): Call __signbit.
8501 (lrint): Correct for little-endian.
8502 (lrintf): Call lrint.
8503
62a728ae
AM
85042013-10-04 Alan Modra <amodra@gmail.com>
8505
8506 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
8507 union 32-bit int array member with 64-bit int array.
8508 (t515, tm256): Double rather than long double.
8509 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
8510
32c301df
AM
85112013-10-04 Alan Modra <amodra@gmail.com>
8512
8513 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
8514 Delete.
8515 (IEEE854_LONG_DOUBLE_BIAS): Delete.
8516 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
8517 version of math_ldbl.h.
8518
650ef4bd
AM
85192013-10-04 Alan Modra <amodra@gmail.com>
8520
8521 [BZ #15734], [BZ #15735]
8522 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
8523 all uses of ieee875 long double macros and unions. Simplify test
8524 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
8525 ldbl_extract_mantissa value for ix,iy exponents. Properly
8526 normalize after ldbl_extract_mantissa, and don't add hidden bit
8527 already handled. Don't treat low word of ieee854 mantissa like
8528 low word of IBM long double and mask off bit when testing for
8529 zero.
8530 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
8531 all uses of ieee875 long double macros and unions. Simplify tests
8532 for 0.0L and inf. Correct double adjustment of k. Delete dead code
8533 adjusting ha,hb. Simplify code setting kld. Delete two600 and
8534 two1022, instead use their values. Recognise that tests for large
8535 "a" and small "b" are mutually exclusive. Rename vars. Comment.
8536 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
8537 Rewrite all uses of ieee875 long double macros and unions. Simplify
8538 test for 0.0L and nan. Correct negation.
8539 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
8540 ieee875 long double macros and unions. Correct output for large
8541 magnitude x. Correct absolute value calculation.
8542 (__erfcl): Likewise.
8543 * math/libm-test.inc: Add tests for errors discovered in IBM long
8544 double versions of fmodl, remainderl, erfl and erfcl.
8545
765714ca
AM
85462013-10-04 Alan Modra <amodra@gmail.com>
8547
8548 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
8549 all uses of ieee854 long double macros and unions. Simplify tests
8550 for long doubles that are fully specified by the high double.
8551 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
8552 Likewise.
8553 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
8554 Remove dead code too.
8555 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
8556 (__ieee754_ynl): Likewise.
8557 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
8558 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
8559 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
8560 Remove dead code too.
8561 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
8562 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
8563 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
8564 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
8565 Simplify.
8566 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
8567 Simplify.
8568 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
8569 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
8570 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
8571 Comment on variable precision.
8572 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
8573 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
8574 Likewise.
8575 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
8576 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
8577 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
8578 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
8579 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
8580
4ebd120c
AM
85812013-10-04 Alan Modra <amodra@gmail.com>
8582
8583 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
8584 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
8585 all uses of ieee854 long double macros and unions.
8586 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
8587 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
8588 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
8589 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
8590 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
8591 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
8592 Likewise.
8593 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
8594 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
8595 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
8596 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
8597 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
8598 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
8599 Simplify sign and nan test too.
8600 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
8601 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
8602 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
8603 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
8604 Likewise.
8605 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
8606 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
8607 Likewise.
8608 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
8609 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
8610 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
8611 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
8612 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
8613 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
8614
1b6adf88
AM
86152013-10-04 Alan Modra <amodra@gmail.com>
8616
8617 * stdio-common/printf_size.c (__printf_size): Don't use
8618 union ieee854_long_double in fpnum union.
8619 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
8620 signbit macro to retrieve sign from long double.
8621 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
8622 retrieve sign from long double.
8623 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
8624 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
8625 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
8626 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
8627 * math/test-misc.c (main): Don't use union ieee854_long_double.
8628
4cf69995
AM
86292013-10-04 Alan Modra <amodra@gmail.com>
8630
8631 [BZ #15680]
8632 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
8633 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
8634 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
8635 calculation. Remove unnecessary test for denormal exponent.
8636 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
8637 Correct handling of denormals. Avoid undefined shift behaviour.
8638 Correct normalisation of low mantissa when low double is denormal.
8639 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
8640 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
8641 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
8642 Correct normalisation of low mantissa. Test for overflow of high
8643 mantissa and normalise.
8644 (ldbl_nearbyint): Use more readable constant for two52.
8645 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
8646 (__mpn_construct_long_double): Fix test for overflow of high
8647 mantissa and correct normalisation. Avoid undefined shift.
8648
9605ca6c
AM
86492013-10-04 Alan Modra <amodra@gmail.com>
8650
8651 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
8652 (union ibm_extended_long_double): Define as an array of ieee754_double.
8653 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
8654 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
8655 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
8656 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
8657 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
8658 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
8659 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
8660 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
8661 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
8662 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
8663 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
8664
975569d0
JM
86652013-10-03 Joseph Myers <joseph@codesourcery.com>
8666
d3d23756
JM
8667 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
8668 page size instead of calling getpagesize.
8669
975569d0
JM
8670 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
8671 (LOCFILE_ALIGN_MASK): Likewise.
8672 (LOCFILE_ALIGN_UP): Likewise.
8673 (LOCFILE_ALIGNED_P): Likewise.
8674 * locale/programs/ld-collate.c (collate_output): Use the new
8675 macros instead of __alignof__ (int32_t).
8676 * locale/weight.h (findidx): Likewise.
8677
b1fe1f2b
OB
86782013-10-03 Ondřej Bílka <neleai@seznam.cz>
8679
8680 [BZ #431]
8681 * manual/string.texi: Fix strncat and wcsncat.
8682
5f855e35
BM
86832013-10-03 Brooks Moses <bmoses@google.com>
8684
8685 [BZ #15915]
8686 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
8687 * Makerules: ...here, and adjust associated comments.
8688
3cef6009
WN
86892013-10-02 Will Newton <will.newton@linaro.org>
8690
8691 * malloc/Makefile: Add tst-pvalloc.
8692 * malloc/tst-pvalloc.c: New file.
8693
7815420b
WN
86942013-10-02 Will Newton <will.newton@linaro.org>
8695
8696 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
8697 improve test coverage.
8698
4868b204
WN
86992013-10-02 Will Newton <will.newton@linaro.org>
8700
8701 * malloc/Makefile: Add tst-posix_memalign.
8702 * malloc/tst-posix_memalign.c: New file.
8703
29c793b3
EB
87042013-10-01 Eric Blake <eblake@redhat.com>
8705
8706 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
8707 Use __THROWNL rather than __THROW on static functions.
8708
fd967522
PM
87092013-09-30 Petr Machata <pmachata@redhat.com>
8710
8711 * elf/elf.h (R_AARCH64_ABS16): New macro.
8712 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
8713 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
8714 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
8715 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
8716 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
8717 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
8718 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
8719 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
8720 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
8721 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
8722 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
8723 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
8724 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
8725 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
8726 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
8727 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
8728 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
8729 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
8730 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
8731 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
8732 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
8733 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
8734 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
8735 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
8736 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
8737 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
8738 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
8739 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
8740 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
8741 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
8742 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
8743 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
8744 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
8745 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
8746 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
8747 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
8748 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
8749 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
8750 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
8751 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
8752 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
8753 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
8754 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
8755 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
8756 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
8757 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
8758 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
8759 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
8760 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
8761 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
8762 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
8763 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
8764 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
8765 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
8766 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
8767 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
8768 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
8769 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
8770 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
8771 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
8772 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
8773 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
8774 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
8775 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
8776 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
8777 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
8778 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
8779 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
8780 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
8781 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
8782 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
8783 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
8784 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
8785 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
8786 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
8787 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
8788 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
8789 (R_AARCH64_TLSDESC_LDR): Likewise.
8790 (R_AARCH64_TLSDESC_ADD): Likewise.
8791 (R_AARCH64_TLSDESC_CALL): Likewise.
8792
b2179107
AS
87932013-09-30 Andreas Schwab <schwab@suse.de>
8794
8795 [BZ #15048]
8796 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
8797 the nss database lookup.
8798 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8799 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
8800
47f28d0a
MF
88012013-09-28 Mike Frysinger <vapier@gentoo.org>
8802
8803 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
8804
88052013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
8806
8807 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
8808 ${Bash-specific parameter/pattern/string} parameter expansion.
8809 * sysdeps/unix/make-syscalls.sh: Likewise.
8810
f4518a17
KK
88112013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8812
8813 * sysdeps/sh/stackguard-macros.h: New file.
8814
dc1a95c7
OB
88152013-09-26 Ondřej Bílka <neleai@seznam.cz>
8816
8817 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
8818 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
8819 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
8820 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
8821 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
8822 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
8823
5ebbff8f
AZ
88242013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8825
8826 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
8827 Fix thread ID register.
8828
4fd2cf9f
JM
88292013-09-25 Joseph Myers <joseph@codesourcery.com>
8830
8831 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
8832 [POSIX || UNIX98]: Require rather than permitting all symbols from
8833 <time.h>.
8834 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
8835 element of struct sched_param.
8836 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
8837 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
8838 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
8839 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
8840 constant.
8841
12c22bc4
OL
88422013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
8843
8844 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
8845 argument calculation.
8846
a03d8ea7
JM
88472013-09-24 Joseph Myers <joseph@codesourcery.com>
8848
8849 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
8850 Expect macro.
8851 [POSIX] (pthread_attr_t): Do not require type.
8852 [POSIX] (pthread_cond_t): Likewise.
8853 [POSIX] (pthread_condattr_t): Likewise.
8854 [POSIX] (pthread_key_t): Likewise.
8855 [POSIX] (pthread_mutex_t): Likewise.
8856 [POSIX] (pthread_mutexattr_t): Likewise.
8857 [POSIX] (pthread_once_t): Likewise.
8858 [POSIX] (pthread_t): Likewise.
8859 [POSIX-based standards] (pthread_atfork): Expect function.
8860
6055173a
JM
88612013-09-24 Joseph Myers <joseph@codesourcery.com>
8862 Richard Sandiford <richard@codesourcery.com>
8863
8864 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
8865 (swap_endianness_p): New extern variable.
8866 (set_big_endian): New inline function.
8867 (maybe_swap_uint32): Likewise.
8868 (maybe_swap_uint32_array): Likewise.
8869 (maybe_swap_uint32_obstack): Likewise.
8870 * locale/programs/locfile.c: Include <stdbool.h>.
8871 (swap_endianness_p): New variable.
8872 (add_locale_uint32): Call maybe_swap_uint32.
8873 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
8874 (write_locale_data): Call maybe_swap_uint32_array.
8875 * locale/programs/ld-collate.c (obstack_int32_grow): Call
8876 maybe_swap_uint32.
8877 (obstack_int32_grow_fast): Likewise.
8878 (output_weightwc): Call maybe_swap_uint32_obstack.
8879 (collate_output): Likewise.
8880 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
8881 (OPT_LITTLE_ENDIAN): Likewise.
8882 (options): Add --little-endian and --big-endian options.
8883 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
8884 * locale/programs/locarchive.c: Include "locfile.h".
8885 (GET): New macro.
8886 (SET): Likewise.
8887 (INC): Likewise.
8888 (create_archive): Use the new macros to access fields of
8889 structures directly mapped from or written to locale archives.
8890 (oldlocrecentcmp): Likewise.
8891 (enlarge_archive): Likewise.
8892 (insert_name): Likewise.
8893 (add_alias): Likewise.
8894 (add_locale): Likewise.
8895 (delete_locales_from_archive): Likewise.
8896 (show_archive_content): Likewise.
8897 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
8898 locale data.
8899
39bf0bb4
RM
89002013-09-24 Roland McGrath <roland@hack.frob.com>
8901
8902 * manual/freemanuals.texi: Updated from (newly) canonical copy at
8903 http://www.gnu.org/doc/freemanuals.texi.
8904 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
8905
f02eed10
WN
89062013-09-24 Will Newton <will.newton@linaro.org>
8907
8908 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
8909 macro.
8910
a3a6c312
JM
89112013-09-23 Joseph Myers <joseph@codesourcery.com>
8912
8913 * locale/hashval.h (compute_hashval): Interpret bytes of key as
8914 unsigned char.
8915
107375ac
MR
89162013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
8917
8918 * manual/threads.texi (POSIX Threads): Fix a typo.
8919
141f3a77
SP
89202013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
8921
303e567a
SP
8922 [BZ #14547]
8923 * string/tst-strcoll-overflow.c: New test case.
8924 * string/Makefile (xtests): Add tst-strcoll-overflow.
8925 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
8926 cache if string sizes may cause integer overflow.
8927
141f3a77
SP
8928 [BZ #14547]
8929 * string/strcoll_l.c (coll_seq): New members rule, idx,
8930 save_idx and back_us.
8931 (get_next_seq_nocache): New function.
8932 (do_compare_nocache): New function.
8933 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
8934 when malloc fails.
8935
c61b4d41
CD
89362013-09-23 Carlos O'Donell <carlos@redhat.com>
8937
0b1f8e35
CD
8938 [BZ #15754]
8939 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
8940 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
8941 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
8942
c61b4d41
CD
8943 [BZ #15754]
8944 * elf/Makefile (tests): Add tst-ptrguard1.
8945 (tests-static): Add tst-ptrguard1-static.
8946 (tst-ptrguard1-ARGS): Define.
8947 (tst-ptrguard1-static-ARGS): Define.
8948 * elf/tst-ptrguard1.c: New file.
8949 * elf/tst-ptrguard1-static.c: New file.
8950 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
8951 * sysdeps/i386/stackguard-macros.h: Likewise.
8952 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
8953 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
8954 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
8955 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
8956 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
8957 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
8958
89592013-09-23 Hector Marco <hecmargi@upv.es>
8960 Ismael Ripoll <iripoll@disca.upv.es>
8961 Carlos O'Donell <carlos@redhat.com>
8962
8963 [BZ #15754]
8964 * sysdeps/generic/stackguard-macros.h: Define
8965 __pointer_chk_guard_local and POINTER_CHK_GUARD.
8966 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
8967 Define __pointer_chk_guard_local.
8968 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
8969 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
8970
f5f4e7b4
VV
89712013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
8972
8973 [BZ #15859]
8974 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
8975
5bb43a43
AS
89762013-09-20 Andreas Schwab <schwab@linux-m68k.org>
8977
8978 * include/string.h (__ffs): Declare as hidden.
8979 * string/ffs.c (__ffs): Define as hidden.
8980 * sysdeps/i386/ffs.c (__ffs): Likewise.
8981 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
8982 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
8983 * sysdeps/s390/ffs.c (__ffs): Likewise.
8984 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
8985
3ea5be54
AO
89862013-09-20 Alexandre Oliva <aoliva@redhat.com>
8987
ffb89e53
AO
8988 * NEWS: Mention malloc probes.
8989
322dea08
AO
8990 * malloc/arena.c (new_heap): New memory_heap_new probe.
8991 (grow_heap): New memory_heap_more probe.
8992 (shrink_heap): New memory_heap_less probe.
8993 (heap_trim): New memory_heap_free probe.
8994 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
8995 (systrim): New memory_sbrk_less probe.
8996 * manual/probes.texi: Document them.
8997
655673f3
AO
8998 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
8999 * manual/probes.texi: Document it.
9000
35fed6f1
AO
9001 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
9002 (__libc_realloc): Add memory_realloc_retry probe.
9003 (__libc_memalign): Add memory_memalign_retry probe.
9004 (__libc_valloc): Add memory_valloc_retry probe.
9005 (__libc_pvalloc): Add memory_pvalloc_retry probe.
9006 (__libc_calloc): Add memory_calloc_retry probe.
9007 * manual/probes.texi: Document them.
9008
6999d38c
AO
9009 * malloc/arena.c (get_free_list): Add probe
9010 memory_arena_reuse_free_list.
9011 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
9012 and memory_arena_reuse.
9013 (arena_get2) [!PER_THREAD]: Likewise.
9014 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
9015 memory_arena_reuse_realloc.
9016 * manual/probes.texi: Document them.
9017
0653427f
AO
9018 * malloc/malloc.c (__libc_free): Add
9019 memory_mallopt_free_dyn_thresholds probe.
9020 (__libc_mallopt): Add multiple memory_mallopt probes.
9021 * manual/probes.texi: Document them.
9022
3ea5be54
AO
9023 * malloc/malloc.c: Include stap-probe.h.
9024 (__libc_mallopt): Add memory_mallopt probe.
9025 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
9026 * manual/probes.texi: New.
9027 * manual/Makefile (chapters): Add probes.
9028 * manual/threads.texi: Set next node.
9029
e35696c3 90302013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 9031
e35696c3
CL
9032 [BZ #15963, #13985]
9033 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
9034 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
9035 Add `Chinese' to `nan' entry name.
9036
4aafb73c
SP
90372013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9038
9039 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
9040 (POLYNOMIAL): Likewise.
9041 (TAYLOR_SINCOS): Likewise.
9042 (TAYLOR_SLOW): Likewise.
9043 (__sin): Use TAYLOR_SINCOS.
9044 (__cos): Likewise.
9045 (slow): Use TAYLOR_SLOW.
9046 (sloww): Likewise.
9047 (bsloww): Likewise.
9048 (csloww): Likewise.
9049
d84f25c7
LD
90502013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9051
9052 * stdlib/strtod_l.c: Fix buffer overrun.
9053
5eea0404
SP
90542013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9055
7849ff93
SP
9056 * benchtests/Makefile (bench): Add sincos.
9057 * benchtests/bench-sincos.c: New file.
9058
cfa3c886
SP
9059 * math/libm-test.inc (cos_test_data): New test inputs.
9060 (sin_test_data): Likewise.
9061
b348e1e3
SP
9062 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
9063 macro.
9064 (__sin): Use it.
9065 (__cos): Likewise.
9066 (slow1): Likewise.
9067 (slow2): Likewise.
9068 (sloww1): Likewise.
9069 (sloww2): Likewise.
9070 (bsloww1): Likewise.
9071 (bsloww2): Likewise.
9072 (cslow2): Likewise.
9073 (csloww1): Likewise.
9074 (csloww2): Likewise.
9075
6cce25f8
SP
9076 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
9077 function.
9078 (__sin): Use it.
9079 (__cos): Likewise.
9080
5eea0404
SP
9081 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
9082 gotos.
9083 (__cos): Likewise.
9084
9c21573c
MR
90852013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
9086
9087 * config.h.in (HAVE_MIPS_NAN2008): New macro.
9088 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
9089 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
9090 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
9091 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
9092 * elf/cache.c (print_entry): Handle the new cache flags.
9093
24d22e65
JM
90942013-09-18 Joseph Myers <joseph@codesourcery.com>
9095 Aldy Hernandez <aldyh@redhat.com>
9096
9097 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
9098 Change condition to [_SOFT_FLOAT].
9099 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
9100 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
9101 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
9102 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
9103 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
9104 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
9105 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
9106 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
9107 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
9108 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
9109 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
9110 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
9111 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
9112 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
9113 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
9114 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
9115 declaration.
9116
d13ef066
JM
91172013-09-18 Joseph Myers <joseph@codesourcery.com>
9118
2e071de0
JM
9119 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
9120 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
9121 (__longjmp): Use LOAD_GP to load saved GPRs.
9122 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
9123 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
9124 (__sigsetjmp): Use SAVE_GP to save GPRs.
9125
d13ef066
JM
9126 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
9127 Do not append -msoft-float.
9128 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
9129
97a0650b
SP
91302013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
9131
9132 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
9133
11ca09e9
JM
91342013-09-17 Joseph Myers <joseph@codesourcery.com>
9135
9136 [BZ #15966]
9137 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
9138 (_FPU_GETCW): Use initial "__" on variable and field names but not
9139 on macro parameter name.
9140 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
9141 parentheses around reference to macro parameter.
9142
08ffcf34
RS
91432013-09-13 Richard Sandiford <richard@codesourcery.com>
9144
9145 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
9146 prototype.
9147 (ctype_startup): Use uint32_t in cast and sizeof for
9148 ctype->charnames.
9149
ae7080d3
JL
91502013-09-11 Jia Liu <proljc@gmail.com>
9151
9152 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
9153 __daddr_t_defined.
9154 [__FreeBSD__]: Likewise.
9155
5905e7b3
OB
91562013-09-11 Ondřej Bílka <neleai@seznam.cz>
9157
9158 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
9159 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
9160 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
9161 (strchr): Remove __strchr_sse42 ifunc selection.
9162 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
9163 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
9164
b987c776
WN
91652013-09-11 Will Newton <will.newton@linaro.org>
9166
9167 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
9168 parameter to RES. Remove hardcoded 1000 value.
9169 * benchtests/bench-skeleton.c (main): Pass RES parameter
9170 to TIMING_INIT and multiply result by 1000.
9171
ddf985af
AZ
91722013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9173
9174 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9175
ffdd3181
AS
91762013-09-11 Andreas Schwab <schwab@suse.de>
9177
9178 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
9179 if not defined.
9180 (O_TMPFILE) [__USE_GNU]: Define.
9181 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
9182 Define.
9183
b73ed247
WN
91842013-09-11 Will Newton <will.newton@linaro.org>
9185
9186 [BZ #15857]
9187 * malloc/malloc.c (__libc_memalign): Check the value of bytes
9188 does not overflow.
9189
55e17aad
WN
91902013-09-11 Will Newton <will.newton@linaro.org>
9191
9192 [BZ #15856]
9193 * malloc/malloc.c (__libc_valloc): Check the value of bytes
9194 does not overflow.
9195
1159a193
WN
91962013-09-11 Will Newton <will.newton@linaro.org>
9197
9198 [BZ #15855]
9199 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
9200 does not overflow.
9201
5905e7b3 92022013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
9203
9204 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
9205 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9206 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9207 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
9208 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
9209
cdfc721b
AM
92102013-09-10 Allan McRae <allan@archlinux.org>
9211
aa04af00
AM
9212 [BZ #15748]
9213 * manual/arith.texi (Parsing of Floats): Clarify
9214 cross-reference.
9215
cdfc721b
AM
9216 [BZ #15849]
9217 * manual/install.texi (Running make install): Mention
9218 --enable-pt-chown.
9219 * INSTALL: Regenerated.
9220
95e7cf29
MR
92212013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
9222
9223 * csu/init-first.c (_init): Remove the !SHARED condition around
9224 FPU control word initialization.
9225 * elf/dl-support.c (_dl_fpu_control): New variable.
9226 (_dl_aux_init) <AT_FPUCW>: Initialize it.
9227 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
9228 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
9229 * math/test-fpucw-static.c: New file.
9230 * math/test-fpucw-ieee.c: New file.
9231 * math/test-fpucw-ieee-static.c: New file.
9232 * math/Makefile (tests): Add `test-fpucw-ieee' and
9233 `$(tests-static)'.
9234 (tests-static): New variable.
9235 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
9236 dependency to...
9237 [($(build-shared),yes)]
9238 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
9239 ... this.
9240 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
9241 New dependency.
9242
83e43bf0
AM
92432013-09-09 Allan McRae <allan@archlinux.org>
9244
a9f5ce09
AM
9245 [BZ #15939]
9246 * manual/string.texi (Collation Functions): Fix typo in
9247 strcoll example.
9248 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
9249
34829bc2
AM
9250 [BZ #15893]
9251 * stdlib/isomac.c (get_null_defines): Fix memory leak.
9252
3932737d
AM
9253 [BZ #15892]
9254 * libio/memstream.c (open_memstream): Fix memory leak.
9255 * libio/wmemstream.c (open_wmemstream): Likewise.
9256
83e43bf0
AM
9257 [BZ #15895]
9258 * nscd/netgroupcache.c: Fix nesting of ifdefs.
9259
0c66b8e9
WN
92602013-09-09 Will Newton <will.newton@linaro.org>
9261
9262 * malloc/Makefile: Add tst-realloc to tests.
9263 * malloc/tst-realloc.c: New file.
9264
f6b00fd1
AM
92652013-09-09 Allan McRae <allan@archlinux.org>
9266
9267 [BZ #15844]
9268 * COPYING: Update from GNU website to fix FSF address.
9269 * COPYING.LIB: Likewise.
9270
eec55e16
DM
92712013-09-06 David S. Miller <davem@davemloft.net>
9272
9273 * po/zh_TW.po: Update Chinese (traditional) translation from
9274 translation project.
9275
1ecbb381
RS
92762013-09-06 Richard Sandiford <richard@codesourcery.com>
9277 Joseph Myers <joseph@codesourcery.com>
9278
9279 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
9280 "localeinfo.h".
9281 (obstack_chunk_alloc): New macro.
9282 (obstack_chunk_free): Likewise.
9283 (record_offset): New function.
9284 (init_locale_data): Likewise.
9285 (align_locale_data): Likewise.
9286 (add_locale_empty): Likewise.
9287 (add_locale_raw_data): Likewise.
9288 (add_locale_raw_obstack): Likewise.
9289 (add_locale_string): Likewise.
9290 (add_locale_wstring): Likewise.
9291 (add_locale_uint32): Likewise.
9292 (add_locale_uint32_array): Likewise.
9293 (add_locale_char): Likewise.
9294 (start_locale_structure): Likewise.
9295 (end_locale_structure): Likewise.
9296 (start_locale_prelude): Likewise.
9297 (end_locale_prelude): Likewise.
9298 (write_locale_data): Take locale_file structure rather than an
9299 iovec.
9300 * locale/programs/locfile.h: Include "obstack.h".
9301 (struct locale_file): Change to store locale file contents instead
9302 of header.
9303 (init_locale_data): New prototype.
9304 (align_locale_data): Likewise.
9305 (add_locale_empty): Likewise.
9306 (add_locale_raw_data): Likewise.
9307 (add_locale_raw_obstack): Likewise.
9308 (add_locale_string): Likewise.
9309 (add_locale_wstring): Likewise.
9310 (add_locale_uint32): Likewise.
9311 (add_locale_uint32_array): Likewise.
9312 (add_locale_char): Likewise.
9313 (start_locale_structure): Likewise.
9314 (end_locale_structure): Likewise.
9315 (start_locale_prelude): Likewise.
9316 (end_locale_prelude): Likewise.
9317 (write_locale_data): Update prototype.
9318 * locale/programs/3level.h (struct TABLE): Remove result field.
9319 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
9320 Use new locale_file interface.
9321 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
9322 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
9323 * locale/programs/ld-address.c (address_output): Use new
9324 locale_file interface.
9325 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
9326 NO_ADD_LOCALE.
9327 (collate_finish): Don't call collseq_table_finalize.
9328 (collate_output): Use new locale_file interface.
9329 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
9330 in file.
9331 (NO_FINALIZE): Change to NO_ADD_LOCALE.
9332 (TABLE): Move defines earlier in file.
9333 (ELEMENT): Likewise.
9334 (DEFAULT): Likewise.
9335 (wctrans_table_add): Move macro and inline function earlier in
9336 file.
9337 (struct wctype_table): Move type earlier in file.
9338 (add_locale_wctype_table): New static prototype.
9339 (struct locale_ctype_t): Use logical types instead of struct iovec
9340 pointers for members.
9341 (ctype_output): Use new locale_file interface.
9342 (wctype_table_finalize): Change to add_locale_wctype_table. Use
9343 new locale_file interface.
9344 (allocate_arrays): Update for use of new locale_file interface.
9345 * locale/programs/ld-identification.c (identification_output): Use
9346 new locale_file interface.
9347 * locale/programs/ld-measurement.c (measurement_output): Likewise.
9348 * locale/programs/ld-messages.c (messages_output): Likewise.
9349 * locale/programs/ld-monetary.c (monetary_output): Likewise.
9350 * locale/programs/ld-name.c (name_output): Likewise.
9351 * locale/programs/ld-numeric.c (numeric_output): Likewise.
9352 * locale/programs/ld-paper.c (paper_output): Likewise.
9353 * locale/programs/ld-telephone.c (telephone_output): Likewise.
9354 * locale/programs/ld-time.c (time_output): Likewise.
9355
e029e2e5
AZ
93562013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9357
9358 * benchtests/Makefile: Add memrchr benchmark.
9359 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
9360 benchmark as memrchr.
9361 * benchtests/bench-memrchr-ifunc.c: New file.
9362 * benchtests/bench-memrchr.c: New file.
9363
bbf6e8e4
WN
93642013-09-06 Will Newton <will.newton@linaro.org>
9365
9366 * benchtests/Makefile (string-bench): Add memcpy.
9367
6c82a2f8
CD
93682013-09-05 Carlos O'Donell <carlos@redhat.com>
9369 Cong Wang <amwang@redhat.com>
9370
e732c5f0 9371 [BZ #15850]
6c82a2f8
CD
9372 * sysdeps/unix/sysv/linux/bits/in.h
9373 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
9374 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
9375 before __USE_KERNEL_IPV6_DEFS uses.
9376 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
9377 IPPROTO_BEETPH.
9378 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
9379 sockaddr_in6, or ipv6_mreq.
9380
5430fc65
AZ
93812013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9382
9383 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
9384 memory access for final bytes in some large inputs.
9385 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
9386
4660856c
AZ
93872013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9388
9389 * string/test-memrchr.c: New file.
9390 * string/test-memrchr-ifunc.c: New file.
9391 * string/Makefile: Add new memrchr testcase.
9392
bb8ea713
MF
93932013-09-05 Mike Frysinger <vapier@gentoo.org>
9394
9395 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
9396 fanotify_init returns EPERM.
9397
b92a20b5
JM
93982013-09-04 Joseph Myers <joseph@codesourcery.com>
9399
9400 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
9401 errors.
9402 (top level): Treat second token from macro or constant entries for
9403 allowed headers as allowed.
9404 * include/complex.h: Condition internal declarations on
9405 [!_ISOMAC].
9406 * include/fenv.h: Condition include of <stdbool.h> and internal
9407 declarations on [!_ISOMAC].
7447ccd9
CL
9408
94092013-09-04 Chris Leonard <cjl@sugarlabs,.org>
9410
3e181dda 9411 [BZ #15923]
7447ccd9
CL
9412 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
9413
3f2e46a4
JM
94142013-09-04 Joseph Myers <joseph@codesourcery.com>
9415
9416 * configure.in (--enable-versioning): Remove configure option.
9417 (libc_cv_asm_symver_directive): Remove configure test.
9418 (libc_cv_ld_version_script_option): Likewise.
9419 (VERSIONING): Remove variable and AC_SUBST.
9420 (DO_VERSIONING): Remove AC_DEFINE.
9421 * configure: Regenerated.
9422 * config.h.in (DO_VERSIONING): Remove macro.
9423 * Makerules [$(versioning) = yes]: Change conditionals to
9424 [$(build-shared) = yes].
9425 * config.make.in (versioning): Remove variable.
9426 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
9427 [$(build-shared) = yes].
9428 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
9429 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
9430 * elf/Makefile [$(versioning) = yes]: Change conditionals to
9431 [$(build-shared) = yes].
9432 * extra-lib.mk [$(versioning) = yes]: Likewise.
9433 * hurd/Makefile [$(versioning) = yes]: Likewise.
9434 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
9435 [SHARED].
9436 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
9437 [SHARED].
9438 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
9439 [SHARED && !NO_HIDDEN].
9440 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
9441 [SHARED].
9442 [SHARED && DO_VERSIONING]: Likewise..
9443 * libio/Makefile [$(versioning) = yes]: Change conditionals to
9444 [$(build-shared) = yes].
9445 * manual/install.texi (--disable-versioning): Remove
9446 documentation.
9447 * INSTALL: Regenerated.
9448 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
9449 to [SHARED].
9450 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
9451 [$(build-shared) = yes].
9452 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
9453 * sysdeps/i386/i686/multiarch/strstr-c.c
9454 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
9455 [SHARED && !NO_HIDDEN].
9456 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
9457 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
9458 * sysdeps/powerpc/powerpc32/dl-machine.c
9459 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
9460 * sysdeps/powerpc/powerpc32/sysdep.h
9461 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
9462 to [SHARED && PIC && !NO_HIDDEN].
9463 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
9464 conditional to [SHARED].
9465
44558701
WN
94662013-09-04 Will Newton <will.newton@linaro.org>
9467
9468 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
9469 * benchtests/bench-string.h: Include bench-timing.h instead
9470 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
9471 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
9472 call to HP_TIMING_DIFF_INIT.
9473 * benchtests/bench-memccpy.c: Use bench-timing.h macros
9474 instead of hp-timing.h macros.
9475 * benchtests/bench-memchr.c: Likewise.
9476 * benchtests/bench-memcmp.c: Likewise.
9477 * benchtests/bench-memcpy.c: Likewise.
9478 * benchtests/bench-memmem.c: Likewise.
9479 * benchtests/bench-memmove.c: Likewise.
9480 * benchtests/bench-memset.c: Likewise.
9481 * benchtests/bench-rawmemchr.c: Likewise.
9482 * benchtests/bench-strcasecmp.c: Likewise.
9483 * benchtests/bench-strcasestr.c: Likewise.
9484 * benchtests/bench-strcat.c: Likewise.
9485 * benchtests/bench-strchr.c: Likewise.
9486 * benchtests/bench-strcmp.c: Likewise.
9487 * benchtests/bench-strcpy.c: Likewise.
9488 * benchtests/bench-strcpy_chk.c: Likewise.
9489 * benchtests/bench-strlen.c: Likewise.
9490 * benchtests/bench-strncasecmp.c: Likewise.
9491 * benchtests/bench-strncat.c: Likewise.
9492 * benchtests/bench-strncmp.c: Likewise.
9493 * benchtests/bench-strncpy.c: Likewise.
9494 * benchtests/bench-strnlen.c: Likewise.
9495 * benchtests/bench-strpbrk.c: Likewise.
9496 * benchtests/bench-strrchr.c: Likewise.
9497 * benchtests/bench-strspn.c: Likewise.
9498 * benchtests/bench-strstr.c: Likewise.
9499
cae16d66
WN
95002013-09-04 Will Newton <will.newton@linaro.org>
9501
9502 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
9503
ffa3cd7f
JM
95042013-09-03 Joseph Myers <joseph@codesourcery.com>
9505
9506 [BZ #15427]
9507 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
9508 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
9509 * math/libm-test.inc (lgamma_test_data): Add more tests.
9510 * sysdeps/i386/fpu/libm-test-ulps: Update.
9511 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9512
8f02859f
OB
95132013-09-03 Ondřej Bílka <neleai@seznam.cz>
9514
9515 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
9516 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
9517 Add ifunc.
9518 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
9519 Add strcmp-sse2-unaligned
9520 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
9521
18d43716
MF
95222013-09-02 Mike Frysinger <vapier@gentoo.org>
9523
9524 * Versions.def (libc): Add GLIBC_2.19.
9525
ac444012
MF
95262013-09-02 Mike Frysinger <vapier@gentoo.org>
9527
9528 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
9529 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
9530
b7835e32
JM
95312013-09-02 Joseph Myers <joseph@codesourcery.com>
9532
9533 [BZ #14155]
9534 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
9535 intermediate calculations in recurrence.
9536 (__ieee754_ynf): Likewise.
9537 * math/libm-test.inc (jn_test_data): Do not allow spurious
9538 underflow exception. Add more tests.
9539 (yn_test_data): Add more tests.
9540 * sysdeps/i386/fpu/libm-test-ulps: Update.
9541 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9542
8220f4f0
OB
95432013-09-02 Ondřej Bílka <neleai@seznam.cz>
9544
9545 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
9546
f24a6d08
OB
95472013-08-30 Ondřej Bílka <neleai@seznam.cz>
9548
9549 * csu/init-first.c: Fix then/than typos.
9550 * locale/programs/ld-collate.c: Likewise.
9551 * locale/programs/linereader.h: Likewise.
9552 * manual/charset.texi: Likewise.
9553 * manual/filesys.texi: Likewise.
9554 * manual/stdio.texi: Likewise.
9555 * manual/string.texi: Likewise.
9556 * stdlib/fmtmsg.c: Likewise.
9557 * sysdeps/i386/stpncpy.S: Likewise.
9558 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
9559 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
9560 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
9561 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
9562
382466e0
OB
95632013-08-30 Ondřej Bílka <neleai@seznam.cz>
9564
9565 * elf/dl-open.c: Fix typos.
9566 * iconvdata/gbbig5.c: Likewise.
9567 * iconvdata/iso-2022-jp.c: Likewise.
9568 * iconv/gconv_int.h: Likewise.
9569 * iconv/loop.c: Likewise.
9570 * nis/rpcsvc/nis.h: Likewise.
9571 * resolv/ns_name.c: Likewise.
9572 * stdio-common/vfscanf.c: Likewise.
9573 * streams/stropts.h: Likewise.
9574 * sunrpc/rpc_thread.c: Likewise.
9575 * sysdeps/i386/strpbrk.S: Likewise.
9576 * sysdeps/ieee754/k_standard.c: Likewise.
9577 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
9578 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9579 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
9580 * sysdeps/mach/hurd/profil.c: Likewise.
9581 * sysdeps/s390/dl-procinfo.h: Likewise.
9582 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
9583 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
9584 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
9585 * sysdeps/x86_64/dl-trampoline.S: Likewise.
9586 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
9587
0186c6e9
OB
95882013-08-30 Ondřej Bílka <neleai@seznam.cz>
9589
9590 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
9591 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
9592
d4e16af1
OB
95932013-08-29 Ondřej Bílka <neleai@seznam.cz>
9594
9595 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
9596 aix specific files.
9597 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
9598 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
9599 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
9600 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
9601 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
9602 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
9603 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
9604 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
9605
88335980
TS
96062013-08-29 Thomas Schwinge <thomas@codesourcery.com>
9607 Roland McGrath <roland@hack.frob.com>
9608
9609 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
9610 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
9611
ed479b02
ST
96122013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
9613
9614 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
9615 __executable_start symbol instead of _start.
9616
f1cc4c86
TS
96172013-08-29 Thomas Schwinge <thomas@codesourcery.com>
9618
d821f07c
TS
9619 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
9620 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
9621 Move macros to...
9622 * sysdeps/gnu/ldsodefs.h: ... this new file.
9623
c54290cf
TS
9624 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
9625 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
9626 instead of ELFOSABI_LINUX.
9627
0007fc9b 9628 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
9629 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
9630 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
9631 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
9632 Likewise.
9633 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
9634 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
9635 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
9636 Likewise.
9637 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
9638 (ibm_extended_long_double): Add ieee_nan member.
9639 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
9640 (do_test): New function.
9641
f1cc4c86
TS
9642 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
9643 TEST_TRUNC.
9644 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
9645 functions, renamed from truncdfsf_test, trunctfsf_test,
9646 trunctfdf_test.
9647 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
9648 functions.
9649 (do_test): Run all these.
9650
6f65e668
OB
96512013-08-29 Ondřej Bílka <neleai@seznam.cz>
9652
9653 * argp/argp-help.c: Fix typos.
9654 * argp/argp-parse.c: Likewise.
9655 * debug/backtracesyms.c: Likewise.
9656 * elf/elf.h: Likewise.
9657 * malloc/malloc.c: Likewise.
9658 * nis/nis_print.c: Likewise.
9659 * resolv/res_comp.c: Likewise.
9660 * stdlib/stdlib.h: Likewise.
9661 * sunrpc/clnt_tcp.c: Likewise.
9662 * sunrpc/clnt_udp.c: Likewise.
9663 * sunrpc/clnt_unix.c: Likewise.
9664 * sysdeps/unix/bsd/ptsname.c: Likewise.
9665 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
9666 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
9667 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
9668 Likewise.
9669 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
9670 Likewise.
9671 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
9672 Likewise.
6f65e668
OB
9673 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
9674
3a309239
SP
96752013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9676
9677 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
9678 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
9679
3b813b29
MF
96802013-08-27 Mike Frysinger <vapier@gentoo.org>
9681
9682 [BZ #15897]
9683 * dlfcn/Makefile (tests): Add bug-dl-leaf.
9684 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
9685 ($(objpfx)bug-dl-leaf): New rule.
9686 ($(objpfx)bug-dl-leaf.so): Likewise.
9687 ($(objpfx)bug-dl-leaf.out): Likewise.
9688 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
9689 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
9690 * dlfcn/bug-dl-leaf.c: New test.
9691 * dlfcn/bug-dl-leaf-lib.c: Likewise.
9692 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
9693 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
9694 (dlclose): Likewise.
9695 (dlmopen): Likewise.
9696
8cc3269f
RM
96972013-08-27 Roland McGrath <roland@hack.frob.com>
9698
7f9d0034
RM
9699 * include/netdb.h [!_ISOMAC]:
9700 Don't include <tls.h>.
9701 (h_errno, __libc_h_errno): Move declaration and macros out of
9702 [_LIBC_REENTRANT].
9703
fb431262
RM
9704 * include/resolv.h [_RESOLV_H_]:
9705 Don't include <tls.h>.
9706 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
9707 * resolv/res_libc.c: Don't include <tls.h>.
9708 (_res): Use __attribute__ ((nocommon)) in place of
9709 __attribute__ ((section (".bss"))).
9710
bd81123a
RM
9711 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
9712 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
9713
c4e42566
RM
9714 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
9715
f890a59b
RM
9716 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
9717 only under [SIOCGIFCONF && SIOCGIFNETMASK].
9718
9719 * resolv/res_mkquery.c: Include <sys/time.h>.
9720
5d1f0a09
RM
9721 * inet/ifreq.c: Moved to ...
9722 * sysdeps/unix/ifreq.c: ... here.
9723 * inet/ifreq.c: New file, true stub version.
9724
6fcf28b3
RM
9725 * socket/sa_len.c: New file.
9726 * socket/Makefile (aux): Add it.
9727 * sysdeps/unix/sysv/linux/Makefile
9728 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
9729 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
9730 and #include <socket/sa_len.c>.
9731 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
9732 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
9733
e041fb8b
RM
9734 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
9735 * bits/socket.h: ... here.
9736
8cc3269f
RM
9737 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
9738 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
9739 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
9740
5d228a43
AS
97412013-08-27 Andreas Schwab <schwab@suse.de>
9742
45b8accc
AS
9743 [BZ #15736]
9744 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
9745 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
9746 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
9747 * string/test-strcasecmp.c (test_main): Run tests in several
9748 locales.
9749 * string/test-strncasecmp.c (test_main): Likewise.
9750
5d228a43
AS
9751 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
9752 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
9753 to __strcasecmp_nonascii and __strncasecmp_nonascii.
9754 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
9755 (__strncasecmp_ssse3) [PIC]: Likewise.
9756
59d112a4
RM
97572013-08-26 Roland McGrath <roland@hack.frob.com>
9758
53234cc3
RM
9759 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
9760
59d112a4
RM
9761 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
9762 instead of explicitly declaring xdecrypt.
9763 * nis/nss_nis/nis-publickey.c: Likewise.
9764
595aba70
SP
97652013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9766
9767 [BZ #15890]
9768 * nscd/aicache.c: Include res_hconf.h.
9769 (addhstaiX): Initialize res_hconf.
9770
ffabd393
AS
97712013-08-26 Andreas Schwab <schwab@suse.de>
9772
9773 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
9774 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
9775
e0a69f5c
SP
97762013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9777
9778 * nscd/aicache.c (addhstaiX): Fix indentation.
9779
8c12f01d
MF
97802013-08-25 Mike Frysinger <vapier@gentoo.org>
9781
9782 * configure.ac: Quote $build_pt_chown test.
9783 * configure: Regenerated.
9784
8fe89494
JM
97852013-08-23 Joseph Myers <joseph@codesourcery.com>
9786
9787 [BZ #15532]
9788 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
9789 * math/s_cexpf.c (__cexpf): Likewise.
9790 * math/s_cexpl.c (__cexpl): Likewise.
9791 * math/libm-test.inc (cexp_test_data): Correct expected return
9792 value for NaN + i0. Add another test.
9793
75b181d6
DM
97942013-08-22 David S. Miller <davem@davemloft.net>
9795
9796 * po/ca.po: Update Catalan translation from translation project.
936241e4 9797 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 9798
acd06bb1
JM
97992013-08-21 Joseph Myers <joseph@codesourcery.com>
9800
9801 [BZ #15797]
9802 * math/s_fdim.c (__fdim): Check for infinite arguments if result
9803 is infinite, not alongside NaN test.
9804 * math/s_fdimf.c (__fdimf): Likewise.
9805 * math/s_fdiml.c (__fdiml): Likewise.
9806 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
9807 errno is unchanged.
9808
c0c3f78a
OB
98092013-08-21 Ondřej Bílka <neleai@seznam.cz>
9810
9811 * argp/argp-help.c: Fix typos.
9812 * crypt/speeds.c: Likewise.
9813 * csu/check_fds.c: Likewise.
9814 * elf/dl-load.c: Likewise.
9815 * elf/dl-open.c: Likewise.
9816 * elf/reldep3.c: Likewise.
9817 * elf/reldep.c: Likewise.
9818 * elf/sprof.c: Likewise.
9819 * iconv/iconv_charmap.c: Likewise.
9820 * iconv/skeleton.c: Likewise.
9821 * iconv/strtab.c: Likewise.
9822 * io/lockf64.c: Likewise.
9823 * libio/libioP.h: Likewise.
9824 * resolv/gai_notify.c: Likewise.
9825 * resolv/ns_name.c: Likewise.
9826 * resolv/ns_samedomain.c: Likewise.
9827 * resolv/res_send.c: Likewise.
9828 * stdlib/random.c: Likewise.
9829 * sunrpc/rpc/xdr.h: Likewise.
9830 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
9831 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
9832 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
9833 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
9834 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
9835 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
9836 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
9837 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
9838 * sysdeps/mach/hurd/check_fds.c: Likewise.
9839 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
9840 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
9841 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
9842 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
9843 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
9844 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
9845 * sysdeps/pthread/aio_notify.c: Likewise.
9846 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
9847 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
9848 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
9849 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
9850 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
9851
46ed1038
LD
98522013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9853
9854 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
9855 version if bit_Slow_SSE4_2 is set.
9856 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
9857 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
9858
d400dcac
AZ
98592013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9860
9861 [BZ #15867]
9862 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
9863 trampoline stack frame information.
9864 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
9865 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
9866 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
9867 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
9868 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
9869 * sysdeps/unix/sysv/linux/powerpc/init-first.c
9870 (_libc_vdso_platform_setup): Initialize the signal trampolines.
9871 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
9872 sa_flags value.
9873 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
9874 interrupting a syscall and set with option SA_SIGINFO.
9875
42c8fdd8
JM
98762013-08-20 Joseph Myers <joseph@codesourcery.com>
9877
c980f2f4
JM
9878 [BZ #15531]
9879 * math/s_cproj.c (__cproj): Only return an infinity if one part of
9880 argument is infinite.
9881 * math/s_cprojf.c (__cprojf): Likewise.
9882 * math/s_cprojl.c (__cprojl): Likewise.
9883 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
9884 * math/libm-test.inc (cproj_test_data): Add more tests.
9885
0716c4fc
JM
9886 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
9887
42c8fdd8
JM
9888 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
9889 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
9890 size. Use __ffs to determine corresponding shift.
9891
b31469d0
JM
98922013-08-20 Joseph Myers <joseph@codesourcery.com>
9893 Roland McGrath <roland@hack.frob.com>
9894
9895 * Makefile (INSTALL): Remove trailing blank lines from output of
9896 makeinfo.
9897
4e39af6e
AK
98982013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9899
9900 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
9901 Align 32 bit compat elf_greg to 8 bytes.
9902
f315524e
AA
99032013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
9904
9905 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
9906
1326ba1a
SP
99072013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
9908
9909 * string/strcoll_l.c (coll_seq): New structure.
9910 (get_next_seq_cached): New function.
9911 (get_next_seq): New function.
9912 (do_compare): New function.
9913 (STRCOLL): Use GNU style definition. Simplify implementation
9914 by using get_next_seq, get_next_seq_cached and do_compare.
9915
91ce4085
FW
99162013-08-16 Florian Weimer <fweimer@redhat.com>
9917
9918 [BZ #14699]
9919 CVE-2013-4237
9920 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
9921 member.
9922 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
9923 member.
9924 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
9925 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
9926 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
9927 conditional.
9928 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
9929 GETDENTS_64BIT_ALIGNED.
9930 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
9931 * manual/filesys.texi (Reading/Closing Directory): Document
9932 ENAMETOOLONG return value of readdir_r. Recommend readdir more
9933 strongly.
9934 * manual/conf.texi (Limits for Files): Add portability note to
9935 NAME_MAX, PATH_MAX.
9936 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
9937
ca0a6bc4
AS
99382013-08-13 Andreas Schwab <schwab@suse.de>
9939
9940 [BZ #15749]
9941 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
9942 of fabs.
9943 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
9944 LDBL_MAX_EXP >= 16384]: Add tests for it.
9945
6c1fd795
DM
99462013-08-12 David S. Miller <davem@davemloft.net>
9947
9948 * version.h (RELEASE): Set to "development".
9949 (VERSION): Set to "2.18.90".
9950 * NEWS: Add 2.19 section.
9951
31ad488d
DM
99522013-08-03 David S. Miller <davem@davemloft.net>
9953
9954 * po/ko.po: Update Korean translation from translation project.
9955
db24e684
DM
99562013-08-01 David S. Miller <davem@davemloft.net>
9957
9958 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
9959 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
9960 Bilka.
9961
f723285b
DM
99622013-07-30 David S. Miller <davem@davemloft.net>
9963
9964 * po/fr.po: Update French translation from translation project.
9965
3cbc52db
DM
99662013-07-28 David S. Miller <davem@davemloft.net>
9967
30bbc0cc
DM
9968 * po/cs.po: Update Czech translation from translation project.
9969
3cbc52db
DM
9970 * po/sv.po: Update Swedish translation from translation project.
9971
d492e6d0
DM
99722013-07-27 David S. Miller <davem@davemloft.net>
9973
f1a7f492
DM
9974 * po/eo.po: Update Esperanto translation from translation project.
9975
90e62a4a
DM
9976 * po/vi.po: Update Vietnamese translation from translation project.
9977
d492e6d0
DM
9978 * po/de.po: Update German translation from translation project.
9979
d4baa62d
DM
99802013-07-26 David S. Miller <davem@davemloft.net>
9981
641aa7b4
DM
9982 * po/bg.po: Update Bulgarian translation from translation project.
9983
d4baa62d
DM
9984 * po/nl.po: Update Dutch translation from translation project.
9985 * po/pl.po: Update Polish translation from translation project.
9986 * po/ru.po: Update Russian translation from translation project.
9987
61a9dcb9
DM
99882013-07-24 David S. Miller <davem@davemloft.net>
9989
9990 * po/libc.pot: Update.
9991
7b1f8b58
AZ
99922013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9993
9994 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
9995 variable page size.
9996 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
9997 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
9998 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
9999
a8fc7a03
AK
100002013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10001
10002 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
10003
e4608715
CD
100042013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10005 Andreas Schwab <schwab@suse.de>
10006 Roland McGrath <roland@hack.frob.com>
10007 Joseph Myers <joseph@codesourcery.com>
10008 Carlos O'Donell <carlos@redhat.com>
10009
10010 [BZ #15755]
10011 * config.h.in: Define HAVE_PT_CHOWN.
10012 * config.make.in (build-pt-chown): New variable.
10013 * configure.in (--enable-pt_chown): New configure option.
10014 * configure: Regenerate.
10015 * login/Makefile: Include Makeconfig. Build pt_chown only if
10016 build-pt-chown is enabled.
10017 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
10018 pt_chown to fix pty ownership.
10019 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
10020 CLOSE_ALL_FDS.
10021 * manual/install.texi (Configuring and compiling): Mention
10022 --enable-pt_chown. Add @findex for grantpt.
10023 * INSTALL: Regenerate.
10024
da2d62df
DM
100252013-07-20 David S. Miller <davem@davemloft.net>
10026
10027 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
10028 difference between 32-bit and 64-bit.
10029
d7e06450
CD
100302013-07-15 Carlos O'Donell <carlos@redhat.com>
10031
10032 [BZ #15711]
10033 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
10034 Avoid system header dependency with -ffreestanding.
10035 ($(objpfx)bits/syscall%d): Likewise.
10036
f959cfd7
DM
100372013-07-13 David S. Miller <davem@davemloft.net>
10038
10039 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
10040 underflows from atanl/atan2l due to bug 15319.
10041 (casinh_test_data): Likewise.
10042
c61f8513
DM
100432013-07-07 David S. Miller <davem@davemloft.net>
10044
10045 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
10046
72c90ed0
JA
100472013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
10048
10049 * sysdeps/i386/fpu/libm-test-ulps: Update.
10050 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10051
52dfbe13
SP
100522013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10053
10054 * configure.in (--enable-lock-elision): Fix message text.
10055 * INSTALL: Regenerate.
10056 * configure: Regenerate.
10057
3f169543
AZ
100582013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10059
10060 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10061
521c6785
AJ
100622013-07-03 Andreas Jaeger <aj@suse.de>
10063
10064 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
10065 define.
10066 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
10067 (ptrace_peeksiginfo_args): Add.
10068 (__ptrace_peeksiginfo_flags): Add.
10069 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10070 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10071 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10072
d2cc15cb
AM
100732013-07-03 Allan McRae <allan@archlinux.org>
10074
10075 * sysdeps/i386/fpu/libm-test-ulps: Update.
10076
3aaeeca7
DM
100772013-07-02 David S. Miller <davem@davemloft.net>
10078
10079 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10080
5314ed1a
MT
100812013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
10082
10083 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10084
67338156
JM
100852013-07-02 Joseph Myers <joseph@codesourcery.com>
10086
10087 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
10088 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10089
1717da59
AK
100902013-07-02 Andi Kleen <ak@linux.intel.com>
10091
10092 * config.h.in (ENABLE_LOCK_ELISION): Add.
10093 * configure.in (--enable-lock-elision): Add option.
10094 * manual/install.texi: Document --enable lock elision.
10095 * configure: Regenerate
10096 * INSTALL: Regenerate.
10097
1c81621c
L
100982013-07-02 H.J. Lu <hongjiu.lu@intel.com>
10099
10100 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
10101 SSE4.2 strcasecmp for libc.a.
10102 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
10103
77f01ab5
JM
101042013-07-02 Joseph Myers <joseph@codesourcery.com>
10105
10106 [BZ #13304]
10107 * soft-fp/op-common.h (_FP_FMA): New macro.
10108 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
10109 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
10110 (_FP_MUL_MEAT_1_imm): ... here.
10111 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
10112 (_FP_MUL_MEAT_1_wide): ... here.
10113 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
10114 (_FP_MUL_MEAT_1_hard): ... here.
10115 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
10116 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
10117 (_FP_MUL_MEAT_2_wide): ... here.
10118 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
10119 (_FP_MUL_MEAT_2_wide_3mul): ... here.
10120 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
10121 (_FP_MUL_MEAT_2_gmp): ... here.
10122 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
10123 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
10124 (_FP_MUL_MEAT_4_wide): ... here.
10125 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
10126 (_FP_MUL_MEAT_4_gmp): ... here.
10127 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
10128 (_FP_WFRACBITS_DW_S): Likewise.
10129 (_FP_WFRACXBITS_DW_S): Likewise.
10130 (_FP_HIGHBIT_DW_S): Likewise.
10131 (FP_FMA_S): Likewise.
10132 (_FP_FRAC_HIGH_DW_S): Likewise.
10133 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
10134 (_FP_WFRACBITS_DW_D): Likewise.
10135 (_FP_WFRACXBITS_DW_D): Likewise.
10136 (_FP_HIGHBIT_DW_D): Likewise.
10137 (FP_FMA_D): Likewise.
10138 (_FP_FRAC_HIGH_DW_D): Likewise.
10139 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
10140 (_FP_WFRACBITS_DW_E): Likewise.
10141 (_FP_WFRACXBITS_DW_E): Likewise.
10142 (_FP_HIGHBIT_DW_E): Likewise.
10143 (FP_FMA_E): Likewise.
10144 (_FP_FRAC_HIGH_DW_E): Likewise.
10145 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
10146 (_FP_WFRACBITS_DW_Q): Likewise.
10147 (_FP_WFRACXBITS_DW_Q): Likewise.
10148 (_FP_HIGHBIT_DW_Q): Likewise.
10149 (FP_FMA_Q): Likewise.
10150 (_FP_FRAC_HIGH_DW_Q): Likewise.
10151 * soft-fp/fmasf4.c: New file.
10152 * soft-fp/fmadf4.c: Likewise.
10153 * soft-fp/fmatf4.c: Likewise.
10154
6308fd9a
LD
101552013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10156
10157 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
10158 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
10159 Silvermont.
10160 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
10161 macro.
10162 (index_Slow_SSE4_2): Likewise.
10163 (index_Prefer_PMINUB_for_stringop): Likewise.
10164 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
10165 bit_Slow_SSE4_2 is set.
10166 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
10167 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
10168
89cd9569
RA
101692013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10170
10171 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
10172 rtld_global._dl_hwcap2.
10173 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
10174 POWER8.
10175 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
10176 POWER8 feature descriptions defined in _dl_hwcap2.
10177 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
10178 string handling for POWER8 feature bits.
10179 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
10180 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
10181 _dl_powerpc_cap_flags.
10182 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
10183 * sysdeps/powerpc/rtld-global-offsets.sym
10184 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
10185 _dl_hwcap2 in the rtld_global_ro structure.
10186
1ae8bfe0
RA
101872013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10188
10189 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
10190 hardware capabilities in support of AT_HWCAP2.
10191 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
10192 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
10193 GLRO(dl_hwcap2).
10194 (_dl_show_auxv): Add support for calling _dl_procinfo to display
10195 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
10196 explicitly the unknown a_type display mechanism is used.
10197 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
10198 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
10199 struct member.
10200 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
10201 to macro prototype for AT_HWCAP2 support.
10202 * sysdeps/i386/dl-procinfo.h: Likewise.
10203 * sysdeps/s390/dl-procinfo.h: Likewise.
10204 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
10205 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
10206 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
10207 return -1 for unknown a_type display fallback.
10208 * sysdeps/sparc/dl-procinfo.h: Likewise.
10209 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
10210 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
10211
8fbec010
JM
102122013-06-28 Joseph Myers <joseph@codesourcery.com>
10213
10214 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
10215 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
10216
0432680e
PY
102172013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
10218
10219 [BZ #12492]
10220 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
10221 mprotect making __stack_prot writable.
10222
ce61a2ad
NF
102232013-06-28 Nathan Froyd <froydnj@codesourcery.com>
10224 Joseph Myers <joseph@codesourcery.com>
10225
10226 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
10227 as being properly aligned.
10228
f91f1c0f
MR
102292013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
10230
3d0f5d0c
MR
10231 * dlfcn/modstatic5.c: New file.
10232 * dlfcn/tststatic5.c: New file.
10233 * dlfcn/Makefile (tests): Add tststatic5.
10234 (tests-static): Likewise.
10235 (modules-names): Add modstatic5.
10236 (tststatic5-ENV): New variable.
10237 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
10238
f91f1c0f
MR
10239 [BZ #15022]
10240 * elf/dl-support.c (_dl_main_map): New variable.
10241 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
10242 (_dl_nns, _dl_load_adds): Set to 1.
10243 (_dl_initial_searchlist): Refer to _dl_main_map.
10244 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
10245 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
10246 call to _dl_get_origin.
10247 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
10248 around call_map.
10249 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
10250 * dlfcn/modstatic3.c: New file.
10251 * dlfcn/tststatic3.c: New file.
10252 * dlfcn/tststatic4.c: New file.
10253 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
10254 (tests-static): Likewise.
10255 (modules-names): Add modstatic3.
10256 (tststatic3-ENV, tststatic4-ENV): New variables.
10257 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
10258 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
10259
cbe7d24b
JM
102602013-06-26 Joseph Myers <joseph@codesourcery.com>
10261
10262 * configure.in (CC): Require GCC version 4.4 or later.
10263 * configure: Regenerated.
10264 * manual/install.texi (Tools for Compilation): Update GCC version
10265 requirement.
10266 * INSTALL: Regenerated.
10267
11b8a0e1
LD
102682013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10269
10270 [BZ #15674]
bb5bb87c
L
10271 * string/test-memcmp.c (check2): New.
10272 (main): Call check2.
10273
11b8a0e1
LD
10274 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
10275
b0037103
MR
102762013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
10277
10278 [BZ #15022]
10279 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
10280 over to...
10281 (dl_open_worker) [!SHARED]: ... here.
10282
c18c701d
RA
102832013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10284
10285 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
10286
1d17fa5f
RH
102872013-06-25 Richard Henderson <rth@redhat.com>
10288
10289 * locale/programs/locarchive.c: Include <libc-internal.h>
10290
8fcb833a
JM
102912013-06-25 Joseph Myers <joseph@codesourcery.com>
10292
10293 * manual/texinfo.tex: Update to version 2013-06-21.17, with
10294 trailing whitespace removed.
10295
17db6e8d
MF
102962013-06-24 Mike Frysinger <vapier@gentoo.org>
10297
10298 [BZ #10283]
17db6e8d
MF
10299 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
10300 * locale/programs/locarchive.c: Include libc-mmap.h.
10301 (prepare_address_space): Take two new outputs (the mmap base and len).
10302 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
10303 values.
10304 (create_archive): Declare new mmap base and len values for
10305 prepare_address_space, and store the result in ah.
10306 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
10307 (enlarge_archive): If ah->mmap_base is not NULL, use that and
10308 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
10309 Declare new mmap base and len values for
10310 prepare_address_space, and store the result in new_ah.
10311 (open_archive): Declare new mmap base and len values for
10312 prepare_address_space, and store the result in ah.
10313 (close_archive): If ah->mmap_base is not NULL, use that and
10314 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
10315 * sysdeps/generic/libc-mmap.h: New file.
10316
d605071e
MF
103172013-06-24 Mike Frysinger <vapier@gentoo.org>
10318
10319 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
10320 (ALIGN_UP): Likewise.
10321 (PTR_ALIGN_DOWN): Likewise.
10322 (PTR_ALIGN_UP): Likewise.
10323
2f063a6e
RA
103242013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10325
10326 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
10327 entry mapped to PPC_PLATFORM_POWER8.
10328 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
10329 POWER8.
10330 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
10331 (_dl_string_platform): Add case for exporting platform position for
10332 POWER8.
10333 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
10334 search path to sysdeps/powerpc/powerpc32/power8 directory.
10335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
10336 search path to sysdeps/powerpc/powerpc64/power8 directory.
10337 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
10338 power7 directories.
10339 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
10340 power7 directories.
10341
a31ee4b3
SP
103422013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10343
a74ca98f
SP
10344 * INSTALL: Regenerate.
10345
a31ee4b3
SP
10346 * nscd/connections.c (nscd_init): Fix comment.
10347
695c378f
JM
103482013-06-22 Joseph Myers <joseph@codesourcery.com>
10349
d8412221
JM
10350 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
10351
695c378f
JM
10352 [BZ #15667]
10353 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
10354 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
10355
d1d54715
MR
103562013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
10357
10358 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
10359 DL_DST_REQ_STATIC.
10360 (DL_DST_REQ_STATIC): Remove macro.
10361
8fdda7af
JM
103622013-06-21 Joseph Myers <joseph@codesourcery.com>
10363
10364 [BZ #7006]
10365 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
10366 with a shift of 0 bits.
10367
f3bc5e5a
MR
103682013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
10369
10370 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
10371 $(tststatic-ENV).
10372
be09e8c9
KK
103732013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10374
10375 [BZ #15655]
10376 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
10377
85c2e611
AZ
103782013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10379
10380 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
10381 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
10382 accepts -fno-tree-loop-distribute-patterns.
10383 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
10384 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
10385 recursive call.
10386 * string/memset.c (memset): Likewise.
10387 * string/test-memmove.c (simple_memmove): Disable loop transformation
10388 to library calls.
10389 * string/test-memset.c (simple_memset): Likewise.
10390 * benchtests/bench-memmove.c (simple_memmove): Likewise.
10391 * benchtests/bench-memset.c (simple_memset): Likewise.
10392 * configure: Regenerated.
10393
c91e0825
JM
103942013-06-20 Joseph Myers <joseph@codesourcery.com>
10395
b8c792af
JM
10396 * math/test-misc.c (main): Ignore fesetround failure when failures
10397 of subsequent rounding tests would be ignored.
10398
c91e0825
JM
10399 [BZ #15654]
10400 * math/fedisblxcpt.c (fedisableexcept): Return 0.
10401 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
10402 * math/fegetenv.c (__fegetenv): Return 0.
10403 * math/fegetexcept.c (fegetexcept): Return 0.
10404 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
10405 FE_TONEAREST.
10406 * math/feholdexcpt.c (feholdexcept): Return 0.
10407 * math/fesetenv.c (__fesetenv): Return 0.
10408 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
10409 argument FE_TONEAREST.
10410 * math/feupdateenv.c (__feupdateenv): Return 0.
10411 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
10412
bfcacbde
RM
104132013-06-18 Roland McGrath <roland@hack.frob.com>
10414
10415 * elf/rtld-Rules (rtld-compile-command.S): New variable.
10416 (rtld-compile-command.s, rtld-compile-command.c): New variables.
10417 ($(objpfx)rtld-%.os rules): Use them.
10418
e55a9b25
AZ
104192013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10420
10421 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
10422 fields.
10423
346d65b3
RM
104242013-06-17 Roland McGrath <roland@hack.frob.com>
10425
12086fb4
RM
10426 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
10427 length of target pattern, then descending length of dependency pattern.
10428 * configure.in (AWK): Require gawk 3.1.2 or newer.
10429 * manual/install.texi (Tools for Compilation): Say that we do.
10430 * configure: Regenerated.
10431
346d65b3
RM
10432 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
10433 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
10434 * scripts/sysd-rules.awk: ... this new script.
10435 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
10436 than a glob-style pattern.
10437
1a846317
JM
104382013-06-17 Joseph Myers <joseph@codesourcery.com>
10439
10440 * math/test-misc.c (main): Do not treat incorrectly rounded
10441 conversions as failure unless ROUNDING_TESTS passes.
10442
8fc75e6f
JM
104432013-06-15 Joseph Myers <joseph@codesourcery.com>
10444
3711a167
JM
10445 [BZ #15631]
10446 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
10447 restore exception state around main square root computation, then
10448 check for inexactness explicitly.
10449
8fc75e6f
JM
10450 * math/libm-test.inc (fma_test_data): Add another test.
10451
61dd6208
SP
104522013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10453
adf23d2c
SP
10454 * manual/threads.texi (Non-POSIX Extensions): New document
10455 node. Document pthread_getattr_default_np and
10456 pthread_setattr_default_np.
10457
61dd6208
SP
10458 * Versions.def (libpthread): Add GLIBC_2.18.
10459 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
10460 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
10461 Likewise.
10462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
10463 Likewise.
10464 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10465 Likewise.
10466 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10467 Likewise.
10468 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
10469 Likewise.
10470 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
10471 Likewise.
10472 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
10473 Likewise.
10474 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
10475 Likewise.
10476 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
10477 Likewise.
10478
d086fc7b
LD
104792013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10480
10481 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10482 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
10483
747ef469
SP
104842013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
10485 H.J. Lu <hjl.tools@gmail.com>
10486
10487 [BZ #15627]
10488 * sysdeps/x86_64/rtld-memset.c: Remove file.
10489 * sysdeps/x86_64/rtld-memset.S: New file.
10490
1b2feed2
JM
104912013-06-14 Joseph Myers <joseph@codesourcery.com>
10492
10493 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
10494 (test_in_one_mode): Take arguments for whether the rounding mode
10495 is supported for each floating-point type.
10496 (do_test): Pass new arguments to test_in_one_mode using
10497 ROUNDING_TESTS.
10498
a58ad3f8
RM
104992013-06-13 Roland McGrath <roland@hack.frob.com>
10500
10501 * posix/tst-waitid.c (do_test): Distinguish different instances of
10502 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
10503 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
10504 before entering the kernel for waitpid.
10505
c204ab28
SP
105062013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
10507
10508 * NEWS: Fix note on clock function precision. Text by Roland
10509 McGrath.
10510
f4a29fba
RM
105112013-06-13 Roland McGrath <roland@hack.frob.com>
10512
10513 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
10514 it into place only when and if the sanity check passes.
10515
1f24b9ad
JM
105162013-06-13 Joseph Myers <joseph@codesourcery.com>
10517
10518 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
10519 output for whether conversion result is exact. Take argument
10520 indicating whether type is IBM long double.
10521 (round_for_all): Change need_exact field to ibm_ld.
10522 * stdlib/tst-strtod-round.c (struct exactness): New type.
10523 (struct test): Change bool ld_ok field to struct exactness exact.
10524 (TEST): Update all definitions for change to field.
10525 (tests): Regenerate array contents.
10526 (test_in_one_mode): Take pointer to new field instead of old ld_ok
10527 field value. Check for IBM long double here.
10528 (do_test): Update calls to test_in_one_mode.
10529
58206c68
SP
105302013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
10531
10532 [BZ #12515]
10533 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
10534 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
10535
2d6f4c5b 105362013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
10537
10538 [BZ #15605]
10539 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
10540 generated by the compiler on loop optimizations.
10541 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
10542 general definitions.
10543
94f2c076
JM
105442013-06-12 Joseph Myers <joseph@codesourcery.com>
10545
10546 * math/bug-nextafter.c: Include <math-tests.h>.
10547 (main): Only test for exceptions if EXCEPTION_TESTS is true for
10548 the relevant type.
10549 * math/bug-nexttoward.c: Include <math-tests.h>.
10550 (main): Only test for exceptions if EXCEPTION_TESTS is true for
10551 the relevant type.
10552 * math/test-misc.c: Include <math-tests.h>.
10553 (main): Only test for exceptions if EXCEPTION_TESTS is true for
10554 the relevant type.
10555
e0e50a0a
AJ
105562013-06-12 Andreas Jaeger <aj@suse.de>
10557
10558 * po/ia.po: Update Interlingua translation from translation
10559 project.
10560
25061094
SP
105612013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
10562
10563 * include/fenv.h: Include stdbool.h.
10564 (struct rm_ctx): New structure.
10565 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
10566 Define macro.
10567 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
10568 (SET_RESTORE_ROUNDF): Likewise.
10569 (SET_RESTORE_ROUNDL): Likewise.
10570 (SET_RESTORE_ROUND_NOEX): Likewise.
10571 (SET_RESTORE_ROUND_NOEXF): Likewise.
10572 (SET_RESTORE_ROUND_NOEXL): Likewise.
10573 (SET_RESTORE_ROUND_53BIT): Likewise.
10574 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
10575 (libc_feresetround_noexf_ctx): Likewise.
10576 (libc_feresetround_noexl_ctx): Likewise.
10577 (libc_feholdsetround_53bit_ctx): Likewise.
10578 (libc_feresetround_53bit_ctx): Likewise.
10579 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
10580 (libc_feholdexcept_setround_sse_ctx): New function.
10581 (libc_fesetenv_sse_ctx): Likewise.
10582 (libc_feupdateenv_sse_ctx): Likewise.
10583 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
10584 (libc_feholdexcept_setround_387_ctx): Likewise.
10585 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
10586 (libc_feholdsetround_387_prec_ctx): Likewise.
10587 (libc_feholdsetround_387_ctx): Likewise.
10588 (libc_feholdsetround_387_53bit_ctx): Likewise.
10589 (libc_feholdsetround_sse_ctx): Likewise.
10590 (libc_feresetround_sse_ctx): Likewise.
10591 (libc_feresetround_387_ctx): Likewise.
10592 (libc_feupdateenv_387_ctx): Likewise.
10593 (libc_feholdexcept_setroundf_ctx): Define macro.
10594 (libc_fesetenvf_ctx): Likewise.
10595 (libc_feupdateenvf_ctx): Likewise.
10596 (libc_feholdsetroundf_ctx): Likewise.
10597 (libc_feresetroundf_ctx): Likewise.
10598 (libc_feholdexcept_setround_ctx): Likewise.
10599 (libc_fesetenv_ctx): Likewise.
10600 (libc_feupdateenv_ctx): Likewise.
10601 (libc_feholdsetround_ctx): Likewise.
10602 (libc_feresetround_ctx): Likewise.
10603 (libc_feholdexcept_setroundl_ctx): Likewise.
10604 (libc_feupdateenvl_ctx): Likewise.
10605 (libc_feholdsetroundl_ctx): Likewise.
10606 (libc_feresetroundl_ctx): Likewise.
10607 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
10608 (libc_feresetround_53bit_ctx): Likewise.
10609
59b30555
SP
106102013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10611
10612 * locale/iso-639.def: Convert to UTF-8.
10613
f1d73d30
JM
106142013-06-11 Joseph Myers <joseph@codesourcery.com>
10615
10616 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
10617 (EXCEPTION_TESTS_double): Likewise.
10618 (EXCEPTION_TESTS_long_double): Likewise.
10619 (EXCEPTION_TESTS): Likewise.
10620 * math/libm-test.inc (test_exceptions): Only test exceptions if
10621 EXCEPTION_TESTS (FLOAT).
10622
94aca5e7
SP
106232013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10624
10625 * benchtests/Makefile (string-bench): Add strcpy_chk and
10626 stpcpy_chk.
10627 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
10628 * benchtests/bench-stpcpy_chk.c: New file.
10629 * benchtests/bench-strcpy_chk-ifunc.c: New file.
10630 * benchtests/bench-strcpy_chk.c: New file.
10631 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
10632 code.
10633 (do_test): Likewise.
10634
fac0c5f2
RA
106352013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10636
10637 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
10638 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
10639 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
10640 with tabs where appropriate.
10641 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
10642 dl-procinfo.h.
10643 [PPC_PLATFORM_PPC440]: Likewise.
10644 [PPC_PLATFORM_PPC464]: Likewise.
10645 [PPC_PLATFORM_PPC476]: Likewise.
10646 (_dl_string_platform): Add support for detecting ppc405, ppc440,
10647 ppc464, and ppc476 platform strings merging from ports/
10648 dl-procinfo.h.
10649
f22bc486
AS
106502013-06-11 Andreas Schwab <schwab@suse.de>
10651
10652 [BZ #14991]
10653 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
10654 (from_ucs4_idx): Regenerate.
10655 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
10656 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
10657 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
10658 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
10659 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
10660 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
10661 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
10662 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
10663 from FROM_LOOP and TO_LOOP specific macros.
10664 (BODY): Handle combining characters.
10665 * iconvdata/BIG5HKSCS.irreversible: Update.
10666 * iconvdata/BIG5HKSCS.precomposed: New file.
10667 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
10668 characters.
10669 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
10670
c1f75dc3
SP
106712013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10672
4eacded2
SP
10673 * include/sys/time.h: Fix indentation and add copyright header.
10674
fec799f8
SP
10675 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
10676 (do_test): Likewise.
10677 * string/test-memchr.c (do_one_test): Likewise.
10678 (do_test): Likewise.
10679 * string/test-memcmp.c (do_one_test): Likewise.
10680 (do_test): Likewise.
10681 * string/test-memcpy.c (do_one_test): Likewise.
10682 (do_test): Likewise.
10683 * string/test-memmem.c (do_one_test): Likewise.
10684 (do_test): Likewise.
10685 (do_random_tests): Likewise.
10686 * string/test-memmove.c (do_one_test): Likewise.
10687 (do_test): Likewise.
10688 * string/test-memset.c (do_one_test): Likewise.
10689 (do_test): Likewise.
10690 * string/test-rawmemchr.c (do_one_test): Likewise.
10691 (do_test): Likewise.
10692 * string/test-strcasecmp.c (do_one_test): Likewise.
10693 (do_test): Likewise.
10694 * string/test-strcasestr.c (do_one_test): Likewise.
10695 (do_test): Likewise.
10696 * string/test-strcat.c (do_one_test): Likewise.
10697 (do_test): Likewise.
10698 * string/test-strchr.c (do_one_test): Likewise.
10699 (do_test): Likewise.
10700 * string/test-strcmp.c (do_one_test): Likewise.
10701 (do_test): Likewise.
10702 * string/test-strcpy.c (do_one_test): Likewise.
10703 (do_test): Likewise.
10704 * string/test-string.h: Likewise.
10705 (test_init): Likewise.
10706 * string/test-strlen.c (do_one_test): Likewise.
10707 (do_test): Likewise.
10708 * string/test-strncasecmp.c (do_one_test): Likewise.
10709 (do_test): Likewise.
10710 * string/test-strncat.c (do_one_test): Likewise.
10711 (do_test): Likewise.
10712 * string/test-strncmp.c (do_one_test): Likewise.
10713 (do_test_limit): Likewise.
10714 (do_test): Likewise.
10715 * string/test-strncpy.c (do_one_test): Likewise.
10716 (do_test): Likewise.
10717 * string/test-strnlen.c (do_one_test): Likewise.
10718 (do_test): Likewise.
10719 * string/test-strpbrk.c (do_one_test): Likewise.
10720 (do_test): Likewise.
10721 * string/test-strrchr.c (do_one_test): Likewise.
10722 (do_test): Likewise.
10723 * string/test-strspn.c (do_one_test): Likewise.
10724 (do_test): Likewise.
10725 * string/test-strstr.c (do_one_test): Likewise.
10726 (do_test): Likewise.
10727
97020474
SP
10728 * benchtests/Makefile (string-bench): Add string benchmarks.
10729 * benchtests/bench-bcopy-ifunc.c: New file.
10730 * benchtests/bench-bcopy.c: New file.
10731 * benchtests/bench-bzero-ifunc.c: New file.
10732 * benchtests/bench-bzero.c: New file.
10733 * benchtests/bench-memccpy-ifunc.c: New file.
10734 * benchtests/bench-memccpy.c: New file.
10735 * benchtests/bench-memchr-ifunc.c: New file.
10736 * benchtests/bench-memchr.c: New file.
10737 * benchtests/bench-memcmp-ifunc.c: New file.
10738 * benchtests/bench-memcmp.c: New file.
10739 * benchtests/bench-memmem-ifunc.c: New file.
10740 * benchtests/bench-memmem.c: New file.
10741 * benchtests/bench-memmove-ifunc.c: New file.
10742 * benchtests/bench-memmove.c: New file.
10743 * benchtests/bench-mempcpy-ifunc.c: New file.
10744 * benchtests/bench-mempcpy.c: New file.
10745 * benchtests/bench-memset-ifunc.c: New file.
10746 * benchtests/bench-memset.c: New file.
10747 * benchtests/bench-rawmemchr-ifunc.c: New file.
10748 * benchtests/bench-rawmemchr.c: New file.
10749 * benchtests/bench-stpcpy-ifunc.c: New file.
10750 * benchtests/bench-stpcpy.c: New file.
10751 * benchtests/bench-stpncpy-ifunc.c: New file.
10752 * benchtests/bench-stpncpy.c: New file.
10753 * benchtests/bench-strcasecmp-ifunc.c: New file.
10754 * benchtests/bench-strcasecmp.c: New file.
10755 * benchtests/bench-strcasestr-ifunc.c: New file.
10756 * benchtests/bench-strcasestr.c: New file.
10757 * benchtests/bench-strcat-ifunc.c: New file.
10758 * benchtests/bench-strcat.c: New file.
10759 * benchtests/bench-strchr-ifunc.c: New file.
10760 * benchtests/bench-strchr.c: New file.
10761 * benchtests/bench-strchrnul-ifunc.c: New file.
10762 * benchtests/bench-strchrnul.c: New file.
10763 * benchtests/bench-strcmp-ifunc.c: New file.
10764 * benchtests/bench-strcmp.c: New file.
10765 * benchtests/bench-strcpy-ifunc.c: New file.
10766 * benchtests/bench-strcpy.c: New file.
10767 * benchtests/bench-strcspn-ifunc.c: New file.
10768 * benchtests/bench-strcspn.c: New file.
10769 * benchtests/bench-strlen-ifunc.c: New file.
10770 * benchtests/bench-strlen.c: New file.
10771 * benchtests/bench-strncasecmp-ifunc.c: New file.
10772 * benchtests/bench-strncasecmp.c: New file.
10773 * benchtests/bench-strncat-ifunc.c: New file.
10774 * benchtests/bench-strncat.c: New file.
10775 * benchtests/bench-strncmp-ifunc.c: New file.
10776 * benchtests/bench-strncmp.c: New file.
10777 * benchtests/bench-strncpy-ifunc.c: New file.
10778 * benchtests/bench-strncpy.c: New file.
10779 * benchtests/bench-strnlen-ifunc.c: New file.
10780 * benchtests/bench-strnlen.c: New file.
10781 * benchtests/bench-strpbrk-ifunc.c: New file.
10782 * benchtests/bench-strpbrk.c: New file.
10783 * benchtests/bench-strrchr-ifunc.c: New file.
10784 * benchtests/bench-strrchr.c: New file.
10785 * benchtests/bench-strspn-ifunc.c: New file.
10786 * benchtests/bench-strspn.c: New file.
10787 * benchtests/bench-strstr-ifunc.c: New file.
10788 * benchtests/bench-strstr.c: New file.
10789
c1f75dc3
SP
10790 * benchtests/Makefile: Disable parallel execution of targets.
10791 (string-bench): Add memcpy.
10792 (benchset): New variable to store a list of benchmark sets.
10793 (bench-func): Renamed from bench.
10794 (bench-set): New target.
10795 (bench): Depend on bench-func and bench-set.
10796 * benchtests/README: Add section on benchmark sets.
10797 * benchtests/bench-memcpy-ifunc.c: New file.
10798 * benchtests/bench-memcpy.c: New file.
10799 * benchtests/bench-string.h: New file.
10800
50fd745b
AS
108012013-06-11 Andreas Schwab <schwab@suse.de>
10802
10803 [BZ #15577]
10804 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
10805 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
10806 values in the triple.
10807 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
10808 terminator in the group key.
10809
3ee7e9fe
AJ
108102013-06-11 Andreas Jaeger <aj@suse.de>
10811
10812 * po/zh_TW.po: Update Chinese (traditional) translation from
10813 translation project.
10814
89fb6835
SP
108152013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10816
10817 * include/time.h (__clock_gettime): Add libc_hidden_proto.
10818 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
10819 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
10820 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
10821 (clock_getcpuclockid): Likewise.
10822 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
10823 Add weak_alias and libc_hidden_def.
10824 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
10825 * rt/clock_gettime.c (clock_gettime): Rename to
10826 __clock_gettime. Add weak_alias and libc_hidden_def.
10827 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
10828 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
10829 __clock_nanosleep. Add weak_alias and libc_hidden_def.
10830 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
10831 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
10832 Likewise.
10833 * rt/clock_settime.c (clock_settime): Rename to
10834 __clock_settime. Add weak_alias and libc_hidden_def.
10835 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
10836
0efa6f8b
JM
108372013-06-10 Joseph Myers <joseph@codesourcery.com>
10838
b8c61b4b
JM
10839 * mach/err_boot.sub: Remove trailing whitespace.
10840 * mach/err_ipc.sub: Likewise.
10841 * mach/err_mach.sub: Likewise.
10842
0efa6f8b
JM
10843 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
10844 (ROUNDING_TESTS_double): Likewise.
10845 (ROUNDING_TESTS_long_double): Likewise.
10846 (ROUNDING_TESTS): Likewise.
10847 * math/libm-test.inc: Include <math-tests.h>.
10848 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
10849 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
10850 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
10851 (IF_ROUND_INIT_FE_UPWARD): Likewise.
10852
50b818bf
SP
108532013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10854
10855 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
10856 of assigning.
10857
60d2f8f3
JM
108582013-06-08 Joseph Myers <joseph@codesourcery.com>
10859
4902d2c3
JM
10860 * sysdeps/gnu/errlist.awk: Do not generate space at end of
10861 otherwise empty TRANS lines.
10862 * sysdeps/gnu/errlist.c: Regenerated.
10863
60d2f8f3
JM
10864 * catgets/gencat.c (error_print): Use (void) in function
10865 definition.
10866 * crypt/crypt_util.c (__init_des): Likewise.
10867 * crypt/speeds.c (Stop): Likewise.
10868 (main): Likewise.
10869 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
10870 * inet/ruserpass.c (token): Likewise.
10871 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
10872 * intl/localealias.c (extend_alias_table): Likewise.
10873 * intl/plural-exp.c (init_germanic_plural): Likewise.
10874 * libio/fcloseall.c (__fcloseall): Likewise.
10875 * libio/genops.c (_IO_flush_all): Likewise.
10876 (_IO_flush_all_linebuffered): Likewise.
10877 (_IO_cleanup): Likewise.
10878 (_IO_iter_begin): Likewise.
10879 (_IO_iter_end): Likewise.
10880 (_IO_list_lock): Likewise.
10881 (_IO_list_unlock): Likewise.
10882 (_IO_list_resetlock): Likewise.
10883 * libio/getchar.c (getchar): Likewise.
10884 * libio/getchar_u.c (getchar_unlocked): Likewise.
10885 * libio/getwchar.c (getwchar): Likewise.
10886 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
10887 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
10888 * login/getpt.c (__getpt): Likewise.
10889 * login/tst-utmp.c (main): Likewise.
10890 * malloc/hooks.c (__malloc_check_init): Likewise.
10891 * malloc/malloc.c (__malloc_stats): Likewise.
10892 * malloc/mtrace.c (tr_break): Likewise.
10893 (mtrace): Likewise.
10894 (muntrace): Likewise.
10895 * misc/fstab.c (endfsent): Likewise.
10896 * misc/getclktck.c (__getclktck): Likewise.
10897 * misc/getdtsz.c (__getdtablesize): Likewise.
10898 * misc/gethostid.c (gethostid): Likewise.
10899 * misc/getpagesize.c (__getpagesize): Likewise.
10900 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
10901 (__get_nprocs): Likewise.
10902 (__get_phys_pages): Likewise.
10903 (__get_avphys_pages): Likewise.
10904 * misc/getttyent.c (getttyent): Likewise.
10905 (setttyent): Likewise.
10906 (endttyent): Likewise.
10907 * misc/getusershell.c (getusershell): Likewise.
10908 (endusershell): Likewise.
10909 (setusershell): Likewise.
10910 (initshells): Likewise.
10911 * misc/hsearch.c (__hdestroy): Likewise.
10912 * misc/sync.c (sync): Likewise.
10913 * misc/syslog.c (closelog_internal): Likewise.
10914 (closelog): Likewise.
10915 * misc/ttyslot.c (ttyslot): Likewise.
10916 * misc/vhangup.c (vhangup): Likewise.
10917 * posix/fork.c (__fork): Likewise.
10918 * posix/getegid.c (__getegid): Likewise.
10919 * posix/geteuid.c (__geteuid): Likewise.
10920 * posix/getgid.c (__getgid): Likewise.
10921 * posix/getpid.c (__getpid): Likewise.
10922 * posix/getppid.c (__getppid): Likewise.
10923 * posix/getuid.c (__getuid): Likewise.
10924 * posix/pause.c (pause): Likewise.
10925 * posix/setpgrp.c (setpgrp): Likewise.
10926 * posix/setsid.c (__setsid): Likewise.
10927 * posix/test-vfork.c (noop): Likewise.
10928 * resolv/gethnamaddr.c (_endhtent): Likewise.
10929 (_gethtent): Likewise.
10930 (ht_endhostent): Likewise.
10931 (gethostent): Likewise.
10932 (dns_service): Likewise.
10933 * stdlib/drand48.c (drand48): Likewise.
10934 * stdlib/lrand48.c (lrand48): Likewise.
10935 * stdlib/mrand48.c (mrand48): Likewise.
10936 * stdlib/rand.c (rand): Likewise.
10937 * stdlib/random.c (__random): Likewise.
10938 * stdlib/setenv.c (clearenv): Likewise.
10939 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
10940 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
10941 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
10942 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
10943 (__get_nprocs): Likewise.
10944 (__get_phys_pages): Likewise.
10945 (__get_avphys_pages): Likewise.
10946 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
10947 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
10948 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
10949 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
10950 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
10951 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
10952 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
10953 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
10954 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
10955 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
10956 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
10957 * sysdeps/mach/hurd/sync.c (sync): Likewise.
10958 * sysdeps/posix/clock.c (clock): Likewise.
10959 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
10960 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
10961 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
10962 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
10963 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
10964 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
10965 (__get_nprocs_conf): Likewise.
10966 (__get_phys_pages): Likewise.
10967 (__get_avphys_pages): Likewise.
10968 * time/clock.c (clock): Likewise.
10969 * time/tzset.c (__tzname_max): Likewise.
10970
2e09a79a
JM
109712013-06-07 Joseph Myers <joseph@codesourcery.com>
10972
10973 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
10974 (__bswap_32): Do not use "register".
10975 * crypt/crypt.c (_ufc_doit_r): Likewise.
10976 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
10977 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
10978 * gmon/gmon.c (__monstartup): Likewise.
10979 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
10980 * hurd/hurdmalloc.c (more_memory): Likewise.
10981 (malloc): Likewise.
10982 (free): Likewise.
10983 (realloc): Likewise.
10984 (malloc_fork_prepare): Likewise.
10985 (malloc_fork_parent): Likewise.
10986 (malloc_fork_child): Likewise.
10987 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
10988 (_svcauth_des): Likewise.
10989 * inet/inet_lnaof.c (inet_lnaof): Likewise.
10990 * inet/inet_net.c (inet_network): Likewise.
10991 * inet/inet_netof.c (inet_netof): Likewise.
10992 * inet/rcmd.c (__validuser2_sa): Likewise.
10993 * io/fts.c (fts_open): Likewise.
10994 (fts_load): Likewise.
10995 (fts_close): Likewise.
10996 (fts_read): Likewise.
10997 (fts_children): Likewise.
10998 (fts_build): Likewise.
10999 (fts_stat): Likewise.
11000 (fts_sort): Likewise.
11001 (fts_alloc): Likewise.
11002 (fts_lfree): Likewise.
11003 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
11004 (_IO_file_xsgetn): Likewise.
11005 (_IO_file_xsgetn_mmap): Likewise.
11006 * libio/iofopncook.c (_IO_cookie_read): Likewise.
11007 (_IO_cookie_write): Likewise.
11008 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
11009 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
11010 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
11011 * malloc/obstack.c (_obstack_begin): Likewise.
11012 (_obstack_begin_1): Likewise.
11013 (_obstack_newchunk): Likewise.
11014 (_obstack_allocated_p): Likewise.
11015 (obstack_free): Likewise.
11016 (_obstack_memory_used): Likewise.
11017 * misc/getttyent.c (getttynam): Likewise.
11018 (getttyent): Likewise.
11019 (skip): Likewise.
11020 (value): Likewise.
11021 * misc/getusershell.c (initshells): Likewise.
11022 * misc/syslog.c (__vsyslog_chk): Likewise.
11023 * misc/ttyslot.c (ttyslot): Likewise.
11024 * nis/nis_hash.c (__nis_hash): Likewise.
11025 * posix/fnmatch_loop.c (FCT): Likewise.
11026 * posix/getconf.c (print_all): Likewise.
11027 (main): Likewise.
11028 * posix/getopt.c (exchange): Likewise.
11029 * posix/glob.c (globfree): Likewise.
11030 (prefix_array): Likewise.
11031 (__glob_pattern_type): Likewise.
11032 * resolv/arpa/nameser.h (NS_GET16): Likewise.
11033 (NS_GET32): Likewise.
11034 (NS_PUT16): Likewise.
11035 (NS_PUT32): Likewise.
11036 * resolv/gethnamaddr.c (getanswer): Likewise.
11037 (gethostbyname2): Likewise.
11038 (gethostbyaddr): Likewise.
11039 (_gethtent): Likewise.
11040 (_gethtbyname2): Likewise.
11041 (_gethtbyaddr): Likewise.
11042 * resolv/ns_print.c (dst_s_get_int16): Likewise.
11043 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
11044 * resolv/res_init.c (__res_vinit): Likewise.
11045 (net_mask): Likewise.
11046 * resolv/res_mkquery.c (outchar): Likewise.
11047 (PRINT): Likewise.
11048 * stdio-common/printf_fp.c (outchar): Likewise.
11049 (PRINT): Likewise.
11050 * stdio-common/printf_fphex.c (outchar): Likewise.
11051 (PRINT): Likewise.
11052 * stdio-common/printf_size.c (outchar): Likewise.
11053 (PRINT): Likewise.
11054 * stdio-common/test_rdwr.c (main): Likewise.
11055 * stdio-common/tfformat.c (matches): Likewise.
11056 * stdio-common/vfprintf.c (outchar): Likewise.
11057 (printf_unknown): Likewise.
11058 (buffered_vfprintf): Likewise.
11059 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
11060 * stdio-common/xbug.c (AppendToBuffer): Likewise.
11061 (ReadFile): Likewise.
11062 * stdlib/qsort.c (SWAP): Likewise.
11063 (_quicksort): Likewise.
11064 * stdlib/setenv.c (__add_to_environ): Likewise.
11065 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
11066 * stdlib/strtol_l.c (__strtol_l): Likewise.
11067 * stdlib/tst-strtod.c (main): Likewise.
11068 * stdlib/tst-strtol.c (main): Likewise.
11069 * stdlib/tst-strtoll.c (main): Likewise.
11070 * string/bits/string2.h (__strcmp_cc): Likewise.
11071 (__strcmp_cg): Likewise.
11072 (__strcspn_c1): Likewise.
11073 (__strcspn_c2): Likewise.
11074 (__strcspn_c3): Likewise.
11075 (__strspn_c1): Likewise.
11076 (__strspn_c2): Likewise.
11077 (__strspn_c3): Likewise.
11078 (__strsep_1c): Likewise.
11079 (__strsep_2c): Likewise.
11080 (__strsep_3c): Likewise.
11081 * string/memccpy.c (__memccpy): Likewise.
11082 * string/stpcpy.c (__stpcpy): Likewise.
11083 * string/strcmp.c (strcmp): Likewise.
11084 * string/strrchr.c (strrchr): Likewise.
11085 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
11086 Likewise.
11087 * sysdeps/mach/hurd/getcwd.c
11088 (_hurd_canonicalize_directory_name_internal): Likewise.
11089 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
11090 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
11091 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
11092 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
11093 Likewise, in both definitions.
11094 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
11095 definitions.
11096 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
11097 64] (__bswap_64): Likewise.
11098 * time/test_time.c (main): Likewise.
11099 * time/tzfile.c (__tzfile_read): Likewise.
11100 (__tzfile_compute): Likewise.
11101 * time/tzset.c (__tzset_parse_tz): Likewise.
11102 (tzset_internal): Likewise.
11103 (compute_change): Likewise.
11104 * wcsmbs/wcscat.c (__wcscat): Likewise.
11105 * wcsmbs/wcschr.c (wcschr): Likewise.
11106 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
11107 * wcsmbs/wcscspn.c (wcscspn): Likewise.
11108 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
11109 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
11110 * wcsmbs/wcsspn.c (wcsspn): Likewise.
11111 * wcsmbs/wcsstr.c (wcsstr): Likewise.
11112 * wcsmbs/wmemchr.c (wmemchr): Likewise.
11113 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
11114 * wcsmbs/wmemset.c (wmemset): Likewise.
11115
9e54314b
JM
111162013-06-06 Joseph Myers <joseph@codesourcery.com>
11117
11118 * scripts/config.guess: Update to version 2013-05-16.
11119 * scripts/config.sub: Update to version 2013-04-24.
11120 * scripts/install-sh: Update to version 2011-11-20.07.
11121 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
11122 * scripts/move-if-change: Update to version 2012-01-06 07:23.
11123
350635a5
OB
111242013-06-06 Ondřej Bílka <neleai@seznam.cz>
11125
11126 * debug/fgetws_u_chk.c: Fix leading whitespaces.
11127 * elf/sln.c: Likewise.
11128 * hurd/hurd/ioctl.h: Likewise.
11129 * hurd/hurdmalloc.c: Likewise.
11130 * hurd/xattr.c: Likewise.
11131 * include/shlib-compat.h: Likewise.
11132 * inet/ruserpass.c: Likewise.
11133 * libio/iofgets_u.c: Likewise.
11134 * libio/iofgetws_u.c: Likewise.
11135 * locale/programs/ld-identification.c: Likewise.
11136 * locale/programs/ld-time.c: Likewise.
11137 * mach/msg-destroy.c: Likewise.
11138 * nss/nss_files/files-netgrp.c: Likewise.
11139 * resolv/res_data.c: Likewise.
11140 * soft-fp/op-1.h: Likewise.
11141 * soft-fp/op-2.h: Likewise.
11142 * soft-fp/op-4.h: Likewise.
11143 * soft-fp/op-common.h: Likewise.
11144 * stdio-common/printf_fphex.c: Likewise.
11145 * stdlib/strtod_l.c: Likewise.
11146 * sunrpc/rpc/clnt.h: Likewise.
11147 * sysdeps/generic/framestate.c: Likewise.
11148 * sysdeps/i386/bsd-_setjmp.S: Likewise.
11149 * sysdeps/i386/bsd-setjmp.S: Likewise.
11150 * sysdeps/i386/__longjmp.S: Likewise.
11151 * sysdeps/i386/setjmp.S: Likewise.
11152 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11153 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
11154 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11155 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11156 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11157 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
11158 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
11159 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
11160 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
11161 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
11162 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
11163 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
11164 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
11165 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
11166 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
11167 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
11168 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
11169 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
11170 * sysdeps/ieee754/support.c: Likewise.
11171 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
11172 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
11173 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
11174 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
11175 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
11176 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
11177 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
11178 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
11179 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
11180 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
11181 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
11182 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
11183 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
11184 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
11185 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
11186 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
11187 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
11188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
11189
44a988af
OB
111902013-06-05 Ondřej Bílka <neleai@seznam.cz>
11191
25506f09 11192 * posix/transbug.c: Remove executable mode.
44a988af 11193
9c84384c
JM
111942013-06-05 Joseph Myers <joseph@codesourcery.com>
11195
11196 * crypt/speeds.c: Remove trailing whitespace.
11197 * dlfcn/default.c: Likewise.
11198 * elf/ifuncdep2.c: Likewise.
11199 * elf/ifuncmain1.c: Likewise.
11200 * elf/ifuncmain1vis.c: Likewise.
11201 * elf/testobj.h: Likewise.
11202 * elf/tst-stackguard1.c: Likewise.
11203 * gmon/sys/gmon.h: Likewise.
11204 * hurd/hurdmsg.c: Likewise.
11205 * hurd/new-fd.c: Likewise.
11206 * hurd/ports-get.c: Likewise.
11207 * iconvdata/ibm1008_420.c: Likewise.
11208 * inet/tst-getni1.c: Likewise.
11209 * inet/tst-getni2.c: Likewise.
11210 * libio/ioungetc.c: Likewise.
11211 * libio/wfiledoalloc.c: Likewise.
11212 * manual/libm-err-tab.pl: Likewise.
11213 * math/w_dremf.c: Likewise.
11214 * misc/ftruncate.c: Likewise.
11215 * posix/bug-glob2.c: Likewise.
11216 * posix/tst-pcre.c: Likewise.
11217 * posix/wait4.c: Likewise.
11218 * resolv/README: Likewise.
11219 * resolv/res_debug.h: Likewise.
11220 * resolv/tst-inet_ntop.c: Likewise.
11221 * setjmp/bug269-setjmp.c: Likewise.
11222 * soft-fp/extended.h: Likewise.
11223 * soft-fp/op-1.h: Likewise.
11224 * soft-fp/op-2.h: Likewise.
11225 * soft-fp/op-4.h: Likewise.
11226 * soft-fp/op-8.h: Likewise.
11227 * soft-fp/testit.c: Likewise.
11228 * stdio-common/bug16.c: Likewise.
11229 * stdlib/random.c: Likewise.
11230 * sunrpc/rpcsvc/rquota.x: Likewise.
11231 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
11232 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
11233 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11234 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
11235 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
11236 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
11237 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
11238 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
11239 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
11240 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
11241 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
11242 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
11243 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
11244 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
11245 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
11246 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
11247 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
11248 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
11249 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
11250 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11251 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
11252 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
11253 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
11254 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
11255 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
11256 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
11257 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
11258 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
11259 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
11260 * sysdeps/ieee754/s_lib_version.c: Likewise.
11261 * sysdeps/mach/hurd/check_fds.c: Likewise.
11262 * sysdeps/mach/hurd/getsockname.c: Likewise.
11263 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
11264 * sysdeps/mach/hurd/recvfrom.c: Likewise.
11265 * sysdeps/powerpc/bits/link.h: Likewise.
11266 * sysdeps/powerpc/dl-procinfo.c: Likewise.
11267 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
11268 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
11269 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
11270 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
11271 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
11272 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
11273 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
11274 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
11275 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
11276 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
11277 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
11278 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
11279 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
11280 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
11281 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
11282 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
11283 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
11284 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
11285 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
11286 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
11287 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
11288 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11289 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
11290 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
11291 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
11292 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
11293 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
11294 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
11295 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
11296 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
11297 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
11298 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
11299 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
11300 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
11301 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
11302 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
11303 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
11304 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
11305 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
11306 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
11307 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
11308 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
11309 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
11310 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
11311 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
11312 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
11313 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
11314 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
11315 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
11316 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11317 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
11318 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
11319 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
11320 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
11321 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
11322 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
11323 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
11324 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
11325 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
11326 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
11327 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
11328 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
11329 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
11330 * sysdeps/powerpc/sysdep.h: Likewise.
11331 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
11332 * sysdeps/s390/s390-64/sub_n.S: Likewise.
11333 * sysdeps/sh/dl-trampoline.S: Likewise.
11334 * sysdeps/sh/memset.S: Likewise.
11335 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
11336 * sysdeps/sh/strlen.S: Likewise.
11337 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
11338 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
11339 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
11340 * sysdeps/sparc/sparc32/rem.S: Likewise.
11341 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
11342 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
11343 * sysdeps/sparc/sparc32/strchr.S: Likewise.
11344 * sysdeps/sparc/sparc32/udiv.S: Likewise.
11345 * sysdeps/sparc/sparc32/urem.S: Likewise.
11346 * sysdeps/sparc/sparc64/add_n.S: Likewise.
11347 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
11348 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
11349 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
11350 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
11351 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
11352 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
11353 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
11354 * sysdeps/unix/bsd/times.c: Likewise.
11355 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
11356 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
11357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
11358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
11359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
11360 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
11361 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
11362 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
11363 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
11364 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
11365 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
11366 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
11367 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
11368 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
11369 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
11370 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
11371 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
11372 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
11373 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
11374 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
11375 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
11376 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
11377 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
11378 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
11379 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
11380 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
11381 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
11382 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
11383 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
11384 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
11385 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
11386 * sysdeps/x86_64/strcspn.S: Likewise.
11387
869378a5
RA
113882013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11389
11390 * locale/C-translit.h: Revert #include <stdint.h> because this is a
11391 generated file. Regenerate properly from gen-translit.pl.
11392 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
11393 locale/C-translit.h.
11394
840e2943
AS
113952013-06-05 Andreas Schwab <schwab@suse.de>
11396
11397 [BZ #15100]
11398 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
11399 week as 6 instead of -1.
11400 * time/tst-strptime.c (day_tests): Add test case.
11401
4c60cb0c
SP
114022013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
11403
11404 * sysdeps/generic/math_private.h
11405 (libc_feholdexcept_setround_53bit): Replace with
11406 libc_feholdsetround_53bit.
11407 (libc_feupdateenv_53bit): Replace with
11408 libc_feresetround_53bit.
11409 (SET_RESTORE_ROUND_53BIT): Adjust.
11410
d180203e
SP
114112013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
11412
96df079a
SP
11413 * string/test-strchrnul.c: Add copyright header.
11414
d180203e
SP
11415 * posix/tst-getaddrinfo4.c: Increase test timeout.
11416
8b0ccb2d
CD
114172013-06-03 Carlos O'Donell <carlos@redhat.com>
11418
11419 [BZ #15536]
11420 * math/libm-test.inc (MAX_EXP): Remove
11421 (MIN_EXP): Define.
11422 (ulp): Use MIN_EXP - MANT_DIG.
11423 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
11424
3b3c4d40
CD
114252013-05-31 Carlos O'Donell <carlos@redhat.com>
11426
11427 * po/be.po: Revert last change.
11428 * po/zh_CN.po: Likewise.
11429 * po/header.pot: Likewise.
11430
fab7ce3f
JM
114312013-05-31 Joseph Myers <joseph@codesourcery.com>
11432
11433 * Makefile ($(common-objpfx)linkobj/libc.so): Define
11434 link-libc-deps to empty as target-specific variable.
11435 * Makerules (link-libc-args): New variable.
11436 (libc-for-link): Likewise.
11437 (link-libc-deps): Likewise.
11438 (lib%.so): Depend on $(link-libc-deps). Link with
11439 $(link-libc-args).
11440 (build-module): Link with $(link-libc-args).
11441 (build-module-asneeded): Likewise.
11442 (build-module-helper-objlist): Filter out $(link-libc-deps) from
11443 list of objects.
11444 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
11445 target-specific variable.
11446 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
11447 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
11448 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
11449 libc.
11450 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
11451 libc and ld.so.
11452 ($(objpfx)libpcprofile.so): Likewise.
11453 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
11454 libc_nonshared.a.
11455 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
11456 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
11457 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
11458 $(link-libc-deps).
11459 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
11460 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
11461 * login/Makefile ($(objpfx)libutil.so): Likewise.
11462 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
11463 * math/Makefile ($(objpfx)libm.so): Likewise.
11464 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
11465 $(objpfx)libnsl.so): Define libc-for-link as target-specific
11466 variable instead of depending directly on libc.
11467 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
11468 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
11469 $(link-libc-deps).
11470 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
11471 libc.
11472 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
11473 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
11474 ($(objpfx)libanl.so): Likewise.
11475 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
11476 ld.so.
11477 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
11478 $(link-libc-deps).
11479 * sysdeps/i386/fpu/Makefile: Remove file.
11480 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
11481 ($(objpfx)libm.so): Remove dependency on ld.so.
11482
eca5920c
PF
114832013-05-30 Patsy Franklin <pfrankli@redhat.com>
11484
11485 [BZ # 15553]
11486 * nis/yp_xdr.c (XDRMAXNAME): Define.
11487 (XDRMAXRECORD): Define.
11488 (xdr_domainname): Use XDRMAXNAME.
11489 (xdr_mapname): Likewise.
11490 (xdr_peername): Likewise.
11491 (xdr_keydat): Use XDRMAXRECORD.
11492 (xdr_valdat): Likewise.
11493
114942013-05-30 Jeff Law <law@redhat.com>
96945714
JL
11495
11496 [BZ #14256]
11497 * manual/errno.texi (ESTALE): Update to account for more than
11498 just NFS file systems.
11499 * sysdeps/gnu/errlist.c: Regenerated.
11500
b9375348
SP
115012013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
11502
11503 [BZ #15465]
11504 * elf/Makefile (tests): Add tst-null-argv.
11505 (modules-names): Add tst-null-argv-lib.
11506 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
11507 (tst-null-argv-ENV): Set environment for tst-null-argv.
11508 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
11509 (RTLD_PROGNAME): New macro.
11510 * elf/tst-null-argv.c: New test case.
11511 * elf/tst-null-argv-lib.c: Library for test case.
11512 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
11513 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
11514 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
11515 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
11516 * elf/dl-init.c (call_init): Likewise.
11517 (_dl_init): Likewise.
11518 * elf/dl-load.c (print_search_path): Likewise.
11519 (_dl_map_object): Likewise.
11520 * elf/dl-lookup.c (do_lookup_x): Likewise.
11521 (add_dependency): Likewise.
11522 (_dl_lookup_symbol_x): Likewise.
11523 (_dl_debug_bindings): Likewise.
11524 * elf/dl-open.c (_dl_show_scope): Likewise.
11525 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
11526 * elf/dl-version.c (match_symbol): Likewise.
11527 (_dl_check_map_versions): Likewise.
11528 * elf/rtld.c (dl_main): Likewise.
11529 (print_unresolved): Use RTLD_PROGNAME.
11530 (print_missing_version): Likewise.
11531 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
11532 (elf_machine_rela): Likewise.
11533 * sysdeps/powerpc/powerpc32/dl-machine.c
11534 (__process_machine_rela): Likewise.
11535 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11536 Likewise.
11537 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
11538 Likewise.
11539 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
11540 Likewise.
11541 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
11542 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
11543 Likewise.
11544 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
11545 Likewise.
11546 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
11547
8a9f20c8
CD
115482013-05-28 Carlos O'Donell <carlos@redhat.com>
11549
11550 * po/be.po: Add descriptive title.
11551 * po/zh_CN.po: Likewise.
11552 * po/header.pot: Likewise.
11553
0e60d68e
MF
115542013-05-28 Mike Frysinger <vapier@gentoo.org>
11555
11556 * locale/programs/locarchive.c (create_archive): Inlucde fname in
11557 error message.
11558 (enlarge_archive): Likewise.
11559
56b672e9
BN
115602013-05-28 Ben North <ben@redfrontdoor.org>
11561
11562 * manual/arith.texi (frexp): It is the magnitude of the return
11563 value which lies in [0.5, 1), not the return value itself.
11564
5e056687
AZ
115652013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11566
11567 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11568
2b66ef5d
TS
115692013-05-26 Thomas Schwinge <thomas@codesourcery.com>
11570
528c2405
TS
11571 * stdio-common/bug26.c (main): Correct fscanf template.
11572
07b4c13d
TS
11573 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
11574 declare _dl_skip_args.
11575
ec9dd97c
TS
11576 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
11577 Don't declare.
11578
2b66ef5d
TS
11579 * manual/platform.texi: Add missing @end deftypefun.
11580
4f8dfe27
JM
115812013-05-24 Joseph Myers <joseph@codesourcery.com>
11582
0323d086
JM
11583 [BZ #15529]
11584 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
11585 bit of mantissa of 2^16382.
11586 * math/libm-test.inc (hypot_test_data): Add more tests.
11587
dd4259b9
JM
11588 * math/libm-test.inc: Add drem and pow10 to list of tested
11589 functions.
11590 (pow10_test): New function.
11591 (drem_test): Likewise.
11592 (drem_test_tonearest): Likewise.
11593 (drem_test_towardzero): Likewise.
11594 (drem_test_downward): Likewise.
11595 (drem_test_upward): Likewise.
11596 (main): Call the new functions.
11597
4f8dfe27
JM
11598 * math/libm-test.inc (finite_test_data): Remove.
11599 (finite_test): Run tests from isfinite_test_data.
11600 (gamma_test_data): Remove.
11601 (gamma_test): Run tests from lgamma_test_data.
11602 * sysdeps/i386/fpu/libm-test-ulps: Update.
11603 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11604
d116b7c4
AZ
116052013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11606
11607 * manual/platform.texi: Add PowerPC PPR function set documentation.
11608 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
11609 implementation.
11610
e96e3767
CD
116112013-05-24 Carlos O'Donell <carlos@redhat.com>
11612
11613 * math/libm-test.inc (MAX_EXP): Define.
11614 (ULPDIFF): Define.
11615 (ulp): New function.
11616 (check_float_internal): Use ULPDIFF.
11617 (cpow_test): Disable failing test.
11618 (check_ulp): Test ulp() implemetnation.
11619 (main): Call check_ulp before starting tests.
11620
b679a606
JM
116212013-05-24 Joseph Myers <joseph@codesourcery.com>
11622
e8bdba36
JM
11623 * math/gen-libm-test.pl (generate_testfile): Do not handle
11624 START_DATA and END_DATA.
11625 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
11626 END_DATA.
11627 (acos_tonearest_test_data): Likewise.
11628 (acos_towardzero_test_data): Likewise.
11629 (acos_downward_test_data): Likewise.
11630 (acos_upward_test_data): Likewise.
11631 (acosh_test_data): Likewise.
11632 (asin_test_data): Likewise.
11633 (asin_tonearest_test_data): Likewise.
11634 (asin_towardzero_test_data): Likewise.
11635 (asin_downward_test_data): Likewise.
11636 (asin_upward_test_data): Likewise.
11637 (asinh_test_data): Likewise.
11638 (atan_test_data): Likewise.
11639 (atanh_test_data): Likewise.
11640 (atan2_test_data): Likewise.
11641 (cabs_test_data): Likewise.
11642 (cacos_test_data): Likewise.
11643 (cacosh_test_data): Likewise.
11644 (carg_test_data): Likewise.
11645 (casin_test_data): Likewise.
11646 (casinh_test_data): Likewise.
11647 (catan_test_data): Likewise.
11648 (catanh_test_data): Likewise.
11649 (cbrt_test_data): Likewise.
11650 (ccos_test_data): Likewise.
11651 (ccosh_test_data): Likewise.
11652 (ceil_test_data): Likewise.
11653 (cexp_test_data): Likewise.
11654 (cimag_test_data): Likewise.
11655 (clog_test_data): Likewise.
11656 (clog10_test_data): Likewise.
11657 (conj_test_data): Likewise.
11658 (copysign_test_data): Likewise.
11659 (cos_test_data): Likewise.
11660 (cos_tonearest_test_data): Likewise.
11661 (cos_towardzero_test_data): Likewise.
11662 (cos_downward_test_data): Likewise.
11663 (cos_upward_test_data): Likewise.
11664 (cosh_test_data): Likewise.
11665 (cosh_tonearest_test_data): Likewise.
11666 (cosh_towardzero_test_data): Likewise.
11667 (cosh_downward_test_data): Likewise.
11668 (cosh_upward_test_data): Likewise.
11669 (cpow_test_data): Likewise.
11670 (cproj_test_data): Likewise.
11671 (creal_test_data): Likewise.
11672 (csin_test_data): Likewise.
11673 (csinh_test_data): Likewise.
11674 (csqrt_test_data): Likewise.
11675 (ctan_test_data): Likewise.
11676 (ctan_tonearest_test_data): Likewise.
11677 (ctan_towardzero_test_data): Likewise.
11678 (ctan_downward_test_data): Likewise.
11679 (ctan_upward_test_data): Likewise.
11680 (ctanh_test_data): Likewise.
11681 (ctanh_tonearest_test_data): Likewise.
11682 (ctanh_towardzero_test_data): Likewise.
11683 (ctanh_downward_test_data): Likewise.
11684 (ctanh_upward_test_data): Likewise.
11685 (erf_test_data): Likewise.
11686 (erfc_test_data): Likewise.
11687 (exp_test_data): Likewise.
11688 (exp_tonearest_test_data): Likewise.
11689 (exp_towardzero_test_data): Likewise.
11690 (exp_downward_test_data): Likewise.
11691 (exp_upward_test_data): Likewise.
11692 (exp10_test_data): Likewise.
11693 (exp2_test_data): Likewise.
11694 (expm1_test_data): Likewise.
11695 (fabs_test_data): Likewise.
11696 (fdim_test_data): Likewise.
11697 (finite_test_data): Likewise.
11698 (floor_test_data): Likewise.
11699 (fma_test_data): Likewise.
11700 (fma_towardzero_test_data): Likewise.
11701 (fma_downward_test_data): Likewise.
11702 (fma_upward_test_data): Likewise.
11703 (fmax_test_data): Likewise.
11704 (fmin_test_data): Likewise.
11705 (fmod_test_data): Likewise.
11706 (fpclassify_test_data): Likewise.
11707 (frexp_test_data): Likewise.
11708 (gamma_test_data): Likewise.
11709 (hypot_test_data): Likewise.
11710 (ilogb_test_data): Likewise.
11711 (isfinite_test_data): Likewise.
11712 (isgreater_test_data): Likewise.
11713 (isgreaterequal_test_data): Likewise.
11714 (isinf_test_data): Likewise.
11715 (isless_test_data): Likewise.
11716 (islessequal_test_data): Likewise.
11717 (islessgreater_test_data): Likewise.
11718 (isnan_test_data): Likewise.
11719 (isnormal_test_data): Likewise.
11720 (issignaling_test_data): Likewise.
11721 (isunordered_test_data): Likewise.
11722 (j0_test_data): Likewise.
11723 (j1_test_data): Likewise.
11724 (jn_test_data): Likewise.
11725 (ldexp_test_data): Likewise.
11726 (lgamma_test_data): Likewise.
11727 (lrint_test_data): Likewise.
11728 (lrint_tonearest_test_data): Likewise.
11729 (lrint_towardzero_test_data): Likewise.
11730 (lrint_downward_test_data): Likewise.
11731 (lrint_upward_test_data): Likewise.
11732 (llrint_test_data): Likewise.
11733 (llrint_tonearest_test_data): Likewise.
11734 (llrint_towardzero_test_data): Likewise.
11735 (llrint_downward_test_data): Likewise.
11736 (llrint_upward_test_data): Likewise.
11737 (log_test_data): Likewise.
11738 (log10_test_data): Likewise.
11739 (log1p_test_data): Likewise.
11740 (log2_test_data): Likewise.
11741 (logb_test_data): Likewise.
11742 (logb_downward_test_data): Likewise.
11743 (lround_test_data): Likewise.
11744 (llround_test_data): Likewise.
11745 (modf_test_data): Likewise.
11746 (nearbyint_test_data): Likewise.
11747 (nextafter_test_data): Likewise.
11748 (nexttoward_test_data): Likewise.
11749 (pow_test_data): Likewise.
11750 (pow_tonearest_test_data): Likewise.
11751 (pow_towardzero_test_data): Likewise.
11752 (pow_downward_test_data): Likewise.
11753 (pow_upward_test_data): Likewise.
11754 (remainder_test_data): Likewise.
11755 (remainder_tonearest_test_data): Likewise.
11756 (remainder_towardzero_test_data): Likewise.
11757 (remainder_downward_test_data): Likewise.
11758 (remainder_upward_test_data): Likewise.
11759 (remquo_test_data): Likewise.
11760 (rint_test_data): Likewise.
11761 (rint_tonearest_test_data): Likewise.
11762 (rint_towardzero_test_data): Likewise.
11763 (rint_downward_test_data): Likewise.
11764 (rint_upward_test_data): Likewise.
11765 (round_test_data): Likewise.
11766 (scalb_test_data): Likewise.
11767 (scalbn_test_data): Likewise.
11768 (scalbln_test_data): Likewise.
11769 (signbit_test_data): Likewise.
11770 (sin_test_data): Likewise.
11771 (sin_tonearest_test_data): Likewise.
11772 (sin_towardzero_test_data): Likewise.
11773 (sin_downward_test_data): Likewise.
11774 (sin_upward_test_data): Likewise.
11775 (sincos_test_data): Likewise.
11776 (sinh_test_data): Likewise.
11777 (sinh_tonearest_test_data): Likewise.
11778 (sinh_towardzero_test_data): Likewise.
11779 (sinh_downward_test_data): Likewise.
11780 (sinh_upward_test_data): Likewise.
11781 (sqrt_test_data): Likewise.
11782 (tan_test_data): Likewise.
11783 (tan_tonearest_test_data): Likewise.
11784 (tan_towardzero_test_data): Likewise.
11785 (tan_downward_test_data): Likewise.
11786 (tan_upward_test_data): Likewise.
11787 (tanh_test_data): Likewise.
11788 (tgamma_test_data): Likewise.
11789 (trunc_test_data): Likewise.
11790 (y0_test_data): Likewise.
11791 (y1_test_data): Likewise.
11792 (yn_test_data): Likewise.
11793 (significand_test_data): Likewise.
11794
b679a606
JM
11795 * math/gen-libm-test.pl (@functions): Remove variable.
11796 (generate_testfile): Don't handle START and END lines.
11797 * math/libm-test.inc (START): New macro.
11798 (END): Likewise.
11799 (END_COMPLEX): Likewise.
11800 (acos_test): Use END macro without arguments.
11801 (acos_test_tonearest): Likewise.
11802 (acos_test_towardzero): Likewise.
11803 (acos_test_downward): Likewise.
11804 (acos_test_upward): Likewise.
11805 (acosh_test): Likewise.
11806 (asin_test): Likewise.
11807 (asin_test_tonearest): Likewise.
11808 (asin_test_towardzero): Likewise.
11809 (asin_test_downward): Likewise.
11810 (asin_test_upward): Likewise.
11811 (asinh_test): Likewise.
11812 (atan_test): Likewise.
11813 (atanh_test): Likewise.
11814 (atan2_test): Likewise.
11815 (cabs_test): Likewise.
11816 (cacos_test): Use END_COMPLEX macro without arguments.
11817 (cacosh_test): Likewise.
11818 (carg_test): Use END macro without arguments.
11819 (casin_test): Use END_COMPLEX macro without arguments.
11820 (casinh_test): Likewise.
11821 (catan_test): Likewise.
11822 (catanh_test): Likewise.
11823 (cbrt_test): Use END macro without arguments.
11824 (ccos_test): Use END_COMPLEX macro without arguments.
11825 (ccosh_test): Likewise.
11826 (ceil_test): Use END macro without arguments.
11827 (cexp_test): Use END_COMPLEX macro without arguments.
11828 (cimag_test): Use END macro without arguments.
11829 (clog_test): Use END_COMPLEX macro without arguments.
11830 (clog10_test): Likewise.
11831 (conj_test): Likewise.
11832 (copysign_test): Use END macro without arguments.
11833 (cos_test): Likewise.
11834 (cos_test_tonearest): Likewise.
11835 (cos_test_towardzero): Likewise.
11836 (cos_test_downward): Likewise.
11837 (cos_test_upward): Likewise.
11838 (cosh_test): Likewise.
11839 (cosh_test_tonearest): Likewise.
11840 (cosh_test_towardzero): Likewise.
11841 (cosh_test_downward): Likewise.
11842 (cosh_test_upward): Likewise.
11843 (cpow_test): Use END_COMPLEX macro without arguments.
11844 (cproj_test): Likewise.
11845 (creal_test): Use END macro without arguments.
11846 (csin_test): Use END_COMPLEX macro without arguments.
11847 (csinh_test): Likewise.
11848 (csqrt_test): Likewise.
11849 (ctan_test): Likewise.
11850 (ctan_test_tonearest): Likewise.
11851 (ctan_test_towardzero): Likewise.
11852 (ctan_test_downward): Likewise.
11853 (ctan_test_upward): Likewise.
11854 (ctanh_test): Likewise.
11855 (ctanh_test_tonearest): Likewise.
11856 (ctanh_test_towardzero): Likewise.
11857 (ctanh_test_downward): Likewise.
11858 (ctanh_test_upward): Likewise.
11859 (erf_test): Use END macro without arguments.
11860 (erfc_test): Likewise.
11861 (exp_test): Likewise.
11862 (exp_test_tonearest): Likewise.
11863 (exp_test_towardzero): Likewise.
11864 (exp_test_downward): Likewise.
11865 (exp_test_upward): Likewise.
11866 (exp10_test): Likewise.
11867 (exp2_test): Likewise.
11868 (expm1_test): Likewise.
11869 (fabs_test): Likewise.
11870 (fdim_test): Likewise.
11871 (finite_test): Likewise.
11872 (floor_test): Likewise.
11873 (fma_test): Likewise.
11874 (fma_test_towardzero): Likewise.
11875 (fma_test_downward): Likewise.
11876 (fma_test_upward): Likewise.
11877 (fmax_test): Likewise.
11878 (fmin_test): Likewise.
11879 (fmod_test): Likewise.
11880 (fpclassify_test): Likewise.
11881 (frexp_test): Likewise.
11882 (gamma_test): Likewise.
11883 (hypot_test): Likewise.
11884 (ilogb_test): Likewise.
11885 (isfinite_test): Likewise.
11886 (isgreater_test): Likewise.
11887 (isgreaterequal_test): Likewise.
11888 (isinf_test): Likewise.
11889 (isless_test): Likewise.
11890 (islessequal_test): Likewise.
11891 (islessgreater_test): Likewise.
11892 (isnan_test): Likewise.
11893 (isnormal_test): Likewise.
11894 (issignaling_test): Likewise.
11895 (isunordered_test): Likewise.
11896 (j0_test): Likewise.
11897 (j1_test): Likewise.
11898 (jn_test): Likewise.
11899 (ldexp_test): Likewise.
11900 (lgamma_test): Likewise.
11901 (lrint_test): Likewise.
11902 (lrint_test_tonearest): Likewise.
11903 (lrint_test_towardzero): Likewise.
11904 (lrint_test_downward): Likewise.
11905 (lrint_test_upward): Likewise.
11906 (llrint_test): Likewise.
11907 (llrint_test_tonearest): Likewise.
11908 (llrint_test_towardzero): Likewise.
11909 (llrint_test_downward): Likewise.
11910 (llrint_test_upward): Likewise.
11911 (log_test): Likewise.
11912 (log10_test): Likewise.
11913 (log1p_test): Likewise.
11914 (log2_test): Likewise.
11915 (logb_test): Likewise.
11916 (logb_test_downward): Likewise.
11917 (lround_test): Likewise.
11918 (llround_test): Likewise.
11919 (modf_test): Likewise.
11920 (nearbyint_test): Likewise.
11921 (nextafter_test): Likewise.
11922 (nexttoward_test): Likewise.
11923 (pow_test): Likewise.
11924 (pow_test_tonearest): Likewise.
11925 (pow_test_towardzero): Likewise.
11926 (pow_test_downward): Likewise.
11927 (pow_test_upward): Likewise.
11928 (remainder_test): Likewise.
11929 (remainder_test_tonearest): Likewise.
11930 (remainder_test_towardzero): Likewise.
11931 (remainder_test_downward): Likewise.
11932 (remainder_test_upward): Likewise.
11933 (remquo_test): Likewise.
11934 (rint_test): Likewise.
11935 (rint_test_tonearest): Likewise.
11936 (rint_test_towardzero): Likewise.
11937 (rint_test_downward): Likewise.
11938 (rint_test_upward): Likewise.
11939 (round_test): Likewise.
11940 (scalb_test): Likewise.
11941 (scalbn_test): Likewise.
11942 (scalbln_test): Likewise.
11943 (signbit_test): Likewise.
11944 (sin_test): Likewise.
11945 (sin_test_tonearest): Likewise.
11946 (sin_test_towardzero): Likewise.
11947 (sin_test_downward): Likewise.
11948 (sin_test_upward): Likewise.
11949 (sincos_test): Likewise.
11950 (sinh_test): Likewise.
11951 (sinh_test_tonearest): Likewise.
11952 (sinh_test_towardzero): Likewise.
11953 (sinh_test_downward): Likewise.
11954 (sinh_test_upward): Likewise.
11955 (sqrt_test): Likewise.
11956 (tan_test): Likewise.
11957 (tan_test_tonearest): Likewise.
11958 (tan_test_towardzero): Likewise.
11959 (tan_test_downward): Likewise.
11960 (tan_test_upward): Likewise.
11961 (tanh_test): Likewise.
11962 (tgamma_test): Likewise.
11963 (trunc_test): Likewise.
11964 (y0_test): Likewise.
11965 (y1_test): Likewise.
11966 (yn_test): Likewise.
11967 (significand_test): Likewise.
11968
bae143d2
OB
119692013-05-24 Ondřej Bílka <neleai@seznam.cz>
11970
11971 [BZ #15381]
11972 * libio/genops.c (_IO_no_init): Initialize wide struct info.
11973
9323d39b
EM
119742013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
11975
d4ea44a0 11976 [BZ #14894]
9323d39b
EM
11977 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
11978 __ppc_mdoio and __ppc_mdoom.
11979 * manual/platform.texi: Document new functions __ppc_yield,
11980 __ppc_mdoio and __ppc_mdoom.
11981
13e23af7
CD
119822013-05-22 Carlos O'Donell <carlos@redhat.com>
11983
11984 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
11985 (main): Mention "tls" pseudo-hwcap is legacy.
11986 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
11987
351fe550
JM
119882013-05-22 Joseph Myers <joseph@codesourcery.com>
11989
11990 * math/gen-libm-test.pl (parse_args): Output only string of
11991 arguments as text for test name, not full call or descriptions of
11992 tests for extra outputs.
11993 (generate_testfile): Do not pass function name to parse_args.
11994 Generate this_func variable from START.
11995 * math/libm-test.inc (struct test_f_f_data): Rename test_name
11996 field to arg_str.
11997 (struct test_ff_f_data): Likewise.
11998 (test_ff_f_data_nexttoward): Likewise.
11999 (struct test_fi_f_data): Likewise.
12000 (struct test_fl_f_data): Likewise.
12001 (struct test_if_f_data): Likewise.
12002 (struct test_fff_f_data): Likewise.
12003 (struct test_c_f_data): Likewise.
12004 (struct test_f_f1_data): Likewise. Remove field extra_name.
12005 (struct test_fF_f1_data): Likewise.
12006 (struct test_ffI_f1_data): Likewise.
12007 (struct test_c_c_data): Rename test_name field to arg_str.
12008 (struct test_cc_c_data): Likewise.
12009 (struct test_f_i_data): Likewise.
12010 (struct test_ff_i_data): Likewise.
12011 (struct test_f_l_data): Likewise.
12012 (struct test_f_L_data): Likewise.
12013 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
12014 and extra2_name.
12015 (COMMON_TEST_SETUP): New macro.
12016 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
12017 (COMMON_TEST_CLEANUP): Likewise.
12018 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
12019 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
12020 macros.
12021 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
12022 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
12023 macros.
12024 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
12025 (RUN_TEST_fff_f): Take argument string. Call new setup and
12026 cleanup macros.
12027 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
12028 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
12029 macros.
12030 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
12031 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
12032 macros.
12033 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
12034 (RUN_TEST_fF_f1): Take argument string. Call new setup and
12035 cleanup macros.
12036 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
12037 (RUN_TEST_fI_f1): Take argument string. Call new setup and
12038 cleanup macros.
12039 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
12040 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
12041 cleanup macros.
12042 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
12043 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
12044 macros.
12045 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
12046 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
12047 macros.
12048 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
12049 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
12050 macros.
12051 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
12052 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
12053 cleanup macros.
12054 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
12055 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
12056 cleanup macros.
12057 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
12058 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
12059 macros.
12060 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
12061 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
12062 cleanup macros.
12063 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
12064 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
12065 macros.
12066 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
12067 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
12068 macros.
12069 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
12070 (RUN_TEST_fFF_11): Take argument string. Call new setup and
12071 cleanup macros.
12072 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
12073
85118d4d
EBM
120742013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
12075
12076 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
12077 to _sifields.sigfault.
12078 (si_addr_lsb): Define new macro.
12079 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
12080 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
12081 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
12082
7a44c18f
CD
120832013-05-03 Carlos O'Donell <carlos at redhat.com>
12084
12085 [BZ #15441]
12086 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
12087 returns -1.
12088 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
12089 null return -1.
12090 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
12091 loading the domain.
12092
b50a7181
JM
120932013-05-22 Joseph Myers <joseph@codesourcery.com>
12094
12095 * math/gen-libm-test.pl (parse_args): Do not include expected
12096 result in test name.
12097 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
12098 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12099 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
12100 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
12101 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
12102 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12103
051063c8
SP
121042013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
12105
3ce9e010
SP
12106 * benchtests/Makefile: Sort function entries.
12107
051063c8
SP
12108 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
12109 tanh, asinh, acosh, atanh.
12110 * benchtests/acos-inputs: New file.
12111 * benchtests/acosh-inputs: New file.
12112 * benchtests/asin-inputs: New file.
12113 * benchtests/asinh-inputs: New file.
12114 * benchtests/atanh-inputs: New file.
12115 * benchtests/cosh-inputs: New file.
12116 * benchtests/log-inputs: New file.
12117 * benchtests/sinh-inputs: New file.
12118 * benchtests/tanh-inputs: New file.
12119
47c22455
DL
121202013-05-21 Dmitry V. Levin <ldv@altlinux.org>
12121
12122 [BZ #15339]
12123 * posix/tst-getaddrinfo4.c: New test.
12124 * posix/Makefile (tests): Add it.
12125
3d04f5db
SP
121262013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12127
12128 [BZ #15339]
12129 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
12130 when no services were used.
12131 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
12132 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
12133
d5dd6189
AS
121342013-05-21 Andreas Schwab <schwab@suse.de>
12135
12136 [BZ #15014]
12137 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
12138 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
12139 successful.
12140 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
12141 redundant variable declarations and reallocation of buffer when
12142 parsing as IPv6 address. Always set NSS status when called from
12143 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
12144 buffer too small. Correct computation of needed size.
12145 * nss/Makefile (tests): Add test-digits-dots.
12146 * nss/test-digits-dots.c: New test.
12147
fef94eab
SP
121482013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12149
12150 * benchtests/Makefile: Remove instructions for adding
12151 benchmark tests.
12152 * benchtests/README: New file to explain how to execute and
12153 enhance the benchmark tests.
12154
e39adf43
AS
121552013-05-21 Andreas Schwab <schwab@suse.de>
12156
12157 [BZ #15493]
12158 * setjmp/Makefile (tests): Add tst-sigsetjmp.
12159 * setjmp/tst-sigsetjmp.c: New test.
12160
b2b671b6
OB
121612013-05-20 Ondřej Bílka <neleai@seznam.cz>
12162
12163 * sysdeps/x86_64/memset.S (memset): New implementation.
12164 (__bzero): Likewise.
12165 (__memset_tail): New function.
12166
2d48b41c
OB
121672013-05-20 Ondřej Bílka <neleai@seznam.cz>
12168
12169 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
12170 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
12171 __memcpy_sse2_unaligned ifunc selection.
12172 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
12173 Add memcpy-sse2-unaligned.S.
12174 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12175 Add: __memcpy_sse2_unaligned.
12176
f16cc3eb
JM
121772013-05-19 Joseph Myers <joseph@codesourcery.com>
12178
3e694268
JM
12179 [BZ #15490]
12180 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
12181 math_force_eval before restoring floating-point envrionment.
12182 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
12183 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
12184 Likewise.
12185 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
12186 <math_private.h>.
12187 (__nearbyintl): Use math_force_eval before restoring
12188 floating-point environment.
12189 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
12190
db62a907
JM
12191 * math/gen-libm-test.pl (special_functions): Remove.
12192 (parse_args): Don't handle TEST_extra. Handle functions with no
12193 return value.
12194 * math/libm-test.inc (struct test_sincos_data): Replace with
12195 struct test_fFF_11_data.
12196 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
12197 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
12198 (sincos_test_data): Change element type to struct
12199 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
12200 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
12201 RUN_TEST_LOOP_sincos.
12202 * math/README.libm-test: Don't mention special handling of
12203 individual functions.
12204 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
12205 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12206 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
12207 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
12208 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
12209 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12210
f16cc3eb
JM
12211 * math/gen-libm-test.pl (get_variable): Remove function.
12212 (parse_args): Don't show pointer parameters to call in test
12213 names. Use "extra output N" in test names for extra outputs
12214 rather than naming variables.
12215
3779b5b6
JM
122162013-05-18 Joseph Myers <joseph@codesourcery.com>
12217
2ee094ff
JM
12218 [BZ #15488]
12219 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
12220 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
12221 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
12222 double tests.
12223 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
12224 disable.
12225 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
12226 check_long_double.
12227
3779b5b6
JM
12228 * math/gen-libm-test.pl (@tests): Remove variable.
12229 ($count): Likewise.
12230 (new_test): Remove function.
12231 (show_exceptions): New function.
12232 (special_functions): Use show_exceptions instead of new_test.
12233 (parse_args): Likewise.
12234 (generate_testfile): Pass only function name in generated call to
12235 print_max_error or print_complex_max_error.
12236 (get_ulps): Do not handle complex tests specially.
12237 (output_test): Rename to ...
12238 (get_all_ulps_for_test): ... this. Return a string rather than
12239 printing to a file. Require ulps to be present.
12240 (output_ulps): Generate arrays rather than #defines.
12241 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
12242 (struct ulp_data): New type.
12243 (BUILD_COMPLEX_ULP): Remove macro.
12244 (compare_ulp_data): New function.
12245 (find_ulps): Likewise.
12246 (find_test_ulps): Likewise.
12247 (find_function_ulps): Likewise.
12248 (find_complex_function_ulps): Likewise.
12249 (print_max_error): Determine allowed ulps using
12250 find_function_ulps.
12251 (print_complex_max_error): Determine allowed ulps using
12252 find_complex_function_ulps.
12253 (check_float_internal): Determine max ulps using find_test_ulps.
12254 (check_float): Do not take max_ulp parameter. Update call to
12255 check_float_internal.
12256 (check_complex): Likewise.
12257 (check_int): Do not take max_ulp parameter.
12258 (check_long): Likewise.
12259 (check_bool): Likewise.
12260 (check_longlong): Likewise.
12261 (struct test_f_f_data): Remove max_ulp field.
12262 (struct test_ff_f_data): Likewise.
12263 (struct test_ff_f_data_nexttoward): Likewise.
12264 (struct test_fi_f_data): Likewise.
12265 (struct test_fl_f_data): Likewise.
12266 (struct test_if_f_data): Likewise.
12267 (struct test_fff_f_data): Likewise.
12268 (struct test_c_f_data): Likewise.
12269 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
12270 (struct test_fF_f1_data): Likewise.
12271 (struct test_ffI_f1_data): Likewise.
12272 (struct test_c_c_data): Remove max_ulp field.
12273 (struct test_cc_c_data): Likewise.
12274 (struct test_f_i_data): Likewise.
12275 (struct test_ff_i_data): Likewise.
12276 (struct test_f_l_data): Likewise.
12277 (struct test_f_L_data): Likewise.
12278 (struct test_sincos_data): Likewise.
12279 (RUN_TEST_f_f): Do not handle ulps.
12280 (RUN_TEST_LOOP_f_f): Likewise.
12281 (RUN_TEST_2_f): Likewise.
12282 (RUN_TEST_LOOP_2_f): Likewise.
12283 (RUN_TEST_fff_f): Likewise.
12284 (RUN_TEST_LOOP_fff_f): Likewise.
12285 (RUN_TEST_c_f): Likewise.
12286 (RUN_TEST_LOOP_c_f): Likewise.
12287 (RUN_TEST_f_f1): Likewise.
12288 (RUN_TEST_LOOP_f_f1): Likewise.
12289 (RUN_TEST_fF_f1): Likewise.
12290 (RUN_TEST_LOOP_fF_f1): Likewise.
12291 (RUN_TEST_fI_f1): Likewise.
12292 (RUN_TEST_LOOP_fI_f1): Likewise.
12293 (RUN_TEST_ffI_f1): Likewise.
12294 (RUN_TEST_LOOP_ffI_f1): Likewise.
12295 (RUN_TEST_c_c): Likewise.
12296 (RUN_TEST_LOOP_c_c): Likewise.
12297 (RUN_TEST_cc_c): Likewise.
12298 (RUN_TEST_LOOP_cc_c): Likewise.
12299 (RUN_TEST_f_i): Likewise.
12300 (RUN_TEST_LOOP_f_i): Likewise.
12301 (RUN_TEST_f_i_tg): Likewise.
12302 (RUN_TEST_LOOP_f_i_tg): Likewise.
12303 (RUN_TEST_ff_i_tg): Likewise.
12304 (RUN_TEST_LOOP_ff_i_tg): Likewise.
12305 (RUN_TEST_f_b): Likewise.
12306 (RUN_TEST_LOOP_f_b): Likewise.
12307 (RUN_TEST_f_b_tg): Likewise.
12308 (RUN_TEST_LOOP_f_b_tg): Likewise.
12309 (RUN_TEST_f_l): Likewise.
12310 (RUN_TEST_LOOP_f_l): Likewise.
12311 (RUN_TEST_f_L): Likewise.
12312 (RUN_TEST_LOOP_f_L): Likewise.
12313 (RUN_TEST_sincos): Likewise.
12314 (RUN_TEST_LOOP_sincos): Likewise.
12315
8269107f
JM
123162013-05-17 Joseph Myers <joseph@codesourcery.com>
12317
bb38759d
JM
12318 [BZ #15480]
12319 [BZ #15485]
12320 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
12321 main case of finite arguments, set rounding mode to FE_TONEAREST
12322 and discard exceptions.
12323 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
12324 exceptions.
12325 (remainder_tonearest_test_data): New variable.
12326 (remainder_test_tonearest): New function.
12327 (remainder_towardzero_test_data): New variable.
12328 (remainder_test_towardzero): New function.
12329 (remainder_downward_test_data): New variable.
12330 (remainder_test_downward): New function.
12331 (remainder_upward_test_data): New variable.
12332 (remainder_test_upward): New function.
12333 (main): Call the new test functions.
12334
a00bdcf0
JM
12335 * math/libm-test.inc (struct test_f_f1_data): Remove field
12336 extra_init.
12337 (struct test_fF_f1_data): Likewise.
12338 (struct test_ffI_f1_data): Likewise.
12339 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
12340 based on value of EXTRA_EXPECTED.
12341 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
12342 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
12343 EXTRA_VAR based on value of EXTRA_EXPECTED.
12344 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
12345 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
12346 EXTRA_VAR based on value of EXTRA_EXPECTED.
12347 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
12348 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
12349 EXTRA_VAR based on value of EXTRA_EXPECTED.
12350 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
12351 * math/gen-libm-test.pl (parse_args): Don't output initializers
12352 for extra output values.
12353
de407f79
JM
12354 * math/libm-test.inc (check_int): Expect result to be exactly
12355 equal to expected value and do not handle ulps.
12356 (check_long): Likewise.
12357 (check_longlong): Likewise.
12358
8269107f
JM
12359 * math/libm-test.inc (ceil_test_data): Test for "inexact"
12360 exceptions.
12361 (cimag_test_data): Likewise.
12362 (conj_test_data): Likewise.
12363 (copysign_test_data): Likewise.
12364 (cproj_test_data): Likewise.
12365 (creal_test_data): Likewise.
12366 (fabs_test_data): Likewise.
12367 (fdim_test_data): Likewise.
12368 (finite_test_data): Likewise.
12369 (floor_test_data): Likewise.
12370 (fmax_test_data): Likewise.
12371 (fmin_test_data): Likewise.
12372 (fmod_test_data): Likewise.
12373 (fpclassify_test_data): Likewise.
12374 (frexp_test_data): Likewise.
12375 (ilogb_test_data): Likewise.
12376 (isfinite_test_data): Likewise.
12377 (isgreater_test_data): Likewise.
12378 (isgreaterequal_test_data): Likewise.
12379 (isinf_test_data): Likewise.
12380 (isless_test_data): Likewise.
12381 (islessequal_test_data): Likewise.
12382 (islessgreater_test_data): Likewise.
12383 (isnan_test_data): Likewise.
12384 (isnormal_test_data): Likewise.
12385 (issignaling_test_data): Likewise.
12386 (isunordered_test_data): Likewise.
12387 (ldexp_test_data): Likewise.
12388 (lrint_test_data): Likewise.
12389 (lrint_test_data) [TEST_FLOAT]: Disable one test.
12390 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
12391 (lrint_tonearest_test_data): Test for "inexact" exceptions.
12392 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
12393 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
12394 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
12395 test input.
12396 (lrint_towardzero_test_data): Test for "inexact" exceptions.
12397 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
12398 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
12399 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
12400 that test input.
12401 (lrint_downward_test_data): Test for "inexact" exceptions.
12402 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
12403 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
12404 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
12405 test input.
12406 (lrint_upward_test_data): Test for "inexact" exceptions.
12407 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
12408 test input.
12409 (llrint_test_data): Test for "inexact" exceptions.
12410 (llrint_test_data) [TEST_FLOAT]: Disable one test.
12411 (llrint_tonearest_test_data): Test for "inexact" exceptions.
12412 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
12413 (llrint_towardzero_test_data): Test for "inexact" exceptions.
12414 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
12415 (llrint_downward_test_data): Test for "inexact" exceptions.
12416 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
12417 (llrint_upward_test_data): Test for "inexact" exceptions.
12418 (logb_test_data): Likewise.
12419 (logb_downward_test_data): Likewise.
12420 (nextafter_test_data): Likewise.
12421 (nexttoward_test_data): Likewise.
12422 (remainder_test_data): Likewise.
12423 (remquo_test_data): Likewise.
12424 (scalbn_test_data): Likewise.
12425 (scalbln_test_data): Likewise.
12426 (signbit_test_data): Likewise.
12427 (sqrt_test_data): Likewise.
12428 (significand_test_data): Likewise.
12429
48a18de1
SP
124302013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
12431
12432 [BZ #15424]
12433 * benchtests/bench-modf.c (struct args): Mark arg0 as
12434 volatile.
12435 * scripts/bench.pl: Mark members of struct args as volatile.
12436
13d3b41a
AZ
124372013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12438
68191c1d 12439 [BZ # 15497]
13d3b41a
AZ
12440 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
12441 negative infinity on POWER6 or lower.
12442 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
12443
2848b105
MR
124442013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
12445
12446 [BZ #15442]
12447 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
12448 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
12449 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
12450 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
12451 (_FP_SETQNAN): New macro.
12452 (_FP_SETQNAN_SEMIRAW): Likewise.
12453 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
12454 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
12455 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
12456 (FP_EXTEND): Use _FP_FRAC_SNANP.
12457 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
12458 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
12459 into account.
12460 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
12461 New macro.
12462 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
12463 Likewise.
12464
323e5cb7
JM
124652013-05-16 Joseph Myers <joseph@codesourcery.com>
12466
c58b274f
JM
12467 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
12468 with DIVIDE_BY_ZERO_EXCEPTION.
12469 (gamma_test_data): Likewise.
12470 (lgamma_test_data): Likewise.
12471 (log_test_data): Likewise.
12472 (log10_test_data): Likewise.
12473 (log2_test_data): Likewise.
12474 (tgamma_test_data): Likewise.
12475
0ab34904
JM
12476 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
12477 (acos_test_tonearest): Likewise.
12478 (acos_test_towardzero): Likewise.
12479 (acos_test_downward): Likewise.
12480 (acos_test_upward): Likewise.
12481 (acosh_test): Likewise.
12482 (asin_test): Likewise.
12483 (asin_test_tonearest): Likewise.
12484 (asin_test_towardzero): Likewise.
12485 (asin_test_downward): Likewise.
12486 (asin_test_upward): Likewise.
12487 (asinh_test): Likewise.
12488 (atan_test): Likewise.
12489 (atanh_test): Likewise.
12490 (atan2_test): Likewise.
12491 (cabs_test): Likewise.
12492 (cacos_test): Likewise.
12493 (cacosh_test): Likewise.
12494 (casin_test): Likewise.
12495 (casinh_test): Likewise.
12496 (catan_test): Likewise.
12497 (catanh_test): Likewise.
12498 (cbrt_test): Likewise.
12499 (ccos_test): Likewise.
12500 (ccosh_test): Likewise.
12501 (cexp_test): Likewise.
12502 (clog_test): Likewise.
12503 (clog10_test): Likewise.
12504 (cos_test): Likewise.
12505 (cos_test_tonearest): Likewise.
12506 (cos_test_towardzero): Likewise.
12507 (cos_test_downward): Likewise.
12508 (cos_test_upward): Likewise.
12509 (cosh_test): Likewise.
12510 (cosh_test_tonearest): Likewise.
12511 (cosh_test_towardzero): Likewise.
12512 (cosh_test_downward): Likewise.
12513 (cosh_test_upward): Likewise.
12514 (cpow_test): Likewise.
12515 (csin_test): Likewise.
12516 (csinh_test): Likewise.
12517 (csqrt_test): Likewise.
12518 (ctan_test): Likewise.
12519 (ctan_test_tonearest): Likewise.
12520 (ctan_test_towardzero): Likewise.
12521 (ctan_test_downward): Likewise.
12522 (ctan_test_upward): Likewise.
12523 (ctanh_test): Likewise.
12524 (ctanh_test_tonearest): Likewise.
12525 (ctanh_test_towardzero): Likewise.
12526 (ctanh_test_downward): Likewise.
12527 (ctanh_test_upward): Likewise.
12528 (erf_test): Likewise.
12529 (erfc_test): Likewise.
12530 (exp_test): Likewise.
12531 (exp_test_tonearest): Likewise.
12532 (exp_test_towardzero): Likewise.
12533 (exp_test_downward): Likewise.
12534 (exp_test_upward): Likewise.
12535 (exp10_test): Likewise.
12536 (exp2_test): Likewise.
12537 (expm1_test): Likewise.
12538 (fmod_test): Likewise.
12539 (gamma_test): Likewise.
12540 (hypot_test): Likewise.
12541 (j0_test): Likewise.
12542 (j1_test): Likewise.
12543 (jn_test): Likewise.
12544 (lgamma_test): Likewise.
12545 (log_test): Likewise.
12546 (log10_test): Likewise.
12547 (log1p_test): Likewise.
12548 (log2_test): Likewise.
12549 (logb_test_downward): Likewise.
12550 (pow_test): Likewise.
12551 (pow_test_tonearest): Likewise.
12552 (pow_test_towardzero): Likewise.
12553 (pow_test_downward): Likewise.
12554 (pow_test_upward): Likewise.
12555 (remainder_test): Likewise.
12556 (remquo_test): Likewise.
12557 (sin_test): Likewise.
12558 (sin_test_tonearest): Likewise.
12559 (sin_test_towardzero): Likewise.
12560 (sin_test_downward): Likewise.
12561 (sin_test_upward): Likewise.
12562 (sincos_test): Likewise.
12563 (sinh_test): Likewise.
12564 (sinh_test_tonearest): Likewise.
12565 (sinh_test_towardzero): Likewise.
12566 (sinh_test_downward): Likewise.
12567 (sinh_test_upward): Likewise.
12568 (sqrt_test): Likewise.
12569 (tan_test): Likewise.
12570 (tan_test_tonearest): Likewise.
12571 (tan_test_towardzero): Likewise.
12572 (tan_test_downward): Likewise.
12573 (tan_test_upward): Likewise.
12574 (tanh_test): Likewise.
12575 (tgamma_test): Likewise.
12576 (y0_test): Likewise.
12577 (y1_test): Likewise.
12578 (yn_test): Likewise.
12579
323e5cb7
JM
12580 * math/gen-libm-test.pl (adjust_arg): Remove function.
12581 (special_function): Remove argument $in_func. Only handle
12582 generating output for tables of tests, not inside functions.
12583 (parse_args): Likewise.
12584 (generate_testfile): Remove variable $in_func. Update call to
12585 parse_args.
12586 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
12587 (MINUS_ZERO_INIT): Rename macro to minus_zero.
12588 (PLUS_INFTY_INIT): Rename macro to plus_infty.
12589 (MINUS_INFTY_INIT): Rename macro to minus_infty.
12590 (QNAN_VALUE_INIT): Rename macro to qnan_value.
12591 (MAX_VALUE_INIT): Rename macro to max_value.
12592 (MIN_VALUE_INIT): Rename macro to min_value.
12593 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
12594 (plus_zero): Remove variable.
12595 (minus_zero): Likewise.
12596 (plus_infty): Likewise.
12597 (minus_infty): Likewise.
12598 (qnan_value): Likewise.
12599 (max_value): Likewise.
12600 (min_value): Likewise.
12601 (min_subnorm_value): Likewise.
12602
e054f494
RA
126032013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12604
12605 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
12606 uint64_t or uint32_t usage.
12607 * crypt/sha256-block.c: Likewise.
12608 * crypt/sha256-crypt.c: Likewise.
12609 * crypt/sha256.c: Likewise.
12610 * crypt/sha512-block.c: Likewise.
12611 * crypt/sha512-crypt.c: Likewise.
12612 * crypt/sha512.c: Likewise.
12613 * debug/backtrace-tst.c: Likewise.
12614 * debug/pcprofiledump.c: Likewise.
12615 * elf/cache.c: Likewise.
12616 * elf/dl-cache.c: Likewise.
12617 * elf/dl-misc.c: Likewise.
12618 * elf/dl-profile.c: Likewise.
12619 * elf/dl-support.c: Likewise.
12620 * elf/ldconfig.c: Likewise.
12621 * elf/sprof.c: Likewise.
12622 * iconv/dummy-repertoire.c: Likewise.
12623 * iconv/iconv_charmap.c: Likewise.
12624 * iconv/skeleton.c: Likewise.
12625 * iconvdata/8bit-generic.c: Likewise.
12626 * iconvdata/cp737.h: Likewise.
12627 * iconvdata/cp775.h: Likewise.
12628 * iconvdata/ibm1008.h: Likewise.
12629 * iconvdata/ibm1025.h: Likewise.
12630 * iconvdata/ibm1046.h: Likewise.
12631 * iconvdata/ibm1097.h: Likewise.
12632 * iconvdata/ibm1112.h: Likewise.
12633 * iconvdata/ibm1122.h: Likewise.
12634 * iconvdata/ibm1123.h: Likewise.
12635 * iconvdata/ibm1124.h: Likewise.
12636 * iconvdata/ibm1129.h: Likewise.
12637 * iconvdata/ibm1130.h: Likewise.
12638 * iconvdata/ibm1132.h: Likewise.
12639 * iconvdata/ibm1133.h: Likewise.
12640 * iconvdata/ibm1137.h: Likewise.
12641 * iconvdata/ibm1140.h: Likewise.
12642 * iconvdata/ibm1141.h: Likewise.
12643 * iconvdata/ibm1142.h: Likewise.
12644 * iconvdata/ibm1143.h: Likewise.
12645 * iconvdata/ibm1144.h: Likewise.
12646 * iconvdata/ibm1145.h: Likewise.
12647 * iconvdata/ibm1146.h: Likewise.
12648 * iconvdata/ibm1147.h: Likewise.
12649 * iconvdata/ibm1148.h: Likewise.
12650 * iconvdata/ibm1149.h: Likewise.
12651 * iconvdata/ibm1153.h: Likewise.
12652 * iconvdata/ibm1154.h: Likewise.
12653 * iconvdata/ibm1155.h: Likewise.
12654 * iconvdata/ibm1156.h: Likewise.
12655 * iconvdata/ibm1157.h: Likewise.
12656 * iconvdata/ibm1158.h: Likewise.
12657 * iconvdata/ibm1160.h: Likewise.
12658 * iconvdata/ibm1161.h: Likewise.
12659 * iconvdata/ibm1162.h: Likewise.
12660 * iconvdata/ibm1163.h: Likewise.
12661 * iconvdata/ibm1164.h: Likewise.
12662 * iconvdata/ibm1166.h: Likewise.
12663 * iconvdata/ibm1167.h: Likewise.
12664 * iconvdata/ibm12712.h: Likewise.
12665 * iconvdata/ibm1390.h: Likewise.
12666 * iconvdata/ibm1399.h: Likewise.
12667 * iconvdata/ibm16804.h: Likewise.
12668 * iconvdata/ibm4517.h: Likewise.
12669 * iconvdata/ibm4899.h: Likewise.
12670 * iconvdata/ibm4909.h: Likewise.
12671 * iconvdata/ibm4971.h: Likewise.
12672 * iconvdata/ibm5347.h: Likewise.
12673 * iconvdata/ibm803.h: Likewise.
12674 * iconvdata/ibm856.h: Likewise.
12675 * iconvdata/ibm901.h: Likewise.
12676 * iconvdata/ibm902.h: Likewise.
12677 * iconvdata/ibm9030.h: Likewise.
12678 * iconvdata/ibm9066.h: Likewise.
12679 * iconvdata/ibm921.h: Likewise.
12680 * iconvdata/ibm922.h: Likewise.
12681 * iconvdata/ibm9448.h: Likewise.
12682 * iconvdata/isiri-3342.h: Likewise.
12683 * iconvdata/jis0201.h: Likewise.
12684 * include/link.h: Likewise.
12685 * include/netdb.h: Likewise.
12686 * inet/check_native.c: Likewise.
12687 * inet/check_pf.c: Likewise.
12688 * inet/getipv4sourcefilter.c: Likewise.
12689 * inet/getnameinfo.c: Likewise.
12690 * inet/getsourcefilter.c: Likewise.
12691 * inet/htonl.c: Likewise.
12692 * inet/setipv4sourcefilter.c: Likewise.
12693 * inet/setsourcefilter.c: Likewise.
12694 * inet/test-inet6_opt.c: Likewise.
12695 * inet/tst-network.c: Likewise.
12696 * locale/C-collate.c: Likewise.
12697 * locale/C-ctype.c: Likewise.
12698 * locale/C-time.c: Likewise.
12699 * locale/C-translit.h: Likewise.
12700 * locale/loadarchive.c: Likewise.
12701 * locale/programs/3level.h: Likewise.
12702 * locale/programs/charmap.c: Likewise.
12703 * locale/programs/charmap.h: Likewise.
12704 * locale/programs/ld-address.c: Likewise.
12705 * locale/programs/ld-collate.c: Likewise.
12706 * locale/programs/ld-ctype.c: Likewise.
12707 * locale/programs/ld-identification.c: Likewise.
12708 * locale/programs/ld-measurement.c: Likewise.
12709 * locale/programs/ld-messages.c: Likewise.
12710 * locale/programs/ld-monetary.c: Likewise.
12711 * locale/programs/ld-name.c: Likewise.
12712 * locale/programs/ld-numeric.c: Likewise.
12713 * locale/programs/ld-paper.c: Likewise.
12714 * locale/programs/ld-telephone.c: Likewise.
12715 * locale/programs/ld-time.c: Likewise.
12716 * locale/programs/linereader.c: Likewise.
12717 * locale/programs/locale.c: Likewise.
12718 * locale/programs/locarchive.c: Likewise.
12719 * locale/programs/locfile.h: Likewise.
12720 * locale/programs/repertoire.c: Likewise.
12721 * locale/programs/simple-hash.c: Likewise.
12722 * locale/programs/simple-hash.h: Likewise.
12723 * malloc/memusage.c: Likewise.
12724 * malloc/memusagestat.c: Likewise.
12725 * nis/nis_defaults.c: Likewise.
12726 * nis/nis_hash.c: Likewise.
12727 * nis/nis_print.c: Likewise.
12728 * nis/nis_xdr.c: Likewise.
12729 * nscd/connections.c: Likewise.
12730 * nscd/hstcache.c: Likewise.
12731 * nscd/nscd_gethst_r.c: Likewise.
12732 * nscd/nscd_getserv_r.c: Likewise.
12733 * nscd/nscd_helper.c: Likewise.
12734 * nscd/servicescache.c: Likewise.
12735 * nss/makedb.c: Likewise.
12736 * nss/nss_db/db-XXX.c: Likewise.
12737 * nss/nss_db/db-initgroups.c: Likewise.
12738 * nss/nss_db/db-netgrp.c: Likewise.
12739 * nss/nss_files/files-network.c: Likewise.
12740 * nss/nss_files/files-parse.c: Likewise.
12741 * posix/bug-regex5.c: Likewise.
12742 * posix/fnmatch_loop.c: Likewise.
12743 * posix/regcomp.c: Likewise.
12744 * posix/regexec.c: Likewise.
12745 * posix/tst-rfc3484-2.c: Likewise.
12746 * posix/tst-rfc3484-3.c: Likewise.
12747 * posix/tst-rfc3484.c: Likewise.
12748 * resolv/nss_dns/dns-canon.c: Likewise.
12749 * resolv/nss_dns/dns-network.c: Likewise.
12750 * resolv/res_init.c: Likewise.
12751 * resolv/res_mkquery.c: Likewise.
12752 * resolv/tst-aton.c: Likewise.
12753 * stdlib/cxa_atexit.c: Likewise.
12754 * stdlib/cxa_finalize.c: Likewise.
12755 * stdlib/gen-fpioconst.c: Likewise.
12756 * stdlib/strtol_l.c: Likewise.
12757 * string/tst-endian.c: Likewise.
12758 * sunrpc/auth_des.c: Likewise.
12759 * sunrpc/clnt_udp.c: Likewise.
12760 * sunrpc/rtime.c: Likewise.
12761 * sunrpc/svcauth_des.c: Likewise.
12762 * sunrpc/xdr.c: Likewise.
12763 * sunrpc/xdr_intXX_t.c: Likewise.
12764 * sunrpc/xdr_rec.c: Likewise.
12765 * sysdeps/generic/ldconfig.h: Likewise.
12766 * sysdeps/generic/ldsodefs.h: Likewise.
12767 * sysdeps/generic/memusage.h: Likewise.
12768 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
12769 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
12770 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
12771 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
12772 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
12773 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
12774 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
12775 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
12776 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
12777 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
12778 * sysdeps/posix/getaddrinfo.c: Likewise.
12779 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
12780 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
12781 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
12782 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
12783 * sysdeps/powerpc/test-gettimebase.c: Likewise.
12784 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
12785 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
12786 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
12787 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
12788 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
12789 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
12790 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
12791 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
12792 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
12793 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
12794 * sysdeps/x86_64/dl-tls.h: Likewise.
12795 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
12796 * time/alt_digit.c: Likewise.
12797 * time/era.c: Likewise.
12798 * wcsmbs/tst-c16c32-1.c: Likewise.
12799
8c75f674
JM
128002013-05-16 Joseph Myers <joseph@codesourcery.com>
12801
12802 * math/libm-test.inc (struct test_sincos_data): New type.
12803 (RUN_TEST_LOOP_sincos): New macro.
12804 (sincos_test_data): New variable.
12805 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
12806
e6e49e59
RH
128072013-05-16 Richard Henderson <rth@redhat.com>
12808
12809 * math/atest-exp2.c (LIMB64): New macro.
12810 (CONSTSZ): New macro.
12811 (mp_exp1, mp_exp_m1, mp_log2): New variables.
12812 (hexdig): Move ...
12813 (print_mpn_fp): ... to function scope.
12814 (read_mpn_hex): Remove.
12815 (get_log2): Remove.
12816 (exp2_mpn): Use mp_log2.
12817 (main): Use mp_exp1.
12818
15c7c18d
JM
128192013-05-16 Joseph Myers <joseph@codesourcery.com>
12820
105a07df
JM
12821 * math/libm-test.inc: Remove comment about not testing "inexact"
12822 exceptions.
12823 (INEXACT_EXCEPTION): New macro.
12824 (NO_INEXACT_EXCEPTION): Likewise.
12825 (INVALID_EXCEPTION_OK): Update value.
12826 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
12827 (OVERFLOW_EXCEPTION_OK): Likewise.
12828 (UNDERFLOW_EXCEPTION_OK): Likewise.
12829 (IGNORE_ZERO_INF_SIGN): Likewise.
12830 (ERRNO_UNCHANGED): Likewise.
12831 (ERRNO_EDOM): Likewise.
12832 (ERRNO_ERANGE): Likewise.
12833 (test_exceptions): Handle testing "inexact" exceptions.
12834 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
12835 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
12836 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
12837 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
12838 INEXACT_EXCEPTION.
12839 (rint_towardzero_test_data): Likewise.
12840 (rint_downward_test_data): Likewise.
12841 (rint_upward_test_data): Likewise.
12842
e9eee333
JM
12843 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
12844 with OVERFLOW_EXCEPTION.
12845 (exp10_test_data): Likewise.
12846 (exp2_test_data): Likewise.
12847 (expm1_test_data): Likewise.
12848 (lgamma_test_data): Likewise.
12849 (pow_test_data): Likewise.
12850 (tgamma_test_data): Likewise.
12851 (yn_test_data): Remove duplicate test of overflow.
12852
1c38ff73
JM
12853 * math/libm-test.inc (struct test_cc_c_data): New type.
12854 (RUN_TEST_LOOP_cc_c): New macro.
12855 (cpow_test_data): New variable.
12856 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
12857
15c7c18d
JM
12858 * math/libm-test.inc (struct test_f_L_data): New type.
12859 (RUN_TEST_LOOP_f_L): New macro.
12860 (llrint_test_data): New variable.
12861 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
12862 (llrint_tonearest_test_data): New variable.
12863 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
12864 (llrint_towardzero_test_data): New variable.
12865 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
12866 (llrint_downward_test_data): New variable.
12867 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
12868 (llrint_upward_test_data): New variable.
12869 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
12870 (llround_test_data): New variable.
12871 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
12872
f137ff13
PC
128732013-05-13 Peter Collingbourne <pcc@google.com>
12874
12875 * math/atest-exp2.c (get_log2): Remove const attribute.
12876
3608cb24
JM
128772013-05-15 Joseph Myers <joseph@codesourcery.com>
12878
12879 * math/libm-test.inc (struct test_f_l_data): New type.
12880 (RUN_TEST_LOOP_f_l): New macro.
12881 (lrint_test_data): New variable.
12882 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
12883 (lrint_tonearest_test_data): New variable.
12884 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
12885 (lrint_towardzero_test_data): New variable.
12886 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
12887 (lrint_downward_test_data): New variable.
12888 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
12889 (lrint_upward_test_data): New variable.
12890 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
12891 (lround_test_data): New variable.
12892 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
12893
39b1f617
PC
128942013-05-15 Peter Collingbourne <pcc@google.com>
12895
1deff3dc
PC
12896 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
12897 (EXTRACT_WORDS64) Use where appropriate.
12898 (INSERT_WORDS64) Likewise.
12899
791f3ba0
PC
12900 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
12901 constraints with x constraints.
12902 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
12903
39b1f617
PC
12904 * malloc/obstack.c (_obstack_compat): Add initializer.
12905
12fba011
EM
129062013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
12907
12908 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
12909 si_trapno and add si_addr_lsb to _sifields.sigfault.
12910 (si_trapno): Remove macro.
12911 (si_addr_lsb): Define new macro.
12912 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
12913
d369f531
JM
129142013-05-15 Joseph Myers <joseph@codesourcery.com>
12915
b861c6c4
JM
12916 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
12917 instead of TEST_f_l.
12918 (llrint_test_tonearest): Likewise.
12919 (llrint_test_towardzero): Likewise.
12920 (llrint_test_downward): Likewise.
12921 (llrint_test_upward): Likewise.
12922 (llround_test): Likewise.
12923
7abeee12
JM
12924 * math/libm-test.inc (struct test_f_i_data): Add comment.
12925 (RUN_TEST_LOOP_f_b): New macro.
12926 (RUN_TEST_LOOP_f_b_tg): Likewise.
12927 (finite_test_data): New variable.
12928 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
12929 (isfinite_test_data): New variable.
12930 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
12931 (isinf_test_data): New variable.
12932 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
12933 (isnan_test_data): New variable.
12934 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
12935 (isnormal_test_data): New variable.
12936 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
12937 (issignaling_test_data): New variable.
12938 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
12939 (signbit_test_data): New variable.
12940 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
12941
cbe8c4d3
JM
12942 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
12943 with INVALID_EXCEPTION.
12944 (acosh_test_data): Likewise.
12945 (asin_test_data): Likewise.
12946 (atanh_test_data): Likewise.
12947 (fmod_test_data): Likewise.
12948 (log_test_data): Likewise.
12949 (log10_test_data): Likewise.
12950 (log2_test_data): Likewise.
12951 (pow_test_data): Likewise.
12952 (sqrt_test_data): Likewise.
12953 (y0_test_data): Likewise.
12954 (y1_test_data): Likewise.
12955 (yn_test_data): Likewise.
12956
5575c0e5
JM
12957 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
12958 function contents.
12959
d369f531
JM
12960 * math/libm-test.inc (struct test_ff_i_data): New type.
12961 (RUN_TEST_LOOP_ff_i_tg): New macro.
12962 (isgreater_test_data): New variable.
12963 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
12964 (isgreaterequal_test_data): New variable.
12965 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
12966 (isless_test_data): New variable.
12967 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
12968 (islessequal_test_data): New variable.
12969 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
12970 (islessgreater_test_data): New variable.
12971 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
12972 (isunordered_test_data): New variable.
12973 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
12974
781fd748
DM
129752013-05-14 David S. Miller <davem@davemloft.net>
12976
12977 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12978
87aa21df
JM
129792013-05-14 Joseph Myers <joseph@codesourcery.com>
12980
5e908270
JM
12981 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
12982
f71172e5
JM
12983 * math/libm-test.inc (struct test_fF_f1_data): Change type of
12984 extra_test to int.
12985 (struct test_f_i_data): Change type of max_ulp to int.
12986
8cfa635a
JM
12987 * math/libm-test.inc (test_ffI_f1_data): New type.
12988 (RUN_TEST_LOOP_ffI_f1): New macro.
12989 (remquo_test_data): New variable.
12990 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
12991
2bcb36b2
JM
12992 * setjmp/tst-setjmp-fp.c: New file.
12993 * setjmp/Makefile (tests): Add tst-setjmp-fp.
12994 (link-libm): New variable.
12995 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
12996
acbd839a
JM
12997 * math/libm-test.inc (struct test_f_i_data): New type.
12998 (RUN_TEST_LOOP_f_i): New macro.
12999 (RUN_TEST_LOOP_f_i_tg): Likewise.
13000 (fpclassify_test_data): New variable.
13001 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
13002 (ilogb_test_data): New variable.
13003 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
13004
e414d745
JM
13005 * math/libm-test.inc (scalbln_test): Correct function name in END
13006 call.
13007
d9c2a0fd
JM
13008 * math/libm-test.inc (struct test_f_f1_data): Add comment.
13009 (RUN_TEST_LOOP_fI_f1): New macro.
13010 (frexp_test_data): New variable.
13011 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
13012
9dc9095d
JM
13013 * math/libm-test.inc (struct test_fF_f1_data): New type.
13014 (RUN_TEST_LOOP_fF_f1): New macro.
13015 (modf_test_data): New variable.
13016 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
13017
87aa21df
JM
13018 * math/libm-test.inc (struct test_f_f1_data): New type.
13019 (RUN_TEST_LOOP_f_f1): New macro.
13020 (gamma_test_data): New variable.
13021 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
13022 (lgamma_test_data): New variable.
13023 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
13024
141af660
CD
130252013-05-13 Carlos O'Donell <carlos@redhat.com>
13026
13027 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
13028 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
13029 (main): Comment "tls" pseudo-hwcap.
13030
6d33265c
JM
130312013-05-13 Joseph Myers <joseph@codesourcery.com>
13032
68fc074c
JM
13033 * math/libm-test.inc (struct test_fl_f_data): New type.
13034 (RUN_TEST_LOOP_fl_f): New variable.
13035 (scalbln_test_data): New variable.
13036 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
13037
243216e1
JM
13038 * math/libm-test.inc (struct test_fi_f_data): New type.
13039 (RUN_TEST_LOOP_fi_f): New macro.
13040 (ldexp_test_data): New variable.
13041 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
13042 (scalbn_test_data): New variable.
13043 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
13044
6a1992e2
JM
13045 * math/libm-test.inc (struct test_c_f_data): New type.
13046 (RUN_TEST_LOOP_c_f): New macro.
13047 (cabs_test_data): New variable.
13048 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
13049 (carg_test_data): New variable.
13050 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
13051 (cimag_test_data): New variable.
13052 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
13053 (creal_test_data): New variable.
13054 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
13055
0e400df5
JM
13056 * math/libm-test.inc (struct test_if_f_data): New type.
13057 (RUN_TEST_LOOP_if_f): New macro.
13058 (jn_test_data): New variable.
13059 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
13060 (yn_test_data): New variable.
13061 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
13062
6d33265c
JM
13063 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
13064
f98ece5f
AZ
130652013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13066
13067 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
13068 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
13069
0f7d347b
SP
130702013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
13071
43fe811b
SP
13072 * benchtests/Makefile (CPPFLAGS-nonlib): Add
13073 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
13074 (bench-deps): Add bench-timing.h.
13075 * benchtests-bench-skeleton.c: Include bench-timing.h.
13076 (main): Use TIMING_* macros instead of clock_gettime.
13077 * benchtests/bench-timing.h: New file.
13078
0f7d347b
SP
13079 [BZ #14582]
13080 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
13081 Renamed from _LIB_VERSION.
13082 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
13083
601a3a5f
JM
130842013-05-12 Joseph Myers <joseph@codesourcery.com>
13085
4f184d30
JM
13086 * math/libm-test.inc (struct test_fff_f_data): New type.
13087 (RUN_TEST_LOOP_fff_f): New macro.
13088 (fma_test_data): New variable.
13089 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
13090 (fma_towardzero_test_data): New variable.
13091 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
13092 (fma_downward_test_data): New variable.
13093 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
13094 (fma_upward_test_data): New variable.
13095 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
13096
08198877
JM
13097 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
13098 (struct test_c_c_data): New type.
13099 (RUN_TEST_LOOP_c_c): New macro.
13100 (cacos_test_data): New variable.
13101 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
13102 (cacosh_test_data): New variable.
13103 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
13104 (casin_test_data): New variable.
13105 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
13106 (casinh_test_data): New variable.
13107 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
13108 (catan_test_data): New variable.
13109 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
13110 (catanh_test_data): New variable.
13111 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
13112 (ccos_test_data): New variable.
13113 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
13114 (ccosh_test_data): New variable.
13115 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
13116 (cexp_test_data): New variable.
13117 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
13118 (clog_test_data): New variable.
13119 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
13120 (clog10_test_data): New variable.
13121 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
13122 (conj_test_data): New variable.
13123 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
13124 (cproj_test_data): New variable.
13125 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
13126 (csin_test_data): New variable.
13127 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
13128 (csinh_test_data): New variable.
13129 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
13130 (csqrt_test_data): New variable.
13131 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
13132 (ctan_test_data): New variable.
13133 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
13134 (ctan_tonearest_test_data): New variable.
13135 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
13136 (ctan_towardzero_test_data): New variable.
13137 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
13138 (ctan_downward_test_data): New variable.
13139 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
13140 (ctan_upward_test_data): New variable.
13141 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
13142 (ctanh_test_data): New variable.
13143 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
13144 (ctanh_tonearest_test_data): New variable.
13145 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
13146 (ctanh_towardzero_test_data): New variable.
13147 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
13148 (ctanh_downward_test_data): New variable.
13149 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
13150 (ctanh_upward_test_data): New variable.
13151 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
13152 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
13153 of BUILD_COMPLEX.
13154
601a3a5f
JM
13155 * math/libm-test.inc (struct test_ff_f_data): New type.
13156 (struct test_ff_f_data_nexttoward): Likewise.
13157 (RUN_TEST_LOOP_2_f): New macro.
13158 (RUN_TEST_LOOP_ff_f): Likewise.
13159 (atan2_test_data): New variable.
13160 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
13161 (copysign_test_data): New variable.
13162 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
13163 (fdim_test_data): New variable.
13164 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
13165 (fmax_test_data): New variable.
13166 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
13167 (fmin_test_data): New variable.
13168 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
13169 (fmod_test_data): New variable.
13170 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
13171 (hypot_test_data): New variable.
13172 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
13173 (nextafter_test_data): New variable.
13174 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
13175 (nexttoward_test_data): New variable.
13176 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
13177 (pow_test_data): New variable.
13178 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
13179 (pow_tonearest_test_data): New variable.
13180 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
13181 (pow_towardzero_test_data): New variable.
13182 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
13183 (pow_downward_test_data): New variable.
13184 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
13185 (pow_upward_test_data): New variable.
13186 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
13187 (remainder_test_data): New variable.
13188 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
13189 (scalb_test_data): New variable.
13190 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
13191 * sysdeps/i386/fpu/libm-test-ulps: Update.
13192
74c57478
JM
131932013-05-11 Joseph Myers <joseph@codesourcery.com>
13194
8329e4da
JM
13195 * math/libm-test.inc (fma_test): Use max_value instead of local
13196 variable fltmax.
13197 (nextafter_test): Likewise.
13198
74c57478
JM
13199 * math/libm-test.inc (acos_towardzero_test_data): New variable.
13200 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13201 (acos_downward_test_data): New variable.
13202 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13203 (acos_upward_test_data): New variable.
13204 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13205 (acosh_test_data): New variable.
13206 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
13207 (asin_test_data): New variable.
13208 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
13209 (asin_tonearest_test_data): New variable.
13210 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13211 (asin_towardzero_test_data): New variable.
13212 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13213 (asin_downward_test_data): New variable.
13214 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13215 (asin_upward_test_data): New variable.
13216 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13217 (asinh_test_data): New variable.
13218 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
13219 (atan_test_data): New variable.
13220 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
13221 (atanh_test_data): New variable.
13222 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
13223 (cbrt_test_data): New variable.
13224 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
13225 (ceil_test_data): New variable.
13226 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
13227 (cos_test_data): New variable.
13228 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
13229 (cos_tonearest_test_data): New variable.
13230 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13231 (cos_towardzero_test_data): New variable.
13232 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13233 (cos_downward_test_data): New variable.
13234 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13235 (cos_upward_test_data): New variable.
13236 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13237 (cosh_test_data): New variable.
13238 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
13239 (cosh_tonearest_test_data): New variable.
13240 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13241 (cosh_towardzero_test_data): New variable.
13242 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13243 (cosh_downward_test_data): New variable.
13244 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13245 (cosh_upward_test_data): New variable.
13246 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13247 (erf_test_data): New variable.
13248 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
13249 (erfc_test_data): New variable.
13250 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
13251 (exp_test_data): New variable.
13252 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
13253 (exp_tonearest_test_data): New variable.
13254 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13255 (exp_towardzero_test_data): New variable.
13256 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13257 (exp_downward_test_data): New variable.
13258 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13259 (exp_upward_test_data): New variable.
13260 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13261 (exp10_test_data): New variable.
13262 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
13263 (exp2_test_data): New variable.
13264 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
13265 (expm1_test_data): New variable.
13266 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
13267 (fabs_test_data): New variable.
13268 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
13269 (floor_test_data): New variable.
13270 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
13271 (j0_test_data): New variable.
13272 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
13273 (j1_test_data): New variable.
13274 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
13275 (log_test_data): New variable.
13276 (log_test): Run tests with RUN_TEST_LOOP_f_f.
13277 (log10_test_data): New variable.
13278 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
13279 (log1p_test_data): New variable.
13280 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
13281 (log2_test_data): New variable.
13282 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
13283 (logb_test_data): New variable.
13284 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
13285 (logb_downward_test_data): New variable.
13286 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13287 (nearbyint_test_data): New variable.
13288 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
13289 (rint_test_data): New variable.
13290 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
13291 (rint_tonearest_test_data): New variable.
13292 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13293 (rint_towardzero_test_data): New variable.
13294 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13295 (rint_downward_test_data): New variable.
13296 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13297 (rint_upward_test_data): New variable.
13298 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13299 (round_test_data): New variable.
13300 (round_test): Run tests with RUN_TEST_LOOP_f_f.
13301 (sin_test_data): New variable.
13302 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
13303 (sin_tonearest_test_data): New variable.
13304 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13305 (sin_towardzero_test_data): New variable.
13306 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13307 (sin_downward_test_data): New variable.
13308 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13309 (sin_upward_test_data): New variable.
13310 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13311 (sinh_test_data): New variable.
13312 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
13313 (sinh_tonearest_test_data): New variable.
13314 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13315 (sinh_towardzero_test_data): New variable.
13316 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13317 (sinh_downward_test_data): New variable.
13318 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13319 (sinh_upward_test_data): New variable.
13320 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13321 (sqrt_test_data): New variable.
13322 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
13323 (tan_test_data): New variable.
13324 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
13325 (tan_tonearest_test_data): New variable.
13326 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13327 (tan_towardzero_test_data): New variable.
13328 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13329 (tan_downward_test_data): New variable.
13330 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13331 (tan_upward_test_data): New variable.
13332 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13333 (tanh_test_data): New variable.
13334 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
13335 (tgamma_test_data): New variable.
13336 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
13337 (trunc_test_data): New variable.
13338 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
13339 (y0_test_data): New variable.
13340 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
13341 (y1_test_data): New variable.
13342 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
13343 (significand_test_data): New variable.
13344 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
13345
7187d844
CG
133462013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
13347
13348 [BZ #12387]
13349 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
13350
f63fae73
PT
133512013-05-10 Pino Toscano <toscano.pino@tiscali.it>
13352
13353 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
13354
8a67a4b3
AJ
133552013-05-10 Andreas Jaeger <aj@suse.de>
13356
13357 [BZ #15448]
13358 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
13359 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
13360
51df539d
JM
133612013-05-10 Joseph Myers <joseph@codesourcery.com>
13362
13363 * math/gen-libm-test.pl (adjust_arg): New function.
13364 (special_functions): Handle generating output in both functions
13365 and arrays.
13366 (parse_args): Likewise.
13367 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
13368 $in_func argument to parse_args.
13369 * math/libm-test.inc (struct test_f_f_data): New type.
13370 (IF_ROUND_INIT_): New macro.
13371 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
13372 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
13373 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
13374 (IF_ROUND_INIT_FE_UPWARD): Likewise.
13375 (ROUND_RESTORE_): Likewise.
13376 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
13377 (ROUND_RESTORE_FE_TONEAREST): Likewise.
13378 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
13379 (ROUND_RESTORE_FE_UPWARD): Likewise.
13380 (RUN_TEST_LOOP_f_f): New macro.
13381 (acos_test_data): New variable.
13382 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
13383 (acos_tonearest_test_data): New variable.
13384 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13385
5c637fe5
SP
133862013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
13387
13388 * benchtests/bench-skeleton.c (startup): Fix coding style.
13389
ab2b9461
JM
133902013-05-10 Joseph Myers <joseph@codesourcery.com>
13391
13392 [BZ #6809]
13393 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
13394 negative infinity argument.
13395 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
13396 negative infinity argument.
13397 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
13398 negative infinity argument.
13399 * math/libm-test.inc (tgamma_test): Expect errno to be set for
13400 domain errors.
13401
4c0fe6fe
FW
134022013-05-10 Florian Weimer <fweimer@redhat.com>
13403
13404 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
13405 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
13406 * iconv/iconv_prog.c (main): Likewise.
13407 * locale/programs/charmap-dir.c (charmap_readdir)
13408 (fopen_uncompressed): Likewise.
13409 * locale/programs/locfile.c (siblings_uncached)
13410 (write_locale_data): Use lstat64 instead of lstat.
13411 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
13412 stat.
13413
a3375d29
AJ
134142013-05-10 Andreas Jaeger <aj@suse.de>
13415
13416 [BZ #15395]
13417 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
13418 localization.
13419 Include <locale.h>.
13420
36129722
CD
134212013-05-09 Carlos O'Donell <carlos@redhat.com>
13422
13423 * elf/dl-close.c (_dl_close_worker): Add comments.
13424
faa7f811
JM
134252013-05-09 Joseph Myers <joseph@codesourcery.com>
13426
ed41ffef
JM
13427 [BZ #15359]
13428 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
13429 high part of pi/2.
13430 (__ieee754_rem_pio2l): Update comments.
13431
d0213cd0
JM
13432 [BZ #15429]
13433 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
13434 high part of pi/2.
13435 (__ieee754_rem_pio2l): Update comments.
13436
0d3e777a
JM
13437 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
13438 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
13439
24f56066
JM
13440 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
13441 M_PI_4l.
13442
faa7f811
JM
13443 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
13444 (M_PI_34_LOG10El): Likewise.
13445 (M_PI2_LOG10El): Likewise.
13446 (M_PI4_LOG10El): Likewise.
13447 (M_PI_LOG10El): Likewise.
13448
e9a5e0fd
AZ
134492013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13450
13451 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13452
d8cd06db
JM
134532013-05-08 Joseph Myers <joseph@codesourcery.com>
13454
a0d9f9d7
JM
13455 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
13456 (MINUS_ZERO_INIT): Likewise.
13457 (PLUS_INFTY_INIT): Likewise.
13458 (MINUS_INFTY_INIT): Likewise.
13459 (QNAN_VALUE_INIT): Likewise.
13460 (MAX_VALUE_INIT): Likewise.
13461 (MIN_VALUE_INIT): Likewise.
13462 (MIN_SUBNORM_VALUE_INIT): Likewise.
13463 (plus_zero): Initialize with PLUS_ZERO_INIT.
13464 (minus_zero): Initialize with MINUS_ZERO_INIT.
13465 (plus_infty): Initialize with PLUS_INFTY_INIT.
13466 (minus_infty): Initialize with MINUS_INFTY_INIT.
13467 (qnan_value): Initialize with QNAN_VALUE_INIT.
13468 (max_value): Initialize with MAX_VALUE_INIT.
13469 (min_value): Initialize with MIN_VALUE_INIT.
13470 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
13471
ae08db3b
JM
13472 * math/libm-test.inc (RUN_TEST_if_f): New macro.
13473 (jn_test): Use TEST_if_f instead of TEST_ff_f.
13474 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
13475 (yn_test): Use TEST_if_f instead of TEST_ff_f.
13476
f44bf14a
JM
13477 * math/libm-test.inc (RUN_TEST_f_f): New macro.
13478 (RUN_TEST_2_f): Likewise.
13479 (RUN_TEST_ff_f): Likewise.
13480 (RUN_TEST_fi_f): Likewise.
13481 (RUN_TEST_fl_f): Likewise.
13482 (RUN_TEST_fff_f): Likewise.
13483 (RUN_TEST_c_f): Likewise.
13484 (RUN_TEST_f_f1): Likewise.
13485 (RUN_TEST_fF_f1): Likewise.
13486 (RUN_TEST_fI_f1): Likewise.
13487 (RUN_TEST_ffI_f1): Likewise.
13488 (RUN_TEST_c_c): Likewise.
13489 (RUN_TEST_cc_c): Likewise.
13490 (RUN_TEST_f_i): Likewise.
13491 (RUN_TEST_f_i_tg): Likewise.
13492 (RUN_TEST_ff_i_tg): Likewise.
13493 (RUN_TEST_f_b): Likewise.
13494 (RUN_TEST_f_b_tg): Likewise.
13495 (RUN_TEST_f_l): Likewise.
13496 (RUN_TEST_f_L): Likewise.
13497 (RUN_TEST_sincos): Likewise.
13498 * math/gen-libm-test.pl (new_test): Take new argument to indicate
13499 whether to show exceptions. Do not include ");\n" in return
13500 value.
13501 (special_functions): Output call to RUN_TEST_sincos instead of
13502 check_float calls. Update calls to new_test.
13503 (parse_args): Output call to single RUN_TEST_* macro instead of
13504 check_* calls and other assignments. Update calls to new_test.
13505
d8cd06db
JM
13506 [BZ #2546]
13507 [BZ #2560]
13508 [BZ #5159]
13509 [BZ #15426]
13510 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
13511 input to result for tgamma overflow.
13512 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
13513 (gamma_coeff): New variable.
13514 (NCOEFF): New macro.
13515 (gamma_positive): New function.
13516 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
13517 underflow here. Use gamma_positive instead of exp (lgamma) for
13518 other arguments.
13519 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
13520 (gamma_coeff): New variable.
13521 (NCOEFF): New macro.
13522 (gammaf_positive): New function.
13523 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
13524 underflow here. Use gamma_positive instead of exp (lgamma) for
13525 other arguments.
13526 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
13527 (gamma_coeff): New variable.
13528 (NCOEFF): New macro.
13529 (gammal_positive): New function.
13530 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
13531 underflow here. Use gamma_positive instead of exp (lgamma) for
13532 other arguments.
13533 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
13534 (gamma_coeff): New variable.
13535 (NCOEFF): New macro.
13536 (gammal_positive): New function.
13537 (__ieee754_gammal_r): Handle positive infinity, overflow and
13538 underflow here. Handle NaN the same as positive infinity. Remove
13539 check x < 0xffffffff for negative integers. Use gamma_positive
13540 instead of exp (lgamma) for other arguments.
13541 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
13542 (gamma_coeff): New variable.
13543 (NCOEFF): New macro.
13544 (gammal_positive): New function.
13545 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
13546 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
13547 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
13548 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
13549 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
13550 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
13551 * sysdeps/generic/math_private.h (__gamma_productf): New
13552 prototype.
13553 (__gamma_product): Likewise.
13554 (__gamma_productl): Likewise.
13555 * math/Makefile (libm-calls): Add gamma_product.
13556 * math/libm-test.inc (tgamma_test): Add more tests.
13557 * sysdeps/i386/fpu/libm-test-ulps: Update.
13558 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13559
bb7cf681
OB
135602013-05-08 Ondřej Bílka <neleai@seznam.cz>
13561
13562 * benchtests/bench-skeleton.c (main): Preheat CPU.
13563
ba853947
AJ
135642013-05-07 Aurelien Jarno <aurelien@aurel32.net>
13565
13566 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
13567
8347c74c
RM
135682013-05-07 Roland McGrath <roland@hack.frob.com>
13569
13570 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
13571 and _dl_skip_args_internal.
13572
e8dd4791
CD
135732013-05-07 Carlos O'Donell <carlos@redhat.com>
13574
13575 * manual/message.texi (Message Translation): Talk about users.
13576 Message to key mapping impacts design.
13577
c7405830
RM
135782013-05-06 Roland McGrath <roland@hack.frob.com>
13579
a9173057
RM
13580 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
13581
976e2f03
RM
13582 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
13583
9723ffc5
RM
13584 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
13585 * sysdeps/wordsize-64/glob64.c: ... here.
13586
962e6658
RM
13587 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
13588 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
13589 New macros.
13590
ee586a6d
RM
13591 * debug/getlogin_r_chk.c: Moved to ...
13592 * login/getlogin_r_chk.c: ... here.
13593 * debug/Makefile (routines): Move getlogin_r_chk to ...
13594 * login/Makefile (routines): ... here.
13595 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
13596 * login/Versions (libc: GLIBC_2.4): ... here.
13597
355f9165
RM
13598 * io/poll.c (__poll): Renamed from poll.
13599 Add libc_hidden_def.
13600 (poll): Define as weak alias.
13601
bd9ffde6
RM
13602 * debug/ptsname_r_chk.c: Moved to ...
13603 * login/ptsname_r_chk.c: ... here.
13604 * debug/Makefile (routines): Move ptsname_r_chk to ...
13605 * login/Makefile (routines): ... here.
13606 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
13607 * login/Versions (libc: GLIBC_2.4): ... here.
13608
8fb16a04
RM
13609 * posix/getlogin.c: Moved to ...
13610 * login/getlogin.c: ... here.
13611 * posix/getlogin_r.c: Moved to ...
13612 * login/getlogin_r.c: ... here.
13613 * posix/getlogin_r.c: Moved to ...
13614 * login/getlogin_r.c: ... here.
13615 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
13616 * login/Makefile (routines): ... here.
13617 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
13618 * login/Versions (libc: GLIBC_2.0): ... here.
13619
b99b892f
RM
13620 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
13621 (setrlimit): Define as weak alias.
13622
c7405830
RM
13623 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
13624 Call __ names for open, ftruncate, and close.
13625 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
13626 (truncate): Define as weak alias.
13627
5bf96de5
JM
136282013-05-06 Joseph Myers <joseph@codesourcery.com>
13629
9ea3513c
JM
13630 * math/gen-libm-test.pl (parse_args): Initialize x before each
13631 test of frexp, modf and remquo.
13632
5bf96de5
JM
13633 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
13634 test signgam value.
13635
16e616a7
AZ
136362013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13637
13638 [BZ #15418]
13639 [BZ #15419]
13640 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
13641 internal tests.
13642 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
13643
d5e82754
RM
136442013-05-06 Roland McGrath <roland@hack.frob.com>
13645
13646 * elf/dl-writev.h: New file.
13647 * elf/dl-misc.c: Include it.
13648 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
13649 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
13650
a7548d41
JM
136512013-05-04 Joseph Myers <joseph@codesourcery.com>
13652
b7dab1e4
JM
13653 * math/libm-test.inc (noXFails): Remove variable.
13654 (noXPasses): Likewise.
13655 (BUILD_COMPLEX_INT): Remove macro.
13656 (print_screen): Remove xfail argument.
13657 (print_screen_max_error): Likewise.
13658 (update_stats): Likewise.
13659 (print_max_error): Likewise. Update calls to other affected
13660 functions.
13661 (print_complex_max_error): Likewise.
13662 (test_single_exception): Update calls to print_screen.
13663 (test_single_errno): Likewise.
13664 (check_float_internal): Remove xfail argument. Update calls to
13665 other affected functions.
13666 (check_float): Likewise.
13667 (check_complex): Likewise.
13668 (check_int): Likewise.
13669 (check_long): Likewise.
13670 (check_bool): Likewise.
13671 (check_longlong): Likewise.
13672 (main): Don't print noXFails and noXPasses.
13673 * math/gen-libm-test.pl (top level): Don't mention expected
13674 failure handling in comment.
13675 (new_test): Don't handle expected failures.
13676 (parse_args): Don't mention expected failure handling in comment.
13677 (generate_testfile): Don't handle expected failures.
13678 (parse_ulps): Likewise.
13679 (print_ulps_file): Likewise.
13680 (get_failure): Remove function.
13681 (output_test): Don't handle expected failures.
13682 * make/README.libm-test: Don't mention expected failure handling.
13683
a7548d41
JM
13684 * math/libm-test.inc (plus_zero): Make const. Add initializer.
13685 (minus_zero): Likewise.
13686 (plus_infty): Likewise.
13687 (minus_infty): Likewise.
13688 (qnan_value): Likewise.
13689 (max_value): Likewise.
13690 (min_value): Likewise.
13691 (min_subnorm_value): Likewise.
13692 (initialize): Do not initialize those variables dynamically.
13693
60bfd54c
RM
136942013-05-03 Roland McGrath <roland@hack.frob.com>
13695
cc0e6ed8
RM
13696 * io/open.c (__open_2): Moved to ...
13697 * io/open_2.c: ... this new file.
13698 * io/open64.c (__open64_2): Moved to ...
13699 * io/open64_2.c: ... this new file.
13700 * io/openat.c (__openat_2): Moved to ...
13701 * io/openat_2.c: ... this new file.
13702 * io/openat64.c (__openat64_2): Moved to ...
13703 * io/openat64_2.c: ... this new file.
13704 * io/Makefile (routines): Add them.
13705 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
13706 * sysdeps/unix/sysv/linux/open_2.c: File removed.
13707 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
13708 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
13709 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
13710 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
13711 (__openat64): Add hidden_ver.
13712 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
13713 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
13714
60bfd54c
RM
13715 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
13716 Separately conditionalize setting of GLRO(dl_sysinfo) so
13717 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
13718 as well, but the actual setting is only under [NEED_DL_SYSINFO].
13719
83e7640f
AZ
137202013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13721
13722 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
13723 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
13724 definition.
13725 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
13726 * sysdeps/unix/sysv/linux/powerpc/init-first.c
13727 (_libc_vdso_platform_setup): Add __vdso_time initialization.
13728 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
13729 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
13730
d5dc2af3
JM
137312013-05-03 Joseph Myers <joseph@codesourcery.com>
13732
c31a5b1e
JM
13733 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
13734 test signgam value.
13735
d5dc2af3
JM
13736 * math/libm-test.inc (hypot_test): Do not use
13737 IGNORE_ZERO_INF_SIGN.
13738
164fd39d
AJ
137392013-05-03 Andreas Jaeger <aj@suse.de>
13740
13741 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
13742 Linux 3.9.
13743 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
13744 (PF_MAX): Adjust for VSOCK change.
13745
8237f48c
AZ
137462013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13747
13748 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13749
9df02941
CD
137502013-05-02 Carlos O'Donell <carlos@redhat.com>
13751
13752 [BZ #15264]
13753 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
13754 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
13755 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
13756
d422395e
DM
137572013-05-02 David S. Miller <davem@davemloft.net>
13758
13759 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13760
a07c5731
OB
137612013-05-01 Ondřej Bílka <neleai@seznam.cz>
13762
13763 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
13764
1324e37f
RM
137652013-05-01 Roland McGrath <roland@hack.frob.com>
13766
13767 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
13768
0695940b
RS
137692013-05-01 Richard Smith <richard@metafoo.co.uk>
13770
bb5f27ad 13771 [BZ #14952]
0695940b
RS
13772 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
13773 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
13774 Use __attribute__ ((__gnu_inline__)).
13775 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
13776 Don't use __attribute__ ((__gnu_inline__)).
13777
10de07f5
JM
137782013-05-01 Joseph Myers <joseph@codesourcery.com>
13779
13780 [BZ #15423]
13781 * math/s_catan.c (__catan): Handle small real or imaginary part of
13782 input specially to avoid spurious underflow.
13783 * math/s_catanf.c (__catanf): Likewise.
13784 * math/s_catanh.c (__catanh): Likewise.
13785 * math/s_catanhf.c (__catanhf): Likewise.
13786 * math/s_catanhl.c (__catanhl): Likewise.
13787 * math/s_catanl.c (__catanl): Likewise.
13788 * math/libm-test.inc (catan_test): Add more tests.
13789 (catanh_test): Likewise.
13790 * sysdeps/i386/fpu/libm-test-ulps: Update.
13791 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13792
cb4d5414
AZ
137932013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13794
13795 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13796
caf84319
JM
137972013-04-30 Joseph Myers <joseph@codesourcery.com>
13798
13799 [BZ #15416]
13800 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
13801 accurately for denominator in atan2.
13802 * math/s_catanf.c (__catanf): Likewise.
13803 * math/s_catanh.c (__catanh): Likewise.
13804 * math/s_catanhf.c (__catanhf): Likewise.
13805 * math/s_catanhl.c (__catanhl): Likewise.
13806 * math/s_catanl.c (__catanl): Likewise.
13807 * math/libm-test.inc (catan_test): Add more tests.
13808 (catanh_test): Likewise.
13809 * sysdeps/i386/fpu/libm-test-ulps: Update.
13810 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13811
d569c6ee
SP
138122013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13813
6dbe713d
SP
13814 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
13815
f0ee064b
SP
13816 * benchtests/Makefile (bench): Remove slow benchmarks.
13817 * benchtests/atan-inputs: Add slow benchmark inputs.
13818 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
13819 (BENCH_FUNC): Accept variant offset.
13820 (VARIANT): Define.
13821 * benchtests/bench-skeleton.c (main): Run benchmark for each
13822 variant.
13823 * benchtests/cos-inputs: Add slow benchmark inputs.
13824 * benchtests/exp-inputs: Likewise.
13825 * benchtests/pow-inputs: Likewise.
13826 * benchtests/sin-inputs: Likewise.
13827 * benchtests/slowatan-inputs: Remove.
13828 * benchtests/slowatan.c: Remove.
13829 * benchtests/slowcos-inputs: Remove.
13830 * benchtests/slowcos.c: Remove.
13831 * benchtests/slowexp-inputs: Remove.
13832 * benchtests/slowexp.c: Remove.
13833 * benchtests/slowpow-inputs: Remove.
13834 * benchtests/slowpow.c: Remove.
13835 * benchtests/slowsin-inputs: Remove.
13836 * benchtests/slowsin.c: Remove.
13837 * benchtests/slowtan-inputs: Remove.
13838 * benchtests/slowtan.c: Remove.
13839 * benchtests/tan-inputs: Add slow benchmark inputs.
13840 * scripts/bench.pl: Parse comments and directives.
13841
d569c6ee
SP
13842 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
13843 in CPPFLAGS.
13844 ($(objpfx)bench-%.c): Remove *-ITER.
13845 * benchtests/bench-modf.c: Remove definition of ITER.
13846 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
13847 (main): Loop for DURATION seconds instead of fixed number of
13848 iterations.
13849 * scripts/bench.pl: Don't expect iterations in parameters.
13850
a6a242fe
RM
138512013-04-29 Roland McGrath <roland@hack.frob.com>
13852
13853 * io/fchdir.c (__fchdir): Renamed from fchdir.
13854 (fchdir): Define as weak alias.
13855
f2da7793
JM
138562013-04-29 Joseph Myers <joseph@codesourcery.com>
13857
13858 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
13859 (ERRNO_EDOM): Likewise.
13860 (ERRNO_ERANGE): Likewise.
13861 (noErrnoTests): New variable.
13862 (init_max_error): Set errno to 0.
13863 (test_single_errno): New function.
13864 (test_errno): Likewise.
13865 (check_float_internal): Call test_errno. Set errno to 0.
13866 (check_complex): Refer to errno tests in comment.
13867 (check_int): Call test_errno. Set errno to 0.
13868 (check_long): Likewise.
13869 (check_bool): Likewise.
13870 (check_longlong): Likewise.
13871 (cos_test): Use ERRNO_* flags for errno tests instead of
13872 check_int.
13873 (expm1_test): Likewise.
13874 (fmod_test): Likewise.
13875 (ilogb_test): Likewise.
13876 (lgamma_test): Likewise.
13877 (pow_test): Likewise.
13878 (remainder_test): Likewise.
13879 (sin_test): Likewise.
13880 (tan_test): Likewise.
13881 (yn_test): Likewise.
13882 (initialize): Set errno to 0.
13883 (main): Print number of errno tests.
13884 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
13885
b1a36ceb
AJ
138862013-04-29 Andreas Jaeger <aj@suse.de>
13887
c3ed8088
AJ
13888 [BZ #15084]
13889 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
13890 and RES_USEVC.
13891
f1a24198
AJ
13892 [BZ #15085]
13893 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
13894 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
13895 unimplemented.
13896
9ce3b2cb
AJ
13897 [BZ #15380]
13898 * stdlib/random.c (__initstate): Return NULL if
13899 __initstate fails.
13900
f1a24198 13901 [BZ #15086]
b1a36ceb
AJ
13902 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
13903 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
13904 RES_SNGLKUPREOP.
13905
7e7b6f36
AZ
139062013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13907
13908 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13909
4d14f449
JM
139102013-04-29 Joseph Myers <joseph@codesourcery.com>
13911
13912 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
13913 of individual tests.
13914 (casin_test): Likewise.
13915 (casinh_test): Likewise.
13916
5b4217d7
JM
139172013-04-27 Joseph Myers <joseph@codesourcery.com>
13918
13919 [BZ #15409]
13920 * math/s_catan.c (__catan): Handle arguments with large real or
13921 imaginary part separately without squaring.
13922 * math/s_catanf.c (__catanf): Likewise.
13923 * math/s_catanh.c (__catanh): Likewise.
13924 * math/s_catanhf.c (__catanhf): Likewise.
13925 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
13926 and redefine.
13927 (__catanhl): Handle arguments with large real or imaginary part
13928 separately without squaring.
13929 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
13930 and redefine.
13931 (__catanl): Handle arguments with large real or imaginary part
13932 separately without squaring.
13933 * math/libm-test.inc (catan_test): Add more tests.
13934 (catanh_test): Likewise.
13935 * sysdeps/i386/fpu/libm-test-ulps: Update.
13936 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13937
4220c3ef
AJ
139382013-04-27 Andreas Jaeger <aj@suse.de>
13939
13940 [BZ #15007]
13941 * stdlib/stdlib.h: Update guards for qecvt.
13942 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
13943 <stdlib.h>.
13944
4721b2d1
AM
139452013-04-27 Allan McRae <allan@archlinux.org>
13946
13947 * sysdeps/i386/fpu/libm-test-ulps: Update.
13948
f0302940
JM
139492013-04-26 Joseph Myers <joseph@codesourcery.com>
13950
9457fd95
JM
13951 [BZ #15406]
13952 * math/s_catan.c: Include <float.h>.
13953 (__catan): Ensure underflow exception occurs for underflowed
13954 result.
13955 * math/s_catanf.c: Include <float.h>.
13956 (__catanf): Ensure underflow exception occurs for underflowed
13957 result.
13958 * math/s_catanh.c: Include <float.h>.
13959 (__catanh): Ensure underflow exception occurs for underflowed
13960 result.
13961 * math/s_catanhf.c: Include <float.h>.
13962 (__catanhf): Ensure underflow exception occurs for underflowed
13963 result.
13964 * math/s_catanhl.c: Include <float.h>.
13965 (__catanhl): Ensure underflow exception occurs for underflowed
13966 result.
13967 * math/s_catanl.c: Include <float.h>.
13968 (__catanl): Ensure underflow exception occurs for underflowed
13969 result.
13970 * math/libm-test.inc (catan_test): Add more tests.
13971 (catanh_test): Likewise.
13972
f0302940
JM
13973 [BZ #15405]
13974 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
13975 underflowed result.
13976 * math/s_ccoshf.c (__ccoshf): Likewise.
13977 * math/s_ccoshl.c (__ccoshl): Likewise.
13978 * math/s_csin.c (__csin): Likewise.
13979 * math/s_csinf.c (__csinf): Likewise.
13980 * math/s_csinh.c (__csinh): Likewise.
13981 * math/s_csinhf.c (__csinhf): Likewise.
13982 * math/s_csinhl.c (__csinhl): Likewise.
13983 * math/s_csinl.c (__csinl): Likewise.
13984 * math/libm-test.inc (ccos_test): Add more tests.
13985 (ccosh_test): Likewise.
13986 (csin_test): Likewise.
13987 (csinh_test): Likewise.
13988
aa630f59
AZ
139892013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13990
13991 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
13992 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
13993 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
13994 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
13995 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
13996 powerpc/power5+/fpu folders.
13997 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
13998
13999
1b835983
MT
140002013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
14001
14002 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14003
73709b26
JM
140042013-04-25 Joseph Myers <joseph@codesourcery.com>
14005
14006 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
14007 additions to variable.
14008 [$(config-machine) = x86_64] (modules-names): Likewise.
14009 ($(objpfx)tst-audit3): Remove dependency.
14010 ($(objpfx)tst-audit3.out): Likewise.
14011 ($(objpfx)tst-audit4): Likewise.
14012 ($(objpfx)tst-audit4.out): Likewise.
14013 ($(objpfx)tst-audit5): Likewise.
14014 ($(objpfx)tst-audit5.out): Likewise.
14015 ($(objpfx)tst-audit6): Likewise.
14016 ($(objpfx)tst-audit6.out): Likewise.
14017 ($(objpfx)tst-audit7): Likewise.
14018 ($(objpfx)tst-audit7.out): Likewise.
14019 (tst-audit3-ENV): Remove variable.
14020 (tst-audit4-ENV): Likewise.
14021 (tst-audit5-ENV): Likewise.
14022 (tst-audit6-ENV): Likewise.
14023 (tst-audit7-ENV): Likewise.
14024 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
14025 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
14026 addition to variable.
14027 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
14028 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
14029 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
14030 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
14031 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
14032 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
14033 tst-audit3, tst-audit4 and tst-audit5.
14034 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
14035 tst-audit6 and tst-audit7.
14036 [$(subdir) = elf] (modules-names): Add audit modules for those
14037 tests.
14038 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
14039 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
14040 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
14041 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
14042 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
14043 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
14044 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
14045 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
14046 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
14047 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
14048 [$(subdir) = elf] (tst-audit3-ENV): New variable.
14049 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
14050 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
14051 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
14052 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
14053 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
14054 Likewise.
14055 [$(subdir) = elf && $(config-cflags-avx) = yes]
14056 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
14057 [$(subdir) = elf && $(config-cflags-avx) = yes]
14058 (CFLAGS-tst-auditmod4a.c): Likewise.
14059 [$(subdir) = elf && $(config-cflags-avx) = yes]
14060 (CFLAGS-tst-auditmod4b.c): Likewise.
14061 [$(subdir) = elf && $(config-cflags-avx) = yes]
14062 (CFLAGS-tst-auditmod6b.c): Likewise.
14063 [$(subdir) = elf && $(config-cflags-avx) = yes]
14064 (CFLAGS-tst-auditmod6c.c): Likewise.
14065 [$(subdir) = elf && $(config-cflags-avx) = yes]
14066 (CFLAGS-tst-auditmod7b.c): Likewise.
14067 * elf/tst-audit3.c: Move to ...
14068 * sysdeps/x86_64/tst-audit3.c: ... here.
14069 * elf/tst-audit4.c: Move to ...
14070 * sysdeps/x86_64/tst-audit4.c: ... here.
14071 * elf/tst-audit5.c: Move to ...
14072 * sysdeps/x86_64/tst-audit5.c: ... here.
14073 * elf/tst-audit6.c: Move to ...
14074 * sysdeps/x86_64/tst-audit6.c: ... here.
14075 * elf/tst-audit7.c: Move to ...
14076 * sysdeps/x86_64/tst-audit7.c: ... here.
14077 * elf/tst-auditmod3a.c: Move to ...
14078 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
14079 * elf/tst-auditmod3b.c: Move to ...
14080 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
14081 * elf/tst-auditmod4a.c: Move to ...
14082 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
14083 * elf/tst-auditmod4b.c: Move to ...
14084 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
14085 * elf/tst-auditmod5a.c: Move to ...
14086 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
14087 * elf/tst-auditmod5b.c: Move to ...
14088 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
14089 * elf/tst-auditmod6a.c: Move to ...
14090 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
14091 * elf/tst-auditmod6b.c: Move to ...
14092 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
14093 * elf/tst-auditmod6c.c: Move to ...
14094 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
14095 * elf/tst-auditmod7a.c: Move to ...
14096 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
14097 * elf/tst-auditmod7b.c: Move to ...
14098 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
14099
1ef74943
PP
141002013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
14101
14102 [BZ #15366]
14103 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
14104 define unconditionally.
14105 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
14106 define unconditionally.
14107 (INT8_C, INT16_C, etc.): Likewise.
14108
93fd48c5
MR
141092013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
14110
ae9552cf
MR
14111 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
14112 __ehdr_start with hidden visibility.
14113
93fd48c5
MR
14114 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
14115
418601aa
CD
141162013-04-24 Carlos O'Donell <carlos@redhat.com>
14117
14118 * math/libm-test.inc (cos_test): Use accurate hex constants.
14119 (sincost_test): Likewise.
14120
2f38fbfe
JM
141212013-04-24 Joseph Myers <joseph@codesourcery.com>
14122
5e221800
JM
14123 * math/libm-test.inc (catan_test): Add more tests.
14124 (catanh_test): Likewise.
14125
77f143fd
JM
14126 * math/s_catanf.c (__catanf): Use suffixed floating-point
14127 constants.
14128 * math/s_catanhf.c (__catanhf): Likewise.
14129 * math/s_catanhl.c (__catanhl): Likewise.
14130 * math/s_catanl.c (__catanl): Likewise.
14131
2f38fbfe
JM
14132 [BZ #15394]
14133 * math/s_catan.c (__catan): Calculate imaginary part of result
14134 with log1p not log unless computing log of number close to 0.
14135 * math/s_catanf.c (__catanf): Likewise.
14136 * math/s_catanl.c (__catanl): Likewise.
14137 * math/s_catanh.c (__catanh): Calculate real part of result with
14138 log1p not log unless computing log of number close to 0.
14139 * math/s_catanhf.c (__catanhf): Likewise.
14140 * math/s_catanhl.c (__catanhl): Likewise.
14141 * math/libm-test.inc (catan_test): Add more tests.
14142 (catanh_test): Likewise.
14143 * sysdeps/i386/fpu/libm-test-ulps: Update.
14144 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14145
45d69176
SP
141462013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
14147
14148 * benchtests/Makefile: Mention files in which fast and slow
14149 paths of math functions are implemented.
14150
87f51853
RM
141512013-04-23 Roland McGrath <roland@hack.frob.com>
14152
14153 * sysdeps/posix/timespec_get.c: New file.
14154
3c026539
AZ
141552013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14156
14157 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
14158 POWER.
14159 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
14160 for POWER.
14161 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
14162 powerpc/power5/fpu folders.
14163 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
14164 * benchtests/Makefile: Add modf testcase.
14165 * benchtests/bench-modf.c: New file: Benchmark test for mo
14166
ff491d14
SP
141672013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
14168
14169 [BZ #14888]
14170 * time/Makefile (tests): Add tst-strptime-whitespace.
14171 * time/strptime_l.c (get_number): Use ISSPACE.
14172 (__strptime_internal): Likewise.
14173 * time/tst-strptime-whitespace.c: New test case.
14174
7ed3f4e8
AS
141752013-04-23 Andreas Schwab <schwab@linux-m68k.org>
14176
14177 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
14178 member.
14179 (_nss_files_init): Set it here.
14180
5c95f7b6
HC
141812013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
14182
14183 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
14184 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
14185 unsigned.
14186
d34c9158
JBG
141872013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
14188
14189 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
14190
2169712d
SP
141912013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
14192
14193 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
14194 size just once.
14195
29c5de99
DM
141962013-04-21 David S. Miller <davem@davemloft.net>
14197
14198 * po/ru.po: Update Russion translation from translation project.
14199
ccdad15d
AC
142002013-04-17 Adam Conrad <adconrad@0c3.net>
14201
14202 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
14203 and setfsgid.
14204
0f122b8d
CD
142052013-04-17 Carlos O'Donell <carlos@redhat.com>
14206
5c5b07da 14207 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 14208 * configure: Regenerate.
5c5b07da 14209 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
14210 Add example to error message.
14211 * sysdeps/i386/configure: Regenerate.
14212
037714dd
SP
142132013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
14214
14215 * benchtests/Makefile (bench): Add cos, tan, slowcos and
14216 slowtan.
14217 * benchtests/cos-inputs: New file.
14218 * benchtests/slowcos-inputs: New file.
14219 * benchtests/slowcos.c: New file.
14220 * benchtests/slowtan-inputs: New file.
14221 * benchtests/slowtan.c: New file.
14222 * benchtests/tan-inputs: New file.
14223
e913141d
RM
142242013-04-16 Roland McGrath <roland@hack.frob.com>
14225
14226 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
14227 considered kosher.
14228
a2964074
SP
142292013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
14230
4856bcd2
SP
14231 * benchtests/Makefile: Include cppflags-iterator.mk to add
14232 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
14233
a2964074
SP
14234 * Makefile.in (bench-clean): New target.
14235 * benchtests/Makefile (bench-clean): Likewise.
14236
9fbf9aca
DH
142372013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
14238
14239 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
14240
207d1e2a
TS
142412013-04-15 Thomas Schwinge <thomas@codesourcery.com>
14242
14243 * stdio-common/tstdiomisc.c: Fix coding-style violation.
14244
306dfba9
AS
142452013-04-15 Andreas Schwab <schwab@suse.de>
14246
14247 * nscd/grpcache.c (cache_addgr): Properly check for short write.
14248 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14249 * nscd/pwdcache.c (cache_addpw): Likewise.
14250 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
14251 more than recsize.
14252
206a6699
SP
142532013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
14254
14255 * benchtests/Makefile (bench): Write all output to
14256 bench-out.tmp together.
14257
0582f6b3
AS
142582013-04-15 Andreas Schwab <schwab@suse.de>
14259
14260 * nscd/nscd.c (main): Don't fork again after closing files.
14261
acb4325f
SP
142622013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
14263
5cb26d0a
SP
14264 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
14265
acb4325f
SP
14266 * benchtests/Rules (bench-deps): Collect dependencies into a
14267 single variable. Add Makefile to dependencies.
14268 ($(objpfx)bench-%.c): Depend on bench-deps.
14269
47792506
RM
142702013-04-12 Roland McGrath <roland@hack.frob.com>
14271 Xavier Roche <roche+kml2@exalead.com>
14272
14273 [BZ #15361]
14274 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
14275 just that it's a file descriptor.
14276 * manual/llio.texi (Synchronizing AIO Operations): Update description
14277 for EBADF error from aio_fsync.
14278
8fc1bee5
SP
142792013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
14280
14281 * Rules (bench): Move target definition...
14282 * benchtests/Makefile: ... here.
14283
aba5e333
CD
142842013-04-11 Carlos O'Donell <carlos@redhat.com>
14285
14286 * math/libm-test.inc (cos_test): Fix PI/2 test.
14287 (sincos_test): Likewise.
14288 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
14289 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
14290
273cdee8
AS
142912013-04-11 Andreas Schwab <schwab@suse.de>
14292
6ecec3b6
AS
14293 [BZ #13988]
14294 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
14295 accept exponent character only when digits were seen.
14296 * stdio-common/Makefile (tests): Add bug26.
14297 * stdio-common/bug26.c: New file.
14298
273cdee8
AS
14299 [BZ #14293]
14300 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
14301 non-freeable.
14302
8da491f5
SP
143032013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14304
01dc6df9
SP
14305 * Makeconfig (rtld-prefix): Define built linker prefix.
14306 * Rules (run-bench): Use it.
14307 * math/Makefile (run-regen-ulps): Likewise.
14308
8da491f5
SP
14309 * Rules (bench): Remove eval.
14310
abe7f530
SP
143112013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14312 Roland McGrath <roland@hack.frob.com>
14313 Ondrej Bilka <neleai@seznam.cz>
14314
14315 [BZ #15346]
14316 * time/getdate.c: Include ctype.h and alloca.h.
14317 (__getdate_r): Trim leading and trailing spaces of input.
14318 * time/tst-getdate.c (tests): Add tests with leading and
14319 trailing spaces.
14320
61c23e62
RM
143212013-04-08 Roland McGrath <roland@hack.frob.com>
14322
14323 [BZ #14280]
14324 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
14325 when computing value.
14326
7208a313
CD
143272013-04-06 Carlos O'Donell <carlos@redhat.com>
14328
085b2d41
CD
14329 * math/README.libm-test (How can I generate "libm-test-ulps"?):
14330 Use testrun.sh to run libm tests.
14331
7208a313
CD
14332 [BZ #15309]
14333 * elf/dl-open.c (dl_open_worker): memset all of seen array.
14334
872c0acd
MM
143352013-04-06 Marko Myllynen <myllynen@redhat.com>
14336
14337 [BZ #15264]
14338 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
14339
26510bdd
CD
143402013-04-06 Carlos O'Donell <carlos@redhat.com>
14341
14342 * Makefile.in (regen-ulps): New target.
14343 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
14344 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
14345 [ifneq (no,$(PERL)] (regen-ulps): New target.
14346 [ifeq (no,$(PERL)] (regen-ulps): New target.
14347 * math/libm-test.inc (ulps_file_name): Define.
14348 (output_dir): New variable.
14349 (options): Add "output-dir" option.
14350 (parse_opt): Handle 'o' case.
14351 (main): If output_dir is non-NULL use it as a prefix
14352 otherwise use "".
14353 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
14354
a01f19c8
CD
143552013-04-06 Carlos O'Donell <carlos@redhat.com>
14356
14357 [BZ #10060, #10062]
14358 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
14359 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
14360 fail configure if __sync_val_compare_and_swap is not inlined.
14361 * sysdeps/i386/configure: Regenerate.
14362 * configure.in: Build for i686 when configured for i386.
14363 * configure: Regenerate.
14364 * README: Remove i386 reference.
14365
b7a329a5
CD
143662013-04-06 Carlos O'Donell <carlos@redhat.com>
14367
14368 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
14369 * sysdeps/s390/s390-64/sysdep.h: Likewise.
14370
bf0f50df
TS
143712013-04-05 Thomas Schwinge <thomas@codesourcery.com>
14372
ee091edf
TS
14373 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
14374 (lmsnanval): New variables.
14375 (F): Add conversion tests.
14376 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
14377 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
14378
a8b792d6
TS
14379 * stdio-common/tstdiomisc.c (F): Properly collect individual
14380 tests' results.
14381
a1cbf437
TS
14382 [BZ #14686, #15336]
14383 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
14384 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
14385 Instead, use input NaN values or generate a qNaN by arithmetic
14386 operation. Also fix bugs to comply with the standard.
14387 * math/libm-test.inc (remainder_test): Add more tests.
14388
8b43a0c9
TS
14389 [BZ #15335, #15342]
14390 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
14391 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
14392 input NaN values or generate a qNaN by arithmetic operation.
14393
d91da4ce
TS
14394 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
14395 unreachable code.
14396
bf0f50df
TS
14397 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
14398 definitions.
14399
05e166c8
JM
144002013-04-03 Joseph Myers <joseph@codesourcery.com>
14401
14402 [BZ #14478]
14403 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
14404 underflowed result.
14405 * math/s_cexpf.c (__cexpf): Likewise.
14406 * math/s_cexpl.c (__cexpl): Likewise.
14407 * math/libm-test.inc (cexp_test): Add more tests.
14408
1cef1b19
AS
144092013-04-03 Andreas Schwab <schwab@suse.de>
14410
14411 [BZ #15330]
14412 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
14413 order arrays from heap if bigger than alloca cutoff.
14414
74d87055
TS
144152013-04-03 Thomas Schwinge <thomas@codesourcery.com>
14416
14417 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
14418 (SNAN_TESTS_double): Refer to GCC PR56831.
14419 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
14420 GCC PR56828.
14421
d755bba4
SP
144222013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
14423
90d5d5bb
SP
14424 * Rules (bench): Move bench.out after the run is complete.
14425
73e0cd5d
SP
14426 * Rules (bench): Echo currently running benchmark.
14427
64aabd4b
SP
14428 * benchtests/Makefile (bench): Add atan and slowatan.
14429 * benchtests/atan-inputs: New file.
14430 * benchtests/slowatan-inputs: New file.
14431 * benchtests/slowatan.c: New file.
14432
c871eccd
SP
14433 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
14434 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
14435 its value.
14436
d755bba4
SP
14437 [BZ #15305]
14438 * sysdeps/unix/sysv/linux/kernel-features.h
14439 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
14440 __ASSUME_XFS_RESTRICTED_CHOWN.
14441 * sysdeps/unix/sysv/linux/pathconf.c
14442 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
14443 Save and restore errno.
14444
52ce4860
JM
144452013-04-02 Joseph Myers <joseph@codesourcery.com>
14446
14447 [BZ #15327]
14448 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
14449 arguments using __kernel_casinh.
14450 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
14451 arguments using __kernel_casinhf.
14452 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
14453 arguments using __kernel_casinhl.
14454 * math/libm-test.inc (cacosh_test): Add more tests.
14455 * sysdeps/i386/fpu/libm-test-ulps: Update.
14456 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14457
81f311c2
SP
144582013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
14459
e7906a47
SP
14460 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
14461 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
14462
92e3664b
SP
14463 * bench/Makefile (bench): Add sin and slowsin.
14464 * benchtests/sin-inputs: New file.
14465 * benchtests/slowsin-inputs: New file.
14466 * benchtests/slowsin.c: New file.
14467
81f311c2
SP
14468 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
14469 (bench): Add slowexp and slowpow.
14470 (exp-ITER): Increase iterations.
14471 (pow-ITER): Likewise.
14472 * benchtests/exp-inputs: Change input.
14473 * benchtests/pow-inputs: Likewise.
14474 * benchtests/slowexp-inputs: New file.
14475 * benchtests/slowexp.c: New file.
14476 * benchtests/slowpow-inputs: New file.
14477 * benchtests/slowpow.c: New file.
14478
ab0f1aa9
AZ
144792013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14480
14481 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
14482 instructions.
14483 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
14484 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
14485 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
14486 * benchtests/Makefile: Add rint benchtest.
14487 * benchtests/rint-inputs: Input for rint benchtest.
14488
57267616
TS
144892013-04-02 Thomas Schwinge <thomas@codesourcery.com>
14490
14491 * Versions.def (libm): Add GLIBC_2.18.
14492 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
14493 hidden libm prototypes.
14494 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
14495 * math/Makefile (libm-calls): Add s_issignaling.
14496 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
14497 __issignalingf, __issignalingl. Adjust all libm.abilist files.
14498 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
14499 declaration.
14500 * math/math.h [__USE_GNU] (issignaling): New macro.
14501 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
14502 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
14503 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
14504 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
14505 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
14506 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
14507 * manual/arith.texi (issignaling): New section.
14508 * manual/libm-err-tab.pl (@all_functions): Update comment.
14509 * math/gen-libm-test.pl (parse_args): Apply special handling for
14510 issignaling.
14511 * math/libm-test.inc (print_float, issignaling_test): New
14512 functions.
14513 (check_float_internal): Add issignaling checks.
14514 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
14515 default definition.
14516 * sysdeps/powerpc/math-tests.h: New file.
14517 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
14518 tests.
14519 * math/test-snan.c (TEST_FUNC): Likewise.
14520
6142896d
DM
145212013-03-30 David S. Miller <davem@davemloft.net>
14522
14523 * po/de.po: Update from translation team.
14524
ccc8cadf
JM
145252013-03-30 Joseph Myers <joseph@codesourcery.com>
14526
14527 [BZ #10357]
14528 * math/k_casinh.c (__kernel_casinh): Handle arguments with
14529 imaginary part less than 1.0 and real part less than 0.5
14530 specially.
14531 * math/k_casinhf.c (__kernel_casinhf): Likewise.
14532 * math/k_casinhl.c (__kernel_casinhl): Likewise.
14533 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
14534 (cacos_test): Add more tests.
14535 (casin_test): Likewise.
14536 (casinh_test): Likewise.
14537 * sysdeps/i386/fpu/libm-test-ulps: Update.
14538 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14539
0f6a8d4b
SP
145402013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14541
0d1029de
SP
14542 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
14543 ONE with its value.
14544
c2d94018
SP
14545 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
14546 (__pow_mp): Replace ONE and MONE with their values.
14547 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
14548 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
14549 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
14550 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
14551 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
14552 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
14553
27ec37f1
SP
14554 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
14555
a64d7e0e
SP
14556 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
14557 (__pow_mp): Replace ZERO and MZERO with their values.
14558 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
14559 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
14560 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
14561 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
14562 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
14563 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
14564 (__sqr): Likewise.
14565
d26dd3eb
SP
14566 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
14567
0f6a8d4b
SP
14568 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
14569
e57b0c61
RM
145702013-03-28 Roland McGrath <roland@hack.frob.com>
14571
14572 * include/stdlib.h [!SHARED] (__call_tls_dtors):
14573 Declare with __attribute__ ((weak)).
14574 * stdlib/exit.c (__libc_atexit) [!SHARED]:
14575 Call __call_tls_dtors only if it's not NULL.
14576
356b3480
RM
145772013-03-28 Roland McGrath <roland@hack.frob.com>
14578
288f7d79
RM
14579 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
14580 didn't do it already, then set _dl_phdr and _dl_phnum based on the
14581 magic __ehdr_start linker symbol if it's defined.
14582 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
14583 them up here if it was already done.
14584
dc0a0263
RM
14585 * elf/dl-support.c (_dl_phdr): Make pointer to const.
14586 (_dl_aux_init): Use const in cast when setting it.
14587 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
14588 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
14589 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
14590
3d3436ae
RM
14591 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
14592 Declare them here.
14593 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
14594 * csu/libc-tls.c: Nor here.
14595 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
14596
356b3480
RM
14597 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
14598 (__libc_message): Never call vsyslog.
14599
b0f1246a
AM
146002013-03-28 Alan Modra <amodra@gmail.com>
14601
14602 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
14603 Define as empty.
14604 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
14605 Likewise.
14606
fbbe2b9a
AZ
146072013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14608
14609 [BZ #15214]
14610 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
14611 underflow.
14612 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14613
1728ab37
SP
146142013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14615
7a86be6e
SP
14616 [BZ #15304]
14617 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
14618 Don't add gid passed as argument.
14619
1728ab37
SP
14620 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
14621
3a7182a1
JM
146222013-03-27 Joseph Myers <joseph@codesourcery.com>
14623
14624 [BZ #15307]
14625 * math/k_casinh.c (__kernel_casinh): Handle arguments with
14626 imaginary part between 1.0 and 1.5 and real part less than 0.5
14627 specially.
14628 * math/k_casinhf.c (__kernel_casinhf): Likewise.
14629 * math/k_casinhl.c (__kernel_casinhl): Likewise.
14630 * math/libm-test.inc (cacos_test): Add more tests.
14631 (casin_test): Likewise.
14632 (casinh_test): Likewise.
14633 * sysdeps/i386/fpu/libm-test-ulps: Update.
14634 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14635
6f2e90e7
SP
146362013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14637
5739f705
SP
14638 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
14639 constants.
14640 (norm): Likewise.
14641 (denorm): Likewise.
14642 (__dbl_mp): Likewise.
14643 (add_magnitudes): Likewise.
14644 (sub_magnitudes): Likewise.
14645 (__add): Likewise.
14646 (__sub): Likewise.
14647 (__mul): Likewise.
14648 (__sqr): Likewise.
14649 (__inv): Likewise.
14650 (__dvd): Likewise.
14651
e375e83d
SP
14652 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
14653 commented code.
14654 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
14655 (__dubcos): Likewise.
14656 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
14657 (__ieee754_acos): Likewise.
14658 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
14659 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
14660 (__exp1): Likewise.
14661 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
14662 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
14663 (log1): Likewise.
14664 (my_log2): Likewise.
14665 (checkint): Likewise.
14666 * sysdeps/ieee754/dbl-64/e_remainder.c
14667 (__ieee754_remainder): Likewise.
14668 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
14669 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
14670 (bsloww): Likewise.
14671 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
14672
6f2e90e7
SP
14673 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
14674 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
14675 MANTISSA_STORE_T to store computations on mantissa. Use
14676 macros for rounding and division.
14677 (denorm): Likewise.
14678 (__dbl_mp): Likewise.
14679 (add_magnitudes): Likewise.
14680 (sub_magnitudes): Likewise.
14681 (__mul): Likewise.
14682 (__sqr): Likewise.
14683 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
14684 powers of two in terms of TWOPOW macro.
14685 (mp_no): Make type of mantissa as MANTISSA_T.
14686 [!RADIXI]: Define RADIXI.
14687 [!TWO52]: Define TWO52.
14688 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
14689
fce14d4e
AZ
146902013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14691
14692 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
14693 llroundl symbol when building for PPC32.
14694
9ad027fb
MW
146952013-03-24 Mark H Weaver <mhw@netris.org>
14696
14697 * manual/arith.texi (Normalization Functions): Fix prototypes for
14698 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
14699
e42a38dd
AZ
147002013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14701
14702 [BZ #13889]
14703 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
14704 high value to check if expl overflow.
14705 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
14706 to check for underflow and overflow.
14707 * math/libm-test.inc: Add exp test.
14708
2e0fb521
DL
147092013-03-21 Dmitry V. Levin <ldv@altlinux.org>
14710
14711 [BZ #11120]
14712 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
14713 with NOT_IN_libc.
14714
b5784d95
AZ
147152013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14716
14717 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
14718 symbol.
14719
5aa4a1a1
TS
147202013-03-21 Thomas Schwinge <thomas@codesourcery.com>
14721
bdef0be7
TS
14722 * math/gen-libm-test.pl (parse_args, special_functions): Properly
14723 wrap blocks consisting of several statements.
14724
5aa4a1a1
TS
14725 * sysdeps/generic/math-tests.h: New file.
14726 * sysdeps/i386/fpu/math-tests.h: Likewise.
14727 * math/test-snan.c: Include it.
14728 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
14729
98c48fe5
JM
147302013-03-21 Joseph Myers <joseph@codesourcery.com>
14731
14732 [BZ #15285]
14733 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
14734 (__ieee754_j0l): Do not improve calculations using cos of twice
14735 input for inputs above LDBL_MAX / 2.0L.
14736 (__ieee754_y0l): Likewise.
14737 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
14738 (__ieee754_j1l): Do not improve calculations using cos of twice
14739 input for inputs above LDBL_MAX / 2.0L.
14740 (__ieee754_y1l): Likewise.
14741 * math/libm-test.inc (j0_test): Add another test.
14742 (j1_test): Likewise.
14743 (y0_test): Likewise.
14744 (y1_test): Likewise.
14745 * sysdeps/i386/fpu/libm-test-ulps: Update.
14746
3775a8bc
SP
147472013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14748
14749 * Rules ($(objpfx)bench-%.c): Include code from a C source
14750 file.
14751
0a1b2ae6
JM
147522013-03-21 Joseph Myers <joseph@codesourcery.com>
14753
14754 [BZ #15287]
14755 * math/k_casinh.c (__kernel_casinh): Handle arguments with
14756 imaginary part 1.0 and real part less than 0.5 specially.
14757 * math/k_casinhf.c (__kernel_casinhf): Likewise.
14758 * math/k_casinhl.c (__kernel_casinhl): Likewise.
14759 * math/libm-test.inc (cacos_test): Add more tests.
14760 (casin_test): Likewise.
14761 (casinh_test): Likewise.
14762 * sysdeps/i386/fpu/libm-test-ulps: Update.
14763 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14764
b33d4ce4
SP
147652013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14766
14767 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
14768 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
14769
bef0b507
JM
147702013-03-20 Joseph Myers <joseph@codesourcery.com>
14771
14772 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
14773 * config.make.in (config-cflags-sse4): Remove variable.
14774 (config-cflags-avx): Likewise.
14775 (config-cflags-sse2avx): Likewise.
14776 (config-cflags-novzeroupper): Likewise.
14777 (config-asflags-i686): Likewise.
14778 (have-mfma4): Likewise.
14779 (have-as-vis3): Likewise.
14780 (MIG): Likewise.
14781 * configure.in (MIG): Do not AC_SUBST.
14782 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
14783 (libc_cv_cc_sse4): Do not AC_SUBST.
14784 (libc_cv_cc_avx): Likewise.
14785 (libc_cv_cc_sse2avx): Likewise.
14786 (libc_cv_cc_novzeroupper): Likewise.
14787 (libc_cv_cc_fma4): Likewise.
14788 (libc_cv_as_i686): Likewise.
14789 (libc_cv_sparc_as_vis3): Likewise.
14790 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
14791 LIBC_CONFIG_VAR.
14792 (config-asflags-i686): Likewise.
14793 (config-cflags-avx): Likewise.
14794 (config-cflags-sse2avx): Likewise.
14795 (have-mfma4): Likewise.
14796 (config-cflags-novzeroupper): Likewise.
14797 * sysdeps/mach/configure.in (MIG): Likewise.
14798 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
14799 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
14800 LIBC_CONFIG_VAR.
14801 (config-cflags-avx): Likewise.
14802 (config-cflags-sse2avx): Likewise.
14803 (have-mfma4): Likewise.
14804 (config-cflags-novzeroupper): Likewise.
14805 * configure: Regenerated.
14806 * sysdeps/i386/configure: Likewise.
14807 * sysdeps/mach/configure: Likewise.
14808 * sysdeps/sparc/configure: Likewise.
14809 * sysdeps/x86_64/configure: Likewise.
14810
912cc4b3
RM
148112013-03-20 Roland McGrath <roland@hack.frob.com>
14812
14813 [BZ #14812]
14814 * locale/programs/localedef.c (options): Put N_ translation marker
14815 on argument names, not just descriptions.
14816
04eed2b0
MS
148172013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14818
14819 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
14820
a065ceff
OB
148212013-03-20 Ondřej Bílka <neleai@seznam.cz>
14822
9bb2a810 14823 [BZ #14176]
a065ceff
OB
14824 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
14825
a600e5ce
RM
148262013-03-19 Roland McGrath <roland@hack.frob.com>
14827
14828 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
14829 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
14830 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
14831 [!BEFORE_ABORT] (before_abort): New function.
14832 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
14833 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
14834 (writev_for_fatal): New function.
14835 (WRITEV_FOR_FATAL): New macro; call that.
14836 (backtrace_and_maps): New function.
14837 (BEFORE_ABORT): New macro; call that.
14838 (struct str_list): Type removed.
14839 (__libc_message, __libc_fatal): Functions removed.
14840 Include <sysdeps/posix/libc_fatal.c> instead.
14841
6b18bea6
JM
148422013-03-19 Joseph Myers <joseph@codesourcery.com>
14843
14844 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
14845 constants.
14846 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
14847 double constants.
14848
aaa8cb4b
AS
148492013-03-19 Andreas Schwab <schwab@suse.de>
14850
44673770
AS
14851 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
14852 * sysdeps/gnu/configure: Regenerate.
14853
aaa8cb4b
AS
14854 * configure.in: Substitute libc_cv_rtlddir.
14855 * configure: Regenerate.
14856 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
14857 * Makeconfig (rtlddir, inst_rtlddir): New variables.
14858 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
14859 * elf/Makefile (install-others, CFLAGS-interp.c)
14860 (ldso_install, common-ldd-rewrite): Likewise.
14861 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
14862 $(inst_slibdir)/$(rtld-installed-name).
14863 * scripts/rellns-sh: Add -p option.
14864 * Makerules (make-shlib-link): Use rellns-sh to get relative name
14865 for source.
14866
d3cfc668
SP
148672013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
14868
14869 * manual/nptl.texi: Renamed to ...
14870 * manual/threads.texi: ... this.
14871 * manual/Makefile (chapters): Update.
14872
0e2b9cdd
RM
148732013-03-18 Roland McGrath <roland@hack.frob.com>
14874
14875 [BZ #14812]
14876 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
14877 on argument names, not just descriptions.
0e2b9cdd
RM
14878 * malloc/memusagestat.c (options): Likewise.
14879 * nss/getent.c (options): Likewise.
63270c24
RM
14880
148812013-03-18 Benno Schulenberg <bensberg@justemail.net>
14882
14883 [BZ #14812]
14884 * iconv/iconv_prog.c (options): Put N_ translation marker
14885 on argument names, not just descriptions.
14886 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 14887
b2e1393c
OB
148882013-03-18 Ondrej Bilka <neleai@seznam.cz>
14889
14890 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
14891 implementation which is faster on all x86_64 architectures.
14892 Tested on AMD, Intel Nehalem, SNB, IVB.
14893 * sysdeps/x86_64/strnlen.S: Likewise.
14894
14895 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
14896 Remove all multiarch strlen and strnlen versions.
14897 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
14898 Remove strlen and strnlen related parts.
14899
14900 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
14901 Inline strlen part.
14902 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
14903
14904 * sysdeps/x86_64/multiarch/strlen.S: Remove.
14905 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
14906 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
14907 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
14908 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
14909 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
14910
ec4ff04d
CD
149112013-03-17 Carlos O'Donell <carlos@redhat.com>
14912
14913 * manual/memory.texi (Malloc Tunable Parameters):
14914 Sort parameters alphabetically. Add comments for missing entries.
14915
cd18e90a
DM
149162013-03-17 David S. Miller <davem@davemloft.net>
14917
14918 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14919
2a185d32
JM
149202013-03-16 Joseph Myers <joseph@codesourcery.com>
14921
d2f9799e
JM
14922 [BZ #15283]
14923 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
14924 for arguments at most half maximum finite value.
14925 * math/libm-test.inc (j0_test): Add more tests.
14926 (j1_test): Likewise.
14927 (y0_test): Likewise.
14928 (y1_test): Likewise.
14929 * sysdeps/i386/fpu/libm-test-ulps: Update.
14930 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14931
2a185d32
JM
14932 [BZ #14155]
14933 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
14934 1 / x and functions P and Q for arguments above 0x1p256L.
14935 (__ieee754_y0l): Likewise.
14936 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
14937 (__ieee754_y1l): Likewise.
14938 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
14939 (j1_test): Likewise.
14940 (y0_test): Likewise.
14941 (y1_test): Likewise.
14942
6cbec759
TS
149432013-03-16 Thomas Schwinge <thomas@codesourcery.com>
14944
14945 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
14946 variable.
14947
bc16e260
RM
149482013-03-15 Roland McGrath <roland@hack.frob.com>
14949
aefc9b8c
RM
14950 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
14951 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
14952 zero since it's initialized to EXEC_PAGESIZE.
14953
bc16e260
RM
14954 * sysdeps/unix/sysv/linux/ldsodefs.h
14955 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
14956 * sysdeps/generic/ldsodefs.h: ... here.
14957
a57da955
TS
149582013-03-15 Thomas Schwinge <thomas@codesourcery.com>
14959
af00a34d
TS
14960 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
14961
495ded2c
TS
14962 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
14963 math/test-snan.c.
14964 * math/test-snan.c: Renamed from
14965 sysdeps/powerpc/fpu/test-powerpc-snan.c.
14966 * math/Makefile (tests): Add test-snan.
14967 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
14968 test-powerpc-snan.
14969
777b0332
TS
14970 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
14971 SUFFIX. Initialize qNaN_var with __builtin_nan family of
14972 functions.
14973 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
14974 __builtin_nan family of functions.
14975 * math/libm-test.inc (initialize): Initialize qnan_value with
14976 __builtin_nan family of functions.
14977 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
14978 Remove variables.
14979 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
14980 Remove functions.
14981 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
14982 storage class. Initialize qNaN_var and sNaN_var with
14983 __builtin_nan and __builtin_nans families of functions,
14984 respectively.
14985
64d063b8
TS
14986 * math/libm-test.inc (acosh_test): Also test with qNaN input.
14987 (sqrt_test): Remove duplicate test with qNaN input.
14988 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
14989 (round_test, signbit_test, significand_test): Note missing +/-Inf
14990 as well as qNaN tests.
14991
67e971f1
TS
14992 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
14993 qNaN_var. Fix a few strings, too.
14994 * math/libm-test.inc (nan_value): Rename to qnan_value.
14995 * math/gen-libm-test.pl (%beautify): Adjust to that.
14996 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
14997 * math/test-misc.c (main): Likewise.
14998 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
14999 to __qnan_bytes, and __qnan_union, respectively.
15000 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
15001 Likewise.
15002 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
15003 and lqnanval, respectively.
15004 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
15005 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
15006 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
15007 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
15008
64487e12
TS
15009 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
15010 * math/test-misc.c (main) [__x86_64__]: Enable test for long
15011 doubles.
15012
e015e27b
TS
15013 * math/test-misc.c (main): Fix copy'n'pastos.
15014 * misc/tst-efgcvt.c (special): Likewise.
15015
a57da955
TS
15016 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
15017 Remove declarations.
15018
1e380345
SP
150192013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15020
15021 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
15022 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
15023 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
15024 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
15025
ef26eece
AZ
150262013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15027
15028 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
15029 macro to return vdso values correctly in IFUNC implementations.
15030 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
15031 Optimization by using IFUNC.
15032
8cfdb7e0
SP
150332013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15034 Richard Henderson <rth@redhat.com>
15035 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15036
15037 * Makefile.in (bench): New target.
15038 * NEWS: Mention the benchmark framework.
15039 * Rules (bench): Likewise.
15040 (binaries-bench): Generate binaries for functions to
15041 benchmark.
15042 * benchtests/Makefile: New makefile for benchmark tests.
15043 * benchtests/bench-skeleton.c: New skeleton file for benchmark
15044 programs.
15045 * benchtests/exp-inputs: New input file for EXP function.
15046 * benchtests/pow-inputs: New input file for POW function.
15047 * scripts/bench.pl: New script to generate source files for
15048 benchmark programs.
15049
bcda9880
SP
150502013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15051
d22ca8cd
SP
15052 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
15053 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
15054 computations on mantissa. Use macros for rounding and
15055 division.
15056 (denorm): Likewise.
15057 (__dbl_mp): Likewise.
15058 (add_magnitudes): Likewise.
15059 (sub_magnitudes): Likewise.
15060 (__mul): Likewise.
15061 (__sqr): Likewise.
15062 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
15063 powers of two in terms of TWOPOW macro.
15064 (mp_no): Make type of mantissa as MANTISSA_T.
15065 [!RADIXI]: Define RADIXI.
15066 [!TWO52]: Define TWO52.
15067 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
15068
bcda9880
SP
15069 * manual/nptl.texi (cindex): Modify threads to pthreads.
15070
06d5adfb
JM
150712013-03-15 Joseph Myers <joseph@codesourcery.com>
15072
15073 * sysdeps/x86_64/preconfigure: Regenerated.
15074
41c7328e
JM
150752013-03-14 Joseph Myers <joseph@codesourcery.com>
15076
15077 [BZ #14155]
15078 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
15079 0x1p28 and above.
15080 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
15081 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
15082 0x1p28 and above.
15083 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
15084 * math/libm-test.inc (j0_test): Do not allow one spurious
15085 underflow exception.
15086 (y1_test): Likewise.
15087
e25cfa60
SP
150882013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
15089
0409959c
SP
15090 * manual/Makefile (chapters): Add nptl.
15091 * manual/debug.texi (Debugging Support): Add link to Threads
15092 chapter.
15093 * manual/nptl.texi: New file.
15094
e25cfa60
SP
15095 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
15096
58a1335e
PB
150972013-03-14 Petr Baudis <pasky@ucw.cz>
15098
15099 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
15100 for non-NULL pointer before the memory validity test. Pointed
15101 out by Holger Brunck <holger.brunck@keymile.com>.
15102
9dc7c64f
AS
151032013-03-13 Andreas Schwab <schwab@suse.de>
15104
15105 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
15106 instead of .os.
15107
54206aa6
JM
151082013-03-13 Joseph Myers <joseph@codesourcery.com>
15109
15110 * timezone/zic.c: Update from tzcode 2013b.
15111
e98cdb38
CD
151122013-03-12 Carlos O'Donell <carlos@redhat.com>
15113
15114 * manual/install.texi (Configuring and compiling):
15115 Mention i686 and i586.
15116 * INSTALL: Regenerate.
15117
9967e003
RM
151182013-03-12 Roland McGrath <roland@hack.frob.com>
15119
15120 * sysdeps/init_array/elf-init.c: New file.
15121 * csu/elf-init.c
15122 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
15123 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
15124
15125 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
15126 __gmon_start__ as global, but as static with a .preinit_array pointer.
15127 * sysdeps/init_array/gmon-start.c: New file. Use that.
15128 * sysdeps/init_array/crti.S: New file, empty except for comments.
15129 * sysdeps/init_array/crtn.S: Likewise.
15130
e6b5a293 151312013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
15132
15133 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
15134 definining bcopy.
80f844c9
OB
15135 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15136 Remove Prefer_SSE_for_memop.
15137 * sysdeps/x86_64/multiarch/init-arch.h: Remove
15138 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
15139 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
15140 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
15141 memset-x86-64.
80f844c9 15142 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 15143 Remove bzero, memset ifunc support.
80f844c9
OB
15144 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
15145 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
15146 * sysdeps/x86_64/multiarch/memset.S: Likewise.
15147 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
15148
fb6b0fcb
AS
151492013-03-11 Andreas Schwab <schwab@suse.de>
15150
15151 [BZ #15234]
15152 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
15153 by SHLIB_COMPAT.
15154 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
15155 (GLIBC_2.16): Remove pthread_atfork.
15156
3e6bd4b1
PP
151572013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
15158
15159 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
15160 (ptestcases.h): Likewise.
15161
222d7f00
RM
151622013-03-08 Roland McGrath <roland@hack.frob.com>
15163
15164 * Makeconfig ($(common-objpfx)config.status): Depend on
15165 sysdeps/*/preconfigure{,.in} too.
15166
1ba4f030
JM
151672013-03-08 Joseph Myers <joseph@codesourcery.com>
15168
a222d91a
JM
15169 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
15170 (__free_hook): Use void * instead of __malloc_ptr_t.
15171 (__malloc_hook): Likewise.
15172 (__realloc_hook): Likewise.
15173 (__memalign_hook): Likewise.
15174 (__after_morecore_hook): Likewise.
15175 * malloc/arena.c (save_malloc_hook): Likewise.
15176 (save_free_hook): Likewise.
15177 * malloc/hooks.c (malloc_hook_ini): Likewise.
15178 (realloc_hook_ini): Likewise.
15179 (memalign_hook_ini): Likewise.
15180 * malloc/malloc.c (malloc_hook_ini): Likewise.
15181 (realloc_hook_ini): Likewise.
15182 (memalign_hook_ini): Likewise.
15183 (__free_hook): Likewise.
15184 (__malloc_hook): Likewise.
15185 (__realloc_hook): Likewise.
15186 (__memalign_hook): Likewise.
15187 (__libc_malloc): Likewise.
15188 (__libc_free): Likewise.
15189 (__libc_realloc): Likewise.
15190 (__libc_memalign): Likewise.
15191 (__libc_valloc): Likewise.
15192 (__libc_pvalloc): Likewise.
15193 (__libc_calloc): Likewise.
15194 (__posix_memalign): Likewise.
15195 * malloc/morecore.c (__sbrk): Likewise.
15196 (__default_morecore): Likewise.
15197
5cc45e10
JM
15198 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
15199
dd54b864
JM
15200 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
15201 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
15202 __malloc_ptrdiff_t.
15203
1ba4f030
JM
15204 * malloc/malloc.h (__malloc_size_t): Remove macro.
15205 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
15206 __malloc_size_t.
15207 (old_memalign_hook): Likewise.
15208 (old_realloc_hook): Likewise.
15209 (struct hdr): Likewise.
15210 (flood): Likewise.
15211 (mallochook): Likewise.
15212 (memalignhook): Likewise.
15213 (reallochook): Likewise.
15214 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
15215 (tr_old_realloc_hook): Likewise.
15216 (tr_old_memalign_hook): Likewise.
15217 (tr_mallochook): Likewise.
15218 (tr_reallochook): Likewise.
15219 (tr_memalignhook): Likewise.
15220
edf66e57
AZ
152212013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15222
15223 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
15224 default_ldbl_pack and using as default implementation.
15225 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
15226 implementation.
15227 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
15228 redundant definition.
15229 (ldbl_insert_mantissa): Likewise.
15230 (ldbl_canonicalize): Likewise.
15231 (ldbl_nearbyint): Likewise.
15232 (ldbl_pack): Rename to ldbl_pack_ppc.
15233 (ldbl_unpack): Rename to ldbl_unpack_ppc.
15234 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
15235 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
15236
6d9145d8
SP
152372013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
15238
15239 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
15240 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
15241 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
15242 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
15243 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
15244 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
15245 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
15246 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
15247
4dd4e157
AJ
152482013-03-07 Andreas Jaeger <aj@suse.de>
15249
15250 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15251 bits/mman-linux.h.
15252
adbb8027
SP
152532013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
15254
ce544b5b
SP
15255 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
15256 Include mpa.h and declare __MPEXP.
15257 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
15258 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
15259 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
15260 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
15261 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
15262 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
15263 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
15264
4cc149fd
SP
15265 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
15266 (__slowpow): Use long double EXPL and LOGL functions to
15267 compute POW.
15268 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
15269 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
15270 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
15271 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
15272 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
15273 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
15274
e6ebd4a7
SP
15275 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
15276 intermediate variable to calculate exponent.
15277 (__sqr): Likewise.
15278 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
15279 Likewise.
15280 (__sqr): Likewise.
15281
82a9811d
SP
15282 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
15283 [!NO__SQR]: Define __sqr.
15284 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
15285 and NO__SQR. Remove all code except __mul and __sqr. Include
15286 sysdeps/ieee754/dbl-64/mpa.c.
15287 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15288
adbb8027
SP
15289 [BZ #12723]
15290 * posix/Makefile (tests): Add tst-pathconf.
15291 * posix/tst-pathconf.c: New test case.
15292 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
15293 _PC_PIPE_BUF.
15294 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
15295
39120df9
PF
152962013-03-06 Patsy Franklin <pfrankli@redhat.com>
15297
15298 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
15299
67525cb8
AJ
153002013-03-06 Andreas Jaeger <aj@suse.de>
15301
664a9ce4
AJ
15302 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
15303 definition via __MAP_ANONYMOUS.
15304
8e39047d
AJ
15305 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
15306 it's not part of Linux headers.
15307
67525cb8
AJ
15308 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
15309 (MAP_HUGE_MASK): Define.
15310
15311 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
15312 Define.
15313 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
15314 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
15315 Define.
15316 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
15317 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
15318 Define.
15319 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
15320 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
15321 Define.
15322 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
15323
15324 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
15325 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
15326 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
15327 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
15328 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
15329 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
15330
15331 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
15332 Handle f2fs.
15333
15334 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15335 Handle f2fs and efivarfs.
15336
15337 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
15338 f2fs.
15339
15340 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
15341 (EFIVARFS_MAGIC): Add.
15342 (F2FS_LINK_MAX): Add.
15343
e1b42695
PP
153442013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
15345
15346 * stdio-common/vfprintf.c: Replace __builtin_expect with
15347 __glibc_unlikely.
15348
2d67d91a
JM
153492013-03-06 Joseph Myers <joseph@codesourcery.com>
15350
15351 [BZ #13550]
15352 * sysdeps/generic/bp-sym.h: Remove file.
15353 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
15354 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
15355 <bp-sym.h> and <bp-asm.h>.
15356 (__longjmp): Don't use BP_SYM.
15357 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
15358 and <bp-asm.h>.
15359 (memcpy): Don't use BP_SYM.
15360 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
15361 <bp-sym.h> and <bp-asm.h>.
15362 (memcpy): Don't use BP_SYM.
15363 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
15364 <bp-asm.h>.
15365 (memcpy): Don't use BP_SYM.
15366 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
15367 <bp-asm.h>.
15368 (memset): Don't use BP_SYM.
15369 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
15370 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
15371 (__bzero): Don't use BP_SYM.
15372 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
15373 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
15374 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
15375 <bp-sym.h> and <bp-asm.h>.
15376 (memcmp): Don't use BP_SYM. Remove comment about bounded
15377 pointers.
15378 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
15379 <bp-sym.h> and <bp-asm.h>.
15380 (memcpy): Don't use BP_SYM.
15381 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
15382 <bp-sym.h> and <bp-asm.h>.
15383 (memset): Don't use BP_SYM.
15384 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
15385 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
15386 (__bzero): Don't use BP_SYM.
15387 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
15388 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
15389 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
15390 <bp-sym.h> and <bp-asm.h>.
15391 (strncmp): Don't use BP_SYM. Remove comment about bounded
15392 pointers.
15393 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
15394 <bp-sym.h> and <bp-asm.h>.
15395 (memcpy): Don't use BP_SYM.
15396 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
15397 <bp-sym.h> and <bp-asm.h>.
15398 (memset): Don't use BP_SYM.
15399 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
15400 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
15401 (__bzero): Don't use BP_SYM.
15402 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
15403 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
15404 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
15405 <bp-sym.h> and <bp-asm.h>.
15406 (__memchr): Don't use BP_SYM.
15407 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
15408 <bp-sym.h> and <bp-asm.h>.
15409 (memcmp): Don't use BP_SYM. Remove comment about bounded
15410 pointers.
15411 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
15412 <bp-sym.h> and <bp-asm.h>.
15413 (memcpy): Don't use BP_SYM.
15414 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
15415 <bp-sym.h> and <bp-asm.h>.
15416 (__mempcpy): Don't use BP_SYM.
15417 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
15418 <bp-sym.h> and <bp-asm.h>.
15419 (__memrchr): Don't use BP_SYM.
15420 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
15421 <bp-sym.h> and <bp-asm.h>.
15422 (memset): Don't use BP_SYM.
15423 (__bzero): Likewise.
15424 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
15425 <bp-sym.h> and <bp-asm.h>.
15426 (__rawmemchr): Don't use BP_SYM.
15427 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
15428 <bp-sym.h> and <bp-asm.h>.
15429 (__STRCMP): Don't use BP_SYM.
15430 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
15431 <bp-sym.h> and <bp-asm.h>.
15432 (strchr): Don't use BP_SYM.
15433 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
15434 <bp-sym.h> and <bp-asm.h>.
15435 (__strchrnul): Don't use BP_SYM.
15436 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
15437 <bp-sym.h> and <bp-asm.h>.
15438 (strlen): Don't use BP_SYM.
15439 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
15440 <bp-sym.h> and <bp-asm.h>.
15441 (strncmp): Don't use BP_SYM. Remove comment about bounded
15442 pointers.
15443 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
15444 <bp-sym.h> and <bp-asm.h>.
15445 (__strnlen): Don't use BP_SYM.
15446 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
15447 <bp-sym.h> and <bp-asm.h>.
15448 (__GI__setjmp): Don't use BP_SYM.
15449 (_setjmp): Likewise.
15450 (__sigsetjmp): Likewise.
15451 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
15452 (L(start_addresses)): Don't use BP_SYM.
15453 (_start): Likewise.
15454 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
15455 <bp-asm.h>.
15456 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
15457 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
15458 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
15459 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
15460 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
15461 <bp-asm.h>.
15462 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
15463 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
15464 about bounded pointers.
15465 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
15466 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
15467 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
15468 <bp-asm.h>.
15469 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
15470 about bounded pointers. Remove GKM FIXME comments.
15471 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
15472 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
15473 <bp-asm.h>.
15474 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
15475 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
15476 Remove GKM FIXME comments.
15477 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
15478 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
15479 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
15480 <bp-asm.h>.
15481 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
15482 about bounded pointers. Remove GKM FIXME comment.
15483 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
15484 and <bp-asm.h>.
15485 (strncmp): Don't use BP_SYM. Remove comment about bounded
15486 pointers.
15487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
15488 <bp-sym.h> and <bp-asm.h>.
15489 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
15490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
15491 <bp-sym.h> and <bp-asm.h>.
15492 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
15493 comment.
15494
cdcf361f
PP
154952013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
15496
15497 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
15498 call free(NULL).
15499
3c4a2b15
DM
155002013-03-05 David S. Miller <davem@davemloft.net>
15501
15502 * po/es.po: Update from translation team.
15503
cdcf361f 155042013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
15505
15506 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
15507 <bits/mman-linux.h>.
15508 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
15509 is fine.
15510 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
15511 <bits/mman-linux.h> to end of file.
15512 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
15513 is fine.
15514 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
15515 <bits/mman-linux.h> to end of file.
15516 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
15517 is fine.
15518 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
15519 <bits/mman-linux.h> to end of file.
15520
15521 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
15522 (MCL_CURRENT, MCL_FUTURE): Define here.
15523
5f67c04f
AK
155242013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15525
8a4473cc 15526 [BZ #15232]
5f67c04f
AK
15527 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
15528 attribute_hidden.
15529 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
15530
c3e94a95
AK
155312013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15532
15533 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
15534 fourth parameter needed for rt_sigprocmask syscall.
15535 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
15536 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
15537 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
15538 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
15539 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
15540 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
15541
cfb6382a
JM
155422013-03-04 Joseph Myers <joseph@codesourcery.com>
15543
15544 [BZ #13550]
15545 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
15546 comment about bounded pointers.
15547 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
15548 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
15549
539d8e01
AJ
155502013-03-04 Andreas Jaeger <aj@suse.de>
15551
15552 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
15553 common definitions.
15554
15555 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
15556 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
15557 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
15558 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
15559 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
15560 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
15561
2e167a70 155622013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
15563
15564 [BZ #15055]
15565 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
15566 __ieee754_sqrl instead of __sqrl.
15567
68508633
JM
155682013-03-01 Joseph Myers <joseph@codesourcery.com>
15569
15570 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
15571 * sysdeps/powerpc/fpu_control.h: ... here.
15572 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
15573 * sysdeps/powerpc/bits/fenvinline.h: ... here.
15574 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
15575 * sysdeps/powerpc/bits/mathinline.h: ... here.
15576
7775448e
RM
155772013-03-01 Roland McGrath <roland@hack.frob.com>
15578
15579 * elf/dl-hwcaps.c (_dl_important_hwcaps):
15580 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
15581 to just [NEED_DL_SYSINFO_DSO].
15582 * elf/dl-support.c: Likewise.
15583 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
15584 * elf/rtld.c (dl_main): Likewise.
15585 * elf/setup-vdso.h (setup_vdso): Likewise.
15586 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
15587 * sysdeps/unix/sysv/linux/dl-sysdep.c
15588 (_dl_discover_osversion): Likewise.
15589
4e9b5995
CD
155902013-03-01 Carlos O'Donell <carlos@redhat.com>
15591
15592 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
15593 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
15594
e23872c8
SP
155952013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
15596
e5c74c63
SP
15597 * NEWS: Mention libm performance improvements and non-x86 PI
15598 futex support.
15599
e23872c8
SP
15600 * csu/libc-start.c (__pthread_initialize_minimal): Change
15601 function arguments.
15602 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
15603
b5510883
JM
156042013-02-28 Joseph Myers <joseph@codesourcery.com>
15605
15606 [BZ #13550]
15607 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
15608 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
15609 <bp-sym.h> and <bp-asm.h>.
15610 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
15611 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
15612 and <bp-asm.h>.
15613 (memcpy): Don't use BP_SYM.
15614 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
15615 <bp-asm.h>.
15616 (__mpn_add_n): Don't use BP_SYM.
15617 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
15618 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
15619 and <bp-asm.h>.
15620 (__mpn_addmul_1): Don't use BP_SYM.
15621 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
15622 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
15623 <bp-sym.h>.
15624 (_setjmp): Don't use BP_SYM.
15625 (__novmx_setjmp): Likewise.
15626 (__GI__setjmp): Likewise.
15627 (__vmx_setjmp): Likewise.
15628 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
15629 <bp-sym.h>.
15630 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
15631 (__bzero): Don't use BP_SYM.
15632 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
15633 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
15634 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
15635 <bp-sym.h> and <bp-asm.h>.
15636 (memcpy): Don't use BP_SYM.
15637 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
15638 <bp-sym.h> and <bp-asm.h>.
15639 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
15640 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
15641 <bp-sym.h> and <bp-asm.h>.
15642 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
15643 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
15644 <bp-asm.h>.
15645 (__mpn_lshift): Don't use BP_SYM.
15646 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
15647 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
15648 <bp-asm.h>.
15649 (memset): Don't use BP_SYM.
15650 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
15651 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
15652 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
15653 <bp-asm.h>.
15654 (__mpn_mul_1): Don't use BP_SYM.
15655 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
15656 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
15657 <bp-sym.h> and <bp-asm.h>.
15658 (memcmp): Don't use BP_SYM.
15659 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
15660 <bp-sym.h> and <bp-asm.h>.
15661 (memcpy): Don't use BP_SYM.
15662 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
15663 <bp-sym.h> and <bp-asm.h>.
15664 (memset): Don't use BP_SYM.
15665 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
15666 <bp-sym.h> and <bp-asm.h>.
15667 (strncmp): Don't use BP_SYM.
15668 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
15669 <bp-sym.h> and <bp-asm.h>.
15670 (memcpy): Don't use BP_SYM.
15671 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
15672 <bp-sym.h> and <bp-asm.h>.
15673 (memset): Don't use BP_SYM.
15674 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
15675 <bp-sym.h> and <bp-asm.h>.
15676 (__memchr): Don't use BP_SYM.
15677 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
15678 <bp-sym.h> and <bp-asm.h>.
15679 (memcmp): Don't use BP_SYM.
15680 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
15681 <bp-sym.h> and <bp-asm.h>.
15682 (memcpy): Don't use BP_SYM.
15683 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
15684 <bp-sym.h> and <bp-asm.h>.
15685 (__mempcpy): Don't use BP_SYM.
15686 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
15687 <bp-sym.h> and <bp-asm.h>.
15688 (__memrchr): Don't use BP_SYM.
15689 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
15690 <bp-sym.h> and <bp-asm.h>.
15691 (memset): Don't use BP_SYM.
15692 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
15693 <bp-sym.h> and <bp-asm.h>.
15694 (__rawmemchr): Don't use BP_SYM.
15695 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
15696 <bp-sym.h> and <bp-asm.h>.
15697 (__STRCMP): Don't use BP_SYM.
15698 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
15699 <bp-sym.h> and <bp-asm.h>.
15700 (strchr): Don't use BP_SYM.
15701 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
15702 <bp-sym.h> and <bp-asm.h>.
15703 (__strchrnul): Don't use BP_SYM.
15704 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
15705 <bp-sym.h> and <bp-asm.h>.
15706 (strlen): Don't use BP_SYM.
15707 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
15708 <bp-sym.h> and <bp-asm.h>.
15709 (strncmp): Don't use BP_SYM.
15710 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
15711 <bp-sym.h> and <bp-asm.h>.
15712 (__strnlen): Don't use BP_SYM.
15713 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
15714 <bp-asm.h>.
15715 (__mpn_rshift): Don't use BP_SYM.
15716 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
15717 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
15718 <bp-sym.h> and <bp-asm.h>.
15719 (__sigsetjmp): Don't use BP_SYM.
15720 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
15721 (L(start_addresses)): Don't use BP_SYM.
15722 (_start): Likewise.
15723 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
15724 <bp-asm.h>.
15725 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
15726 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
15727 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
15728 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
15729 <bp-asm.h>.
15730 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
15731 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
15732 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
15733 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
15734 <bp-asm.h>.
15735 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
15736 comments.
15737 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
15738 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
15739 <bp-asm.h>.
15740 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
15741 FIXME comments.
15742 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
15743 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
15744 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
15745 <bp-asm.h>.
15746 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
15747 comment.
15748 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
15749 and <bp-asm.h>.
15750 (strncmp): Don't use BP_SYM,
15751 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
15752 <bp-asm.h>.
15753 (__mpn_sub_n): Don't use BP_SYM.
15754 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
15755 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
15756 and <bp-asm.h>.
15757 (__mpn_submul_1): Don't use BP_SYM.
15758 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
15759 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
15760 <bp-sym.h> and <bp-asm.h>.
15761 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
15762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
15763 <bp-sym.h> and <bp-asm.h>.
15764 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
15765 comment.
15766
8d19fe64
SP
157672013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15768
15769 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
15770 Use ZK to minimize writes to Z.
15771 (sub_magnitudes): Simplify code a bit.
15772 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
15773 Use ZK to minimize writes to Z.
15774 (sub_magnitudes): Simplify code a bit.
15775
85bd816a
RM
157762013-02-27 Roland McGrath <roland@hack.frob.com>
15777
15778 * csu/gmon-start.c: Add special exception to license text.
15779
b5977bf2
RH
157802013-02-27 Richard Henderson <rth@redhat.com>
15781
15782 * scripts/config.guess: Update from config.git.
15783 * scripts/config.sub: Likewise.
15784
11d6e2f2
SP
157852013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15786
09c14ed2
SP
15787 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
15788
a688864e
SP
15789 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
15790
6295157a
SP
15791 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
15792
b8de2202
SP
15793 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
15794
11d6e2f2
SP
15795 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
15796
7e80ddb8
RM
157972013-02-26 Roland McGrath <roland@hack.frob.com>
15798
15799 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
15800 [$(build-shared = yes].
7e80ddb8 15801
7da6d9ed
SP
158022013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15803
45f05884
SP
15804 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
15805 (__mul): Reduce iterations for calculating mantissa.
15806
2236d359
SP
15807 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
15808 MPTWO.
15809 (__mpranred): Likewise.
15810
7da6d9ed
SP
15811 [BZ #15160]
15812 * malloc/memusagestat.c (main): Draw graphs for heap and stack
15813 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
15814
b7688c42
PE
158152013-02-26 Paul Eggert <eggert@cs.ucla.edu>
15816
15817 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
15818 Define __attribute__.
15819
53a5c423
SP
158202013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15821
15822 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
15823 unused.
15824 * posix/regex_internal.h (__attribute): Remove.
15825 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
15826 (re_string_context_at): Likewise.
15827 (bitset_not): Use __attribute__ and mark function as possibly
15828 unused.
15829 (bitset_merge): Likewise.
15830 (bitset_mask): Likewise.
15831 (re_string_char_size_at): Likewise.
15832 (re_string_wchar_at): Likewise.
15833 (re_string_elem_size_at): Likewise.
15834
60f5a8b5
SP
158352013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
15836
2a983a2e
SP
15837 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
15838 code.
15839 (cc32): Likewise.
15840
e69804d1
SP
15841 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
15842 (__acr): Likewise.
15843 (__cpy): Likewise.
15844 (norm): Likewise.
15845 (denorm): Likewise.
15846 (__dbl_mp): Likewise.
15847 (add_magnitudes): Likewise.
15848 (sub_magnitudes): Likewise.
15849 (__mul): Likewise.
15850 (__inv): Likewise.
15851
2f22a1e8
SP
15852 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
15853 style.
15854
8930ddc7
SP
15855 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
15856 style.
15857
dc60cb11
SP
15858 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
15859 code.
15860
60f5a8b5
SP
15861 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
15862 up changes with default code.
15863 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
15864 Likewise.
15865
b4d1fd33
AM
158662013-02-24 Allan McRae <allan@archlinux.org>
15867
faf6f8bc
AM
15868 * manual/socket.texi (The Internet Namespace): Order menu items
15869 to match that in the file.
15870
b4d1fd33
AM
15871 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
15872 node listing of the info page menu.
15873
2366713d
JM
158742013-02-21 Joseph Myers <joseph@codesourcery.com>
15875
15876 [BZ #13550]
15877 * sysdeps/i386/bp-asm.h: Remove file.
15878 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
15879 (PARMS): Do not use macros from bp-asm.h.
15880 (S1): Likewise.
15881 (S2): Likewise.
15882 (SIZE): Likewise.
15883 (__mpn_add_n): Do not use BP_SYM
15884 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
15885 "bp-asm.h".
15886 (PARMS): Do not use macros from bp-asm.h.
15887 (S1): Likewise.
15888 (SIZE): Likewise.
15889 (__mpn_addmul_1): Do not use BP_SYM
15890 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
15891 "bp-asm.h".
15892 (PARMS): Do not use macros from bp-asm.h.
15893 (SIGMSK): Likewise.
15894 (_setjmp): Likewise. Do not use BP_SYM.
15895 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
15896 "bp-asm.h".
15897 (PARMS): Do not use macros from bp-asm.h.
15898 (SIGMSK): Likewise.
15899 (setjmp): Likewise. Do not use BP_SYM.
15900 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
15901 "bp-asm.h".
15902 (PARMS): Do not use macros from bp-asm.h.
15903 (__frexp): Do not use BP_SYM.
15904 (frexp): Likewise.
15905 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
15906 "bp-asm.h".
15907 (PARMS): Do not use macros from bp-asm.h.
15908 (__frexpf): Do not use BP_SYM.
15909 (frexpf): Likewise.
15910 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
15911 "bp-asm.h".
15912 (PARMS): Do not use macros from bp-asm.h.
15913 (__frexpl): Do not use BP_SYM.
15914 (frexpl): Likewise.
15915 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
15916 "bp-asm.h".
15917 (PARMS): Do not use macros from bp-asm.h.
15918 (__remquo): Do not use BP_SYM.
15919 (remquo): Likewise.
15920 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
15921 "bp-asm.h".
15922 (PARMS): Do not use macros from bp-asm.h.
15923 (__remquof): Do not use BP_SYM.
15924 (remquof): Likewise.
15925 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
15926 "bp-asm.h".
15927 (PARMS): Do not use macros from bp-asm.h.
15928 (__remquol): Do not use BP_SYM.
15929 (remquol): Likewise.
15930 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
15931 "bp-asm.h".
15932 (PARMS): Do not use macros from bp-asm.h.
15933 (DEST): Likewise.
15934 (SRC): Likewise.
15935 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
15936 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
15937 "bp-asm.h".
15938 (PARMS): Do not use macros from bp-asm.h.
15939 (strlen): Do not use BP_SYM.
15940 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
15941 "bp-asm.h".
15942 (PARMS): Do not use macros from bp-asm.h.
15943 (S1): Likewise.
15944 (S2): Likewise.
15945 (SIZE): Likewise.
15946 (__mpn_add_n): Do not use BP_SYM.
15947 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
15948 "bp-asm.h".
15949 (PARMS): Do not use macros from bp-asm.h.
15950 (S1): Likewise.
15951 (SIZE): Likewise.
15952 (__mpn_addmul_1): Do not use BP_SYM.
15953 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
15954 weak_alias.
15955 (bzero): Likewise.
15956 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
15957 "bp-asm.h".
15958 (PARMS): Do not use macros from bp-asm.h.
15959 (S): Likewise.
15960 (SIZE): Likewise.
15961 (__mpn_lshift): Do not use BP_SYM.
15962 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
15963 "bp-asm.h".
15964 (PARMS): Do not use macros from bp-asm.h.
15965 (DEST): Likewise.
15966 (SRC): Likewise.
15967 (LEN): Likewise.
15968 (memcpy): Likewise. Do not use BP_SYM.
15969 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
15970 libc_hidden_def and weak_alias.
15971 (mempcpy): Do not use BP_SYM in weak_alias.
15972 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
15973 "bp-asm.h".
15974 (PARMS): Do not use macros from bp-asm.h.
15975 (DEST): Likewise.
15976 (LEN): Likewise.
15977 [!BZERO_P] (CHR): Likewise.
15978 (memset): Likewise. Do not use BP_SYM.
15979 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
15980 "bp-asm.h".
15981 (PARMS): Do not use macros from bp-asm.h.
15982 (S1): Likewise.
15983 (SIZE): Likewise.
15984 (__mpn_mul_1): Do not use BP_SYM.
15985 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
15986 "bp-asm.h".
15987 (PARMS): Do not use macros from bp-asm.h.
15988 (S): Likewise.
15989 (SIZE): Likewise.
15990 (__mpn_rshift): Do not use BP_SYM.
15991 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
15992 "bp-asm.h".
15993 (PARMS): Do not use macros from bp-asm.h.
15994 (STR): Likewise.
15995 (CHR): Likewise.
15996 (strchr): Likewise. Do not use BP_SYM.
15997 (index): Do not use BP_SYM in weak_alias.
15998 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
15999 "bp-asm.h".
16000 (PARMS): Do not use macros from bp-asm.h.
16001 (DEST): Likewise.
16002 (SRC): Likewise.
16003 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
16004 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
16005 "bp-asm.h".
16006 (PARMS): Do not use macros from bp-asm.h.
16007 (strlen): Do not use BP_SYM.
16008 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
16009 "bp-asm.h".
16010 (PARMS): Do not use macros from bp-asm.h.
16011 (S1): Likewise.
16012 (S2): Likewise.
16013 (SIZE): Likewise.
16014 (__mpn_sub_n): Do not use BP_SYM.
16015 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
16016 "bp-asm.h".
16017 (PARMS): Do not use macros from bp-asm.h.
16018 (S1): Likewise.
16019 (SIZE): Likewise.
16020 (__mpn_submul_1): Do not use BP_SYM.
16021 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
16022 "bp-asm.h".
16023 (PARMS): Do not use macros from bp-asm.h.
16024 (S1): Likewise.
16025 (S2): Likewise.
16026 (SIZE): Likewise.
16027 (__mpn_add_n): Do not use BP_SYM.
16028 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
16029 weak_alias.
16030 (bzero): Likewise.
16031 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
16032 "bp-asm.h".
16033 (PARMS): Do not use macros from bp-asm.h.
16034 (BLK2): Likewise.
16035 (LEN): Likewise.
16036 (memcmp): Do not use BP_SYM.
16037 (bcmp): Do not use BP_SYM in weak_alias.
16038 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
16039 "bp-asm.h".
16040 (PARMS): Do not use macros from bp-asm.h.
16041 (DEST): Likewise.
16042 (SRC): Likewise.
16043 (LEN): Likewise.
16044 (memcpy): Likewise. Do not use BP_SYM.
16045 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
16046 "bp-asm.h".
16047 (PARMS): Do not use macros from bp-asm.h.
16048 (DEST): Likewise.
16049 (SRC): Likewise.
16050 (LEN): Likewise.
16051 (memmove): Likewise. Do not use BP_SYM.
16052 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
16053 "bp-asm.h".
16054 (PARMS): Do not use macros from bp-asm.h.
16055 (DEST): Likewise.
16056 (SRC): Likewise.
16057 (LEN): Likewise.
16058 (__mempcpy): Likewise. Do not use BP_SYM.
16059 (mempcpy): Do not use BP_SYM in weak_alias.
16060 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
16061 "bp-asm.h".
16062 (PARMS): Do not use macros from bp-asm.h.
16063 (DEST): Likewise.
16064 (LEN): Likewise.
16065 [!BZERO_P] (CHR): Likewise.
16066 (memset): Likewise. Do not use BP_SYM.
16067 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
16068 "bp-asm.h".
16069 (PARMS): Do not use macros from bp-asm.h.
16070 (STR2): Likewise.
16071 (strcmp): Do not use BP_SYM.
16072 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
16073 "bp-asm.h".
16074 (PARMS): Do not use macros from bp-asm.h.
16075 (STR): Likewise.
16076 (DELIM): Likewise.
16077 [USE_AS_STRTOK_R] (SAVE): Likewise.
16078 (FUNCTION): Likewise. Do not use BP_SYM.
16079 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
16080 aliases.
16081 (strtok_r): Likewise.
16082 (__GI___strtok_r): Likewise.
16083 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
16084 (PARMS): Do not use macros from bp-asm.h.
16085 (S): Likewise.
16086 (SIZE): Likewise.
16087 (__mpn_lshift): Do not use BP_SYM.
16088 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
16089 (PARMS): Do not use macros from bp-asm.h.
16090 (STR): Likewise.
16091 (CHR): Likewise.
16092 (__memchr): Do not use BP_SYM.
16093 (memchr): Do not use BP_SYM in weak_alias.
16094 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
16095 (PARMS): Do not use macros from bp-asm.h.
16096 (BLK2): Likewise.
16097 (LEN): Likewise.
16098 (memcmp): Do not use BP_SYM.
16099 (bcmp): Do not use BP_SYM in weak_alias.
16100 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
16101 (PARMS): Do not use macros from bp-asm.h.
16102 (S1): Likewise.
16103 (SIZE): Likewise.
16104 (__mpn_mul_1): Do not use BP_SYM.
16105 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
16106 "bp-asm.h".
16107 (PARMS): Do not use macros from bp-asm.h.
16108 (STR): Likewise.
16109 (CHR): Likewise.
16110 (__rawmemchr): Do not use BP_SYM.
16111 (rawmemchr): Do not use BP_SYM in weak_alias.
16112 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
16113 (PARMS): Do not use macros from bp-asm.h.
16114 (S): Likewise.
16115 (SIZE): Likewise.
16116 (__mpn_rshift): Do not use BP_SYM.
16117 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
16118 (PARMS): Do not use macros from bp-asm.h.
16119 (SIGMSK): Likewise.
16120 (__sigsetjmp): Likewise. Do not use BP_SYM.
16121 * sysdeps/i386/start.S: Do not include "bp-sym.h".
16122 (_start): Do not use BP_SYM.
16123 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
16124 (PARMS): Do not use macros from bp-asm.h.
16125 (DEST): Likewise.
16126 (SRC): Likewise.
16127 (__stpcpy): Likewise. Do not use BP_SYM.
16128 (stpcpy): Do not use BP_SYM in weak_alias.
16129 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
16130 "bp-asm.h".
16131 (PARMS): Do not use macros from bp-asm.h.
16132 (DEST): Likewise.
16133 (SRC): Likewise.
16134 (LEN): Likewise.
16135 (__stpncpy): Likewise. Do not use BP_SYM.
16136 (stpncpy): Do not use BP_SYM in weak_alias.
16137 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
16138 (PARMS): Do not use macros from bp-asm.h.
16139 (STR): Likewise.
16140 (CHR): Likewise.
16141 (strchr): Likewise. Do not use BP_SYM.
16142 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
16143 "bp-asm.h".
16144 (PARMS): Do not use macros from bp-asm.h.
16145 (STR): Likewise.
16146 (CHR): Likewise.
16147 (__strchrnul): Likewise. Do not use BP_SYM.
16148 (strchrnul): Do not use BP_SYM in weak_alias.
16149 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
16150 "bp-asm.h".
16151 (PARMS): Do not use macros from bp-asm.h.
16152 (STOP): Likewise.
16153 (strcspn): Do not use BP_SYM.
16154 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
16155 "bp-asm.h".
16156 (PARMS): Do not use macros from bp-asm.h.
16157 (STR): Likewise.
16158 (STOP): Likewise.
16159 (strpbrk): Likewise. Do not use BP_SYM.
16160 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
16161 "bp-asm.h".
16162 (PARMS): Do not use macros from bp-asm.h.
16163 (STR): Likewise.
16164 (CHR): Likewise.
16165 (strrchr): Likewise. Do not use BP_SYM.
16166 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
16167 (PARMS): Do not use macros from bp-asm.h.
16168 (SKIP): Likewise.
16169 (strspn): Do not use BP_SYM.
16170 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
16171 (PARMS): Do not use macros from bp-asm.h.
16172 (STR): Likewise.
16173 (DELIM): Likewise.
16174 (SAVE): Likewise.
16175 (FUNCTION): Likewise. Do not use BP_SYM.
16176 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
16177 aliases.
16178 (strtok_r): Likewise.
16179 (__GI___strtok_r): Likewise.
16180 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
16181 (PARMS): Do not use macros from bp-asm.h.
16182 (S1): Likewise.
16183 (S2): Likewise.
16184 (SIZE): Likewise.
16185 (__mpn_sub_n): Do not use BP_SYM.
16186 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
16187 "bp-asm.h".
16188 (PARMS): Do not use macros from bp-asm.h.
16189 (S1): Likewise.
16190 (SIZE): Likewise.
16191 (__mpn_submul_1): Do not use BP_SYM.
16192 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
16193 <bp-sym.h>.
16194 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
16195 and <bp-asm.h>.
16196 (PARMS): Do not use macros from bp-asm.h.
16197 (FLAGS): Likewise.
16198 (PTID): Likewise.
16199 (TLS): Likewise.
16200 (CTID): Likewise.
16201 (__clone): Do not use BP_SYM.
16202 (clone): Do not use BP_SYM in weak_alias.
16203 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
16204 and <bp-asm.h>.
16205 (PARMS): Do not use macros from bp-asm.h.
16206 (LEN): Likewise.
16207 (__mmap64): Do not use BP_SYM.
16208 (mmap64): Do not use BP_SYM in weak_alias.
16209 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
16210 <bp-sym.h> and <bp-asm.h>.
16211 (PARMS): Do not use macros from bp-asm.h.
16212 (__posix_fadvise64_l64): Do not use BP_SYM.
16213 * sysdeps/unix/sysv/linux/i386/semtimedop.S
16214 (PARMS): Do not use macros from bp-asm.h.
16215 (NSOPS): Likewise.
16216 (semtimedop): Do not use BP_SYM.
16217 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
16218 and <bp-asm.h>.
16219
582a3cff
AM
162202013-02-21 Allan McRae <allan@archlinux.org>
16221
16222 * manual/message.texi (Charset conversion in gettext):
16223 Move @end statement to beginning of line.
16224
bab8a695
SP
162252013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16226
80945231
SP
16227 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
16228 static.
16229 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
16230 Likewise.
16231
bab8a695
SP
16232 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
16233 (denorm): Likewise.
16234 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
16235 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
16236
e21d7aa7
AK
162372013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16238
16239 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
16240 tail-call to the resolved function if pltexit isn't needed.
16241
4c7a4263
SP
162422013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16243
16244 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
16245 or Y being zero as being unlikely.
16246 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
16247 Likewise.
16248
41f49342
CD
162492013-02-20 Carlos O'Donell <carlos@redhat.com>
16250
16251 * manual/nss.texi (System Databases and Name Service Switch):
16252 Remove frobnicate @pxref.
16253
50022a93
TS
162542013-02-20 Thomas Schwinge <thomas@codesourcery.com>
16255
16256 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
16257 __attribute__ ((unused)) to __attribute__ ((__unused__)).
16258
08cbd996
PM
162592013-02-20 Petr Machata <pmachata@redhat.com>
16260
16261 * elf/elf.h (R_ARM_TARGET1): New macro.
16262 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
16263 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
16264 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
16265 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
16266 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
16267 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
16268 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
16269 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
16270 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
16271 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
16272 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
16273 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
16274 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
16275 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
16276 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
16277 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
16278 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
16279 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
16280 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
16281 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
16282 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
16283 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
16284 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
16285 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
16286 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
16287 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
16288 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
16289 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
16290 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
16291 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
16292 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
16293 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
16294 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
16295 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
16296 (R_ARM_THM_GOT_BREL12): Likewise.
16297 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
16298 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
16299 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
16300 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
16301 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
16302 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
16303 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
16304 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
16305 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
16306
c7b275d6
TS
163072013-02-20 Thomas Schwinge <thomas@codesourcery.com>
16308
16309 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
16310 __attribute_used__ to __attribute__ ((unused)).
16311
20cd7fb3
SP
163122013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
16313
16314 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
16315 powerpc mpa.c.
16316 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
16317 comment formatting.
16318 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
16319
92945b52
JM
163202013-02-19 Joseph Myers <joseph@codesourcery.com>
16321
16322 [BZ #13550]
16323 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
16324 Remove macro.
16325 (ENTER): Remove both macro definitions.
16326 (LEAVE): Likewise.
16327 (CHECK_BOUNDS_LOW): Likewise.
16328 (CHECK_BOUNDS_HIGH): Likewise.
16329 (CHECK_BOUNDS_BOTH): Likewise.
16330 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
16331 (RETURN_BOUNDED_POINTER): Likewise.
16332 (RETURN_NULL_BOUNDED_POINTER): Likewise.
16333 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
16334 (POP_ERRNO_LOCATION_RETURN): Likewise.
16335 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
16336 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16337 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
16338 macros.
16339 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16340 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
16341 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
16342 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
16343 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
16344 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
16345 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
16346 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
16347 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
16348 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
16349 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
16350 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
16351 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16352 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
16353 removed macros.
16354 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16355 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
16356 macros.
16357 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16358 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
16359 * sysdeps/i386/i586/memset.S (memset): Likewise.
16360 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
16361 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16362 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
16363 macros.
16364 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16365 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
16366 Change uses of L(2) to L(out).
16367 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
16368 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
16369 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
16370 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16371 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
16372 removed macros.
16373 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16374 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
16375 macros.
16376 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16377 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
16378 (RETURN): Do not use macro LEAVE.
16379 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
16380 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
16381 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
16382 * sysdeps/i386/i686/memset.S (memset): Likewise.
16383 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
16384 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
16385 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
16386 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
16387 Likewise.
16388 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16389 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
16390 L(1_2) and L(1_3) into L(1).
16391 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
16392 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
16393 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16394 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
16395 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
16396 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
16397 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
16398 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16399 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
16400 macros.
16401 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
16402 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16403 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
16404 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
16405 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
16406 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16407 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
16408 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
16409 * sysdeps/i386/strcspn.S (strcspn): Likewise.
16410 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
16411 * sysdeps/i386/strrchr.S (strrchr): Likewise.
16412 * sysdeps/i386/strspn.S (strspn): Likewise.
16413 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
16414 conditional code.
16415 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16416 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
16417 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
16418 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
16419 L(1_3) into L(1_1).
16420 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
16421 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16422 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
16423 macros.
16424 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16425
2389741a
JJ
164262013-02-19 Jakub Jelinek <jakub@redhat.com>
16427
16428 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
16429 macro.
16430
2016b3cd
SP
164312013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16432
e4f22324
SP
16433 * math/atest-exp.c (exp_mpn): Remove ROUND.
16434 * math/atest-exp2.c (exp_mpn): Likewise.
16435 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
16436
2016b3cd
SP
16437 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
16438 * stdlib/tst-tls-atexit-lib.c: Likewise.
16439 * stdlib/tst-tls-atexit.c: Likewise.
16440
4be9b544
MF
164412013-02-18 Mike Frysinger <vapier@gentoo.org>
16442
16443 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
16444 and __attribute_alloc_size__.
16445
2f62b9ee
MF
164462013-02-18 Mike Frysinger <vapier@gentoo.org>
16447
16448 * include/programs/xmalloc.h: Change __attribute_alloc_size to
16449 __attribute_alloc_size__.
16450 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
16451 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
16452
6ff444c4
MF
164532013-02-18 Mike Frysinger <vapier@gentoo.org>
16454
16455 * include/programs/xmalloc.h: New file.
16456 * catgets/gencat.c: Include it.
16457 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
16458 * elf/pldd.c: Likewise.
16459 * iconv/iconv_charmap.c: Likewise.
16460 * iconv/iconvconfig.c: Likewise.
16461 * iconv/strtab.c: Likewise.
16462 * locale/programs/locale.c: Likewise.
16463 * locale/programs/localedef.h: Likewise.
16464 * locale/programs/simple-hash.c: Likewise.
16465 * nscd/nscd.h: Likewise.
16466 * nss/makedb.c: Likewise.
16467 * sysdeps/generic/ldconfig.h: Likewise.
16468
be179c8a
SP
164692013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
16470
ba384f6e
SP
16471 * Versions.def: Add GLIBC_2.18.
16472 * include/link.h (struct link_map): New member l_tls_dtor_count.
16473 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
16474 (__call_tls_dtors): Likewise.
16475 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
16476 __cxa_thread_atexit_impl.
16477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16478 Likewise.
16479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16480 Likewise.
16481 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
16482 Likewise.
16483 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
16484 Likewise.
16485 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
16486 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
16487 Likewise.
16488 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
16489 Likewise.
16490 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
16491 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
16492 Likewise.
16493 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
16494 (tests): Add test case tst-tls-atexit.
16495 (modules-names): Add shared library for tst-tls-atexit.
85891aca 16496 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
16497 (GLIBC_PRIVATE): Add __call_tls_dtors.
16498 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
16499 for libstdc++.
16500 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
16501 * stdlib/tst-tls-atexit.c: New test case.
16502 * stdlib/tst-tls-atexit-lib.c: New test case.
16503
ffaa74cf 16504 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 16505
be179c8a
SP
16506 * elf/Versions (ld): Add _dl_find_dso_for_object.
16507 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
16508 * elf/dl-open.c (_dl_find_dso_for_object): New function.
16509 (dl_open_worker): Use _dl_find_dso_for_object.
16510 * elf/dl-sym.c (do_sym): Likewise.
16511 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
16512
f78b5caa
AK
165132013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16514
16515 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
16516 Syntactic changes only.
16517 (_dl_runtime_profile): Do a tail-call to the resolved function.
16518
29691210
JM
165192013-02-17 Joseph Myers <joseph@codesourcery.com>
16520
16521 [BZ #13550]
16522 * sysdeps/x86_64/bp-asm.h: Remove file.
16523 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
16524 <bp-sym.h> and <bp-asm.h>.
16525 (__clone): Do not use BP_SYM.
16526 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
16527 <bp-sym.h> and <bp-asm.h>.
16528 * sysdeps/unix/x86_64/sysdep.S: Likewise.
16529 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
16530 "bp-asm.h".
16531 (_setjmp): Do not use BP_SYM.
16532 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
16533 "bp-asm.h".
16534 (setjmp): Do not use BP_SYM.
16535 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
16536 libc_hidden_def.
16537 (mempcpy): Do not use BP_SYM in weak_alias.
16538 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
16539 "bp-asm.h".
16540 (strchr): Do not use BP_SYM.
16541 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
16542 "bp-asm.h".
16543 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
16544 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
16545 (_start): Do not use BP_SYM.
16546 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
16547 "bp-asm.h".
16548 (strcat): Do not use BP_SYM.
16549 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
16550 "bp-asm.h".
16551 (STRCMP): Do not use BP_SYM.
16552 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
16553 "bp-asm.h".
16554 (STRCPY): Do not use BP_SYM.
16555 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
16556 "bp-asm.h".
16557 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
16558 "bp-asm.h".
16559 (FUNCTION): Do not use BP_SYM.
16560 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
16561 weak_alias.
16562 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
16563
f238fd19
AJ
165642013-02-17 Andreas Jaeger <aj@suse.de>
16565
16566 * time/Versions: Sort entries.
16567 * string/Versions: Likewise.
16568 * resolv/Versions: Likewise.
16569 * posix/Versions: Likewise.
16570 * iconv/Versions: Likewise.
16571 * elf/Versions: Likewise.
16572 * wcsmbs/Versions: Likewise.
16573
bd07f23c 165742013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 16575
22af19f9
SP
16576 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
16577 loop termination condition.
16578
4709fe76
SP
16579 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
16580 variable to calculate EZ.
16581 (__sqr): Likewise.
2d0e0f29
SP
16582
16583 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
16584 the lower precision input.
16585
daaa7713
JM
165862013-02-15 Joseph Myers <joseph@codesourcery.com>
16587
16588 [BZ #13550]
16589 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
16590 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
16591 (run-via-rtld-prefix): Do not handle %-bp tests.
16592 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
16593 (all-object-suffixes): Remove .ob.
16594 (bppfx): Remove variable.
16595 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
16596 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
16597 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
16598 [$(build-bounded) = yes] (libtype.ob): Likewise.
16599 * Makerules (elide-routines.ob): Remove variable.
16600 (do-tests-clean): Do not handle *-bp.out.
16601 (common-mostlyclean): Do not handle *-bp and *-bp.out.
16602 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
16603 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
16604 (tests): Do not include $(tests-bp.out).
16605 (xtests): Do not include $(xtests-bp.out).
16606 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
16607 [$(build-bounded) = yes] ($(addprefix
16608 $(objpfx),$(binaries-bounded))): Remove rule.
16609 ($(objpfx)%-bp.out): Remove rule.
16610 * config.make.in (build-bounded): Remove variable.
16611 * crypt/Makefile [$(build-bounded) = yes]
16612 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
16613 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
16614 append to variable.
16615 [$(build-bounded) = yes] (install-lib): Likewise.
16616 [$(build-bounded) = yes] (generated): Likewise.
16617 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
16618 Remove rule.
16619 * intl/Makefile [$(build-bounded) = yes]
16620 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
16621 * math/Makefile [$(build-bounded) = yes]
16622 ($(tests:%=$(objpfx)%-bp): Likewise.
16623 * misc/Makefile [$(build-bounded) = yes]
16624 ($(objpfx)tst-tsearch-bp): Likewise.
16625 * nptl/Makeconfig (bounded-thread-library): Remove variable.
16626 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
16627 Remove dependency.
16628 * string/Makefile (o-objects.ob): Remove variable.
16629 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
16630 (CFLAGS-.ob): Remove variable.
16631 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
16632 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
16633 both definitions of variable.
16634 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
16635 (ASFLAGS-.ob): Remove variable.
16636
e97ed6dd
JM
166372013-02-14 Joseph Myers <joseph@codesourcery.com>
16638
2bdd4ca6
JM
16639 [BZ #13550]
16640 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
16641 Remove __BOUNDED_POINTERS__ from condition.
16642 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
16643 * string/bits/string2.h [!__NO_STRING_INLINES &&
16644 !__BOUNDED_POINTERS__]: Likewise.
16645 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
16646 Likewise.
16647 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
16648 Remove conditional code.
16649 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
16650 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
16651 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
16652 condition.
16653
e97ed6dd
JM
16654 [BZ #13550]
16655 * csu/libc-start.c: Do not include <bp-sym.h>.
16656 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
16657 * elf/dl-open.c: Do not include <bp-sym.h>.
16658 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
16659 * math/fegetenv.c: Do not include <bp-sym.h>.
16660 (fegetenv): Do not use BP_SYM in versioned symbols.
16661 * nptl/sysdeps/pthread/bits/libc-lockP.h
16662 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
16663 <bp-sym.h>.
16664 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16665 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
16666 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16667 (__pthread_mutex_destroy): Likewise.
16668 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16669 (__pthread_mutex_lock): Likewise.
16670 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16671 (__pthread_mutex_trylock): Likewise.
16672 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16673 (__pthread_mutex_unlock): Likewise.
16674 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16675 (__pthread_mutexattr_init): Likewise.
16676 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16677 (__pthread_mutexattr_destroy): Likewise.
16678 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16679 (__pthread_mutexattr_settype): Likewise.
16680 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16681 (__pthread_rwlock_init): Likewise.
16682 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16683 (__pthread_rwlock_destroy): Likewise.
16684 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16685 (__pthread_rwlock_rdlock): Likewise.
16686 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16687 (__pthread_rwlock_tryrdlock): Likewise.
16688 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16689 (__pthread_rwlock_wrlock): Likewise.
16690 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16691 (__pthread_rwlock_trywrlock): Likewise.
16692 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16693 (__pthread_rwlock_unlock): Likewise.
16694 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16695 (__pthread_key_create): Likewise.
16696 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16697 (__pthread_setspecific): Likewise.
16698 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16699 (__pthread_getspecific): Likewise.
16700 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
16701 Likewise.
16702 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16703 (_pthread_cleanup_push_defer): Likewise.
16704 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16705 (_pthread_cleanup_pop_restore): Likewise.
16706 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16707 (pthread_setcancelstate): Likewise.
16708 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
16709 <bp-sym.h>.
16710 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
16711 (memchr): Do not use BP_SYM in weak_alias.
16712 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
16713 (fegetenv): Do not use BP_SYM in versioned symbols.
16714 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
16715 (fesetenv): Do not use BP_SYM in versioned symbols.
16716 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
16717 (feupdateenv): Do not use BP_SYM in versioned symbols.
16718 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
16719 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
16720 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
16721 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
16722 (open64): Do not use BP_SYM in weak_alias.
16723 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
16724 (fegetenv): Do not use BP_SYM in versioned symbols.
16725 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
16726 (fesetenv): Do not use BP_SYM in versioned symbols.
16727 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
16728 (feupdateenv): Do not use BP_SYM in versioned symbols.
16729 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
16730 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
16731 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
16732 (feraiseexcept): Do not use BP_SYM in versioned symbols.
16733 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
16734 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
16735 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
16736 <bp-sym.h>.
16737 (__libc_start_main): Do not use BP_SYM.
16738
d6752ccd
SP
167392013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
16740
cb57ce60
SP
16741 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
16742 redundant return line.
16743 (norm): Likewise.
16744 (denorm): Likewise.
16745 (dbl_mp): Likewise.
16746 (sub_magnitudes): Likewise.
16747 (__add): Likewise.
16748 (__sub): Likewise.
16749 (__mul): Likewise.
16750 (__inv): Likewise.
16751 (__dvd): Likewise.
16752 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
16753 (norm): Likewise.
16754 (denorm): Likewise.
16755 (dbl_mp): Likewise.
16756 (sub_magnitudes): Likewise.
16757 (__add): Likewise.
16758 (__sub): Likewise.
16759 (__mul): Likewise.
16760 (__inv): Likewise.
16761 (__dvd): Likewise.
16762
f414520d
SP
16763 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
16764 instead of __mul.
16765 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
16766 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
16767 (cc32): Likewise.
16768
d6752ccd
SP
16769 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
16770 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
16771 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
16772 of __mul for squares.
16773 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
16774 function
16775 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
16776 Likewise.
16777 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
16778 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
16779
70d9946a
JM
167802013-02-13 Joseph Myers <joseph@codesourcery.com>
16781
16782 [BZ #13550]
16783 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
16784 code.
16785 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
16786 prototype or function definition. Rename ubp_* variables and
16787 parameters. Remove argv definitions conditional on
16788 [__BOUNDED_POINTERS__].
16789 * debug/backtrace.c (__backtrace): Do not use __unbounded.
16790 * elf/dl-runtime.c (_dl_fixup): Likewise.
16791 * include/set-hooks.h (RUN_HOOK): Likewise.
16792 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
16793 definition.
16794 * string/strcpy.c (strcpy): Do not use __unbounded.
16795 * sysdeps/generic/frame.h (struct layout): Likewise.
16796 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
16797 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
16798 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
16799 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
16800 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
16801 (__backtrace): Likewise.
16802 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
16803 use __ptrvalue.
16804 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
16805 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
16806 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
16807 Likewise.
16808 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
16809 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
16810 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
16811 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
16812 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
16813 Do not use __unbounded.
16814 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
16815 Rename __unboundedrlimits parameter to rlimits in prototype.
16816 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
16817 Do not use __unbounded.
16818 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
16819 not use __ptrvalue.
16820 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
16821 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
16822 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
16823 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
16824 __ptrvalue or __unbounded.
16825 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
16826 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
16827 use __unbounded.
16828 (__new_msgctl): Do not use __ptrvalue.
16829 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
16830 __unbounded.
16831 (__libc_msgrcv): Do not use __ptrvalue.
16832 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
16833 startup_info): Do not use __unbounded.
16834 (__libc_start_main): Likewise. Rename ubp_* variables and
16835 parameters. Remove argv definitions conditional on
16836 [__BOUNDED_POINTERS__].
16837 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
16838 __ptrvalue.
16839 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
16840 use __unbounded.
16841 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
16842 or __ptrvalue.
16843 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
16844 use __unbounded.
16845 (__new_shmctl): Do not use __ptrvalue.
16846 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
16847 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
16848 Likewise.
16849 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
16850 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
16851 (__libc_sigaction): Likewise.
16852 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
16853 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
16854 Likewise.
16855 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
16856
cc7834d6
OB
168572013-02-13 Ondřej Bílka <neleai@seznam.cz>
16858
ffb1ec7b 16859 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
16860
16861 * string/mempcpy.c: Implement by calling memcpy.
16862
bdf02814
SP
168632013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
16864
c2af38aa
SP
16865 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
16866
4e92d59e
SP
16867 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
16868 evaluation.
16869
909279a5
SP
16870 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
16871 values in the mantissa.
16872
bdf02814
SP
16873 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
16874 minimize writes to Z.
16875 (sub_magnitudes): Simplify code a bit.
16876
cd525923
RM
168772013-02-12 Roland McGrath <roland@hack.frob.com>
16878
16879 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
16880 from the message. The linker prefixes all warnings with that already.
16881
7e2f0d2d
AS
168822013-02-12 Andreas Schwab <schwab@suse.de>
16883
a445af0b
AS
16884 [BZ #15078]
16885 * posix/regexec.c (extend_buffers): Add parameter min_len.
16886 (check_matching): Pass minimum needed length.
16887 (clean_state_log_if_needed): Likewise.
16888 (get_subexp): Likewise.
16889 * posix/Makefile (tests): Add bug-regex34.
16890 (bug-regex34-ENV): Define.
16891 * posix/bug-regex34.c: New file.
16892
7e2f0d2d
AS
16893 [BZ #11561]
16894 * posix/regcomp.c (parse_bracket_exp): When looking up collating
16895 elements compare against the byte sequence of it, not its name.
16896 * posix/Makefile (tests): Add bug-regex35.
16897 (bug-regex35-ENV): Define.
16898 * posix/bug-regex35.c: New file.
16899
a175b684
TV
169002013-02-11 Tom de Vries <tom@codesourcery.com>
16901
16902 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
16903 comment.
16904 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
16905 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
16906 (CHECK_EOL): Add undef.
16907
310998fe 169082013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
16909
16910 * bits/stdlib-bsearch.h: New file.
16911 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 16912 * stdlib/stdlib.h: Likewise.
41eda41d 16913
8ded91fb
RM
169142013-02-11 Roland McGrath <roland@hack.frob.com>
16915
16916 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
16917 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
16918 declaration.
16919 * manual/search.texi (Array Search Function): Add missing const in
16920 lfind prototype.
16921 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
16922 declaration to use rlim_t.
16923 (Basic Scheduling Functions): Remove erroneous const from
16924 sched_getparam prototype. Remove erroneous * from
16925 sched_get_priority_max and sched_get_priority_min prototypes.
16926 (Resource Usage): Fix summary @comment on vtimes to refer to
16927 sys/vtimes.h rather than vtimes.h.
16928 Add missing *s in vtimes prototype.
16929 (Limits on Resources): Fix ulimit prototype to return long int.
16930 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
16931 prototypes to use long int rather than double.
16932 (BSD Random): Fix initstate and setstate to use char *, not void *.
16933 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
16934 prototype to make second argument 'struct aiocb64 *const[]'.
16935 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
16936 (Status of AIO Operations): Remove erroneous const in aio_return and
16937 aio_return64 prototypes.
16938 (Synchronizing I/O): Fix sync prototype to return void.
16939 * manual/startup.texi (Suboptions): Remove an erroneous const in
16940 getsubopt prototype.
16941 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
16942 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
16943 use size_t rather than int.
16944 (Scanning All Users): Likewise for getpwent_r.
16945 (Setting Groups): Add missing const to setgroups prototype.
16946 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
16947 * manual/socket.texi (Host Names): Fix gethostbyaddr and
16948 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
16949 'const void *' rather than 'const char *'.
16950 (Host Address Functions): Likewise for inet_ntop.
16951 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
16952 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
16953 ssize_t for return value.
16954 (Sending Data): Likewise for send, sendto, sendmsg.
16955 (Socket Option Functions): Add a missing const in setsockopt prototype.
16956 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
16957 use wchar_t for the argument.
16958 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
16959 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
16960 take no arguments.
16961 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
16962 double/float/long double for second argument.
16963 Fix return types of significand, significandf, significandl.
16964 * manual/filesys.texi (Setting Permissions): Use mode_t for second
16965 argument in fchmod prototype.
16966 (File Owner): Use uid_t and gid_t in fchown prototype.
16967 (File Times): Add const to utimes, futimes, and lutimes prototypes.
16968 (Making Special Files): Use mode_t and dev_t in mknod prototype.
16969 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
16970 use 'const struct dirent **' as argument types to CMP function pointer
16971 argument.
16972 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
16973 (File Times): Fix summary magic @comment for struct utimbuf and utime
16974 to refer to utime.h, not time.h.
16975 * manual/string.texi (Argz Functions): Add missing const in
16976 argz_extract and argz_next prototypes.
16977 (Finding Tokens in a String): Likewise for basename.
16978 (String/Array Comparison): Fix typo in wcscasecmp prototype.
16979 (Copying and Concatenation): Fix typo in wmemmove prototype.
16980 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
16981 (Signal Stack): Remove erroneous const in sigstack prototype.
16982 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
16983 prototype.
16984 (Simple Calendar Time): Likewise for stime.
16985 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
16986 prototype.
16987 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
16988 say sys/sysctl.h instead.
16989 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
16990 and vsyslog prototypes.
16991
fe77fe6d
TV
169922013-02-11 Tom de Vries <tom@codesourcery.com>
16993
16994 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
16995 Remove.
16996
3a09b620
RM
169972013-02-11 Roland McGrath <roland@hack.frob.com>
16998
16999 * misc/sys/mman.h: Fix typo in mremap comment.
17000
550a0b89
RM
170012013-02-08 Roland McGrath <roland@hack.frob.com>
17002
17003 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
17004 the '\0' terminator.
17005
a2da1673
JM
170062013-02-08 Joseph Myers <joseph@codesourcery.com>
17007
17008 [BZ #13550]
17009 * debug/segfault.c: Don't include <bp-checks.h>.
17010 * sysdeps/generic/bp-checks.h: Remove file.
17011 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
17012 (__GETDENTS): Don't use CHECK_N.
17013 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
17014 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
17015 (__getgroups): Don't use CHECK_N.
17016 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
17017 (setgroups): Don't use CHECK_N.
17018 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
17019 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
17020 (__libc_msgrcv): Don't use CHECK_N.
17021 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
17022 (__libc_msgsnd): Don't use CHECK_N.
17023 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
17024 <bp-checks.h>.
17025 (__libc_pread): Don't use CHECK_N.
17026 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
17027 include <bp-checks.h>.
17028 (__libc_pread64): Don't use CHECK_N.
17029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
17030 include <bp-checks.h>.
17031 (__libc_pwrite): Don't use CHECK_N.
17032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
17033 include <bp-checks.h>.
17034 (__libc_pwrite64): Don't use CHECK_N.
17035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
17036 <bp-checks.h>.
17037 (__libc_pread): Don't use CHECK_N.
17038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
17039 include <bp-checks.h>.
17040 (__libc_pread64): Don't use CHECK_N.
17041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
17042 include <bp-checks.h>.
17043 (__libc_pwrite): Don't use CHECK_N.
17044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
17045 include <bp-checks.h>.
17046 (__libc_pwrite64): Don't use CHECK_N.
17047 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
17048 (do_pread): Don't use CHECK_N.
17049 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
17050 (do_pread64): Don't use CHECK_N.
17051 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
17052 (do_pwrite): Don't use CHECK_N.
17053 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
17054 (do_pwrite64): Don't use CHECK_N.
17055 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
17056 (__libc_readv): Don't use CHECK_N.
17057 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
17058 (semop): Don't use CHECK_N.
17059 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
17060 <bp-checks.h>.
17061 (semtimedop): Don't use CHECK_N.
17062 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
17063 (__libc_pread): Don't use CHECK_N.
17064 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
17065 <bp-checks.h>.
17066 (__libc_pread64): Don't use CHECK_N.
17067 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
17068 <bp-checks.h>.
17069 (__libc_pwrite): Don't use CHECK_N.
17070 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
17071 <bp-checks.h>.
17072 (__libc_pwrite64): Don't use CHECK_N.
17073 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
17074 <bp-checks.h>.
17075 (__libc_msgrcv): Don't use CHECK_N.
17076 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
17077 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
17078 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
17079 (__libc_writev): Don't use CHECK_N.
17080
b84660a8
RM
170812013-02-08 Roland McGrath <roland@hack.frob.com>
17082
7f3e75f8
RM
17083 * string/strcpy.c: Removed unused variable.
17084
b84660a8
RM
17085 * Makeconfig (+sysdep-includes): Define with := rather than =.
17086 Use an existing include/ subdir of each sysdeps dir before it.
17087
471514d3
CD
170882013-02-08 Carlos O'Donell <carlos@redhat.com>
17089
17090 * nscd/connection.c (register_traced_file): Comment function.
17091 [HAVE_INOTIFY] (union __inev): Define.
17092 [HAVE_INOTIFY] (inotify_check_files): New function.
17093 [HAVE_INOTIFY] (clear_db_cache): Likewise.
17094 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
17095 clear_db_cache.
17096 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
17097
b2d3c3be
CD
170982013-02-08 Carlos O'Donell <carlos@redhat.com>
17099
17100 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
17101 loaded if not already and that a failure is permanent.
17102
b39949d2
CD
171032013-02-08 Carlos O'Donell <carlos@redhat.com>
17104
ddacd1db 17105 [BZ #15006]
b39949d2
CD
17106 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
17107 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
17108
b2c9eff4
JM
171092013-02-08 Joseph Myers <joseph@codesourcery.com>
17110
f3aae3f3
JM
17111 [BZ #13550]
17112 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
17113 (CHECK_1_NULL_OK): Likewise.
17114 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
17115 (__fxstat): Do not use CHECK_1.
17116 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
17117 <bp-checks.h>.
17118 (___fxstat64): Do not use CHECK_1.
17119 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
17120 <bp-checks.h>.
17121 (__fxstatat): Do not use CHECK_1.
17122 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
17123 <bp-checks.h>.
17124 (__fxstatat64): Do not use CHECK_1.
17125 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
17126 <bp-checks.h>.
17127 (__fxstat): Do not use CHECK_1.
17128 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
17129 <bp-checks.h>.
17130 (__fxstatat): Do not use CHECK_1.
17131 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
17132 <bp-checks.h>.
17133 (__getresgid): Do not use CHECK_1.
17134 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
17135 <bp-checks.h>.
17136 (__getresuid): Do not use CHECK_1.
17137 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
17138 <bp-checks.h>.
17139 (__lxstat): Do not use CHECK_1.
17140 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
17141 <bp-checks.h>.
17142 (__old_msgctl): Do not use CHECK_1.
17143 (__new_msgctl): Likewise.
17144 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
17145 <bp-checks.h>.
17146 (__new_setrlimit): Do not use CHECK_1.
17147 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
17148 <bp-checks.h>.
17149 (__old_shmctl): Do not use CHECK_1.
17150 (__new_shmctl): Likewise.
17151 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
17152 <bp-checks.h>.
17153 (__xstat): Do not use CHECK_1.
17154 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
17155 (__lxstat): Do not use CHECK_1.
17156 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
17157 <bp-checks.h>.
17158 (___lxstat64): Do not use CHECK_1.
17159 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
17160 (__old_msgctl): Do not use CHECK_1.
17161 (__new_msgctl): Likewise.
17162 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
17163 <bp-checks.h>.
17164 (__gettimeofday): Do not use CHECK_1.
17165 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
17166 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
17167 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
17168 <bp-checks.h>.
17169 (__gettimeofday): Do not use CHECK_1.
17170 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
17171 (__old_shmctl): Do not use CHECK_1_NULL_OK.
17172 (__new_shmctl): Do not use CHECK_1.
17173 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
17174 <bp-checks.h>.
17175 (do_sigtimedwait): Do not use CHECK_1.
17176 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
17177 <bp-checks.h>.
17178 (do_sigwaitinfo): Do not use CHECK_1.
17179 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
17180 <bp-checks.h>.
17181 (msgctl): Do not use CHECK_1.
17182 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
17183 <bp-checks.h>.
17184 (shmctl): Do not use CHECK_1.
17185 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
17186 (ustat): Do not use CHECK_1.
17187 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
17188 <bp-checks.h>.
17189 (__fxstat): Do not use CHECK_1.
17190 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
17191 <bp-checks.h>.
17192 (__fxstatat): Do not use CHECK_1.
17193 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
17194 <bp-checks.h>.
17195 (__lxstat): Do not use CHECK_1.
17196 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
17197 <bp-checks.h>.
17198 (__xstat): Do not use CHECK_1.
17199 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
17200 (__xstat): Do not use CHECK_1.
17201 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
17202 (___xstat64): Do not use CHECK_1.
17203
b2c9eff4
JM
17204 [BZ #13550]
17205 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
17206 definitions.
17207 (CHECK_BOUNDS_HIGH): Likewise.
17208 * string/strcpy.c: Do not include <bp-checks.h>.
17209 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
17210
f1d70dad
RM
172112013-02-07 Roland McGrath <roland@hack.frob.com>
17212
17213 * nscd/nscd-client.h (__nscd_drop_map_ref):
17214 Add __attribute__ ((unused)).
17215 * nis/nss-nisplus.h (niserr2nss): Likewise.
17216
17217 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
17218 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
17219
17220 * csu/libc-tls.c (init_static_tls, init_slotinfo):
17221 Remove inline keyword.
17222 * include/rounding-mode.h (round_away): Likewise.
17223 * libio/wfileops.c (adjust_wide_data): Likewise.
17224 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
17225 (__m128i_strloadu_tolower): Likewise.
17226 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
17227 (__m128i_strloadu_tolower): Likewise.
17228 * time/mktime.c (ydhms_diff): Likewise.
17229 * locale/elem-hash.h (elem_hash): Likewise.
17230 * locale/setlocale.c (setdata): Likewise.
17231 * posix/regex_internal.h (re_string_char_size_at): Likewise.
17232 (re_string_wchar_at): Likewise.
17233 (bitset_not, bitset_merge, bitset_mask): Likewise.
17234 [!(__GNUC__ > 3)] (inline): Remove macro.
17235 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
17236 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
17237 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
17238 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
17239 * string/memcmp.c (memcmp_bytes): Likewise.
17240 * locale/programs/locarchive.c (compute_hashval): Likewise.
17241 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
17242 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
17243 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
17244 * nss/getent.c (print_rpc, print_protocols): Likewise.
17245 (print_passwd, print_group, print_aliases): Likewise.
17246 * nis/nss-nisplus.h (niserr2nss): Likewise.
17247 * nscd/connections.c (restart_p): Likewise.
17248 Change return type to bool.
17249
eab55bfb
RM
172502013-02-05 Roland McGrath <roland@hack.frob.com>
17251
7bd642f5
RM
17252 * Makeconfig (all-Depend-files): Add existing
17253 $(sorted-subdirs:=/Depend) files.
17254 (all-subdirs): Remove nss.
17255 * sysdeps/unix/inet/Subdirs: Add it here instead.
17256 * hesiod/Depend: New file.
17257
573c29b2
RM
17258 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
17259 instead of calling alloca.
17260
b2e25af0
RM
17261 * io/lseek.c (__lseek): Rename to __libc_lseek.
17262 Define __lseek as an alias.
17263
eab55bfb
RM
17264 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
17265
9a0d1941
CD
172662013-02-04 Carlos O'Donell <carlos@redhat.com>
17267
17268 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
17269 else clause and remove check for non-standard endianness.
17270
b83bbec4
DM
172712013-02-04 David S. Miller <davem@davemloft.net>
17272
17273 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17274
6277fdab
JM
172752013-02-04 Joseph Myers <joseph@codesourcery.com>
17276
17277 [BZ #13550]
17278 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
17279 (__ubp_memchr): Remove prototype.
17280 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
17281 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
17282 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
17283 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
17284 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
17285 Remove alias.
17286 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
17287 (__ubp_memchr): Likewise.
17288 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
17289 (__ubp_memchr): Likewise.
17290 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
17291 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
17292 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
17293 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
17294 CHECK_STRING.
17295 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
17296 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
17297 (__getcwd): Do not use CHECK_STRING.
17298 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
17299 <bp-checks.h>.
17300 (__real_chown): Do not use CHECK_STRING.
17301 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
17302 <bp-checks.h>.
17303 (fchownat): Do not use CHECK_STRING.
17304 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
17305 CHECK_STRING.
17306 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
17307 <bp-checks.h>.
17308 (__lchown): Do not use CHECK_STRING.
17309 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
17310 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
17311 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
17312 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
17313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
17314 include <bp-checks.h>.
17315 (truncate64): Do not use CHECK_STRING.
17316 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
17317 <bp-checks.h>.
17318 (__real_chown): Do not use CHECK_STRING.
17319 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
17320 <bp-checks.h>.
17321 (__lchown): Do not use CHECK_STRING.
17322 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
17323 <bp-checks.h>.
17324 (__chown): Do not use CHECK_STRING.
17325 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
17326 <bp-checks.h>.
17327 (truncate64): Do not use CHECK_STRING.
17328 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
17329 Likewise.
17330 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
17331 (__xmknod): Do not use CHECK_STRING.
17332 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
17333 <bp-checks.h>.
17334 (__xmknodat): Do not use CHECK_STRING.
17335 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
17336 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
17337
903ae060
AS
173382013-02-04 Andreas Schwab <schwab@suse.de>
17339
17340 [BZ #14142]
17341 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
17342 * include/netdb.h: Likewise for h_errno.
17343 * elf/tst-stackguard1.c: Include <tls.h>.
17344
542f9466
JK
173452013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
17346
17347 * elf/link.h (struct link_map): Extend the l_addr comment.
17348 * include/link.h (struct link_map): Likewise.
17349
e782a927
JM
173502013-02-01 Joseph Myers <joseph@codesourcery.com>
17351
17352 [BZ #13550]
17353 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
17354 (BOUNDED_1): Remove macro.
17355 * debug/backtrace.c: Don't include <bp-checks.h>.
17356 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
17357 (__backtrace): Likewise.
17358 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
17359 <bp-checks.h>.
17360 (__backtrace): Don't use BOUNDED_1.
17361 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
17362 <bp-checks.h>.
17363 (__backtrace): Don't use BOUNDED_1.
17364 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
17365 (__backtrace): Don't use BOUNDED_1.
17366 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
17367 (shmat): Don't use BOUNDED_N.
17368
8cf28c5e
JM
173692013-01-31 Joseph Myers <joseph@codesourcery.com>
17370
3a7ac8a0
JM
17371 [BZ #13550]
17372 * sysdeps/generic/bp-start.h: Remove file.
17373 * csu/libc-start.c: Don't include <bp-start.h>.
17374 (LIBC_START_MAIN): Set up __environ directly instead of using
17375 INIT_ARGV_and_ENVIRON.
17376 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
17377 <bp-start.h>.
17378
f3499f95
JM
17379 [BZ #13550]
17380 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
17381 definitions.
17382 (CHECK_FCNTL): Likewise.
17383 (CHECK_N_PAGES): Likewise.
17384
32a45bea
JM
17385 [BZ #13550]
17386 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
17387 definitions.
17388 (CHECK_SIGSET_NULL_OK): Likewise.
17389 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
17390 <bp-checks.h>.
17391 (sigpending): Don't use CHECK_SIGSET.
17392 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
17393 <bp-checks.h>.
17394 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
17395 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
17396 <bp-checks.h>.
17397 (do_sigsuspend): Don't use CHECK_SIGSET.
17398 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
17399 use CHECK_SIGSET.
17400 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
17401 (do_sigwait): Don't use CHECK_SIGSET.
17402 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
17403 use CHECK_SIGSET.
17404 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
17405 include <bp-checks.h>.
17406 (sigpending): Don't use CHECK_SIGSET.
17407 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
17408 include <bp-checks.h>.
17409 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
17410 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
17411 <bp-checks.h>.
17412 (sigpending): Don't use CHECK_SIGSET.
17413 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
17414 <bp-checks.h>.
17415 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
17416
2e8a5c8c
JM
17417 [BZ #13550]
17418 * sysdeps/generic/bp-semctl.h: Remove file.
17419 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
17420 <bp-checks.h> and <bp-semctl.h>.
17421 (__old_semctl): Don't use CHECK_SEMCTL.
17422 (__new_semctl): Likewise.
17423 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
17424 and <bp-semctl.h>.
17425 (__old_semctl): Don't use CHECK_SEMCTL.
17426 (__new_semctl): Likewise.
17427 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
17428 <bp-checks.h> and <bp-semctl.h>.
17429 (__old_semctl): Don't use CHECK_SEMCTL.
17430 (__new_semctl): Likewise.
17431 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
17432 <bp-checks.h> and <bp-semctl.h>.
17433 (semctl): Don't use CHECK_SEMCTL.
17434
c2d54929
JM
17435 [BZ #13550]
17436 * Makerules (elide-bp-thunks): Remove variable.
17437 (elide-routines.oS): Don't use $(elide-bp-thunks).
17438 (elide-routines.os): Likewise.
17439 (elide-routines.o): Likewise.
17440 (elide-routines.op): Likewise.
17441 (elide-routines.og): Likewise.
17442 (objects): Don't use $(bp-thunks).
17443 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
17444 include.
17445 (common-generated): Do not add s-proto-bp.d.
17446 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
17447 (int): Likewise.
17448 (typ): Likewise.
17449 Do not generate makefile rules for bounded-pointer thunks.
17450 * sysdeps/generic/bp-thunks.h: Remove file.
17451 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
17452 * sysdeps/unix/s-proto-bp.S: Likewise.
17453
8cf28c5e
JM
17454 [BZ #15062]
17455 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
17456 parts of result separately when argument is not close to line from
17457 -i to i and one part of argument is small.
17458 * math/k_casinhf.c (__kernel_casinhf): Likewise.
17459 * math/k_casinhl.c (__kernel_casinhl): Likewise.
17460 * math/libm-test.inc (cacos_test): Add more tests.
17461 (casin_test): Likewise.
17462 (casinh_test): Likewise.
17463 * sysdeps/i386/fpu/libm-test-ulps: Update.
17464 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17465
c4e33b8d
DM
174662013-01-31 David S. Miller <davem@davemloft.net>
17467
17468 * po/de.po: Update from translation team.
17469
3b60b421
MK
174702013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
17471
17472 * time/tzfile.c: Include stdint.h for SIZE_MAX.
17473
bb931195
TS
174742013-01-25 Thomas Schwinge <thomas@codesourcery.com>
17475
b5a5da23
TS
17476 * configure.in (_AC_PROG_CC_C89): New definition.
17477 * configure: Regenerate.
17478
bb931195
TS
17479 * configure.in (AC_PROG_CPP): New definition.
17480 * configure: Regenerate.
17481
8c53a12c
JM
174822013-01-23 Joseph Myers <joseph@codesourcery.com>
17483
17484 * debug/tst-backtrace.h: New file.
17485 * debug/tst-backtrace2.c: Include tst-backtrace.h.
17486 (ret): Remove variable.
17487 (x): Likewise.
17488 (FAIL): Remove macro.
17489 (NO_INLINE): Likewise.
17490 (fn1): Use match function instead of strstr.
17491 * debug/tst-backtrace3.c: Include tst-backtrace.h.
17492 (ret): Remove variable.
17493 (x): Likewise.
17494 (FAIL): Remove macro.
17495 (NO_INLINE): Likewise.
17496 (fn): Use match function instead of strstr.
17497 * debug/tst-backtrace4.c: Include tst-backtrace.h.
17498 (ret): Remove variable.
17499 (x): Likewise.
17500 (FAIL): Remove macro.
17501 (NO_INLINE): Likewise.
17502 (handle_signal): Use match function instead of strstr.
17503 * debug/tst-backtrace5.c: Include tst-backtrace.h.
17504 (ret): Remove variable.
17505 (x): Likewise.
17506 (FAIL): Remove macro.
17507 (NO_INLINE): Likewise.
17508 (handle_signal): Use match function instead of strstr.
17509
4858fa2a
RM
175102013-01-23 Roland McGrath <roland@hack.frob.com>
17511
17512 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
17513
bae8e7f5
DM
175142013-01-23 David S. Miller <davem@davemloft.net>
17515
17516 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
17517 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
17518 argument of CAS if possible.
17519 * sysdeps/sparc/sparc64/bits/atomic.h
17520 (__arch_compare_and_exchange_val_32_acq): Likewise.
17521 (__arch_compare_and_exchange_val_64_acq): Likewise.
17522
9cbbc4ae
PT
175232013-01-23 Pino Toscano <toscano.pino@tiscali.it>
17524
17525 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
17526 * sysdeps/posix/ulimit.c: ... this.
92a601b8 17527 Include <limits.h>.
67b3f58c 17528 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 17529
5655a0b5
AC
175302013-01-23 Adam Conrad <adconrad@0c3.net>
17531
17532 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
17533 (LDFLAGS-tst-array5): Likewise.
17534
052aff95
JM
175352013-01-23 Joseph Myers <joseph@codesourcery.com>
17536
17537 [BZ #15036]
17538 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
17539 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
17540 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
17541 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
17542
7c1e01aa
DM
175432013-01-21 David S. Miller <davem@davemloft.net>
17544
17545 * sysdeps/sparc/backtrace.c: New file.
17546 * sysdeps/sparc/sparc32/backtrace.h: New file.
17547 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
17548 * sysdeps/sparc/sparc64/backtrace.h: New file.
17549 * sysdeps/sparc/sparc64/backtrace.c: Delete.
17550 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
17551 -funwind-tables.
17552
ab087e0a
AS
175532013-01-21 Andreas Schwab <schwab@suse.de>
17554
17555 [BZ #15020]
17556 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
17557 closed its stdout.
17558
ed689c2f
AS
175592013-01-20 Andreas Schwab <schwab@linux-m68k.org>
17560
17561 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
17562 "mpa2.h".
17563 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
17564
31d470ac
JM
175652013-01-18 Joseph Myers <joseph@codesourcery.com>
17566 Mark Mitchell <mark@codesourcery.com>
17567 Tom de Vries <tom@codesourcery.com>
17568 Paul Pluzhnikov <ppluzhnikov@google.com>
17569
17570 * debug/tst-backtrace2.c: New file.
17571 * debug/tst-backtrace3.c: Likewise.
17572 * debug/tst-backtrace4.c: Likewise.
17573 * debug/tst-backtrace5.c: Likewise.
17574 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
17575 (CFLAGS-tst-backtrace3.c): Likewise.
17576 (CFLAGS-tst-backtrace4.c): Likewise.
17577 (CFLAGS-tst-backtrace5.c): Likewise.
17578 (LDFLAGS-tst-backtrace2): Likewise.
17579 (LDFLAGS-tst-backtrace3): Likewise.
17580 (LDFLAGS-tst-backtrace4): Likewise.
17581 (LDFLAGS-tst-backtrace5): Likewise.
17582 (tests): Add new tests tst-backtrace2, tst-backtrace3,
17583 tst-backtrace4 and tst-backtrace5.
17584
90567f30 175852013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
17586 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17587
17588 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
17589 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
17590 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
17591 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
17592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
17593 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
17594 "+r" and remove output regs list as redundant. Add explicit inline
17595 asm to specify register of return val to work around compiler codegen
17596 bug. Remove (int) cast on return value. Add return type parameter to
17597 use in macro so that this macro does not truncate return value for
17598 64-bit values.
17599 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
17600 pass to INTERNAL_VSYSCALL_NCS.
17601 (INLINE_VSYSCALL): Add 'long int' as return type to
17602 INTERNAL_VSYSCALL_NCS macro invocation.
17603 (INTERNAL_VSYSCALL): Add 'long int' as return type to
17604 INTERNAL_VSYSCALL_NCS macro invocation.
17605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
17606
d3b9ea61
SP
176072013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
17608
0b57daeb
SP
17609 [BZ #14496]
17610 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
17611 Fix application of SIMD FP exception mask.
17612
caa99d06
SP
17613 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
17614 mp_no from a power of two.
17615 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
17616 __mpexp_twomm1. Use __pow_mp.
17617
d3b9ea61
SP
17618 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
17619 multiplication.
17620
1dbaee3c
DM
176212013-01-17 David S. Miller <davem@davemloft.net>
17622
17623 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17624
728d7b43
JM
176252013-01-17 Joseph Myers <joseph@codesourcery.com>
17626
17627 [BZ #15023]
17628 * include/complex.h: Condition contents on [!_COMPLEX_H].
17629 (__kernel_casinhf): New prototype.
17630 (__kernel_casinh): Likewise.
17631 (__kernel_casinhl): Likewise.
17632 * math/Makefile (libm_calls): Add k_casinh.
17633 * math/k_casinh.c: New file.
17634 * math/k_casinhf.c: Likewise.
17635 * math/k_casinhl.c: Likewise.
17636 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
17637 finite nonzero arguments.
17638 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
17639 finite nonzero arguments.
17640 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
17641 finite nonzero arguments.
17642 * math/s_casinh.c: Do not include <float.h>.
17643 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
17644 * math/s_casinhf.c: Do not include <float.h>.
17645 (__casinhf): Move code for finite nonzero arguments to
17646 k_casinhf.c.
17647 * math/s_casinhl.c: Do not include <float.h>.
17648 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
17649 redefine.
17650 (__casinhl): Move code for finite nonzero arguments to
17651 k_casinhl.c.
17652 * math/libm-test.inc (cacos_test): Add more tests.
17653 * sysdeps/i386/fpu/libm-test-ulps: Update.
17654 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17655
2a26ef3a
PT
176562013-01-17 Pino Toscano <toscano.pino@tiscali.it>
17657
17658 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
17659 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
17660 [!HAVE_MREMAP]: Remove [defined linux] case.
17661 * malloc/arena.c: Do not include <malloc-sysdep.h>.
17662
a897655d
SP
176632013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
17664
17665 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
17666
881ebe89 176672013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
17668
17669 * elf/elf.h (R_386_SIZE32): New relocation.
17670 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
17671 R_386_SIZE32.
17672 (elf_machine_rela): Likewise.
17673 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
17674 R_X86_64_SIZE64 and R_X86_64_SIZE32.
17675
59981e9b
JM
176762013-01-17 Joseph Myers <joseph@codesourcery.com>
17677
17678 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
17679 (FP_FAST_FMA): Do not define.
17680 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
17681 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
17682 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
17683 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
17684 !_SOFT_FLOAT]: Likewise.
17685 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
17686 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
17687 value.
17688 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
17689 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
17690 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
17691 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
17692 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
17693 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
17694 file.
17695
cfa8054f
AS
176962013-01-16 Andreas Schwab <schwab@suse.de>
17697
17698 [BZ #14327]
17699 * include/stdlib.h (__mktemp): Add declaration.
17700 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
17701 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
17702
dd930cc5
SP
177032013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
17704
881ebe89
SP
17705 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
17706 definitions.
17707 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
17708 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
17709 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
17710 definitions here.
17711 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
17712 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
17713 definitions.
17714 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
17715 and ONE.
17716 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
17717 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
17718 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
17719 definitions.
17720 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
17721 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
17722 definitions.
17723 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 17724
dd930cc5
SP
17725 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
17726
c19a9f89
DM
177272013-01-15 David S. Miller <davem@davemloft.net>
17728
1aa61767
DM
17729 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
17730 trunc{,f} to libm-sysdep_routes.
17731 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
17732 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
17733 file.
17734 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
17735 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
17736 file.
17737 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
17738 file.
17739 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
17740 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
17741 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
17742 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
17743 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
17744 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
17745 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
17746 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
17747
c42d5e98
DM
17748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
17749 nearbyint{,f} to libm-sysdep_routes.
17750 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
17751 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
17752 New file.
17753 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
17754 file.
17755 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
17756 New file.
17757 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
17758 file.
17759 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
17760 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
17761 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
17762 file.
17763 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
17764 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
17765 file.
17766 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
17767 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
17768 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
17769
c19a9f89
DM
17770 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
17771 libc_feholdexcept and libc_fesetenv.
17772
357679d2
MF
177732013-01-15 Mike Frysinger <vapier@gentoo.org>
17774
17775 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
17776
65a82e3d
DM
177772013-01-14 David S. Miller <davem@davemloft.net>
17778
8b954ab9
DM
17779 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
17780 (SPARC_ASM_VIS2_IFUNC): Likewise.
17781 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
17782 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
17783 use of 'siam' instruction.
17784 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
17785 Likewise.
17786 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
17787 Likewise.
17788 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
17789 Likewise.
17790 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
17791 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
17792 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
17793 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
17794 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
17795 file.
17796 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
17797 file.
17798 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
17799 file.
17800 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
17801 file.
17802 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
17803 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
17804 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
17805 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
17806 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
17807 new VIS2 routines.
17808 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
17809 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
17810 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
17811 Likewise.
17812 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
17813 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
17814 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
17815 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
17816 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
17817 routines to libm-sysdep_routines.
17818 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
17819
65a82e3d
DM
17820 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
17821 fdim/fdimf to libm-sysdep_routines.
17822 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
17823 file.
17824 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
17825 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
17826 file.
17827 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
17828 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
17829 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
17830 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
17831 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
17832 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
17833 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
17834
e34ab705
SP
178352013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
17836
2a91b573
SP
17837 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
17838 to optimize copies.
17839
1066a534
SP
17840 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
17841 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
17842 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
17843
e34ab705
SP
17844 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
17845 local variable MPTWO.
17846 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
17847 Likewise.
17848
aba5e596
MF
178492013-01-13 Mike Frysinger <vapier@gentoo.org>
17850
17851 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
17852 GLOB_NOESCAPE.
17853
e557e9e5
MF
178542013-01-13 Mike Frysinger <vapier@gentoo.org>
17855
17856 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
17857
0428cec9
MF
178582013-01-13 Mike Frysinger <vapier@gentoo.org>
17859
17860 * manual/pattern.texi (glob_t): Document gl_flags.
17861 (glob64_t): Likewise.
17862
8794a964
DM
178632013-01-11 David S. Miller <davem@davemloft.net>
17864
66438c3f
RM
17865 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
17866 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
17867 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
17868 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
17869 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
17870 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
17871 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
17872 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
17873 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
17874 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
17875 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
17876 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
17877 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
17878
4ae4244d
DM
17879 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
17880 sparc V9 rather than using V8 code.
17881 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
17882 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
17883
8794a964
DM
17884 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
17885 Move to...
17886 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
17887 Here.
17888
6270516e
RM
178892013-01-11 Roland McGrath <roland@hack.frob.com>
17890
17891 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
17892 not in the main loop.
17893 * configure: Regenerated.
17894
6a57d931
JM
178952013-01-11 Joseph Myers <joseph@codesourcery.com>
17896
17897 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
17898 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
17899 to just #else.
17900 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
17901 [!__GLIBC_HAVE_LONG_LONG] case.
17902 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
17903 condition to just #else.
17904 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
17905 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
17906 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
17907 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
17908 unconditional.
17909 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
17910 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
17911 #elif condition to just #else.
17912 * sysdeps/unix/sysv/linux/sys/sysmacros.h
17913 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
17914 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
17915 #elif condition to just #else.
17916
0e8529e9
SE
179172013-01-11 Steve Ellcey <sellcey@mips.com>
17918
17919 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
17920 (EF_MIPS_ARCH_64): Fix value.
17921 (EF_MIPS_ARCH_32R2): New.
17922 (EF_MIPS_ARCH_64R2): New.
17923
740b3dbe
L
179242013-01-11 H.J. Lu <hongjiu.lu@intel.com>
17925
17926 * Makeconfig (+link-pie-before-libc): New.
17927 (+link-pie-after-libc): Likewise.
17928 (+link-pie-tests): Likewise.
17929 (+link-pie): Rewritten.
17930 (link-before-libc): Remove $(config-LDFLAGS).
17931 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
17932 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
17933 (config-LDFLAGS): Renamed to ...
17934 (rtld-LDFLAGS): This.
17935 (rtld-tests-LDFLAGS): New macro.
17936 (link-libc-rpath-link): Likewise.
17937 (link-libc-tests-rpath-link): Likewise.
17938 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
17939 (link-libc): Prepand $(link-libc-rpath-link).
17940 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
17941 (test-program-prefix): New macro.
17942 (test-via-rtld-prefix): Likewise.
17943 (test-program-cmd): Likewise.
17944 (host-test-program-cmd): Likewise.
17945 * Makefile ($(common-objpfx)testrun.sh): Replace
17946 $(run-program-prefix) with $(test-program-prefix).
17947 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
17948 $(rtld-LDFLAGS).
17949 ($(common-objpfx)shlib.lds): Likewise.
17950 (build-module-helper): Likewise.
17951 ($(common-objpfx)format.lds): Likewise.
17952 * Rules (binaries-pie-tests): New.
17953 (binaries-pie-notests): Likewise.
17954 (binaries-pie): Rewritten.
17955 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
17956 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
17957 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
17958 (make-test-out): Replace $(host-built-program-cmd) with
17959 $(host-test-program-cmd).
17960 * config.make.in (build-hardcoded-path-in-tests): New variable.
17961 * configure.in (--enable-hardcoded-path-in-tests): New configure
17962 option.
17963 (hardcoded_path_in_tests): New AC_SUBST.
17964 * configure: Regenerated.
17965 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
17966 $(built-program-cmd) with $(test-program-cmd).
17967 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
17968 (test_program_cmd): This.
17969 * elf/Makefile ($(objpfx)order.out): Run test with
17970 $(test-program-prefix).
17971 ($(objpfx)order2.out): Likewise.
17972 ($(objpfx)tst-initorder.out): Likewise.
17973 ($(objpfx)tst-initorder2.out): Likewise.
17974 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
17975 $(test-program-cmd).
17976 ($(objpfx)tst-array1-static.out): Likewise.
17977 ($(objpfx)tst-array2.out): Likewise.
17978 ($(objpfx)tst-array3.out): Likewise.
17979 ($(objpfx)tst-array4.out): Likewise.
17980 ($(objpfx)tst-array5.out): Likewise.
17981 ($(objpfx)tst-array5-static.out): Likewise.
17982 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
17983 $(test-program-cmd).
17984 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
17985 $(run-program-prefix) with $(test-program-prefix).
17986 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
17987 (test_program_prefix): This.
17988 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
17989 $(run-program-prefix) with $(test-program-prefix).
17990 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
17991 (test_program_prefix): This.
17992 * iconvdata/tst-tables.sh: Likewise.
17993 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
17994 $(run-program-prefix) with $(test-program-prefix).
17995 ($(objpfx)tst-translit.out): Likewise.
17996 ($(objpfx)tst-gettext2.out): Likewise.
17997 ($(objpfx)tst-gettext4.out): Likewise.
17998 ($(objpfx)tst-gettext6.out): Likewise.
17999 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
18000 (test_program_prefix): This.
18001 * intl/tst-gettext2.sh: Likewise.
18002 * intl/tst-gettext4.sh Likewise.
18003 * intl/tst-gettext6.sh: Likewise.
18004 * intl/tst-translit.sh: Likewise.
18005 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
18006 with $(test-program-cmd).
18007 * libio/Makefile ($(objpfx)test-freopen.out): Replace
18008 $(run-program-prefix) with $(test-program-prefix).
18009 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
18010 (test_program_prefix): This.
18011 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
18012 $(run-program-prefix) with $(test-program-prefix).
18013 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
18014 (test_program_prefix): This.
18015 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
18016 * posix/Makefile ($(objpfx)globtest.out): Replace
18017 $(run-via-rtld-prefix) and $(test-wrapper) with
18018 $(test-program-prefix) and $(test-via-rtld-prefix).
18019 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
18020 $(test-program-prefix).
18021 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
18022 $(host-test-program-cmd).
18023 (tst-spawn-ARGS): Likewise.
18024 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
18025 $(test-program-prefix).
18026 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
18027 (test_via_rtld_prefix): This.
18028 (test_wrapper): Renamed to ...
18029 (test_program_prefix): This.
18030 (run_program_prefix): Replaced by test_program_prefix.
18031 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
18032 (test_program_prefix): This.
18033 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
18034 with $(host-test-program-cmd).
18035 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
18036 $(run-program-prefix) with $(test-program-prefix).
18037 ($(objpfx)tst-printf.out): Likewise.
18038 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
18039 $(test-program-cmd).
18040 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
18041 (test_program_prefix): This.
18042 * stdio-common/tst-unbputc.sh: Likewise.
18043 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
18044 $(run-program-prefix) with $(test-program-prefix).
18045 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
18046 (test_program_prefix): This.
18047 * string/Makefile ($(objpfx)tst-svc.out): Replace
18048 $(built-program-cmd) with $(test-program-cmd).
18049
c6fe55cf
AJ
180502013-01-11 Andreas Jaeger <aj@suse.de>
18051
18052 [BZ #15003]
18053 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
18054 value. Sync with Linux 3.7.
18055
9e6919c8
DM
180562013-01-10 David S. Miller <davem@davemloft.net>
18057
18058 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
18059 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
18060 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
18061
1c9f1a02
RM
180622013-01-10 Roland McGrath <roland@hack.frob.com>
18063
18064 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
18065 never set.
18066 * configure: Regenerated.
18067
b9de2dde
DM
180682013-01-10 David S. Miller <davem@davemloft.net>
18069
18070 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
18071 sparc V9 rather than using V8 code.
18072 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
18073 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
18074
e7f68ef4
RM
180752013-01-10 Roland McGrath <roland@hack.frob.com>
18076
18077 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
18078 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
18079 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
18080 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
18081 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
18082 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
18083 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
18084 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
18085 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
18086 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
18087 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
18088 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
18089 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
18090 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
18091 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
18092 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
18093 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
18094 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
18095 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
18096 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
18097 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
18098 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
18099 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
18100 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
18101 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
18102 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
18103 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
18104
5a47cc9c
DM
181052013-01-10 David S. Miller <davem@davemloft.net>
18106
18107 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18108
4cf8f209
L
181092013-01-10 H.J. Lu <hongjiu.lu@intel.com>
18110
18111 * posix/Makefile (tests-static): New variable.
18112 (tests): Add $(tests-static).
18113 (tst-exec-static-ARGS): New variable.
18114 (tst-spawn-static-ARGS): Likewise.
18115 * posix/tst-exec-static.c: New file.
18116 * posix/tst-spawn-static.c: Likewise.
18117 * posix/tst-exec.c: Support run directly.
18118 * posix/tst-spawn.c: Likewise.
18119
fed0faa1
JM
181202013-01-10 Joseph Myers <joseph@codesourcery.com>
18121
828beb13
JM
18122 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
18123 long.
18124 * math/bits/mathcalls.h (llrint): Likewise.
18125 (llround): Likewise.
18126 * stdlib/stdlib.h (struct drand48_data): Likewise.
18127 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
18128 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
18129 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
18130 Likewise.
18131 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
18132 Likewise.
18133 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
18134 (elf_greg_t): Likewise.
18135 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
18136 (__jmp_buf): Likewise.
18137 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
18138 definitions.
18139 (llrint): Likewise, for all definitions.
18140 (llrintl): Likewise.
18141
fed0faa1
JM
18142 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
18143 Remove [__GNUC__] condition.
18144 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
18145 condition to just [__USE_ISOC99].
18146 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
18147
1a20cb20
L
181482013-01-10 H.J. Lu <hongjiu.lu@intel.com>
18149
18150 [BZ #14200]
18151 * sysdeps/unix/sysv/linux/x86/bits/environments.h
18152 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
18153 defined.
18154 (_POSIX_V6_ILP32_OFF32): Likewise.
18155 (_XBS5_ILP32_OFF32): Likewise.
18156 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
18157 (__ILP32_OFFBIG_LDFLAGS): Likewise.
18158
751b85f7
SP
181592013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18160
7490eb81
SP
18161 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
18162
751b85f7
SP
18163 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
18164 doubles __mpexp_twomm1. Adjust usage.
18165 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
18166 Remove.
18167
988197f0
AS
181682013-01-10 Andreas Schwab <schwab@suse.de>
18169
18170 [BZ #14964]
18171 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
18172 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
18173
e83d7298
DM
181742013-01-09 David S. Miller <davem@davemloft.net>
18175
034ed64b 18176 [BZ #15003]
e83d7298
DM
18177 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
18178 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
18179 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
18180 TCP_FASTOPEN): Define.
18181 (tcp_repair_opt): New structure.
18182 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
18183 enum values.
18184 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
18185 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
18186 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
18187 (tcp_cookie_transactions): New structure.
18188
d5e0b9bd
AB
181892013-01-09 Anton Blanchard <anton@samba.org>
18190
18191 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
18192 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
18193 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
18194 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
18195
0c07e3ea
JM
181962013-01-09 Joseph Myers <joseph@codesourcery.com>
18197
18198 * include/features.h (__USE_ANSI): Remove.
18199
232f7002
RM
182002013-01-09 Roland McGrath <roland@hack.frob.com>
18201
ad98e30c
RM
18202 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
18203
232f7002
RM
18204 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
18205
950c99ca
SP
182062013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
18207
b5792741
SP
18208 * sysdeps/s390/fpu/libm-test-ulps: Update.
18209
47cf2278
SP
18210 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18211
950c99ca
SP
18212 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
18213 (__acr): Likewise.
18214 (__cpy): Likewise.
18215 (norm): Likewise.
18216 (denorm): Likewise.
18217 (__mp_dbl): Likewise.
18218 (__dbl_mp): Likewise.
18219 (add_magnitudes): Likewise.
18220 (sub_magnitudes): Likewise.
18221 (__add): Likewise.
18222 (__sub): Likewise.
18223 (__mul): Likewise.
18224 (__inv): Likewise.
18225 (__dvd): Likewise.
18226 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
18227 (__acr): Likewise.
18228 (__cpy): Likewise.
18229 (norm): Likewise.
18230 (denorm): Likewise.
18231 (__mp_dbl): Likewise.
18232 (__dbl_mp): Likewise.
18233 (add_magnitudes): Likewise.
18234 (sub_magnitudes): Likewise.
18235 (__add): Likewise.
18236 (__sub): Likewise.
18237 (__mul): Likewise.
18238 (__inv): Likewise.
18239 (__dvd): Likewise.
18240 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
18241 (__acr): Likewise.
18242 (__cpy): Likewise.
18243 (norm): Likewise.
18244 (denorm): Likewise.
18245 (__mp_dbl): Likewise.
18246 (__dbl_mp): Likewise.
18247 (add_magnitudes): Likewise.
18248 (sub_magnitudes): Likewise.
18249 (__add): Likewise.
18250 (__sub): Likewise.
18251 (__mul): Likewise.
18252 (__inv): Likewise.
18253 (__dvd): Likewise.
18254
eede9df9
JM
182552013-01-08 Joseph Myers <joseph@codesourcery.com>
18256
18257 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
18258 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
18259 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
18260 2 && __USE_EXTERN_INLINES]: Likewise.
18261
c40ea3d9
AJ
182622013-01-08 Andreas Jaeger <aj@suse.de>
18263
18264 [BZ# 14985]
18265 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
18266 Remove.
18267 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
18268 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
18269
2ccdea26
AB
182702013-01-07 Anton Blanchard <anton@samba.org>
18271
18272 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
18273 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
18274 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
18275 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
18276 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
18277 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
18278 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
18279 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
18280 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
18281 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
18282 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
18283 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
18284 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
18285 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18286 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
18287 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
18288 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
18289 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
18290 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
18291 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
18292 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
18293 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
18294 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
18295 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
18296 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
18297 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
18298 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
18299 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
18300 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
18301 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
18302 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
18303 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18304 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
18305 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
18306 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
18307 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
18308 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
18309 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
18310 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
18311 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
18312 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
18313 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
18314 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
18315
a9708fed
JM
183162013-01-07 Joseph Myers <joseph@codesourcery.com>
18317
375607b9
JM
18318 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
18319 (__MALLOC_PMT): Likewise.
18320 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
18321 [__GNUC__], only on [_LIBC].
18322 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
18323 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
18324 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
18325 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
18326 forward declaration.
18327 (realloc_hook_ini): Likewise.
18328 (memalign_hook_ini): Likewise.
18329 (__libc_memalign): Do not use __MALLOC_PMT in variable
18330 declaration.
18331 (__libc_valloc): Likewise.
18332 (__libc_pvalloc): Likewise.
18333 (__libc_calloc): Likewise.
18334 (__posix_memalign): Likewise.
18335
a9708fed
JM
18336 [BZ #14996]
18337 * math/s_casinh.c: Include <float.h>.
18338 (__casinh): Do not do computation with squaring and square root
18339 for large arguments.
18340 * math/s_casinhf.c: Include <float.h>.
18341 (__casinhf): Do not do computation with squaring and square root
18342 for large arguments.
18343 * math/s_casinhl.c: Include <float.h>.
18344 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
18345 (__casinhl): Do not do computation with squaring and square root
18346 for large arguments.
18347 * math/libm-test.inc (casin_test): Add more tests.
18348 (casinh_test): Likewise.
18349 * sysdeps/i386/fpu/libm-test-ulps: Update.
18350 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18351
afec409a
L
183522013-01-04 H.J. Lu <hongjiu.lu@intel.com>
18353
18354 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
18355 (__x86_64_raw_data_cache_size): Likewise.
18356 (__x86_64_data_cache_size_half): Likewise.
18357 (__x86_64_raw_data_cache_size_half): Likewise.
18358 (__x86_64_shared_cache_size): Likewise.
18359 (__x86_64_raw_shared_cache_size): Likewise.
18360 (__x86_64_shared_cache_size_half): Likewise.
18361 (__x86_64_raw_shared_cache_size_half): Likewise.
18362 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
18363 to ...
18364 (__x86_data_cache_size): This.
18365 (__x86_64_raw_data_cache_size): Renamed to ...
18366 (__x86_raw_data_cache_size): This.
18367 (__x86_64_data_cache_size_half): Renamed to ...
18368 (__x86_data_cache_size_half): This.
18369 (__x86_64_raw_data_cache_size_half): Renamed to ...
18370 (__x86_raw_data_cache_size_half): This.
18371 (__x86_64_shared_cache_size): Renamed to ...
18372 (__x86_shared_cache_size): This.
18373 (__x86_64_raw_shared_cache_size): Renamed to ...
18374 (__x86_raw_shared_cache_size): This.
18375 (__x86_64_shared_cache_size_half): Renamed to ...
18376 (__x86_shared_cache_size_half): This.
18377 (__x86_64_raw_shared_cache_size_half): Renamed to ...
18378 (__x86_raw_shared_cache_size_half): This.
18379 * sysdeps/x86_64/memcpy.S: Updated.
18380 * sysdeps/x86_64/memset.S: Likewise.
18381 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
18382 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
18383 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
18384
0b3986d0
DM
183852013-01-04 David S. Miller <davem@davemloft.net>
18386
18387 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18388
e47686e9
AS
183892013-01-04 Andreas Schwab <schwab@linux-m68k.org>
18390
d643bac1
AS
18391 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
18392 1 to avoid redefinition warning.
18393 (__USE_GNU): Don't define.
18394 (init_signaling_nan): Protoize.
18395
e47686e9
AS
18396 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18397
b18decba
SP
183982013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
18399
fffb407f
SP
18400 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
18401 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
18402 (__cpymn): Likewise.
18403 (norm): Remove commented code.
18404 (denorm): Likewise.
18405 (__mp_dbl): Likewise.
18406 (__inv): Likewise.
18407 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
18408 (__cpymn): Likewise.
18409 (norm): Remove commented code.
18410 (denorm): Likewise.
18411 (__mp_dbl): Likewise.
18412 (__inv): Likewise.
18413
b18decba
SP
18414 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
18415 mp_no value for 1.0 and 2.0.
18416 (norm): Use RADIXI instead of radixi.d.
18417 (denorm): Likewise.
18418 (__mul): Use 0.0 instead of zero.d.
18419 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
18420 mp_no value for 1.0 and 2.0.
18421 (norm): Use RADIXI instead of radixi.d.
18422 (denorm): Likewise.
18423 (__mul): Use 0.0 instead of zero.d.
18424
cdc1c96f
JM
184252013-01-04 Joseph Myers <joseph@codesourcery.com>
18426
18427 [BZ #14994]
18428 * math/s_casinh.c (__casinh): Reduce finite argument to first
18429 quadrant then set signs of results at the end.
18430 * math/s_casinhf.c (__casinhf): Likewise.
18431 * math/s_casinhl.c (__casinhl): Likewise.
18432 * math/libm-test.inc (casin_test): Add more tests.
18433 (casinh_test): Likewise.
18434 * sysdeps/i386/fpu/libm-test-ulps: Update.
18435 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18436
302913e1
SP
184372013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
18438
6420d207
SP
18439 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
18440
a9e48ab4
SP
18441 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
18442
b7837264
SP
18443 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
18444 declarations.
18445 (denorm): Likewise.
18446 (__mp_dbl): Likewise.
18447 (__inv): Likewise.
18448
f8af25d2
SP
18449 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
18450 and adjust the header comment.
18451
302913e1
SP
18452 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
18453 variable name from declaration.
18454
5d7dd1ca
L
184552013-01-03 H.J. Lu <hongjiu.lu@intel.com>
18456
18457 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18458 Initialize COMMON_CPUID_INDEX_7 element.
18459 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
18460 (CPUID_RTM): Likewise.
18461 (HAS_RTM): Likewise.
18462 (COMMON_CPUID_INDEX_7): New enum.
18463
2f5f40f4
AS
184642013-01-03 Andreas Schwab <schwab@linux-m68k.org>
18465
18466 [BZ #14981]
18467 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
18468 size is zero, record memory as freed.
18469
4056f4a0
AJ
184702013-01-03 Andreas Jaeger <aj@suse.de>
18471
18472 * po/ia.po: Add new Interlingua translation.
18473
ab15736f 184742012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
18475
18476 * locale/programs/localedef.c: Fix description of '--posix' flag.
18477
568035b7
JM
184782013-01-02 Joseph Myers <joseph@codesourcery.com>
18479
e6898b8d
JM
18480 * NEWS: Update dates in second copyright notice.
18481 * README: Update copyright dates in example.
18482 * manual/libc.texinfo: Update copyright dates.
18483 * scripts/test-installation.pl: Update copyright date in --version
18484 output.
18485
0e2f9562
JM
18486 * hurd/ctty-input.c: Fix copyright notice formatting.
18487 * hurd/ctty-output.c: Likewise.
18488 * hurd/dtable.c: Likewise.
18489 * hurd/hurd-raise.c: Likewise.
18490 * hurd/hurdprio.c: Likewise.
18491 * hurd/msgportdemux.c: Likewise.
18492 * misc/sys/file.h: Likewise.
18493 * misc/sys/ioctl.h: Likewise.
18494 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
18495 * sysdeps/mach/hurd/chdir.c: Likewise.
18496 * sysdeps/mach/hurd/fchdir.c: Likewise.
18497 * sysdeps/mach/hurd/rename.c: Likewise.
18498 * sysdeps/mach/hurd/rmdir.c: Likewise.
18499 * sysdeps/mach/hurd/seekdir.c: Likewise.
18500 * sysdeps/mach/hurd/setsid.c: Likewise.
18501 * sysdeps/posix/wait3.c: Likewise.
18502
568035b7
JM
18503 * All files with FSF copyright notices: Update copyright dates
18504 using scripts/update-copyrights.
18505 * intl/plural.c: Regenerated.
18506 * locale/programs/charmap-kw.h: Likewise.
18507 * locale/programs/locfile-kw.h: Likewise.
18508
da08f647
SP
185092013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
18510
0f5477af
SP
18511 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
18512 four values.
18513
44e0d4c2
SP
18514 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
18515 calculation loop and add branch prediction.
18516
4d55b4e5
SP
18517 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
18518 check access beyond bounds of m1np.
18519
da08f647
SP
18520 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
18521 MPTWO.
18522 (__inv): Remove local variable MPTWO to use the global
18523 constant.
18524 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
18525 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
18526 variable MPTWO.
18527 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
18528 MP3HALFS static const.
18529
8e051029
DM
185302013-01-01 David S. Miller <davem@davemloft.net>
18531
18532 * po/ca.po: Update from translation team.
18533
f4cf5f2d
JM
185342013-01-01 Joseph Myers <joseph@codesourcery.com>
18535
18536 * scripts/update-copyrights: New file.
18537 * Makeconfig: Reformat copyright notice.
18538 * ctype/ctype.h: Likewise.
18539 * debug/swprintf_chk.c: Likewise.
18540 * elf/dl-cache.c: Likewise.
18541 * elf/dl-debug.c: Likewise.
18542 * elf/dl-object.c: Likewise.
18543 * grp/initgroups.c: Likewise.
18544 * hurd/Makefile: Likewise.
18545 * hurd/hurd/signal.h: Likewise.
18546 * hurd/hurdfault.c: Likewise.
18547 * hurd/hurdioctl.c: Likewise.
18548 * hurd/hurdlookup.c: Likewise.
18549 * hurd/intr-msg.c: Likewise.
18550 * iconv/gconv_open.c: Likewise.
18551 * libio/swprintf.c: Likewise.
18552 * locale/lc-ctype.c: Likewise.
18553 * locale/nl_langinfo.c: Likewise.
18554 * mach/Machrules: Likewise.
18555 * mach/Makefile: Likewise.
18556 * malloc/obstack.h: Likewise.
18557 * manual/Makefile: Likewise.
18558 * manual/tsort.awk: Likewise.
18559 * misc/bits/stab.def: Likewise.
18560 * nis/nis_print_group_entry.c: Likewise.
18561 * nis/nis_table.c: Likewise.
18562 * nis/nss_compat/compat-pwd.c: Likewise.
18563 * nis/nss_compat/compat-spwd.c: Likewise.
18564 * po/Makefile: Likewise.
18565 * posix/fnmatch.c: Likewise.
18566 * posix/regex.h: Likewise.
18567 * resolv/Makefile: Likewise.
18568 * resolv/nss_dns/dns-network.c: Likewise.
18569 * resolv/res_hconf.c: Likewise.
18570 * scripts/gen-sorted.awk: Likewise.
18571 * soft-fp/soft-fp.h: Likewise.
18572 * stdio-common/printf.h: Likewise.
18573 * stdlib/monetary.h: Likewise.
18574 * stdlib/random.c: Likewise.
18575 * stdlib/random_r.c: Likewise.
18576 * sysdeps/generic/Makefile: Likewise.
18577 * sysdeps/gnu/Makefile: Likewise.
18578 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
18579 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18580 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
18581 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18582 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18583 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18584 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18585 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
18586 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18587 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18588 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
18589 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
18590 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
18591 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
18592 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
18593 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
18594 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
18595 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18596 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18597 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18598 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
18599 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
18600 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
18601 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
18602 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
18603 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
18604 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
18605 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
18606 * sysdeps/mach/hurd/errnos.awk: Likewise.
18607 * sysdeps/mach/hurd/fork.c: Likewise.
18608 * sysdeps/mach/hurd/getcwd.c: Likewise.
18609 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
18610 * sysdeps/mach/hurd/mmap.c: Likewise.
18611 * sysdeps/mach/hurd/utimes.c: Likewise.
18612 * sysdeps/mach/hurd/xmknod.c: Likewise.
18613 * sysdeps/posix/profil.c: Likewise.
18614 * sysdeps/posix/readdir_r.c: Likewise.
18615 * sysdeps/powerpc/bits/mathdef.h: Likewise.
18616 * sysdeps/powerpc/bits/setjmp.h: Likewise.
18617 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
18618 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
18619 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
18620 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
18621 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
18622 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
18623 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18624 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
18625 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
18626 * sysdeps/pthread/lio_listio.c: Likewise.
18627 * sysdeps/sparc/dl-procinfo.h: Likewise.
18628 * sysdeps/unix/i386/sysdep.S: Likewise.
18629 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
18630 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
18631 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
18632 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
18633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
18634 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
18635 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
18636 * sysdeps/unix/sysv/linux/speed.c: Likewise.
18637 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
18638 * sysdeps/wordsize-32/divdi3.c: Likewise.
18639 * time/sys/time.h: Likewise.
18640 * wcsmbs/Makefile: Likewise.
18641
0549fbba
DM
186422013-01-01 David S. Miller <davem@davemloft.net>
18643
a141f1a7
DM
18644 * po/fr.po: Update from translation team.
18645
0549fbba
DM
18646 * catgets/gencat.c: Update copyright year.
18647 * csu/version.c: Likewise.
18648 * debug/catchsegv.sh: Likewise.
18649 * debug/pcprofiledump.c: Likewise.
18650 * debug/xtrace.sh: Likewise.
18651 * elf/ldconfig.c: Likewise.
18652 * elf/ldd.bash.in: Likewise.
18653 * elf/pldd.c: Likewise.
18654 * elf/sotruss.ksh: Likewise.
18655 * elf/sprof.c: Likewise.
18656 * iconv/iconv_prog.c: Likewise.
18657 * iconv/iconvconfig.c: Likewise.
18658 * locale/programs/locale.c: Likewise.
18659 * locale/programs/localedef.c: Likewise.
18660 * login/programs/pt_chown.c: Likewise.
18661 * malloc/memusage.sh: Likewise.
18662 * malloc/memusagestat.c: Likewise.
18663 * malloc/mtrace.pl: Likewise.
18664 * nscd/nscd.c: Likewise.
18665 * nss/getent.c: Likewise.
18666 * nss/makedb.c: Likewise.
18667 * posix/getconf.c: Likewise.
18668
18ea052c
SP
186692012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
18670
18671 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
18672 numbers.
18673
9c89fca6
MF
186742012-12-30 Mike Frysinger <vapier@gentoo.org>
18675
18676 * math/bits/mathcalls.h (modf): Use __nonnull.
18677
085ec079
SP
186782012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
18679
18680 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
18681 (split): Use macro CN instead of the bare value.
18682 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
18683 could be used.
18684 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
18685 instead of the bare value.
18686 (power1): Likewise.
18687
6d9f97e1
SP
186882012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18689
d63f73be
SP
18690 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
18691 __ATAN_TWOM.
18692 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
18693
6d9f97e1
SP
18694 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
18695 their values.
18696 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
18697 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
18698 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
18699 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
18700
4c4febf5
AJ
187012012-12-28 Andreas Jaeger <aj@suse.de>
18702
af5843ef
AJ
18703 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
18704 values are from Linux 3.7.
18705
4c4febf5
AJ
18706 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
18707 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
18708
99136f82
SP
187092012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18710
2f216c3c 18711 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
18712 TRUE case.
18713
99136f82
SP
18714 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
18715 (norm): Likewise.
18716 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
18717 variables with preprocessor constants.
18718 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
18719 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
18720 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
18721
7fffbdff
BH
187222012-12-27 Bruno Haible <bruno@clisp.org>
18723
18724 [BZ #14317]
18725 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
18726 only if needed.
18727
b76eb5f0
SP
187282012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
18729
31a7fe5c
SP
18730 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
18731 and use variable directly.
18732 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
18733
b76eb5f0
SP
18734 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
18735 MPONE.
18736 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
18737 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
18738 variable MPONE.
18739 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
18740 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
18741 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
18742 include directive. Remove local variable MPONE.
18743 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
18744 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
18745 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
18746
2c8bfe7d
DM
187472012-12-25 David S. Miller <davem@davemloft.net>
18748
18749 * version.h (RELEASE): Set to "development".
18750 (VERSION): Set to "2.17.90".
18751 * NEWS: Add 2.18 section.
18752
147d03b0
DM
187532012-12-21 David S. Miller <davem@davemloft.net>
18754
18755 * po/hr.po: Update from translation team.
18756
a8ebb2b9
AK
187572012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18758
18759 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
18760
95b4f1b6
SE
187612012-12-19 Steve Ellcey <sellcey@mips.com>
18762
b2d94007 18763 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 18764
cedb2a90
MS
187652012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
18766
18767 * manual/contrib.texi (Contributors): Spelling correction.
18768
bbf527d6
DM
187692012-12-15 David S. Miller <davem@davemloft.net>
18770
18771 * po/ru.po: Update from translation team.
18772
bc38c906
DM
187732012-12-13 David S. Miller <davem@davemloft.net>
18774
85429b1a
DM
18775 * NEWS: Mention IFUNC testsuite enhancements.
18776
d283e353
DM
18777 * po/pl.po: Update from translation team.
18778 * po/bg.po: Likewise.
18779
bc38c906
DM
18780 * manual/contrib.texi (Contributors): Update entries for Hongjiu
18781 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
18782
a181b0d7
DM
187832012-12-11 David S. Miller <davem@davemloft.net>
18784
4641d57e
DM
18785 * po/sv.po: Update from translation team.
18786
f7bc6495
DM
18787 * po/vi.po: Update from translation team.
18788
6fc9048f
DM
18789 * po/cs.po: Update from translation team.
18790
a181b0d7
DM
18791 * po/de.po: Update from translation team.
18792 * po/eo.po: Likewise.
18793 * po/nl.po: Likewise.
18794
f70bfe80
SP
187952012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18796
3c8b4190
SP
18797 [BZ #14246]
18798 * manual/argp.texi (Argp Helper Functions): Move node to follow
18799 Argp Parsing State.
18800
f70bfe80
SP
18801 [BZ #14872]
18802 * manual/conf.texi (Limits on File System Capacity): Mention if
18803 terminating null is included in the max size.
18804
188f0adf
AJ
188052012-12-10 Andreas Jaeger <aj@suse.de>
18806
18807 * po/cs.po: Update from translation team.
18808
56e7d3ad
SP
188092012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
18810
18811 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
18812 void pointer and cast to uintptr_t.
18813 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
18814 path.
18815 * sysdeps/s390/s390-64/memcpy.S: Likewise.
18816 * sysdeps/s390/s390-64/memset.S: Likewise.
18817
76f2d2ea 188182012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
18819
18820 [BZ #14833]
18821 * menual/message.texi (Message Translation): Fix typos.
18822 (Helper programs for gettext): Likewise.
18823
67cbf9a2
AS
188242012-12-07 Andreas Schwab <schwab@linux-m68k.org>
18825
18826 [BZ #14898]
18827 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
18828 Change to -1.
18829
682d0e9a
DM
188302012-12-07 David S. Miller <davem@davemloft.net>
18831
18832 * po/libc.pot: Update.
18833
573cd484
RH
188342012-12-07 Richard Henderson <rth@redhat.com>
18835
7e9da188 18836 [BZ #10114]
573cd484
RH
18837 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
18838 normal/normal case to before the switch.
18839 (_FP_DIV): Likewise.
18840
e933a943
MF
188412012-12-06 Carlos O'Donell <carlos@systemhalted.org>
18842 Mike Frysinger <vapier@gentoo.org>
18843
18844 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
18845 check for __NR_fadvise64_64.
18846
82123268
CM
188472012-12-06 Chris Metcalf <cmetcalf@tilera.com>
18848
18849 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
18850 0, not just to plain "0" as a statement.
18851 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
18852 with cw.
18853
d9814526
JM
188542012-12-06 Joseph Myers <joseph@codesourcery.com>
18855
18856 * NEWS: Use sourceware.org in Bugzilla URL.
18857
7728c574
SP
188582012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
18859
f16946dd
SP
18860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
18861 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
18862
5704bbcb
SP
18863 * stdio-common/tst-put-error.c (do_test): Add newline to the
18864 padded test to ensure flush.
18865
17aa0516
JL
188662012-12-05 Jeff Law <law@redhat.com>
18867
18868 * sunrpc/etc.rpc (fedfs_admin): Add entry.
18869
363313b5
JM
188702012-12-05 Joseph Myers <joseph@codesourcery.com>
18871
effbd42a
JM
18872 * README: Don't refer to ports add-on as distributed separately.
18873 Mention AArch64 in list of systems supported in the ports add-on.
18874
87600365
JM
18875 * LICENSES: Add more non-FSF copyright and license notices.
18876
a0d7066a
JM
18877 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
18878 ((unused)).
18879
66ca5a5b
JM
18880 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
18881
363313b5
JM
18882 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
18883 10000 as width of padded output.
18884
b37984ad
JM
188852012-12-04 Joseph Myers <joseph@codesourcery.com>
18886
9003570a
JM
18887 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
18888
b37984ad
JM
18889 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
18890 variable LX with __attribute__ ((unused)).
18891 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
18892 Likewise.
18893 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
18894 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18895 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
18896 with __attribute__ ((unused)).
18897
c8df52ec
DM
188982012-12-04 David S. Miller <davem@abraco.davemloft.net>
18899
18900 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
18901
b3b099af
JM
189022012-12-04 Joseph Myers <joseph@codesourcery.com>
18903
c33aa6e3
JM
18904 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
18905 (CFLAGS-nldbl-acos.c): New variable.
18906 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
18907 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
18908 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
18909 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
18910 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
18911 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
18912 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
18913 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
18914 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
18915 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
18916 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
18917 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
18918 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
18919 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
18920 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
18921 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
18922 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
18923 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
18924 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
18925 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
18926 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
18927 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
18928 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
18929 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
18930 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
18931 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
18932 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
18933 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
18934 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
18935 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
18936 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
18937 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
18938 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
18939 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
18940 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
18941 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
18942 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
18943 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
18944 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
18945 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
18946 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
18947 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
18948 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
18949 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
18950 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
18951 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
18952 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
18953 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
18954 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
18955 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
18956 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
18957 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
18958 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
18959 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
18960 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
18961 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
18962 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
18963 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
18964 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
18965 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
18966 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
18967 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
18968 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
18969 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
18970 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
18971 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
18972 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
18973 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
18974 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
18975 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
18976 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
18977 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
18978 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
18979 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
18980 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
18981 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
18982 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
18983 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
18984 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
18985 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
18986 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
18987 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
18988 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
18989 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
18990 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
18991 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
18992 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
18993 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
18994 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
18995 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
18996 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
18997 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
18998 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
18999 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
19000 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
19001 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
19002 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
19003
20f0018d
JM
19004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
19005 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
19006
b3b099af
JM
19007 [BZ #14914]
19008 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
19009 whole low double instead of just low 47 bits when splitting values
19010 into two parts.
19011
029264d1
AM
190122012-12-03 Allan McRae <allan@archlinux.org>
19013
19014 * manual/stdio.texi (Predefined Printf Handlers): Remove
19015 @hsep and @vsep usage.
19016
c9d6789e
MF
190172012-12-03 Mike Frysinger <vapier@gentoo.org>
19018
19019 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
19020 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
19021
4b7634a5
JL
190222012-12-03 Jeff Law <law@redhat.com>
19023
19024 * time/sys/time.h (settimeofday): Do not mark TV argument
19025 as __nonnull.
19026
eb6cbd24
MF
190272012-12-01 Mike Frysinger <vapier@gentoo.org>
19028
19029 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
19030 when currently writing and seek to current position when not.
19031 * libio/Makefile (tests): Remove bug-fclose1.
19032 * libio/bug-fclose1.c: Delete.
19033
f638872a
JM
190342012-12-01 Joseph Myers <joseph@codesourcery.com>
19035
19036 * manual/arith.texi (feenableexcept): Fix typo.
19037 (fedisableexcept): Likewise.
19038
48085d14
RM
190392012-11-30 Roland McGrath <roland@hack.frob.com>
19040
19041 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
19042 second, differently-typed declaration, rather than a cast.
19043
1a538b9f
SP
190442012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
19045
19046 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
19047 * include/rpc/svc.h: ... here.
19048
d07f2ff1 190492012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
19050
19051 [BZ #13013]
19052 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
19053 depending n and resplen2 to catch cases where answer
19054 equals answerp2.
19055
c93ec1f0
CD
190562012-11-29 Carlos O'Donell <carlos@systemhalted.org>
19057
19058 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
19059 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
19060
37db69de
MF
190612012-11-29 Mike Frysinger <vapier@gentoo.org>
19062
19063 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
19064
e10c4e4f
RM
190652012-11-29 Roland McGrath <roland@hack.frob.com>
19066
19067 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
19068
2af1b328
JL
190692012-11-28 Jeff Law <law@redhat.com>
19070
19071 [BZ #13761]
19072 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
19073 dataset_temporary. Track alloca usage into alloca_used.
19074 If dataset is large allocate and release it via malloc/free.
19075
111db5b1
FW
190762012-06-04 Florian Weimer <fweimer@redhat.com>
19077
f06cc227 19078 [BZ #14197]
111db5b1
FW
19079 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
19080
dd694abd
DM
190812012-11-28 David S. Miller <davem@davemloft.net>
19082
19083 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19084
9984dd01
JM
190852012-11-28 Joseph Myers <joseph@codesourcery.com>
19086
19087 [BZ #14803]
19088 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
19089 of pi/2 rounded to nearest to 64 bits.
19090 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
19091 nearest to 64 bits.
19092 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
19093 bits.
19094
14bc93a9
JL
190952012-11-28 Jeff Law <law@redhat.com>
19096 Martin Osvald <mosvald@redhat.com>
19097
19098 [BZ #14889]
19099 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
19100 * sunrpc/svc.c: Include time.h.
19101 (__svc_accept_failed): New function.
19102 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
19103 any reason other than EINTR, call __svc_accept_failed.
19104 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
19105 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
19106
e3c6aa3a
AS
191072012-11-28 Andreas Schwab <schwab@suse.de>
19108
19109 * scripts/abilist.awk: Also handle indirect functions in .opd
19110 section.
19111
1bead169
JM
191122012-11-28 Joseph Myers <joseph@codesourcery.com>
19113
19114 [BZ #13881]
19115 * sysdeps/x86/fpu/powl_helper.c: New file.
19116 * sysdeps/x86/fpu/Makefile: Likewise.
19117 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
19118 (p3): New object.
19119 (__ieee754_powl): Use __powl_helper for finite arguments except
19120 integer exponents below 8.
19121 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
19122 (p3): New object.
19123 (__ieee754_powl): Use __powl_helper for finite arguments except
19124 integer exponents below 8.
19125 * math/libm-test.inc (pow_test): Add more tests and enable some
19126 previously disabled tests.
19127 * sysdeps/i386/fpu/libm-test-ulps: Update.
19128 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19129
0817d63d
SP
191302012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19131 Carlos O'Donell <carlos_odonell@mentor.com>
19132
19133 * nss/makedb.c (is_prime): Assert that input is odd and greater
19134 than 4. Note that fact in a comment too.
19135 (next_prime): Add 4 to input.
19136
de2fd463
SP
191372012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
19138
19139 [BZ #11741]
19140 * libio/Makefile (tests): Add test case tst-fwrite-error.
19141 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
19142 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
19143 * libio/tst-fwrite-error.c: New test case.
19144
c515fb51
L
191452012-11-26 H.J. Lu <hongjiu.lu@intel.com>
19146
19147 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
19148 before casting to void *.
19149 * include/libc-internal.h (__pointer_type): New macro.
19150 (__integer_if_pointer_type_sub): Likewise.
19151 (__integer_if_pointer_type): Likewise.
19152 (cast_to_integer): Likewise.
19153 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
19154 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
19155 before casting to atomic64_t.
19156 (atomic_exchange_acq): Likewise.
19157 (__arch_exchange_and_add_body): Likewise.
19158 (__arch_add_body): Likewise.
19159 (atomic_add_negative): Likewise.
19160 (atomic_add_zero): Likewise.
19161
4cf77aa9
JM
191622012-11-26 Joseph Myers <joseph@codesourcery.com>
19163
19164 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
19165 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
19166 (add_fdes): Likewise.
19167 (linear_search_fdes): Likewise.
19168 (binary_search_unencoded_fdes): Likewise.
19169
d260b3b4
AS
191702012-11-26 Andreas Schwab <schwab@linux-m68k.org>
19171
19172 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
19173
67060746
AC
191742012-11-24 Adam Conrad <adconrad@0c3.net>
19175
19176 * configure.in: Autodetect C++ header directories.
19177 * configure: Regenerated.
19178
800938a1
MF
191792012-11-23 Mike Frysinger <vapier@gentoo.org>
19180
19181 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
19182
4e6e34e6
AS
191832012-11-23 Andreas Schwab <schwab@linux-m68k.org>
19184
19185 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19186
7c7feb47
JM
191872012-11-22 Joseph Myers <joseph@codesourcery.com>
19188
7184dcdf
JM
19189 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
19190 LDBL_MANT_DIG == 106]: Disable some tests.
19191 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
19192 Likewise.
19193 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
19194 Likewise.
19195
0a42601f
JM
19196 [BZ #14871]
19197 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
19198 input for small inputs. Return +/- pi/2 for large inputs.
19199 * math/libm-test.inc (atan_test): Add more tests.
19200
79c9b9fe
JM
19201 * sysdeps/generic/unwind-dw2-fde-glibc.c
19202 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
19203 __attribute__ ((unused)).
19204
c60d3bf2
JM
19205 [BZ #14645]
19206 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
19207 x * y if x and y are nonzero and z is zero.
19208
ef1e0867
JM
19209 [BZ #14811]
19210 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
19211 nonzero exponents with absolute value below 0x1p-117 to +/-
19212 0x1p-117.
19213
1468ded3
JM
19214 [BZ #14869]
19215 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
19216 up arguments below 2**-450, not just those below 2**-500.
19217 * math/libm-test.inc (hypot_test): Add another test.
19218
8e27e3cc
JM
19219 [BZ #14868]
19220 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
19221 Return a+b for ratio over 2**120, not 2**60.
19222 * math/libm-test.inc (hypot_test): Add another test.
19223
c9c0279b
JM
19224 * math/libm-test.inc (clog_test): Use
19225 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
19226 (clog10_test): Likewise.
19227
7c7feb47
JM
19228 [BZ #6778]
19229 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
19230
fff1530e
AS
192312012-11-22 Andreas Schwab <schwab@suse.de>
19232
19233 * sysdeps/i386/fpu/libm-test-ulps: Update.
19234
94558d30
PT
192352012-11-22 Pino Toscano <toscano.pino@tiscali.it>
19236
19237 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
19238 printf output with newline.
19239
7e1be741
L
192402012-11-21 H.J. Lu <hongjiu.lu@intel.com>
19241
6bfea974
L
19242 [BZ #14865]
19243 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
19244 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
19245 -z nodlopen, -z initfirst and -z execstack support.
19246 * configure: Regenerated.
19247
7e1be741
L
19248 * elf/elf.h (DF_1_NODIRECT): New macro.
19249 (DF_1_IGNMULDEF): Likewise.
19250 (DF_1_NOKSYMS): Likewise.
19251 (DF_1_NOHDR): Likewise.
19252 (DF_1_EDITED): Likewise.
19253 (DF_1_NORELOC): Likewise.
19254 (DF_1_SYMINTPOSE): Likewise.
19255 (DF_1_GLOBAUDIT): Likewise.
19256 (DF_1_SINGLETON): Likewise.
19257 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
19258 DT_1_SUPPORTED_MASK bits.
19259 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
19260
105ce2ce
CD
192612012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
19262
19263 * sysdeps/unix/make-syscalls.sh: Document prefixes.
19264
123be9de
TS
192652012-11-20 Thomas Schwinge <thomas@codesourcery.com>
19266
d072f3f7
TS
19267 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
19268 macro.
19269
123be9de
TS
19270 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
19271 (sendmmsg): Move declarations...
19272 * socket/sys/socket.h: ... here.
19273 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
19274 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
19275 include it from...
19276 * socket/recvmmsg.c: ... this new file.
19277 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
19278 (sendmmsg): Rename to __sendmmsg, create weak alias and make
19279 definition of __sendmmsg hidden.
19280 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
19281 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
19282 Move ENOSYS stub into and include it from...
19283 * socket/sendmmsg.c: ... this new file.
19284 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
19285 (sysdep_routines): Move recvmmsg and sendmmsg...
19286 * socket/Makefile (routines): ... here.
19287 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
19288 (GLIBC_PRIVATE): Add __sendmmsg.
19289 * include/sys/socket.h (__sendmmsg): Add declarations.
19290 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
19291 sendmmsg.
19292
cf9a5d18
JM
192932012-11-20 Joseph Myers <joseph@codesourcery.com>
19294
19295 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
19296 variable I1 with __attribute__ ((unused)).
19297 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
19298
ecd4caf9
JM
192992012-11-19 Joseph Myers <joseph@codesourcery.com>
19300
be14d48f
JM
19301 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
19302 DUMMY variables with __attribute__ ((unused)).
19303
ecd4caf9
JM
19304 * bits/byteswap.h: Include <bits/types.h>.
19305 (__bswap_64): Use __uint64_t instead of unsigned long long int.
19306
986cab95
PT
193072012-11-19 Pino Toscano <toscano.pino@tiscali.it>
19308
19309 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
19310 string_t. Do not manually set errno.
19311 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
19312 length with __strnlen. Make sure to both set errno and return it on
19313 failure.
19314
6d33cc9d
DM
193152012-11-19 David S. Miller <davem@davemloft.net>
19316
19317 With help from Joseph Myers.
19318 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
19319 very large arguments properly.
19320 * math/libm-test.inc (atan_test): New tests.
19321 (atan2_test): New tests.
19322 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19323 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19324
ee663277
JM
193252012-11-19 Joseph Myers <joseph@codesourcery.com>
19326
877f2d8e
JM
19327 [BZ #14856]
19328 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
19329 Define to 3.
19330
116fc08a
JM
19331 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
19332 [POSIX] (EADDRNOTAVAIL): Likewise.
19333 [POSIX] (EAFNOSUPPORT): Likewise.
19334 [POSIX] (EALREADY): Likewise.
19335 [POSIX] (ECONNABORTED): Likewise.
19336 [POSIX] (ECONNREFUSED): Likewise.
19337 [POSIX] (ECONNRESET): Likewise.
19338 [POSIX] (EDESTADDRREQ): Likewise.
19339 [POSIX] (EDQUOT): Likewise.
19340 [POSIX] (EHOSTUNREACH): Likewise.
19341 [POSIX] (EIDRM): Likewise.
19342 [POSIX] (EISCONN): Likewise.
19343 [POSIX] (ELOOP): Likewise.
19344 [POSIX] (EMULTIHOP): Likewise.
19345 [POSIX] (ENETDOWN): Likewise.
19346 [POSIX] (ENETUNREACH): Likewise.
19347 [POSIX] (ENOBUFS): Likewise.
19348 [POSIX] (ENODATA): Likewise.
19349 [POSIX] (ENOLINK): Likewise.
19350 [POSIX] (ENOMSG): Likewise.
19351 [POSIX] (ENOPROTOOPT): Likewise.
19352 [POSIX] (ENOSR): Likewise.
19353 [POSIX] (ENOSTR): Likewise.
19354 [POSIX] (ENOTCONN): Likewise.
19355 [POSIX] (ENOTSOCK): Likewise.
19356 [POSIX] (EOPNOTSUPP): Likewise.
19357 [POSIX] (EOVERFLOW): Likewise.
19358 [POSIX] (EPROTO): Likewise.
19359 [POSIX] (EPROTONOSUPPORT): Likewise.
19360 [POSIX] (EPROTOTYPE): Likewise.
19361 [POSIX] (ESTALE): Likewise.
19362 [POSIX] (ETIME): Likewise.
19363 [POSIX] (ETXTBSY): Likewise.
19364 [POSIX] (EWOULDBLOCK): Likewise.
19365 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
19366 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
19367 [POSIX] (SEEK_CUR): Likewise.
19368 [POSIX] (SEEK_END): Likewise.
19369 [POSIX || UNIX98] (mode_t): Do not require.
19370 [POSIX] (off_t): Likewise.
19371 [POSIX] (pid_t): Likewise.
19372 [POSIX] (sys/stat.h): Do not allow header.
19373 [POSIX] (unistd.h): Likewise.
19374 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
19375 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
19376 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
19377 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
19378 require.
19379 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
19380 sigevent): Specify elements.
19381 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
19382 entry.
19383 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
19384 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
19385
a483863f
JM
19386 * conform/data/cpio.h-data [POSIX]: Disable whole file.
19387 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
19388 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
19389 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
19390 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
19391 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
19392 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
19393 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
19394 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
19395 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
19396 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
19397 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
19398 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
19399 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
19400 Likewise.
19401 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
19402 Likewise.
19403 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
19404 Likewise.
19405 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
19406 Likewise.
19407 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
19408 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
19409 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
19410 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
19411 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
19412 Specify lower bound on value.
19413 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
19414 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
19415 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
19416 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
19417 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
19418 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
19419 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
19420 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
19421 value.
19422 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
19423 as optional.
19424 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
19425 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
19426 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
19427 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
19428 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
19429 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
19430 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
19431 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
19432 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
19433 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
19434 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
19435 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
19436 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
19437 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
19438 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
19439 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
19440 entry.
19441 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
19442 optional.
19443 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
19444 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
19445 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
19446 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
19447 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
19448 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
19449 Likewise.
19450 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
19451 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
19452 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
19453 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
19454 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
19455 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
19456 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
19457 as optional.
19458 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
19459 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
19460 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
19461 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
19462 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
19463 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
19464 specify as optional.
19465 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
19466 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
19467 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
19468 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
19469 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
19470 [XPG3] (NL_LANGMAX): Likewise.
19471 [POSIX || XPG3] (NL_MSGMAX): Likewise.
19472 [POSIX || XPG3] (NL_NMAX): Likewise.
19473 [POSIX || XPG3] (NL_SETMAX): Likewise.
19474 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
19475 [XPG3] (NZERO): Likewise.
19476 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
19477 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
19478 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
19479 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
19480 (REG_ERANGE): Expect.
19481 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
19482 optional-constant.
19483 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
19484 Use (void) in prototype.
19485 [POSIX] (*_t): Allow.
19486 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
19487 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
19488 (WRDE_BADVAL): Expect.
19489
5ba924e3
JM
19490 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
19491 expect.
19492 [XPG3 || XPG4] (O_RSYNC): Likewise.
19493 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
19494 Likewise.
19495 [XPG3 || XPG4] (pthread_sigmask): Likewise.
19496 [XPG3 || XPG4] (sigqueue): Likewise.
19497 [XPG3 || XPG4] (sigtimedwait): Likewise.
19498 [XPG3 || XPG4] (sigwaitinfo): Likewise.
19499 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
19500 [XPG3 || XPG4] (vsnprintf): Likewise.
19501 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
19502 Likewise.
19503 [XPG3 || XPG4] (blksize_t): Likewise.
19504 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
19505 Likewise.
19506 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
19507 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
19508 [XPG3 || XPG4] (struct itimerspec): Likewise.
19509 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
19510 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
19511 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
19512 [XPG3 || XPG4] (clockid_t): Likewise.
19513 [XPG3 || XPG4] (timer_t): Likewise.
19514 [XPG3 || XPG4] (clock_getres): Likewise.
19515 [XPG3 || XPG4] (clock_gettime): Likewise.
19516 [XPG3 || XPG4] (clock_settime): Likewise.
19517 [XPG3 || XPG4] (nanosleep): Likewise.
19518 [XPG3 || XPG4] (timer_create): Likewise.
19519 [XPG3 || XPG4] (timer_delete): Likewise.
19520 [XPG3 || XPG4] (timer_gettime): Likewise.
19521 [XPG3 || XPG4] (timer_getoverrun): Likewise.
19522 [XPG3 || XPG4] (timer_settime): Likewise.
19523 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
19524 [XPG3 || XPG4] (getlogin_r): Likewise.
19525 [XPG3 || XPG4] (pread): Likewise.
19526 [XPG3 || XPG4] (pthread_atfork): Likewise.
19527 [XPG3 || XPG4] (pwrite): Likewise.
19528
ee663277
JM
19529 [BZ #14835]
19530 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
19531 <bits/siginfo.h>.
19532
942caa16
PT
195332012-11-19 Pino Toscano <toscano.pino@tiscali.it>
19534
e19af380
PT
19535 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
19536 finalizing MALLSTREAM.
19537
942caa16
PT
19538 * sysdeps/mach/hurd/syncfs.c: New file.
19539
cfde9b46
SP
195402012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
19541
19542 [BZ #14719]
19543 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
19544 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
19545 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
19546 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
19547 (_nss_dns_gethostbyname4_r): Likewise.
19548 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
19549 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
19550
f6da27e5
PH
195512012-11-19 Peng Haitao <penght@cn.fujitsu.com>
19552
19553 [BZ #13763]
19554 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
19555
6665d4a2
SM
195562012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
19557
1f51ee92
SM
19558 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
19559 * elf/cache.c (print_entry): Print ",AArch64" for
19560 FLAG_AARCH64_LIB64
19561
6665d4a2
SM
19562 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
19563 * elf/cache.c (print_entry): Print ",hard-float" for
19564 FLAG_ARM_LIBHF.
19565
05b227bd
DM
195662012-11-18 David S. Miller <davem@davemloft.net>
19567
19568 With help from Joseph Myers.
19569 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
19570 cutoff to 2**-13.
19571 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
19572 cutoff to 2**-25.
19573 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
19574 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
19575 small.
19576 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
19577 * math/libm-test.inc (y0_test): New tests.
19578 (y1_test): New tests.
19579 * sysdeps/i386/fpu/libm-test-ulps: Update.
19580 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19581 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19582
786b0b67
AS
195832012-11-18 Andreas Schwab <schwab@linux-m68k.org>
19584
19585 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
19586 64-bit targets.
19587 * configure: Regenerated.
19588
8e18b86d
DM
195892012-11-17 David S. Miller <davem@davemloft.net>
19590
19591 [BZ #14811]
19592 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
19593 nonzero exponents with absolute value below 0x1p-128 to +/-
19594 0x1p-128.
19595
531f1ae0
JM
195962012-11-17 Joseph Myers <joseph@codesourcery.com>
19597
12df29e2
JM
19598 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
19599
150dc1a0
JM
19600 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
19601
531f1ae0
JM
19602 * posix/getconf-speclist.c: New file.
19603 * posix/posix-envs.def: Likewise.
19604 * posix/confstr.c (START_ENV_GROUP): New macro.
19605 (END_ENV_GROUP): Likewise.
19606 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
19607 (KNOWN_PRESENT_ENV_STRING): Likewise.
19608 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
19609 (UNKNOWN_ENVIRONMENT): Likewise.
19610 (confstr): Include posix-envs.def instead of handling
19611 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
19612 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
19613 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
19614 (END_ENV_GROUP): Likewise.
19615 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
19616 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
19617 (UNKNOWN_ENVIRONMENT): Likewise.
19618 (__sysconf): Include posix-envs.def instead of handling associated
19619 cases directly here.
19620 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
19621 preprocessing getconf-speclist.c rather than running getconf or
19622 generating empty file.
19623
a93f9cbc
PT
196242012-11-16 Pino Toscano <toscano.pino@tiscali.it>
19625
19626 * scripts/check-local-headers.sh: Ignore 'mach' headers.
19627
d64d9f87
AL
196282012-11-16 Andrej Lajovic <natrij@gmail.com>
19629
19630 [BZ #14672]
19631 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
19632
447885eb
DM
196332012-11-16 David S. Miller <davem@davemloft.net>
19634
19635 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
19636 smaller than LDBL_EPSILON/2.0L, just return xm1.
19637
bcbf9830
L
196382012-11-16 H.J. Lu <hongjiu.lu@intel.com>
19639
19640 * elf/tst-array1.c (init): Set constructor priority to 1000.
19641 (fini): Set destructor priority to 1000.
19642 * elf/tst-array2dep.c: Likewise.
19643
2b766585
SP
196442012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
19645
19646 [BZ #11741]
19647 * libio/fileops.c (_IO_new_file_write): Correctly return error.
19648 (_IO_new_file_xsputn): Also return EOF if none of the input
19649 data was written when overflow failed.
19650 * libio/iopadn.c (_IO_padn): Likewise.
19651 * libio/iowpadn.c (_IO_wpadn): Likewise.
19652 * stdio-common/tst-put-error.c: Add copyright notice.
19653 (do_test): Add case for printing padded string.
19654 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
19655 _IO_padn returned error.
19656 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
19657 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
19658 return EOF.
19659
b1848fde
SP
196602012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
19661
19662 * libio/libioP.h: Add comment note that the references to C++
19663 bits are now obsolete.
19664
2fd89785
MS
196652012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19666
19667 * math/libm-test.inc (check_complex): Use asprintf.
19668
e3ea5409
JM
196692012-11-14 Joseph Myers <joseph@codesourcery.com>
19670
19671 * debug/pcprofiledump.c (print_version): Update copyright year.
19672 * malloc/memusagestat.c (print_version): Likewise.
19673
2e64d265
L
196742012-11-14 H.J. Lu <hongjiu.lu@intel.com>
19675
19676 [BZ #14831]
19677 * elf/Makefile (tests): Add tst-audit8.
19678 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
19679 ($(objpfx)tst-audit8.out): New target.
19680 (tst-audit8-ENV): New variable.
19681 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
19682 audit if l_reloc_result is NULL.
19683 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
19684 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
19685 * elf/tst-audit8.c: New file.
19686
c485e4d2
MS
196872012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19688
19689 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
19690 * misc/Makefile (CFLAGS-select.c): Define.
19691 * posix/Makefile (CFLAGS-pause.c): Define.
19692
3a0d900a
DM
196932012-11-13 David S. Miller <davem@davemloft.net>
19694
19695 * crypt/Makefile: Move test targets after toplevel Rules
19696 inclusion. Grab any necessary sysdep routines when linking.
19697 * crypt/md5.c (md5_process_block): Remove define, we will always
19698 name it __md5_process_block.
19699 (md5_finish_ctx): Update md5_process_block call.
19700 (md5_stream): Likewise.
19701 (md5_process_bytes): Likewise.
19702 (md5_process_block): Rename to __md5_process_block and move to ...
19703 * crypt/md5-block.c: ... here.
19704 * crypt/sha256.c (sha256_process_block): Move to ...
19705 * crypt/sha256-block.c: ... here.
19706 * crypt/sha512.c (sha512_process_block): Move to ...
19707 * crypt/sha512-block.c: ... here.
19708 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
19709 path.
19710 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
19711 * sysdeps/sparc/sparc64/multiarch/Makefile
19712 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
19713 crypt subdir.
19714 (localedef-aux): Add md5 crypto assembler when in locale subdir.
19715 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
19716 multiarch changes.
19717 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
19718 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
19719 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
19720 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
19721 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
19722 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
19723 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
19724 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
19725 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
19726 file.
19727 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
19728 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
19729 file.
19730 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
19731
8ca89318
JM
197322012-11-13 Joseph Myers <joseph@codesourcery.com>
19733
e27d476a
JM
19734 * timezone/tzselect.ksh: Update from tzcode git revision
19735 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
19736 * timezone/zdump.c: Likewise.
19737 * timezone/zic.c: Likewise.
19738 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
19739 in TZVERSION setting, not $(PKGVERSION).
19740 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
19741 REPORT_BUGS_TO settings.
19742
8ca89318
JM
19743 [BZ #14838]
19744 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
19745 macro.
19746
47594329
MS
197472012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19748
19749 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
19750 detection to immediately after _FP_ROUND().
19751 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
19752 bits are 0.
19753
640ac3f1
DM
197542012-11-11 David S. Miller <davem@davemloft.net>
19755
19756 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
19757 inttypes.h
19758 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
19759 __close rather than their public counterparts.
19760
3d2577bb
JM
197612012-11-10 Joseph Myers <joseph@codesourcery.com>
19762
19763 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
19764 file.
19765 [UNIX98] (sem_timedwait): Do not expect.
19766 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
19767 [XPG4 || UNIX98] (sockatmark): Do not expect.
19768 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
19769 (clock_getcpuclockid): Do not expect.
19770 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
19771 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
19772 Do not expect.
19773 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
19774 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
19775 [UNIX98] (vwscanf): Likewise.
19776 [UNIX98] (vswscanf): Likewise.
19777
fb1ae1ee
JM
197782012-11-09 Joseph Myers <joseph@codesourcery.com>
19779
9ec6f8bd
JM
19780 * timezone/version.h: Remove file.
19781 * timezone/README: Do not refer to version.h.
19782 * timezone/Makefile ($(objpfx)zic.o): New dependency on
19783 $(objpfx)version.h.
19784 ($(objpfx)zdump.o): Likewise.
c3f81911 19785 ($(objpfx)version.h): New target.
9ec6f8bd 19786
0aa8f8a1
JM
19787 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
19788 2012i.
19789 * timezone/README: Don't mention modification to tzselect.ksh.
19790 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
19791 work on unmodified tzselect.ksh. Substitute version numbers in
19792 tzselect.ksh.
19793
4e87147f
JM
19794 * Makefile (format-me): Remove.
19795 (INSTALL): Adjust indentation. Use commands directly instead of
19796 using $(format-me).
19797
8b748aed
JM
19798 * aclocal.m4 (ACX_PKGVERSION): New macro.
19799 (ACX_BUGURL): Likewise.
19800 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
19801 (PKGVERSION): New AC_DEFINE_UNQUOTED.
19802 (REPORT_BUGS_TO): Likewise.
19803 * configure: Regenerated.
19804 * config.h.in (PKGVERSION): New macro.
19805 (REPORT_BUGS_TO): Likewise.
19806 * config.make.in (PKGVERSION): New variable.
19807 (PKGVERSION_TEXI): Likewise.
19808 (REPORT_BUGS_TO): Likewise.
19809 (REPORT_BUGS_TEXI): Likewise.
19810 * Makefile (format-me): Use -I$(common-objpfx)manual.
19811 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
19812 ($(common-objpfx)manual/%): New target.
19813 (manual/%): Remove target.
19814 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
19815 (print_version): Use PKGVERSION.
19816 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
19817 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
19818 and REPORT_BUGS_TO.
19819 ($(objpfx)xtrace): Likewise.
19820 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
19821 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
19822 (print_version): Use PKGVERSION.
19823 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
19824 (do_version): Use PKGVERSION.
19825 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
19826 REPORT_BUGS_TO.
19827 (common-ldd-rewrite): Likewise.
19828 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
19829 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
19830 (print_version): Use PKGVERSION.
19831 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
19832 * elf/pldd.c (argp_program_bug_address): Remove variable.
19833 (more_help): New function.
19834 (argp): Use more_help.
19835 (print_version): Use PKGVERSION.
19836 * elf/sln.c (main): Use PKGVERSION.
19837 (usage): Use REPORT_BUGS_TO.
19838 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
19839 (top level): Use PKGVERSION.
19840 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
19841 (print_version): Use PKGVERSION.
19842 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
19843 (print_version): Use PKGVERSION.
19844 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
19845 (print_version): Use PKGVERSION.
19846 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
19847 (print_version): Use PKGVERSION.
19848 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
19849 (print_version): Use PKGVERSION.
19850 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
19851 (print_version): Use PKGVERSION.
19852 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
19853 and BUGURL.
19854 ($(objpfx)memusage): Likewise.
19855 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
19856 (do_version): Use PKGVERSION.
19857 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
19858 (print_version): Use PKGVERSION.
19859 * malloc/mtrace.pl ($PACKAGE): Remove variable.
19860 ($PKGVERSION): New variable.
19861 ($REPORT_BUGS_TO): Likewise.
19862 (usage): Use $REPORT_BUGS_TO.
19863 (top level): Use $PKGVERSION.
19864 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
19865 ($(objpfx)pkgvers.texi): New rule.
19866 ($(objpfx)stamp-pkgvers): Likewise.
19867 * manual/install.texi: Include pkgvers.texi.
19868 (--with-pkgversion): Document new configure option.
19869 (--with-bugurl): Likewise.
19870 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
19871 than necessarily for this particular distribution. Use
19872 REPORT_BUGS_TO for where to report bugs.
19873 * INSTALL: Regenerated.
19874 * manual/libc.texinfo: Include pkgvers.texi.
19875 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
19876 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
19877 (print_version): Use PKGVERSION.
19878 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
19879 (print_version): Use PKGVERSION.
19880 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
19881 (print_version): Use PKGVERSION.
19882 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
19883 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
19884 macro.
19885 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
19886 (print_version): Use PKGVERSION.
19887 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
19888 (print_version): Use PKGVERSION.
19889 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
19890 and PKGVERSION.
19891
92e4b6a9
JM
19892 * timezone/checktab.awk: Update from tzcode 2012i.
19893 * timezone/ialloc.c: Likewise.
19894 * timezone/private.h: Likewise.
19895 * timezone/scheck.c: Likewise.
19896 * timezone/tzfile.h: Likewise.
19897 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
19898 (TZVERSION): Hardcode tzcode version number.
19899 * timezone/zdump.c: Update from tzcode 2012i.
19900 * timezone/zic.c: Likewise.
19901 * timezone/version.h: New file.
19902 * timezone/README: Describe version.h. Update upstream location.
19903
9bde902c
JM
19904 [BZ #14824]
19905 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
19906 (mktemp): Enable declaration.
19907 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
19908 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
19909 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
19910 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
19911 Likewise.
19912 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
19913 Likewise.
19914 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
19915 Likewise.
19916 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
19917 Likewise.
19918 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
19919 Likewise.
19920 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
19921 Likewise.
19922
fb1ae1ee
JM
19923 [BZ #14821]
19924 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
19925 offset in buffer as u_int32_t not u_long. Consistently use memcpy
19926 for copies of such integer values.
19927 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
19928 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
19929
2c1adbcb
AJ
199302012-11-09 Andreas Jaeger <aj@suse.de>
19931
19932 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
19933 definitions and declarations that are provided by
19934 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
19935
d0f8457e
AK
199362012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19937
3a235abb 19938 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
19939 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
19940 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
19941 definition.
19942
57241e26
MS
199432012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19944
19945 * elf/elf.h: Update comment before AArch64 relocations.
19946
60e8270d
DM
199472012-11-07 David S. Miller <davem@davemloft.net>
19948
19949 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
19950 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
19951 (__start_context): Declare.
19952 (__makecontext_ret): Delete.
19953 (__makecontext): Hook up __start_context instead of
19954 __makecontext_ret.
19955 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
19956 (sysdep_routines): Add __start_context when in stdlib.
19957
0fbb0fbc
JM
199582012-11-07 Joseph Myers <joseph@codesourcery.com>
19959
19960 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
19961 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
19962 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
19963 hardcoded "nm".
19964 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
19965 (READELF): New variable. Use it instead of hardcoded "readelf".
19966
eb48db7e
L
199672012-11-07 H.J. Lu <hongjiu.lu@intel.com>
19968
19969 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
19970 * sysdeps/x86/Makefile: Here.
19971 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
19972 * sysdeps/x86/tst-xmmymm.sh: This.
19973
05bcf62a
JM
199742012-11-07 Joseph Myers <joseph@codesourcery.com>
19975
c4b6cf53
JM
19976 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
19977 expectations.
19978 [UNIX98] (pthread_barrier_t): Do not expect.
19979 [UNIX98] (pthread_barrierattr_t): Likewise.
19980 [UNIX98] (pthread_spinlock_t): Likewise.
19981 [UNIX98] (pthread_barrier_destroy): Likewise.
19982 [UNIX98] (pthread_barrier_init): Likewise.
19983 [UNIX98] (pthread_barrier_wait): Likewise.
19984 [UNIX98] (pthread_barrierattr_destroy): Likewise.
19985 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
19986 [UNIX98] (pthread_barrierattr_init): Likewise.
19987 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
19988 [UNIX98] (pthread_getcpuclockid): Likewise.
19989 [UNIX98] (pthread_mutex_timedlock): Likewise.
19990 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
19991 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
19992 [UNIX98] (pthread_sigmask): Likewise.
19993 [UNIX98] (pthread_spin_destroy): Likewise.
19994 [UNIX98] (pthread_spin_init): Likewise.
19995 [UNIX98] (pthread_spin_lock): Likewise.
19996 [UNIX98] (pthread_spin_trylock): Likewise.
19997 [UNIX98] (pthread_spin_unlock): Likewise.
19998 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
19999 Do not expect.
20000 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
20001 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
20002 [XPG3 || XPG4] (pthread_cond_t): Likewise.
20003 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
20004 [XPG3 || XPG4] (pthread_key_t): Likewise.
20005 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
20006 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
20007 [XPG3 || XPG4] (pthread_once_t): Likewise.
20008 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
20009 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
20010 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
20011 [XPG3 || XPG4] (pthread_t): Likewise.
20012
cbe6e120
JM
20013 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
20014 not expect.
20015 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
20016
1b126443
JM
20017 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
20018 Change function return type to int.
20019
b961a573
JM
20020 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
20021 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
20022 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
20023 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
20024 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
20025 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
20026 [!POSIX] (posix_madvise): Likewise.
20027 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
20028 && !UNIX98].
20029 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
20030 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
20031 (mode_t): Likewise.
20032 (posix_mem_offset): Likewise.
20033 (posix_typed_mem_get_info): Likewise.
20034 (posix_typed_mem_open): Likewise.
20035
9e188909
JM
20036 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
20037 Change condition to [XOPEN2K8].
20038
05bcf62a
JM
20039 * conform/conformtest.pl: Preprocess allow-header data with -x c
20040 instead of from stdin.
20041 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
20042 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
20043 [C99-based standards] (cerfc): Likewise.
20044 [C99-based standards] (cexp2): Likewise.
20045 [C99-based standards] (cexpm1): Likewise.
20046 [C99-based standards] (clog10): Likewise.
20047 [C99-based standards] (clog1p): Likewise.
20048 [C99-based standards] (clog2): Likewise.
20049 [C99-based standards] (clgamma): Likewise.
20050 [C99-based standards] (ctgamma): Likewise.
20051 [C99-based standards] (cerff): Likewise.
20052 [C99-based standards] (cerfcf): Likewise.
20053 [C99-based standards] (cexp2f): Likewise.
20054 [C99-based standards] (cexpm1f): Likewise.
20055 [C99-based standards] (clog10f): Likewise.
20056 [C99-based standards] (clog1pf): Likewise.
20057 [C99-based standards] (clog2f): Likewise.
20058 [C99-based standards] (clgammaf): Likewise.
20059 [C99-based standards] (ctgammaf): Likewise.
20060 [C99-based standards] (cerfl): Likewise.
20061 [C99-based standards] (cerfcl): Likewise.
20062 [C99-based standards] (cexp2l): Likewise.
20063 [C99-based standards] (cexpm1l): Likewise.
20064 [C99-based standards] (clog10l): Likewise.
20065 [C99-based standards] (clog1pl): Likewise.
20066 [C99-based standards] (clog2l): Likewise.
20067 [C99-based standards] (clgammal): Likewise.
20068 [C99-based standards] (ctgammal): Likewise.
20069 * conform/data/inttypes.h-data [C99-based standards]: Include
20070 stdint.h-data. Remove all expectations for stdint.h contents.
20071 [C99-based standards] (PRI*): Do not allow.
20072 [C99-based standards] (SCN*): Likewise.
20073 [C99-based standards] (*_t): Likewise.
20074 [C99-based-standards] (PRId8): Expect macro.
20075 [C99-based-standards] (PRIi8): Likewise.
20076 [C99-based-standards] (PRIo8): Likewise.
20077 [C99-based-standards] (PRIu8): Likewise.
20078 [C99-based-standards] (PRIx8): Likewise.
20079 [C99-based-standards] (PRIX8): Likewise.
20080 [C99-based-standards] (SCNd8): Likewise.
20081 [C99-based-standards] (SCNi8): Likewise.
20082 [C99-based-standards] (SCNo8): Likewise.
20083 [C99-based-standards] (SCNu8): Likewise.
20084 [C99-based-standards] (SCNx8): Likewise.
20085 [C99-based-standards] (PRIdLEAST8): Likewise.
20086 [C99-based-standards] (PRIiLEAST8): Likewise.
20087 [C99-based-standards] (PRIoLEAST8): Likewise.
20088 [C99-based-standards] (PRIuLEAST8): Likewise.
20089 [C99-based-standards] (PRIxLEAST8): Likewise.
20090 [C99-based-standards] (PRIXLEAST8): Likewise.
20091 [C99-based-standards] (SCNdLEAST8): Likewise.
20092 [C99-based-standards] (SCNiLEAST8): Likewise.
20093 [C99-based-standards] (SCNoLEAST8): Likewise.
20094 [C99-based-standards] (SCNuLEAST8): Likewise.
20095 [C99-based-standards] (SCNxLEAST8): Likewise.
20096 [C99-based-standards] (PRIdFAST8): Likewise.
20097 [C99-based-standards] (PRIiFAST8): Likewise.
20098 [C99-based-standards] (PRIoFAST8): Likewise.
20099 [C99-based-standards] (PRIuFAST8): Likewise.
20100 [C99-based-standards] (PRIxFAST8): Likewise.
20101 [C99-based-standards] (PRIXFAST8): Likewise.
20102 [C99-based-standards] (SCNdFAST8): Likewise.
20103 [C99-based-standards] (SCNiFAST8): Likewise.
20104 [C99-based-standards] (SCNoFAST8): Likewise.
20105 [C99-based-standards] (SCNuFAST8): Likewise.
20106 [C99-based-standards] (SCNxFAST8): Likewise.
20107 [C99-based-standards] (PRId16): Likewise.
20108 [C99-based-standards] (PRIi16): Likewise.
20109 [C99-based-standards] (PRIo16): Likewise.
20110 [C99-based-standards] (PRIu16): Likewise.
20111 [C99-based-standards] (PRIx16): Likewise.
20112 [C99-based-standards] (PRIX16): Likewise.
20113 [C99-based-standards] (SCNd16): Likewise.
20114 [C99-based-standards] (SCNi16): Likewise.
20115 [C99-based-standards] (SCNo16): Likewise.
20116 [C99-based-standards] (SCNu16): Likewise.
20117 [C99-based-standards] (SCNx16): Likewise.
20118 [C99-based-standards] (PRIdLEAST16): Likewise.
20119 [C99-based-standards] (PRIiLEAST16): Likewise.
20120 [C99-based-standards] (PRIoLEAST16): Likewise.
20121 [C99-based-standards] (PRIuLEAST16): Likewise.
20122 [C99-based-standards] (PRIxLEAST16): Likewise.
20123 [C99-based-standards] (PRIXLEAST16): Likewise.
20124 [C99-based-standards] (SCNdLEAST16): Likewise.
20125 [C99-based-standards] (SCNiLEAST16): Likewise.
20126 [C99-based-standards] (SCNoLEAST16): Likewise.
20127 [C99-based-standards] (SCNuLEAST16): Likewise.
20128 [C99-based-standards] (SCNxLEAST16): Likewise.
20129 [C99-based-standards] (PRIdFAST16): Likewise.
20130 [C99-based-standards] (PRIiFAST16): Likewise.
20131 [C99-based-standards] (PRIoFAST16): Likewise.
20132 [C99-based-standards] (PRIuFAST16): Likewise.
20133 [C99-based-standards] (PRIxFAST16): Likewise.
20134 [C99-based-standards] (PRIXFAST16): Likewise.
20135 [C99-based-standards] (SCNdFAST16): Likewise.
20136 [C99-based-standards] (SCNiFAST16): Likewise.
20137 [C99-based-standards] (SCNoFAST16): Likewise.
20138 [C99-based-standards] (SCNuFAST16): Likewise.
20139 [C99-based-standards] (SCNxFAST16): Likewise.
20140 [C99-based-standards] (PRId32): Likewise.
20141 [C99-based-standards] (PRIi32): Likewise.
20142 [C99-based-standards] (PRIo32): Likewise.
20143 [C99-based-standards] (PRIu32): Likewise.
20144 [C99-based-standards] (PRIx32): Likewise.
20145 [C99-based-standards] (PRIX32): Likewise.
20146 [C99-based-standards] (SCNd32): Likewise.
20147 [C99-based-standards] (SCNi32): Likewise.
20148 [C99-based-standards] (SCNo32): Likewise.
20149 [C99-based-standards] (SCNu32): Likewise.
20150 [C99-based-standards] (SCNx32): Likewise.
20151 [C99-based-standards] (PRIdLEAST32): Likewise.
20152 [C99-based-standards] (PRIiLEAST32): Likewise.
20153 [C99-based-standards] (PRIoLEAST32): Likewise.
20154 [C99-based-standards] (PRIuLEAST32): Likewise.
20155 [C99-based-standards] (PRIxLEAST32): Likewise.
20156 [C99-based-standards] (PRIXLEAST32): Likewise.
20157 [C99-based-standards] (SCNdLEAST32): Likewise.
20158 [C99-based-standards] (SCNiLEAST32): Likewise.
20159 [C99-based-standards] (SCNoLEAST32): Likewise.
20160 [C99-based-standards] (SCNuLEAST32): Likewise.
20161 [C99-based-standards] (SCNxLEAST32): Likewise.
20162 [C99-based-standards] (PRIdFAST32): Likewise.
20163 [C99-based-standards] (PRIiFAST32): Likewise.
20164 [C99-based-standards] (PRIoFAST32): Likewise.
20165 [C99-based-standards] (PRIuFAST32): Likewise.
20166 [C99-based-standards] (PRIxFAST32): Likewise.
20167 [C99-based-standards] (PRIXFAST32): Likewise.
20168 [C99-based-standards] (SCNdFAST32): Likewise.
20169 [C99-based-standards] (SCNiFAST32): Likewise.
20170 [C99-based-standards] (SCNoFAST32): Likewise.
20171 [C99-based-standards] (SCNuFAST32): Likewise.
20172 [C99-based-standards] (SCNxFAST32): Likewise.
20173 [C99-based-standards] (PRId64): Likewise.
20174 [C99-based-standards] (PRIi64): Likewise.
20175 [C99-based-standards] (PRIo64): Likewise.
20176 [C99-based-standards] (PRIu64): Likewise.
20177 [C99-based-standards] (PRIx64): Likewise.
20178 [C99-based-standards] (PRIX64): Likewise.
20179 [C99-based-standards] (SCNd64): Likewise.
20180 [C99-based-standards] (SCNi64): Likewise.
20181 [C99-based-standards] (SCNo64): Likewise.
20182 [C99-based-standards] (SCNu64): Likewise.
20183 [C99-based-standards] (SCNx64): Likewise.
20184 [C99-based-standards] (PRIdLEAST64): Likewise.
20185 [C99-based-standards] (PRIiLEAST64): Likewise.
20186 [C99-based-standards] (PRIoLEAST64): Likewise.
20187 [C99-based-standards] (PRIuLEAST64): Likewise.
20188 [C99-based-standards] (PRIxLEAST64): Likewise.
20189 [C99-based-standards] (PRIXLEAST64): Likewise.
20190 [C99-based-standards] (SCNdLEAST64): Likewise.
20191 [C99-based-standards] (SCNiLEAST64): Likewise.
20192 [C99-based-standards] (SCNoLEAST64): Likewise.
20193 [C99-based-standards] (SCNuLEAST64): Likewise.
20194 [C99-based-standards] (SCNxLEAST64): Likewise.
20195 [C99-based-standards] (PRIdFAST64): Likewise.
20196 [C99-based-standards] (PRIiFAST64): Likewise.
20197 [C99-based-standards] (PRIoFAST64): Likewise.
20198 [C99-based-standards] (PRIuFAST64): Likewise.
20199 [C99-based-standards] (PRIxFAST64): Likewise.
20200 [C99-based-standards] (PRIXFAST64): Likewise.
20201 [C99-based-standards] (SCNdFAST64): Likewise.
20202 [C99-based-standards] (SCNiFAST64): Likewise.
20203 [C99-based-standards] (SCNoFAST64): Likewise.
20204 [C99-based-standards] (SCNuFAST64): Likewise.
20205 [C99-based-standards] (SCNxFAST64): Likewise.
20206 [C99-based-standards] (PRIdMAX): Likewise.
20207 [C99-based-standards] (PRIiMAX): Likewise.
20208 [C99-based-standards] (PRIoMAX): Likewise.
20209 [C99-based-standards] (PRIuMAX): Likewise.
20210 [C99-based-standards] (PRIxMAX): Likewise.
20211 [C99-based-standards] (PRIXMAX): Likewise.
20212 [C99-based-standards] (SCNdMAX): Likewise.
20213 [C99-based-standards] (SCNiMAX): Likewise.
20214 [C99-based-standards] (SCNoMAX): Likewise.
20215 [C99-based-standards] (SCNuMAX): Likewise.
20216 [C99-based-standards] (SCNxMAX): Likewise.
20217 [C99-based-standards] (PRIdPTR): Likewise.
20218 [C99-based-standards] (PRIiPTR): Likewise.
20219 [C99-based-standards] (PRIoPTR): Likewise.
20220 [C99-based-standards] (PRIuPTR): Likewise.
20221 [C99-based-standards] (PRIxPTR): Likewise.
20222 [C99-based-standards] (PRIXPTR): Likewise.
20223 [C99-based-standards] (SCNdPTR): Likewise.
20224 [C99-based-standards] (SCNiPTR): Likewise.
20225 [C99-based-standards] (SCNoPTR): Likewise.
20226 [C99-based-standards] (SCNuPTR): Likewise.
20227 [C99-based-standards] (SCNxPTR): Likewise.
20228 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
20229 allow.
20230 * conform/data/stdint.h-data: Update comments to clarify
20231 requirements.
20232 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
20233 type.
20234 [C99-based standards] (INT8_MAX): Likewise.
20235 [C99-based standards] (INT16_MIN): Likewise.
20236 [C99-based standards] (INT16_MAX): Likewise.
20237 [C99-based standards] (INT32_MIN): Likewise.
20238 [C99-based standards] (INT32_MAX): Likewise.
20239 [C99-based standards] (INT64_MIN): Likewise.
20240 [C99-based standards] (INT64_MAX): Likewise.
20241 [C99-based standards] (UINT8_MAX): Likewise.
20242 [C99-based standards] (UINT16_MAX): Likewise.
20243 [C99-based standards] (UINT32_MAX): Likewise.
20244 [C99-based standards] (UINT64_MAX): Likewise.
20245 [C99-based standards] (INT_LEAST8_MIN): Likewise.
20246 [C99-based standards] (INT_LEAST8_MAX): Likewise.
20247 [C99-based standards] (INT_LEAST16_MIN): Likewise.
20248 [C99-based standards] (INT_LEAST16_MAX): Likewise.
20249 [C99-based standards] (INT_LEAST32_MIN): Likewise.
20250 [C99-based standards] (INT_LEAST32_MAX): Likewise.
20251 [C99-based standards] (INT_LEAST64_MIN): Likewise.
20252 [C99-based standards] (INT_LEAST64_MAX): Likewise.
20253 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
20254 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
20255 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
20256 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
20257 [C99-based standards] (INT_FAST8_MIN): Likewise.
20258 [C99-based standards] (INT_FAST8_MAX): Likewise.
20259 [C99-based standards] (INT_FAST16_MIN): Likewise.
20260 [C99-based standards] (INT_FAST16_MAX): Likewise.
20261 [C99-based standards] (INT_FAST32_MIN): Likewise.
20262 [C99-based standards] (INT_FAST32_MAX): Likewise.
20263 [C99-based standards] (INT_FAST64_MIN): Likewise.
20264 [C99-based standards] (INT_FAST64_MAX): Likewise.
20265 [C99-based standards] (UINT_FAST8_MAX): Likewise.
20266 [C99-based standards] (UINT_FAST16_MAX): Likewise.
20267 [C99-based standards] (UINT_FAST32_MAX): Likewise.
20268 [C99-based standards] (UINT_FAST64_MAX): Likewise.
20269 [C99-based standards] (INTPTR_MIN): Likewise.
20270 [C99-based standards] (INTPTR_MAX): Likewise.
20271 [C99-based standards] (UINTPTR_MAX): Likewise.
20272 [C99-based standards] (INTMAX_MIN): Likewise.
20273 [C99-based standards] (INTMAX_MAX): Likewise.
20274 [C99-based standards] (UINTMAX_MAX): Likewise.
20275 [C99-based standards] (PTRDIFF_MIN): Likewise.
20276 [C99-based standards] (PTRDIFF_MAX): Likewise.
20277 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
20278 [C99-based standards] (SIZE_MAX): Likewise.
20279 [C99-based standards] (WCHAR_MAX): Likewise.
20280 [C99-based standards] (WINT_MAX): Likewise.
20281 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
20282 constraint on value.
20283 [C99-based standards] (WCHAR_MIN): Likewise.
20284 [C99-based standards] (WINT_MIN): Likewise.
20285 [C99-based standards] (*_t): Allow.
20286 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
20287 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
20288 Include math.h-data and complex.h-data. Remove all expectations
20289 of math.h and complex.h contents.
20290 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
20291 at end of line.
20292 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
20293 (struct tm): Expect tag.
20294 [C99-based-standards] (wcstof): Expect function.
20295 [C99-based-standards] (wcstold): Likewise.
20296 [C99-based-standards] (wcstoll): Likewise.
20297 [C99-based-standards] (wcstoull): Likewise.
20298 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
20299 macro-int-constant. Specify type.
20300 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
20301 constraint on value.
20302 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
20303 Specify type.
20304 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
20305 Specify value.
20306 [ISO C standards]: Do not allow headers.
20307 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
20308 wcs[abcdefghijklmnopqrstuvwxyz]*.
20309 [ISO C standards] (*_t): Do not allow.
20310 * conform/data/wctype.h-data [C99-based standards] (iswblank):
20311 Expect function.
20312 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
20313 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
20314 Specify type.
20315 [ISO C standards]: Do not allow headers.
20316 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
20317 is[abcdefghijklmnopqrstuvwxyz]*.
20318 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
20319 to[abcdefghijklmnopqrstuvwxyz]*.
20320 [ISO C standards] (*_t): Do not allow.
20321 * conform/data/stdalign.h-data: New file.
20322 * conform/data/stdbool.h-data: Likewise.
20323 * conform/data/stdnoreturn.h-data: Likewise.
20324
7514feb8
RM
203252012-11-07 Roland McGrath <roland@hack.frob.com>
20326
20327 [BZ #14815]
20328 * manual/filesys.texi (Directory Entries): Typo fix.
20329 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
20330
19b2ecfc
MS
203312012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20332
20333 * elf/elf.h (EM_AARCH64): New macro.
20334 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
20335 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
20336 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
20337 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
20338 (R_AARCH64_TLSDESC): Likewise.
20339 (NT_ARM_TLS): Likewise.
20340 (NT_ARM_HW_BREAK): Likewise.
20341 (NT_ARM_HW_WATCH): Likewise.
20342
60e235ee
JM
203432012-11-07 Joseph Myers <joseph@codesourcery.com>
20344
20345 [BZ #14811]
20346 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
20347 (__ieee754_powl): Saturate nonzero exponents with absolute value
20348 below 0x1p-79 to +/- 0x1p-79.
20349 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
20350 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
20351 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
20352 nonzero exponents with absolute value below 0x1p-32 to +/-
20353 0x1p-32.
20354 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
20355 (__ieee754_powl): Saturate nonzero exponents with absolute value
20356 below 0x1p-79 to +/- 0x1p-79.
20357 * math/libm-test.inc (pow_test): Add more tests.
20358
0ab234b7
AK
203592012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20360
20361 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
20362 _dl_s390_cap_flags with kernel. Increase string length.
20363 (_dl_s390_platforms): Add z196 and zEC12.
20364
45832f74
JM
203652012-11-07 Joseph Myers <joseph@codesourcery.com>
20366
20367 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
20368 Change XOPEN21K to XOPEN2K.
20369
19218757
MK
203702012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
20371
20372 * string/memmove.c: Use memcpy when possible.
20373
c5f45721
AJ
203742012-11-06 Andreas Jaeger <aj@suse.de>
20375
20376 * po/eo.po: Update from translation team.
20377
82477c28
JM
203782012-11-06 Joseph Myers <joseph@codesourcery.com>
20379
20380 [BZ #14793]
20381 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
20382 exponent and small x and y exponents, scale x or y up. Increase
20383 by 2 the exponent used in scaling up.
20384 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
20385 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20386 * math/libm-test.inc (fma_test): Add more tests.
20387 (fma_test_towardzero): Likewise.
20388 (fma_test_downward): Likewise.
20389 (fma_test_upward): Likewise.
20390
99252c8c
JM
203912012-11-05 Joseph Myers <joseph@codesourcery.com>
20392
acfa885f
JM
20393 [BZ #14805]
20394 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
20395 fenv_t *.
20396
99252c8c
JM
20397 [BZ #14801]
20398 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
20399 namespace for names of struct fields.
20400 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
20401 fenv_t fields.
20402 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
20403 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
20404
d6d98dea
ST
204052012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
20406
20407 [BZ #3665]
20408 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
20409
e10bb107
TS
204102012-11-04 Thomas Schwinge <thomas@codesourcery.com>
20411
20412 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
20413 PTR_DEMANGLE.
20414
20415 [BZ #5246]
20416 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
20417 PTR_DEMANGLE.
20418
a0c2940d
JM
204192012-11-04 Joseph Myers <joseph@codesourcery.com>
20420
20421 [BZ #14797]
20422 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
20423 definitely overflow as x * y not x * y + z.
20424 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
20425 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20426 * math/libm-test.inc (fma_test): Add more tests.
20427 (fma_test_towardzero): Likewise.
20428 (fma_test_downward): Likewise.
20429 (fma_test_upward): Likewise.
20430
b830319d
TS
204312012-11-04 Thomas Schwinge <thomas@codesourcery.com>
20432
20433 [BZ #157]
20434
20435 * include/stub-tag.h: Remove file.
20436 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
20437 '#include' of it.
20438 * manual/maint.texi (Porting): Don't reference it.
20439 * Makerules ($(objpfx)stubs): Likewise.
20440 * dirent/closedir.c: Don't include <stub-tag.h>.
20441 * dirent/dirfd.c: Likewise.
20442 * dirent/fdopendir.c: Likewise.
20443 * dirent/getdents.c: Likewise.
20444 * dirent/getdents64.c: Likewise.
20445 * dirent/opendir.c: Likewise.
20446 * dirent/readdir.c: Likewise.
20447 * dirent/readdir64.c: Likewise.
20448 * dirent/readdir64_r.c: Likewise.
20449 * dirent/readdir_r.c: Likewise.
20450 * dirent/rewinddir.c: Likewise.
20451 * dirent/seekdir.c: Likewise.
20452 * dirent/telldir.c: Likewise.
20453 * gmon/profil.c: Likewise.
20454 * grp/setgroups.c: Likewise.
20455 * inet/if_index.c: Likewise.
20456 * io/access.c: Likewise.
20457 * io/chdir.c: Likewise.
20458 * io/chmod.c: Likewise.
20459 * io/chown.c: Likewise.
20460 * io/close.c: Likewise.
20461 * io/dup.c: Likewise.
20462 * io/dup2.c: Likewise.
20463 * io/dup3.c: Likewise.
20464 * io/euidaccess.c: Likewise.
20465 * io/faccessat.c: Likewise.
20466 * io/fchdir.c: Likewise.
20467 * io/fchmod.c: Likewise.
20468 * io/fchmodat.c: Likewise.
20469 * io/fchown.c: Likewise.
20470 * io/fchownat.c: Likewise.
20471 * io/fcntl.c: Likewise.
20472 * io/flock.c: Likewise.
20473 * io/fstatfs.c: Likewise.
20474 * io/fstatfs64.c: Likewise.
20475 * io/fstatvfs.c: Likewise.
20476 * io/fstatvfs64.c: Likewise.
20477 * io/futimens.c: Likewise.
20478 * io/fxstat.c: Likewise.
20479 * io/fxstat64.c: Likewise.
20480 * io/fxstatat.c: Likewise.
20481 * io/fxstatat64.c: Likewise.
20482 * io/getcwd.c: Likewise.
20483 * io/isatty.c: Likewise.
20484 * io/lchmod.c: Likewise.
20485 * io/lchown.c: Likewise.
20486 * io/link.c: Likewise.
20487 * io/linkat.c: Likewise.
20488 * io/lseek.c: Likewise.
20489 * io/lseek64.c: Likewise.
20490 * io/lxstat64.c: Likewise.
20491 * io/mkdir.c: Likewise.
20492 * io/mkdirat.c: Likewise.
20493 * io/mkfifo.c: Likewise.
20494 * io/mkfifoat.c: Likewise.
20495 * io/open.c: Likewise.
20496 * io/open64.c: Likewise.
20497 * io/openat.c: Likewise.
20498 * io/openat64.c: Likewise.
20499 * io/pipe.c: Likewise.
20500 * io/pipe2.c: Likewise.
20501 * io/poll.c: Likewise.
20502 * io/posix_fadvise.c: Likewise.
20503 * io/posix_fadvise64.c: Likewise.
20504 * io/posix_fallocate.c: Likewise.
20505 * io/posix_fallocate64.c: Likewise.
20506 * io/read.c: Likewise.
20507 * io/readlink.c: Likewise.
20508 * io/readlinkat.c: Likewise.
20509 * io/rmdir.c: Likewise.
20510 * io/sendfile.c: Likewise.
20511 * io/sendfile64.c: Likewise.
20512 * io/statfs.c: Likewise.
20513 * io/statfs64.c: Likewise.
20514 * io/statvfs.c: Likewise.
20515 * io/statvfs64.c: Likewise.
20516 * io/symlink.c: Likewise.
20517 * io/symlinkat.c: Likewise.
20518 * io/ttyname.c: Likewise.
20519 * io/ttyname_r.c: Likewise.
20520 * io/umask.c: Likewise.
20521 * io/unlink.c: Likewise.
20522 * io/unlinkat.c: Likewise.
20523 * io/utime.c: Likewise.
20524 * io/utimensat.c: Likewise.
20525 * io/write.c: Likewise.
20526 * io/xmknod.c: Likewise.
20527 * io/xmknodat.c: Likewise.
20528 * io/xstat.c: Likewise.
20529 * io/xstat64.c: Likewise.
20530 * login/getpt.c: Likewise.
20531 * login/grantpt.c: Likewise.
20532 * login/unlockpt.c: Likewise.
20533 * math/e_acoshl.c: Likewise.
20534 * math/e_acosl.c: Likewise.
20535 * math/e_asinl.c: Likewise.
20536 * math/e_atan2l.c: Likewise.
20537 * math/e_atanhl.c: Likewise.
20538 * math/e_coshl.c: Likewise.
20539 * math/e_expl.c: Likewise.
20540 * math/e_fmodl.c: Likewise.
20541 * math/e_gammal_r.c: Likewise.
20542 * math/e_hypotl.c: Likewise.
20543 * math/e_j0l.c: Likewise.
20544 * math/e_j1l.c: Likewise.
20545 * math/e_jnl.c: Likewise.
20546 * math/e_lgammal_r.c: Likewise.
20547 * math/e_log10l.c: Likewise.
20548 * math/e_log2l.c: Likewise.
20549 * math/e_logl.c: Likewise.
20550 * math/e_powl.c: Likewise.
20551 * math/e_rem_pio2l.c: Likewise.
20552 * math/e_sinhl.c: Likewise.
20553 * math/e_sqrtl.c: Likewise.
20554 * math/fclrexcpt.c: Likewise.
20555 * math/fedisblxcpt.c: Likewise.
20556 * math/feenablxcpt.c: Likewise.
20557 * math/fegetenv.c: Likewise.
20558 * math/fegetexcept.c: Likewise.
20559 * math/fegetround.c: Likewise.
20560 * math/feholdexcpt.c: Likewise.
20561 * math/fesetenv.c: Likewise.
20562 * math/fesetround.c: Likewise.
20563 * math/feupdateenv.c: Likewise.
20564 * math/fgetexcptflg.c: Likewise.
20565 * math/fraiseexcpt.c: Likewise.
20566 * math/fsetexcptflg.c: Likewise.
20567 * math/ftestexcept.c: Likewise.
20568 * math/k_cosl.c: Likewise.
20569 * math/k_rem_pio2l.c: Likewise.
20570 * math/k_sinl.c: Likewise.
20571 * math/k_tanl.c: Likewise.
20572 * math/s_asinhl.c: Likewise.
20573 * math/s_atanl.c: Likewise.
20574 * math/s_cbrtl.c: Likewise.
20575 * math/s_erfl.c: Likewise.
20576 * math/s_expm1l.c: Likewise.
20577 * math/s_log1pl.c: Likewise.
20578 * math/s_tanhl.c: Likewise.
20579 * misc/acct.c: Likewise.
20580 * misc/brk.c: Likewise.
20581 * misc/chflags.c: Likewise.
20582 * misc/chroot.c: Likewise.
20583 * misc/fchflags.c: Likewise.
20584 * misc/fgetxattr.c: Likewise.
20585 * misc/flistxattr.c: Likewise.
20586 * misc/fremovexattr.c: Likewise.
20587 * misc/fsetxattr.c: Likewise.
20588 * misc/fsync.c: Likewise.
20589 * misc/ftruncate.c: Likewise.
20590 * misc/futimes.c: Likewise.
20591 * misc/futimesat.c: Likewise.
20592 * misc/getdomain.c: Likewise.
20593 * misc/getdtsz.c: Likewise.
20594 * misc/gethostid.c: Likewise.
20595 * misc/gethostname.c: Likewise.
20596 * misc/getloadavg.c: Likewise.
20597 * misc/getpagesize.c: Likewise.
20598 * misc/getsysstats.c: Likewise.
20599 * misc/getxattr.c: Likewise.
20600 * misc/gtty.c: Likewise.
20601 * misc/ioctl.c: Likewise.
20602 * misc/lgetxattr.c: Likewise.
20603 * misc/listxattr.c: Likewise.
20604 * misc/llistxattr.c: Likewise.
20605 * misc/lremovexattr.c: Likewise.
20606 * misc/lsetxattr.c: Likewise.
20607 * misc/lutimes.c: Likewise.
20608 * misc/madvise.c: Likewise.
20609 * misc/mincore.c: Likewise.
20610 * misc/mlock.c: Likewise.
20611 * misc/mlockall.c: Likewise.
20612 * misc/mmap.c: Likewise.
20613 * misc/mprotect.c: Likewise.
20614 * misc/msync.c: Likewise.
20615 * misc/munlock.c: Likewise.
20616 * misc/munlockall.c: Likewise.
20617 * misc/munmap.c: Likewise.
20618 * misc/preadv.c: Likewise.
20619 * misc/preadv64.c: Likewise.
20620 * misc/ptrace.c: Likewise.
20621 * misc/pwritev.c: Likewise.
20622 * misc/pwritev64.c: Likewise.
20623 * misc/readv.c: Likewise.
20624 * misc/reboot.c: Likewise.
20625 * misc/remap_file_pages.c: Likewise.
20626 * misc/removexattr.c: Likewise.
20627 * misc/revoke.c: Likewise.
20628 * misc/select.c: Likewise.
20629 * misc/setdomain.c: Likewise.
20630 * misc/setegid.c: Likewise.
20631 * misc/seteuid.c: Likewise.
20632 * misc/sethostid.c: Likewise.
20633 * misc/sethostname.c: Likewise.
20634 * misc/setregid.c: Likewise.
20635 * misc/setreuid.c: Likewise.
20636 * misc/setxattr.c: Likewise.
20637 * misc/sstk.c: Likewise.
20638 * misc/stty.c: Likewise.
20639 * misc/swapoff.c: Likewise.
20640 * misc/swapon.c: Likewise.
20641 * misc/sync.c: Likewise.
20642 * misc/syncfs.c: Likewise.
20643 * misc/syscall.c: Likewise.
20644 * misc/truncate.c: Likewise.
20645 * misc/ualarm.c: Likewise.
20646 * misc/usleep.c: Likewise.
20647 * misc/ustat.c: Likewise.
20648 * misc/utimes.c: Likewise.
20649 * misc/vhangup.c: Likewise.
20650 * misc/writev.c: Likewise.
20651 * posix/_exit.c: Likewise.
20652 * posix/alarm.c: Likewise.
20653 * posix/execve.c: Likewise.
20654 * posix/fexecve.c: Likewise.
20655 * posix/fork.c: Likewise.
20656 * posix/fpathconf.c: Likewise.
20657 * posix/getaddrinfo.c: Likewise.
20658 * posix/getegid.c: Likewise.
20659 * posix/geteuid.c: Likewise.
20660 * posix/getgid.c: Likewise.
20661 * posix/getgroups.c: Likewise.
20662 * posix/getlogin.c: Likewise.
20663 * posix/getlogin_r.c: Likewise.
20664 * posix/getpgid.c: Likewise.
20665 * posix/getpid.c: Likewise.
20666 * posix/getppid.c: Likewise.
20667 * posix/getresgid.c: Likewise.
20668 * posix/getresuid.c: Likewise.
20669 * posix/getsid.c: Likewise.
20670 * posix/getuid.c: Likewise.
20671 * posix/glob64.c: Likewise.
20672 * posix/nanosleep.c: Likewise.
20673 * posix/pathconf.c: Likewise.
20674 * posix/pause.c: Likewise.
20675 * posix/posix_madvise.c: Likewise.
20676 * posix/pread.c: Likewise.
20677 * posix/pread64.c: Likewise.
20678 * posix/pwrite.c: Likewise.
20679 * posix/pwrite64.c: Likewise.
20680 * posix/sched_getaffinity.c: Likewise.
20681 * posix/sched_getp.c: Likewise.
20682 * posix/sched_gets.c: Likewise.
20683 * posix/sched_primax.c: Likewise.
20684 * posix/sched_primin.c: Likewise.
20685 * posix/sched_rr_gi.c: Likewise.
20686 * posix/sched_setaffinity.c: Likewise.
20687 * posix/sched_setp.c: Likewise.
20688 * posix/sched_sets.c: Likewise.
20689 * posix/sched_yield.c: Likewise.
20690 * posix/setgid.c: Likewise.
20691 * posix/setlogin.c: Likewise.
20692 * posix/setpgid.c: Likewise.
20693 * posix/setresgid.c: Likewise.
20694 * posix/setresuid.c: Likewise.
20695 * posix/setsid.c: Likewise.
20696 * posix/setuid.c: Likewise.
20697 * posix/sleep.c: Likewise.
20698 * posix/spawni.c: Likewise.
20699 * posix/sysconf.c: Likewise.
20700 * posix/times.c: Likewise.
20701 * posix/wait.c: Likewise.
20702 * posix/wait3.c: Likewise.
20703 * posix/wait4.c: Likewise.
20704 * posix/waitpid.c: Likewise.
20705 * resolv/gai_sigqueue.c: Likewise.
20706 * resource/getpriority.c: Likewise.
20707 * resource/getrlimit.c: Likewise.
20708 * resource/getrusage.c: Likewise.
20709 * resource/nice.c: Likewise.
20710 * resource/setpriority.c: Likewise.
20711 * resource/setrlimit.c: Likewise.
20712 * resource/ulimit.c: Likewise.
20713 * rt/aio_cancel.c: Likewise.
20714 * rt/aio_fsync.c: Likewise.
20715 * rt/aio_read.c: Likewise.
20716 * rt/aio_sigqueue.c: Likewise.
20717 * rt/aio_suspend.c: Likewise.
20718 * rt/aio_write.c: Likewise.
20719 * rt/clock_getres.c: Likewise.
20720 * rt/clock_gettime.c: Likewise.
20721 * rt/clock_nanosleep.c: Likewise.
20722 * rt/clock_settime.c: Likewise.
20723 * rt/lio_listio.c: Likewise.
20724 * rt/mq_close.c: Likewise.
20725 * rt/mq_getattr.c: Likewise.
20726 * rt/mq_notify.c: Likewise.
20727 * rt/mq_open.c: Likewise.
20728 * rt/mq_receive.c: Likewise.
20729 * rt/mq_send.c: Likewise.
20730 * rt/mq_setattr.c: Likewise.
20731 * rt/mq_timedreceive.c: Likewise.
20732 * rt/mq_timedsend.c: Likewise.
20733 * rt/mq_unlink.c: Likewise.
20734 * rt/shm_open.c: Likewise.
20735 * rt/shm_unlink.c: Likewise.
20736 * rt/timer_create.c: Likewise.
20737 * rt/timer_delete.c: Likewise.
20738 * rt/timer_getoverr.c: Likewise.
20739 * rt/timer_gettime.c: Likewise.
20740 * rt/timer_settime.c: Likewise.
20741 * setjmp/__longjmp.c: Likewise.
20742 * setjmp/setjmp.c: Likewise.
20743 * signal/kill.c: Likewise.
20744 * signal/killpg.c: Likewise.
20745 * signal/raise.c: Likewise.
20746 * signal/sigaction.c: Likewise.
20747 * signal/sigaltstack.c: Likewise.
20748 * signal/sigblock.c: Likewise.
20749 * signal/sigignore.c: Likewise.
20750 * signal/sigintr.c: Likewise.
20751 * signal/signal.c: Likewise.
20752 * signal/sigpause.c: Likewise.
20753 * signal/sigpending.c: Likewise.
20754 * signal/sigqueue.c: Likewise.
20755 * signal/sigreturn.c: Likewise.
20756 * signal/sigset.c: Likewise.
20757 * signal/sigsetmask.c: Likewise.
20758 * signal/sigstack.c: Likewise.
20759 * signal/sigsuspend.c: Likewise.
20760 * signal/sigtimedwait.c: Likewise.
20761 * signal/sigvec.c: Likewise.
20762 * signal/sigwait.c: Likewise.
20763 * signal/sigwaitinfo.c: Likewise.
20764 * signal/sysv_signal.c: Likewise.
20765 * socket/accept.c: Likewise.
20766 * socket/accept4.c: Likewise.
20767 * socket/bind.c: Likewise.
20768 * socket/connect.c: Likewise.
20769 * socket/getpeername.c: Likewise.
20770 * socket/getsockname.c: Likewise.
20771 * socket/getsockopt.c: Likewise.
20772 * socket/isfdtype.c: Likewise.
20773 * socket/listen.c: Likewise.
20774 * socket/recv.c: Likewise.
20775 * socket/recvfrom.c: Likewise.
20776 * socket/recvmsg.c: Likewise.
20777 * socket/send.c: Likewise.
20778 * socket/sendmsg.c: Likewise.
20779 * socket/sendto.c: Likewise.
20780 * socket/setsockopt.c: Likewise.
20781 * socket/shutdown.c: Likewise.
20782 * socket/sockatmark.c: Likewise.
20783 * socket/socket.c: Likewise.
20784 * socket/socketpair.c: Likewise.
20785 * stdio-common/ctermid.c: Likewise.
20786 * stdio-common/cuserid.c: Likewise.
20787 * stdio-common/remove.c: Likewise.
20788 * stdio-common/rename.c: Likewise.
20789 * stdio-common/renameat.c: Likewise.
20790 * stdio-common/tempname.c: Likewise.
20791 * stdlib/getcontext.c: Likewise.
20792 * stdlib/makecontext.c: Likewise.
20793 * stdlib/setcontext.c: Likewise.
20794 * stdlib/swapcontext.c: Likewise.
20795 * stdlib/system.c: Likewise.
20796 * streams/fattach.c: Likewise.
20797 * streams/fdetach.c: Likewise.
20798 * streams/getmsg.c: Likewise.
20799 * streams/getpmsg.c: Likewise.
20800 * streams/putmsg.c: Likewise.
20801 * streams/putpmsg.c: Likewise.
20802 * sysdeps/unix/bsd/getpt.c: Likewise.
20803 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
20804 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
20805 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
20806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
20807 Likewise.
20808 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
20809 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
20810 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
20811 * sysvipc/msgctl.c: Likewise.
20812 * sysvipc/msgget.c: Likewise.
20813 * sysvipc/msgrcv.c: Likewise.
20814 * sysvipc/msgsnd.c: Likewise.
20815 * sysvipc/semctl.c: Likewise.
20816 * sysvipc/semget.c: Likewise.
20817 * sysvipc/semop.c: Likewise.
20818 * sysvipc/semtimedop.c: Likewise.
20819 * sysvipc/shmat.c: Likewise.
20820 * sysvipc/shmctl.c: Likewise.
20821 * sysvipc/shmdt.c: Likewise.
20822 * sysvipc/shmget.c: Likewise.
20823 * termios/tcdrain.c: Likewise.
20824 * termios/tcflow.c: Likewise.
20825 * termios/tcflush.c: Likewise.
20826 * termios/tcgetattr.c: Likewise.
20827 * termios/tcgetpgrp.c: Likewise.
20828 * termios/tcsendbrk.c: Likewise.
20829 * termios/tcsetattr.c: Likewise.
20830 * termios/tcsetpgrp.c: Likewise.
20831 * time/adjtime.c: Likewise.
20832 * time/clock.c: Likewise.
20833 * time/getitimer.c: Likewise.
20834 * time/gettimeofday.c: Likewise.
20835 * time/setitimer.c: Likewise.
20836 * time/settimeofday.c: Likewise.
20837 * time/stime.c: Likewise.
20838 * time/time.c: Likewise.
20839
208402012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 20841
a20492cf
PT
20842 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
20843 /usr/old/bin.
20844
72e182e3
PT
20845 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
20846 instead of spaces.
20847 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
20848
fbeafede
JM
208492012-11-03 Joseph Myers <joseph@codesourcery.com>
20850
5b5b04d6
JM
20851 [BZ #14796]
20852 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
20853 FE_TONEAREST before applying Dekker multiplication and Knuth
20854 addition. Clear inexact exceptions and check for exact zero
20855 results afterwards.
20856 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
20857 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
20858 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20859 * math/libm-test.inc (fma_test): Add more tests.
20860 (fma_test_towardzero): Likewise.
20861 (fma_test_downward): Likewise.
20862 (fma_test_upward): Likewise.
20863 * sysdeps/generic/math_private.h (default_libc_fesetround): New
20864 function.
20865 (libc_fesetround): New macro.
20866 (libc_fesetroundf): Likewise.
20867 (libc_fesetroundl): Likewise.
20868 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
20869 function.
20870 (libc_fesetround_387): Likewise.
20871 (libc_fesetroundf): New macro.
20872 (libc_fesetround): Likewise.
20873 (libc_fesetroundl): Likewise.
20874 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
20875 function.
20876 (libc_fesetroundf): New macro.
20877 (libc_fesetround): Likewise.
20878 (libc_fesetroundl): Likewise.
20879 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
20880 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
20881 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
20882 libm_hidden_ver.
20883 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
20884 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
20885 libm_hidden_def.
20886 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
20887 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
20888 libm_hidden_ver.
20889 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
20890 libm_hidden_def.
20891
fbeafede
JM
20892 [BZ #3439]
20893 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
20894 integer constant usable in #if and use that to give value to enum
20895 constant.
20896 (FE_DIVBYZERO): Likewise.
20897 (FE_UNDERFLOW): Likewise.
20898 (FE_OVERFLOW): Likewise.
20899 (FE_INVALID): Likewise.
20900 (FE_INVALID_SNAN): Likewise.
20901 (FE_INVALID_ISI): Likewise.
20902 (FE_INVALID_IDI): Likewise.
20903 (FE_INVALID_ZDZ): Likewise.
20904 (FE_INVALID_IMZ): Likewise.
20905 (FE_INVALID_COMPARE): Likewise.
20906 (FE_INVALID_SOFTWARE): Likewise.
20907 (FE_INVALID_SQRT): Likewise.
20908 (FE_INVALID_INTEGER_CONVERSION): Likewise.
20909 (FE_TONEAREST): Likewise.
20910 (FE_TOWARDZERO): Likewise.
20911 (FE_UPWARD): Likewise.
20912 (FE_DOWNWARD): Likewise.
20913 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
20914 (FE_DIVBYZERO): Likewise.
20915 (FE_OVERFLOW): Likewise.
20916 (FE_UNDERFLOW): Likewise.
20917 (FE_INEXACT): Likewise.
20918 (FE_TONEAREST): Likewise.
20919 (FE_DOWNWARD): Likewise.
20920 (FE_UPWARD): Likewise.
20921 (FE_TOWARDZERO): Likewise.
20922 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
20923 (FE_UNDERFLOW): Likewise.
20924 (FE_OVERFLOW): Likewise.
20925 (FE_DIVBYZERO): Likewise.
20926 (FE_INVALID): Likewise.
20927 (FE_TONEAREST): Likewise.
20928 (FE_TOWARDZERO): Likewise.
20929 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
20930 (FE_OVERFLOW): Likewise.
20931 (FE_UNDERFLOW): Likewise.
20932 (FE_DIVBYZERO): Likewise.
20933 (FE_INEXACT): Likewise.
20934 (FE_TONEAREST): Likewise.
20935 (FE_TOWARDZERO): Likewise.
20936 (FE_UPWARD): Likewise.
20937 (FE_DOWNWARD): Likewise.
20938 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
20939 (FE_DIVBYZERO): Likewise.
20940 (FE_OVERFLOW): Likewise.
20941 (FE_UNDERFLOW): Likewise.
20942 (FE_INEXACT): Likewise.
20943 (FE_TONEAREST): Likewise.
20944 (FE_DOWNWARD): Likewise.
20945 (FE_UPWARD): Likewise.
20946 (FE_TOWARDZERO): Likewise.
20947
105ca950
CM
209482012-11-02 Chris Metcalf <cmetcalf@tilera.com>
20949
20950 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
20951
a542b389
AS
209522012-11-03 Andreas Schwab <schwab@linux-m68k.org>
20953
20954 * scripts/cross-test-ssh.sh (command): Use newlines to separate
20955 commands. Quote $PWD.
20956 (blacklist_exports): Don't use remove_newlines. Replace "declare
20957 -x" by "export".
20958 (remove_newlines): Remove.
20959
f62c8abc
L
209602012-11-02 H.J. Lu <hongjiu.lu@intel.com>
20961
20962 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
20963 * stdlib/stdlib.h (atof): Moved to ...
20964 * include/bits/stdlib-float.h: Here. New file.
20965 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
20966 * stdlib/bits/stdlib-float.h: New file.
20967 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
20968 -mno-sse -mno-mmx.
20969 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
20970 <xmmintrin.h>.
20971
0155d5b2
JM
209722012-11-02 Joseph Myers <joseph@codesourcery.com>
20973
a68d0680
JM
20974 * conform/conformtest.pl (@headers): Add fenv.h.
20975 * conform/data/fenv.h-data: New file.
20976 * include/fenv.h [_ISOMAC]: Disable all contents of file except
20977 include of <math/fenv.h>.
20978
caf7f573
JM
20979 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
20980 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
20981 && !UNIX98]. Enables tests for XOPEN2K8.
20982 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
20983 POSIX2008]: Likewise.
20984
6c073ad6
JM
20985 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
20986 (struct rusage): Do not expect type or its members.
20987
0155d5b2
JM
20988 [BZ #3439]
20989 * math/math.h (FP_NAN): Define macro to integer constant usable in
20990 #if and use that to give value to enum constant.
20991 (FP_INFINITE): Likewise.
20992 (FP_ZERO): Likewise.
20993 (FP_SUBNORMAL): Likewise.
20994 (FP_NORMAL): Likewise.
20995
b5dcacb4
AS
209962012-11-02 Andreas Schwab <schwab@linux-m68k.org>
20997
20998 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
20999 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
21000 arguments.
21001
f7934be8
RM
210022012-11-02 Roland McGrath <roland@hack.frob.com>
21003
21004 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
21005 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
21006 autoconf-time if not.
21007 * configure.in: Remove AC_PREREQ.
21008
d7d08bde
TMQMF
210092012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21010
21011 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
21012 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
21013 of the internal implementation.
21014
dcdae19a
JM
210152012-11-02 Joseph Myers <joseph@codesourcery.com>
21016
21017 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
21018 except include of <misc/sys/syslog.h>.
21019
d6cffd3e
AS
210202012-11-01 Andreas Schwab <schwab@linux-m68k.org>
21021
21022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
21023 function returns with a NULL context exit with zero.
21024
b3563932
TMQMF
210252012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21026
21027 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
21028
b288a93d
L
210292012-11-01 H.J. Lu <hongjiu.lu@intel.com>
21030
21031 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
21032 (run_program_cmd): This.
21033 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
21034 (tst_langinfo): New variable. Use it.
21035
a2421a68
SAS
210362012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
21037
21038 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
21039 floating point opcodes.
21040
6f796e1b
TS
210412012-11-01 Thomas Schwinge <thomas@codesourcery.com>
21042
7402596b
TS
21043 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
21044 variable.
21045
d0d4f868
TS
21046 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
21047
6f796e1b
TS
21048 * sysdeps/mach/hurd/powerpc: Remove directory.
21049 * sysdeps/mach/powerpc: Likewise.
21050
4da224a2
AS
210512012-11-01 Andreas Schwab <schwab@linux-m68k.org>
21052
21053 * scripts/check-local-headers.sh: Ignore c++ headers.
21054
341dd673
TS
210552012-11-01 Thomas Schwinge <thomas@codesourcery.com>
21056
21057 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
21058 __libc_cleanup_region_start argument.
21059
473611b2
JM
210602012-11-01 Joseph Myers <joseph@codesourcery.com>
21061
21062 [BZ #14784]
21063 [BZ #14785]
21064 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
21065 x * y using scaling, not as x * y + z.
21066 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21067 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21068 * math/libm-test.inc (fma_test): Add more tests.
21069 (fma_test_towardzero): Likewise.
21070 (fma_test_downward): Likewise.
21071 (fma_test_upward): Likewise.
21072
4078da3d
TS
210732012-11-01 Thomas Schwinge <thomas@codesourcery.com>
21074
21075 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
21076
903252aa
JM
210772012-10-31 Joseph Myers <joseph@codesourcery.com>
21078
21079 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
21080 New variable.
21081
cbc818d0
TS
210822012-10-31 Thomas Schwinge <thomas@codesourcery.com>
21083
21084 * rt/tst-shm.c (worker): Correct checking for mmap failure.
21085
5a03cb1e
AS
210862012-10-31 Andreas Schwab <schwab@linux-m68k.org>
21087
21088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21089 Fix sort order.
21090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21091 Likewise.
21092
90aff2ff
TMQMF
210932012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21094
21095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21096 Fix the order of the list for glibc 2.17.
21097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21098 Likewise.
21099
1818fcb7
AS
211002012-10-31 Andreas Schwab <schwab@linux-m68k.org>
21101
21102 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21103
ef82f4da
JM
211042012-10-31 Joseph Myers <joseph@codesourcery.com>
21105
16a0e2ec
JM
21106 [BZ #14610]
21107 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
21108 for low part of x being zero before using __atanl (y).
21109 * math/libm-test.inc (atan2_test): Add another test.
21110
0eb69512
JM
21111 * manual/install.texi (Configuring and compiling): Document
21112 general use of test-wrapper and test-wrapper-env.
21113 * INSTALL: Regenerated.
21114
ef82f4da
JM
21115 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
21116 (__fma): Do not extract and scale down low bits on after-rounding
21117 systems when result rounded to normal precision would have normal
21118 exponent.
21119 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
21120 (__fmal): Do not extract and scale down low bits on after-rounding
21121 systems when result rounded to normal precision would have normal
21122 exponent.
21123 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
21124 (__fmal): Do not extract and scale down low bits on after-rounding
21125 systems when result rounded to normal precision would have normal
21126 exponent.
21127 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
21128 macro.
21129 (fma_test): Add more tests.
21130 (fma_test_towardzero): Likewise.
21131 (fma_test_downward): Likewise.
21132 (fma_test_upward): Likewise.
21133
954ef0d9
L
211342012-10-30 H.J. Lu <hongjiu.lu@intel.com>
21135
21136 * sysdeps/i386/tininess.h: Renamed to ...
21137 * sysdeps/x86/tininess.h: This.
21138 * sysdeps/x86_64/tininess.h: Removed.
21139
df61ffb2
JM
211402012-10-30 Joseph Myers <joseph@codesourcery.com>
21141
21142 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
21143 input. Use $(build-program-cmd).
21144 ($(objpfx)tst-array1-static.out): Likewise.
21145 ($(objpfx)tst-array2.out): Likewise.
21146 ($(objpfx)tst-array3.out): Likewise.
21147 ($(objpfx)tst-array4.out): Likewise.
21148 ($(objpfx)tst-array5.out): Likewise.
21149 ($(objpfx)tst-array5-static.out): Likewise.
21150
01767843
CM
211512012-10-30 Chris Metcalf <cmetcalf@tilera.com>
21152
47cc1490
CM
21153 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
21154 if defined.
21155
01767843
CM
21156 * nss/nsswitch.h (nss_interface_function): Provide new
21157 macro for use with NSS functions.
21158 * grp/initgroups.c: Use new macro.
21159 * nss/getXXbyYY.c: Likewise.
21160 * nss/getXXbyYY_r.c: Likewise.
21161 * nss/getXXent.c: Likewise.
21162 * nss/getXXent_r.c: Likewise.
21163 * sysdeps/posix/getaddrinfo.c: Likewise.
21164
8321aa97
AJ
211652012-10-30 Andreas Jaeger <aj@suse.de>
21166
21167 * po/ru.po: Update Russion translation from translation project.
21168
2a27fd6d
JM
211692012-10-30 Joseph Myers <joseph@codesourcery.com>
21170
8627a232
JM
21171 [BZ #14152]
21172 [BZ #14783]
21173 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
21174 result and shift together with sticky bit instead of replicating
21175 round-to-nearest rounding.
21176 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21177 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21178 * math/libm-test.inc (fma_test): Add more tests. Do not permit
21179 missing underflow exceptions.
21180 (fma_test_towardzero): Add more tests.
21181 (fma_test_downward): Likewise.
21182 (fma_test_upward): Likewise.
21183
2a27fd6d
JM
21184 [BZ #14047]
21185 * sysdeps/generic/tininess.h: New file.
21186 * sysdeps/i386/tininess.h: Likewise.
21187 * sysdeps/sh/tininess.h: Likewise.
21188 * sysdeps/x86_64/tininess.h: Likewise.
21189 * stdlib/tst-strtod-underflow.c: Likewise.
21190 * stdlib/tst-tininess.c: Likewise.
21191 * stdlib/strtod_l.c: Include <tininess.h>.
21192 (round_and_return): Do not set errno for exact underflow cases.
21193 Force an underflow exception when setting errno for underflow.
21194 Determine underflow based on rounding to normal precision if
21195 TININESS_AFTER_ROUNDING.
21196 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
21197 ERANGE for exact underflow cases.
21198 * stdlib/Makefile (tests): Add tst-tininess and
21199 tst-strtod-underflow.
21200 ($(objpfx)tst-tininess): Use $(link-libm).
21201 ($(objpfx)tst-strtod-underflow): Likewise.
21202
e7170363
AJ
212032012-10-30 Andreas Jaeger <aj@suse.de>
21204
e5088dc6
AJ
21205 [BZ#14767]
21206 * elf/Makefile (tests): Remove conditional for have-initfini-array
21207 since this is now always required and the variable does not exist
21208 anymore.
21209 (tests-static): Likewise.
21210 (modules-names): Likewise.
21211
e7170363 21212 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
21213
21214 * elf/tst-array1.c (fini_array): Make writeable so that it can be
21215 merged with constructor/destructor.
21216 (init_array): Likewise.
21217 * elf/tst-array2dep.c (fini_array): Likewise.
21218 (init_array): Likewise.
21219
60457d8a
MF
212202012-10-29 Mike Frysinger <vapier@gentoo.org>
21221
21222 * manual/message.texi: Delete @cartouche tags.
21223
8bece752
PT
212242012-10-29 Pino Toscano <toscano.pino@tiscali.it>
21225
94ce799f
PT
21226 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
21227 EOPNOTSUPP.
21228 * sysdeps/mach/hurd/fsync.c: Likewise.
21229
8bece752
PT
21230 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
21231 [_POSIX_REALTIME_SIGNALS]: Change condition to
21232 [_POSIX_REALTIME_SIGNALS > 0].
21233
86ebe6b1
AJ
212342012-10-27 Andreas Jaeger <aj@suse.de>
21235
21236 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
21237 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
21238 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
21239 [__WORDSIZE != 64]: Likewise.
21240
54399c08
L
212412012-10-26 H.J. Lu <hongjiu.lu@intel.com>
21242
21243 * iconvdata/tst-table.sh: Remove ${SHELL}.
21244 * iconvdata/tst-tables.sh: Likewise.
21245
e2211bed
DM
212462012-10-25 David S. Miller <davem@davemloft.net>
21247
21248 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21249 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
21250 of strtoull.
21251
f303f97c
DM
21252 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
21253 ifunc-impl-list.c
21254 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
21255 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
21256 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
21257 file.
21258
1e9d84cd
RM
212592012-10-25 Roland McGrath <roland@hack.frob.com>
21260
21261 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21262 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
21263 __getdirentries.
21264
df381762
JM
212652012-10-25 Joseph Myers <joseph@codesourcery.com>
21266 Jim Blandy <jimb@codesourcery.com>
21267
21268 * scripts/cross-test-ssh.sh: New file.
21269 * manual/install.texi (Configuring and compiling): Document use of
21270 cross-test-ssh.sh.
21271 * INSTALL: Regenerated.
21272
bff64913
PT
212732012-10-25 Pino Toscano <toscano.pino@tiscali.it>
21274
21275 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
21276 EOPNOTSUPP.
21277
25fe8932
JM
212782012-10-25 Joseph Myers <joseph@codesourcery.com>
21279
21280 * Makeconfig (run-program-prefix): Fix comment.
21281
cc1290d0
JM
212822012-10-24 Joseph Myers <joseph@codesourcery.com>
21283 Jim Blandy <jimb@codesourcery.com>
21284
21285 * Makeconfig (test-wrapper): New variable,
21286 (test-wrapper-env): Likewise.
21287 [$(cross-compiling) = yes && $(test-wrapper) != ""]
21288 (run-built-tests): Define to yes.
21289 (run-program-prefix): Use $(test-wrapper).
21290 (built-program-cmd): Likewise.
21291 * Rules (make-test-out): Use $(test-wrapper-env) and
21292 $(host-built-program-cmd).
21293 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
21294 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
21295 tst-pathopt.sh.
21296 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
21297 $(test-wrapper-env) to tst-rtld-load-self.sh.
21298 ($(objpfx)order2.out): Use $(test-wrapper).
21299 ($(objpfx)tst-initorder.out): Likewise.
21300 ($(objpfx)tst-initorder2.out): Likewise.
21301 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
21302 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
21303 (test_wrapper_env): New variable. Use it to run ld.so.
21304 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
21305 Use it to run ld.so.
21306 (test_wrapper_env): Likewise.
21307 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
21308 $(test-wrapper) to run-iconv-test.sh.
21309 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
21310 (ICONV): Use $test_wrapper.
21311 * posix/Makefile ($(objpfx)globtest.out): Pass
21312 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
21313 globtest.sh, not $(run-program-prefix).
21314 * posix/globtest.sh (run_via_rtld_prefix): New variable.
21315 (test_wrapper): Likewise.
21316 (test_wrapper_env): Likewise. Use it to run globtest with HOME
21317 set together with run_via_rtld_prefix.
21318 (run_program_prefix): Define in terms of test_wrapper and
21319 run_via_rtld_prefix.
21320
6e6249d0
RM
213212012-10-24 Roland McGrath <roland@hack.frob.com>
21322
21323 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
21324 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
21325 Targets removed.
21326
21327 [BZ #14743]
21328 * include/time.h: Remove librt_hidden_proto (clock_gettime).
21329 Declare __clock_getres, __clock_gettime, __clock_settime,
21330 __clock_nanosleep, and __clock_getcpuclockid.
21331 * rt/clock_gettime.c: Define __clock_gettime as an alias.
21332 Remove librt_hidden_def (clock_gettime).
21333 * sysdeps/unix/clock_gettime.c: Likewise.
21334 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
21335 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
21336 * rt/clock_getres.c: Define __clock_getres as an alias.
21337 * sysdeps/posix/clock_getres.c: Likewise.
21338 * rt/clock_settime.c: Define __clock_settime as an alias.
21339 * sysdeps/unix/clock_settime.c: Likewise.
21340 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
21341 * sysdeps/unix/clock_nanosleep.c: Likewise.
21342 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
21343 * rt/clock-compat.c: New file.
21344 * rt/Makefile (librt-routines): Add clock-compat and move
21345 $(clock-routines) to ...
21346 (routines): ... here, new variable.
21347 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
21348 Don't add get_clockfreq here.
21349 * rt/Versions (libc: GLIBC_2.17): New version set.
21350 Add clock_* symbols here.
21351 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
21352 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
21353 (GLIBC_2.17): Add clock_* symbols.
21354 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
21355 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
21356 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
21357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21358 Likewise.
21359 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21360 Likewise.
21361 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
21362 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
21363 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
21364 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
21365 * NEWS: Mention the move.
21366
21367 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
21368 Use __open, __read, __close rather than their public counterparts.
21369 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21370 (__get_clockfreq_via_cpuinfo): Likewise.
21371 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
21372 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
21373
21374 * config.h.in (HAVE_IFUNC): New #undef.
21375 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
21376 was successful.
21377 * configure: Regenerated.
21378
0cae3f4b
MF
213792012-10-24 Mike Frysinger <vapier@gentoo.org>
21380
21381 * configure.in: Move READELF check to start of file.
21382 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
21383 libc_cv_asm_gnu_indirect_function in the process.
21384 * configure: Regenerated.
21385
8175a253
MF
213862012-10-24 Mike Frysinger <vapier@gentoo.org>
21387
21388 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
21389 send the output to /dev/null.
21390 (libc_cv_cc_with_libunwind): Likewise.
21391 (libc_cv_as_noexecstack): Likewise.
21392 * configure: Regenerate.
21393
0708a7d1
JM
213942012-10-24 Joseph Myers <joseph@codesourcery.com>
21395
10b40d85
JM
21396 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
21397
0708a7d1
JM
21398 * posix/globtest.sh (TMPDIR): Do not set.
21399 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
21400 (testout): Likewise.
21401
9fddec1a
AJ
214022012-10-24 Andreas Jaeger <aj@suse.de>
21403
3a8db22f
AJ
21404 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
21405 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
21406 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
21407 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
21408 posix_fadvise64, posix_fallocate64.
21409
9fddec1a
AJ
21410 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
21411 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
21412 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
21413 Likewise.
21414 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
21415 Likewise.
21416 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
21417
21418 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
21419 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
21420 <bits/fcntl-linux.h>.
21421 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
21422
21423 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
21424 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
21425 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
21426 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
21427 [__WORDSIZE != 64]: Likewise.
21428
ebfd1bbd
JM
214292012-10-23 Joseph Myers <joseph@codesourcery.com>
21430
03ac099f
JM
21431 * Makeconfig (run-built-tests): New variable.
21432 * Rules [$(cross-compiling) = yes]: Change condition to
21433 [$(run-built-tests) = no].
21434 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
21435 to [$(run-built-tests) = yes].
21436 * elf/Makefile [$(cross-compiling) = no]: Likewise
21437 * grp/Makefile [$(cross-compiling) = no]: Likewise.
21438 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
21439 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
21440 * intl/Makefile [$(cross-compiling) = no]: Likewise.
21441 * io/Makefile [$(cross-compiling) = no]: Likewise.
21442 * libio/Makefile [$(cross-compiling) = no]: Likewise.
21443 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
21444 * misc/Makefile [$(cross-compiling) = no]: Likewise.
21445 * posix/Makefile [$(cross-compiling) = no]: Likewise.
21446 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
21447 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
21448 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
21449 * string/Makefile [$(cross-compiling) = no]: Likewise.
21450
ebfd1bbd
JM
21451 * posix/Makefile ($(objpfx)globtest.out): Pass
21452 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
21453 $(rtld-installed-name).
21454 * posix/globtest.sh (elf_objpfx): Remove variable.
21455 (rtld_installed_name): Likewise.
21456 (library_path): Likewise.
21457 (run_program_prefix): New variable. Use for running globtest
21458 binary.
21459
166bca24
JB
214602012-10-23 Jim Blandy <jimb@codesourcery.com>
21461 Joseph Myers <joseph@codesourcery.com>
21462
21463 * Makeconfig (host-built-program-cmd): New variable.
21464 * elf/Makefile (tst-stackguard1-ARGS): Use
21465 $(host-built-program-cmd).
21466 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
21467 (tst-spawn-ARGS): Likewise.
21468 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
21469
88866099
JM
214702012-10-23 Joseph Myers <joseph@codesourcery.com>
21471 Jim Blandy <jimb@codesourcery.com>
21472
21473 * Makeconfig (run-via-rtld-prefix): New variable.
21474 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
21475 (built-program-cmd): Likewise.
21476
b4b4c296
AJ
214772012-10-22 Andreas Jaeger <aj@suse.de>
21478
21479 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
21480 __O_RSYNC if it exists, otherwise to O_SYNC.
21481
6fb54a22
JB
214822012-10-22 Jim Blandy <jimb@codesourcery.com>
21483 Joseph Myers <joseph@codesourcery.com>
21484
21485 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
21486 /dev/null.
21487 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
21488 from /dev/null
21489 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
21490 /dev/null.
21491
481b90b9
AJ
214922012-10-22 Andreas Jaeger <aj@suse.de>
21493
2a0e2669
AJ
21494 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
21495 Define always.
21496 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
21497
76e38f9a
AJ
21498 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21499 bits/fcntl-linux.h.
21500
7cd37b43
AJ
21501 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
21502 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
21503
481b90b9
AJ
21504 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
21505 to __O_LARGEFILE.
21506 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
21507 to __O_LARGEFILE.
21508
aba75984
JB
215092012-10-21 Jim Blandy <jimb@codesourcery.com>
21510 Joseph Myers <joseph@codesourcery.com>
21511
21512 * config.make.in (NM): New variable.
21513
88d4247f
AJ
215142012-10-21 Andreas Jaeger <aj@suse.de>
21515
21516 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
21517 definitions and declarations that are provided by
21518 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
21519
f2eed205
L
215202012-10-20 H.J. Lu <hongjiu.lu@intel.com>
21521
21522 [BZ #14683]
21523 * elf/Makefile (tests-static): Add tst-leaks1-static.
21524 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
21525 ($(objpfx)tst-leaks1-static): New rule.
21526 ($(objpfx)tst-leaks1-static-mem): Likewise.
21527 (tst-leaks1-static-ENV): New macro.
21528 * elf/dl-open.c (dl_open_worker): Check the main application
21529 only if SHARED is defined.
21530 * elf/tst-leaks1-static.c: New file.
21531
335e6931
AJ
215322012-10-20 Andreas Jaeger <aj@suse.de>
21533
21534 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
21535 generic values for Linux.
21536 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
21537 and declarations that are provided by <bits/fcntl-linux.h> and
21538 include <bits/fcntl-linux.h>.
21539 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21540 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21541
ac5c94d3
RM
215422012-10-20 Roland McGrath <roland@hack.frob.com>
21543
21544 * io/fcntl.h: Move include of <bits/types.h> to the top and
21545 include it unconditionally.
21546
de54b33a
L
215472012-10-20 H.J. Lu <hongjiu.lu@intel.com>
21548
228cfb01
L
21549 * wcsmbs/Makefile (tests-ifunc): New variable.
21550 (tests): Add $(tests-ifunc).
21551 * wcsmbs/test-wcschr-ifunc.c: New file.
21552 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
21553 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
21554 * wcsmbs/test-wcslen-ifunc.c: Likewise.
21555 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
21556 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
21557
69f07e5f
L
21558 * string/Makefile (tests-ifunc): New variable.
21559 (tests): Add $(tests-ifunc).
21560 * string/test-memccpy.c (TEST_NAME): New macro.
21561 * string/test-memchr.c (TEST_NAME): Likewise.
21562 * string/test-memcmp.c (TEST_NAME): Likewise.
21563 * string/test-memcpy.c (TEST_NAME): Likewise.
21564 * string/test-memmem.c (TEST_NAME): Likewise.
21565 * string/test-memmove.c (TEST_NAME): Likewise.
21566 * string/test-memset.c (TEST_NAME): Likewise.
21567 * string/test-rawmemchr.c (TEST_NAME): Likewise.
21568 * string/test-stpcpy.c (TEST_NAME): Likewise.
21569 * string/test-stpncpy.c (TEST_NAME): Likewise.
21570 * string/test-strcasecmp.c (TEST_NAME): Likewise.
21571 * string/test-strcasestr.c (TEST_NAME): Likewise.
21572 * string/test-strcat.c (TEST_NAME): Likewise.
21573 * string/test-strchr.c (TEST_NAME): Likewise.
21574 * string/test-strcmp.c(TEST_NAME): Likewise.
21575 * string/test-strcpy.c (TEST_NAME): Likewise.
21576 * string/test-strcspn.c (TEST_NAME): Likewise.
21577 * string/test-strlen.c (TEST_NAME): Likewise.
21578 * string/test-strncasecmp.c (TEST_NAME): Likewise.
21579 * string/test-strncmp.c (TEST_NAME): Likewise.
21580 * string/test-strncpy.c (TEST_NAME): Likewise.
21581 * string/test-strnlen.c (TEST_NAME): Likewise.
21582 * string/test-strpbrk.c (TEST_NAME): Likewise.
21583 * string/test-strrchr.c (TEST_NAME): Likewise.
21584 * string/test-strspn.c (TEST_NAME): Likewise.
21585 * string/test-strstr.c (TEST_NAME): Likewise.
21586 * string/test-bcopy-ifunc.c: New file.
21587 * string/test-bzero-ifunc.c: Likewise.
21588 * string/test-memccpy-ifunc.c: Likewise.
21589 * string/test-memchr-ifunc.c: Likewise.
21590 * string/test-memcmp-ifunc.c: Likewise.
21591 * string/test-memcpy-ifunc.c: Likewise.
21592 * string/test-memmem-ifunc.c: Likewise.
21593 * string/test-memmove-ifunc.c: Likewise.
21594 * string/test-mempcpy-ifunc.c: Likewise.
21595 * string/test-memset-ifunc.c: Likewise.
21596 * string/test-rawmemchr-ifunc.c: Likewise.
21597 * string/test-stpcpy-ifunc.c: Likewise.
21598 * string/test-stpncpy-ifunc.c: Likewise.
21599 * string/test-strcasecmp-ifunc.c: Likewise.
21600 * string/test-strcasestr-ifunc.c: Likewise.
21601 * string/test-strcat-ifunc.c: Likewise.
21602 * string/test-strchr-ifunc.c: Likewise.
21603 * string/test-strchrnul-ifunc.c: Likewise.
21604 * string/test-strcmp-ifunc.c: Likewise.
21605 * string/test-strcpy-ifunc.c: Likewise.
21606 * string/test-strcspn-ifunc.c: Likewise.
21607 * string/test-strlen-ifunc.c: Likewise.
21608 * string/test-strncasecmp-ifunc.c: Likewise.
21609 * string/test-strncat-ifunc.c: Likewise.
21610 * string/test-strncmp-ifunc.c: Likewise.
21611 * string/test-strncpy-ifunc.c: Likewise.
21612 * string/test-strnlen-ifunc.c: Likewise.
21613 * string/test-strpbrk-ifunc.c: Likewise.
21614 * string/test-strrchr-ifunc.c: Likewise.
21615 * string/test-strspn-ifunc.c: Likewise.
21616 * string/test-strstr-ifunc.c: Likewise.
21617
de54b33a
L
21618 * debug/Makefile (tests-ifunc): New variable.
21619 (tests): Add $(tests-ifunc).
21620 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
21621 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
21622 * debug/test-stpcpy_chk-ifunc.c: New file.
21623 * debug/test-strcpy_chk-ifunc.c: Likewise.
21624
88481c16
SP
216252012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
21626
21627 [BZ #13601]
21628 * elf/dl-load.c (open_verify): Retry read if the entire ELF
21629 header is not read in.
21630
135948bd
JM
216312012-10-19 Joseph Myers <joseph@codesourcery.com>
21632
89f1c388
JM
21633 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
21634 script to $(SHELL) as $<. Pass $(common-objpfx) to script
21635 directly. Pass built executable to script as
21636 $(built-program-cmd).
21637 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
21638 $testprogram without using LD_LIBRARY_PATH and $ldso.
21639
e40a0d21
JM
21640 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
21641 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
21642 $(rtld-installed-name).
21643 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
21644 (rtld_installed_name): Likewise.
21645 (library_path): Likewise.
21646 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
21647 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
21648 $(run-program-prefix) to tst-tables.sh.
21649 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
21650 it to run tst-table-from and tst-table-to.
21651 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
21652 Pass it to tst-table.sh.
21653 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
21654 $(run-program-prefix) to tst-gettext.sh.
21655 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
21656 tst-translit.sh.
21657 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
21658 tst-gettext2.sh.
21659 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
21660 to run tst-gettext.
21661 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
21662 to run tst-gettext2.
21663 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
21664 to run tst-translit.
21665 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
21666 $(run-program-prefix) to tst-mtrace.sh.
21667 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
21668 to run tst-mtrace.
21669 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
21670 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
21671 $(rtld-installed-name).
21672 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
21673 (rtld_installed_name): Likewise.
21674 (run_program_prefix): New variable. Use it to run wordexp-test.
21675
728e272a
JM
21676 * Makeconfig (ARCH): Remove all definitions.
21677 (machine): Likewise.
21678 [ARCH]: Remove conditional code.
21679 [!objdir]: Give error.
21680 [!objdir] (objpfx): Remove.
21681 [!objdir] (common-objpfx): Likewise.
21682 [!objdir] (common-objdir): Likewise.
21683 * configure.in (config_makefile): Remove. Hardcode Makefile in
21684 AC_CONFIG_FILES call.
21685 * configure: Regenerated.
21686
d528cdcf
JM
21687 [BZ #13888]
21688 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
21689 or TMPDIR.
21690 (testout): Likewise.
21691
135948bd
JM
21692 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
21693 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
21694 $(rtld-installed-name).
21695 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
21696 (rtld_installed_name): Likwise.
21697 (runit): Remove function.
21698 (run_getconf): New variable, Use it for running getconf binary.
21699
38c78296
L
217002012-10-18 H.J. Lu <hongjiu.lu@intel.com>
21701
21702 [BZ #14716]
21703 * string/test-memmem.c (check_result): New function.
21704 (do_one_test): Use it.
21705 (check1): New function.
21706 (test_main): Use it.
21707
d077f65f
MT
217082012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
21709
21710 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
21711
ced52c71
JM
217122012-10-18 Joseph Myers <joseph@codesourcery.com>
21713
21714 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
21715 (_G_LSEEK64): Likewise.
21716 (_G_MMAP64): Likewise.
21717 (_G_FSTAT64): Likewise.
21718 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
21719 (_G_LSEEK64): Likewise.
21720 (_G_MMAP64): Likewise.
21721 (_G_FSTAT64): Likewise.
21722 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
21723 unconditional. Call __mmap64 directly.
21724 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
21725 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
21726 __lseek64 directly.
21727 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
21728 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
21729 __mmap64 directly.
21730 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
21731 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
21732 __lseek64 directly.
21733 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
21734 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
21735 __lseek64 directly.
21736 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
21737 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
21738 __lseek64 directly.
21739 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
21740 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
21741 __fxstat64 directly.
21742 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
21743 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
21744 unconditional.
21745 (freopen64) [!_G_OPEN64]: Remove conditional code.
21746 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
21747 unconditional.
21748 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
21749 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
21750 unconditional.
21751 (ftello64) [!_G_LSEEK64]: Remove conditional code.
21752 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
21753 unconditional.
21754 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
21755 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
21756 unconditional.
21757 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
21758 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
21759 unconditional.
21760 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
21761 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
21762 unconditional.
21763 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
21764 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
21765 unconditional.
21766 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
21767
b741de23
SP
217682012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
21769
21770 [BZ #12140]
21771 * manual/memory.texi (Malloc Tunable Parameters): Add note
21772 about free list pointers overwriting some perturb bytes.
21773 Wording suggested by Roland McGrath.
21774
f9b9d9c9
JM
217752012-10-17 Joseph Myers <joseph@codesourcery.com>
21776
21777 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
21778 (lgamma_test): Likewise.
21779 (tgamma_test): Likewise.
21780
172a631a
FW
217812012-10-16 Florian Weimer <fweimer@redhat.com>
21782
21783 [BZ #14700]
21784 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
21785 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
21786
e9f37252
MK
217872012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
21788
21789 * NEWS: Mention BZ #14716.
21790 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
21791 when removing AVAILABLE1_USES_J macro.
21792
d394eb74
L
217932012-10-12 H.J. Lu <hongjiu.lu@intel.com>
21794
21795 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
21796 (__bswap_64): __uint64_t for unsigned 64-bit int.
21797
ca38dc17
AS
217982012-10-12 Andreas Schwab <schwab@linux-m68k.org>
21799
21800 * include/string.h (memmem): Declare libc hidden alias.
21801 * string/memmem.c (memmem): Define libc hidden alias.
21802 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
21803 __read, __close instead of open, read, close.
21804
9a387d1f
L
218052012-10-11 H.J. Lu <hongjiu.lu@intel.com>
21806
ac49ecaf
L
21807 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
21808 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
21809 global and hidden.
21810 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
21811 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
21812 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
21813 Likewise.
21814 (__rawmemchr_sse2): Likewise.
21815 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
21816 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
21817 (__strchr_sse2): Likewise.
21818 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
21819 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
21820 (__strcasecmp_sse2): Likewise.
21821 (__strncasecmp_sse2): Likewise.
21822 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
21823 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
21824 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
21825 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
21826 (__strrchr_sse2): Likewise.
21827 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
21828 ifunc-impl-list.c.
21829 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
21830 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
21831 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
21832 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
21833 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
21834 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
21835 * sysdeps/x86_64/multiarch/memset.S: Likewise.
21836 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
21837 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
21838 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
21839 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
21840 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
21841 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
21842 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
21843 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
21844 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
21845 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
21846 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
21847 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
21848 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
21849 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
21850 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
21851 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
21852 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
21853 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
21854 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
21855 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
21856 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
21857 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
21858 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
21859
b090e8ea
L
21860 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
21861 global and hidden.
21862 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
21863 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
21864 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
21865 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
21866 Likewise.
21867 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
21868 Likewise.
21869 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
21870 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
21871 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
21872 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
21873 ifunc-impl-list.c.
21874 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
21875 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
21876 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
21877 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
21878 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
21879 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
21880 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
21881 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
21882 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
21883 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
21884 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
21885 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
21886 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
21887 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
21888 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
21889 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
21890 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
21891 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
21892 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
21893 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
21894 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
21895 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
21896 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
21897 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
21898 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
21899 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
21900 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
21901 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
21902 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
21903 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
21904 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
21905 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
21906 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
21907 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
21908 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
21909 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
21910 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
21911 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
21912 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
21913 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
21914 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
21915
11dd4af6
L
21916 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
21917 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
21918 * include/ifunc-impl-list.h: New file.
21919 * misc/ifunc-impl-list.c: Likewise.
21920 * misc/Makefile (routines): Add ifunc-impl-list.
21921 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
21922 * string/test-string.h: Include <ifunc-impl-list.h>.
21923 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
21924 impl_array): New variables.
21925 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
21926 are defined.
21927 (test_init): Call __libc_ifunc_impl_list to initialize
21928 func_list if TEST_IFUNC and TEST_NAME are defined.
21929
9a387d1f
L
21930 * string/Makefile (strop-tests): Add bcopy and bzero.
21931 * string/test-bcopy.c: New file.
21932 * string/test-bzero.c: Likewise.
21933 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
21934 defined.
21935 * string/test-memset.c: Support bzero test if TEST_BZERO is
21936 defined.
21937 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
21938 __libc_memmove.
21939 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
21940 __libc_memset.
21941 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
21942 of memset.
21943
472371b9
JM
219442012-10-10 Joseph Myers <joseph@codesourcery.com>
21945
1e4a9536
JM
21946 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
21947 * configure: Regenerated.
21948
d173d12e
JM
21949 * Makeconfig (+link-static-before-libc): Don't include
21950 $(link-static-libc).
21951
472371b9
JM
21952 * libio/libio.h (_IO_pos_t): Remove.
21953
89a3ad0b
AO
219542012-10-10 Alexandre Oliva <aoliva@redhat.com>
21955
21956 * NEWS: Add note about FIPS mode. Wording suggested by Roland
21957 McGrath.
21958
e7451425
AO
219592012-10-10 Alexandre Oliva <aoliva@redhat.com>
21960
21961 * crypt/crypt-entry.c: Include fips-private.h.
21962 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
21963 * crypt/md5c-test.c (main): Tolerate disabled MD5.
21964 * sysdeps/unix/sysv/linux/fips-private.h: New file.
21965 * sysdeps/generic/fips-private.h: New file, dummy fallback.
21966
4ba74a35
AO
219672012-10-10 Alexandre Oliva <aoliva@redhat.com>
21968
21969 * crypt/crypt-private.h: Include stdbool.h.
21970 (_ufc_setup_salt_r): Return bool.
21971 * crypt/crypt-entry.c: Include errno.h.
21972 (__crypt_r): Return NULL with EINVAL for bad salt.
21973 * crypt/crypt_util.c (bad_for_salt): New.
21974 (_ufc_setup_salt_r): Check that salt is long enough and within
21975 the specified alphabet.
21976 * crypt/badsalttest.c: New file.
21977 * crypt/Makefile (tests): Add it.
21978 ($(objpfx)badsalttest): New.
21979
f96f1242
MK
219802012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
21981
21982 * NEWS: Add entry for BZ #14602.
21983
0e8e0c1c
JM
219842012-10-09 Joseph Myers <joseph@codesourcery.com>
21985
21986 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
21987 type-generic.
21988 * math/libm-test.inc: Update comment listing what functions and
21989 macros are tested.
21990 (isgreater_test): New function.
21991 (isgreaterequal_test): Likewise.
21992 (isless_test): Likewise.
21993 (islessequal_test): Likewise.
21994 (islessgreater_test): Likewise.
21995 (isunordered_test): Likewise.
21996 (main): Call the new functions.
21997
273edc5e
RM
219982012-10-09 Roland McGrath <roland@hack.frob.com>
21999
b8493de0
RM
22000 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
22001 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
22002 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
22003 * sysdeps/i386/configure: Regenerated.
22004 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
22005 * sysdeps/mach/configure: Regenerated.
22006 * sysdeps/mach/hurd/configure: Regenerated.
22007 * sysdeps/powerpc/configure: Regenerated.
22008 * sysdeps/powerpc/powerpc32/configure: Regenerated.
22009 * sysdeps/powerpc/powerpc64/configure: Regenerated.
22010 * sysdeps/s390/s390-32/configure: Regenerated.
22011 * sysdeps/s390/s390-64/configure: Regenerated.
22012 * sysdeps/sh/configure: Regenerated.
22013 * sysdeps/sparc/configure: Regenerated.
22014 * sysdeps/unix/sysv/linux/configure: Regenerated.
22015 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
22016 * sysdeps/x86_64/configure: Regenerated.
22017
273edc5e
RM
22018 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
22019 defined. Don't check if MAP is NULL.
22020
c8450f70
JM
220212012-10-09 Joseph Myers <joseph@codesourcery.com>
22022
22023 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
22024 (_G_stat64): Likewise.
22025 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
22026 (_G_stat64): Likewise.
22027 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
22028 instead of struct _G_stat64.
22029 * libio/fileops.c (mmap_remap_check): Likewise.
22030 (decide_maybe_mmap): Likewise.
22031 (_IO_new_file_seekoff): Likewise.
22032 (_IO_file_stat): Likewise.
22033 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
22034 _G_off64_t.
22035 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
22036 instead of struct _G_stat64.
22037 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
22038
57e605ba
MK
220392012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
22040
22041 [BZ #14602]
22042 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
22043 Replace with ...
22044 (CHECK_EOL): New macro.
22045 (two_way_short_needle): Check beginning of haystack for EOL. Use
22046 CHECK_EOL.
22047 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
22048 Replace with CHECK_EOL.
22049 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
22050 Replace with CHECK_EOL.
22051
ef1bb361
JM
220522012-10-08 Joseph Myers <joseph@codesourcery.com>
22053
22054 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
22055 type-generic.
22056 * math/libm-test.inc: Update comment listing what functions and
22057 macros are tested.
22058 (finite_test): New function.
22059 (isinf_test): Likewise.
22060 (isnan_test): Likewise.
22061 (fpclassify_test): Test subnormal input.
22062 (isfinite_test): Likewise.
22063 (isnormal_test): Likewise.
22064 (main): Call the new functions.
22065
55f11534
JN
220662012-10-08 Jonathan Nieder <jrnieder@gmail.com>
22067
22068 [BZ #14660]
22069 * Makerules (%.dynsym): Force C locale when running
22070 $(OBJDUMP) --dynamic-syms.
22071
1ab29350
AS
220722012-10-08 Andreas Schwab <schwab@linux-m68k.org>
22073
22074 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
22075 <stdint.h>.
22076
f1ecb7ef
DM
220772012-10-06 David S. Miller <davem@davemloft.net>
22078
22079 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
22080 upper 32-bits of the length value in %o2 since we use branch-on-register
22081 tests which consider the entire 64-bit register.
22082
5d41d91a
L
220832012-10-06 H.J. Lu <hongjiu.lu@intel.com>
22084
22085 * string/test-strstr.c (check2): Add a test for page boundary.
22086
3baddb72
DM
220872012-10-05 David S. Miller <davem@davemloft.net>
22088
22089 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
22090 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
22091 file.
22092 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
22093 sysdep_routines.
22094 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
22095 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
22096 and bzero when HWCAP_SPARC_CRYPTO is present.
22097
9cee5585
L
220982012-10-05 H.J. Lu <hongjiu.lu@intel.com>
22099
d7e0dab9
L
22100 [BZ #14602]
22101 * string/test-strstr.c (check2): New function.
22102 (test_main): Call check2.
22103
03759f47
L
22104 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
22105 and bug-strchr1.
22106 * string/bug-strcasestr1.c (do_test): Moved to ...
22107 * string/test-strcasestr.c (check1): Here. New function.
22108 (do_one_test): Break out result checking code into ...
22109 (check_result): This. New function.
22110 (do_one_test): Call check_result.
22111 (test_main): Call check1.
22112 * string/bug-strchr1.c (do_test): Moved to ...
22113 * string/test-strchr.c (check1): Here. New function.
22114 (do_one_test): Break out result checking code into ...
22115 (check_result): This. New function.
22116 (do_one_test): Call check_result.
22117 (test_main): Call check1.
22118 * string/bug-strstr1.c (main): Moved to ...
046f153e 22119 * string/test-strstr.c (check1): Here. New function.
03759f47
L
22120 (do_one_test): Break out result checking code into ...
22121 (check_result): This. New function.
22122 (do_one_test): Call check_result.
22123 (test_main): Call check1.
22124 * string/bug-strcasestr1.c: Removed.
22125 * string/bug-strchr1.c: Likewise.
22126 * string/bug-strstr1.c: Likewise.
22127
53cea63e
L
22128 * elf/Makefile (dl-routines): Add hwcaps.
22129 * elf/dl-support.c (_dl_important_hwcaps): Removed.
22130 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
22131 (_dl_important_hwcaps): Moved to ...
22132 * elf/dl-hwcaps.c: Here. New file.
22133 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
22134
9cee5585 22135 [BZ #14557]
bb859b06
L
22136 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
22137 if IS_IN_rtld isn't defined.
22138
9cee5585
L
22139 * elf/dl-support.c (_dl_sysinfo_map): New.
22140 Include "get-dynamic-info.h" and "setup-vdso.h".
22141 (_dl_non_dynamic_init): Call setup_vdso.
22142 * elf/dynamic-link.h: Don't include <assert.h>.
22143 (elf_get_dynamic_info): Moved to ...
22144 * elf/get-dynamic-info.h: Here. New file.
22145 * elf/dynamic-link.h: Include "get-dynamic-info.h".
22146 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
22147 * elf/setup-vdso.h: Here. New file.
22148 * elf/rtld.c: Include "setup-vdso.h".
22149 (dl_main): Call setup_vdso.
22150
23c31b76
JM
221512012-10-05 Joseph Myers <joseph@codesourcery.com>
22152
28234b07
JM
22153 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
22154 creal in comment listing functions tested. List finite, isinf,
22155 isnan, isless, islessequal, isgreater, isgreaterequal,
22156 islessgreater, isunordered, lgamma_r and pow10 as functions and
22157 macros not tested. Mention which functions not tested are aliases
22158 for other functions. Fix typo. Note that signs of NaNs are not
22159 tested.
22160
23c31b76
JM
22161 * scripts/config.guess: Update from config.git.
22162 * scripts/config.sub: Likewise.
22163
9043e228
RM
221642012-10-04 Roland McGrath <roland@hack.frob.com>
22165
22166 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
22167 * misc/madvise.c (madvise): Renamed to __madvise.
22168 Make madvise a weak alias.
22169 * include/sys/mman.h: Declare __madvise.
22170 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
22171 * sysdeps/unix/syscalls.list
22172 (madvise): Make __madvise the strong name, and madvise a weak alias.
22173 * sysdeps/unix/sysv/linux/syscalls.list
22174 (madvise, mmap): Remove redundant entries.
22175 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
22176 * malloc/malloc.c (mtrim): Likewise.
22177 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
22178
f57f8055
RM
221792012-10-03 Roland McGrath <roland@hack.frob.com>
22180
22181 * sysdeps/mach/hurd/dl-cache.c: File removed.
22182 * config.h.in (USE_LDCONFIG): New #undef.
22183 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
22184 * configure: Regenerated.
22185 * elf/Makefile (dl-routines): Add dl-cache only under
22186 [$(use-ldconfig) = yes].
22187 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
22188 cache on [USE_LDCONFIG].
22189 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
22190 [USE_LDCONFIG].
22191 * elf/rtld.c (dl_main): Likewise.
22192
5bb0c10a
PT
221932012-10-03 Pino Toscano <toscano.pino@tiscali.it>
22194
22195 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
22196 _SC_LEVEL4_CACHE_LINESIZE.
22197
010188c6
RM
221982012-10-03 Roland McGrath <roland@hack.frob.com>
22199
22200 * sysdeps/unix/bsd/confstr.h: File removed.
22201
b6c5ec07
AO
222022012-10-02 Alexandre Oliva <aoliva@redhat.com>
22203
22204 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
22205 sys/sdt-config.h.
22206
408223d4
RM
222072012-10-02 Roland McGrath <roland@hack.frob.com>
22208
22209 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
22210 Make 'mapoff' field ElfW(Off) rather than off_t.
22211
bb9510dc
DL
222122012-10-02 Dmitry V. Levin <ldv@altlinux.org>
22213
fc997c6e
DL
22214 * nscd/Makefile: Remove nscd-cflags and all its users.
22215 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
22216 (CFLAGS-nonlib): Add compiler flags for nscd modules.
22217
bb9510dc
DL
22218 [BZ #10631]
22219 * malloc.c (malloc_printerr): Clarify error message.
22220
05699367
L
222212012-10-02 H.J. Lu <hongjiu.lu@intel.com>
22222
22223 [BZ #14648]
22224 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22225 Set bit_FMA_Usable if FMA is supported.
22226 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
22227 macro.
22228 (bit_FMA4_Usable): Updated.
22229 (index_FMA_Usable): New macro.
22230 (CPUID_FMA): Likewise
22231 (HAS_FMA): Defined with bit_FMA_Usable.
22232
51367701
RM
222332012-10-01 Roland McGrath <roland@hack.frob.com>
22234
22235 * bits/types.h (__swblk_t): Type removed.
22236 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
22237 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
22238 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22239 (__SWBLK_T_TYPE): Likewise.
22240 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
22241 (__SWBLK_T_TYPE): Likewise.
22242 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22243 (__SWBLK_T_TYPE): Likewise.
22244 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22245 (__SWBLK_T_TYPE): Likewise.
22246
4d57bf63 222472012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 22248 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
22249
22250 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
22251 (xdr_mapname): Use YPMAXMAP as maxsize.
22252 (xdr_peername): Use YPMAXPEER as maxsize.
22253 (xdr_keydat): Use YPAXRECORD as maxsize.
22254 (xdr_valdat): Use YPMAXRECORD as maxsize.
22255
93c65d43
RM
222562012-10-01 Roland McGrath <roland@hack.frob.com>
22257
497a03d6
RM
22258 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
22259
93c65d43
RM
22260 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
22261 * csu/init-first.c: ... here.
22262 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
22263 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
22264 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
22265 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
22266 * sysdeps/i386/init-first.c: File removed.
22267 * sysdeps/sh/init-first.c: File removed.
22268
bec749fd
JM
222692012-10-01 Joseph Myers <joseph@codesourcery.com>
22270
22271 [BZ #14645]
22272 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
22273 if x * y might underflow to zero and z is zero.
22274 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22275 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22276 * math/libm-test.inc (min_subnorm_value): New variable.
22277 (fma_test): Add more tests.
22278 (fma_test_towardzero): Likewise.
22279 (fma_test_downward): Likewise
22280 (fma_test_upward): Likewise.
22281 (initialize): Set min_subnorm_value.
22282
8ec5b013
JM
222832012-09-29 Joseph Myers <joseph@codesourcery.com>
22284
22285 [BZ #14638]
22286 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
22287 0 + 0.
22288 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
22289 mode for addition resulting in exact zero.
22290 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
22291 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
22292 exact 0 + 0.
22293 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
22294 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22295 * math/libm-test.inc (fma_test): Add more tests.
22296 (fma_test_towardzero): New function.
22297 (fma_test_downward): Likewise.
22298 (fma_test_upward): Likewise.
22299 (main): Call the new functions.
22300
b1fa802e
DM
223012012-09-28 David S. Miller <davem@davemloft.net>
22302
22303 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
22304
d3b9fd9e
RM
223052012-09-28 Roland McGrath <roland@hack.frob.com>
22306
ea4d37b3
RM
22307 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
22308 instead of SIGALRM.
22309
ac51c949
RM
22310 * sysdeps/gnu/_G_config.h: Moved to ...
22311 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
22312 * sysdeps/mach/hurd/_G_config.h: Moved to ...
22313 * sysdeps/generic/_G_config.h: ... here.
22314
28c195f7
RM
22315 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
22316
848917f9
RM
22317 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
22318
6bacf05b
RM
22319 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
22320 Conditionalize target on [libnss_test1.so-version].
22321
91363dbb
RM
22322 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
22323
cc87f7d8
RM
22324 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
22325 (elfobjdir): Move out of conditionals.
22326
b1c608fe
RM
22327 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
22328 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
22329 (__nss_lookup_function): Conditionalize label remove_from_tree on
22330 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 22331
1d9a6d96
DM
223322012-09-28 David S. Miller <davem@davemloft.net>
22333
22334 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
22335 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
22336 file.
22337 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
22338 sysdep_routines.
22339 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
22340 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
22341 when HWCAP_SPARC_CRYPTO is present.
22342
72581615
PT
223432012-09-28 Pino Toscano <toscano.pino@tiscali.it>
22344
22345 * io/tst-mknodat.c: Create a FIFO instead of a socket.
22346
715a900c
JL
223472012-09-28 Andreas Schwab <schwab@linux-m68k.org>
22348
22349 [BZ #6530]
22350 * stdio-common/vfprintf.c (process_string_arg): Revert
22351 2000-07-22 change.
22352
223532011-09-28 Jonathan Nieder <jrnieder@gmail.com>
22354
22355 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
22356 for testcase.
22357 * stdio-common/tst-sprintf.c: Include <locale.h>
22358 (main): Test sprintf's handling of incomplete multibyte
22359 characters.
22360
9bac1d86
L
223612012-09-28 H.J. Lu <hongjiu.lu@intel.com>
22362
22363 * elf/dl-runtime.c (VERSYMIDX): Removed.
22364 * elf/dl-version.c (VERSYMIDX): Likewise.
22365 * elf/do-rel.h (VERSYMIDX): Likewise.
22366 (VALIDX): Likewise.
22367 * elf/dynamic-link.h (VERSYMIDX): Likewise.
22368 * elf/rtld.c (VALIDX): Likewise.
22369 (ADDRIDX): Likewise.
9bac1d86
L
22370 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
22371 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
22372 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
22373 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
22374 (VALIDX): Likewise.
22375 (ADDRIDX): Likewise.
9bac1d86 22376
b31606c0
PT
223772012-09-28 Pino Toscano <toscano.pino@tiscali.it>
22378
22379 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
22380
11541177
JL
223812012-09-28 Dmitry V. Levin <ldv@altlinux.org>
22382
22383 [BZ #11438]
22384 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
22385 to global scope.
22386 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
22387 addresses are in the same scope as 192.0.2/24.
22388 * posix/gai.conf: Document new scope table defaults.
22389
adb26fae
SP
223902012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22391
22392 [BZ #5298]
22393 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
22394 for ftell. Compute offsets from write pointers instead.
22395 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
22396
4573c6b0
SP
223972012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22398
22399 [BZ #14543]
22400 * libio/Makefile (tests): New test case tst-fseek.
22401 * libio/tst-fseek.c: New test case to verify that fseek/ftell
22402 combination works in wide mode.
22403 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
22404 state when the external buffer state changes.
22405
aa9bbfe6
DM
224062012-09-27 David S. Miller <davem@davemloft.net>
22407
22408 [BZ #14376]
22409 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
22410 pass reloc->r_addend in as the 'high' argument to
22411 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
22412
784421e7
DM
22413 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22414
c39bc8b8
PT
224152012-09-28 Pino Toscano <toscano.pino@tiscali.it>
22416
22417 * rt/tst-aio2.c: Include <pthread.h>.
22418 * rt/tst-aio3.c: Likewise.
22419
1ccc2399
SE
224202012-09-27 Steve Ellcey <sellcey@mips.com>
22421
22422 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
22423
31ed4153
L
224242012-09-27 H.J. Lu <hongjiu.lu@intel.com>
22425
25f5f885
L
22426 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
22427 contents on [SHARED].
31ed4153 22428
b7bfe116
MP
224292012-09-26 Marek Polacek <polacek@redhat.com>
22430
22431 [BZ #14530]
22432 [BZ #13741]
22433 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
22434 for C++ and GCC <4.3 as well as for non GCC compilers.
22435
43c4edba
MT
224362012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
22437
22438 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22439
6a1bf82f
RM
224402012-09-25 Roland McGrath <roland@hack.frob.com>
22441
22442 * Makefile.in (all, install): Declare with .PHONY.
22443 Reported by Michael Hope <michael.hope@linaro.org>.
22444
8ad11b9a
TMQMF
224452012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22446
22447 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
22448 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
22449 system header.
22450 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
22451 Likewise.
22452 (sydep_routines): Add the new and the internal functions.
22453 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
22454 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
22455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
22456 (GLIBC_2.17): Add the new function.
22457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
22458 (GLIBC_2.17): Likewise.
22459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
22460 (GLIBC_2.17): Likewise.
22461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
22462 (GLIBC_2.17): Likewise.
22463 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
22464
7e2fca8d
AM
224652012-09-25 Alan Modra <amodra@gmail.com>
22466
22467 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
22468 Add release barrier before setting once_control to say
22469 initialisation is done. Add hints on lwarx. Use macro in
22470 place of isync.
22471 (clear_once_control): Add release barrier.
22472
b87c4b24
JM
224732012-09-25 Joseph Myers <joseph@codesourcery.com>
22474
d032e0d2
JM
22475 [BZ #13629]
22476 * math/s_clog.c (__clog): Handle more values close to |z| = 1
22477 specially.
22478 * math/s_clog10.c (__clog10): Likewise.
22479 * math/s_clog10f.c (__clog10f): Likewise.
22480 * math/s_clog10l.c (__clog10l): Likewise.
22481 * math/s_clogf.c (__clogf): Likewise.
22482 * math/s_clogl.c (__clogl): Likewise.
22483 * math/Makefile (libm-calls): Add x2y2m1.
22484 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
22485 (__x2y2m1): Likewise.
22486 (__x2y2m1l): Likewise.
22487 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
22488 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
22489 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
22490 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
22491 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
22492 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
22493 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
22494 * sysdeps/i386/fpu/libm-test-ulps: Update.
22495 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22496
b87c4b24
JM
22497 [BZ #14621]
22498 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
22499 int as type of variable DEPTH.
22500 (glob): Use size_t instead of int as type of variables NEWCOUNT
22501 and OLD_PATHC.
22502
6d3bf199
LD
225032012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22504
22bf5c17
LD
22505 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
22506 Add s_sincosf-sse2.
22507 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
22508 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
22509 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
22510 macros for using routine as __sincosf_ia32.
22511 Use macro for function declaration and weak_alias.
22512 * sysdeps/i386/fpu/libm-test-ulps: Update.
22513
22514 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
22515 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22516
22517 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
22518 subnormal argument.
22519 * math/s_cexpf.c (__cexpf): Likewise.
22520 * math/s_csinf.c (__csinf): Likewise.
22521 * math/s_csinhf.c (__csinhf): Likewise.
22522 * math/s_ctanf.c (__ctanf): Likewise.
22523 * math/s_ctanhf.c (__ctanhf): Likewise.
22524 * math/s_ccosh.c (__ccoshf): Likewise.
22525 * math/s_cexp.c (__cexpl): Likewise.
22526 * math/s_csin.c (__csin): Likewise.
22527 * math/s_csinh.c (__csinh): Likewise.
22528 * math/s_ctan.c (__ctan): Likewise.
22529 * math/s_ctanh.c (ctanh): Likewise.
22530 * math/s_ccoshl.c (__ccoshl): Likewise.
22531 * math/s_cexpl.c (__cexpl): Likewise.
22532 * math/s_csinl.c (__csinl): Likewise.
22533 * math/s_csinhl.c (__csinhl): Likewise.
22534 * math/s_ctanl.c (__ctanl): Likewise.
22535 * math/s_ctanhl.c (__ctanhl): Likewise.
22536
203e5603
JM
225372012-09-25 Joseph Myers <joseph@codesourcery.com>
22538
22539 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
22540 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
22541 (_IO_off_t): Define to __off_t, not _G_off_t.
22542 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
22543 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
22544 (_IO_wint_t): Define to wint_t, not _G_wint_t.
22545 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
22546 type of __dummy and __dummy2 fields.
22547 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
22548 (_G_ssize_t): Likewise.
22549 (_G_off_t): Likewise.
22550 (_G_pid_t): Likewise.
22551 (_G_uid_t): Likewise.
22552 (_G_wchar_t): Likewise.
22553 (_G_wint_t): Likewise.
22554 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
22555 (_G_ssize_t): Likewise.
22556 (_G_off_t): Likewise.
22557 (_G_pid_t): Likewise.
22558 (_G_uid_t): Likewise.
22559 (_G_wchar_t): Likewise.
22560 (_G_wint_t): Likewise.
22561 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
22562 (_G_ssize_t): Likewise.
22563 (_G_off_t): Likewise.
22564 (_G_pid_t): Likewise.
22565 (_G_uid_t): Likewise.
22566 (_G_wchar_t): Likewise.
22567 (_G_wint_t): Likewise.
22568
9fab36eb
SP
225692012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
22570
22571 * malloc/arena.c: Include malloc-sysdep.h.
22572 (shrink_heap): Use check_may_shrink_heap to decide if madvise
22573 is sufficient to shrink the heap or an unmap is needed.
22574 * sysdeps/generic/malloc-sysdep.h: New file. Define
22575 new function check_may_shrink_heap.
22576 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
22577 new function check_may_shrink_heap.
22578
2b4f00d1
SP
225792012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
22580
22581 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
22582 comments.
22583
9a9028b1
DL
225842012-09-24 Dmitry V. Levin <ldv@altlinux.org>
22585
57c69bef
DL
22586 * catgets/test-gencat.sh: Add "set -e".
22587 * elf/tst-pathopt.sh: Likewise.
22588 * grp/tst_fgetgrent.sh: Likewise.
22589 * iconvdata/run-iconv-test.sh: Likewise.
22590 * intl/tst-gettext.sh: Likewise.
22591 * intl/tst-gettext2.sh: Likewise.
22592 * intl/tst-gettext4.sh: Likewise.
22593 * intl/tst-gettext6.sh: Likewise.
22594 * intl/tst-translit.sh: Likewise.
22595 * io/ftwtest-sh: Likewise.
22596 * libio/test-freopen.sh: Likewise.
22597 * malloc/tst-mtrace.sh: Likewise.
22598 * posix/globtest.sh: Likewise.
22599 * posix/tst-getconf.sh: Likewise.
22600 * posix/wordexp-tst.sh: Likewise.
22601 * stdio-common/tst-printf.sh: Likewise.
22602 * stdio-common/tst-unbputc.sh: Likewise.
22603 * stdlib/tst-fmtmsg.sh: Likewise.
22604 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
22605 * catgets/Makefile: Do not specify -e option when running
22606 testsuite shell scripts.
22607 * elf/Makefile: Likewise.
22608 * grp/Makefile: Likewise.
22609 * iconvdata/Makefile: Likewise.
22610 * intl/Makefile: Likewise.
22611 * io/Makefile: Likewise.
22612 * libio/Makefile: Likewise.
22613 * malloc/Makefile: Likewise.
22614 * posix/Makefile: Likewise.
22615 * stdio-common/Makefile: Likewise.
22616 * stdlib/Makefile: Likewise.
22617 * sysdeps/x86_64/Makefile: Likewise.
22618
9a9028b1
DL
22619 * io/ftwtest-sh: Add copyright header.
22620 * posix/globtest.sh: Likewise.
22621 * posix/tst-getconf.sh: Likewise.
22622 * posix/wordexp-tst.sh: Likewise.
22623 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
22624
ced6f16e
L
226252012-09-24 H.J. Lu <hongjiu.lu@intel.com>
22626
94b32c39
L
22627 [BZ #13679]
22628 * Makeconfig (+link): Defined as $(+link-static) if
22629 $(build-shared) isn't yes.
22630 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
22631 isn't yes.
22632 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
22633
189e935b
L
22634 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
22635
ced6f16e
L
22636 [BZ #14562]
22637 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
22638 new chunk size with MALLOC_ALIGN_MASK.
22639
a9f8e53a
JM
226402012-09-24 Joseph Myers <joseph@codesourcery.com>
22641
22642 [BZ #5044]
22643 * stdio-common/printf_fphex.c: Include <stdbool.h> and
22644 <rounding-mode.h>.
22645 (__printf_fphex): Determine rounding using get_rounding_mode and
22646 round_away.
22647 * stdio-common/tst-printf-round.c (struct hex_test): New
22648 structure.
22649 (hex_tests): New variable.
22650 (test_hex_in_one_mode): New function.
22651 (do_test): Also run tests for hex float output.
22652
43153109
JM
226532012-09-21 Joseph Myers <joseph@codesourcery.com>
22654
22655 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
22656 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
22657 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
22658 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
22659 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
22660 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
22661 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
22662 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
22663
8a26625d
JM
226642012-09-20 Joseph Myers <joseph@codesourcery.com>
22665
22666 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
22667 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
22668 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
22669 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
22670
f3fd569c
DL
226712012-09-19 Dmitry V. Levin <ldv@altlinux.org>
22672
22673 [BZ #14579]
22674 * elf/rtld.c (dl_main): Limit the check for self loading to normal
22675 mode only.
22676 * elf/tst-rtld-load-self.sh: New test.
22677 * elf/Makefile: Run it.
22678
63bbedd4
JM
226792012-09-18 Joseph Myers <joseph@codesourcery.com>
22680
22681 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
22682 (tst-writev-ENV): Remove.
22683 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
22684
626f8b6a
CM
226852012-09-17 Chris Metcalf <cmetcalf@tilera.com>
22686
22687 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
22688
b7aaa4d6
JM
226892012-09-17 Joseph Myers <joseph@codesourcery.com>
22690
22691 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
22692 unconditional.
22693 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
22694 Likewise.
22695 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
22696 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
22697 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
22698 Likewise.
22699
65513990
L
227002012-09-14 H.J. Lu <hongjiu.lu@intel.com>
22701
22702 [BZ #14587]
22703 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
22704 * config.make.in (have-cpp-asm-debuginfo): Removed.
22705 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
22706 * configure: Regenerated.
22707
784761be
JM
227082012-09-14 Joseph Myers <joseph@codesourcery.com>
22709
22710 [BZ #5044]
22711 * stdio-common/printf_fp.c: Include <stdbool.h> and
22712 <rounding-mode.h>.
22713 (___printf_fp): Determine rounding using get_rounding_mode and
22714 round_away.
22715 * stdio-common/tst-printf-round.c: New file.
22716 * stdio-common/Makefile (tests): Add tst-printf-round.
22717 (link-libm): New variable.
22718 ($(objpfx)tst-printf-round): Depend in $(link-libm).
22719
9503345f
L
227202012-09-13 H.J. Lu <hongjiu.lu@intel.com>
22721
22722 [BZ #14576]
22723 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
22724 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
22725 Likewise.
22726 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
22727 Likewise.
22728
ad35fc00
JM
227292012-09-13 Joseph Myers <joseph@codesourcery.com>
22730
22731 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
22732 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
22733 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
22734 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
22735
6c9b0f68
JM
227362012-09-12 Joseph Myers <joseph@codesourcery.com>
22737
22738 [BZ #14518]
22739 * include/rounding-mode.h: New file.
22740 * sysdeps/generic/get-rounding-mode.h: Likewise.
22741 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
22742 * stdlib/strtod_l.c: Include <rounding-mode.h>.
22743 (MAX_VALUE): New macro.
22744 (MIN_VALUE): Likewise.
22745 (overflow_value): New function.
22746 (underflow_value): Likewise.
22747 (round_and_return): Use overflow_value and underflow_value to
22748 determine return values in overflow and underflow cases. Use
22749 round_away to determine rounding depending on rounding mode.
22750 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
22751 determine return values in overflow and underflow cases.
22752 * stdlib/tst-strtod-round.c: Include <fenv.h>.
22753 (struct test_results): New structure.
22754 (struct test): Use struct test_results to store expected results
22755 for all rounding modes.
22756 (TEST): Include expected results for all rounding modes.
22757 (test_in_one_mode): New function.
22758 (do_test): Use test_in_one_mode to compute and check results.
22759 Check results for all rounding modes.
22760 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
22761 $(link-libm).
22762
19fcedd5
AM
227632012-12-09 Allan McRae <allan@archlinux.org>
22764
1e9d84cd 22765 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 22766
8bbfd2f1
JM
227672012-09-11 Joseph Myers <joseph@codesourcery.com>
22768
22769 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
22770 (_G_int32_t): Likewise.
22771 (_G_uint16_t): Likewise.
22772 (_G_uint32_t): Likewise.
22773 (_G_HAVE_BOOL): Likewise.
22774 (_G_HAVE_ATEXIT): Likewise.
22775 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
22776 (_G_HAVE_IO_FILE_OPEN): Likewise.
22777 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
22778 (_G_int32_t): Likewise.
22779 (_G_uint16_t): Likewise.
22780 (_G_uint32_t): Likewise.
22781 (_G_HAVE_BOOL): Likewise.
22782 (_G_HAVE_ATEXIT): Likewise.
22783 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
22784 (_G_HAVE_IO_FILE_OPEN): Likewise.
22785 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
22786 (_G_int32_t): Likewise.
22787 (_G_uint16_t): Likewise.
22788 (_G_uint32_t): Likewise.
22789 (_G_HAVE_BOOL): Likewise.
22790 (_G_HAVE_ATEXIT): Likewise.
22791 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
22792 (_G_HAVE_IO_FILE_OPEN): Likewise.
22793
b1dc5912
L
227942012-09-11 H.J. Lu <hongjiu.lu@intel.com>
22795
22796 * csu/libc-tls.c: Update copyright years.
22797
0e886ef9
JM
227982012-09-10 Joseph Myers <joseph@codesourcery.com>
22799
28361c5e
JM
22800 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
22801 [!_G_USING_THUNKS]: Remove conditional code.
22802 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
22803 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
22804
0e886ef9
JM
22805 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
22806 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
22807 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
22808 (_G_VTABLE_LABEL_PREFIX): Likewise.
22809 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
22810 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
22811 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
22812 (_G_VTABLE_LABEL_PREFIX): Likewise.
22813 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
22814 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
22815 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
22816 (_G_VTABLE_LABEL_PREFIX): Likewise.
22817 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
22818
bcba7aa2
L
228192012-09-10 H.J. Lu <hongjiu.lu@intel.com>
22820
22821 * libio/Makefile: Include ../Makeconfig before tests.
22822 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
22823 only if $(build-shared) is yes.
22824
06585ee8
L
22825 * iconv/gconv_db.c: Update copyright years.
22826
80ccd52c
LD
228272012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22828
22829 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
22830 unwind info if defined PIC. Fix special cases description.
22831 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
22832
22833 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
22834 DP_HI_MASK entry.
22835 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
22836
691bc9c1
L
228372012-09-07 H.J. Lu <hongjiu.lu@intel.com>
22838
3d9b46b3
L
22839 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
22840
de2139a9
L
22841 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
22842 is NULL.
22843
5ca78dd0
L
22844 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
22845 (LDLIBS-tst-chk4): This.
22846 (LDFLAGS-tst-chk5): Renamed to ...
22847 (LDLIBS-tst-chk5): This.
22848 (LDFLAGS-tst-chk6): Renamed to ...
22849 (LDLIBS-tst-chk6): This.
22850 (LDFLAGS-tst-lfschk4): Renamed to ...
22851 (LDLIBS-tst-lfschk4): This.
22852 (LDFLAGS-tst-lfschk5): Renamed to ...
22853 (LDLIBS-tst-lfschk5): This.
22854 (LDFLAGS-tst-lfschk6): Renamed to ...
22855 (LDLIBS-tst-lfschk6): This.
22856
691bc9c1
L
22857 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
22858 on $(common-objpfx)soversions.mk.
22859
65cafb1c
JM
228602012-09-07 Joseph Myers <joseph@codesourcery.com>
22861
22862 [BZ #10014]
22863 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
22864 example host name.
22865
c78ab094
SP
228662012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
22867
22868 * malloc/arena.c (arena_get_retry): New function that gets
22869 another arena for the caller to try its request on.
22870 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
22871 current arena cannot fulfill the request.
22872 (__libc_memalign): Likewise.
22873 (__libc_memalign): Likewise.
22874 (__libc_pvalloc): Likewise.
22875 (__libc_calloc): Likewise.
22876
01f49f59
JT
228772012-09-05 John Tobey <john.tobey@gmail.com>
22878
22879 [BZ #13542]
22880 * manual/arith.texi (Operations on Complex): Fix description
22881 of carg branch cut.
22882
4c23fed5
JM
228832012-09-06 Joseph Myers <joseph@codesourcery.com>
22884
1d3c8572
JM
22885 [BZ #10014]
22886 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
22887 host name.
22888
4c23fed5
JM
22889 [BZ #10038]
22890 * manual/memory.texi (Memory): Make order of menu items match
22891 order of sections.
22892
04570aaa
L
228932012-09-06 H.J. Lu <hongjiu.lu@intel.com>
22894
22895 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
22896 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
22897 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
22898
b80af2f4
L
228992012-09-06 H.J. Lu <hongjiu.lu@intel.com>
22900
22901 * csu/libc-tls.c (static_dtv): Renamed to ...
22902 (_dl_static_dtv): This. Make it global.
22903 (_dl_initial_dtv): Removed.
22904 (__libc_setup_tls): Updated.
22905 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
22906 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
22907 DL_INITIAL_DTV.
22908
2abe9f15
PM
229092012-09-06 Petr Machata <pmachata@redhat.com>
22910
22911 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
22912 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
22913 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
22914 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
22915
0948c3af
L
229162012-09-06 H.J. Lu <hongjiu.lu@intel.com>
22917
22918 [BZ #14545]
22919 * csu/libc-tls.c (_dl_initial_dtv): New variable.
22920 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
22921 freeing dtv[-1].
22922
a5055ad1
L
229232012-09-06 H.J. Lu <hongjiu.lu@intel.com>
22924
22925 [BZ #14544]
22926 * Makeconfig (link-static-before-libc): Replace $(+prector)
22927 with $(+prectorT).
22928 (link-static-after-libc): Replace $(+postctor) with
22929 $(+postctorT).
22930 (link-bounded): Replace $(+prector)/$(+postctor) with
22931 $(+prectorT)/$(+postctorT).
22932 (+prectorT): New macro.
22933 (+postctorT): Likewise.
22934
ed8c2ecd
JM
229352012-09-06 Joseph Myers <joseph@codesourcery.com>
22936
22937 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
22938 (round_str): Handle values above the maximum for IBM long double
22939 as inexact.
22940 * stdlib/tst-strtod-round.c (tests): Regenerated.
22941
14c996c8
AK
229422012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22943
22944 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
22945 assembler flag.
22946 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
22947 zarch_nohighgprs around the zarch optimized routines.
22948 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
22949 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
22950 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
22951 for zarch.
22952
430d6ce6
DM
229532012-09-05 David S. Miller <davem@davemloft.net>
22954
22955 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22956
ff04dda4
DM
22957 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
22958 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
22959 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
22960 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
22961 entries.
22962
24d4e01b
AO
229632012-09-05 Alexandre Oliva <aoliva@redhat.com>
22964
22965 * malloc/arena.c: Fold copyright years.
22966 * malloc/mcheck.c, malloc/memusage.c: Likewise.
22967
61d58174
AO
229682012-09-05 Alexandre Oliva <aoliva@redhat.com>
22969
22970 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
22971
20196a5e
AO
229722012-09-05 Alexandre Oliva <aoliva@redhat.com>
22973
22974 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
22975
5c447383
AO
229762012-09-05 Alexandre Oliva <aoliva@redhat.com>
22977
22978 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
22979 change internal state upon failure.
22980
fad64255
AO
229812012-09-05 Alexandre Oliva <aoliva@redhat.com>
22982
22983 * malloc/mcheck.c (mcheck_check_all): Fix typo.
22984 * malloc/memusage.c (mmap): Likewise.
22985 (mmap64, mremap): Likewise. Adjust name in comment.
22986
1ffb8c90
SP
229872012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
22988
22989 * libio/fileops.c: Fix typos in comments.
22990 * libio/oldfileops.c: Likewise.
22991 * libio/wfileops.c: Likewise.
22992
6ef9cc37
SP
229932012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
22994
22995 [BZ #1349]
22996 * malloc/Makefile (tests): Add tst-malloc-usable test case.
22997 (tst-malloc-usable-ENV): Set environment for test case.
22998 * malloc/hooks.c (malloc_check_get_size): New function to get
22999 requested size.
23000 * malloc/malloc.c (musable): Use malloc_check_get_size.
23001 * malloc/tst-malloc-usable.c: New test case.
23002
4d038ae3
AS
230032012-09-05 Andreas Schwab <schwab@linux-m68k.org>
23004
23005 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
23006
c4e85184
AM
230072012-09-05 Allan McRae <allan@archlinux.org>
23008
b9dafc56 23009 [BZ #13966]
c4e85184
AM
23010 * configure.in (CXX_SYSINCLUDES): Use compiler output to
23011 determine header location.
23012 * configure: Regenerated.
23013
e1343020
AS
230142012-09-05 Andreas Schwab <schwab@linux-m68k.org>
23015
23016 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
23017 float format.
23018 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
23019 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
23020 format.
e1343020
AS
23021 (test): Regenerate.
23022
0a9f1987
DM
230232012-09-04 David S. Miller <davem@davemloft.net>
23024
23025 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
23026 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
23027 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
23028
29237804
FW
230292012-09-04 Florian Weimer <fweimer@redhat.com>
23030
23031 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
23032 failures.
23033
edb3cb88
FW
23034 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
23035
60160d83
JM
230362012-09-04 Joseph Myers <joseph@codesourcery.com>
23037
23038 [BZ #9914]
23039 * libio/iogetdelim.c: Include <limits.h>.
23040 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
23041 + len + 1 would overflow.
23042
bcd6c8dc
AJ
230432012-09-03 Andreas Jaeger <aj@suse.de>
23044
23045 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23046 * sysdeps/i386/fpu/libm-test-ulps: Update.
23047
4ffffbd2
LD
230482012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23049
23050 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
23051 Add s_sinf-sse2, s_conf-sse2.
23052
23053 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
23054 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
23055 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
23056 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
23057
23058 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
23059 for using routine as __sinf_ia32.
23060 Use macro for function declaration and weak_alias.
23061 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
23062 for using routine as __cosf_ia32.
23063 Use macro for function declaration and weak_alias.
23064
23065 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
23066 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
23067
23068 * sysdeps/x86_64/fpu/s_sinf.S: New file.
23069 * sysdeps/x86_64/fpu/s_cosf.S: New file.
23070 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23071
23072 * math/libm-test.inc (cos_test): Add more test cases.
23073 (sin_test): Likewise.
23074 (sincos_test): Likewise.
23075
511fa286
AK
230762012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23077
23078 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
23079 (IFUNC_RESOLVE): Make pointers to the specialized implementations
23080 hidden.
23081 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
23082
5f30cfec
L
230832012-09-02 H.J. Lu <hongjiu.lu@intel.com>
23084
23085 [BZ #14538]
23086 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
23087 first element of the GOT.
23088 (elf_machine_load_address): Return the difference between
23089 the runtime address of _DYNAMIC and elf_machine_dynamic ().
23090
0786794f
AM
230912012-09-01 Allan McRae <allan@archlinux.org>
23092
5f30cfec
L
23093 [BZ #13412]
23094 * configure.in (AWK): Require gawk version 3.0 or later.
23095 * configure: Regenerated.
0786794f 23096
26889eac
JM
230972012-09-01 Joseph Myers <joseph@codesourcery.com>
23098
23099 * sysdeps/unix/sysv/linux/kernel-features.h
23100 (__ASSUME_POSIX_CPU_TIMERS): Remove.
23101 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
23102 [__NR_clock_getres]: Make code unconditional.
23103 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
23104 (clock_getcpuclockid): Remove code left unreachable by removal of
23105 conditionals.
23106 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
23107 code unconditional.
23108 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
23109 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
23110 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
23111 Make code unconditional.
23112 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
23113 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
23114 * sysdeps/unix/sysv/linux/clock_settime.c
23115 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
23116 conditional code.
23117 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
23118 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
23119
d22e28b0
L
231202012-08-29 H.J. Lu <hongjiu.lu@intel.com>
23121
23122 [BZ #14476]
23123 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
23124 scripts/test-installation.pl.
23125
23126 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
23127 and $ld_so_version if it is set.
23128
050af9c4
SP
231292012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
23130
23131 [BZ #14516]
23132 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
23133 failure if reading from procfs failed.
23134 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
23135
ad845c0b
JM
231362012-08-27 Joseph Myers <joseph@codesourcery.com>
23137
23138 * sysdeps/unix/sysv/linux/kernel-features.h
23139 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
23140 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
23141 Remove conditional code.
23142 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23143 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
23144 Remove conditional code.
23145 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23146 * sysdeps/unix/sysv/linux/i386/fxstat.c
23147 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
23148 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23149 * sysdeps/unix/sysv/linux/i386/fxstatat.c
23150 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
23151 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23152 * sysdeps/unix/sysv/linux/i386/lxstat.c
23153 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
23154 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23155 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
23156 Remove conditional code.
23157 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23158 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
23159 Remove conditional code.
23160 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23161 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
23162 <kernel-features.h>.
23163 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
23164 Remove.
23165 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
23166 Remove conditional code.
23167 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23168 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
23169 Remove conditional.
23170
5dbf56af
MF
231712012-08-27 Mike Frysinger <vapier@gentoo.org>
23172
23173 [BZ #5400]
23174 * NEWS: Add fixed bug number.
23175
d6e70f43
JM
231762012-08-27 Joseph Myers <joseph@codesourcery.com>
23177
7efb4737
JM
23178 [BZ #14519]
23179 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
23180 underflowing exponent in case of negative sign.
23181 * stdlib/tst-strtod-round-data: Add more tests.
23182 * stdlib/tst-strtod-round.c (tests): Regenerated.
23183
af92131a
JM
23184 [BZ #3479]
23185 * stdlib/strtod_l.c (NDIG): Remove.
23186 (HEXNDIG): Likewise.
23187 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
23188 smallest representable value.
23189 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
23190 lie within an exact representation of 1/2 ulp of the result.
23191 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
23192 unconditionally.
23193 (TENS_P9_IDX): Define unconditionally.
23194 (TENS_P9_SIZE): Likewise.
23195 (TENS_P10_IDX): Likewise.
23196 (TENS_P10_SIZE): Likewise.
23197 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
23198 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
23199 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
23200 entries for 10^2^13 and 10^2^14.
23201 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
23202 (TENS_P13_IDX): Define.
23203 (TENS_P13_SIZE): Likewise.
23204 (TENS_P14_IDX): Likewise.
23205 (TENS_P14_SIZE): Likewise.
23206 (_fpioconst_pow10): Change array size to
23207 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
23208 unconditional.
23209 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
23210 1024]: Add entries for 10^2^13 and 10^2^14.
23211 [LAST_POW10 > _LAST_POW10]: Remove #error.
23212 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
23213 (_fpioconst_pow10): Change array size to
23214 FPIOCONST_POW10_ARRAY_SIZE.
23215 * stdlib/gen-fpioconst.c: New file.
23216 * stdlib/gen-tst-strtod-round.c: Likewise.
23217 * stdlib/tst-strtod-round-data: Likewise.
23218 * stdlib/tst-strtod-round.c: Likewise.
23219 * stdlib/Makefile (tests): Add tst-strtod-round.
23220
d6e70f43
JM
23221 [BZ #14459]
23222 * stdlib/strtod_l.c: Include <stdint.h>.
23223 (NDEBUG): Do not define.
23224 (round_and_return): Change EXPONENT parameter to type intmax_t.
23225 Rearrange calculations to avoid internal overflow possibilities.
23226 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
23227 Rearrange calculations to avoid internal overflow possibilities.
23228 Assert that number fits inside MPNSIZE limbs.
23229 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
23230 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
23231 calculations and add assertions to avoid internal overflow
23232 possibilities. Add casts to avoid signed/unsigned operations.
23233 * stdlib/tst-strtod-overflow.c: New file.
23234 * stdlib/Makefile (tests): Add tst-strtod-overflow.
23235
1f529f7d
MP
232362012-08-25 Marek Polacek <polacek@redhat.com>
23237
23238 * time/time.h: Fix some typos in comments.
23239
59a629f1
RM
232402012-08-23 Roland McGrath <roland@hack.frob.com>
23241
23242 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
23243 * posix/tst-rfc3484-2.c: Likewise.
23244 * posix/tst-rfc3484-3.c: Likewise.
23245
d3bafbc9
SM
232462012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
23247
23248 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
23249 (EF_ARM_ABI_FLOAT_HARD): Likewise.
23250
4efcc022
JM
232512012-08-23 Joseph Myers <joseph@codesourcery.com>
23252
23253 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
23254 #include of fxstatat64.c.
23255
3cc3ef96
RM
232562012-08-22 Roland McGrath <roland@hack.frob.com>
23257
f04e2132
RM
23258 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
23259 * shadow/getspent_r.c: Likewise.
23260 * shadow/getspnam.c: Likewise.
23261 * shadow/getspnam_r.c: Likewise.
23262 * gshadow/getsgent.c: Likewise.
23263 * gshadow/getsgent_r.c: Likewise.
23264 * gshadow/getsgnam.c: Likewise.
23265 * gshadow/getsgnam_r.c: Likewise.
23266 * inet/getnetbyad.c: Likewise.
23267 * inet/getnetbyad_r.c: Likewise.
23268 * inet/getnetbynm.c: Likewise.
23269 * inet/getnetbynm_r.c: Likewise.
23270 * inet/getnetent.c: Likewise.
23271 * inet/getnetent_r.c: Likewise.
23272 * inet/getproto.c: Likewise.
23273 * inet/getproto_r.c: Likewise.
23274 * inet/getprtent.c: Likewise.
23275 * inet/getprtent_r.c: Likewise.
23276 * inet/getprtname.c: Likewise.
23277 * inet/getprtname_r.c: Likewise.
23278 * inet/getrpcbyname.c: Likewise.
23279 * inet/getrpcbyname_r.c: Likewise.
23280 * inet/getrpcbynumber.c: Likewise.
23281 * inet/getrpcbynumber_r.c: Likewise.
23282 * inet/getrpcent.c: Likewise.
23283 * inet/getrpcent_r.c: Likewise.
23284 * inet/getaliasent.c: Likewise.
23285 * inet/getaliasent_r.c: Likewise.
23286 * inet/getaliasname.c: Likewise.
23287 * inet/getaliasname_r.c: Likewise.
23288 * nscd/getgrgid_r.c: Likewise.
23289 * nscd/getgrnam_r.c: Likewise.
23290 * nscd/gethstbyad_r.c: Likewise.
23291 * nscd/gethstbynm3_r.c: Likewise.
23292 * nscd/getpwnam_r.c: Likewise.
23293 * nscd/getpwuid_r.c: Likewise.
23294 * nscd/getsrvbynm_r.c: Likewise.
23295 * nscd/getsrvbypt_r.c: Likewise.
23296 * nscd/gai.c: Likewise.
23297
c53d909c
RM
23298 * configure.in (build_nscd): New substituted variable, set
23299 by --disable-build-nscd and defaults to $use_nscd.
23300 * configure: Regenerated.
23301 * config.make.in (build-nscd): New substituted variable.
23302 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
23303 Change conditional to require [$(build-nscd) = yes] as well.
23304 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
23305
3cc3ef96
RM
23306 [BZ# 13696]
23307 * configure.in (use_nscd): New substituted variable, set by
23308 --disable-nscd. If enabled, define USE_NSCD.
23309 * configure: Regenerated.
23310 * config.h.in: Add USE_NSCD.
23311 * config.make.in (use-nscd): New substituted variable.
23312 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
23313 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
23314 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
23315 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
23316 (CFLAGS-getgrnam_r.c): Likewise.
23317 (CFLAGS-initgroups.c): Likewise.
23318 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
23319 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
23320 Variables removed.
23321 * inet/getnetgrent_r.c
23322 (nscd_setnetgrent): New function, broken out of ...
23323 (setnetgrent): ... here. Call it.
23324 (innetgr): Conditionalize nscd bits on [USE_NSCD].
23325 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
23326 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
23327 * nscd/Makefile (routines, aux): Move definitions after include of
23328 Makeconfig. Conditionalize on [$(use-nscd) != no].
23329 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
23330 Conditionalize on [USE_NSCD].
23331 (is_nscd, nscd_init_cb): Likewise.
23332 (nss_load_library): Conditionalize init callback on [USE_NSCD].
23333 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
23334 * nss/nss_db/db-init.c: Likewise.
23335 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
23336 [USE_NSCD].
23337 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
23338 (make_request): Use it.
23339 (cache_valid_p): New function.
23340 (__check_pf): Use it.
23341 * NEWS: Add item for --disable-nscd.
23342
07e51550
DL
233432012-08-22 Dmitry V. Levin <ldv@altlinux.org>
23344
23345 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
23346 to support sed >= 4.2.1-20-ga9bf076.
23347 * configure: Regenerated.
23348
35a5b08b
RM
233492012-08-22 Roland McGrath <roland@hack.frob.com>
23350
23351 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
23352 Conditionalize whole body on [IREL].
23353
8479f23a
JL
233542012-08-22 Jeff Law <law@redhat.com>
23355
23356 [BZ #14505]
23357 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
23358 if the family is PF_UNSPEC.
23359
48da0b21
MF
233602012-08-22 Mike Frysinger <vapier@gentoo.org>
23361
23362 * Makerules (lib-version): Rename from V.
23363 (install-lib-nosubdir): Change V to lib-version.
23364
15d0da8c
WS
233652012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
23366
23367 [BZ #14252]
23368 * powerpc32/power6/wcschr.c: New file.
23369 * powerpc32/power6/wcscpy.c: New file.
23370 * powerpc32/power6/wcsrchr.c: New file.
23371 * powerpc64/power6/wcschr.c: New file.
23372 * powerpc64/power6/wcscpy.c: New file.
23373 * powerpc64/power6/wcsrchr.c: New file.
23374
bcca0895
MK
233752012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
23376
23377 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
23378 (two_way_short_needle): Use it.
5a4aaa33
RM
23379 * string/strstr.c (AVAILABLE1_USES_J): Define.
23380 * string/strcasestr.c: Likewise.
99677e57
MK
23381
23382 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
23383 array references.
23384 * string/strcasestr.c (TOLOWER): Make side-effect safe.
23385
400726de
MK
23386 [BZ #11607]
23387 * NEWS: Add an entry.
23388 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
23389 define their defaults.
23390 (two_way_short_needle): Detect end-of-string on-the-fly.
23391 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
23392 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
23393 * string/bug-strcasestr1.c: New test.
23394 * string/Makefile: Run it.
23395
20a71f2c
MK
233962012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
23397
23398 [BZ #11607]
23399 * string/str-two-way.h (two_way_short_needle): Optimize matching of
23400 the first character.
23401
21ad0558
RM
234022012-08-21 Roland McGrath <roland@hack.frob.com>
23403
23404 * csu/elf-init.c (__libc_csu_irel): Function removed.
23405 * csu/libc-start.c (apply_irel): New function.
23406 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
23407
0e1d9911
JM
234082012-08-21 Joseph Myers <joseph@codesourcery.com>
23409
23410 * sysdeps/unix/sysv/linux/kernel-features.h
23411 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
23412 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
23413 <kernel-features.h>.
23414 [__NR_fadvise64_64]: Make code unconditional.
23415 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
23416 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
23417 !__NR_fadvise64_64)]: Likewise.
23418 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
23419 !__NR_fadvise64_64))]: Likewise.
23420 [__NR_fadvise64]: Make code unconditional.
23421 [!__NR_fadvise64]: Remove conditional code.
23422 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
23423 <kernel-features.h>.
23424 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
23425 unconditional.
23426 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
23427 conditional code.
23428 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
23429 not include <kernel-features.h>.
23430 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
23431 unconditional.
23432 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
23433 conditional code.
23434 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
23435 include <kernel-features.h>.
23436 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
23437 unconditional.
23438 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
23439 conditional code.
23440
14a50c9d
WS
234412012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
23442
23443 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
23444 slight instruction rearrangements per scrollpipe analysis.
23445 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
23446
c0f4faf0
RM
234472012-08-20 Roland McGrath <roland@hack.frob.com>
23448
696da859
RM
23449 * manual/syslog.texi (syslog; vsyslog, closelog):
23450 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
23451 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
23452
c0f4faf0
RM
23453 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
23454 DSOCAPS to match condition on defining it.
23455
348363b2
JM
234562012-08-20 Joseph Myers <joseph@codesourcery.com>
23457
a35cbf28
JM
23458 * sysdeps/unix/sysv/linux/kernel-features.h
23459 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
23460 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
23461 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
23462 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
23463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
23464 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
23465 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
23466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
23467 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
23468 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
23469
445f7ecd
JM
23470 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
23471 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
23472
348363b2
JM
23473 * sysdeps/unix/sysv/linux/kernel-features.h
23474 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
23475 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
23476 unconditional.
23477 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
23478 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
23479 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
23480 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
23481 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
23482 Make code unconditional.
23483 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
23484 (__mmap64) [!__NR_mmap2]: Likewise.
23485 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
23486 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
23487 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
23488 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
23489 [__NR_mmap2]: Make code unconditional.
23490 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
23491 (__mmap64) [!__NR_mmap2]: Likewise.
23492
bc5bc0e5
AK
234932012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23494
23495 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
23496
88d506de
AJ
234972012-08-18 Andreas Jaeger <aj@suse.de>
23498
23499 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
23500
493387d2
MF
235012012-08-18 Mike Frysinger <vapier@gentoo.org>
23502
23503 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
23504 * include/unistd.h (__have_sock_cloexec): Likewise.
23505 (__have_pipe2): Likewise.
23506 (__have_dup3): Likewise.
23507
a277af22
MF
235082012-08-18 Mike Frysinger <vapier@gentoo.org>
23509
23510 [BZ #9685]
23511 * include/unistd.h (__have_pipe2): Change define into an extern int.
23512 (__have_dup3): Likewise.
23513 * socket/have_sock_cloexec.c: Include fcntl.h.
23514 (__have_pipe2): New variable.
23515 (__have_dup3): Likewise.
23516
fdab8fd3
MF
235172012-08-17 Mike Frysinger <vapier@gentoo.org>
23518
23519 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
23520
31035e80
MP
235212012-08-17 Marek Polacek <polacek@redhat.com>
23522
23523 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
23524 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
23525
3bd9e993
RM
235262012-08-17 Roland McGrath <roland@hack.frob.com>
23527
c91c505f
RM
23528 * configure.in: Add AC_SUBST for sysheaders.
23529 * configure: Regenerated.
23530 * config.make.in (sysheaders): New substituted variable.
23531
7c6f9d53
RM
23532 * sysdeps/unix/mkfifo.c: Moved ...
23533 * sysdeps/posix/mkfifo.c: ... here.
23534 * sysdeps/unix/mkfifoat.c: Moved ...
23535 * sysdeps/posix/mkfifoat.c: ... here.
23536
23537 * sysdeps/unix/utime.c: Moved ...
23538 * sysdeps/posix/utime.c: ... here.
23539
23540 * sysdeps/unix/time.c: Moved ...
23541 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
23542 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
23543 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
23544
23545 * sysdeps/unix/nice.c: Moved ...
23546 * sysdeps/posix/nice.c: ... here.
23547
23548 * sysdeps/unix/alarm.c: Moved ...
23549 * sysdeps/posix/alarm.c: ... here.
23550
3bd9e993
RM
23551 * intl/Makefile ($(codeset_mo)): Depend on the input file.
23552
d1f09384
JL
235532012-08-17 Jeff Law <law@redhat.com>
23554
23555 * intl/Makefile (codeset_mo): New variable.
23556 ($(codeset_mo)): New target.
23557 (tst-codeset.out): Depend on that. Remove explicit rule.
23558 (tst-gettext3.out, tst-gettext5.out): Likewise.
23559 (LOCPATH-ENV, tst-codeset-ENV): New variables.
23560 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
23561 * intl/tst-codeset.sh: Remove.
23562 * intl/tst-gettext3.sh: Likewise.
23563 * intl/tst-gettext5.sh: Likewise.
23564
2ae1ae5c
RM
235652012-08-17 Roland McGrath <roland@hack.frob.com>
23566
c31fdb83
RM
23567 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
23568 * sysdeps/unix/syscalls.list: ... here.
23569
a0844057
RM
23570 * sysdeps/posix/getaddrinfo.c
23571 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
23572 (gaiconf_init, gaiconf_reload): Use them.
23573 [!_STATBUF_ST_NSEC]
23574 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
23575 Define using time_t rather than struct timespec.
23576
750c1f2a
RM
23577 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
23578 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
23579 Macros removed.
23580 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
23581 [!NO_THREADS].
23582 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
23583 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
23584 Likewise.
23585
2ae1ae5c
RM
23586 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
23587 __libc_cleanup_push argument.
23588
e66a42f5
RM
23589 * bits/param.h: New file.
23590 * misc/sys/param.h: New file.
23591 * include/sys/param.h: New file.
23592 * misc/Makefile (headers): Add bits/param.h.
23593 * sysdeps/generic/sys/param.h: File removed.
23594 * sysdeps/unix/sysv/linux/bits/param.h: New file.
23595 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
23596 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 23597 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 23598
b7c08a66
RM
23599 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
23600 last change.
23601
b2e1c562
RM
23602 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
23603 [_IO_MTSAFE_IO].
23604 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
23605 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
23606 New macros.
23607
c75ccd4c
RM
23608 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
23609 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
23610 rather than -D_IO_MTSAFE_IO conditionally.
23611 * stdio-common/Makefile (CPPFLAGS): Likewise.
23612 * wcsmbs/Makefile (CPPFLAGS): Likewise.
23613 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
23614 Use $(libio-mtsafe).
23615 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
23616 of -D_IO_MTSAFE_IO.
23617 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
23618 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
23619 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
23620 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
23621 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
23622 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
23623 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
23624 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
23625 (CFLAGS-fread_u_chk.c): Likewise.
23626 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
23627 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
23628 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
23629 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
23630 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
23631 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
23632 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
23633 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
23634 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
23635
23636 * libio/Makefile: Test [$(libc-reentrant) = yes]
23637 instead of [$(filter %REENTRANT, $(defines)) nonempty].
23638
23639 * Makeconfig
23640 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
23641 * sysdeps/pthread/configure: File removed.
23642 * sysdeps/pthread/Makeconfig: New file.
23643 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
23644 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
23645
d9195db8
GB
236462012-08-16 Gary Benson <gbenson@redhat.com>
23647
23648 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
23649 unmapping the first object in a namespace.
23650
86466cd9
RM
236512012-08-16 Roland McGrath <roland@hack.frob.com>
23652
23653 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
23654 (__internal_setnetgrent): ... this. Add internal_function to
23655 definition. Add libc_hidden_def.
23656 (setnetgrent): Update caller.
23657 (internal_endnetgrent): Renamed to ...
23658 (__internal_endnetgrent): ... this. Add internal_function to
23659 definition. Add libc_hidden_def.
23660 (endnetgrent): Update caller.
23661 (internal_getnetgrent_r): Renamed to ...
23662 (__internal_getnetgrent_r): ... this. Add internal_function to
23663 definition. Add libc_hidden_def.
23664 (__getnetgrent_r): Update caller.
23665 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
23666
c3c8283c
JM
236672012-08-16 Joseph Myers <joseph@codesourcery.com>
23668
23669 * stdlib/longlong.h: Update from GCC.
23670
db1ee0a8
RM
236712012-08-16 Roland McGrath <roland@hack.frob.com>
23672
23673 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
23674 on _QL, which is set by umul_ppmm but never used.
23675 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
23676 variables, which are set by GMP macros but never used.
23677 * stdio-common/_itowa.c (_itowa): Likewise.
23678 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
23679 * stdlib/mod_1.c (mpn_mod_1): Likewise.
23680
30f69637
CD
236812012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
23682
23683 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
23684 struct La_sh_regs is not constant.
23685 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
23686 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
23687 and struct La_sparc64_regs are not constant.
23688
93a78ac4
JM
236892012-08-16 Joseph Myers <joseph@codesourcery.com>
23690
23691 * sysdeps/unix/sysv/linux/kernel-features.h
23692 (__ASSUME_POSIX_TIMERS): Remove.
23693 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
23694 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
23695 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
23696 Make code unconditional.
23697 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
23698 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
23699 Make code unconditional.
23700 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
23701 * sysdeps/unix/sysv/linux/clock_nanosleep.c
23702 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
23703 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
23704 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
23705 Make code unconditional.
23706 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
23707 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
23708 (__libc_missing_posix_timers): Remove.
23709
dd924cd7
RM
237102012-08-15 Roland McGrath <roland@hack.frob.com>
23711
4b4f2771
RM
23712 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
23713 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
23714
601c888b
RM
23715 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
23716
176790a7
RM
23717 * elf/dl-sym.c: Include <stdlib.h>.
23718
329bc018
RM
23719 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
23720 constants, which avoids warnings in 32-bit builds.
23721
e04e272d
RM
23722 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
23723 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
23724
952bf94a
RM
23725 * misc/lseek.c: File moved to ...
23726 * io/lseek.c: ... here.
23727
7c99b50a
RM
23728 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
23729
dd924cd7
RM
23730 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
23731 shifting LEN more than 31 bits at once.
23732
b3f479a8
LD
237332012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23734
23735 [BZ #14195]
8c4ae0d4
RM
23736 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
23737 segmentation fault for a case of two empty input strings.
b3f479a8
LD
23738 * string/test-strncasecmp.c (check1): Renamed to...
23739 (bz12205): ...this.
23740 (bz14195): Add new testcase for two empty input strings and N > 0.
23741 (test_main): Call new testcase, adapt for renamed function.
23742
9c55864e
AJ
237432012-08-15 Andreas Jaeger <aj@suse.de>
23744
23745 [BZ #14090]
23746 * crypt/md5test2.c: New test, based on test supplied by Serge
23747 Belyshev <belyshev@depni.sinp.msu.ru>.
23748 * crypt/Makefile (xtests): Add md5test-giant..
23749 * crypt/Makefile ($(objpfx)md5test-giant): Add.
23750
02dcb6c5
PE
237512012-08-15 Paul Eggert <eggert@cs.ucla.edu>
23752
23753 [BZ #14090]
23754 * crypt/md5.c (md5_process_block): Don't assume the buffer
23755 length is less than 2**32.
23756 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
23757 length is less than 2**64.
23758
a3f95dcc
RM
237592012-08-15 Roland McGrath <roland@hack.frob.com>
23760
be75d758
RM
23761 * string/str-two-way.h: Include <sys/param.h>.
23762 (MAX): Macro removed.
23763
7312ca90
RM
23764 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
23765 Move #define and #undef of memmove to just before and after
23766 including <string.h>.
23767
9a0a5486
RM
23768 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
23769 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
23770 and after including <string.h>. Move declarations of
23771 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
23772 to before #include "string/memmove.c".
23773
67cc348d
RM
23774 * include/dirent.h: Declare __getdirentries.
23775
a3f95dcc
RM
23776 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
23777 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
23778
ca98e171
MF
237792012-08-14 Mike Frysinger <vapier@gentoo.org>
23780
23781 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
23782 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
23783 * sysdeps/i386/configure: Regenerated.
23784 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
23785 STABS_CURRENT_FILE, and STABS_FUN.
23786 (END): Remove call to STABS_FUN_END.
23787 (STABS_CURRENT_FILE1): Delete.
23788 (STABS_CURRENT_FILE): Likewise.
23789 (STABS_FUN): Likewise.
23790 (STABS_FUN_END): Likewise.
23791 (STABS_FUN2): Likewise.
23792 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
23793 * sysdeps/x86_64/configure: Regenerated.
23794
5908bf46
RM
237952012-08-14 Roland McGrath <roland@hack.frob.com>
23796
23797 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 23798 * elf/dl-lookup.c: Likewise.
5908bf46 23799
f2c05b9e
JM
238002012-08-14 Joseph Myers <joseph@codesourcery.com>
23801
23802 * sysdeps/unix/sysv/linux/kernel-features.h
23803 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
23804 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
23805 unconditionally.
23806 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
23807 unconditionally.
23808 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
23809 condition on __ASSUME_CLONE_THREAD_FLAGS.
23810
e11f5155
AJ
238112012-08-14 Andreas Jaeger <aj@suse.de>
23812
23813 * sysdeps/i386/fpu/libm-test-ulps: Update.
23814
51a9ba86
MK
238152012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
23816
2fdd4f78
AJ
23817 * include/atomic.h (atomic_exchange_and_add): Split into ...
23818 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
23819 New atomic macros.
51a9ba86 23820
ba6cba9e
MT
238212012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
23822
23823 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23824
42443a47
JL
238252012-08-13 Jeff Law <law@redhat.com>
23826
23827 * manual/stdio.texi (snprintf): Clarify handling of the trailing
23828 null byte in the output string.
23829
121dce05
JM
238302012-08-10 Joseph Myers <joseph@codesourcery.com>
23831
23832 * sysdeps/unix/sysv/linux/kernel-features.h
23833 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
23834 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
23835 (__ASSUME_ARG_MAX_STACK_BASED): Define.
23836 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
23837 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
23838 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
23839 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
23840
bf51f568
JL
238412012-08-09 Jeff Law <law@redhat.com>
23842
23843 [BZ #13939]
23844 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
23845 When avoid_arena is set, don't retry in the that arena. Pick the
23846 next one, whatever it might be.
23847 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
23848 (arena_lock): Pass in new parameter to arena_get2.
23849 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
23850 arena_get2.
23851 (__libc_malloc): Unify retrying after main arena failure with
23852 __libc_memalign version.
23853 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
23854
f85fa270
L
238552012-08-09 H.J. Lu <hongjiu.lu@intel.com>
23856
23857 [BZ #14166]
23858 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
23859 to __redirect_strstr.
23860 (__strstr_sse42): Use typeof __redirect_strstr.
23861 (__strstr_ia32): Likewise.
23862 (__libc_strstr): New prototype.
23863 (strstr): Renamed to ...
23864 (__libc_strstr): This.
23865 (strstr): New strong alias of __libc_strstr.
23866 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
23867 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
23868 __redirect_time.
23869 Include <time.h>.
23870 (__libc_time): New prototype.
23871 (time_ifunc): Replace time with __libc_time.
23872 (time): New strong alias and hidden definition of __libc_time.
23873 (__GI_time): Remove strong alias.
23874 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
23875 Include <stddef.h>.
23876 (memmove): Redefined to __redirect_memmove.
23877 (__memmove_sse2): Use typeof __redirect_memmove.
23878 (__memmove_ssse3): Likewise.
23879 (__memmove_ssse3_back): Likewise.
23880 (__libc_memmove): New prototype.
23881 (memmove): Renamed to ...
23882 (__libc_memmove): This.
23883 (memmove): New strong alias of __libc_memmove.
23884
33b4a91e
MS
238852012-08-08 Mark Salter <msalter@redhat.com>
23886
23887 * elf/elf.h
23888 (R_MN10300_TLS_GD): Define.
23889 (R_MN10300_TLS_LD): Likewise.
23890 (R_MN10300_TLS_LDO): Likewise.
23891 (R_MN10300_TLS_GOTIE): Likewise.
23892 (R_MN10300_TLS_IE): Likewise.
23893 (R_MN10300_TLS_LE): Likewise.
23894 (R_MN10300_TLS_DTPMOD): Likewise.
23895 (R_MN10300_TLS_DTPOFF): Likewise.
23896 (R_MN10300_TLS_TPOFF): Likewise.
23897 (R_MN10300_SYM_DIFF): Likewise.
23898 (R_MN10300_ALIGN): Likewise.
23899 (R_MN10300_NUM): Update.
23900
b36137f1
JM
239012012-08-08 Joseph Myers <joseph@codesourcery.com>
23902
23903 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
23904 Remove.
23905
cdd915fd
RM
239062012-08-08 Roland McGrath <roland@hack.frob.com>
23907
a2433aac
RM
23908 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
23909
cdd915fd
RM
23910 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
23911 sysdeps/unix -> sysdeps/posix move.
23912 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
23913
bf9b740a
AM
239142012-08-07 Allan McRae <allan@archlinux.org>
23915
23916 [BZ #14303]
23917 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
23918 (SUNOS_CPP): Likewise.
23919 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
23920 not found.
23921 (open_input): Call CPP using execvp.
23922
93df14ee
JM
239232012-08-07 Joseph Myers <joseph@codesourcery.com>
23924
23925 * sysdeps/unix/sysv/linux/kernel-features.h
23926 (__ASSUME_PROT_GROWSUPDOWN): Remove.
23927 (__ASSUME_NO_CLONE_DETACHED): Likewise.
23928 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
23929 (__ASSUME_WAITID_SYSCALL): Likewise.
23930 * sysdeps/unix/sysv/linux/dl-execstack.c
23931 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
23932 code unconditional.
23933 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
23934 conditional code.
23935 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
23936 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
23937 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
23938 code.
23939 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
23940 unconditional.
23941 [__ASSUME_WAITID_SYSCALL]: Likewise.
23942 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
23943
d34689de
RM
239442012-08-07 Roland McGrath <roland@hack.frob.com>
23945
a281decc
RM
23946 * sysdeps/unix/closedir.c: Renamed to ...
23947 * sysdeps/posix/closedir.c: ... here.
23948 * sysdeps/unix/dirfd.c: Renamed to ...
23949 * sysdeps/posix/dirfd.c: ... here.
23950 * sysdeps/unix/dirstream.h: Renamed to ...
23951 * sysdeps/posix/dirstream.h: ... here.
23952 * sysdeps/unix/fdopendir.c: Renamed to ...
23953 * sysdeps/posix/fdopendir.c: ... here.
23954 * sysdeps/unix/opendir.c: Renamed to ...
23955 * sysdeps/posix/opendir.c: ... here.
23956 * sysdeps/unix/readdir.c: Renamed to ...
23957 * sysdeps/posix/readdir.c: ... here.
23958 * sysdeps/unix/readdir_r.c: Renamed to ...
23959 * sysdeps/posix/readdir_r.c: ... here.
23960 * sysdeps/unix/rewinddir.c: Renamed to ...
23961 * sysdeps/posix/rewinddir.c: ... here.
23962 * sysdeps/unix/seekdir.c: Renamed to ...
23963 * sysdeps/posix/seekdir.c: ... here.
23964 * sysdeps/unix/telldir.c: Renamed to ...
23965 * sysdeps/posix/telldir.c: ... here.
23966 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
23967 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
23968 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
23969 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
23970
22895b47
RM
23971 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
23972 * bits/fcntl.h: ... here.
23973
707a53b6
RM
23974 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
23975 not 0.
23976 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
23977 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
23978 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
23979 (struct flock): Move l_start, l_len to the beginning.
23980 Use __pid_t for l_pid.
23981 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
23982 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
23983 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
23984 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
23985 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
23986 [__USE_LARGEFILE64] (struct flock64): New type.
23987 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
23988
f0bd3e25
RM
23989 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
23990 * bits/dirent.h: ... here.
23991
d34689de
RM
23992 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
23993 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
23994
6dad2c06
JM
239952012-08-07 Joseph Myers <joseph@codesourcery.com>
23996
23997 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
23998 Change from 2.6.0 to 2.6.16.
23999 * sysdeps/unix/sysv/linux/configure: Regenerated.
24000 * sysdeps/unix/sysv/linux/kernel-features.h
24001 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
24002 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
24003 version.
24004 (__ASSUME_UTIMES): Likewise.
24005 (__ASSUME_CLONE_STOPPED): Remove.
24006 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
24007 architectures, not kernel version.
24008 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
24009 (__ASSUME_NO_CLONE_DETACHED): Likewise.
24010 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
24011 (__ASSUME_WAITID_SYSCALL): Likewise.
24012 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
24013 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
24014 * README: State 2.6.16 as minimum Linux kernel version. Do not
24015 refer to older versions.
24016
03af9520
RM
240172012-08-06 Roland McGrath <roland@hack.frob.com>
24018
8e49df1d
RM
24019 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
24020 Define alphasort64 as an alias.
24021 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
24022 Define versionsort64 as an alias.
24023 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
24024 Define scandir64 as an alias.
24025 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
24026 Define scandirat64 as an alias.
24027 * dirent/alphasort64.c (alphasort64):
24028 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
24029 * dirent/versionsort64.c: Likewise.
24030 * dirent/scandir64.c: Likewise.
24031 * dirent/scandirat64.c: Likewise.
24032 * sysdeps/wordsize-64/alphasort.c: File removed.
24033 * sysdeps/wordsize-64/alphasort64.c: File removed.
24034 * sysdeps/wordsize-64/scandir.c: File removed.
24035 * sysdeps/wordsize-64/scandir64.c: File removed.
24036 * sysdeps/wordsize-64/scandirat.c: File removed.
24037 * sysdeps/wordsize-64/scandirat64.c: File removed.
24038 * sysdeps/wordsize-64/versionsort.c: File removed.
24039 * sysdeps/wordsize-64/versionsort64.c: File removed.
24040 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
24041 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
24042 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
24043 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
24044 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
24045 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
24046 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
24047 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
24048
24049 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
24050 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
24051 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
24052 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24053 [defined __arch64__ || defined __sparcv9]
24054 (__INO_T_MATCHES_INO64_T): New macro.
24055 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
24056 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
24057 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
24058 * sysdeps/unix/sysv/linux/bits/dirent.h
24059 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
24060 (_DIRENT_MATCHES_DIRENT64): New macro.
24061
03af9520
RM
24062 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
24063 Define lockf64 as an alias.
24064 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
24065 Define fseeko64 as an alias.
24066 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
24067 Define ftello64 as an alias.
24068 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
24069 Define _IO_fgetpos64 and fgetpos64 as aliases.
24070 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
24071 Define _IO_fsetpos64 and fsetpos64 as aliases.
24072 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
24073 Conditionalize body on this.
24074 * libio/fseeko64.c: Likewise.
24075 * libio/ftello64.c: Likewise.
24076 * libio/iofgetpos64.c: Likewise.
24077 * libio/iofsetpos64.c: Likewise.
24078 * sysdeps/wordsize-64/lockf.c: File removed.
24079 * sysdeps/wordsize-64/lockf64.c: File removed.
24080 * sysdeps/wordsize-64/fseeko.c: File removed.
24081 * sysdeps/wordsize-64/fseeko64.c: File removed.
24082 * sysdeps/wordsize-64/ftello.c: File removed.
24083 * sysdeps/wordsize-64/ftello64.c: File removed.
24084 * sysdeps/wordsize-64/iofgetpos.c: File removed.
24085 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
24086 * sysdeps/wordsize-64/iofsetpos.c: File removed.
24087 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
24088 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
24089 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
24090 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
24091 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
24092 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
24093 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
24094 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
24095 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
24096 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
24097 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
24098
24099 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
24100 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
24101 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
24102 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24103 [defined __arch64__ || defined __sparcv9]
24104 (__OFF_T_MATCHES_OFF64_T): New macro.
24105 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
24106 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
24107 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24108 (__OFF_T_MATCHES_OFF64_T): New macro.
24109
c5757acd
L
241102012-08-06 H.J. Lu <hongjiu.lu@intel.com>
24111
24112 * stdlib/secure-getenv.c (__secure_getenv): Replace
24113 GLIBC_2_16 with GLIBC_2_17.
24114
3a31811e
L
241152012-08-06 H.J. Lu <hongjiu.lu@intel.com>
24116
24117 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
24118 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
24119
faa2bccb
DM
241202012-08-03 David S. Miller <davem@davemloft.net>
24121
24122 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24123
85fe1997
JM
241242012-08-03 Joseph Myers <joseph@codesourcery.com>
24125
24126 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
24127 Remove.
24128 (__ASSUME_CORRECT_SI_PID): Likewise.
24129 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
24130 (__ASSUME_TMPFS_NAME): Likewise.
24131 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
24132 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
24133 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
24134 (HAVE_AUX_SECURE): Make definition unconditional.
24135 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
24136 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
24137
4f75b7a0
RM
241382012-08-03 Roland McGrath <roland@hack.frob.com>
24139
24140 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
24141 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
24142 * sysdeps/mach/hurd/eloop-threshold.h: New file.
24143 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
24144 __eloop_threshold instead of SYMLOOP_MAX.
24145
24146 * sysdeps/generic/eloop-threshold.h: New file.
24147 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
24148 of MAXSYMLINKS.
24149 * elf/chroot_canon.c (chroot_canon): Likewise.
24150
7aab07e4
JM
241512012-08-03 Joseph Myers <joseph@codesourcery.com>
24152
24153 [BZ #13717]
24154 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
24155 Change to 2.6.0 everywhere.
24156 * sysdeps/unix/sysv/linux/configure: Regenerated.
24157 * sysdeps/unix/sysv/linux/kernel-features.h
24158 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
24159 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
24160 kernel versions.
24161 (__ASSUME_POSIX_TIMERS): Define unconditionally.
24162 (__ASSUME_FUTEX_REQUEUE): Remove.
24163 (__ASSUME_STATFS64): Define unconditionally.
24164 (__ASSUME_AT_SECURE): Likewise.
24165 (__ASSUME_CORRECT_SI_PID): Likewise.
24166 (__ASSUME_TGKILL): Define without depending on kernel version for
24167 i386.
24168 (__ASSUME_UTIMES): Likewise.
24169 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
24170 kernel version.
24171 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
24172 (__ASSUME_TMPFS_NAME): Likewise.
24173 * README: Update reference to Linux kernel versions.
24174
b67e9372
MP
241752012-08-02 Marek Polacek <polacek@redhat.com>
24176
1f529f7d 24177 [BZ# 14150]
b67e9372
MP
24178 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
24179 libc_cv_asm_type_prefix with %.
24180 * configure: Regenerated.
d2441631
RM
24181 * include/libc-symbols.h: Remove comment about
24182 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
24183 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
24184 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
24185 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
24186 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
24187 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
24188 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
24189 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
24190 * elf/tst-unique2mod1.c: Likewise.
24191 * elf/tst-unique1mod2.c: Likewise.
24192 * elf/tst-unique1mod1.c: Likewise.
24193 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
24194 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
24195 Replace ASM_TYPE_DIRECTIVE with .type.
24196 * sysdeps/s390/s390-64/sysdep.h: Likewise.
24197 * sysdeps/i386/sysdep.h: Likewise.
24198 * sysdeps/x86_64/sysdep.h: Likewise.
24199 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
24200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
24201 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 24202 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
24203 * sysdeps/powerpc/powerpc32/sysdep.h:
24204 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
24205 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
24206 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
24207 * sysdeps/i386/fpu/e_powf.S: Likewise.
24208 * sysdeps/i386/fpu/e_expl.S: Likewise.
24209 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
24210 * sysdeps/i386/fpu/e_acosh.S: Likewise.
24211 * sysdeps/i386/fpu/e_pow.S: Likewise.
24212 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
24213 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
24214 * sysdeps/i386/fpu/s_expm1.S: Likewise.
24215 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
24216 * sysdeps/i386/fpu/e_log2.S: Likewise.
24217 * sysdeps/i386/fpu/e_log2l.S: Likewise.
24218 * sysdeps/i386/fpu/e_scalb.S: Likewise.
24219 * sysdeps/i386/fpu/e_powl.S: Likewise.
24220 * sysdeps/i386/fpu/e_log10f.S: Likewise.
24221 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
24222 * sysdeps/i386/fpu/e_logl.S: Likewise.
24223 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
24224 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
24225 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
24226 * sysdeps/i386/fpu/e_log2f.S: Likewise.
24227 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
24228 * sysdeps/i386/fpu/e_log.S: Likewise.
24229 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
24230 * sysdeps/i386/fpu/e_logf.S: Likewise.
24231 * sysdeps/i386/fpu/e_log10l.S: Likewise.
24232 * sysdeps/i386/fpu/e_atanh.S: Likewise.
24233 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
24234 * sysdeps/i386/fpu/e_log10.S: Likewise.
24235 * sysdeps/i386/fpu/s_frexp.S: Likewise.
24236 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
24237 * sysdeps/i386/fpu/s_asinh.S: Likewise.
24238 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
24239 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
24240 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
24241 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
24242 * sysdeps/i386/i686/strtok.S: Likewise.
24243 * sysdeps/i386/i386-mcount.S: Likewise.
24244 * sysdeps/i386/strtok.S: Likewise.
24245 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
24246 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
24247 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
24248 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
24249 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
24250 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
24251 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
24252 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
24253 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
24254 * sysdeps/x86_64/_mcount.S: Likewise.
24255 * sysdeps/x86_64/strtok.S: Likewise.
24256 * sysdeps/sh/_mcount.S: Likewise.
24257
2747bf9a
RM
242582012-08-01 Roland McGrath <roland@hack.frob.com>
24259
24260 * libio/iofopen.c: Include <fcntl.h>.
24261 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
24262 (_IO_fopen64, fopen64): Define as aliases.
24263 * libio/iofopen64.c: Include <fcntl.h>.
24264 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
24265 Conditionalize body on this.
24266 * sysdeps/wordsize-64/iofopen.c: File removed.
24267 * sysdeps/wordsize-64/iofopen64.c: File removed.
24268
3fb791b8
MP
242692012-08-01 Marek Polacek <polacek@redhat.com>
24270
24271 * libc/Makeconfig: Use elf in place of binfmt-subdir.
24272 Use dlfcn directly instead of a variable.
24273 (binfmt-subdir): Do not define.
24274 (dlfcn): Likewise.
24275
a9f1039f
JM
242762012-08-01 Joseph Myers <joseph@codesourcery.com>
24277
23bddc06
JM
24278 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
24279 Remove all definitions.
24280 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
24281 <kernel-features.h>.
24282 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
24283 (miss_F_GETOWN_EX): Remove all definitions.
24284 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
24285 macro definition.
24286 [!__ASSUME_FCNTL64]: Remove conditional code.
24287 [__ASSUME_FCNTL64]: Make code unconditional.
24288 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
24289 <kernel-features.h>.
24290 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
24291 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
24292 (lockf64) [__NR_fcntl64]: Make code unconditional.
24293 (lockf64) [__ASSUME_FCNTL64]: Likewise.
24294
a9f1039f
JM
24295 * sysdeps/unix/sysv/linux/kernel-features.h
24296 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
24297 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
24298 Make code unconditional.
24299 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
24300 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
24301 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
24302 [__NR_vfork]: Make code unconditional.
24303 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
24304 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
24305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
24306 [__NR_vfork]: Make code unconditional.
24307 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
24308 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
24309
09c0ee5f
RM
243102012-08-01 Roland McGrath <roland@hack.frob.com>
24311
48aec5b9
RM
24312 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
24313 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
24314
cd97c966
RM
24315 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
24316 Define mkstemp64 as an alias.
3f55550c
RM
24317 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
24318 Define mkstemps64 as an alias.
cd97c966
RM
24319 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
24320 Define mkostemp64 as an alias.
b8625cfc
RM
24321 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
24322 Define mkostemps64 as an alias.
cd97c966
RM
24323 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
24324 Conditionalize body on this.
24325 * misc/mkostemp64.c: Likewise.
b8625cfc 24326 * misc/mkostemps64.c: Likewise.
3f55550c 24327 * misc/mkstemps64.c: Likewise.
cd97c966
RM
24328 * sysdeps/wordsize-64/mkstemp64.c: File removed.
24329 * sysdeps/wordsize-64/mkostemp64.c: File removed.
24330 * sysdeps/wordsize-64/mkostemp.c: File removed.
24331 * sysdeps/wordsize-64/mkstemp.c: File removed.
24332 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
24333 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
24334 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
24335 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
24336
09c0ee5f
RM
24337 [BZ #14138]
24338 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
24339 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
24340 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
24341 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
24342
24343 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
24344 compat_symbol macros from <shlib-compat.h> rather than the underlying
24345 default_symbol_version and symbol_version macros, so that DEFAULT
24346 lines in shlib-versions are respected.
24347 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
24348
7e66ee51
FW
243492012-08-01 Florian Weimer <fweimer@redhat.com>
24350
24351 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
24352 Declare with warn_unused_result.
24353 (setgid, setregid, setegid, setresgid): Likewise.
24354 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
24355 Likewise.
24356 * WUR-REPORT: Remove set*id functions.
24357
d2a54255
PT
243582012-07-31 Pino Toscano <toscano.pino@tiscali.it>
24359
24360 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
24361
7ecdb005
RM
243622012-07-31 Roland McGrath <roland@hack.frob.com>
24363
b4180a5e 24364 [BZ #10191]
789bd351
RM
24365 * include/sys/socket.h (__libc_accept, __libc_accept4):
24366 Add attribute_hidden.
24367 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
24368
40ce302d
RM
24369 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
24370 use of PTR_MANGLE.
24371 * inet/getnetgrent_r.c (setup): Likewise.
24372
7ecdb005
RM
24373 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
24374
e2eabb2c
DM
243752012-07-31 David S. Miller <davem@davemloft.net>
24376
24377 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24378
d0419dbf
JM
243792012-07-31 Joseph Myers <joseph@codesourcery.com>
24380
24381 [BZ #13629]
24382 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
24383 value between 1.0 and 2.0 and smaller part has absolute value less
24384 than 1.0.
24385 * math/s_clog10.c (__clog10): Likewise.
24386 * math/s_clog10f.c (__clog10f): Likewise.
24387 * math/s_clog10l.c (__clog10l): Likewise.
24388 * math/s_clogf.c (__clogf): Likewise.
24389 * math/s_clogl.c (__clogl): Likewise.
24390 * math/libm-test.inc (clog_test): Add more tests.
24391 (clog10_test): Likewise.
24392 * sysdeps/i386/fpu/libm-test-ulps: Update.
24393 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24394
2bc13872
FW
243952012-07-31 Florian Weimer <fweimer@redhat.com>
24396
24397 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
24398 Exit with zero in case no suitable GID is found, and write a
24399 message to standard error.
24400
bea9b193
RM
244012012-07-30 Roland McGrath <roland@hack.frob.com>
24402
24403 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
24404 rather than to 1.
24405 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
24406 (MAXPATHLEN): Removed.
24407 (NOGROUP, NODEV): New macros.
24408 (setbit, clrbit, isset, isclr): New macros.
24409 (howmany, roundup, powerof2): New macros.
24410 (DEV_BSIZE): New macro.
24411
24412 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
24413 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
24414
24415 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
24416 definition on [!__NO_LONG_DOUBLE_MATH].
24417
24418 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
24419 PTR_MANGLE and PTR_DEMANGLE.
24420
24421 * socket/accept4.c (accept4): Rename to __libc_accept4.
24422 Define accept4 as a weak alias.
24423
24424 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
24425 on [_DIRENT_HAVE_D_TYPE].
24426 * io/ftw.c (ftw_dir): Likewise.
24427
24428 * io/xmknod.c (__xmknod): Don't check PATH for being null.
24429
24430 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
24431
24432 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
24433 Use the BSD numbers rather than the arbitrary ones we had.
24434 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
24435 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
24436 (SIGXCPU, SIGXFSZ): New macros.
24437 (_NSIG): Now 32.
24438
24439 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
24440 initializer on [_LIBC_REENTRANT].
24441
24442 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
24443 definitions inside [_POSIX_MAPPED_FILES].
24444
24445 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
24446
24447 * dirent/opendir.c: Include <fcntl.h>.
24448
24449 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
24450 (__libc_getspecific): Likewise.
24451 (__libc_key_create): Likewise.
24452
24453 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
24454 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
24455 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
24456 (tmpfile64): Define as alias.
24457 * sysdeps/wordsize-64/tmpfile.c: File removed.
24458 * sysdeps/wordsize-64/tmpfile64.c: File removed.
24459 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
24460 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
24461
24462 * stdio-common/vfscanf.c: Include <stdbool.h>.
24463 * nss/makedb.c: Likewise.
24464 * stdio-common/_i18n_number.h: Likewise.
24465 * argp/argp-help.c: Likewise.
24466 * posix/wordexp.c: Likewise.
24467 * sysdeps/posix/spawni.c: Likewise.
24468 * nss/nss_files/files-initgroups.c: Likewise.
24469 * stdio-common/reg-modifier.c: Include <stdlib.h>.
24470 * nss/nss_files/files-initgroups.c: Likewise.
24471 * nss/nss_db/db-netgrp.c: Likewise.
24472 * nss/nss_db/db-initgroups.c: Likewise.
24473 * io/fchmodat.c: Include <sys/stat.h>.
24474
24475 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
24476 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
24477
24478 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
24479 [HAVE_MMAP].
24480
24481 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
24482 Add multiple inclusion protection.
24483
e5abc686
DM
244842012-07-27 David S. Miller <davem@davemloft.net>
24485
24486 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24487
815e6fa3
GB
244882012-07-27 Gary Benson <gbenson@redhat.com>
24489
24490 [BZ #14298]
24491 * elf/rtld.c: Include <stap-probe.h>.
24492 (dl_main): Added static probes "init_start" and "init_complete".
24493 * elf/dl-load.c: Include <stap-probe.h>.
24494 (lose): Take new parameter "nsid".
24495 Added static probe "map_failed".
24496 (_dl_map_object_from_fd): Pass namespace id to lose.
24497 Added static probe "map_start".
24498 (open_verify): Pass namespace id to lose.
24499 * elf/dl-open.c: Include <stap-probe.h>.
24500 (dl_open_worker) Added static probes "map_complete", "reloc_start"
24501 and "reloc_complete".
24502 * elf/dl-close.c: Include <stap-probe.h>.
24503 (_dl_close_worker): Added static probes "unmap_start" and
24504 "unmap_complete".
24505 * elf/rtld-debugger-interface.txt: New file documenting the above.
24506
9f98c16c
RM
245072012-07-26 Roland McGrath <roland@hack.frob.com>
24508
24509 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
24510 rather than a string variable.
24511 * sunrpc/rpc_main.c (h_output): Likewise.
24512 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
24513
f3c22df3
PT
245142012-07-26 Pino Toscano <toscano.pino@tiscali.it>
24515
24516 * inet/check_native.c: New file.
24517
3129cfc6
JM
245182012-07-26 Joseph Myers <joseph@codesourcery.com>
24519
da865e95
JM
24520 [BZ #13629]
24521 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
24522 if larger part has absolute value 1.0.
24523 * math/s_clog10.c (__clog10): Likewise.
24524 * math/s_clog10f.c (__clog10f): Likewise.
24525 * math/s_clog10l.c (__clog10l): Likewise.
24526 * math/s_clogf.c (__clogf): Likewise.
24527 * math/s_clogl.c (__clogl): Likewise.
24528 * math/libm-test.inc (clog_test): Add more tests.
24529 (clog10_test): Likewise.
24530 * sysdeps/i386/fpu/libm-test-ulps: Update.
24531 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24532
3129cfc6
JM
24533 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
24534 (pltexit): Likewise.
24535 (La_regs): Likewise.
24536 (La_retval): Likewise.
24537 (int_retval): Likewise.
24538 Update #error for removed macros to refer only to definitions in
24539 tst-audit.h.
24540 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
24541 macro.
24542 (pltexit): Likewise.
24543 (La_regs): Likewise.
24544 (La_retval): Likewise.
24545 (int_retval): Likewise.
24546 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
24547 macro.
24548 (pltexit): Likewise.
24549 (La_regs): Likewise.
24550 (La_retval): Likewise.
24551 (int_retval): Likewise.
24552 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
24553 macro.
24554 (pltexit): Likewise.
24555 (La_regs): Likewise.
24556 (La_retval): Likewise.
24557 (int_retval): Likewise.
24558 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
24559 macro.
24560 (pltexit): Likewise.
24561 (La_regs): Likewise.
24562 (La_retval): Likewise.
24563 (int_retval): Likewise.
24564 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
24565 macro.
24566 (pltexit): Likewise.
24567 (La_regs): Likewise.
24568 (La_retval): Likewise.
24569 (int_retval): Likewise.
24570 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
24571 macro.
24572 (pltexit): Likewise.
24573 (La_regs): Likewise.
24574 (La_retval): Likewise.
24575 (int_retval): Likewise.
24576 * sysdeps/generic/tst-audit.h: Update comment to refer only to
24577 macro definitions in tst-audit.h.
24578 * sysdeps/i386/tst-audit.h: New file.
24579 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
24580 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
24581 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
24582 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
24583 * sysdeps/sh/tst-audit.h: Likewise.
24584 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
24585 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
24586 * sysdeps/x86_64/tst-audit.h: Likewise.
24587
bfc07087
AJ
245882012-07-26 Andreas Jaeger <aj@suse.de>
24589
b1b2aaf8
AJ
24590 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
24591 ptrace.
24592
24593 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
24594 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
24595 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
24596 PTRACE_O_MASK.
24597 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
24598 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
24599 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
24600
bfc07087
AJ
24601 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
24602 value.
24603
24604 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
24605 _sigsys.
24606 (si_call_addr, si_syscall, si_arch): Define new macro.
24607 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
24608 _sigsys.
24609 (si_call_addr, si_syscall, si_arch): Define new marcro.
24610 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
24611 _sigsys.
24612 (si_call_addr, si_syscall, si_arch): Define new macro.
24613 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
24614 _sigsys.
24615 (si_call_addr, si_syscall, si_arch): Define new macro.
24616
89b4b02f
JM
246172012-07-25 Joseph Myers <joseph@codesourcery.com>
24618
24619 [BZ #13717]
24620 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
24621 Change to 2.4.21 where previously 2.4.1.
24622 * sysdeps/unix/sysv/linux/configure: Regenerated.
24623 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
24624 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
24625 Linux kernel version.
24626 (__ASSUME_STD_AUXV): Remove.
24627 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
24628 kernel version.
24629 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
24630 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
24631 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
24632 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
24633 (__ASSUME_NETLINK_SUPPORT): Likewise.
24634 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
24635 (__no_netlink_support): Remove conditional definition.
24636 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
24637 Remove.
24638 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
24639 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
24640 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
24641 (if_nameindex_ioctl): Remove.
24642 (if_nameindex_netlink): Do not handle __no_netlink_support.
24643 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
24644 code.
24645 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
24646 Remove conditional code.
24647 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
24648 code.
24649 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
24650 unconditional.
24651 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
24652 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
24653 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
24654 Remove.
24655 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
24656 [!__ASSUME_STD_AUXV]: Remove conditional code.
24657 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
24658 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
24659 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
24660 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
24661 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
24662 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
24663 code.
24664 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
24665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
24666 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
24667 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
24668 conditional code.
24669 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
24670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
24671 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
24672 code.
24673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
24674 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
24675 conditional code.
24676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
24677 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
24678 code unconditional.
24679 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
24680 conditional code.
24681 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
24682 unconditional.
24683 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
24684 conditional code.
24685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
24686 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
24687 unconditional.
24688 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
24689 conditional code.
24690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
24691 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
24692 code unconditional.
24693 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
24694 conditional code.
24695 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
24696 unconditional.
24697 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
24698 conditional code.
24699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
24700 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
24701 code unconditional.
24702 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
24703 conditional code.
24704 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
24705 unconditional.
24706 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
24707 conditional code.
24708
842a39cd
AS
247092012-07-25 Andreas Schwab <schwab@linux-m68k.org>
24710
24711 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
24712 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
24713 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
24714 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
24715 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
24716 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
24717 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
24718 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
24719 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
24720 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
24721 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
24722 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
24723 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
24724 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
24725 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
24726 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
24727 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
24728 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
24729 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
24730 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
24731 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
24732 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
24733 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
24734
84b3fd84
FW
247352012-07-25 Florian Weimer <fweimer@redhat.com>
24736
24737 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
24738 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
24739 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
24740 Introduce __libc_secure_getenv.
0c7936d5
FW
24741 * stdlib/Versions (2.17): Add secure_getenv
24742 (GLIBC_PRIVATE): Add __libc_secure_getenv.
24743 * stdlib/secure-getenv.c: Rename __secure_getenv to
24744 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
24745 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
24746 * stdlib/tst-secure-getenv.c: New.
24747 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
24748 * manual/startup.texi (Environment Access): Document
24749 secure_getenv.
84b3fd84
FW
24750 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
24751 __libc_secure_getenv.
24752 * inet/ruserpass.c (ruserpass): Likewise.
24753 * malloc/mtrace.c (mtrace): Likewise.
24754 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 24755 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
24756 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
24757 * sysdeps/posix/tempname.c: Likewise. Evaluate
24758 HAVE_SECURE_GETENV.
24759 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 24760 __secure_getenv to __libc_secure_getenv.
84b3fd84 24761 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
24762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24763 Likewise.
24764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24765 Likewise.
24766 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
24767 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
24768 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
24769 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
24770 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
24771 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
24772 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 24773
56e49b71
JM
247742012-07-25 Joseph Myers <joseph@codesourcery.com>
24775
24776 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
24777 (struct La_i86_retval): Likewise.
24778 (struct La_x86_64_regs): Likewise.
24779 (struct La_x86_64_retval): Likewise.
24780 (struct La_x32_regs): Likewise.
24781 (struct La_x32_retval): Likewise.
24782 (struct La_ppc32_regs): Likewise.
24783 (struct La_ppc32_retval): Likewise.
24784 (struct La_ppc64_regs): Likewise.
24785 (struct La_ppc64_retval): Likewise.
24786 (struct La_sh_regs): Likewise.
24787 (struct La_sh_retval): Likewise.
24788 (struct La_s390_32_regs): Likewise.
24789 (struct La_s390_32_retval): Likewise.
24790 (struct La_s390_64_regs): Likewise.
24791 (struct La_s390_64_retval): Likewise.
24792 (struct La_sparc32_regs): Likewise.
24793 (struct La_sparc32_retval): Likewise.
24794 (struct La_sparc64_regs): Likewise.
24795 (struct La_sparc64_retval): Likewise.
24796 (struct audit_ifaces): Remove architecture-specific pltenter and
24797 pltexit members.
24798 * sysdeps/i386/ldsodefs.h: New file.
24799 * sysdeps/powerpc/ldsodefs.h: Likewise.
24800 * sysdeps/s390/ldsodefs.h: Likewise.
24801 * sysdeps/sh/ldsodefs.h: Likewise.
24802 * sysdeps/sparc/ldsodefs.h: Likewise.
24803 * sysdeps/x86_64/ldsodefs.h: Likewise.
24804
354691b7
MP
248052012-07-25 Marek Polacek <polacek@redhat.com>
24806
24807 [BZ #6808]
24808 * math/libm-test.inc (yn_test): Add another test.
24809 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
24810 to ERANGE when the result is +-Inf.
24811 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
24812 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
24813 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
24814 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
24815
bf9e2071
JM
248162012-07-24 Joseph Myers <joseph@codesourcery.com>
24817
24818 * conform/data/time.h-data (NULL): Use macro-constant. Require
24819 equal to 0.
24820 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
24821 clock_t.
24822 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
24823
57633811
TS
248242012-07-23 Thomas Schwinge <thomas@codesourcery.com>
24825
24826 * configure.in <sysdeps resolving>: Correct printing
24827 Implies_before.
24828 * configure: Regenerate.
24829
c23c33b0
TS
248302012-07-22 Thomas Schwinge <thomas@codesourcery.com>
24831
24832 * math/w_ilogb.c: Include <limits.h>.
24833 * math/w_ilogbl.c: Likewise.
24834
b5982523
JM
248352012-07-20 Joseph Myers <joseph@codesourcery.com>
24836
24837 * manual/lang.texi (__va_copy): Document primarily as ISO C99
24838 va_copy. Document allowing for unavailable va_copy only as
24839 pre-C99 compatibility.
24840 * manual/string.texi (Copying and Concatenation): Use va_copy
24841 instead of __va_copy in concat example.
24842
ac4ea442
PT
248432012-07-20 Pino Toscano <toscano.pino@tiscali.it>
24844
24845 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
24846 (__sendto): Use create_address_port. Initialize APORT and deallocate
24847 it if not null.
24848
f98eafbd
PT
24849 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
24850 with O_NOLINK passed to __file_name_lookup.
24851
898c7aab
PT
24852 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
24853 with O_NOLINK passed to __file_name_lookup.
24854
0ced335a
PT
24855 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
24856 negative N or less than NGIDS.
24857
b3404dbd
PT
24858 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
24859 type to string_t. Set ERANGE as errno and return it if NAME is not big
24860 enough. Use memcpy instead of strncpy.
24861
0f48659e
JM
248622012-07-20 Joseph Myers <joseph@codesourcery.com>
24863
24864 * elf/Makefile (check-data): Remove.
24865 (localplt.data): New vpath directive.
24866 ($(objpfx)check-localplt.out): Use localplt.data from vpath
24867 instead of $(check-data).
24868 * scripts/data/localplt-generic.data: Move to ...
24869 * sysdeps/generic/localplt.data: ... here.
24870 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
24871 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
24872 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
24873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
24874 ... here.
24875 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
24876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
24877 ... here.
24878 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
24879 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
24880 ... here.
24881 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
24882 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
24883 ... here.
24884 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
24885 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
24886 ... here.
24887 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
24888 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
24889 ... here.
24890
d37cbdaa
AZ
248912012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24892
24893 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
24894 PPC32 and PPC64 files.
24895 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
24896 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
24897
46f85fc2
AK
248982012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24899
24900 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
24901 __makecontext_ret to ...
24902 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
24903 ... here and call exit if uc_link is NULL. New file.
24904 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
24905 __makecontext_ret.S.
24906 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
24907 __makecontext_ret to ...
24908 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
24909 ... here and call exit if uc_link is NULL. New file.
24910 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
24911 __makecontext_ret.S.
24912
08f43f9b
AK
249132012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24914
24915 * elf/elf.h (R_390_IRELATIVE): New definition.
24916 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
24917 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
24918 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
24919 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
24920 (elf_machine_lazy_rel): Likewise.
24921 * sysdeps/s390/dl-irel.h: New file.
24922 * sysdeps/s390/s390-64/memcpy.S: New asm code.
24923 * sysdeps/s390/s390-64/memset.S: New asm code.
24924 * sysdeps/s390/s390-64/memcmp.S: New asm code.
24925 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
24926 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
24927 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
24928 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
24929 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
24930 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
24931 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
24932 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
24933 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
24934 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
24935 * sysdeps/s390/s390-32/memcpy.S: New asm code.
24936 * sysdeps/s390/s390-32/memset.S: New asm code.
24937 * sysdeps/s390/s390-32/memcmp.S: New asm code.
24938
3b05db33
MP
249392012-07-17 Marek Polacek <polacek@redhat.com>
24940
24941 [BZ #14349]
24942 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
24943 * sysdeps/s390/s390-64/configure.in: Likewise.
24944 * sysdeps/sparc/configure.in: Likewise.
24945 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
24946 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
24947 * sysdeps/i386/configure.in: Likewise.
24948 * sysdeps/x86_64/configure.in: Likewise.
24949 * sysdeps/sh/configure.in: Likewise.
24950 * sysdeps/s390/s390-32/configure: Regenerated.
24951 * sysdeps/s390/s390-64/configure: Likewise.
24952 * sysdeps/x86_64/configure: Likewise.
24953 * sysdeps/sh/configure: Likewise.
24954 * sysdeps/powerpc/powerpc64/configure: Likewise.
24955 * sysdeps/powerpc/powerpc32/configure: Likewise.
24956 * sysdeps/sparc/configure: Likwise.
24957 * sysdeps/i386/configure: Likewise.
24958
a66877c6
MP
24959 * elf/dl-open.c: Comment fixes.
24960
cfc82fd8
JM
249612012-07-17 Joseph Myers <joseph@codesourcery.com>
24962
bd29910a
JM
24963 * Makefile [CXX] (check-data): Remove.
24964 [CXX] (c++-types.data): New vpath directive.
24965 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
24966 vpath. Do not allow for C++ type data being missing.
24967 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
24968 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
24969 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
24970 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
24971 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
24972 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
24973 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
24974 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
24975 ... here.
24976 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
24977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
24978 ... here.
24979 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
24980 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
24981 ... here.
24982 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
24983 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
24984 ... here.
24985 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
24986 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
24987 ... here.
24988 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
24989 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
24990 ... here.
24991 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
24992 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
24993 ... here.
24994 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
24995 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
24996
cfc82fd8
JM
24997 * elf/tls-macros.h (TLS_LE): Move architecture-specific
24998 definitions to architecture-specific files.
24999 (TLS_IE): Likewise.
25000 (TLS_LD): Likewise.
25001 (TLS_GD): Likewise.
25002 * sysdeps/i386/tls-macros.h: New file.
25003 * sysdeps/powerpc/tls-macros.h: Likewise.
25004 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
25005 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
25006 * sysdeps/sh/tls-macros.h: Likewise.
25007 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
25008 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
25009 * sysdeps/x86_64/tls-macros.h: Likewise.
25010
f7db3170
TS
250112012-07-17 Thomas Schwinge <thomas@codesourcery.com>
25012
07cbfc23
TS
25013 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
25014 zero value for regular exit case.
25015
f7db3170
TS
25016 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
25017 (__start_context): Preserve zero value for regular exit case.
25018
dc97c227
TS
250192012-07-17 Thomas Schwinge <thomas@codesourcery.com>
25020 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25021
25022 * manual/setjmp.texi (setcontext): Clarify normal process
25023 termination when uc_link is the null pointer.
25024 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
25025 exit call.
25026
d0cd7d02
AS
250272012-07-16 Andreas Schwab <schwab@linux-m68k.org>
25028
25029 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
25030 preprocessor. Test for each exception mask separately.
25031
dd318934
AJ
250322012-07-16 Andreas Jaeger <aj@suse.de>
25033
25034 * po/ru.po: Update from translation team.
25035
8048311a
JM
250362012-07-15 Joseph Myers <joseph@codesourcery.com>
25037
25038 * conform/data/string.h-data (NULL): Use macro-constant. Require
25039 equal to 0.
25040 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
25041 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
25042 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
25043 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
25044 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25045
b637d46e
AJ
250462012-07-13 Andreas Jaeger <aj@suse.de>
25047
25048 * po/fr.po: Update from translation team.
25049
541428fe
MP
250502012-07-12 Marek Polacek <polacek@redhat.com>
25051
25052 [BZ #14173]
25053 * math/libm-test.inc (yn_test): Add test for BZ #14173.
25054 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
25055 loop condition.
25056
ec332e94
JM
250572012-07-12 Joseph Myers <joseph@codesourcery.com>
25058
25059 [BZ #13717]
25060 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25061 Change to 2.4.1 where previously 2.4.0.
25062 * sysdeps/unix/sysv/linux/configure: Regenerated.
25063 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
25064 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
25065 version.
25066 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
25067 (__ASSUME_AT_CLKTCK): Remove.
25068 (__ASSUME_AT_PAGESIZE): Likewise.
25069 (__ASSUME_AT_XID): Likewise.
25070 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
25071 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
25072 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
25073 unconditionally.
25074 (HAVE_AUX_PAGESIZE): Likewise.
25075 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
25076 [__ASSUME_AT_CLKTCK]: Make code unconditional.
25077 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
25078
7b6e99be
JB
250792012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
25080
25081 [BZ #14307]
25082 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
25083 the temporary buffer used to invoke __gethostbyname2_r,
25084 __gethostbyaddr_r and gethostbyname4_r to make room for struct
25085 host_data / struct gaih_addrtuple.
25086 * resolv/nss_dns/dns-host.c (global scope): Move definition of
25087 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
25088 header file nss/nsswitch.h.
25089 * nss/nsswitch.h (global scope): Add definition of implementation
25090 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
25091 resolv/nss_dns/dns-host.c).
25092
608404eb
AJ
250932012-07-11 Andreas Jaeger <aj@suse.de>
25094
25095 * po/fr.po: Update from translation team.
25096
71220aca
AJ
25097 * po/sv.po: Update from translation team
25098 * po/fr.po: Another update from translation team.
25099
28cfe843
AZ
251002012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25101
25102 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
25103 for subnormals or multiply small sinh result by itself.
25104 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
25105 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25106
6b90f981
DM
251072012-07-11 David S. Miller <davem@davemloft.net>
25108
25109 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25110
c6825772
AS
251112012-07-10 Andreas Schwab <schwab@linux-m68k.org>
25112
25113 [BZ #14347]
25114 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
25115 (INTERNAL_MARK): Shift it here.
25116
7b8e0d49
MP
251172012-07-10 Marek Polacek <polacek@redhat.com>
25118
25119 [BZ #14151]
25120 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
25121 libc_cv_asm_global_directive with .globl.
25122 * configure: Regenerated.
25123 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
25124 with .globl.
25125 * sysdeps/i386/configure: Regenerated.
25126 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
25127 with .globl.
25128 * sysdeps/x86_64/configure: Regenerated.
25129 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
25130 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
25131 * elf/tst-unique2mod2.c: Likewise.
25132 * elf/tst-unique2mod1.c: Likewise.
25133 * elf/tst-unique1mod2.c: Likewise.
25134 * elf/tst-unique1mod1.c: Likewise.
25135 * sysdeps/s390/s390-32/sysdep.h: Likewise.
25136 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
25137 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25138 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
25139 * sysdeps/mach/sysdep.h: Likewise.
25140 * sysdeps/i386/sysdep.h: Likewise.
25141 * sysdeps/i386/i386-mcount.S: Likewise.
25142 * sysdeps/x86_64/_mcount.S: Likewise.
25143 * sysdeps/x86_64/sysdep.h: Likewise.
25144 * sysdeps/sh/_mcount.S: Likewise.
25145 * sysdeps/sh/sysdep.h: Likewise.
25146 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
25147 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
25148 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
25149 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
25150 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
25151 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
25152 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
25153 * locale/localeinfo.h: Likewise.
25154 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
25155 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
25156
6c55cda3
RM
251572012-07-09 Roland McGrath <roland@hack.frob.com>
25158
25159 [BZ #14336]
25160 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
25161 system".
25162 * manual/message.texi (The Uniforum approach): Likewise.
25163 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
25164 (glibc iconv Implementation): Likewise.
25165
638a572e
JM
251662012-07-09 Joseph Myers <joseph@codesourcery.com>
25167
25168 [BZ #14337]
25169 * math/s_clog.c (__clog): Avoid scaling a value down where that
25170 could result in underflow.
25171 * math/s_clog10.c (__clog10): Likewise.
25172 * math/s_clog10f.c (__clog10f): Likewise.
25173 * math/s_clog10l.c (__clog10l): Likewise.
25174 * math/s_clogf.c (__clogf): Likewise.
25175 * math/s_clogl.c (__clogl): Likewise.
25176 * math/libm-test.inc (clog_test): Add more tests.
25177 (clog10_test): Likewise.
25178 * sysdeps/i386/fpu/libm-test-ulps: Update.
25179 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25180
261f4859
AS
251812012-07-06 Andreas Schwab <schwab@linux-m68k.org>
25182
0abaf3e4
AS
25183 [BZ #14283]
25184 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
25185 by 7 not 8 to examine high bit of fractional part.
25186
261f4859
AS
25187 [BZ #14042]
25188 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
25189 for call to __mcount_internal.
25190 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
25191 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
25192 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
25193
f17ac40d
JM
251942012-07-06 Joseph Myers <joseph@codesourcery.com>
25195
9ad63c23
JM
25196 [BZ #14154]
25197 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
25198 approximation for values within 0x1p-13f of an odd multiple of
25199 pi/4.
25200 * math/libm-test.inc (tan_test): Do not allow spurious underflow
25201 exception. Add more tests.
25202 * sysdeps/i386/fpu/libm-test-ulps: Update.
25203
f17ac40d
JM
25204 [BZ #6778]
25205 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
25206 inputs and return -1 for them. Do not check for +Inf in case not
25207 reachable for +Inf.
25208 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
25209 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
25210 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
25211 and return -1 for them. Do not check for +Inf in case not
25212 reachable for +Inf.
25213 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
25214 define.
25215 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
25216 and return -1 for them. Do not check for +Inf in case not
25217 reachable for +Inf.
25218 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
25219 spurious underflow.
25220 * sysdeps/i386/fpu/libm-test-ulps: Update.
25221 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25222
fb21f89b
MF
252232012-07-06 Mike Frysinger <vapier@gentoo.org>
25224
25225 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
25226
cdfe2c5e
JM
252272012-07-05 Joseph Myers <joseph@codesourcery.com>
25228
25229 [BZ #14157]
25230 [BZ #14331]
25231 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
25232 could result in spurious underflow. Scale down values above
25233 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
25234 * math/s_csqrtf.c (__csqrtf): Likewise.
25235 * math/s_csqrtl.c (__csqrtl): Likewise.
25236 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
25237 spurious underflow.
25238 * sysdeps/i386/fpu/libm-test-ulps: Update.
25239 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25240
70d35b67
AS
252412012-07-04 Andreas Schwab <schwab@linux-m68k.org>
25242
704bc459
AS
25243 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
25244 xopen-msg.sed.
25245 * catgets/xopen-msg.awk: New file.
25246 * catgets/xopen-msg.sed: Removed.
25247
70d35b67
AS
25248 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
25249 po2text.sed.
25250 * intl/po2test.awk: New file.
25251 * intl/po2test.sed: Removed.
25252
ca61cf32
JM
252532012-07-04 Joseph Myers <joseph@codesourcery.com>
25254
25255 [BZ #14328]
25256 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
25257 or multiply small sinh result by itself.
25258 * math/s_ctanf.c (__ctanf): Likewise.
25259 * math/s_ctanh.c (__ctanh): Likewise.
25260 * math/s_ctanhf.c (__ctanhf): Likewise.
25261 * math/s_ctanhl.c (__ctanhl): Likewise.
25262 * math/s_ctanl.c (__ctanl): Likewise.
25263 * math/libm-test.inc (ctan_test_tonearest): New function.
25264 (ctan_test_towardzero): Likewise.
25265 (ctan_test_downward): Likewise.
25266 (ctan_test_upward): Likewise.
25267 (ctanh_test_tonearest): Likewise.
25268 (ctanh_test_towardzero): Likewise.
25269 (ctanh_test_downward): Likewise.
25270 (ctanh_test_upward): Likewise.
25271 (main): Call these new functions.
25272 * sysdeps/i386/fpu/libm-test-ulps: Update.
25273 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25274
ca48a46a
MF
252752012-07-03 Mike Frysinger <vapier@gentoo.org>
25276
25277 * .gitignore: Delete /ports entry.
25278
9d63d37d
AJ
252792012-07-03 Andreas Jaeger <aj@suse.de>
25280
25281 * po/bg.po: Update from translation team.
25282 * po/cs.po: Likewise.
25283 * po/de.po: Likewise.
25284 * po/hr.po: Likewise.
25285 * po/nl.pl: Likewise.
25286 * po/pl.po: Likewise.
25287 * po/vi.po: Likewise.
25288
370ca3d2
JM
252892012-07-03 Joseph Myers <joseph@codesourcery.com>
25290
95f5a9a8
JM
25291 * Makeconfig [!+link] (+link-before-libc): New variable.
25292 [!+link] (+link-after-libc): Likewise.
25293 [!+link] (+link-tests): Likewise.
25294 [!+link] (+link): Define in terms of $(+link-before-libc) and
25295 $(+link-after-libc).
25296 [!+link-static] (+link-static-before-libc): New variable.
25297 [!+link-static] (+link-static-after-libc): Likewise.
25298 [!+link-static] (+link-static-tests): Likewise.
25299 [!+link-static] (+link-static): Define in terms of
25300 $(+link-static-before-libc) and $(+link-static-after-libc).
25301 [build-shared] (link-libc-before-gnulib): New variable.
25302 [build-shared] (link-libc-tests): Likewise.
25303 [build-shared] (link-libc): Define in terms of
25304 $(link-libc-before-gnulib).
25305 [!build-shared] (link-libc-tests): New variable.
25306 (link-libc-static-tests): New variable.
25307 [!gnulib] (gnulib-arch): New variable.
25308 [!gnulib] (gnulib-tests): Likewise.
25309 [!gnulib] (static-gnulib-arch): Likewise.
25310 [!gnulib] (static-gnulib-tests): Likewise.
25311 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
25312 Define with "=" instead of ":=".
25313 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
25314 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
25315 * Rules (binaries-all-notests): New variable.
25316 (binaries-all-tests): Likewise.
25317 (binaries-static-notests): Likewise.
25318 (binaries-static-tests): Likewise.
25319 (binaries-all): Define using $(binaries-all-notests) and
25320 $(binaries-all-tests).
25321 (binaries-static): Define using $(binaries-static-notests) and
25322 $(binaries-static-tests).
25323 (binaries-shared-tests): New variable.
25324 (binaries-shared-notests): Likewise.
25325 (binaries-shared): Remove variable.
25326 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
25327 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
25328 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
25329 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
25330 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
25331 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
25332 * elf/Makefile (sln-modules): New variable.
25333 (extra-objs): Add $(sln-modules:=.o).
25334 (ldconfig-modules): Add static-stubs.
25335 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
25336 * elf/static-stubs.c: New file.
25337
7a845b2c
JM
25338 [BZ #14283]
25339 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
25340 by 7 not 8 to examine high bit of fractional part. Use volatile
25341 variables when splitting into final array of floats if
25342 __FLT_EVAL_METHOD__ != 0.
25343 * math/libm-test.inc (cos_test): Add another test.
25344 (sin_test): Likewise.
25345 * sysdeps/i386/fpu/libm-test-ulps: Update.
25346
e2283f38
JM
25347 [BZ #14273]
25348 * math/libm-test.inc (cosh_test): Add more tests.
25349
370ca3d2
JM
25350 * version.h (RELEASE): Set to "development".
25351 (VERSION): Set to "2.16.90".
25352
ee9247c3
CD
253532012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
25354
25355 * NEWS: Update copyright. Remove last-updated date.
25356 Mention math library bug fixes and timezone data changes.
25357 * README: Mention GNU/Hurd, x32, and HPPA support status.
25358
4648c381
TS
253592012-06-28 Thomas Schwinge <thomas@codesourcery.com>
25360
25361 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
25362
aac78a43
AJ
253632012-06-27 Andreas Jaeger <aj@suse.de>
25364
25365 * manual/contrib.texi (Contributors): Add Samuel Thibault.
25366
ed3dbfad
AJ
253672012-06-25 Andreas Jaeger <aj@suse.de>
25368
25369 * sysdeps/s390/fpu/libm-test-ulps: Update.
25370
4d0ee855
AS
253712012-06-23 Andreas Schwab <schwab@linux-m68k.org>
25372 Thomas Schwinge <thomas@codesourcery.com>
25373
25374 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
25375 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
25376 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
25377 fanotify_mark.
25378
af1bce34
TS
253792012-06-23 Thomas Schwinge <thomas@codesourcery.com>
25380
a9fa33ba
TS
25381 * sysdeps/mach/start.c: Remove file.
25382 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
25383 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
25384 * sysdeps/sh/init-first.c: Likewise.
25385
58f902b8
TS
25386 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
25387 registers for frame unwinding purposes, add CFI directives.
25388 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
25389 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
25390 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
25391 Likewise.
25392
1518f58b
TS
25393 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
25394 __fortify_fail returning.
25395 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
25396
db9b5059
TS
25397 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
25398 sysdeps/sh/____longjmp_chk.S.
25399 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
25400 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
25401 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
25402 (gen-as-const-headers): Append sigaltstack-offsets.sym.
25403
967705fe
TS
25404 * sysdeps/sh/abort-instr.h: New file.
25405 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
25406 process in case exit returns.
25407
a9def8c4
TS
25408 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
25409 initialize the GOT register before use.
25410
2a649725
TS
25411 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
25412 calculation of ARGC > 4.
25413
af1bce34
TS
25414 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
25415 meaningful names to some local labels.
25416
d230f50a
KK
254172012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
25418 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25419
25420 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
25421 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
25422 (__arch_compare_and_exchange_val_16_acq): Likewise.
25423 (__arch_compare_and_exchange_val_32_acq): Likewise.
25424 (atomic_exchange_and_add): Fix gUSA sequence.
25425 (atomic_add): Likewise.
25426 (atomic_add_negative): Likewise.
25427 (atomic_add_zero): Likewise.
25428 (atomic_bit_test_set): Likewise.
25429
0479b305
AS
254302012-06-22 Andreas Schwab <schwab@redhat.com>
25431
25432 [BZ #13579]
25433 * include/link.h (struct link_map): Add l_free_initfini.
25434 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
25435 l_initfini.
25436 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
25437 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
25438 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
25439 set.
25440
0e3933b9
CD
254412012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
25442
25443 * configure.in: Use AC_LANG_SOURCE.
25444 * configure: Regenerate.
25445
4248b1b1
RM
254462012-06-22 Roland McGrath <roland@hack.frob.com>
25447
25448 * configure.in (libc_cv_localstatedir): New substituted variable.
25449 * configure: Regenerated.
25450 * config.make.in (localstatedir): New variable, substituted from
25451 libc_cv_localstatedir.
25452 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
25453 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
25454 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
25455 * sysdeps/gnu/configure: Regenerated.
25456
006dd861
JL
254572012-06-21 Jeff Law <law@redhat.com>
25458
25459 [BZ #14277]
25460 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
25461 free. Simplify list management for _LIBC case.
25462
79662d42
JM
254632012-06-21 Joseph Myers <joseph@codesourcery.com>
25464
b7abb4bf
JM
25465 [BZ #14273]
25466 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
25467 Clear sign bit of 64-bit integer value before comparing against
25468 overflow value.
25469
79662d42
JM
25470 * sysdeps/mach/configure: Regenerated.
25471
1f150908
L
254722012-06-21 H.J. Lu <hongjiu.lu@intel.com>
25473
25474 [BZ #14278]
25475 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
25476
28363bbf
JL
254772012-06-21 Jeff Law <law@redhat.com>
25478
25479 [BZ #13882]
25480 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
25481 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 25482 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
25483 * elf/dl-open.c (dl_open_worker): Likewise.
25484
09615db4
CD
254852012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
25486
25487 * scripts/list-sources.sh: Scan PORTS for translations.
25488 * po/libc.pot: Regenerated.
25489
2174c6dd
AJ
254902012-06-21 Andreas Jaeger <aj@suse.de>
25491
25492 [BZ #12194]
25493 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
25494 warning.
25495 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
25496 * bits/byteswap-16.h (__bswap_16): Likewise.
25497 * bits/byteswap.h (__bswap_constant_16): Likewise.
25498
3ee947b1
L
254992012-06-18 H.J. Lu <hongjiu.lu@intel.com>
25500
25501 [BZ #14117]
a2f34833
L
25502 * sysdeps/i386/fpu_control.h: Removed.
25503 * sysdeps/x86_64/fpu_control.h: Moved to ...
25504 * sysdeps/x86/fpu_control.h: Here.
25505
3ee947b1
L
25506 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
25507 (_FPU_SETCW): Likewise.
25508
ed1825f8
L
255092012-06-15 H.J. Lu <hongjiu.lu@intel.com>
25510
25f1282a
L
25511 [BZ #14117]
25512 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
25513 * sysdeps/x86/fpu/bits/mathinline.h: This.
25514 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
25515
ed1825f8
L
25516 [BZ #14050]
25517 [BZ #14117]
25518 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
25519 functions if __x86_64__ is defined.
25520
36d54b74
CLT
255212012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
25522
25523 * string/endian.h: Add !__ASSEMBLER__ condition for including
25524 conversion interfaces.
25525
10285c21
JM
255262012-06-15 Joseph Myers <joseph@codesourcery.com>
25527
25528 [BZ #14241]
25529 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
25530 of ABS(x) in calculating zero to negative powers other than odd
25531 integers.
25532 * math/libm-test.inc (pow_test): Add more tests.
25533
06c5abbd
AJ
255342012-06-15 Andreas Jaeger <aj@suse.de>
25535
25536 * manual/contrib.texi (Contributors): Update entry of Liubov
25537 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
25538 Machado Filho.
25539
a3aeac40
CH
255402012-06-15 Cyril Hrubis <metan@ucw.cz>
25541
25542 * string/string.h: Add __wur to GNU version of strerror_r.
25543
49bdf4c1
L
255442012-06-14 H.J. Lu <hongjiu.lu@intel.com>
25545
25546 [BZ #14229]
25547 * string/Makefile (tests): Add tst-strtok_r.
25548 * string/tst-strtok_r.c: New file.
25549 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
25550 RAX_LP/RDX_LP on SAVE_PTR.
25551
834f9b8d
RM
255522012-06-14 Roland McGrath <roland@hack.frob.com>
25553
25554 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
25555
75fa1921
JM
255562012-06-14 Joseph Myers <joseph@codesourcery.com>
25557
25558 * libm_test.inc (csqrt_test): Allow more spurious underflow
25559 exceptions.
25560 (j0_test): Likewise.
25561 (j1_test): Likewise.
25562 (y0_test): Likewise.
25563 (y1_test): Likewise.
25564
771766df
CD
255652012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
25566
25567 * po/Makefile (libc.pot): Use UTF-8 charset.
25568
ceb9e56b
PP
255692012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
25570
25571 [BZ #14210]
25572 Suppress sign-conversion warning from FD_SET.
25573 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
25574 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
25575 not unsigned long int.
25576 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
25577
ddb28975
L
255782012-06-12 H.J. Lu <hongjiu.lu@intel.com>
25579
25580 [BZ #14050]
25581 [BZ #14117]
25582 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
25583 __extern_always_inline instead of __extern_inline.
25584 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
25585 (__signbit): Likewise.
25586 (__signbitl): Support C++ namespace.
25587 (lrintf): New inline function.
25588 (lrint): Likewise.
25589 (llrintf): Likewise.
25590 (llrint): Likewise.
25591 (fmaxf): Likewise.
25592 (fmax): Likewise.
25593 (fminf): Likewise.
25594 (fmin): Likewise.
25595 (rint): Likewise.
25596 (rintf): Likewise.
25597 (ceil): Likewise.
25598 (ceilf): Likewise.
25599 (floor): Likewise.
25600 (floorf): Likewise.
25601 (nearbyint): Likewise.
25602 (nearbyintf): Likewise.
25603
d7b4fb26
TS
256042012-06-12 Thomas Schwinge <thomas@codesourcery.com>
25605
25606 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
25607 non-default versions.
25608
eb55f5c2
RM
256092012-06-11 Roland McGrath <roland@hack.frob.com>
25610
25611 [BZ #14218]
25612 * manual/argp.texi (Argp): Reword argp_parse description slightly.
25613
366af02c
TS
256142012-06-09 Thomas Schwinge <thomas@codesourcery.com>
25615
99ff6e5c
TS
25616 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
25617 (FE_UPWARD, FE_DOWNWARD): Don't define.
25618 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
25619 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
25620
366af02c
TS
25621 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
25622 reading it.
25623 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
25624 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
25625
793ea851
KK
256262012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25627
25628 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
25629 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
25630 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
25631 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
25632
a728a38f
L
256332012-06-06 H.J. Lu <hongjiu.lu@intel.com>
25634
25635 [BZ #14117]
c08010c7
L
25636 * sysdeps/i386/fpu/bits/fenv.h: Removed.
25637 * sysdeps/i386/fpu/Implies: New file.
25638 * sysdeps/x86_64/fpu/Implies: Likewise.
25639 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
25640 * sysdeps/x86/fpu/bits/fenv.h: This.
25641
a728a38f
L
25642 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
25643 __SSE_MATH__.
25644
6e230d11
SP
256452012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
25646
25647 [BZ #14134]
25648 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
25649 character 0xffff that matches the last element of the
25650 conversion table.
25651
1b671feb
AZ
256522012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25653
25654 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
25655 fmodl commit.
25656
6043738b
AZ
256572012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25658
25659 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
25660 values higher than 25.6283.
25661
34ae0b32
AZ
256622012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25663
25664 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
25665 subnormal exponent extraction and add some __builtin_expect.
25666 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
25667 Fix for subnormal mantissa calculation.
25668
1214ec8f
MF
256692012-06-04 Mike Frysinger <vapier@gentoo.org>
25670
25671 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
25672 cpu2 is -1 and errno is not ENOSYS.
25673
f3d1f93c
L
256742012-06-04 H.J. Lu <hongjiu.lu@intel.com>
25675
25676 [BZ #14117]
0e4a3cd7
L
25677 * sysdeps/i386/i486/bits/string.h: Renamed to ...
25678 * sysdeps/x86/bits/string.h: This.
25679 * sysdeps/x86_64/bits/string.h: Removed.
25680
6704c645
L
25681 * sysdeps/i386/i486/bits/string.h: Define inline functions only
25682 if not compiling for x86-64, but compiling for >= i486.
25683
48495318
L
25684 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
25685 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
25686
14adcbfc
L
25687 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
25688 New macro from Linux kernel 3.4.0.
25689 (FP_XSTATE_MAGIC2): Likewise.
25690 (FP_XSTATE_MAGIC2_SIZE): Likewise.
25691 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
25692 (struct _fpx_sw_bytes): New struct.
25693 (struct _xsave_hdr): Likewise.
25694 (struct _ymmh_state): Likewise.
25695 (struct _xstate): Likewise.
25696
68e408ab
L
25697 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
25698 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
25699 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
25700 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
25701 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
25702 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
25703
f3d1f93c
L
25704 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
25705 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
25706 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
25707 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
25708 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
25709 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
25710
d9dc34cd
TMQMF
257112012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25712
25713 [BZ #13743]
25714 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
25715 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
25716 (sysdep_headers): Include sys/platform/ppc.h.
25717 * sysdeps/powerpc/test-gettimebase.c: Test for
25718 __ppc_get_timebase() to catch future ISA opcode/insn changes.
25719 * manual/Makefile (appendices): Include platform.texi.
25720 * manual/contrib.texi (Contributors): Update @node pointers.
25721 * manual/maint.texi (Maintenance): Likewise.
25722 (Platform): New node.
25723 * manual/platform.texi: New file. Document the new features.
25724
4af3879c
SP
257252012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
25726 Jakub Jelinek <jakub@redhat.com>
25727
25728 [BZ #14188]
25729 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
25730 where __builtin_expect is unavailable.
25731
2fd6ff13
DM
257322012-06-03 David S. Miller <davem@davemloft.net>
25733
25734 * stdlib/longlong.h: Updated from GCC.
25735
173f7220
AS
257362012-06-02 Andreas Schwab <schwab@linux-m68k.org>
25737
25738 [BZ #14042]
25739 * sysdeps/powerpc/powerpc32/mcount.c: New file.
25740 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
25741 __mcount_internal.
25742 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
25743 (GLIBC_2.16): Likewise.
25744
f34a1c6f
L
257452012-06-01 H.J. Lu <hongjiu.lu@intel.com>
25746
25747 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
25748
88a4576f
JM
257492012-06-01 Joseph Myers <joseph@codesourcery.com>
25750
ea32bcdd
JM
25751 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
25752 (default-abi): New variable.
25753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
25754 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
25755 variable.
25756 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
25757 Likewise.
25758 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
25759 Likewise.
25760 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
25761 Likewise.
25762
88a4576f
JM
25763 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
25764 definition. Document in comment.
25765
402fe938
DM
257662012-06-01 David S. Miller <davem@davemloft.net>
25767
25768 * stdlib/longlong.h: Updated from GCC.
25769
3553723f
L
257702012-06-01 H.J. Lu <hongjiu.lu@intel.com>
25771
25772 [BZ #14117]
3bd872c4
L
25773 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
25774 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
25775 sys/debugreg.h sys/io.h here.
25776 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
25777 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
25778 sys/io.h.
25779 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
25780 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
25781 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
25782 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
25783 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
25784 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
25785
3553723f
L
25786 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
25787 Define only if __x86_64__ is defined.
25788
4842e4fe
JM
257892012-06-01 Joseph Myers <joseph@codesourcery.com>
25790
c5bfe3d5
JM
25791 [BZ #14048]
25792 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
25793 Use int64_t for variable i.
25794 * math/libm-test.inc (fmod_test): Add more tests.
25795
4842e4fe
JM
25796 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
25797 z computation is not scheduled after fetestexcept.
25798 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
25799 Use math_force_eval instead of asm to ensure calculation scheduled
25800 before exception test.
25801 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
25802 Ensure a1 + u.d computation is not scheduled after fetestexcept.
25803
efb73488
AJ
258042012-06-01 Aurelien Jarno <aurelien@aurel32.net>
25805
25806 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
25807 computation is not scheduled after fetestexcept.
25808
29bcce7c
L
258092012-06-01 H.J. Lu <hongjiu.lu@intel.com>
25810
25811 [BZ #14117]
25812 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
25813 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
25814
73a68f94
AZ
258152012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25816
25817 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
25818 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
25819
67b6df78
L
258202012-05-31 H.J. Lu <hongjiu.lu@intel.com>
25821
edf2933a 25822 [BZ #14117]
ebc64a18
L
25823 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
25824 <bits/wordsize.h>.
25825 (__WCHAR_MIN): Support __WORDSIZE == 64.
25826 (__WCHAR_MAX): Likewise.
25827
edf2933a
L
25828 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
25829 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
25830
57c6cf40
L
25831 [BZ #14183]
25832 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
25833 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
25834
67b6df78 25835 [BZ #14117]
8eb6281e
L
25836 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
25837 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
25838
aac639f4
L
25839 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
25840 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
25841
67b6df78
L
25842 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
25843 Defined to 1 if __x86_64__ isn't defined.
25844 (_STAT_VER_LINUX_OLD): New.
25845 (st_atime): Remove duplicate.
25846 (st_mtime): Likewise.
25847 (st_ctime): Likewise.
25848
1c2cfe81
DM
258492012-05-31 David S. Miller <davem@davemloft.net>
25850
25851 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
25852 entries.
25853
5be8418c
AS
258542012-06-01 Andreas Schwab <schwab@linux-m68k.org>
25855
e7725326
AS
25856 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
25857 gen-libm-test.pl.
25858
5be8418c
AS
25859 [BZ #14132]
25860 * elf/dl-reloc.c: Include <_itoa.h>.
25861 (_dl_reloc_bad_type): Remove use of INTUSE.
25862 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
25863 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
25864 * stdio-common/psiginfo.c (psiginfo): Likewise.
25865 * stdio-common/psignal.c (psignal): Likewise.
25866 * string/strsignal.c (strsignal): Likewise.
25867 * include/signal.h (_sys_siglist): Declare hidden proto.
25868 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
25869 INTVARDEF with libc_hidden_data_def.
25870 * stdio-common/itoa-udigits.c: Likewise.
25871 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
25872 (_itoa_lower_digits_internal): Remove declaration.
25873 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
25874 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
25875 (_sys_sigabbrev_internal): Remove aliases.
25876 (_sys_siglist): Define hidden alias.
25877
507352f1
MT
258782012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
25879
25880 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25881 bits/sysctl.h.
25882
42bbb1c3
L
258832012-05-31 H.J. Lu <hongjiu.lu@intel.com>
25884
25885 [BZ #14117]
6bd784b6
L
25886 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
25887 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
25888
8bca20f0
L
25889 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
25890 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
25891 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
25892 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
25893 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
25894 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
25895
f9e890a9
L
25896 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
25897 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
25898 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
25899
471101a1
L
25900 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
25901 with __addr.
25902 (insw): Likewise.
25903 (insl): Likewise.
25904 (outsb): Likewise.
25905 (outsw): Likewise.
25906 (outsl): Likewise.
25907
6451c862
L
25908 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
25909 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
25910 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
25911
a254b8c9
L
25912 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
25913 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
25914 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
25915 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
25916 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
25917 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
25918
b8dfdd92
L
25919 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
25920 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
25921
578cd270
L
25922 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
25923 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
25924
de662f5f
L
25925 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
25926 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
25927 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
25928
25653439
L
25929 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
25930 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
25931 to ...
25932 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
25933
6bad24a0
L
25934 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
25935 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
25936 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
25937
42bbb1c3
L
25938 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
25939 for x86-64.
25940 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
25941
2d10d547
JM
259422012-05-31 Joseph Myers <joseph@codesourcery.com>
25943
25944 * math/math.h (M_El): Use two more decimal places.
25945 (M_LOG2El): Likewise.
25946 (M_LOG10El): Likewise.
25947 (M_LN2l): Likewise.
25948 (M_LN10l): Likewise.
25949 (M_PIl): Likewise.
25950 (M_PI_2l): Likewise.
25951 (M_PI_4l): Likewise.
25952 (M_1_PIl): Likewise.
25953 (M_2_PIl): Likewise.
25954 (M_2_SQRTPIl): Likewise.
25955 (M_SQRT2l): Likewise.
25956 (M_SQRT1_2l): Likewise.
25957
f230c29b
DM
259582012-05-31 David S. Miller <davem@davemloft.net>
25959
25960 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
25961 values between float registers.
25962 * sysdeps/sparc/sparc64/memset.S: Likewise.
25963 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
25964
fed806c3
MF
259652012-05-31 Mike Frysinger <vapier@gentoo.org>
25966
25967 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
25968 -D_FORTIFY_SOURCE=1.
25969 (CPPFLAGS-tst-longjmp_chk.c): Define.
25970 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
25971 (CPPFLAGS-tst-longjmp_chk2.c): Define.
25972 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
25973 CFLAGS-tst-wchar-h.c.
25974
30917259
MP
259752012-05-31 Marek Polacek <polacek@redhat.com>
25976
25977 [BZ #14132]
25978 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
25979 __endmntent_internal): Remove declaration.
25980 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
25981 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
25982 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
25983
1c58d5dc
DM
259842012-05-30 David S. Miller <davem@davemloft.net>
25985
25986 * sysdeps/sparc/sparc32/soft-fp/q_util.c
25987 (___Q_simulate_exceptions): Use real FP ops rather than writing
25988 into the %fsr.
25989 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
25990 Likewise.
25991
7dc00e0d
L
259922012-05-30 H.J. Lu <hongjiu.lu@intel.com>
25993
25994 [BZ #14117]
0bd53985
L
25995 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
25996 * sysdeps/x86/bits/xtitypes.h: This.
25997
3a257e66
L
25998 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
25999 * sysdeps/x86/bits/wordsize.h: This.
26000
62f62904
L
26001 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
26002 * sysdeps/x86/bits/huge_vall.h: This.
26003
404fe9d9
L
26004 * sysdeps/i386/bits/select.h: Removed.
26005 * sysdeps/x86_64/bits/select.h: Renamed to ...
26006 * sysdeps/x86/bits/select.h: This.
26007
d48d0446
L
26008 * sysdeps/i386/bits/setjmp.h: Removed.
26009 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
26010 * sysdeps/x86/bits/setjmp.h: This.
26011
7dc00e0d
L
26012 * sysdeps/i386/bits/mathdef.h: Removed.
26013 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
26014 * sysdeps/x86/bits/mathdef.h: This.
26015
03277f8f
AS
260162012-05-30 Andreas Schwab <schwab@linux-m68k.org>
26017
26018 [BZ #14132]
26019 * include/sys/socket.h (__connect_internal)
26020 (__libc_sa_len_internal): Remove declaration.
26021 (__connect, __libc_sa_len): Declare hidden_proto.
26022 (SA_LEN): Remove use of INTUSE.
26023 * socket/connect.c: Add libc_hidden_def.
26024 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
26025 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
26026 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
26027 alias.
26028 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
26029 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
26030 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
26031 of adding _internal alias.
26032
13764867
L
260332012-05-30 H.J. Lu <hongjiu.lu@intel.com>
26034
26035 [BZ #14117]
6bd97696
L
26036 * sysdeps/i386/bits/link.h: Removed.
26037 * sysdeps/i386/bits/linkmap.h: Likewise.
26038 * sysdeps/x86_64/bits/link.h: Renamed to ...
26039 * sysdeps/x86/bits/link.h: This.
26040 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
26041 * sysdeps/x86/bits/linkmap.h: This.
26042
f726f0bb
L
26043 * sysdeps/i386/bits/endian.h: Removed.
26044 * sysdeps/x86_64/bits/endian.h: Renamed to ...
26045 * sysdeps/x86/bits/endian.h: This.
26046
13764867
L
26047 * sysdeps/i386/bits/byteswap.h: Removed.
26048 * sysdeps/i386/bits/byteswap-16.h: Likewise.
26049 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
26050 * sysdeps/x86/bits/byteswap.h: This.
26051 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
26052 * sysdeps/x86/bits/byteswap-16.h: This.
26053 * sysdeps/i386/Implies: Add x86.
26054 * sysdeps/x86_64/Implies: Likewise.
26055
ae251b0b
DM
260562012-05-30 David S. Miller <davem@davemloft.net>
26057
26058 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
26059 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
26060 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
26061 (FP_TRAPPING_EXCEPTIONS): Define.
26062 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
26063 (FP_TRAPPING_EXCEPTIONS): Define.
26064 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
26065 subnormals only when inexact has been signalled or underflow
26066 exceptions are enabled.
26067 (_FP_PACK_CANONICAL): Likewise.
26068
d5c90867
L
260692012-05-30 H.J. Lu <hongjiu.lu@intel.com>
26070
26071 [BZ #14183]
26072 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
26073 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
26074
63f1549e
RH
260752012-05-30 Richard Henderson <rth@twiddle.net>
26076
8d8f2279
RH
26077 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
26078 with #ifndef NOT_IN_libc.
26079
63f1549e
RH
26080 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
26081 marked to avoid plt entry.
26082
0ab0291b
L
260832012-05-30 H.J. Lu <hongjiu.lu@intel.com>
26084
26085 [BZ #14112]
26086 * Makeconfig (default-abi): New macro.
26087 (abi-includes): Likewise.
26088 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
26089 $(abi-$(default-abi)-lib-soname) for soname if defined.
26090 ($(common-objpfx)gnu/lib-names.stmp): Generate from
26091 abi-variants.
26092 * Makefile (installed-stubs): Likewise.
26093 * include/stubs-biarch.h: Removed.
26094 * scripts/lib-names.awk: Only handle one library at a time.
26095 * scripts/soversions.awk: Remove WORDSIZE support.
26096 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
26097 entries.
26098 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
26099 Removed.
26100 (syscall-list-default-condition): Likewise.
26101 (syscall-list-default-condition): Likewise.
26102 (syscall-list-includes): Likewise.
26103 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
26104 syscall-list-* with abi-*. Handle undefined abi-variants.
26105 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
26106 * sysdeps/unix/sysv/linux/i386/Implies: New file.
26107 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
26108 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
26109 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
26110 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
26111 Removed.
26112 (syscall-list-32-options): Likewise.
26113 (syscall-list-32-condition): Likewise.
26114 (syscall-list-64-options): Likewise.
26115 (syscall-list-64-condition): Likewise.
26116 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
26117 macro.
26118 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
26119 Renamed to ...
26120 (abi-*): This.
26121 (abi-64-ld-soname): New macro.
26122 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
26123 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
26124 Renamed to ...
26125 (abi-*): This.
26126 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
26127 * sysdeps/x86_64/x32/shlib-versions: Likewise.
26128
4da0431d
JM
261292012-05-30 Joseph Myers <joseph@codesourcery.com>
26130
3a85279c
JM
26131 * sysdeps/unix/sysv/linux/kernel-features.h
26132 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
26133 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
26134 include <kernel-features.h>.
26135 [!__NR_ftruncate64]: Remove conditional code.
26136 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26137 [__NR_ftruncate64]: Make code unconditional.
26138 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26139 * sysdeps/unix/sysv/linux/truncate64.c: Do not
26140 include <kernel-features.h>.
26141 [!__NR_ftruncate64]: Remove conditional code.
26142 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26143 [__NR_ftruncate64]: Make code unconditional.
26144 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
26146 include <kernel-features.h>.
26147 [!__NR_ftruncate64]: Remove conditional code.
26148 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26149 [__NR_ftruncate64]: Make code unconditional.
26150 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26151 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
26152 include <kernel-features.h>.
26153 [!__NR_ftruncate64]: Remove conditional code.
26154 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26155 [__NR_ftruncate64]: Make code unconditional.
26156 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26157
4da0431d
JM
26158 * configure.in (libc_cv_fpie): Weaken to a compile test using
26159 LIBC_TRY_CC_OPTION.
26160 * configure: Regenerated.
26161
11ef492c
AK
261622012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26163
26164 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
26165 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
26166 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
26167 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
26168 Refreshed.
26169 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
26170 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
26171 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
26172 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
26173 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
26174 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
26175 Refreshed.
26176
d66ef399
DM
261772012-05-27 David S. Miller <davem@davemloft.net>
26178
26179 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
26180 (___Q_zero): New.
26181 (__Q_simulate_exceptions): Return void. Change to simulate
26182 exceptions by writing into the %fsr.
26183 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
26184 (__Qp_handle_exceptions): Likewise.
26185 (numbers): Delete.
26186 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
26187 __Qp_handle_exceptions.
26188 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
26189 __Qp_handle_exceptions.
26190 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
26191 as unused and give dummy FP_RND_NEAREST initializer.
26192 (FP_INHIBIT_RESULTS): Define.
26193 (___Q_simulate_exceptions): Update declaration.
26194 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
26195 formatting.
26196 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
26197 as unused and give dummy FP_RND_NEAREST initializer.
26198 (__Qp_handle_exceptions): Update declaration.
26199 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
26200 formatting.
26201
04fb54b5
TS
262022012-05-27 Thomas Schwinge <thomas@codesourcery.com>
26203
26204 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
26205 the temporary FPU control word.
26206 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
26207 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
26208 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
26209 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
26210 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
26211 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
26212 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
26213 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
26214 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
26215 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
26216 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
26217
3f99608f
KK
262182012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26219
26220 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
26221 fields.
26222
65a4de4e
CLT
262232012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
26224
26225 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
26226 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
26227 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
26228 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
26229 Likewise.
26230 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
26231 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
26232 Likewise.
26233
15749d40
UD
262342012-05-27 Ulrich Drepper <drepper@gmail.com>
26235
26236 * po/h.po: Update from translation team.
26237
25dbcb27
AS
262382012-05-26 Andreas Schwab <schwab@linux-m68k.org>
26239
3d3f8e55
AS
26240 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
26241
25dbcb27
AS
26242 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
26243 handling of denormals.
26244 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
26245 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
26246 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
26247 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
26248 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
26249 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
26250 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
26251 Likewise.
26252
7ad47a80 262532012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
26254
26255 [BZ #14152]
26256 * math/libm-test.inc (fma_test): Don't always expect underflow
26257 exception.
26258
9c6ea9fa
SP
262592012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26260
26261 [BZ #12416]
26262 * elf/tst-execstack.c: Include stackinfo.h.
26263 (do_test): Adjust test case to ensure that pthread_getattr_np
26264 behaviour remains the same after marking stack executable.
26265
a8239222
JM
262662012-05-25 Joseph Myers <joseph@codesourcery.com>
26267
26268 * sysdeps/unix/sysv/linux/kernel-features.h
26269 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
26270 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
26271 kernel-features.h.
26272 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
26273 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
26274 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
26275 kernel-features.h.
26276 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
26277 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
26278
918b5606
L
262792012-05-25 H.J. Lu <hongjiu.lu@intel.com>
26280
26281 * configure.in: Define the default includes to being none.
26282 * configure: Regenerated.
26283
3a097cc7
RM
262842012-05-25 Roland McGrath <roland@hack.frob.com>
26285
8422c9a5
RM
26286 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
26287 * sysdeps/x86_64/setjmp.S: Likewise.
26288 * sysdeps/i386/bsd-setjmp.S: Likewise.
26289 * sysdeps/i386/bsd-_setjmp.S: Likewise.
26290 * sysdeps/i386/setjmp.S: Likewise.
26291 * sysdeps/i386/__longjmp.S: Likewise.
26292 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
26293 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
26294
3a097cc7
RM
26295 * include/stap-probe.h: New file.
26296 * configure.in: Handle --enable-systemtap.
26297 * configure: Regenerated.
26298 * config.h.in (USE_STAP_PROBE): New #undef.
26299 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
26300 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
26301 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
26302
21708942
JM
263032012-05-25 Joseph Myers <joseph@codesourcery.com>
26304
26305 [BZ #13717]
26306 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
26307 to 2.4.0 where earlier.
26308 * sysdeps/unix/sysv/linux/configure: Regenerated.
26309 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
26310 <kernel-features.h>.
26311 [__ASSUME_32BITUIDS]: Make code unconditional.
26312 [!__ASSUME_32BITUIDS]: Remove conditional code.
26313 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
26314 <kernel-features.h>.
26315 [__ASSUME_32BITUIDS]: Make code unconditional.
26316 [!__ASSUME_32BITUIDS]: Remove conditional code.
26317 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
26318 [__ASSUME_32BITUIDS]: Make code unconditional.
26319 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
26320 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
26321 <kernel-features.h>.
26322 [__ASSUME_32BITUIDS]: Make code unconditional.
26323 [!__ASSUME_32BITUIDS]: Remove conditional code.
26324 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
26325 <kernel-features.h>.
26326 [__ASSUME_32BITUIDS]: Make code unconditional.
26327 [!__ASSUME_32BITUIDS]: Remove conditional code.
26328 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
26329 <kernel-features.h>.
26330 [__ASSUME_32BITUIDS]: Make code unconditional.
26331 [!__ASSUME_32BITUIDS]: Remove conditional code.
26332 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
26333 <kernel-features.h>.
26334 [__ASSUME_32BITUIDS]: Make code unconditional.
26335 [!__ASSUME_32BITUIDS]: Remove conditional code.
26336 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
26337 <kernel-features.h>.
26338 [__ASSUME_32BITUIDS]: Make code unconditional.
26339 [!__ASSUME_32BITUIDS]: Remove conditional code.
26340 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
26341 <kernel-features.h>.
26342 [__ASSUME_32BITUIDS]: Make code unconditional.
26343 [!__ASSUME_32BITUIDS]: Remove conditional code.
26344 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
26345 <kernel-features.h>.
26346 [__ASSUME_32BITUIDS]: Make code unconditional.
26347 [!__ASSUME_32BITUIDS]: Remove conditional code.
26348 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
26349 <kernel-features.h>.
26350 [__ASSUME_32BITUIDS]: Make code unconditional.
26351 [!__ASSUME_32BITUIDS]: Remove conditional code.
26352 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
26353 <kernel-features.h>.
26354 [__ASSUME_32BITUIDS]: Make code unconditional.
26355 [!__ASSUME_32BITUIDS]: Remove conditional code.
26356 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
26357 <kernel-features.h>.
26358 [__ASSUME_32BITUIDS]: Make code unconditional.
26359 [!__ASSUME_32BITUIDS]: Remove conditional code.
26360 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
26361 <kernel-features.h>.
26362 [__NR_setresgid] (__setresgid): Do not declare.
26363 [__ASSUME_32BITUIDS]: Make code unconditional.
26364 [!__ASSUME_32BITUIDS]: Remove conditional code.
26365 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
26366 <kernel-features.h>.
26367 [__NR_setresuid] (__setresuid): Do not declare.
26368 [__ASSUME_32BITUIDS]: Make code unconditional.
26369 [!__ASSUME_32BITUIDS]: Remove conditional code.
26370 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
26371 <kernel-features.h>.
26372 [__ASSUME_32BITUIDS]: Make code unconditional.
26373 [!__ASSUME_32BITUIDS]: Remove conditional code.
26374 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
26375 <kernel-features.h>.
26376 [__ASSUME_32BITUIDS]: Make code unconditional.
26377 [!__ASSUME_32BITUIDS]: Remove conditional code.
26378 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
26379 <kernel-features.h>.
26380 [__ASSUME_32BITUIDS]: Make code unconditional.
26381 [!__ASSUME_32BITUIDS]: Remove conditional code.
26382 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
26383 <kernel-features.h>.
26384 [__ASSUME_32BITUIDS]: Make code unconditional.
26385 [!__ASSUME_32BITUIDS]: Remove conditional code.
26386 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
26387 <kernel-features.h>.
26388 [__ASSUME_32BITUIDS]: Make code unconditional.
26389 [!__ASSUME_32BITUIDS]: Remove conditional code.
26390 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
26391 <kernel-features.h>.
26392 [__ASSUME_32BITUIDS]: Make code unconditional.
26393 [!__ASSUME_32BITUIDS]: Remove conditional code.
26394 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
26395 <kernel-features.h>.
26396 [__ASSUME_32BITUIDS]: Make code unconditional.
26397 [!__ASSUME_32BITUIDS]: Remove conditional code.
26398 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
26399 <kernel-features.h>.
26400 [__ASSUME_32BITUIDS]: Make code unconditional.
26401 [!__ASSUME_32BITUIDS]: Remove conditional code.
26402 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
26403 <kernel-features.h>.
26404 [__ASSUME_32BITUIDS]: Make code unconditional.
26405 [!__ASSUME_32BITUIDS]: Remove conditional code.
26406 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
26407 <kernel-features.h>.
26408 [__ASSUME_32BITUIDS]: Make code unconditional.
26409 [!__ASSUME_32BITUIDS]: Remove conditional code.
26410 * sysdeps/unix/sysv/linux/kernel-features.h
26411 (__ASSUME_SETRESUID_SYSCALL): Remove.
26412 (__ASSUME_SETRESGID_SYSCALL): Likewise.
26413 (__ASSUME_32BITUIDS): Likewise.
26414 (__ASSUME_LDT_WORKS): Likewise.
26415 (__ASSUME_O_DIRECTORY): Likewise.
26416 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
26417 architecture but not kernel version.
26418 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
26419 (__ASSUME_MMAP2_SYSCALL): Likewise.
26420 (__ASSUME_STAT64_SYSCALL): Likewise.
26421 (__ASSUME_IPC64): Likewise.
26422 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
26423 <kernel-features.h>.
26424 [__ASSUME_32BITUIDS]: Make code unconditional.
26425 [!__ASSUME_32BITUIDS]: Remove conditional code.
26426 * sysdeps/unix/sysv/linux/opendir.c: Do not include
26427 <kernel-features.h>.
26428 [__ASSUME_O_DIRECTORY]: Make code unconditional.
26429 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
26430 132096]: Remove conditional code.
26431 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
26432 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
26433 <kernel-features.h>.
26434 [__ASSUME_32BITUIDS]: Make code unconditional.
26435 [!__ASSUME_32BITUIDS]: Remove conditional code.
26436 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
26437 <kernel-features.h>.
26438 [__ASSUME_32BITUIDS]: Make code unconditional.
26439 [!__ASSUME_32BITUIDS]: Remove conditional code.
26440 * sysdeps/unix/sysv/linux/setegid.c: Do not include
26441 <kernel-features.h>.
26442 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
26443 unconditional.
26444 (__setresgid): Do not declare.
26445 [__ASSUME_32BITUIDS]: Make code unconditional.
26446 [!__ASSUME_32BITUIDS]: Remove conditional code.
26447 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
26448 <kernel-features.h>.
26449 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
26450 unconditional.
26451 (__setresuid): Do not declare.
26452 [__ASSUME_32BITUIDS]: Make code unconditional.
26453 [!__ASSUME_32BITUIDS]: Remove conditional code.
26454 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
26455 <kernel-features.h>.
26456 [__ASSUME_32BITUIDS]: Make code unconditional.
26457 [!__ASSUME_32BITUIDS]: Remove conditional code.
26458 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
26459 <kernel-features.h>.
26460 [__ASSUME_32BITUIDS]: Make code unconditional.
26461 [!__ASSUME_32BITUIDS]: Remove conditional code.
26462
a386f1cc
RH
264632012-05-25 Richard Henderson <rth@twiddle.net>
26464
26465 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
26466 dl_hwcap to ifunc resolver.
26467 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
26468 elf_ifunc_invoke.
26469 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
26470 dl_hwcap to ifunc resolver.
26471 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
26472
b6550497
JM
264732012-05-24 Joseph Myers <joseph@codesourcery.com>
26474
26475 [BZ #14153]
26476 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
26477 for |x| <= 2**-26, not 2**-57.
26478 * math/libm-test.inc (acos_test): Do not allow spurious underflow
26479 exception.
26480
b0bc23a1
JL
264812012-05-24 Jeff Law <law@redhat.com>
26482
26483 * stdio-common/Makefile (tests): Add bug25.
26484 * stdio-common/bug25.c: New test.
26485
347c92e9
L
264862012-05-24 H.J. Lu <hongjiu.lu@intel.com>
26487
26488 [BZ #13576]
26489 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
26490 multiple of MALLOC_ALIGNMENT in size.
26491 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
26492
6bcc8b3f
JM
264932012-05-24 Joseph Myers <joseph@codesourcery.com>
26494
26495 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
26496 Require >= 256.
26497 (FILENAME_MAX): Use macro-int-constant.
26498 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
26499 (_IOFBF): Use macro-int-constant.
26500 (_IOLBF): Likewise.
26501 (_IONBF): Likewise.
26502 (SEEK_CUR): Likewise.
26503 (SEEK_END): Likewise.
26504 (SEEK_SET): Likewise.
26505 (TMP_MAX): Likewise.
26506 (EOF): Use macro-int-constant. Require < 0.
26507 (NULL): Use macro-constant. Require == 0.
26508 (stdin): Require type to be FILE *.
26509 (stdout): Likewise.
26510 (stderr): Likewise.
26511 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
26512 macro-int-constant.
26513 (EXIT_SUCCESS): Likewise.
26514 (NULL): Use macro-constant. Require == 0.
26515 (RAND_MAX): Use macro-int-constant.
26516 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
26517 [C99-based standards] (strtof): Require function.
26518 [C99-based standards] (strtold): Likewise.
26519 [C99-based standards] (strtoll): Likewise.
26520 [C99-based standards] (strtoull): Likewise.
26521 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
26522 [ISO || ISO99 || ISO11] (limits.h): Likewise.
26523 [ISO || ISO99 || ISO11] (math.h): Likewise.
26524 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
26525 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
26526 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26527
d18ea0c5
AS
265282012-05-24 Andreas Schwab <schwab@linux-m68k.org>
26529
26530 [BZ #14132]
56d25bb8
AS
26531 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
26532 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
26533 * intl/dgettext.c (DCGETTEXT): Likewise.
26534 * intl/gettext.c (DCGETTEXT): Likewise.
26535 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
26536 * posix/regex_internal.h (gettext): Likewise.
26537 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
26538 Remove declaration.
26539 * include/argz.h (__argz_count_internal)
26540 (__argz_stringify_internal): Remove declaration.
26541 (__argz_count, __argz_stringify): Declare hidden proto.
26542 * intl/dcgettext.c: Remove use of INTDEF.
26543 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
26544 * string/argz-stringify.c: Likewise.
26545 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
26546 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
26547 Declare hidden proto.
d18ea0c5
AS
26548 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
26549 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
26550 Declare hidden proto.
26551 * include/stdio.h (__asprintf_internal): Don't declare.
26552 (__asprintf): Don't define as macro. Declare hidden proto.
26553 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
26554 (__fsetlocking): Declare hidden proto.
26555 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
26556 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
26557 hidden proto.
26558 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
26559 (_IO_setlinebuf): Remove use of INTUSE.
26560 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
26561 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
26562 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
26563 Remove declaration.
26564 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
26565 (_IO_do_flush): Remove use of INTUSE.
26566 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
26567 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
26568 (_IO_adjust_column, _IO_least_wmarker)
26569 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
26570 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
26571 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
26572 (_IO_default_doallocate, _IO_wdefault_doallocate)
26573 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
26574 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
26575 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
26576 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
26577 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
26578 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
26579 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
26580 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
26581 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
26582 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
26583 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
26584 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
26585 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
26586 proto.
26587 (_IO_flush_all_internal, _IO_adjust_column_internal)
26588 (_IO_default_uflow_internal, _IO_default_finish_internal)
26589 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
26590 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
26591 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
26592 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
26593 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
26594 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
26595 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
26596 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
26597 (_IO_file_close_internal, _IO_file_close_it_internal)
26598 (_IO_file_underflow_internal, _IO_file_overflow_internal)
26599 (_IO_file_init_internal, _IO_file_attach_internal)
26600 (_IO_file_fopen_internal, _IO_file_read_internal)
26601 (_IO_file_sync_internal, _IO_file_seek_internal)
26602 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
26603 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
26604 (_IO_str_underflow_internal, _IO_str_overflow_internal)
26605 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
26606 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
26607 (_IO_list_all_internal, _IO_link_in_internal)
26608 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
26609 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
26610 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
26611 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
26612 (_IO_do_write_internal, _IO_padn_internal)
26613 (_IO_getline_info_internal, _IO_getline_internal)
26614 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
26615 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
26616 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
26617 (_IO_vfscanf_internal, _IO_vfprintf_internal)
26618 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
26619 (_IO_init_internal, _IO_un_link_internal): Don't declare.
26620 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
26621 with libc_hidden_ver, remove use of INTUSE.
26622 * libio/genops.c: Likewise.
26623 * libio/freopen.c: Likewise.
26624 * libio/freopen64.c: Likewise.
26625 * libio/iofclose.c: Likewise.
26626 * libio/iofdopen.c: Likewise.
26627 * libio/iofflush.c: Likewise.
26628 * libio/iofflush_u.c: Likewise.
26629 * libio/iofgets.c: Likewise.
26630 * libio/iofgets_u.c: Likewise.
26631 * libio/iofopen.c: Likewise.
26632 * libio/iofopncook.c: Likewise.
26633 * libio/iofread.c: Likewise.
26634 * libio/iofread_u.c: Likewise.
26635 * libio/ioftell.c: Likewise.
26636 * libio/iofwrite.c: Likewise.
26637 * libio/iogetline.c: Likewise.
26638 * libio/iogets.c: Likewise.
26639 * libio/iogetwline.c: Likewise.
26640 * libio/iopadn.c: Likewise.
26641 * libio/iopopen.c: Likewise.
26642 * libio/ioseekoff.c: Likewise.
26643 * libio/ioseekpos.c: Likewise.
26644 * libio/iosetbuffer.c: Likewise.
26645 * libio/iosetvbuf.c: Likewise.
26646 * libio/ioungetc.c: Likewise.
26647 * libio/ioungetwc.c: Likewise.
26648 * libio/iovdprintf.c: Likewise.
26649 * libio/iovsprintf.c: Likewise.
26650 * libio/iovsscanf.c: Likewise.
26651 * libio/memstream.c: Likewise.
26652 * libio/obprintf.c: Likewise.
26653 * libio/oldfileops.c: Likewise.
26654 * libio/oldiofclose.c: Likewise.
26655 * libio/oldiofdopen.c: Likewise.
26656 * libio/oldiofopen.c: Likewise.
26657 * libio/oldiopopen.c: Likewise.
26658 * libio/oldstdfiles.c: Likewise.
26659 * libio/putc.c: Likewise.
26660 * libio/setbuf.c: Likewise.
26661 * libio/setlinebuf.c: Likewise.
26662 * libio/stdfiles.c: Likewise.
26663 * libio/strops.c: Likewise.
26664 * libio/vasprintf.c: Likewise.
26665 * libio/vscanf.c: Likewise.
26666 * libio/vsnprintf.c: Likewise.
26667 * libio/vswprintf.c: Likewise.
26668 * libio/wfiledoalloc.c: Likewise.
26669 * libio/wfileops.c: Likewise.
26670 * libio/wgenops.c: Likewise.
26671 * libio/wmemstream.c: Likewise.
26672 * libio/wstrops.c: Likewise.
26673 * libio/__fpurge.c: Likewise.
26674 * libio/__fsetlocking.c: Likewise.
26675 * assert/assert.c: Likewise.
26676 * debug/fgets_chk.c: Likewise.
26677 * debug/fgets_u_chk.c: Likewise.
26678 * debug/fread_chk.c: Likewise.
26679 * debug/fread_u_chk.c: Likewise.
26680 * debug/gets_chk.c: Likewise.
26681 * debug/obprintf_chk.c: Likewise.
26682 * debug/vasprintf_chk.c: Likewise.
26683 * debug/vdprintf_chk.c: Likewise.
26684 * debug/vsnprintf_chk.c: Likewise.
26685 * debug/vsprintf_chk.c: Likewise.
26686 * malloc/mtrace.c: Likewise.
26687 * misc/error.c: Likewise.
26688 * misc/syslog.c: Likewise.
26689 * stdio-common/asprintf.c: Likewise.
26690 * stdio-common/fxprintf.c: Likewise.
26691 * stdio-common/getw.c: Likewise.
26692 * stdio-common/isoc99_fscanf.c: Likewise.
26693 * stdio-common/isoc99_scanf.c: Likewise.
26694 * stdio-common/isoc99_vfscanf.c: Likewise.
26695 * stdio-common/isoc99_vscanf.c: Likewise.
26696 * stdio-common/isoc99_vsscanf.c: Likewise.
26697 * stdio-common/printf-prs.c: Likewise.
26698 * stdio-common/printf_fp.c: Likewise.
26699 * stdio-common/printf_fphex.c: Likewise.
26700 * stdio-common/printf_size.c: Likewise.
26701 * stdio-common/putw.c: Likewise.
26702 * stdio-common/scanf.c: Likewise.
26703 * stdio-common/sprintf.c: Likewise.
26704 * stdio-common/tmpfile.c: Likewise.
26705 * stdio-common/vfprintf.c: Likewise.
26706 * stdio-common/vfscanf.c: Likewise.
26707 * stdlib/strfmon_l.c: Likewise.
26708 * sunrpc/openchild.c: Likewise.
26709 * sunrpc/xdr_stdio.c: Likewise.
26710 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
26711 * sysdeps/mach/hurd/tmpfile.c: Likewise.
26712
d6c33fda
RM
267132012-05-24 Roland McGrath <roland@hack.frob.com>
26714
c1487492
RM
26715 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
26716
26717 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
26718 in the third column, to generate for the shared library an IFUNC
26719 that uses _dl_vdso_vsym.
26720 * Makerules (COMPILE.c, compile-stdin.c): New variables.
26721 * Makeconfig (object-suffixes-noshared): New variable.
26722
26723 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
26724 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
26725 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
26726 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
26727
d6c33fda
RM
26728 [BZ #14132]
26729 * include/sys/time.h (__gettimeofday): Remove macro.
26730 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
26731 * time/gettimeofday.c (__gettimeofday): Remove #undef.
26732 Remove INTDEF.
26733 (__gettimeofday): Add libc_hidden_def.
26734 (gettimeofday): Add libc_hidden_weak.
26735 * sysdeps/mach/gettimeofday.c: Likewise.
26736 * sysdeps/posix/gettimeofday.c: Likewise.
26737 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
26738 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
26739 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
26740 (__gettimeofday_internal): Remove strong_alias.
26741 (__gettimeofday): Add libc_hidden_def.
26742 (gettimeofday): Add libc_hidden_weak.
26743 * sysdeps/unix/syscalls.list (gettimeofday):
26744 Remove __gettimeofday_internal alias.
26745
b5a2bbe6
L
267462012-05-24 Daniel Jacobowitz <drow@false.org>
26747 H.J. Lu <hongjiu.lu@intel.com>
26748
26749 [BZ #12495]
26750 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
26751 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
26752 (largebin_index_32_big): New.
26753 (largebin_index): Use it for 16-byte alignment.
26754 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
26755 correction with front_misalign.
26756
cfba4fda
L
267572012-05-24 H.J. Lu <hongjiu.lu@intel.com>
26758
7f907421
L
26759 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
26760 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
26761 Likewise.
26762 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
26763 Likewise.
26764 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
26765 Likewise.
26766 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
26767 Likewise.
26768 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
26769 Likewise.
26770 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
26771 Likewise.
26772 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
26773 Likewise.
26774 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
26775 Likewise.
26776 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
26777 Likewise.
26778 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
26779 Likewise.
26780 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
26781 Likewise.
26782 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
26783 Likewise.
26784
cfba4fda
L
26785 * scripts/data/c++-types-x32-linux-gnu.data: New file.
26786 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
26787
80bad0cc
JM
267882012-05-24 Joseph Myers <joseph@codesourcery.com>
26789
7a25eb06
JM
26790 [BZ #10846]
26791 [BZ #14036]
26792 * math/libm-test.inc (exp_test): Add test from bug 14036.
26793 (pow_test): Add test from bug 10846.
26794
795405f9
JM
26795 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
26796 and other flags.
26797 (special_function): Do not include flags in test name.
26798 (parse_args): Likewise.
26799 * sysdeps/i386/fpu/libm-test-ulps: Update.
26800 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26801 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
26802 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
26803 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26804
80bad0cc
JM
26805 * math/gen-libm-test.pl (%beautify): Add entries for underflow
26806 exceptions.
26807 * math/libm-test.inc ("Philosophy"): Update comment about
26808 exception testing.
26809 (UNDERFLOW_EXCEPTION): New macro.
26810 (UNDERFLOW_EXCEPTION_OK): Likewise.
26811 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
26812 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
26813 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
26814 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
26815 (INVALID_EXCEPTION_OK): Update value.
26816 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
26817 (OVERFLOW_EXCEPTION_OK): Likewise.
26818 (IGNORE_ZERO_INF_SIGN): Likewise.
26819 (test_exceptions): Handle underflow exceptions.
26820 (acos_test): Update for underflow exception expectations.
26821 (cexp_test): Likewise.
26822 (clog_test): Likewise.
26823 (clog10_test): Likewise.
26824 (csqrt_test): Likewise.
26825 (ctan_test): Likewise.
26826 (ctanh_test): Likewise.
26827 (exp_test): Likewise.
26828 (exp10_test): Likewise.
26829 (exp2_test): Likewise.
26830 (expm1_test): Likewise.
26831 (fma_test): Likewise.
26832 (j0_test): Likewise.
26833 (jn_test): Likewise.
26834 (nexttoward_test): Likewise.
26835 (pow_test): Likewise.
26836 (scalbn_test): Likewise.
26837 (scalbln_test): Likewise.
26838 (tan_test): Likewise.
26839 (y1_test): Likewise.
26840 * sysdeps/i386/fpu/libm-test-ulps: Update.
26841 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26842
9e0e3d0b
DM
268432012-05-23 David S. Miller <davem@davemloft.net>
26844
26845 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
26846 (__libc_sigaction): Remove unused local variables.
26847
ccd0a08f
L
268482012-05-23 H.J. Lu <hongjiu.lu@intel.com>
26849
26850 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
26851
62bdf9a6
PE
268522012-05-23 Paul Eggert <eggert@cs.ucla.edu>
26853
f8591f80
PE
26854 mktime: avoid signed integer overflow
26855 * time/mktime.c (__mktime_internal): Do not mishandle the case
26856 where diff == INT_MIN.
26857
94c7d826
PE
26858 mktime: simplify computation of average
26859 * time/mktime.c (ranged_convert): Use new time_t_avg function
26860 instead of rolling our own (probably-slower) code.
26861
ce73d683
PE
26862 mktime: do not assume signed right shift propagates sign bit
26863 * time/mktime.c (isdst_differ): New static function.
26864 (__mktime_internal): No need to normalize tm_isdst now.
26865 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
26866 tm_isdst values.
26867
72a22e59
PE
26868 mktime: merge another wrapv change from gnulib
26869 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
26870 from some compilers.
26871
68605433
PE
26872 mktime: remove incorrect attempt at unusual arithmetics
26873 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
26874 The code didn't really work on such machines anyway.
26875 (TYPE_MINIMUM): Assume two's complement.
26876 (twos_complement_arithmetic): Verify that long_int and time_t
26877 are two's complement (or unsigned, in the latter case).
26878
03cf7fe3
PE
26879 mktime: check signed shifts on long_int and time_t, too
26880 * time/mktime.c (SHR): Check that shifts work as desired
26881 on the types long_int and time_t too, as SHR is used on
26882 such types.
26883
f04dfbc2
PE
26884 mktime: do not assume 'long' is wide enough
26885 * time/mktime.c (verify): Move decl up.
26886 (long_int): New type.
26887 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
26888 to remove assumption in the code that 'long' is wide enough to
26889 store year values. This assumption is not true on x32 and on
26890 some non-glibc platforms.
26891
62bdf9a6
PE
26892 mktime: merge wrapv change from gnulib
26893 * time/mktime.c (WRAPV): New macro.
26894 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
26895 (guess_time_tm, __mktime_internal): Do not assume that signed
26896 integer overflow wraps around; modern compilers generate code
26897 where this assumption is no longer valid.
26898
5e292e4f
L
268992012-05-23 H.J. Lu <hongjiu.lu@intel.com>
26900
26901 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
26902 Replace "jmp L(pseudo_end)" with "ret".
26903 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
26904 Likewise.
26905
8caf8c87
AJ
269062012-05-23 Andreas Jaeger <aj@suse.de>
26907
26908 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
26909 * sysdeps/unix/sysv/linux/poll.c: Remove file.
26910
1a09dc56
AJ
269112012-05-23 Andreas Jaeger <aj@suse.de>
26912 Maximilian Attems <max@stro.at>
26913
26914 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
26915 New macros.
26916
1c87aba0
L
269172012-05-23 H.J. Lu <hongjiu.lu@intel.com>
26918
26919 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
26920 code so that pseudo_end is just ret and the stack pointer is
26921 correct also for static library in error case.
26922
40e45bd5
JM
269232012-05-23 Joseph Myers <joseph@codesourcery.com>
26924
c2670533
JM
26925 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
26926 move to syscalls.list.
26927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
26928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
26929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
26930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
26931
40e45bd5
JM
26932 * manual/install.texi (Running make install): Do not mention Linux
26933 kernel version for which pt_chown is not needed.
26934 (Linux): Do not mention problems with nscd with 2.0 kernels.
26935 * INSTALL: Regenerated.
26936
be08eda5
AJ
269372012-05-23 Andreas Jaeger <aj@suse.de>
26938
26939 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
26940 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
26941 macro.
26942 * sysdeps/unix/sysv/linux/s390/bits/mman.h
26943 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
26944 * sysdeps/unix/sysv/linux/sh/bits/mman.h
26945 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
26946 * sysdeps/unix/sysv/linux/i386/bits/mman.h
26947 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
26948 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
26949 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
26950 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
26951 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
26952 * sysdeps/unix/sysv/linux/bits/in.h
26953 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
26954
a6a056bb
RM
269552012-05-22 Roland McGrath <roland@hack.frob.com>
26956
26957 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
26958 (PREPARE_VERSION): Just use assert instead, it will be elided
26959 under [NDEBUG] anyway.
26960
c9009328
L
269612012-05-22 H.J. Lu <hongjiu.lu@intel.com>
26962
26963 * sysdeps/unix/sysv/linux/Makefile: Include
26964 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 26965 (sysdep_routines): Remove sysctl.
c9009328
L
26966 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
26967 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
26968 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
26969 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
26970 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
26971
73338355
AJ
269722012-05-22 Andreas Jaeger <aj@suse.de>
26973
26974 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
26975 that pseudo_end is just ret and the stack pointer is correct also
26976 for static library in error case.
26977
d44638b0
PP
269782012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
26979
26980 [BZ #14122]
26981 * nss/nsswitch.c (defconfig_entries): New variable.
26982 (__nss_database_lookup): Don't leak defconfig entries.
26983 (nss_parse_service_list): Don't leak on error paths.
26984 (free_database_entries): New function.
26985 (free_defconfig): New function.
26986 (free_mem): Move common code to free_database_entries.
26987
31a39bd8
L
269882012-05-22 H.J. Lu <hongjiu.lu@intel.com>
26989
da0331a8
L
26990 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
26991 Add arch_prctl.
26992 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
26993
31a39bd8
L
26994 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
26995 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
26996 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
26997 New macro.
26998 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
26999 (INTERNAL_SYSCALL_TYPES): Likewise.
27000 (LOAD_ARGS_TYPES_[1-6]): Likewise.
27001 (LOAD_REGS_TYPES_[1-6]): Likewise.
27002 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
27003 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
27004
45470df3
AZ
270052012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27006
27007 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
27008 copysignl for GLIBC_2_0.
27009 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
27010 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
27011 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
27012 logbl for GLIBC_2_0.
27013 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
27014 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
27015
98a61bcb
L
270162012-05-22 H.J. Lu <hongjiu.lu@intel.com>
27017
a4f6e481
L
27018 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
27019 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
27020
f63d5db6
L
27021 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
27022 Use "neg %eax".
27023
98a61bcb
L
27024 * time/mktime.c: Update copyright years.
27025
95770f14
PE
270262012-05-22 Paul Eggert <eggert@cs.ucla.edu>
27027
6226efbd
PE
27028 mktime: merge comment-quoting-style change from gnulib
27029 * time/mktime.c: Quote 'like this' in comments.
27030 The GNU coding standards suggest that we no longer quote `like this',
27031 as "`" and "'" are typically rendered asymmetrically nowadays.
27032 The typical gnulib style is to quote 'like this' when quoting
27033 code, and "like this" when quoting English.
27034
b99e4f78
PE
27035 * time/mktime.c (compile-command): Add "-I.".
27036
643e01e6
PE
27037 mktime: merge mktime-internal.h change from gnulib
27038 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
27039
2554247d
PE
27040 mktime: merge time_r change from gnulib
27041 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
27042
826dd0ab
PE
27043 mktime: merge DEBUG change from gnulib
27044 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
27045 case system <time.h> has a #define.
27046
bd83aabe
PE
27047 mktime: merge <sys/types.h> change from gnulib
27048 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
27049 since <time.t> is now guaranteed to define time_t.
27050
95770f14
PE
27051 mktime: merge HAVE_CONFIG_H change from gnulib
27052 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
27053
5e1a27a9
L
270542012-05-22 H.J. Lu <hongjiu.lu@intel.com>
27055
0e44a77e
L
27056 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
27057 Use "neg %eax".
27058
5e1a27a9
L
27059 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
27060 __rlim_t cast.
27061 (struct rusage): Use anonymous union to pad each field to
27062 __syscall_slong_t.
27063
46259bec
DM
270642012-05-21 David S. Miller <davem@davemloft.net>
27065
27066 * Makefules (o-iterator): Remove .s cases.
27067 (compile-command.s): Delete.
27068 (COMPILE.s): Delete.
27069 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
27070
59f0c22e
JM
270712012-05-21 Joseph Myers <joseph@codesourcery.com>
27072
27073 * configure.in (libc_cv_predef_stack_protector): Only consider
27074 "foobar" and "__stack_chk_fail" lines in libc_undefs.
27075 * configure: Regenerated.
27076
20c07380
L
270772012-05-21 H.J. Lu <hongjiu.lu@intel.com>
27078
bbb3154b
L
27079 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
27080 New macro. Use R*LP on int and pointer.
27081 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
27082 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
27083 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
27084 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
27085
20c07380
L
27086 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
27087 [__WORDSIZE_TIME64_COMPAT32] instead of
27088 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
27089 (struct utmp): Likewise.
27090 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
27091 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
27092 Renamed to ...
27093 (__WORDSIZE_TIME64_COMPAT32): This.
27094 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
27095 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
27096 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
27097 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
27098 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
27099 (__WORDSIZE_TIME64_COMPAT32): New macro.
27100
d8d1017e
AJ
271012012-05-21 Andreas Jaeger <aj@suse.de>
27102
27103 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
27104 only if [SHARED]. Add prototype for __wcschr_ia32.
27105
6c7fb145
RM
271062012-05-21 Roland McGrath <roland@hack.frob.com>
27107
27108 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
27109 of %rbp unmolested in the jmp_buf while mangling the low bits.
27110 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
27111 unmolested high bits of %rbp while demangling the low bits.
27112 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
27113
66274218
AJ
271142012-05-21 Andreas Jaeger <aj@suse.de>
27115
07c58f8f
AJ
27116 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
27117 * sunrpc/svc_simple.c: Use it for registerrpc.
27118 * sunrpc/xcrypt.c: Use it for passwd2des.
27119
66274218
AJ
27120 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
27121
61f65140
L
271222012-05-21 H.J. Lu <hongjiu.lu@intel.com>
27123
27124 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
27125 Don't define if [__SYSCALL_WORDSIZE != 32].
27126 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
27127 New macro.
27128
5fefb436
AJ
271292012-05-21 Bruno Haible <bruno@clisp.org>
27130 Andreas Jaeger <aj@suse.de>
27131
27132 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
27133 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
27134 inptr and inend for must_buffer_ch.
27135 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
27136 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
27137 * stdio-common/Makefile (tests): Remove bug15.
27138 (bug15-ENV): Remove macro.
27139 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
27140 anymore.
27141
d8e272ab
AJ
271422012-05-19 Andreas Jaeger <aj@suse.de>
27143 Roland McGrath <roland@hack.frob.com>
27144
27145 * manual/contrib.texi: Completely rewritten. It contains now an
27146 alphabetical list of contributors and their contributions.
27147
4a56a162
RH
271482012-05-21 Richard Henderson <rth@twiddle.net>
27149
27150 * misc/getauxval.c (__getauxval): Use unsigned long int.
27151 * misc/sys/auxv.h: Include <sys/cdefs.h>.
27152 (getauxval): Use unsigned long int.
27153
d024d23c
L
271542012-05-21 H.J. Lu <hongjiu.lu@intel.com>
27155
27156 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
27157
cbc00a03
RM
271582012-05-21 Roland McGrath <roland@hack.frob.com>
27159
27160 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
27161 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
27162 __alignof__ (long double).
27163
478143fa
AZ
271642012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27165
27166 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27167
c7683a6d
RH
271682012-05-20 Richard Henderson <rth@twiddle.net>
27169
27170 * misc/getauxval.c: New file.
27171 * misc/sys/auxv.h: New file.
27172 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
27173 (routines): Add getauxval.
27174 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
27175 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
27176 * elf/dl-sysdep.c (_dl_auxv): Remove.
27177 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
27178 * elf/dl-support.c (_dl_auxv): New variable.
27179 (_dl_aux_init): Initialize it.
27180 * manual/startup.texi (Auxiliary Vector): New node.
27181 * sysdeps/generic/bits/hwcap.h: New file.
27182 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
27183 * sysdeps/powerpc/sysdep.h: ... here. Include it.
27184 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
27185 * sysdeps/sparc/sysdep.h: ... here. Include it.
27186 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
27187 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
27188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27189 Update.
c7683a6d
RH
27190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
27191 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
27192 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
27193 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
27194 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
27195 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
27196 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
27197 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
27198
a6f1845d
AZ
271992012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27200
27201 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27202
cbcbe830
DM
272032012-05-19 David S. Miller <davem@davemloft.net>
27204
27205 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27206
e0b16cc2
JM
272072012-05-19 Joseph Myers <joseph@codesourcery.com>
27208
27209 [BZ #14123]
27210 * math/s_ccosh.c: Include <float.h>
27211 (__ccosh): Avoid internal overflow calculating sinh and cosh
27212 values before multiplying by sin and cos values.
27213 * math/s_ccoshf.c: Likewise.
27214 * math/s_ccoshl.c: Likewise.
27215 * math/s_csin.c: Likewise.
27216 * math/s_csinf.c: Likewise.
27217 * math/s_csinl.c: Likewise.
27218 * math/s_csinh.c: Likewise.
27219 * math/s_csinhf.c: Likewise.
27220 * math/s_csinhl.c: Likewise.
27221 * math/libm-test.inc (ccos_test): Add more tests.
27222 (ccosh_test): Likewise.
27223 (csin_test): Likewise.
27224 (csinh_test): Likewise.
27225 * sysdeps/i386/fpu/libm-test-ulps: Update.
27226 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27227
6ad13e08
L
272282012-05-19 H.J. Lu <hongjiu.lu@intel.com>
27229
f66f0ce8
L
27230 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
27231 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
27232
6ad13e08
L
27233 * sysdeps/x86_64/x32/_itoa.h: Add comment.
27234
b1d072a7
JM
272352012-05-19 Joseph Myers <joseph@codesourcery.com>
27236
27237 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
27238 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
27239 * sysdeps/powerpc/soft-fp/Versions: Likewise.
27240 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
27241 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
27242 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
27243 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
27244 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
27245 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
27246 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
27247 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
27248 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
27249 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
27250 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
27251 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
27252 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
27253 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
27254 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
27255 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
27256 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
27257 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
27258 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
27259 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
27260 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
27261 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
27262 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
27263 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
27264 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
27265 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
27266 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
27267 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
27268
9eae47cb
AJ
272692012-05-18 Andreas Jaeger <aj@suse.de>
27270
27271 * csu/.gitignore: Delete.
27272
bb07f69f
L
272732012-05-18 H.J. Lu <hongjiu.lu@intel.com>
27274
27275 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
27276 (timex): Use __syscall_slong_t.
27277
e6bdb741
AJ
272782012-05-18 Andreas Jaeger <aj@suse.de>
27279 Carlos O'Donell <carlos_odonell@mentor.com>
27280
27281 * manual/install.texi (Configuring and compiling): Update
27282 description about files modified in the source directory.
d6c33fda 27283 * INSTALL: Regenerated.
e6bdb741 27284
1b74487e
L
272852012-05-18 H.J. Lu <hongjiu.lu@intel.com>
27286
27287 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
27288 value. Use "or" to set return value to -1.
27289 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
27290 negate return value.
27291
a88b64b9
TMQMF
272922012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27293
27294 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
27295 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
27296 failure if the compiler has Graphite support disabled.
27297 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
27298 Likewise.
27299 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
27300 CFLAGS-memmove.c): Likewise.
27301 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
27302 Likewise.
27303
3707636e
L
273042012-05-18 H.J. Lu <hongjiu.lu@intel.com>
27305
610b8622
L
27306 * sysdeps/x86_64/x32/_itoa.h: New file.
27307
7cd195df
L
27308 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
27309 getdents system call only if kernel and user dirents have the
27310 same d_ino and d_off.
27311
94b07d20
L
27312 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
27313 LLONG_MAX != LONG_MAX.
27314 (_itoa_word): Use _ITOA_WORD_TYPE on value.
27315 (_fitoa_word): Likewise.
27316
18298070
L
27317 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
27318 years.
27319 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
27320 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
27321 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
27322
553c7ea4
L
27323 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
27324 include <bits/wordsize.h>. Check __x86_64__ instead of
27325 __WORDSIZE.
27326 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
27327 if __x86_64__ is defined. Use anonymous union on fpstate.
27328
3707636e
L
27329 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
27330 anonymous union.
27331
b53ef01a
AS
273322012-05-18 Andreas Schwab <schwab@linux-m68k.org>
27333
37fb1dc0
AS
27334 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
27335 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
27336 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
27337 Refer to _rtld_local_ro instead of _rtld_global_ro.
27338 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
27339 Likewise.
27340 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
27341 Likewise.
27342 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
27343 Likewise.
27344 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
27345 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
27346 of _rtld_global, and rtld_progname instead of _dl_argv[0].
27347
b53ef01a
AS
27348 * sysdeps/powerpc/powerpc32/dl-machine.c
27349 (__elf_machine_runtime_setup) [PROF]: Don't reference
27350 _dl_prof_resolve.
27351
7a185db2
AJ
273522012-05-18 Andreas Jaeger <aj@suse.de>
27353
27354 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
27355 function only available for GCCs before 3.4 since GCC 3.4
27356 introduced a builtin.
27357 (lrint): Likewise.
27358 (llrintf): Likewise.
27359 (llrint): Likewise.
27360 (fmaxf): Likewise.
27361 (fmax): Likewise.
27362 (fminf): Likewise.
27363 (fmin): Likewise.
27364 (rint): Likewise.
27365 (rintf): Likewise.
27366 (nearbyint): Likewise.
27367 (nearbyintf): Likewise.
27368 (ceil): Likewise.
27369 (ceilf): Likewise.
27370 (floor): Likewise.
27371 (floorf): Likewise.
27372
3e5aef87
L
273732012-05-17 H.J. Lu <hongjiu.lu@intel.com>
27374
428bd707
L
27375 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
27376 on both fields and cast pointer to __syscall_ulong_t.
27377
3e5aef87
L
27378 * bits/types.h (__fsword_t): New type.
27379 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
27380 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
27381 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27382 (__FSWORD_T_TYPE): Likewise.
27383 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
27384 (__FSWORD_T_TYPE): Likewise.
27385 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27386 (__FSWORD_T_TYPE): Likewise.
27387 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
27388 (__FSWORD_T_TYPE): Likewise.
27389 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
27390 __SWORD_TYPE with __fsword_t.
27391 (statfs64): Likewise.
27392
1ba7c3dc
DM
273932012-05-17 David S. Miller <davem@davemloft.net>
27394
27395 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
27396
59910343
AJ
273972012-05-17 Andreas Jaeger <aj@suse.de>
27398
27399 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
27400 warning.
27401
2e4c1e9e
L
274022012-05-17 H.J. Lu <hongjiu.lu@intel.com>
27403
27404 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
27405
de7f5ce7
AJ
274062012-05-17 Andreas Jaeger <aj@suse.de>
27407
27408 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
27409 when it is used.
27410
286abc3d
CM
274112012-05-17 Chris Metcalf <cmetcalf@tilera.com>
27412
27413 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
27414
477cc68e
L
274152012-05-17 H.J. Lu <hongjiu.lu@intel.com>
27416
27417 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
27418 * sysdeps/x86_64/tst-mallocalign1.c: New file.
27419
1a0994f5
CD
274202012-05-17 Andreas Jaeger <aj@suse.de>
27421 Carlos O'Donell <carlos_odonell@mentor.com>
27422
27423 [BZ #14059]
27424 * sysdeps/x86_64/multiarch/init-arch.h
27425 (bit_YMM_Usable): Rename to...
27426 (bit_AVX_Usable): ... this.
27427 (bit_FMA4_Usable): New macro.
27428 (bit_XMM_state): New macro.
27429 (bit_YMM_state): New macro.
27430 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
27431 [__ASSEMBLER__] (index_AVX_Usable): ... this.
27432 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
27433 (CPUID_OSXSAVE): New macro.
27434 (CPUID_AVX): New macro.
27435 (CPUID_FMA4): New macro.
27436 (index_YMM_Usable): Rename to...
27437 (index_AVX_Usable): ... this.
27438 (HAS_AVX): Use HAS_ARCH_FEATURE.
27439 (HAS_FMA4): Likewise.
27440 (HAS_YMM_USABLE): Remove.
27441 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27442 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
27443 are present.
27444 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
27445 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
27446 * sysdeps/x86_64/multiarch/Makefile: Likewise.
27447 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
27448 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
27449
0af797de
CM
274502012-05-17 Chris Metcalf <cmetcalf@tilera.com>
27451
27452 * math/libm-test.c: Support platforms without multiple rounding modes.
27453 * math/bug-nextafter.c: Support platforms without FP exceptions.
27454 * math/bug-nexttoward.c: Likewise.
27455 * math/test-fenv.c: Likewise.
27456 * math/test-misc.c: Likewise.
27457 * stdlib/bug-getcontext.c: Likewise.
27458
e39745ff
AJ
274592012-05-17 Andreas Jaeger <aj@suse.de>
27460
27461 * manual/examples/search.c (critter_cmp): Change signature to
27462 avoid warnings.
27463 * manual/string.texi (Collation Functions): Likewise.
27464
48970aba
L
274652012-05-16 H.J. Lu <hongjiu.lu@intel.com>
27466
27467 * bits/types.h: Fold copyright years.
27468 * bits/typesizes.h: Likewise.
27469 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
27470 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
27471 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
27472 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
27473 * time/time.h: Likewise.
27474
bedee953
PP
274752012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
27476
27477 [BZ #208]
27478 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
27479 in instead of returning them. Return void.
27480 (__libc_mallinfo): Accumulate over all arenas.
27481 (__malloc_stats): Adjust for change in int_mallinfo interface.
27482
61653dfb
RM
274832012-05-16 Roland McGrath <roland@hack.frob.com>
27484
30b99d79
RM
27485 [BZ #10375]
27486 * configure.in (NM): Add AC_CHECK_TOOL for it.
27487 (libc_extra_cflags): New substituted variable.
27488 Check for -fstack-protector being used implicitly.
27489 * configure: Regenerated.
27490 * config.make.in (config-extra-cflags): New variable,
27491 gets @libc_extra_cflags@.
27492 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
27493
61653dfb
RM
27494 [BZ #10375]
27495 * configure.in: Check for _FORTIFY_SOURCE being predefined.
27496 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
27497 * configure: Regenerated.
27498 * config.make.in (CPPUNDEFS): New substituted variable.
27499 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
27500 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
27501 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
27502
661768bb
L
275032012-05-16 H.J. Lu <hongjiu.lu@intel.com>
27504
27505 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
27506 (mq_attr): Use __syscall_slong_t.
27507
d4261567
L
275082012-05-16 H.J. Lu <hongjiu.lu@intel.com>
27509
27510 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
27511 Check __x86_64__ instead of __WORDSIZE.
27512 (_STAT_VER_LINUX): Likewise.
27513 (stat): Check __x86_64__ instead of __WORDSIZE. Use
27514 __syscall_ulong_t and __syscall_slong_t.
27515 (stat64): Likewise.
27516
cf3ff365
L
275172012-05-16 H.J. Lu <hongjiu.lu@intel.com>
27518
27519 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
27520
76cf3e4d
L
275212012-05-16 H.J. Lu <hongjiu.lu@intel.com>
27522
27523 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
27524
a637753a
L
275252012-05-16 H.J. Lu <hongjiu.lu@intel.com>
27526
27527 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
27528 __syscall_ulong_t.
27529
d5e05119
L
27530 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
27531 include <bits/wordsize.h>. Check __x86_64__ instead of
27532 __WORDSIZE.
27533 (greg_t): Use "__extension__ long long int" if __x86_64__ is
27534 defined.
27535 (mcontext_t): Replace "unsigned long" with "unsigned long long".
27536
f62ee380
L
27537 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
27538 include <bits/wordsize.h>. Check __x86_64__ instead of
27539 __WORDSIZE.
27540 (user_regs_struct): Use "__extension__ unsigned long long"
27541 instead of "unsigned long" if __x86_64__ is defined.
27542 (user): Likewise. Pad after pointer field if __ILP32__ is
27543 defined.
27544
4e124ced
JM
275452012-05-16 Joseph Myers <joseph@codesourcery.com>
27546
6a3951a0
JM
27547 * configure.in (makeinfo): Require version 4.5 or later. Allow
27548 versions 5 to 9.
27549 * configure: Regenerated.
27550 * manual/install.texi (texinfo): Increase version requirement to
27551 4.5 or later.
27552 * INSTALL: Regenerated.
27553
4e124ced
JM
27554 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
27555
953ca31a
L
275562012-05-16 H.J. Lu <hongjiu.lu@intel.com>
27557
27558 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
27559
617aca05
L
27560 * sysdeps/x86_64/x32/ffs.c: New file.
27561
5762f7ae
L
27562 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
27563 __syscall_ulong_t.
27564 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
27565 defined. Use __syscall_ulong_t.
27566 (shminfo): Use __syscall_ulong_t.
27567 (shm_info): Likewise.
27568
a26b6856
L
27569 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
27570 __syscall_ulong_t.
27571
cb2b9ef7
L
27572 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
27573 <bits/wordsize.h>.
27574 (msgqnum_t): Use __syscall_ulong_t.
27575 (msglen_t): Likewise.
27576 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
27577 __syscall_ulong_t.
27578
34683bb0
L
27579 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
27580 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
27581
84a68786
L
27582 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
27583
48baa5f1
L
27584 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
27585 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
27586
180be88b
L
27587 * sysvipc/sys/msg.h (msgbuf): Replace long int with
27588 __syscall_slong_t.
27589
5e90c8ad
L
27590 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
27591 include <bits/wordsize.h>. Check __x86_64__ instead of
27592 __WORDSIZE.
27593
23dfb58b
L
27594 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
27595 "unsigned long long int" if __x86_64__ is defined.
27596 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
27597
ce5d54b0
L
27598 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
27599 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
27600 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
27601
13dc9eac
L
27602 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
27603 <stdint.h>.
27604 (GET_PC): Cast to uintptr_t first.
27605 (GET_FRAME): Likewise.
27606 (GET_STACK): Likewise.
27607
a7895d15
L
27608 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
27609 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
27610 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
27611 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
27612 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
27613 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
27614 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
27615 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
27616 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
27617 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
27618 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
27619 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
27620 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
27621 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
27622 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
27623 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
27624 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
27625 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
27626 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
27627 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
27628 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
27629 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
27630 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
27631 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
27632 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
27633 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
27634 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
27635 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
27636 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
27637
656416c9
AS
276382012-05-16 Andreas Schwab <schwab@linux-m68k.org>
27639
5bd66283
AS
27640 * Makerules (+depfiles): Also collect depfiles from .oS in
27641 $(extra-objs).
27642 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
27643 .oS, $(libnldbl-routines)).
27644
656416c9
AS
27645 * Makerules (native-compile-mkdep-flags): Define.
27646 * sunrpc/Makefile (extra-objs): Add $(addprefix
27647 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
27648 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
27649 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
27650 calling $(make-target-directory).
27651
a46f2169
L
276522012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27653
27654 * bits/types.h (__snseconds_t): Removed.
27655 * time/time.h (struct timespec): Replace __snseconds_t with
27656 __syscall_slong_t.
27657 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
27658 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
27659 Likewise.
27660 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27661 (__SNSECONDS_T_TYPE): Likewise.
27662 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
27663 (__SNSECONDS_T_TYPE): Likewise.
27664 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27665 (__SNSECONDS_T_TYPE): Likewise.
27666
6af6528b
L
276672012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27668
27669 * sysdeps/mach/hurd/bits/typesizes.h
27670 (__SYSCALL_SLONG_TYPE): New macro.
27671 (__SYSCALL_ULONG_TYPE): Likewise.
27672
de986b56
L
276732012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27674
27675 * bits/types.h (__syscall_slong_t): New type.
27676 (__syscall_ulong_t): Likewise.
27677
27678 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
27679 (__SYSCALL_ULONG_TYPE): Likewise.
27680 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27681 (__SYSCALL_SLONG_TYPE): Likewise.
27682 (__SYSCALL_ULONG_TYPE): Likewise.
27683 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
27684 (__SYSCALL_SLONG_TYPE): Likewise.
27685 (__SYSCALL_ULONG_TYPE): Likewise.
27686 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27687 (__SYSCALL_SLONG_TYPE): Likewise.
27688 (__SYSCALL_ULONG_TYPE): Likewise.
27689
85736dc7
L
276902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27691
27692 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
27693 Add sigaltstack-offsets.sym.
27694 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
27695 <sigaltstack-offsets.h>.
27696 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
27697 longjmp_msg pointer.
27698 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
27699 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
27700 signal stack.
27701 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
27702
cc03b296
JM
277032012-05-15 Joseph Myers <joseph@codesourcery.com>
27704
a9538892
JM
27705 * elf/stackguard-macros.h: Remove file.
27706 * sysdeps/generic/stackguard-macros.h: New file.
27707 * sysdeps/i386/stackguard-macros.h: Likewise.
27708 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
27709 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
27710 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
27711 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
27712 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
27713 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
27714 * sysdeps/x86_64/stackguard-macros.h: Likewise.
27715 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
27716 <elf/stackguard-macros.h>.
27717
cc03b296
JM
27718 [BZ #14109]
27719 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
27720 __aligned__ in attribute.
27721 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
27722 (gregset_t): Likewise.
27723
93171016
L
277242012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27725
27726 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
27727 * sysdeps/x86_64/64/Implies-after: Here. New file.
27728 * sysdeps/x86_64/x32/Implies-after: New file.
27729
d86813a0
L
277302012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27731
27732 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
27733 and access return value for _dl_profile_fixup. Use R10_LP to
27734 load frame size.
27735
2953ec75
L
277362012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27737
27738 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
27739
3b550e9e
L
277402012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27741
27742 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
27743 * sysdeps/x86_64/x32/sysdep.h: New file.
27744
eda41706
L
277452012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27746
27747 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
27748 * sysdeps/x86_64/setjmp.S: Likewise.
27749
9ea01d93
AZ
277502012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27751
27752 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
27753 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
27754 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
27755 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
27756 remove unused global constant.
27757
02a91938
CM
277582012-05-15 Chris Metcalf <cmetcalf@tilera.com>
27759
27760 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
27761 include of <not-cancel.h>.
27762
6540185f
RM
277632012-05-15 Roland McGrath <roland@hack.frob.com>
27764
27765 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
27766
509072a0
AJ
277672012-05-15 Jeff Law <law@redhat.com>
27768 Andreas Jaeger <aj@suse.de>
27769
27770 [BZ #13594]
27771 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
27772 out from...
27773 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
27774 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
27775 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
27776 code changing __hst_map_handle.map.
27777
ba75122d
RM
277782012-05-15 Roland McGrath <roland@hack.frob.com>
27779
27780 * configure.in (sysnames): Look for Implies-before and Implies-after
27781 files.
27782 * configure: Regenerated.
27783
890d8bd8
L
277842012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27785
27786 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
27787 8-byte data alignment with LP_SIZE alignment.
27788
f6ee6623
L
277892012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27790
27791 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
27792 into R10_LP.
27793
ea2626f6
L
277942012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27795
27796 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
27797
085f715e
L
277982012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27799
27800 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
27801 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
27802 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
27803 Likewise.
27804 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
27805
be8498fc
L
278062012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27807
27808 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
27809 (stackinfo_sub_sp): Likewise.
27810
70bc83b9
L
278112012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27812
27813 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
27814 RAX_LP.
27815
9bc0b730
L
278162012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27817
27818 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
27819 into R*_LP.
27820
6d2850e7
L
278212012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27822
27823 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
27824 sizes into R*_LP.
27825
3cb84561
L
278262012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27827
27828 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
27829
54e2ed81
L
278302012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27831
27832 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
27833 into R11_LP and load __x86_64_shared_cache_size_half into
27834 R8_LP.
27835
8a17f349
L
278362012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27837
27838 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
27839 R8_LP.
27840
777b1eea
AZ
278412012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27842
27843 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
27844 logb for POWER7.
27845 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
27846 logbf for POWER7.
27847 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
27848 logbl for POWER7.
27849 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
27850 powerpc32/power7/fpu/s_logb.c via #include.
27851 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
27852 powerpc32/power7/fpu/s_logbf.c via #include.
27853 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
27854 powerpc32/power7/fpu/s_logbl.c via #include.
27855
d20d4ac2
JM
278562012-05-15 Joseph Myers <joseph@codesourcery.com>
27857
27858 * README.libm: Remove file.
27859
6cdef1ab
L
278602012-05-14 H.J. Lu <hongjiu.lu@intel.com>
27861
27862 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
27863 count for x32. Use R*_LP and omit operand-size suffix.
27864
0b254d8f
L
278652012-05-14 H.J. Lu <hongjiu.lu@intel.com>
27866
27867 * shlib-versions: Move x86_64-.*-linux.* entries to ...
27868 * sysdeps/x86_64/64/shlib-versions: Here. New file.
27869 * sysdeps/x86_64/x32/shlib-versions: New file.
27870
ceb809dc
RM
278712012-05-14 Roland McGrath <roland@hack.frob.com>
27872
27873 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
27874 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
27875 Use _dl_fatal_printf instead.
27876
37f1abd4
JM
278772012-05-14 Joseph Myers <joseph@codesourcery.com>
27878
27879 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
27880 set if not set by the user. Do not allow for being unset.
27881 * sysdeps/unix/sysv/linux/configure: Regenerated.
27882
11de3a33
L
278832012-05-14 H.J. Lu <hongjiu.lu@intel.com>
27884
27885 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
27886 the `q' suffix from lea and replace .quad with ASM_ADDR.
27887
e02f153a
L
278882012-05-14 H.J. Lu <hongjiu.lu@intel.com>
27889
27890 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
27891 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
27892 instead of $17.
27893 (PTR_DEMANGLE): Likewise.
27894
520ae0fd
L
278952012-05-14 H.J. Lu <hongjiu.lu@intel.com>
27896
27897 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
27898 (LP_OP): Likewise.
27899 (ASM_ADDR): Likewise.
27900 (RAX_LP): Likewise.
27901 (RBP_LP): Likewise.
27902 (RBX_LP): Likewise.
27903 (RCX_LP): Likewise.
27904 (RDI_LP): Likewise.
27905 (RSI_LP): Likewise.
27906 (RSP_LP): Likewise.
27907 (R8_LP): Likewise.
27908 (R9_LP): Likewise.
27909 (R10_LP): Likewise.
27910 (R10_LP): Likewise.
27911 (R11_LP): Likewise.
27912 (R12_LP): Likewise.
27913 (R13_LP): Likewise.
27914 (R14_LP): Likewise.
27915 (R15_LP): Likewise.
27916
b985be81
L
279172012-05-14 H.J. Lu <hongjiu.lu@intel.com>
27918
27919 * sysdeps/x86_64/x32/dl-machine.h: New file.
27920
6a4888ff
AJ
279212012-05-14 Andreas Jaeger <aj@suse.de>
27922
27923 * manual/Makefile (subdir): Remove export of subdir.
27924 (all): Remove target.
27925 (.PHONY): Remove all from list.
27926 (mkinstalldirs): Remove.
27927 (.PHONY): Remove installdirs from list.
27928 ($(inst_infodir)/libc.info): Use make-target-directory.
27929 (installdirs): Remove.
27930 (subdir_%): Remove.
27931 (glibc-targets): Remove.
27932 (lib): Remove.
27933 (stubs): Remove.
27934 ($(objpfx)stubs ../po/manual.pot): Remove.
27935 ($(objpfx)stamp%): Remove.
27936 (make-target-directory): Remove.
27937 (subdir_install): Remove.
27938 (routines): Remove.
27939 (aux): Remove.
27940 (sources): Remove.
27941 (objects): Remove.
27942 (headers): Remove.
27943
27944 [BZ #13750]
27945 * manual/.gitignore: Remove, it's not needed anymore.
27946 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
27947 all files in it.
27948 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
27949 directory.
27950 (texis): Renamed to $(objpfx)texis.
27951 (texis-path): New, contains path to generated files.
27952 (chapters.%): Use texis-path for complete path, add extra argument
27953 libc-texinfo.sh.
27954 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
27955 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
27956 (summary,texi, stamp-summary): Use complete path of
27957 files. Generate files in build dir.
27958 (dir-add.texi): Build in build dir.
27959 (libm-err.texi,stamp-libm-err): Likewise.
27960 (version.texi, stamp-version): Likewise.
27961 (.%c.texi): Likewise.
27962 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
27963 (mostlyclean): Remove target.
27964 (realclean): Remove target.
27965 (generated): Add new variable with contents from mostlyclean and
27966 realclean, remove entries duplicated in common-mostlyclean, add
27967 stamp-libm-err and stamp-version.
27968 (generated-dirs): Add libc directory.
27969 ($(inst_infodir)/libc.info): Install files from build dir.
27970
27971 * manual/install.texi (Configuring and compiling): Adjust since
27972 the info files are not part of the tar ball anymore.
27973
7ac77294
AJ
279742012-05-14 Andreas Jaeger <aj@suse.de>
27975
27976 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
27977 variable.
27978
ffb7875d
JM
279792012-05-14 Joseph Myers <joseph@codesourcery.com>
27980
27981 [BZ #13717]
27982 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
27983 to 2.2.0 where earlier.
27984 * sysdeps/unix/sysv/linux/configure: Regenerated.
27985 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
27986 Remove conditional code.
27987 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
27988 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
27989 Remove conditional code.
27990 [!__NR_lchown]: Likewise.
27991 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
27992 [__NR_lchown]: Likewise.
27993 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
27994 comment referencing __ASSUME_LCHOWN_SYSCALL.
27995 * sysdeps/unix/sysv/linux/i386/sigaction.c
27996 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
27997 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
27998 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
27999 Remove conditional code.
28000 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
28001 (__protocol_available): Remove #if 0 code.
28002 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
28003 conditional code.
28004 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
28005 * sysdeps/unix/sysv/linux/kernel-features.h
28006 (__ASSUME_GETCWD_SYSCALL): Don't define.
28007 (__ASSUME_REALTIME_SIGNALS): Likewise.
28008 (__ASSUME_PREAD_SYSCALL): Likewise.
28009 (__ASSUME_PWRITE_SYSCALL): Likewise.
28010 (__ASSUME_POLL_SYSCALL): Likewise.
28011 (__ASSUME_LCHOWN_SYSCALL): Likewise.
28012 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
28013 non-SPARC.
28014 (__ASSUME_SIOCGIFNAME): Don't define.
28015 (__ASSUME_MSG_NOSIGNAL): Likewise.
28016 (__ASSUME_SENDFILE): Define unconditionally.
28017 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
28018 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
28019 conditional code.
28020 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
28021 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
28022 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
28023 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
28024 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
28025 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
28026 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
28027 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
28028 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
28029 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
28031 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
28032 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
28034 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28035 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28036 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
28037 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28038 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
28040 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
28041 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
28043 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
28044 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
28046 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28047 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
28049 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28050 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28051 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
28052 Remove conditional code.
28053 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28054 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
28055 Remove conditional code.
28056 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28057 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
28058 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
28059 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
28060 Remove conditional code.
28061 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28062 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
28063 Remove conditional code.
28064 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28065 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
28066 Remove conditional code.
28067 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28068 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
28069 Remove conditional code.
28070 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28071 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
28072 Remove conditional code.
28073 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28074 * sysdeps/unix/sysv/linux/sh/pwrite64.c
28075 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28076 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28077 * sysdeps/unix/sysv/linux/sigaction.c
28078 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28079 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28080 * sysdeps/unix/sysv/linux/sigpending.c
28081 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28082 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28083 * sysdeps/unix/sysv/linux/sigprocmask.c
28084 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28085 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28086 * sysdeps/unix/sysv/linux/sigsuspend.c
28087 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28088 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28089 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
28090 (__libc_missing_rt_sigs): Remove.
28091 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
28092 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
28093 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
28094 Remove conditional code.
28095 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
28096 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
28097 return 1.
28098 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
28099 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
28100 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
28101 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
28102
1bfb7291
AJ
281032012-05-14 Andreas Jaeger <aj@suse.de>
28104
caae5a81
AJ
28105 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
28106 it's not used in glibc.
28107 (__coshm1): Likewise.
28108 (__acosh1p): Likewise.
28109 (__sgn): Likewise.
28110
1bfb7291
AJ
28111 * manual/string.texi (Copying and Concatenation): Add missing
28112 variable in concat example.
28113 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
28114
c044d724
L
281152012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28116
144c5467 28117 [BZ #14103]
c044d724
L
28118 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
28119 __builtin_clzl with __builtin_clzll.
28120
2523c62b
L
281212012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28122
28123 [BZ #14104]
28124 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
28125 libc_freeres_ptr.
28126
d7bb4c42
LD
281272012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28128
28129 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
28130 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
28131 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
28132 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
28133
9dc4e1fb
MF
281342012-05-14 Mike Frysinger <vapier@gentoo.org>
28135
28136 * NEWS: Update ia64 info.
28137
c7df0112
AS
281382012-05-12 Andreas Schwab <schwab@linux-m68k.org>
28139
28140 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
28141 used as bcopy.
28142
dc70356c
TS
281432012-05-12 Thomas Schwinge <thomas@codesourcery.com>
28144
28145 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
28146 * sysdeps/unix/syscalls.list (dup3): Likewise.
28147 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
28148 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
28149
9fb1a21f
L
281502012-05-11 H.J. Lu <hongjiu.lu@intel.com>
28151
28152 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
28153 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
28154
4822a2a5
L
281552012-05-11 H.J. Lu <hongjiu.lu@intel.com>
28156
28157 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
28158 thread pointer.
28159 (TLS_IE): Use mov/add instead of movq/addq to load thread
28160 pointer.
28161 (TLS_GD_PREFIX): New.
28162 (TLS_GD): Use it.
28163
842b81d6
DM
281642012-05-11 David S. Miller <davem@davemloft.net>
28165
28166 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
28167 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
28168 (_FPU_SETCW): Likewise.
28169
1cf463cd
L
281702012-05-10 H.J. Lu <hongjiu.lu@intel.com>
28171
28172 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
28173 is 32-byte aligned.
28174
60cc4a18
AS
281752012-05-11 Andreas Schwab <schwab@linux-m68k.org>
28176
28177 [BZ #11837]
28178 * iconvdata/gb18030.c: Update tables.
28179 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
28180 characters specially.
28181 (BODY for TO_LOOP): Add encoding of missing ranges.
28182
febb44a4
TS
281832012-05-11 Thomas Schwinge <thomas@codesourcery.com>
28184
28185 [BZ #13673]
28186 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
28187 * sysdeps/mach/hurd/dup3.c: Likewise.
28188 * sysdeps/mach/hurd/readlinkat.c: Likewise.
28189 * sysdeps/powerpc/memmove.c:: Likewise.
28190
0a10fb9e
L
281912012-05-10 H.J. Lu <hongjiu.lu@intel.com>
28192
28193 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
28194 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
28195
df8a552f
L
281962012-05-10 H.J. Lu <hongjiu.lu@intel.com>
28197
28198 * elf/elf.h (R_X86_64_RELATIVE64): New.
28199 (R_X86_64_NUM): Updated.
28200 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
28201 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
28202 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
28203 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
28204 tst-quad1pie tst-quad2pie
28205 (modules-names): Add tst-quadmod1 tst-quadmod2.
28206 ($(objpfx)tst-quad1): New dependency.
28207 ($(objpfx)tst-quad2): Likewise.
28208 ($(objpfx)tst-quad1pie): Likewise.
28209 ($(objpfx)tst-quad2pie): Likewise.
28210 * sysdeps/x86_64/tst-quad1.c: New file.
28211 * sysdeps/x86_64/tst-quad1pie.c: New file.
28212 * sysdeps/x86_64/tst-quad2.c: Likewise.
28213 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
28214 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
28215 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
28216 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
28217 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
28218
f34d6f84
ST
282192012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28220
f42d41d1
ST
28221 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
28222 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
28223 * streams/stropts.h (t_scalar_t): Define type.
28224
3c3571fc
ST
28225 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
28226 (_PATH_PRESERVE): Set to "/var/lib".
28227 (_PATH_RWHODIR): Set to "/var/spool/rwho".
28228
61f06bd3
ST
28229 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
28230 instead of int.
28231
918d4d71
ST
28232 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
28233 if __dir_mkfile succeeded.
28234
f34d6f84
ST
28235 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
28236 checking for _hurd_dtablesize. Unlock it right after having
28237 finished _hurd_dtable allocation.
28238
10589b4a
TS
282392012-05-10 Thomas Schwinge <thomas@schwinge.name>
28240
674cdbc7
TS
28241 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
28242 * sysdeps/mach/hurd/configure: Regenerated.
28243 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
28244 special-casing to...
28245 * sysdeps/gnu/configure.in: ... this new file.
28246 * sysdeps/unix/sysv/linux/configure: Regenerated.
28247 * sysdeps/gnu/configure: New generated file.
28248
8e41b99f
TS
28249 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
28250 for Linux: use nsec instead of usec, as well as:
28251 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
28252 members of type struct timespec.
28253 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
28254 New macros.
28255 (struct stat64): Likewise.
28256 (_STATBUF_ST_NSEC): New macro.
28257 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
28258
10589b4a
TS
28259 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
28260 __strtoul_internal rather than strtoul.
28261
63643c85
PT
282622012-05-10 Pino Toscano <toscano.pino@tiscali.it>
28263
28264 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
28265 and reject them.
28266
3faebe6a
ST
282672012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28268
28269 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
28270 which preserves existing values.
28271 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
28272
c6474b07
PT
282732012-05-10 Pino Toscano <toscano.pino@tiscali.it>
28274
28275 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
28276 TIMEOUT values. Return EINVAL for NFDS values either negative or
28277 greater than FD_SETSIZE.
28278
1043890b
ST
282792012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28280
28281 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
28282 allocated, call __vm_protect to finish enabling the existing space, and
28283 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
28284 allocate the remainder.
28285
37ed8b9b
PT
282862012-05-10 Pino Toscano <toscano.pino@tiscali.it>
28287
28288 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
28289 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
28290
db653660
ST
282912012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28292
37ed8b9b
PT
28293 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
28294 sysdeps/mach/hurd/readlink.c.
b29d4053 28295
db653660
ST
28296 * posix/tst-sysconf.c (posix_options): Only use
28297 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
28298 _POSIX_SYNCHRONIZED_IO when they are defined
28299 * sysdeps/mach/hurd/bits/posix_opt.h:
28300 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
28301 (_XOPEN_REALTIME): Undefine macro.
28302 (_XOPEN_REALTIME_THREADS): Undefine macro.
28303 (_XOPEN_SHM): Undefine macro.
28304 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
28305 macro to -1.
28306 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
28307 macro to -1.
28308 (_POSIX_ASYNC_IO): Undefine macro.
28309 (_POSIX_PRIORITIZED_IO): Undefine macro.
28310 (_POSIX_SPIN_LOCKS): Define macro to -1.
28311
ee16e894
ST
28312 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
28313 SA_NODEFER, SA_RESETHAND.
28314 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
28315 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
28316 F_DUPFD_CLOEXEC.
28317
6103ae3b
TS
283182012-05-10 Thomas Schwinge <thomas@schwinge.name>
28319
28320 * elf/Makefile (pldd-modules): Define unconditionally.
28321
80b4e5f3
TS
283222012-05-10 Thomas Schwinge <thomas@schwinge.name>
28323
28324 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
28325
edadcbd6
ST
283262012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28327
28328 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
28329 Return ENOENT when name is empty.
28330 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
28331
80694780
TS
283322012-05-10 Thomas Schwinge <thomas@schwinge.name>
28333
1792c087
TS
28334 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
28335
80694780
TS
28336 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
28337
6b645f0d
ST
283382012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28339
80694780
TS
28340 Fix mlock in all cases except non-readable pages.
28341 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
28342 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 28343
6b645f0d
ST
28344 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
28345 (__mkdir): When path is `/', just fail with EEXIST.
28346 * sysdeps/mach/hurd/mkdirat.c: Likewise.
28347
e468f8a3
TS
283482012-05-10 Thomas Schwinge <thomas@schwinge.name>
28349
28350 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
28351 <sys/uio.h> (for writev).
28352 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
28353 and <sys/param.h> (for MIN).
28354
a4186cff
PT
283552012-05-10 Pino Toscano <toscano.pino@tiscali.it>
28356
28357 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
28358 REQUESTED_TIME. Properly set the remaining time and return EINTR
28359 if interrupted.
28360
510bbf14
TS
283612012-05-10 Thomas Schwinge <thomas@schwinge.name>
28362
28363 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
28364 Depend on against $(link-rpcuserlibs).
28365
5d5722e8
ST
283662012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28367
a4186cff
PT
28368 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
28369 (__libc_stack_end): Do not use attribute_relro.
28370 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
28371 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 28372 to libthread-provided value.
a4186cff
PT
28373 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
28374 attribute_relro.
5d5722e8 28375
37233df9
TS
283762012-05-10 Thomas Schwinge <thomas@schwinge.name>
28377
be971a2b
TS
28378 [BZ #3748]
28379 * bits/libc-lock.h (__libc_once_get): New macro.
28380 * sysdeps/mach/bits/libc-lock.h: Likewise.
28381 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
28382 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
28383 instead of using implementation details.
28384
37233df9
TS
28385 * libio/fileops.c: Unconditionally include <kernel-features.h>.
28386 * libio/freopen.c: Likewise.
28387 * libio/freopen64.c: Likewise.
28388 * misc/syslog.c: Likewise.
28389 * nscd/connections.c: Likewise.
28390 * nscd/netgroupcache.c: Likewise.
28391 * sysdeps/posix/getcwd.c: Likewise.
28392
38de94a5
RM
283932012-05-10 Roland McGrath <roland@hack.frob.com>
28394
28395 * math/w_ilogbf.c: Add #include <limits.h>.
28396
67530489
ST
283972012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28398
a4186cff 28399 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
28400 path instead of returning without unlocking.
28401
67530489
ST
28402 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
28403 immediate-write ioctls.
28404 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
28405
5aa3a74a
TS
284062012-05-10 Thomas Schwinge <thomas@schwinge.name>
28407
18bad2ae
TS
28408 * sysdeps/mach/hurd/i386/init-first.c (init): Use
28409 __builtin_frame_address instead of making assumptions about the
28410 location of the return address relative to DATA. Force early load of
28411 the return address.
28412 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
28413 __builtin_frame_address.
28414
5aa3a74a
TS
28415 dup3 for GNU Hurd.
28416 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
28417 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
28418 implement dup3 and do some further code clean-ups.
28419 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
28420 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
28421
ecd0de9a
ST
284222012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28423
cd9fa985
ST
28424 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
28425
a4186cff
PT
28426 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
28427 HURD_CRITICAL_END around holding _hurd_dtable_lock.
28428 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
28429 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
28430 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
28431 d->port.lock.
802ca5a5 28432
a4186cff
PT
28433 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
28434 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
28435 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 28436
bcf55240
TS
284372012-05-10 Thomas Schwinge <thomas@schwinge.name>
28438
6960eb42
TS
28439 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
28440 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
28441 definitions.
28442
eb43375f
TS
28443 accept4 for GNU Hurd.
28444 * include/sys/socket.h (__libc_accept4): New prototype.
28445 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
28446 to implement __libc_accept4.
28447 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
28448 __libc_accept4.
28449 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
28450
bcf55240
TS
28451 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
28452 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
28453 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
28454 signal-defines.sym.
28455
6178c55b
ST
284562012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28457
a4186cff 28458 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 28459
6f080c2f
TS
284602012-05-10 Thomas Schwinge <thomas@schwinge.name>
28461
28462 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
28463 assertion on O_CLOEXEC flag.
28464 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
28465 * hurd/intern-fd.c: Likewise.
28466 * hurd/port2fd.c: Likewise.
28467
bcfe3a54
ST
284682012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28469
28470 [BZ #3906]
28471 * bits/in.h (IPV6_PKTINFO): Define new macro.
28472 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
28473
89c9aa49
AZ
284742012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28475
28476 [BZ #13954]
28477 [BZ #13955]
28478 [BZ #13956]
28479 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
28480 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
28481 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
28482 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
28483 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
28484 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
28485 * math/libm-test.inc (logb_test) : Additional logb tests.
28486
021db4be
AJ
284872012-05-09 Andreas Schwab <schwab@linux-m68k.org>
28488 Andreas Jaeger <aj@suse.de>
28489
28490 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
28491 * configure: Regenerated.
28492 * config.h.in (LINK_OBSOLETE_RPC): New macro.
28493 * config.make.in (link-obsolete-rpc): New substituted variable.
28494 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
28495 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
28496 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
28497 (shared-only-routines): Don't set it under [link-obsolete-rpc],
28498 so that libc.a contains the symbols.
28499 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
28500 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
28501 * sunrpc/auth_none.c: Likewise.
28502 * sunrpc/auth_unix.c: Likewise.
28503 * sunrpc/authdes_prot.c: Likewise.
28504 * sunrpc/authuxprot.c: Likewise.
28505 * sunrpc/clnt_gen.c: Likewise.
28506 * sunrpc/clnt_perr.c: Likewise.
28507 * sunrpc/clnt_raw.c: Likewise.
28508 * sunrpc/clnt_simp.c: Likewise.
28509 * sunrpc/clnt_tcp.c: Likewise.
28510 * sunrpc/clnt_udp.c: Likewise.
28511 * sunrpc/clnt_unix.c: Likewise.
28512 * sunrpc/des_crypt.c: Likewise.
28513 * sunrpc/des_soft.c: Likewise.
28514 * sunrpc/get_myaddr.c: Likewise.
28515 * sunrpc/key_call.c: Likewise.
28516 * sunrpc/key_prot.c: Likewise.
28517 * sunrpc/netname.c: Likewise.
28518 * sunrpc/pm_getmaps.c: Likewise.
28519 * sunrpc/pm_getport.c: Likewise.
28520 * sunrpc/pmap_clnt.c: Likewise.
28521 * sunrpc/pmap_prot.c: Likewise.
28522 * sunrpc/pmap_prot2.c: Likewise.
28523 * sunrpc/pmap_rmt.c: Likewise.
28524 * sunrpc/publickey.c: Likewise.
28525 * sunrpc/rpc_cmsg.c: Likewise.
28526 * sunrpc/rpc_common.c: Likewise.
28527 * sunrpc/rpc_dtable.c: Likewise.
28528 * sunrpc/rpc_prot.c: Likewise.
28529 * sunrpc/rpc_thread.c: Likewise.
28530 * sunrpc/rtime.c: Likewise.
28531 * sunrpc/svc.c: Likewise.
28532 * sunrpc/svc_auth.c: Likewise.
28533 * sunrpc/svc_raw.c: Likewise.
28534 * sunrpc/svc_run.c: Likewise.
28535 * sunrpc/svc_tcp.c: Likewise.
28536 * sunrpc/svc_udp.c: Likewise.
28537 * sunrpc/svc_unix.c: Likewise.
28538 * sunrpc/svcauth_des.c: Likewise.
28539 * sunrpc/xcrypt.c: Likewise.
28540 * sunrpc/xdr.c: Likewise.
28541 * sunrpc/xdr_array.c: Likewise.
28542 * sunrpc/xdr_float.c: Likewise.
28543 * sunrpc/xdr_intXX_t.c: Likewise.
28544 * sunrpc/xdr_mem.c: Likewise.
28545 * sunrpc/xdr_rec.c: Likewise.
28546 * sunrpc/xdr_ref.c: Likewise.
28547 * sunrpc/xdr_sizeof.c: Likewise.
28548 * sunrpc/xdr_stdio.c: Likewise.
28549
b5c086a2
RM
285502012-05-10 Roland McGrath <roland@hack.frob.com>
28551
28552 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
28553 change. Update copyright years.
28554
6d74dd09
JM
285552012-05-10 Joseph Myers <joseph@codesourcery.com>
28556
28557 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
28558
28e72501
MK
285592012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
28560 Joseph Myers <joseph@codesourcery.com>
28561 Paul Pluzhnikov <ppluzhnikov@google.com>
28562
28563 [BZ #14012]
28564 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
28565 requiring rpcgen.
28566 [cross-compiling] (extra-libs): Likewise.
28567 [cross-compiling] (extra-libs-others): Likewise.
28568 [cross-compiling] (librpcsvc-routines): Likewise.
28569 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
28570 [cross-compiling] (omit-deps): Likewise.
28571 (sunrpc-CPPFLAGS): New variable.
28572 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
28573 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
28574 (cross-rpcgen-objs): New variable.
28575 (extra-objs): Append $(cross-rpcgen-objs).
28576 ($(cross-rpcgen-objs)): New rule.
28577 ($(objpfx)cross-rpcgen): Likewise.
28578 (rpcgen-cmd): Define to use $(built-program-file). Expand
28579 comment.
28580 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
28581 ($(objpfx)x%.stmp): Likewise.
28582 * sunrpc/proto.h [IS_IN_build] (_): Define.
28583 [IS_IN_build] (_libc_intl_domainname): Likewise.
28584
c8c59454
L
285852012-05-10 H.J. Lu <hongjiu.lu@intel.com>
28586
28587 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
28588 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
28589 and R_X86_64_TPOFF64.
28590
6f27cd16
JM
285912012-05-10 Joseph Myers <joseph@codesourcery.com>
28592
28593 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
28594 sysdeps/unix/sysv/syscalls.list.
28595 (stime): Likewise.
28596 (utime): Likewise.
28597 * sysdeps/unix/sysv/syscalls.list: Remove file.
28598
02467e1c
PE
285992012-05-10 Paul Eggert <eggert@cs.ucla.edu>
28600
28601 [BZ #3440]
28602 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
28603 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
28604 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
28605 (__LC_IDENTIFICATION): Make these macros useful in #if
28606 expressions, as required by C99.
28607
da392631
AS
286082012-05-10 Andreas Schwab <schwab@linux-m68k.org>
28609
28610 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
28611 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
28612 after this.
28613
8115f29b
L
286142012-05-09 H.J. Lu <hongjiu.lu@intel.com>
28615
28616 * stdlib/longlong.h: Updated from GCC.
28617
bdd74070
AJ
286182012-05-09 Andreas Jaeger <aj@suse.de>
28619
edfe0dbe
AJ
28620 * nscd/nscd.c (run_modes): Make named enum, reorder so that
28621 default is first entry.
28622 (run_mode): Set type.
28623 (main): Remove informal message about syslog.
28624 (options): Fix typo.
28625
bcfe3a54
ST
28626 [BZ #14053]
28627 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 28628 to asm.
bcfe3a54
ST
28629 (lrint): Likewise.
28630 (llrintf): Likewise.
28631 (llrint): Likewise.
28632 (rint): Likewise.
28633 (rintf): Likewise.
28634 (nearbyint): Likewise.
28635 (nearbyintf): Likewise.
bdd74070 28636
91d8d69e
AJ
286372012-05-09 Andreas Jaeger <aj@suse.de>
28638 Pedro Alves <palves@redhat.com>
28639
28640 * nscd/nscd.c (run_mode): Use enum.
28641 (main): Cleanup coding style issue.
28642
bb90b80b
AJ
286432012-05-09 Alexandre Oliva <aoliva@redhat.com>
28644 Andreas Jaeger <aj@suse.de>
28645
bcfe3a54
ST
28646 * nscd/nscd.c (go_background): Replaced with...
28647 (run_mode): ... this.
bb90b80b 28648 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
28649 (options): Add -F --foreground.
28650 (main): Implement it.
28651 (parse_opt): Parse it.
bb90b80b 28652
1a4b75a1
AJ
286532012-05-09 Andreas Jaeger <aj@suse.de>
28654
28655 [BZ #14083]
28656 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
28657 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
28658 -Wconversion warning.
28659 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
28660 Likewise.
28661
b1cc2472
JM
286622012-05-09 Joseph Myers <joseph@codesourcery.com>
28663
28664 * conform/data/locale.h-data (NULL): Use macro-constant. Require
28665 == 0.
28666 (LC_ALL): Use macro-int-constant.
28667 (LC_COLLATE): Likewise.
28668 (LC_CTYPE): Likewise.
28669 (LC_MESSAGES): Likewise.
28670 (LC_MONETARY): Likewise.
28671 (LC_NUMERIC): Likewise.
28672 (LC_TIME): Likewise.
28673 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
28674 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
28675 [ISO || ISO99 || ISO11] (*_t): Do not allow.
28676 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
28677 Specify type.
28678 [C99-based standards] (float_t): Expect type.
28679 [C99-based standards] (double_t): Expect type.
28680 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
28681 type.
28682 [C99-based standards] (HUGE_VALL): Likewise.
28683 [C99-based standards] (INFINITY): Likewise.
28684 [C99-based standards] (NAN): Likewise.
28685 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
28686 [C99-based standards] (FP_NAN): Likewise.
28687 [C99-based standards] (FP_NORMAL): Likewise.
28688 [C99-based standards] (FP_SUBNORMAL): Likewise.
28689 [C99-based standards] (FP_ZERO): Likewise.
28690 [C99-based standards] (FP_FAST_FMA): Use
28691 optional-macro-int-constant. Specify type. Require == 1.
28692 [C99-based standards] (FP_FAST_FMAF): Likewise.
28693 [C99-based standards] (FP_FAST_FMAL): Likewise.
28694 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
28695 [C99-based standards] (FP_ILOGBNAN): Likewise.
28696 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
28697 Specify type.
28698 [C99-based standards] (MATH_ERREXCEPT): Likewise.
28699 [C99-based standards] (math_errhandling): Specify type.
28700 [ISO99 || ISO11] (signgam): Do not allow.
28701 [non-C99-based standards] (copysignf): Do not allow.
28702 [non-C99-based standards] (exp2f): Likewise.
28703 [non-C99-based standards] (log2f): Likewise.
28704 [non-C99-based standards] (modff): Allow.
28705 [non-C99-based standards] (erff): Do not allow.
28706 [non-C99-based standards] (erfcf): Likewise.
28707 [non-C99-based standards] (gammaf): Likewise.
28708 [non-C99-based standards] (hypotf): Likewise.
28709 [non-C99-based standards] (j0f): Likewise.
28710 [non-C99-based standards] (j1f): Likewise.
28711 [non-C99-based standards] (jnf): Likewise.
28712 [non-C99-based standards] (lgammaf): Likewise.
28713 [non-C99-based standards] (tgammaf): Likewise.
28714 [non-C99-based standards] (y0f): Likewise.
28715 [non-C99-based standards] (y1f): Likewise.
28716 [non-C99-based standards] (ynf): Likewise.
28717 [non-C99-based standards] (isnanf): Likewise.
28718 [non-C99-based standards] (acoshf): Likewise.
28719 [non-C99-based standards] (asinhf): Likewise.
28720 [non-C99-based standards] (atanhf): Likewise.
28721 [non-C99-based standards] (cbrtf): Likewise.
28722 [non-C99-based standards] (expm1f): Likewise.
28723 [non-C99-based standards] (ilogbf): Likewise.
28724 [non-C99-based standards] (log1pf): Likewise.
28725 [non-C99-based standards] (logbf): Likewise.
28726 [non-C99-based standards] (nextafterf): Likewise.
28727 [non-C99-based standards] (remainderf): Likewise.
28728 [non-C99-based standards] (rintf): Likewise.
28729 [non-C99-based standards] (scalbf): Likewise.
28730 [non-C99-based standards] (copysignl): Likewise.
28731 [non-C99-based standards] (exp2l): Likewise.
28732 [non-C99-based standards] (log2l): Likewise.
28733 [non-C99-based standards] (modfl): Allow.
28734 [non-C99-based standards] (erfl): Do not allow.
28735 [non-C99-based standards] (erfcl): Likewise.
28736 [non-C99-based standards] (gammal): Likewise.
28737 [non-C99-based standards] (hypotl): Likewise.
28738 [non-C99-based standards] (j0l): Likewise.
28739 [non-C99-based standards] (j1l): Likewise.
28740 [non-C99-based standards] (jnl): Likewise.
28741 [non-C99-based standards] (lgammal): Likewise.
28742 [non-C99-based standards] (tgammal): Likewise.
28743 [non-C99-based standards] (y0l): Likewise.
28744 [non-C99-based standards] (y1l): Likewise.
28745 [non-C99-based standards] (ynl): Likewise.
28746 [non-C99-based standards] (isnanl): Likewise.
28747 [non-C99-based standards] (acoshl): Likewise.
28748 [non-C99-based standards] (asinhl): Likewise.
28749 [non-C99-based standards] (atanhl): Likewise.
28750 [non-C99-based standards] (cbrtl): Likewise.
28751 [non-C99-based standards] (expm1l): Likewise.
28752 [non-C99-based standards] (ilogbl): Likewise.
28753 [non-C99-based standards] (log1pl): Likewise.
28754 [non-C99-based standards] (logbl): Likewise.
28755 [non-C99-based standards] (nextafterl): Likewise.
28756 [non-C99-based standards] (remainderl): Likewise.
28757 [non-C99-based standards] (rintl): Likewise.
28758 [non-C99-based standards] (scalbl): Likewise.
28759 [ISO || ISO99 || ISO11] (*_t): Do not allow.
28760 [non-C99-based standards] (FP_*): Do not allow.
28761 [C99-based standards] (FP_*): Change to
28762 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
28763 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
28764 allow.
28765 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
28766 (SIG_ERR): Likewise.
28767 [X/Open-based standards] (SIG_HOLD): Likewise.
28768 (SIG_IGN): Likewise.
28769 (SIGABRT): Use macro-int-constant. Specify type. Require
28770 positive value.
28771 (SIGFPE): Likewise.
28772 (SIGILL): Likewise.
28773 (SIGINT): Likewise.
28774 (SIGSEGV): Likewise.
28775 (SIGTER): Likewise.
28776 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
28777 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
28778 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
28779 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
28780 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
28781 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
28782 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
28783 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
28784 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
28785 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
28786 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
28787 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
28788 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
28789 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
28790 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
28791 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
28792 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
28793 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
28794 [X/Open-based standards] (SIGTRAP): Likewise.
28795 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
28796 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
28797 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
28798 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
28799 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
28800 allow.
28801
b9f1922d
IW
288022012-05-08 Ian Wienand <ianw@vmware.com>
28803
28804 [BZ #14080]
28805 * time/tzset.c (__tzset_parse_tz): Update default rules for
28806 daylight time changes in the Energy Policy Act of 2005.
28807
1db86e88
AJ
288082012-05-09 Andreas Jaeger <aj@suse.de>
28809
28810 [BZ #13983]
28811 * elf/ldconfig.c (parse_conf): Change string to make clear that
28812 ldconfig only issued a warning if ld.so.conf does not exist.
28813
dee4a4e3
DM
288142012-05-08 David S. Miller <davem@davemloft.net>
28815
ee0db190
DM
28816 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
28817 movxtod instead of popping the value on the stack.
28818
dee4a4e3
DM
28819 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28820
6a43ec98
CD
288212012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
28822
28823 * config.h.in: Add HAVE_ARM_PCS_VFP.
28824
05c2c961
RMG
288252012-05-08 Roland Mc Grath <roland@hack.frob.com>
28826
bcfe3a54
ST
28827 [BZ #13979]
28828 * include/features.h: Warn if user requests __FORTIFY_SOURCE
28829 checking but the checks are disabled for any reason.
05c2c961 28830
4b30f61a
L
288312012-05-08 H.J. Lu <hongjiu.lu@intel.com>
28832
28833 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
28834 and ELF64_R_TYPE with ELFW(R_TYPE).
28835
eee2bc67
JM
288362012-05-08 Joseph Myers <joseph@codesourcery.com>
28837
7ea5391a
JM
28838 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
28839 (ulimit): Likewise.
28840
eee2bc67
JM
28841 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
28842 (settimeofday): Likewise.
28843
abb66a67
MF
288442012-05-08 Mike Frysinger <vapier@gentoo.org>
28845
28846 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
28847 a struct th_u2 inside the union, and move tu_block/tu_code into
28848 a new th_u3 union of tu_block/tu_code inside of that. Move
28849 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
28850 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
28851 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
28852 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
28853 (th_stuff): Change to th_u1.tu_stuff.
28854 (th_data): Define.
28855 (th_msg): Change to th_u1.th_u2.tu_data.
28856
7f18b530
DM
288572012-05-07 David S. Miller <davem@davemloft.net>
28858
05760585
DM
28859 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28860
7f18b530
DM
28861 [BZ #14074]
28862 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
28863 (SETUP_PIC_REG): Use it.
28864 (SETUP_PIC_REG_LEAF): Use it.
28865
495fd99f
JM
288662012-05-07 Joseph Myers <joseph@codesourcery.com>
28867
28868 [BZ #13885]
28869 [BZ #13923]
28870 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
28871 USE_AS_EXPM1L.
28872 (EXPL_FINITE): Likewise.
28873 (FLDLOG): Likewise.
28874 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
28875 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
28876 e_expl.S.
28877 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
28878 USE_AS_EXPM1L.
28879 (EXPL_FINITE): Likewise.
28880 (FLDLOG): Likewise.
28881 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
28882 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
28883 e_expl.S.
28884 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
28885 test of -max_value argument for long double.
28886 * sysdeps/i386/fpu/libm-test-ulps: Update.
28887 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28888
6693d694
DM
288892012-05-06 David S. Miller <davem@davemloft.net>
28890
28891 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
28892 quad soft-float symbols whose references which are compiler
28893 generated.
28894 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
28895
6c23e11c
JM
288962012-05-06 Joseph Myers <joseph@codesourcery.com>
28897
d8b82cad
JM
28898 [BZ #13884]
28899 [BZ #13914]
28900 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
28901 USE_AS_EXP10L.
28902 (EXPL_FINITE): Likewise.
28903 (FLDLOG): Likewise.
28904 (c0): Likewise.
28905 (c1): Likewise.
28906 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
28907 Adjust comments for base varying.
28908 (__expl_finite): Change alias to EXPL_FINITE.
28909 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
28910 e_expl.S.
28911 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
28912 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
28913 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
28914 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
28915 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
28916 USE_AS_EXP10L.
28917 (EXPL_FINITE): Likewise.
28918 (FLDLOG): Likewise.
28919 (c0): Likewise.
28920 (c1): Likewise.
28921 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
28922 Adjust comments for base varying.
28923 (__expl_finite): Change alias to EXPL_FINITE.
28924 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
28925 tests for bugs.
28926 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28927
6c23e11c
JM
28928 [BZ #14064]
28929 * math/libm-test.inc (check_float_internal): Correct ulp
28930 calculation for subnormal expected results.
28931
29ba805c
AJ
289322012-05-06 Andreas Jaeger <aj@suse.de>
28933
28934 * Makeconfig (+math-flags): New, set to -frounding-math.
28935 (+cflags): Add +math-flags so that all of glibc gets compiled with
28936 it.
28937
28938 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
28939
7b17aeda
JM
289402012-05-05 Joseph Myers <joseph@codesourcery.com>
28941
5779f134
JM
28942 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
28943 Disable one test.
28944
41498f4d
JM
28945 [BZ #13787]
28946 [BZ #13922]
28947 [BZ #14036]
28948 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
28949 (__ieee754_expl): Allow for and saturate large arguments.
28950 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
28951 (u_threshold): Likewise.
28952 (__exp): Call __ieee754_exp before checking for overflow and
28953 underflow.
28954 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
28955 (u_threshold): Likewise.
28956 (__expf): Call __ieee754_expf before checking for overflow and
28957 underflow.
28958 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
28959 (u_threshold): Likewise.
28960 (__expl): Call __ieee754_expl before checking for overflow and
28961 underflow.
28962 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
28963 (__ieee754_expl): Allow for and saturate large arguments.
28964 * math/libm-test.inc (exp_test): Add another test. Do not allow
28965 missing overflow exception on overflow.
28966 (expm1_test): Do not allow missing overflow exception on overflow.
28967
6698b8bf
JM
28968 * sysdeps/i386/fpu/e_expl.c: Move to ...
28969 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
28970 rather than using inline asm.
28971 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
28972 * sysdeps/x86_64/fpu/e_expl.S: Copy from
28973 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
28974
7b17aeda
JM
28975 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
28976 (nice): Likewise.
28977 (poll): Likewise.
28978 (signal): Likewise.
28979 (time): Likewise.
28980 (times): Likewise.
28981
f7c85819
JM
289822012-05-04 Joseph Myers <joseph@codesourcery.com>
28983
28984 * sysdeps/unix/syscalls.list (adjtime): Add entry from
28985 sysdeps/unix/common/syscalls.list.
28986 (fchmod): Likewise.
28987 (fchown): Likewise.
28988 (ftruncate): Likewise.
28989 (getrusage): Likewise.
28990 (gettimeofday): Likewise.
28991 (setpgid): Likewise.
28992 (setregid): Likewise.
28993 (setreuid): Likewise.
28994 (sigaction): Likewise.
28995 (truncate): Likewise.
28996 (vhangup): Likewise.
28997 * sysdeps/unix/common/syscalls.list: Remove file.
28998 * sysdeps/unix/bsd/Implies: Don't include unix/common.
28999 * sysdeps/unix/sysv/linux/Implies: Likewise.
29000
336270d0
L
290012012-05-04 H.J. Lu <hongjiu.lu@intel.com>
29002
29003 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
29004 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
29005 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
29006 Moved to ...
29007 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
29008 Here.
29009 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
29010 to ...
29011 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
29012 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
29013 to ...
29014 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
29015 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
29016 to ...
29017 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
29018 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
29019 to ...
29020 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
29021 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
29022 to ...
29023 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
29024 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
29025 to ...
29026 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
29027 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
29028 to ...
29029 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
29030 Here.
29031 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
29032 to ...
29033 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
29034 Here.
29035 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
29036 to ...
29037 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
29038 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
29039 Moved to ...
29040 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
29041 Here.
29042 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
29043 to ...
29044 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
29045
d128e450
JM
290462012-05-04 Joseph Myers <joseph@codesourcery.com>
29047
fa8ee516
JM
29048 * sysdeps/unix/common/bits/dirent.h: Remove file.
29049 * sysdeps/unix/common/bits/fcntl.h: Likewise.
29050
d128e450
JM
29051 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
29052 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
29053 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
29054 * sysdeps/unix/bsd/isatty.c: Likewise.
29055 * sysdeps/unix/bsd/tcdrain.c: Likewise.
29056 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
29057 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
29058
ff8faaf0 290592012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 29060
62881be4 29061 [BZ #13563]
31dc8730
AZ
29062 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
29063 long double comparison inaccuracies.
29064 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
29065 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29066
6fef930c
AS
290672012-05-04 Andreas Schwab <schwab@linux-m68k.org>
29068
29069 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
29070 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
29071
8f203e6c
JM
290722012-05-04 Joseph Myers <joseph@codesourcery.com>
29073
29074 [BZ #14049]
29075 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
29076 nonzero digits before rounding a hex value.
29077 * stdlib/tst-strtod.c (tests): Add another test.
29078
5197d9c2
AK
290792012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29080
29081 * sysdeps/s390/fpu/libm-test-ulps: Update.
29082
f0c1dedf
AJ
290832012-05-03 Andreas Jaeger <aj@suse.de>
29084
29085 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
29086 does not get optimized out.
29087 (malloc_opt_barrier): New.
29088
a65ef2ae 290892012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 29090 Roland McGrath <roland@hack.frob.com>
a65ef2ae 29091
2b942cb7 29092 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 29093 intermediate file deletion.
2b942cb7 29094 (generated): Add .symlist files.
a65ef2ae 29095
54b71e02
JM
290962012-05-03 Joseph Myers <joseph@codesourcery.com>
29097
29098 [BZ #13775]
29099 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
29100 Redirect under this condition.
29101 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
29102 [__USE_GNU] (__dprintf_chk): Not under this condition.
29103 [__USE_GNU] (__vdprintf_chk): Likewise.
29104 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
29105 under this condition.
29106 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
29107 [__USE_XOPEN2K8] (dprintf): Define under this condition.
29108 [__USE_XOPEN2K8] (vdprintf): Likewise.
29109 [__USE_GNU] (__dprintf_chk): Not under this condition.
29110 [__USE_GNU] (__vdprintf_chk): Likewise.
29111 [__USE_GNU] (dprintf): Likewise.
29112 [__USE_GNU] (vdprintf): Likewise.
29113
d3dfcc41
RM
291142012-05-03 Roland McGrath <roland@hack.frob.com>
29115
29116 * elf/Makefile (common-generated): Set this instead of generated for
29117 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
29118 $(all-built-dso)-derived lists.
29119
7ac30cc5
AJ
291202012-05-03 Andreas Jaeger <aj@suse.de>
29121
0c51e550
AJ
29122 * sysdeps/i386/fpu/libm-test-ulps: Update.
29123
7ac30cc5
AJ
29124 * FAQ: Removed.
29125 * FAQ.in: Likewise.
29126 * scripts/gen-FAQ.pl: Likewise.
29127 * manual/install.texi (Installation): Point to online location of
29128 FAQ.
29129 * Makefile (files-for-dist): Remove FAQ.
29130 (FAQ): Remove.
29131
d4c2917f
AM
291322012-05-02 Allan McRae <allan@archlinux.org>
29133
29134 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
29135 (LDFLAGS-reldepmod5.so): Likewise.
29136 (LDFLAGS-reldep6mod1.so): Likewise.
29137 (LDFLAGS-reldep6mod4.so): Likewise.
29138 (LDFLAGS-reldep8mod3.so): Likewise.
29139 (LDFLAGS-unload4mod1.so): Likewise.
29140 (LDFLAGS-unload4mod2.so): Likewise.
29141 (LDFLAGS-tst-initorder): Likewise.
29142 (LDFLAGS-tst-initordera2.so): Likewise.
29143 (LDFLAGS-tst-initordera3.so): Likewise.
29144 (LDFLAGS-tst-initordera4.so): Likewise.
29145 (LDFLAGS-tst-initorderb2.so): Likewise.
29146 (LDFLAGS-noload): Likewise.
29147 (LDFLAGS-next): Likewise.
29148 (LDFLAGS-order2mod1.so): Likewise.
29149 (LDFLAGS-order2mod2.so): Likewise.
29150 (LDFLAGS-tst-initorder2): Likewise.
29151 (LDFLAGS-tst-initorder2a.so): Likewise.
29152 (LDFLAGS-tst-initorder2b.so): Likewise.
29153 (LDFLAGS-tst-initorder2c.so): Likewise.
29154 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
29155
d77f993f
DM
291562012-05-02 David S. Miller <davem@davemloft.net>
29157
29158 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29159
171a70b4
PP
291602012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
29161
29162 [BZ #14055]
29163 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
29164
0be196ad
AJ
291652012-05-02 Andreas Jaeger <aj@suse.de>
29166
29167 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
29168 since we manipulate rounding mode.
29169 (CPPFLAGS-test-idouble.c): Likewise.
29170 (CPPFLAGS-test-ifloat.c): Likewise.
29171 (CFLAGS-test-ldouble.c): Likewise.
29172 (CFLAGS-test-double.c): Likewise.
29173 (CFLAGS-test-float.c): Likewise.
29174 (CFLAGS-test-misc.c): Likewise.
29175 (CFLAGS-test-test-fenv.c): Likewise.
29176
4f9d04aa
AZ
291772012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29178
2b942cb7
RM
29179 [BZ #2550]
29180 [BZ #2570]
29181 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
29182 comparisons to determine direction to adjust input.
4f9d04aa 29183
82a79e7d
RM
291842012-05-01 Roland McGrath <roland@hack.frob.com>
29185
f5a01ca9
RM
29186 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
29187 output to the target.
29188
90fe4186
RM
29189 * scripts/localplt.awk: New file.
29190 * elf/Makefile ($(objpfx)check-localplt): Target removed.
29191 (check-localplt-CFLAGS): Variable removed.
29192 ($(all-built-dso:=.jmprel)): New static pattern rule.
29193 (generated): Add those targets.
29194 (localplt-built-dso): New variable.
29195 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
29196
29197 * elf/check-localplt.c: File removed.
29198
82397ed6
RM
29199 * scripts/check-execstack.awk: New file.
29200 * elf/Makefile ($(objpfx)check-execstack): Target removed.
29201 (check-execstack-CFLAGS): Variable removed.
29202 ($(objpfx)check-execstack.h): Target removed.
29203 ($(objpfx)execstack-default): New target.
29204 (generated): Add that instead of check-execstack.h.
29205 ($(all-built-dso:=.phdr)): New static pattern rule.
29206 (generated): Add those targets.
29207 * elf/check-execstack.c: File removed.
29208
82a79e7d
RM
29209 * scripts/check-textrel.awk: New file.
29210 * elf/Makefile ($(objpfx)check-textrel): Target removed.
29211 (check-textrel-CFLAGS): Variable removed.
29212 (all-built-dso): Use := to define.o
29213 ($(all-built-dso:=.dyn)): New static pattern rule.
29214 (generated): Add those targets.
29215 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
29216 * config.make.in (READELF): New substituted variable.
29217 * elf/check-textrel.c: File removed.
29218
62fde54f 292192012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 29220
615605c9
JM
29221 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
29222 allow.
29223 * conform/data/ctype.h-data [C99-based standards] (isblank):
29224 Expect function.
29225 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
29226 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
29227 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29228 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
29229 Specify type. Require positive value.
29230 (EILSEQ): Likewise.
29231 (ERANGE): Likewise.
29232 [ISO || POSIX] (EILSEQ): Do not expect.
29233 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
29234 Specify type. Require positive value.
29235 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
29236 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
29237 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
29238 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
29239 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
29240 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
29241 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
29242 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
29243 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
29244 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
29245 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
29246 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
29247 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
29248 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
29249 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
29250 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
29251 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
29252 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
29253 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
29254 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
29255 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
29256 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
29257 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
29258 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
29259 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
29260 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
29261 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
29262 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
29263 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
29264 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
29265 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
29266 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
29267 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
29268 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
29269 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
29270 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
29271 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
29272 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
29273 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
29274 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
29275 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
29276 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
29277 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
29278 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
29279 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
29280 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
29281 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
29282 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
29283 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
29284 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
29285 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
29286 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
29287 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
29288 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
29289 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
29290 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
29291 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
29292 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
29293 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
29294 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
29295 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
29296 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
29297 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
29298 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
29299 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
29300 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
29301 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
29302 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
29303 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
29304 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
29305 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
29306 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
29307 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
29308 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
29309 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
29310 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
29311 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
29312 Require >= 2.
29313 (FLT_ROUNDS): Expect as macro, not constant.
29314 (FLT_MANT_DIG): Use macro-int-constant.
29315 (DBL_MANT_DIG): Likewise.
29316 (LDBL_MANT_DIG): Likewise.
29317 (FLT_DIG): Likewise.
29318 (DBL_DIG): Likewise.
29319 (LDBL_DIG): Likewise.
29320 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
29321 (DBL_MIN_EXP): Likewise.
29322 (LDBL_MIN_EXP): Likewise.
29323 (FLT_MAX_EXP): Use macro-int-constant.
29324 (DBL_MAX_EXP): Likewise.
29325 (LDBL_MAX_EXP): Likewise.
29326 (FLT_MAX_10_EXP): Likewise.
29327 (DBL_MAX_10_EXP): Likewise.
29328 (LDBL_MAX_10_EXP): Likewise.
29329 (FLT_MAX): Use macro-constant.
29330 (DBL_MAX): Likewise.
29331 (LDBL_MAX): Likewise.
29332 (FLT_EPSILON): Use macro-constant. Give upper bound.
29333 (DBL_EPSILON): Likewise.
29334 (LDBL_EPSILON): Likewise.
29335 (FLT_MIN): Likewise.
29336 (DBL_MIN): Likewise.
29337 (LDBL_MIN): Likewise.
29338 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
29339 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
29340 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
29341 [ISO11] (FLT_HAS_SUBNORM): Likewise.
29342 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
29343 [ISO11] (DBL_DECIMAL_DIG): Likewise.
29344 [ISO11] (FLT_DECIMAL_DIG): Likewise.
29345 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
29346 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
29347 [ISO11] (FLT_TRUE_MIN): Likewise.
29348 [ISO11] (LDBL_TRUE_MIN): Likewise.
29349 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29350 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
29351 (SCHAR_MIN): Use macro-int-constant. Specify type.
29352 (SCHAR_MAX): Likewise.
29353 (UCHAR_MAX): Likewise.
29354 (CHAR_MIN): Likewise.
29355 (CHAR_MAX): Likewise.
29356 (MB_LEN_MAX): Use macro-int-constant.
29357 (SHRT_MIN): Use macro-int-constant. Specify type.
29358 (SHRT_MAX): Likewise.
29359 (USHRT_MAX): Likewise.
29360 (INT_MAX): Likewise.
29361 (INT_MIN): Use macro-int-constant. Specify type. Make upper
29362 bound negative.
29363 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
29364 bound with "U".
29365 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
29366 bound with "L".
29367 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
29368 bound negative. Suffix upper bound with "L".
29369 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
29370 bound with "UL".
29371 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
29372 Specify type.
29373 [C99-based standards] (LLONG_MAX): Likewise.
29374 [C99-based standards] (ULLONG_MAX): Likewise.
29375 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
29376 == 0.
29377 [ISO11] (max_align_t): Require type.
29378 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29379
c9140a62
JM
29380 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
29381 from $CFLAGS, without defining away __attribute__ calls.
29382 (checknamespace): Use $CFLAGS_namespace.
29383
9af0bf29
JM
29384 * conform/conformtest.pl (@keywords): Only include C99 keywords
29385 for standards based on C99 or C11.
29386
343222a2
JM
29387 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
29388 Disable tests.
29389 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
29390 UNIX98]: Likewise.
29391
661f8cf0
JM
29392 * conform/conformtest.pl: Handle "macro-int-constant" and test for
29393 usability of symbols in #if.
29394
ee74b9cb
JM
29395 * conform/conformtest.pl: If macro or constant types start
29396 "promoted:", expect the symbol to be of the following type
29397 promoted by the integer promotions.
62fde54f 29398
aafc49b3
JM
29399 * conform/conformtest.pl: Parse all "constant" and "macro" lines
29400 in one place. Also handle "macro-constant".
29401
fefdf574
JM
29402 * conform/conformtest.pl: Only accept expected macro values with
29403 "==". Parse all "macro" lines in one place.
29404 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
29405
f2d922fe
JM
29406 * conform/conformtest.pl: Handle braced types on "constant" lines
29407 instead of handling "typed-constant".
29408 * conform/data/signal.h-data: Use "constant" instead of
29409 "typed-constant".
29410
d22956c9
JM
29411 * conform/conformtest.pl: Handle "optional-" at start of lines in
29412 one place rather than duplicating several cases. Handle each
29413 format of "macro" line with initial "optional-".
29414
028e2e38
JM
29415 * conform/conformtest.pl: Only accept expected constant or
29416 optional-constant values with "==". Parse all "constant" lines in
29417 one place. Parse all "optional-constant" lines in one place.
29418 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
29419 * conform/data/fmtmsg.h-data: Likewise.
29420 * conform/data/netinet/in.h-data: Likewise.
29421 * conform/data/tar.h-data: Likewise.
29422 * conform/data/limits.h-data: Use "==" form on "constant" and
29423 "optional-constant" lines.
29424
1b8f2850
JM
29425 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
29426 Use -std=c99 for XOPEN2K.
29427 (@knownproblems): Remove.
29428 (newtoken): Don't check %isknown.
29429
a05a144b
JM
29430 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
29431 Do not expect macro.
29432 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
29433 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
29434 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
29435 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
29436 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
29437 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
29438 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
29439 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
29440 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
29441 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
29442 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
29443 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
29444 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
29445 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
29446 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
29447 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
29448 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
29449 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
29450 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
29451 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
29452 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
29453 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
29454 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
29455 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
29456 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
29457 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
29458 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
29459 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
29460 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
29461 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
29462 [XPG3] (acosh): Likewise.
29463 [XPG3] (asinh): Likewise.
29464 [XPG3] (atanh): Likewise.
29465 [XPG3] (cbrt): Likewise.
29466 [XPG3] (expm1): Likewise.
29467 [XPG3] (ilogb): Likewise.
29468 [XPG3] (log1p): Likewise.
29469 [XPG3] (logb): Likewise.
29470 [XPG3] (nextafter): Likewise.
29471 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
29472 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
29473 [XPG3] (remainder): Likewise.
29474 [XPG3] (rint): Likewise.
29475 [XPG3 || XPG4 || UNIX98] (round): Likewise.
29476 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
29477 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
29478 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
29479 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
29480 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
29481 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
29482 [UNIX98 || XOPEN2K] (scalb): Expect.
29483 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
29484 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
29485 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
29486 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
29487 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
29488 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
29489 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
29490 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
29491 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
29492 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
29493 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
29494 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
29495 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
29496 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
29497 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
29498 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
29499 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
29500 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
29501 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
29502 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
29503 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
29504 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
29505 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
29506 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
29507 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
29508 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
29509 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
29510 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
29511 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
29512 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
29513 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
29514 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
29515 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
29516 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
29517 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
29518 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
29519 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
29520 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
29521 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
29522 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
29523 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
29524 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
29525 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
29526 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
29527 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
29528 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
29529 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
29530 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
29531 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
29532 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
29533 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
29534 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
29535 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
29536 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
29537 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
29538 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
29539 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
29540 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
29541 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
29542 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
29543 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
29544 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
29545 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
29546 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
29547 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
29548 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
29549 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
29550 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
29551 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
29552 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
29553 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
29554 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
29555 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
29556 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
29557 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
29558 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
29559 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
29560 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
29561 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
29562 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
29563 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
29564 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
29565 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
29566 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
29567 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
29568 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
29569 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
29570 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
29571 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
29572 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
29573 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
29574 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
29575 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
29576 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
29577 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
29578 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
29579 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
29580 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
29581 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
29582 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
29583 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
29584 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
29585 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
29586 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
29587 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
29588 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
29589 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
29590 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
29591 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
29592 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
29593 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
29594 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
29595 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
29596 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
29597 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
29598 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
29599 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
29600 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
29601 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
29602 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
29603 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
29604 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
29605 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
29606 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
29607 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
29608 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
29609 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
29610 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
29611 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
29612 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
29613 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
29614 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
29615 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
29616 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
29617 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
29618 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
29619 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
29620
73c5ebe3
JM
29621 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
29622 _XOPEN_SOURCE_EXTENDED for XPG4.
29623
39c33b6c
JM
29624 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
29625
62fde54f
JM
29626 * Makeconfig (localtime): Remove variable.
29627 (inst_localtime-file): Likewise.
29628
0741d64c
AS
296292012-05-01 Andreas Schwab <schwab@linux-m68k.org>
29630
29631 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
29632 Update.
29633 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29634 Update.
29635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
29636 Update.
29637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
29638 Update.
29639 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
29640 Update.
29641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
29642 Update.
29643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29644 Update.
29645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
29646 Update.
29647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
29648 Update.
29649
7cb029ee
JM
296502012-05-01 Joseph Myers <joseph@codesourcery.com>
29651
29652 [BZ #2550]
29653 [BZ #2570]
29654 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
29655 comparisons to determine direction to adjust input.
29656 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
29657 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
29658 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
29659 Likewise.
29660 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
29661 Likewise.
29662 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
29663 Likewise.
29664 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
29665 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
29666 Likewise.
29667 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
29668 Likewise.
29669 * math/libm-test.inc (nexttoward_test): Add more tests.
29670
412bd966
AS
296712012-05-01 Andreas Schwab <schwab@linux-m68k.org>
29672
29673 [BZ #14040]
29674 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
29675 in version GLIBC_2.1, not GLIBC_2.0.
29676 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
29677 Likewise.
29678
9568c0c2
JM
296792012-04-30 Joseph Myers <joseph@codesourcery.com>
29680
adfbc8ac
JM
29681 [BZ #13942]
29682 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
29683 (1 - x) * (1 + x).
29684 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
29685 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
29686 * math/libm-test.inc (acos_test): Add more tests.
29687 (asin_test): Likewise.
29688 * sysdeps/i386/fpu/libm-test-ulps: Update.
29689 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29690
5ba3cc69
JM
29691 [BZ #14034]
29692 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
29693 of square root.
29694 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
29695 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
29696 * math/libm-test.inc (acos_test_tonearest): New function.
29697 (acos_test_towardzero): Likewise.
29698 (acos_test_downward): Likewise.
29699 (acos_test_upward): Likewise.
29700 (asin_test_tonearest): Likewise.
29701 (asin_test_towardzero): Likewise.
29702 (asin_test_downward): Likewise.
29703 (asin_test_upward): Likewise.
29704 (main): Call the new functions.
29705 * sysdeps/i386/fpu/libm-test-ulps: Update.
29706 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29707
9568c0c2
JM
29708 [BZ #13884]
29709 [BZ #13924]
29710 * math/e_exp10.c: Include <float.h>.
29711 (__ieee754_exp10): Handle underflow here rather than multiplying
29712 large negative argument by M_LN10.
29713 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
29714 of __ieee754_expf.
29715 * math/e_exp10l.c: Include <float.h>.
29716 (__ieee754_exp10l): Handle underflow here rather than multiplying
29717 large negative argument by M_LN10l.
29718 * math/libm-test.inc (exp10_test): Add another test. Do not allow
29719 spurious overflow exception on underflow.
29720
5ac3ea17
MP
297212012-04-29 Marek Polacek <polacek@redhat.com>
29722
29723 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
29724 (__fortify_function): New macro.
29725 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
29726 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
29727 __extern_always_inline.
29728 * libio/bits/stdio2.h: Likewise.
29729 * libio/bits/stdio.h: Likewise.
29730 * string/string.h: Likewise.
29731 * string/bits/string3.h: Likewise.
29732 * include/stdio.h: Likewise.
29733 * stdlib/bits/stdlib.h: Likewise.
29734 * stdlib/stdlib.h: Likewise.
29735 * rt/bits/mqueue2.h: Likewise.
29736 * rt/mqueue.h: Likewise.
29737 * posix/bits/unistd.h: Likewise.
29738 * posix/unistd.h: Likewise.
29739 * io/bits/poll2.h: Likewise.
29740 * io/bits/fcntl2.h: Likewise.
29741 * io/fcntl.h: Likewise.
29742 * io/sys/poll.h: Likewise.
29743 * misc/bits/syslog.h: Likewise.
29744 * misc/bits/syslog-ldbl.h: Likewise.
29745 * misc/sys/syslog.h: Likewise.
29746 * socket/bits/socket2.h: Likewise.
29747 * socket/sys/socket.h: Likewise.
29748 * debug/tst-chk1.c: Likewise.
29749 * wcsmbs/bits/wchar2.h: Likewise.
29750 * wcsmbs/bits/wchar-ldbl.h: Likewise.
29751 * wcsmbs/wchar.h: Likewise.
29752
ecf0ebfb
AJ
297532012-04-29 Andreas Jaeger <aj@suse.de>
29754
29755 * Makerules (tests): Remove enable-check-abi protection.
29756 (check-abi-warn): Remove.
29757 (check-abi-%): Remove check-abi-warn usage.
29758
29759 * configure.in: Remove check-abi configure option.
29760 * configure: Regenerated.
29761 * config.make.in (enable-check-abi): Remove.
29762
6d5c57fa
AS
297632012-04-28 Andreas Schwab <schwab@linux-m68k.org>
29764
24c5d07e 29765 [BZ #14033]
ded5180a
AS
29766 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
29767 double functions to double *_finite functions.
29768
7e0d315d
AS
29769 [BZ #13941]
29770 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
29771 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
29772 LDBL_MIN_EXP.
29773 * stdio-common/Makefile (tests): Add tst-sprintf3.
29774 * stdio-common/tst-sprintf3.c: New file.
29775
6d5c57fa
AS
29776 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
29777 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
29778
0749ff8b
JM
297792012-04-28 Joseph Myers <joseph@codesourcery.com>
29780
29781 * conform/conformtest.pl: Remove duplicate typed-constant
29782 handling.
29783
8dbd5d7b
DM
297842012-04-28 David S. Miller <davem@davemloft.net>
29785
29786 * Makerules (%.abilist): Add vpath on sysdep_dirs.
29787 (check-abi-%): Remove AWK script prerequisite and explicit
29788 abilist directory.
29789 (check-abi): Rewrite to just diff the symlist with the abilist.
29790 (config-tls, config-abi-config): Delete, no longer used.
29791 (update-abi-%): Remove AWK script and explicit abilist directory.
29792 (update-abi): Rewrite to simply compare and conditionally copy the
29793 symlist and the sysdep abilist file. Remove update-abi-config
29794 checks.
29795 * abilist/ld.abilist: Remove.
29796 * abilist/libBrokenLocale.abilist: Remove.
29797 * abilist/libanl.abilist: Remove.
29798 * abilist/libcrypt.abilist: Remove.
29799 * abilist/libdl.abilist: Remove.
29800 * abilist/librt.abilist: Remove.
29801 * abilist/libthread_db.abilist: Remove.
29802 * abilist/libutil.abilist: Remove.
29803 * scripts/extract-abilist.awk: Remove.
29804 * scripts/merge-abilist.awk: Remove.
29805 * sysdeps/generic/libcidn.abilist: New file.
29806 * sysdeps/generic/libnss_compat.abilist: New file.
29807 * sysdeps/generic/libnss_db.abilist: New file.
29808 * sysdeps/generic/libnss_dns.abilist: New file.
29809 * sysdeps/generic/libnss_files.abilist: New file.
29810 * sysdeps/generic/libnss_hesiod.abilist: New file.
29811 * sysdeps/generic/libnss_nis.abilist: New file.
29812 * sysdeps/generic/libnss_nisplus.abilist: New file.
29813 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
29814 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
29815 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
29816 file.
29817 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
29818 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
29819 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
29820 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
29821 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
29822 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
29823 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
29824 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
29825 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
29826 file.
29827 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
29828 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
29829 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
29830 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
29831 file.
29832 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
29833 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
29834 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
29835 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
29836 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
29837 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
29838 file.
29839 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
29840 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
29841 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
29842 file.
29843 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
29844 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
29845 New file.
29846 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
29847 New file.
29848 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
29849 New file.
29850 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
29851 New file.
29852 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
29853 New file.
29854 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
29855 New file.
29856 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
29857 New file.
29858 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
29859 New file.
29860 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
29861 New file.
29862 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
29863 New file.
29864 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
29865 New file.
29866 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
29867 New file.
29868 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
29869 New file.
29870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
29871 file.
29872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
29873 New file.
29874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
29875 New file.
29876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
29877 file.
29878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
29879 New file.
29880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
29881 New file.
29882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
29883 file.
29884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
29885 New file.
29886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
29887 New file.
29888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
29889 New file.
29890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
29891 New file.
29892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
29893 New file.
29894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
29895 New file.
29896 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
29897 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
29898 file.
29899 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
29900 New file.
29901 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
29902 file.
29903 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
29904 file.
29905 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
29906 file.
29907 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
29908 file.
29909 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
29910 file.
29911 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
29912 New file.
29913 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
29914 file.
29915 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
29916 file.
29917 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
29918 New file.
29919 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
29920 file.
29921 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
29922 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
29923 file.
29924 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
29925 New file.
29926 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
29927 file.
29928 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
29929 file.
29930 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
29931 file.
29932 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
29933 file.
29934 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
29935 file.
29936 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
29937 New file.
29938 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
29939 file.
29940 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
29941 file.
29942 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
29943 New file.
29944 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
29945 file.
29946 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
29947 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
29948 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
29949 file.
29950 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
29951 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
29952 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
29953 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
29954 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
29955 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
29956 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
29957 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
29958 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
29959 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
29960 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
29961 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
29962 file.
29963 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
29964 New file.
29965 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
29966 file.
29967 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
29968 file.
29969 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
29970 file.
29971 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
29972 file.
29973 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
29974 file.
29975 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
29976 New file.
29977 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
29978 New file.
29979 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
29980 file.
29981 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
29982 New file.
29983 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
29984 file.
29985 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
29986 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
29987 file.
29988 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
29989 New file.
29990 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
29991 file.
29992 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
29993 file.
29994 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
29995 file.
29996 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
29997 file.
29998 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
29999 file.
30000 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
30001 New file.
30002 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
30003 New file.
30004 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
30005 file.
30006 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
30007 New file.
30008 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
30009 file.
30010
41d73a1b
JM
300112012-04-28 Joseph Myers <joseph@codesourcery.com>
30012
30013 * conform/conformtest.pl: Fix typo in handling typed-constant from
30014 allow-header.
30015
28aeeda4
JM
300162012-04-27 Joseph Myers <joseph@codesourcery.com>
30017
adae8f5e
JM
30018 * README: Cut down references to pre-2.6 Linux kernels and
30019 Linuxthreads. Update lists of configurations in libc and ports
30020 and sort alphabetically. Say "or newer" with Linux kernel version
30021 requirements.
30022
28aeeda4
JM
30023 * config.h.in [IS_IN_build]: Allow compiling without optimization.
30024
a462cb63
RA
300252012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
30026
30027 [BZ #887]
30028 * math/libm-test.inc (logb_test_downward): New test to expose
30029 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
30030 rounding mode.
30031
6ad3493e
JM
300322012-04-27 Joseph Myers <joseph@codesourcery.com>
30033
30034 [BZ #14027]
30035 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
30036 to be done.
30037 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
30038 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
30039
2ce4f015
JM
300402012-04-26 Joseph Myers <joseph@codesourcery.com>
30041
5aeb141a
JM
30042 * sysdeps/unix/i386/brk.S: Remove file.
30043 * sysdeps/unix/i386/dl-brk.S: Likewise.
30044 * sysdeps/unix/i386/pipe.S: Likewise.
30045 * sysdeps/unix/i386/sigreturn.S: Likewise.
30046 * sysdeps/unix/i386/syscall.S: Likewise.
30047 * sysdeps/unix/i386/vfork.S: Likewise.
30048 * sysdeps/unix/i386/wait.S: Likewise.
30049
7143acae
JM
30050 * sysdeps/unix/common/tcsendbrk.c: Move to ...
30051 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
30052
2ce4f015
JM
30053 * configure.in (arm*-none*): Do not allow without
30054 --enable-hacker-mode.
30055 (netbsd*): Remove case setting base_os.
30056 (386bsd*): Likewise.
30057 (freebsd*): Likewise.
30058 (bsdi*): Likewise.
30059 (osf*): Likewise.
30060 (sunos*): Likewise.
30061 (ultrix*): Likewise.
30062 (newsos*): Likewise.
30063 (dynix*): Likewise.
30064 (*bsd*): Likewise.
30065 (sysv*): Likewise.
30066 (isc*): Likewise.
30067 (esix*): Likewise.
30068 (sco*): Likewise.
30069 (minix*): Likewise.
30070 (irix4*): Likewise.
30071 (irix6*): Likewise.
30072 (solaris[2-9]*): Likewise.
30073 (none): Likewise.
30074 * configure: Regenerated.
30075
0ac229c8
AZ
300762012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30077
30078 [BZ #11521]
30079 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
30080 overflow or cancellation in calculating denominator.
30081 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
30082 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
30083 down expression to avoid unexpected rounding in newer GCCs.
30084 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
30085
33f244f4
DM
300862012-04-26 David S. Miller <davem@davemloft.net>
30087
30088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
30089 long-double compat symbols.
30090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
30091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
30092 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
30093 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
30094 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
30095 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
30096 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
30097 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
30098 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
30099 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
30100 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
30101 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
30102 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
30103
cfa1f3e8
DM
301042012-04-25 David S. Miller <davem@davemloft.net>
30105
30106 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
30107 HWCAP_* values only after the memory barriers have been defined.
30108 (atomic_full_barrier): Define.
30109 (atomic_read_barrier): Define.
30110 (atomic_write_barrier): Define.
30111
6e236b92
SP
301122012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
30113
30114 * shlib-versions: Add libgcc_s version information.
30115 * sysdeps/generic/libgcc_s.h: Remove.
30116 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
30117 libgcc_s.h.
30118 * sysdeps/gnu/unwind-resume.c: Likewise.
30119 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
30120
aab39a09
DM
301212012-04-25 David S. Miller <davem@davemloft.net>
30122
30123 * sysdeps/unix/sparc/brk.S: Delete.
30124 * sysdeps/unix/sparc/dl-brk.S: Delete.
30125 * sysdeps/unix/sparc/pipe.S: Delete.
30126 * sysdeps/unix/sparc/sysdep.S: Delete.
30127 * sysdeps/unix/sparc/sysdep.h: Delete.
30128 * sysdeps/unix/sparc/vfork.S: Delete.
30129 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
30130 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
30131 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
30132 ret_ERRVAL, r0, r1, MOVE): Define.
30133 (JUMPTARGET): Remove.
30134 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
30135 sysdeps/unix/sparc/sysdep.h
30136 (ENTRY, END): Remove.
30137 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30138
a3cc4f48
JM
301392012-04-25 Joseph Myers <joseph@codesourcery.com>
30140
2ed8cda2
JM
30141 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
30142 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
30143 -DIS_IN_build.
30144
35d76d59
JM
30145 * timezone/README: Update upstream location and email address for
30146 tzcode and tzdata.
30147 * timezone/zdump.c: Update from tzcode 2012b.
30148 * timezone/zic.c: Likewise.
30149
a3cc4f48
JM
30150 * configure.in (libc_cv_as_needed): Remove test.
30151 * configure: Regenerated.
30152 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
30153 conditional definition.
30154 [$(have-as-needed) != yes] (no-as-needed): Likewise.
30155 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
30156 * config.make.in (have-as-needed): Remove variable.
30157
ceab42c3
SP
301582012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
30159 Paul Pluzhnikov <ppluzhnikov@google.com>
30160
30161 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
30162 strings correctly.
30163
3ce2865f
CLT
301642012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
30165
30166 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
30167 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
30168 * sysdeps/sh/strlen.S: Likewise.
30169
f37e0d68
JM
301702012-04-24 Joseph Myers <joseph@codesourcery.com>
30171
ae186e9a
JM
30172 * sysdeps/unix/fork.S: Remove file.
30173 * sysdeps/unix/i386/fork.S: Likewise.
30174 * sysdeps/unix/sparc/fork.S: Likewise.
30175
b96914af
JM
30176 * sysdeps/unix/system.c: Remove file.
30177 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
30178
f37e0d68
JM
30179 * sysdeps/unix/getegid.S: Remove file.
30180 * sysdeps/unix/geteuid.S: Likewise.
30181
87ef29ca
RM
301822012-04-24 Roland McGrath <roland@hack.frob.com>
30183
83bcd236
RM
30184 * scripts/check-localplt.awk: New file.
30185 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
30186 of diff.
30187 * scripts/data/localplt-generic.data: Add a comment.
30188
87ef29ca
RM
30189 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
30190 NODE when __dir_mkfile failed.
30191 * sysdeps/mach/hurd/symlinkat.c: Likewise.
30192 Reported by Ludovic Courtès <ludo@gnu.org>.
30193
e5a6e567
AJ
301942012-04-24 Andreas Jaeger <aj@suse.de>
30195
30196 * Makerules (common-clean): Also remove gen-as-const-headers
30197 files.
30198
c1820385
JM
301992012-04-24 Joseph Myers <joseph@codesourcery.com>
30200
30201 * Makerules (native-compile): Do not change working directory for
30202 build. Use $(OUTPUT_OPTION) in command.
30203 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
30204
94e02fc4
AZ
302052012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30206
30207 [BZ #13886]
30208 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
30209 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
30210 * math/libm-test.inc (floor_test): Add more tests.
30211 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
30212
3a533ca3
JM
302132012-04-24 Joseph Myers <joseph@codesourcery.com>
30214
940ab4b3
JM
30215 * sysdeps/unix/getdents.c: Remove file.
30216 * sysdeps/unix/sysv/getdents.c: Likewise.
30217 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
30218
90e037bd
JM
30219 * sysdeps/unix/syscalls.list (madvise): Add syscall from
30220 sysdeps/unix/mman/syscalls.list.
30221 (mmap): Likewise.
30222 (mprotect): Likewise.
30223 (msync): Likewise.
30224 (munmap): Likewise.
30225 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
30226 * sysdeps/unix/mman/syscalls.list: Remove.
30227 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
30228
3a533ca3
JM
30229 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
30230 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
30231 * configure: Regenerated.
30232 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
30233 $(libgcc_s_suffix).
30234 * config.make.in (libgcc_s_suffix): Remove variable.
30235
1ad743de
JM
302362012-04-23 Joseph Myers <joseph@codesourcery.com>
30237
4ad451e2
JM
30238 * sysdeps/unix/sysv/gethostname.c: Move to ...
30239 * sysdeps/posix/gethostname.c: ... here.
30240
5e37ce39
JM
30241 * sysdeps/unix/execve.S: Remove file.
30242
1ad743de
JM
30243 * sysdeps/unix/_exit.S: Remove file.
30244
4e681b5b
AJ
302452012-04-23 Andreas Jaeger <aj@suse.de>
30246
30247 [BZ #13739]
30248 * manual/Makefile: Remove make dist support, there's no
30249 need for a stand-alone documentation tar ball.
30250 (TEXI2DVI): Define always, it's not in Makeconfig.
30251 (dist): Removed.
30252 (tar-it): Removed.
30253 (edition): Removed.
30254 (glibc-doc-$(edition).tar): Removed
30255 (%.Z): Removed.
30256 (%.gz): Removed.
30257 (%.uu): Removed.
30258 (ETAGS): Remove, it's in Makeconfig.
30259 (move-if-change): Remove, it's in Makeconfig.
30260
38686a03 302612012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
30262
30263 [BZ #13970]
30264 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
30265 (strtod, strtof, strtold, strtol, strtoul, strtoq)
30266 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
30267 (strtod_l, strtof_l, strtold_l): Remove __wur.
30268 It is not necessarily an error to ignore strtol's return value.
30269 One can reliably look at the stored endptr to decide whether
30270 the number had valid syntax.
30271
7c0616fa
AJ
302722012-04-21 Andreas Jaeger <aj@suse.de>
30273
803cb6b7 30274 [BZ #13739]
7c0616fa
AJ
30275 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
30276
b0fe253f
JM
302772012-04-21 Joseph Myers <joseph@codesourcery.com>
30278
30279 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
30280 * sysdeps/unix/sysv/Versions: Remove file.
30281
8280f22d
MT
302822012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
30283
30284 [BZ #13927]
30285 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30286
75ce411f 302872012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
30288
30289 [BZ #7064]
30290 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
30291 version from __vm86.
30292
097d59fa
JM
302932012-04-20 Joseph Myers <joseph@codesourcery.com>
30294
a90f3bcb
JM
30295 * sysdeps/unix/common/lxstat.c: Remove file.
30296 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
30297
edc7ea78
JM
30298 * sysdeps/unix/sysv/Makefile: Remove file.
30299
cb78c221
JM
30300 * sysdeps/unix/sysv/direct.h: Remove file.
30301
efa6a45f
JM
30302 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
30303 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
30304 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
30305 * sysdeps/unix/sysv/bits/signum.h: Likewise.
30306 * sysdeps/unix/sysv/bits/stat.h: Likewise.
30307 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
30308 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
30309
9c9f2d0c
JM
30310 * sysdeps/unix/sysv/setrlimit.c: Remove file.
30311
4541c83b
JM
30312 * sysdeps/unix/xmknod.c: Remove file.
30313 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
30314
f5d153a0
JM
30315 * sysdeps/unix/sysv/settimeofday.c: Remove file.
30316
aa746595
JM
30317 * sysdeps/unix/sysv/i386/time.S: Remove file.
30318
cce5905e
JM
30319 * sysdeps/unix/fxstat.c: Remove file.
30320 * sysdeps/unix/xstat.c: Likewise.
30321 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
30322
37fa3841
JM
30323 * sysdeps/unix/sysv/sigaction.c: Remove file.
30324
ff1962a3
JM
30325 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
30326 (sysdep_headers): Remove variable.
30327 [termio.h not in sysdep_headers] (generated): Likewise.
30328 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
30329 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
30330 * sysdeps/unix/sysv/tcdrain.c: Likewise.
30331 * sysdeps/unix/sysv/tcflow.c: Likewise.
30332 * sysdeps/unix/sysv/tcflush.c: Likewise.
30333 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
30334 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
30335 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
30336 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
30337 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
30338
e7740d31
JM
30339 * sysdeps/unix/siglist.c: Remove file.
30340
ee06f18b
JM
30341 * sysdeps/unix/getppid.S: Remove file.
30342
097d59fa
JM
30343 * sysdeps/unix/mkdir.c: Remove file.
30344 * sysdeps/unix/rmdir.c: Likewise.
30345
ff3d51ec
AS
303462012-04-19 Andreas Schwab <schwab@linux-m68k.org>
30347
30348 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
30349 ERR_MAX value.
30350 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
30351 errlist-compat value.
30352
50f81fd7
DM
303532012-04-18 David S. Miller <davem@davemloft.net>
30354
30355 * sysdeps/generic/memcopy.h (reg_char): Delete.
30356 * debug/strcat_chk.c: Use char, not reg_char.
30357 * debug/strcpy_chk.c: Likewise.
30358 * debug/strncat_chk.c: Likewise.
30359 * debug/strncpy_chk.c: Likewise.
30360 * string/memchr.c: Likewise.
30361 * string/memrchr.c: Likewise.
30362 * string/rawmemchr.c: Likewise.
30363 * string/strcat.c: Likewise.
30364 * string/strchr.c: Likewise.
30365 * string/strchrnul.c: Likewise.
30366 * string/strcmp.c: Likewise.
30367 * string/strcpy.c: Likewise.
30368 * string/strncat.c: Likewise.
30369 * string/strncmp.c: Likewise.
30370 * string/strncpy.c: Likewise.
30371
8ff41c46
WS
303722012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
30373
30374 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
30375 __builtin_memcopy is called when src and dest ranges are known to not
30376 overlap.
30377
6b652f46
WS
303782012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
30379
30380 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
30381 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
30382 fwd_align_merge macro call.
30383 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
30384 bwd_align_merge macro call.
30385 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
30386
b282631e
WS
303872012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
30388
30389 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
30390 bwd_align_merge macros.
30391 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
30392 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
30393 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
30394
95aa737c
DM
303952012-04-18 David S. Miller <davem@davemloft.net>
30396
30397 * sysdeps/sparc/sparc64/memcopy.h: Delete.
30398
7a99a614
AJ
303992012-04-18 Andreas Jaeger <aj@suse.de>
30400
30401 [BZ# 6794]
30402 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
30403 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
30404 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
30405
30406 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
30407 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
30408 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
30409
30410 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
30411 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
30412 Adjust for changed ldbl-128 files.
30413
30414 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
30415 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
30416 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
30417
e5270c23
DM
304182012-04-17 David S. Miller <davem@davemloft.net>
30419
30420 * sysdeps/sparc/sparc32/memcopy.h: Delete.
30421
fb5e92c9
AS
304222012-04-17 Andreas Schwab <schwab@linux-m68k.org>
30423
30424 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
30425 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
30426 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
30427 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
30428 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
30429 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
30430
76da7265
AZ
304312012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30432
30433 [BZ #6794]
30434 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
30435 * math/libm-test.inc: Add ilogb errno and exception tests.
30436 * math/w_ilogb.c: New file: ilogb wrapper.
30437 * math/w_ilogbf.c: New file: ilogbf wrapper.
30438 * math/w_ilogbl.c: New file: ilogbl wrapper.
30439 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
30440 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
30441 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
30442 exception being thrown with 0.0 as argument.
30443 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
30444 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
30445 exception being thrown with 0.0 as argument.
30446 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
30447 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
30448 exception being thrown with 0.0 as argument.
30449 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
30450 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
30451 exception being thrown with 0.0 as argument.
30452 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
30453 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 30454 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
30455 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
30456 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
30457 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
30458 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
30459 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
30460 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
30461
0396e69d
PB
304622012-04-17 Petr Baudis <pasky@ucw.cz>
30463
30464 * include/sys/uio.h: Change __vector to __iovec to avoid clash
30465 with altivec.
30466
750b5926
MP
304672012-04-16 Marek Polacek <polacek@redhat.com>
30468
30469 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
30470
751728a1
MP
304712012-04-16 Marek Polacek <polacek@redhat.com>
30472
30473 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
30474 operands of fdivp instruction.
30475
34a27407
L
304762012-04-13 H.J. Lu <hongjiu.lu@intel.com>
30477
30478 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
30479 * elf/tst-auditmod3b.c: Likewise.
30480 * elf/tst-auditmod4b.c: Likewise.
30481 * elf/tst-auditmod5b.c: Likewise.
30482 * elf/tst-auditmod6b.c: Likewise.
30483 * elf/tst-auditmod6c.c: Likewise.
30484 * elf/tst-auditmod7b.c: Likewise.
30485 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
30486 * sysdeps/x86_64/preconfigure.in: Likewise.
30487 * sysdeps/x86_64/preconfigure: Regenerated.
30488
7e73e17d
L
304892012-04-13 H.J. Lu <hongjiu.lu@intel.com>
30490
30491 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
30492 __ILP32__.
30493
c7a6ab72
AB
304942012-04-13 Antoine Balestrat <merkil33@gmail.com>
30495
30496 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
30497 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
30498
a9e8e0e0
CL
304992012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
30500
30501 [BZ #13973]
30502 * locale/iso-639.def: Fix gl language name. Spotted by
30503 Yaron Shahrabani.
30504
ec98af7d
RM
305052012-04-12 Roland McGrath <roland@hack.frob.com>
30506
30507 [BZ #2074]
30508 * libio/libio.h (__io_write_fn): Update comment.
30509
247c3ede
PB
305102012-04-12 Petr Baudis <pasky@ucw.cz>
30511
30512 [BZ #2074]
30513 * stdio.texi (Hook Functions): The user provided writer function
30514 is not allowed to return -1.
30515
55939d6d
DM
305162012-04-11 David S. Miller <davem@davemloft.net>
30517
30518 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30519
90020f5a
MF
305202012-04-11 Mike Frysinger <vapier@gentoo.org>
30521
30522 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
30523 Add a leading slash to rtkaio.
30524
288f9098
JM
305252012-04-11 Jim Meyering <meyering@redhat.com>
30526
90020f5a
MF
30527 [BZ #11959]
30528 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
30529 It is not necessarily an error to ignore fwrite's return
30530 value. One can reliably use ferror to test for errors after
30531 the fact.
288f9098 30532
4be2b570
L
305332012-04-10 H.J. Lu <hongjiu.lu@intel.com>
30534
30535 * bits/types.h (__snseconds_t): New type.
30536 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
30537
30538 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
30539 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30540 (__SNSECONDS_T_TYPE): Likewise.
30541 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30542 (__SNSECONDS_T_TYPE): Likewise.
30543 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30544 (__SNSECONDS_T_TYPE): Likewise.
30545
288f9098 305462012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
30547
30548 [BZ #2636]
30549 * manual/time.texi (Processor Time): Return type of times is
30550 elapsed real time since an arbitrary point in the past.
30551 (CPU Time): Move CLK_TCK from here...
30552 (Processor Time): ...to here. Correct description.
30553 * manual/conf.texi (Constants for Sysconf): Correct description of
30554 _SC_CLK_TCK.
30555
d7dd4413
DM
305562012-04-10 David S. Miller <davem@davemloft.net>
30557
30558 [BZ #13967]
30559 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
30560 where the is a gap between DT_REL(A) and DT_JMPREL.
30561
b46068fc
L
305622012-04-10 H.J. Lu <hongjiu.lu@intel.com>
30563
30564 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
30565 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
30566 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
30567
73d65cc3
SP
305682012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
30569
30570 * elf/dl-support.c (_dl_inhibit_cache): New variable.
30571 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
30572 (dl_main): Handle --inhibit-cache.
30573 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
30574 _dl_inhibit_cache.
30575 * elf/dl-load.c (_dl_map_object): Use it.
30576 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
30577
bcc8d661
JM
305782012-04-09 Joseph Myers <joseph@codesourcery.com>
30579
8f9a2fae
JM
30580 [BZ #13872]
30581 * sysdeps/i386/fpu/e_powl.S (p78): New object.
30582 (__ieee754_powl): Saturate large exponents rather than testing for
30583 overflow of y*log2(x).
30584 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30585 * math/libm-test.inc (pow_test): Do not permit spurious overflow
30586 exceptions.
30587
bcc8d661
JM
30588 [BZ #11521]
30589 * math/s_ctan.c: Include <float.h>.
30590 (__ctan): Avoid internal overflow or cancellation in calculating
30591 denominator.
30592 * math/s_ctanf.c: Likewise.
30593 * math/s_ctanl.c: Likewise.
30594 * math/s_ctanh.c: Likewise.
30595 * math/s_ctanhf.c: Likewise.
30596 * math/s_ctanhl.c: Likewise.
30597 * math/libm-test.inc (ctan_test): Add more tests.
30598 (ctanh_test): Likewise.
30599 * sysdeps/i386/fpu/libm-test-ulps: Update.
30600 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30601
823fbbb4
AJ
306022012-04-09 Andreas Jaeger <aj@suse.de>
30603
03879793
AJ
30604 [BZ #6894]
30605 * manual/filesys.texi (Directory Entries): Mention that d_namlen
30606 is an optional BSD extension.
30607
823fbbb4
AJ
30608 [BZ #10254]
30609 * manual/stdio.texi (Opening Streams): Document additional fopen
30610 parameters.
30611
8de131cb
RM
306122012-04-09 Roland McGrath <roland@hack.frob.com>
30613
30614 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
30615 %eax without telling the compiler.
30616
c0ed9d7d
CD
306172012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
30618
30619 [BZ # 13963]
30620 * manual/install.texi: Use sourceware.org.
30621
c483f6b4
JM
306222012-04-09 Joseph Myers <joseph@codesourcery.com>
30623
d7dd9453
JM
30624 [BZ #13873]
30625 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
30626 (__ieee754_pow): Generate overflow and underflow using huge*huge
30627 and tiny*tiny rather than just returning constant infinity or zero
30628 for large exponents.
30629 * math/libm-test.inc (pow_test): Require overflow exceptions for
30630 applicable cases of large exponents.
30631
c483f6b4
JM
30632 [BZ #706]
30633 * sysdeps/i386/fpu/e_pow.S (p10): New object.
30634 (__ieee754_pow): Use iterative multiplication algorithm only for
30635 integer exponents with absolute value below 1024. Check for odd
30636 integer exponents when using algorithm for real exponents.
30637 * math/libm-test.inc (pow_test): Add more tests.
30638 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30639
d2de7579
JM
306402012-04-08 Joseph Myers <joseph@codesourcery.com>
30641
30642 [BZ #13705]
30643 * math/libm-test.inc (exp_test): Do not allow overflow exception
30644 on underflow test.
30645
f77f1232
AJ
306462012-04-08 Aurelien Jarno <aurelien@aurel32.net>
30647
30648 [BZ #13705]
30649 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
30650 instead of __kernel_standard_f.
30651
3884932b
MF
306522012-04-08 Mike Frysinger <vapier@gentoo.org>
30653
30654 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
30655 * sysdeps/x86_64/memset_chk.S: Likewise.
30656
54472e9c
AJ
306572012-04-08 Andreas Jaeger <aj@suse.de>
30658
6ab0fbfc
AJ
30659 [BZ #10153]
30660 * manual/startup.texi (Environment Access): Describe return value
30661 for putenv and setenv.
30662
61efba8c
AJ
30663 [BZ #6895]
30664 * manual/filesys.texi (Directory Entries): Add description for
30665 DT_LNK.
30666
95c3f29a
AJ
30667 [BZ #6890]
30668 * manual/filesys.texi (Directory Entries): Clarify that it's file
30669 system not operating system in the description of DT_UNKNOWN.
30670
54472e9c
AJ
30671 [BZ #6578]
30672 * manual/syslog.texi (closelog): Fix reference, it's openlog.
30673
624254b1
SC
306742012-04-08 Stephen Compall <s11@member.fsf.org>
30675
30676 [BZ #6649]
30677 * manual/llio.texi (Opening and Closing Files): Add cross
30678 reference to explain mode argument.
30679
1e4920e0
MF
306802012-04-07 Mike Frysinger <vapier@gentoo.org>
30681
30682 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
30683 * sysdeps/x86_64/memset_chk.S: Likewise.
30684
5ed848f3
DM
306852012-04-07 David S. Miller <davem@davemloft.net>
30686
30687 * elf/elf.h (R_SPARC_WDISP10): Define.
30688 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
30689 R_SPARC_SIZE32.
30690 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
30691 R_SPARC_SIZE64 and R_SPARC_H34.
30692
96154cd8
CD
306932012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
30694
30695 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
30696 conditions and remove no longer applicable assertion.
30697
9904dc47
L
306982012-04-06 H.J. Lu <hongjiu.lu@intel.com>
30699
30700 * bits/byteswap.h: Include <features.h>.
30701 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
30702 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
30703
f8887d0a
L
307042012-04-06 H.J. Lu <hongjiu.lu@intel.com>
30705
30706 * bits/byteswap.h (__bswap_16): Removed.
30707 Include <bits/byteswap-16.h> to get __bswap_16.
30708 * sysdeps/i386/bits/byteswap.h: Likewise.
30709 * sysdeps/s390/bits/byteswap.h: Likewise.
30710 * sysdeps/x86_64/bits/byteswap.h: Likewise.
30711 * bits/byteswap-16.h: New file.
30712 * sysdeps/i386/bits/byteswap-16.h: Likewise.
30713 * sysdeps/s390/bits/byteswap-16.h: Likewise.
30714 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
30715 * string/Makefile (headers): Add bits/byteswap-16.h.
30716
62470f60
PP
307172012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
30718
30719 [BZ #13895]
30720 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
30721 extra indirection.
30722 * nss/Makefile (tests-static, tests): Add tst-nss-static.
30723 * nss/tst-nss-static.c: New.
30724
4dad7bab
RM
307252012-04-06 Robert Millan <rmh@gnu.org>
30726
30727 [BZ #6486]
30728 * manual/llio.texi (File Position Primitive): lseek
30729 refers to WHENCE when it really means OFFSET.
30730
e9142a17
AJ
307312012-04-06 Andreas Jaeger <aj@suse.de>
30732
2c040eff
AJ
30733 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
30734 strncmp declarations.
30735
e9142a17
AJ
30736 * abilist/libc.abilist: Add __poll and __ppoll.
30737
ff9f1c5f
DM
307382012-04-05 David S. Miller <davem@davemloft.net>
30739
dcd2ae90
DM
30740 * scripts/check-local-headers.sh: Accept a host triplet in the
30741 path matched by the exclude regexp.
30742
993eb054
DM
30743 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
30744 definition.
30745 * sysdeps/powerpc/powerpc32/dl-machine.h
30746 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
30747 * sysdeps/s390/s390-32/dl-machine.h
30748 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
30749 * sysdeps/sparc/sparc32/dl-machine.h
30750 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
30751 * sysdeps/sparc/sparc64/dl-machine.h
30752 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
30753
ff9f1c5f
DM
30754 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
30755 lazy binding.
48e2e132 30756 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
30757 undefined symbol errors.
30758
48e2e132 30759 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
30760 DT_NEEDED entries.
30761
e80d6f94
MM
307622012-04-05 Michael Matz <matz@suse.de>
30763
30764 [BZ #13592]
30765 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
30766
349fa79f
AJ
307672012-04-05 Andreas Jaeger <aj@suse.de>
30768
30769 [BZ #13908]
30770 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
30771 comment.
30772
f402708f
KK
307732012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
30774
30775 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
30776 which ROUND is no valid rounding mode.
30777
2ecccfc9
KK
307782012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
30779
30780 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
30781 read again.
30782 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
30783
8a53f50f
KK
307842012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
30785
30786 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
30787 an exception using FPU order intentionally.
30788
307892012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
30790
30791 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
30792 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
30793 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
30794 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
30795
d653abb7
SJ
307962012-04-05 Simon Josefsson <simon@josefsson.org>
30797
30798 [BZ #12340]
30799 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
30800 EINVAL when BUFLEN is too smal.
30801
c3b1bf7d
TS
308022012-04-05 Thomas Schwinge <thomas@codesourcery.com>
30803
30804 [BZ #13553]
30805 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
30806 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
30807
b1aa60f3
AJ
308082012-04-03 Andreas Jaeger <aj@suse.de>
30809
c3b1bf7d 30810 [BZ #13938]
67f60a26
AJ
30811 * manual/setjmp.texi (System V contexts): Fix sentence.
30812
b1aa60f3
AJ
30813 [BZ #13926]
30814 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
30815 New macro for this case.
30816 [!__GNUC__] (__bswap_64): New inline function for this case.
30817 * sysdeps/x86_64/bits/byteswap.h: Likewise.
30818 * bits/byteswap.h: Likewise.
30819 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
30820 ull, guard with __GLIBC_HAVE_LONG_LONG.
30821
30822 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
30823 __GLIBC_HAVE_LONG_LONG.
30824
30825 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
30826 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
30827
39c59c35
TMQMF
308282012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30829
30830 [BZ #13691]
30831 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
30832 inptr and inend, rather than using last_ch.
30833
135ffda8
DM
308342012-04-02 David S. Miller <davem@davemloft.net>
30835
30836 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
30837 * stdio-common/printf-parse.h (read_int): Change return type to
30838 'int', return -1 on INT_MAX overflow.
30839 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
30840 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
30841 overflows INT_MAX. Check for overflow of in-format-string precision
30842 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
30843 SIZE_MAX not INT_MAX for integer overflow test.
30844 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
30845 skip the construct in the format string but do not record anything.
30846 * stdio-common/bug22.c: Adjust to test both width/prevision
30847 INT_MAX overflow as well as total length INT_MAX overflow. Check
30848 explicitly for proper errno values.
30849
228c019e
TS
308502012-04-02 Thomas Schwinge <thomas@codesourcery.com>
30851
302cadd3
TS
30852 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
30853 CHAR_MAX.
30854 * string/test-strcmp.c [! WIDE]: Likewise.
30855 * time/tst-mktime2.c: Likewise for INT_MAX.
30856 * string/test-string.h: #include <sys/param.h> for MIN.
30857
228c019e
TS
30858 * csu/init-first.c (__libc_init_first): Call __ctype_init.
30859 * sysdeps/i386/init-first.c (init): Likewise.
30860 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
30861 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
30862 * sysdeps/sh/init-first.c (init): Likewise.
30863
cfa633f5
UD
308642012-04-01 Ulrich Drepper <drepper@gmail.com>
30865
30866 * po/ru.po: Update from translation team.
d1635ef8 30867 * po/vi.po: Likewise.
cfa633f5 30868
6cd0a5ea
SP
308692012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
30870
30871 * resolv/nss_dns/dns-host.c: Merge copyright years.
30872
4b43400f
LD
308732012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30874
30875 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
30876 Optimize memcpy with prefetch if
30877 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
30878 src, dst pointers have unequal 16 byte alignments.
30879
48c41d04
SP
308802012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
30881
30882 [BZ #13928]
30883 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
30884 from a CNAME entry and return the minimum ttl for the query.
30885 (gaih_getanswer_slice): Likewise.
30886
b8dc394d
JL
308872012-03-30 Jeff Law <law@redhat.com>
30888
30889 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
30890 due to long keys.
30891 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
30892 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
30893
2f5a5ed0
JL
30894 * resolv/nss_dns/dns-host.c: Update copyright year.
30895
1d39e359
UD
308962012-03-30 Ulrich Drepper <drepper@gmail.com>
30897
c030f70c 30898 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 30899 requests to save a system call. Fix check that all bytes are sent.
c030f70c 30900
1d39e359
UD
30901 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
30902 comments for sendmmsg.
30903
309042012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
30905
30906 [BZ #13691]
30907 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
30908 with only 1 character between 0x0041 and 0x01b0.
30909 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
30910 * wcsmbs/tst-mbsnrtowcs.c: New file.
30911
20fde227
DM
309122012-03-29 David S. Miller <davem@davemloft.net>
30913
30914 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
30915 small copies by hand.
30916
984a4237
JL
309172012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30918
30919 [BZ #13761]
30920 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
30921 _nss_compat_initgroups_dyn): Fall back to malloc/free
30922 for large group memberships.
30923
18c9d62b
DM
309242012-03-28 David S. Miller <davem@davemloft.net>
30925
88d85d4f
DM
30926 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
30927 that branches into memcpy.
30928 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
30929 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
30930 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
30931 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
30932 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
30933 bits.
30934 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
30935 implementation too.
30936 * sysdeps/sparc/mempcpy.S: New file.
30937
e5aa83e1
DM
30938 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
30939 the IFUNC routine in the libc case.
30940 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
30941
88570753
DM
30942 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
30943 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
30944 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
30945 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
30946 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
30947 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
30948 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
30949 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
30950
249d7567
DM
30951 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
30952 loop to 256 bytes instead of 64 bytes and fix test signedness.
30953
18c9d62b
DM
30954 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
30955 * sysdeps/sparc/sparc32/Makefile: rather than here...
30956 * sysdeps/sparc/sparc64/Makefile: and here.
30957
05f3d1f6
UD
309582012-03-28 Ulrich Drepper <drepper@gmail.com>
30959
30960 * malloc/mallocbug.c: Avoid warnings about unused variables.
30961
86ae07a8
JL
309622012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
30963
30964 [BZ #13760]
30965 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
30966 in the right place. Discard and retry query if response is
30967 larger than input buffer size.
30968
41bf21a1
JM
309692012-03-28 Joseph Myers <joseph@codesourcery.com>
30970
d6270972
JM
30971 [BZ #369]
30972 [BZ #2678]
30973 [BZ #3866]
30974 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
30975 x for large integer exponent.
30976 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
30977 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
30978 sign of result as needed afterwards.
30979 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
30980 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
30981 result for underflowing pow the same as for overflow.
30982 (__kernel_standard_l): Handle powl overflow and underflow here
30983 rather than calling __kernel_standard.
30984 * math/libm-test.inc (pow_test): Add more tests.
30985
414fca03 30986 [BZ #3868]
41bf21a1
JM
30987 [BZ #13879]
30988 [BZ #13910]
30989 [BZ #13911]
30990 [BZ #13912]
30991 [BZ #13913]
30992 [BZ #13915]
30993 [BZ #13916]
30994 [BZ #13917]
30995 [BZ #13918]
30996 [BZ #13919]
30997 [BZ #13920]
30998 [BZ #13921]
30999 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
31000 * sysdeps/ieee754/k_standard.c: Include <float.h>.
31001 (__kernel_standard_l): New function.
31002 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
31003 __kernel_standard.
31004 * math/w_acosl.c (__acosl): Likewise.
31005 * math/w_asinl.c (__asinl): Likewise.
31006 * math/w_atan2l.c (__atan2l): Likewise.
31007 * math/w_atanhl.c (__atanhl): Likewise.
31008 * math/w_coshl.c (__coshl): Likewise.
31009 * math/w_exp10l.c (__exp10l): Likewise.
31010 * math/w_exp2l.c (__exp2l): Likewise.
31011 * math/w_fmodl.c (__fmodl): Likewise.
31012 * math/w_hypotl.c (__hypotl): Likewise.
31013 * math/w_j0l.c (__j0l, __y0l): Likewise.
31014 * math/w_j1l.c (__j1l, __y1l): Likewise.
31015 * math/w_jnl.c (__jnl, __ynl): Likewise.
31016 * math/w_lgammal.c (__lgammal): Likewise.
31017 * math/w_log10l.c (__log10l): Likewise.
31018 * math/w_log2l.c (__log2l): Likewise.
31019 * math/w_logl.c (__logl): Likewise.
31020 * math/w_powl.c (__powl): Likewise.
31021 * math/w_remainderl.c (__remainderl): Likewise.
31022 * math/w_scalbl.c (sysv_scalbl): Likewise.
31023 * math/w_sinhl.c (__sinhl): Likewise.
31024 * math/w_sqrtl.c (__sqrtl): Likewise.
31025 * math/w_tgammal.c (__tgammal): Likewise.
31026 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
31027 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
31028 * math/libm-test.inc (acos_test): Add more tests.
31029 (acosh_test): Likewise.
31030 (asin_test): Likewise.
31031 (atanh_test): Likewise.
31032 (exp_test): Likewise.
31033 (exp10_test): Likewise.
31034 (exp2_test): Likewise.
31035 (expm1_test): Likewise.
31036 (lgamma_test): Likewise.
31037 (log_test): Likewise.
31038 (log10_test): Likewise.
31039 (log1p_test): Likewise.
31040 (log2_test): Likewise.
31041 (pow_test): Do not allow some spurious overflow exceptions.
31042 (sqrt_test): Add more tests.
31043 (tgamma_test): Likewise.
31044 (y0_test): Likewise.
31045 (y1_test): Likewise.
31046 (yn_test): Likewise.
31047
dd62fda6
AB
310482012-03-27 Anton Blanchard <anton@samba.org>
31049
31050 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
31051 MAP_HUGETLB.
31052 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
31053 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
31054 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
31055
1e3cdfda
AJ
310562012-03-27 David S. Miller <davem@davemloft.net>
31057
b855ab85
DM
31058 * conform/Makefile: Run run-conformtest.sh using $(BASH).
31059
1e3cdfda
AJ
31060 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
31061 have-as-vis3 check.
31062
310632012-03-27 Andreas Jaeger <aj@suse.de>
31064
31065 * sysdeps/x86_64/elf/configure.in: Moved to ...
31066 * sysdeps/x86_64/configure.in: ... here.
31067 * sysdeps/x86_64/elf/start.S: Moved to ...
31068 * sysdeps/x86_64/start.S: ... here.
31069 * sysdeps/x86_64/elf/configure: Delete.
31070
31071 * sysdeps/x86_64/configure.in: Merge contents from
31072 sysdeps/i386/configure.in (without i686 check).
31073
31074 * sysdeps/i386/elf/Versions: Merge into ...
31075 * sysdeps/i386/Versions: ... this.
31076 * sysdeps/i386/elf/Versions: Delete file.
31077 * sysdeps/i386/elf/start.S: Moved to ...
31078 * sysdeps/i386/start.S: ...here.
31079 * sysdeps/i386/elf/configure.in: Merge into...
31080 * sysdeps/i386/configure.in: ...here.
31081 * sysdeps/i386/elf/configure.in: Delete file.
31082 * sysdeps/i386/elf/configure: Delete file.
31083
31084 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
31085 * debug/backtracesyms.c: ... here.
31086 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
31087 * debug/backtracesymsfd.c: ... here.
31088 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
31089 * sysdeps/generic/ifunc-sel.h: ... here.
31090
31091 * sysdeps/unix/i386/start.c: Delete file.
31092 * sysdeps/unix/sparc/start.c: Delete file.
31093 * sysdeps/unix/start.c: Delete file.
31094
31095 * sysdeps/sh/elf/configure.in: Moved to ...
31096 * sysdeps/sh/configure.in: ... here.
31097 * sysdeps/sh/elf/start.S: Moved to ...
31098 * sysdeps/sh/start.S: ... here.
31099 * sysdeps/sh/elf/configure: Delete file.
31100
31101 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
31102 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
31103 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
31104 * sysdeps/powerpc/powerpc64/entry.h: ... here.
31105 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
31106 * sysdeps/powerpc/powerpc64/start.S: here.
31107 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
31108 * sysdeps/powerpc/powerpc64/Makefile: ... this.
31109 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
31110 * sysdeps/powerpc/powerpc64/configure.in: ... this.
31111 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
31112
31113 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
31114 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
31115 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
31116 * sysdeps/powerpc/powerpc32/start.S: ... here.
31117 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
31118 * sysdeps/powerpc/powerpc32/configure.in: ... this.
31119 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
31120
31121 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
31122 * sysdeps/powerpc/ifunc-sel.h: ... here.
31123 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
31124 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
31125
31126 * sysdeps/sparc/elf/configure.in: Moved to ...
31127 * sysdeps/sparc/configure.in: ... here.
31128 * sysdeps/sparc/elf/configure: Delete file.
31129 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
31130 * sysdeps/sparc/sparc32/start.S: ... here.
31131 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
31132 * sysdeps/sparc/sparc64/start.S: ... here.
31133 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
31134 * sysdeps/sparc/sparc32/Makefile: ... this.
31135 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
31136 * sysdeps/sparc/sparc64/Makefile: ... this.
31137
31138 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
31139 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
31140 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
31141 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
31142 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
31143 * sysdeps/s390/s390-32/setjmp.S: ... here.
31144 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
31145 * sysdeps/s390/s390-32/configure.in: ... here.
31146 * sysdeps/s390/s390-32/elf/configure: Delete file.
31147 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
31148 * sysdeps/s390/s390-32/start.S: ... here.
31149
31150 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
31151 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
31152 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
31153 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
31154 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
31155 * sysdeps/s390/s390-64/setjmp.S: ... here.
31156 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
31157 * sysdeps/s390/s390-64/configure.in: ... here
31158 * sysdeps/s390/s390-64/elf/configure: Delete file.
31159 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
31160 * sysdeps/s390/s390-64/start.S: ... here.
31161 * sysdeps/s390/s390-64/elf/configure: Delete.
31162
31163 * configure.in: Remove support for elf directories in sysdeps.
31164
31165 * configure: Regenerated.
31166 * sysdeps/i386/configure: Regenerated.
31167 * sysdeps/powerpc/powerpc32/configure: Regenerated.
31168 * sysdeps/powerpc/powerpc64/configure: Regenerated.
31169 * sysdeps/s390/s390-32/configure: Regenerated.
31170 * sysdeps/s390/s390-64/configure: Regenerated.
31171 * sysdeps/sh/configure: Regenerated.
31172 * sysdeps/sparc/configure: Regenerated.
31173 * sysdeps/x86_64/configure: Regenerated.
31174
a3f61311
AS
311752012-03-26 Andreas Schwab <schwab@linux-m68k.org>
31176
c876e002
AS
31177 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31178
a3f61311
AS
31179 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
31180 denormal result into account.
31181
ac4c54f0
RM
311822012-03-25 Roland McGrath <roland@hack.frob.com>
31183
31184 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
31185 Reported by Allan McRae <allan@archlinux.org>.
31186
6a9b9c02
JL
311872012-03-23 Jeff Law <law@redhat.com>
31188
31189 * nss/getnssent.c (__nss_getent): Fix typo.
31190
4c42a0c1
DM
311912012-03-23 David S. Miller <davem@davemloft.net>
31192
31193 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31194
1532c7ac
L
311952012-03-23 H.J. Lu <hongjiu.lu@intel.com>
31196
31197 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
31198 to pad to uint64_t for each field.
31199 (dl_tls_index): Replace unsigned long with uint64_t.
31200
3ff42526
PP
312012012-03-23 Daniel Jacobowitz <dmj@google.com>
31202 Paul Pluzhnikov <ppluzhnikov@google.com>
31203
31204 [BZ #6528]
31205 * grp/Makefile (otherlibs): Don't set it.
31206 * inet/Makefile (otherlibs): Likewise.
31207 * login/Makefile (otherlibs): Likewise.
31208 * nscd/Makefile (otherlibs): Likewise.
31209 * posix/Makefile (otherlibs): Likewise.
31210 * pwd/Makefile (otherlibs): Likewise.
31211 * rt/Makefile (otherlibs): Likewise.
31212 * sunrpc/Makefile (otherlibs): Likewise.
31213 * nss/Makefile (otherlibs): Likewise.
31214 Add libnss_files to routines and static-only-routines.
31215 ($(objpfx)getent): Remove rule.
31216 * resolv/Makefile: Add libnss_dns and libresolv to routines and
31217 static-only-routines.
31218
7c69cd14
JM
312192012-03-22 Joseph Myers <joseph@codesourcery.com>
31220
31221 [BZ #13892]
31222 * math/s_cexp.c: Include <float.h>.
31223 (__cexp): Handle exp result overflowing not necessarily
31224 overflowing both real and imaginary parts of result.
31225 * math/s_cexpf.c: Likewise.
31226 * math/s_cexpl.c: Likewise.
31227 * math/libm-test.inc (cexp_test): Add more tests.
31228 * sysdeps/i386/fpu/libm-test-ulps: Update.
31229 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31230
81b035fe
L
312312012-03-22 H.J. Lu <hongjiu.lu@intel.com>
31232
31233 * include/link.h (ELFW): New macro.
31234 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
31235 Replace ELF64_R_TYPE with ELFW(R_TYPE).
31236
1da7940c
L
312372012-03-22 H.J. Lu <hongjiu.lu@intel.com>
31238
31239 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
31240 with uint64_t.
31241
b749dbb9
L
312422012-03-22 H.J. Lu <hongjiu.lu@intel.com>
31243
31244 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
31245 declaration.
31246 (struct La_x32_retval): Likewise.
31247
2ff87f3f
L
312482012-03-22 H.J. Lu <hongjiu.lu@intel.com>
31249
31250 * sysdeps/x86_64/preconfigure.in: New file.
31251 * sysdeps/x86_64/preconfigure: New generated file.
31252
c0df8e69
JM
312532012-03-22 Joseph Myers <joseph@codesourcery.com>
31254
48e44791
JM
31255 [BZ #13824]
31256 * math/e_exp2l.c: Include <float.h>.
31257 (__ieee754_exp2l): Handle overflow and underflow cases
31258 separately. Only pass fractional part of argument to
31259 __ieee754_expl.
31260 * math/libm-test.inc (exp2_test): Add more tests.
31261
c0df8e69
JM
31262 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
31263 negating x to take absolute value.
31264 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
31265 Likewise.
31266 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
31267 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
31268 Likewise.
31269 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
31270 computing low part if x was negated.
31271 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
31272
c8e43ba7
L
312732012-03-21 H.J. Lu <hongjiu.lu@intel.com>
31274
31275 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
31276 la_x32_gnu_pltexit.
31277 (pltexit): Cast int_retval to ptrdiff_t.
31278 * elf/tst-auditmod3b.c: Likewise.
31279 * elf/tst-auditmod4b.c: Likewise.
31280 * elf/tst-auditmod5b.c: Likewise.
31281 * elf/tst-auditmod6b.c: Likewise.
31282 * elf/tst-auditmod6c.c: Likewise.
31283 * elf/tst-auditmod7b.c: Likewise.
31284
31285 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
31286 and x32_gnu_pltexit.
31287
31288 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
31289 __ELF_NATIVE_CLASS.
31290 (La_x32_regs): New macro.
31291 (La_x32_retval): Likewise.
31292 (la_x32_gnu_pltenter): New function prototype.
31293 (la_x32_gnu_pltexit): Likewise.
31294
7998fa78
AS
312952012-03-21 Andreas Schwab <schwab@linux-m68k.org>
31296
dcb33988
AS
31297 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
31298 exponent.
31299
233fc563
AS
31300 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31301
7998fa78
AS
31302 * configure.in (libc_cv_cc_nofma): Check for option to disable
31303 generation of FMA instructions.
31304 * configure: Regenerate.
31305 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
31306 * sysdeps/ieee754/dbl-64/Makefile: New file.
31307 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
31308 Remove brandred-fma4.
31309 (CFLAGS-brandred-fma4.c): Remove.
31310 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
31311 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
31312 define.
31313 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
31314 define.
31315
8e95c99a
L
313162012-03-21 H.J. Lu <hongjiu.lu@intel.com>
31317
31318 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
31319 LLONG_MAX != LONG_MAX.
31320 (_itoa_word): Use _ITOA_WORD_TYPE on value.
31321 (_fitoa_word): Likewise.
31322 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
31323 LLONG_MAX != LONG_MAX.
31324 * stdio-common/_itowa.h: Include <_itoa.h>.
31325 (_itowa_word): Use _ITOA_WORD_TYPE on value.
31326 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
31327 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
31328 only if not defined.
31329 (_ITOA_WORD_TYPE): Likewise.
31330 (_itoa_word): Use _ITOA_WORD_TYPE on value.
31331 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
31332
6f4db457
DM
313332012-03-21 David S. Miller <davem@davemloft.net>
31334
31335 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31336
7785fe5a
L
313372012-03-21 H.J. Lu <hongjiu.lu@intel.com>
31338
31339 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
31340 of x86_64 when setting libc_cv_slibdir, libdir and
31341 libc_cv_localedir.
31342 * sysdeps/unix/sysv/linux/configure: Regenerated.
31343
4535cd55
JM
313442012-03-21 Joseph Myers <joseph@codesourcery.com>
31345
31346 * manual/lang.texi (Old Varargs): Remove section.
31347 (How Variadic): Update menu.
31348 (va_start): Do not mention varargs.h.
31349
17228132
TS
313502012-03-21 Thomas Schwinge <thomas@codesourcery.com>
31351 Joseph Myers <joseph@codesourcery.com>
31352
31353 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
31354 link test.
31355 * configure: Regenerated.
31356
8149f976
TS
313572012-03-21 Thomas Schwinge <thomas@codesourcery.com>
31358
05f3d1f6
UD
31359 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
31360 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
31361 conformtest.pl
8149f976 31362
1a4ac776
JM
313632012-03-21 Joseph Myers <joseph@codesourcery.com>
31364
be22ce65
JM
31365 * NOTES: Remove.
31366 * Makefile (files-for-dist): Remove NOTES.
31367 (NOTES): Remove rule.
31368 * README: Don't refer to NOTES.
31369 * manual/creature.texi: Don't include macros.texi.
31370 * manual/intro.texi (creature.texi): Remove comment referring to
31371 NOTES.
31372
40b601fb
JM
31373 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
31374 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
31375 * configure: Regenerated.
31376 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
31377 LIBC_TRY_CC_OPTION.
31378 (libc_cv_as_i686): Likewise.
31379 (libc_cv_cc_avx): Likewise.
31380 (libc_cv_cc_sse2avx): Likewise.
31381 (libc_cv_cc_fma4): Likewise.
31382 (libc_cv_cc_novzeroupper): Likewise.
31383 * sysdeps/i386/configure: Regenerated.
31384
1a4ac776
JM
31385 [BZ #13883]
31386 * sysdeps/i386/fpu/s_cexp.S: Remove.
31387 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
31388 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
31389 * math/libm-test.inc (cexp_test): Add more tests.
31390 * sysdeps/i386/fpu/libm-test-ulps: Update.
31391 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31392
a458e7fe
AM
313932012-03-21 Allan McRae <allan@archlinux.org>
31394
31395 * timezone/Makefile: Do not install iso3166.tab and zone.tab
31396
0cb7efc5
JM
313972012-03-21 Joseph Myers <joseph@codesourcery.com>
31398
31399 [BZ #13871]
31400 * math/w_exp2.c: Do not include <float.h>.
31401 (o_threshold, u_threshold): Remove.
31402 (__exp2): Calculate result before checking finiteness and calling
31403 __kernel_standard.
31404 * math/w_exp2f.c: Likewise.
31405 * math/w_exp2l.c: Likewise.
31406 * math/libm-test.inc (exp2_test): Require overflow exception for
31407 1e6 input.
2460d3aa
JM
31408
31409 [BZ #3866]
31410 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
31411 range of signed 64-bit integers before using fistpll. Remove
31412 checks for whether integers fit in mantissa bits.
31413 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
31414 the range of signed 32-bit integers before using fistpl. Remove
31415 checks for whether integers fit in mantissa bits.
31416 * sysdeps/i386/fpu/e_powl.S (p64): New object.
31417 (__ieee754_powl): Test for y outside the range of signed 64-bit
31418 integers before using fistpll. Reduce 64-bit values to 63-bit
31419 ones as needed.
31420 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
31421 divide-by-zero is raised for zero to large negative powers.
31422 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
31423 (__ieee754_powl): Test for y outside the range of signed 64-bit
31424 integers before using fistpll. Reduce 64-bit values to 63-bit
31425 ones as needed.
31426 * math/libm-test.inc (pow_test): Add more tests.
31427
eb96ffb0
L
314282012-03-20 H.J. Lu <hongjiu.lu@intel.com>
31429
31430 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
31431 <stdio-common/_itoa.h>.
31432 * debug/segfault.c: Likewise.
31433 * elf/dl-cache.c: Likewise.
31434 * elf/dl-minimal.c: Likewise.
31435 * elf/dl-misc.c: Likewise.
31436 * elf/dl-sysdep.c: Likewise.
31437 * elf/dl-version.c: Likewise.
31438 * elf/rtld.c: Likewise.
31439 * hurd/hurdsock.c: Likewise.
31440 * hurd/lookup-retry.c: Likewise.
31441 * malloc/malloc.c: Likewise.
31442 * malloc/mtrace.c: Likewise.
31443 * nscd/nscd_getgr_r.c: Likewise.
31444 * nscd/nscd_getpw_r.c: Likewise.
31445 * nscd/nscd_getserv_r.c: Likewise.
31446 * posix/getopt_init.c: Likewise.
31447 * posix/wordexp.c: Likewise.
31448 * stdio-common/_itoa.c: Likewise.
31449 * stdio-common/printf_fphex.c: Likewise.
31450 * stdio-common/vfprintf.c: Likewise.
31451 * string/_strerror.c: Likewise.
31452 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
31453 * sysdeps/i386/i686/hp-timing.h: Likewise.
31454 * sysdeps/mach/_strerror.c: Likewise.
31455 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
31456 * sysdeps/mach/hurd/sethostid.c: Likewise.
31457 * sysdeps/mach/hurd/xmknodat.c: Likewise.
31458 * sysdeps/mach/xpg-strerror.c: Likewise.
31459 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
31460 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
31461 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
31462 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
31463 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
31464 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
31465 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
31466 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
31467 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
31468 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
31469 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
31470 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
31471 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
31472 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
31473 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
31474 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
31475 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
31476 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
31477 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
31478 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
31479 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
31480
31481 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
31482
31483 * stdio-common/_itoa.h: Moved to ...
31484 * sysdeps/generic/_itoa.h: Here.
31485
31486 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
31487
31488 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
31489 instead of "_itoa.h" and "_itowa.h".
31490 * stdio-common/vfprintf.: Likewise.
31491
d1af992d
L
314922012-03-20 H.J. Lu <hongjiu.lu@intel.com>
31493
31494 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
31495 <bits/wordsize.h>.
31496 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
31497 (__signbit): Likwise.
31498 (llrintf): Likwise.
31499 (llrint): Likwise.
31500
114883e0
L
315012012-03-20 H.J. Lu <hongjiu.lu@intel.com>
31502
31503 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
31504 __WORDSIZE != 64.
31505
c135cc1b
JM
315062012-03-20 Joseph Myers <joseph@codesourcery.com>
31507
31508 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
31509 OVERFLOW_EXCEPTION_OK.
31510 * math/libm-test.inc ("Philosophy"): Update comment about
31511 exception testing.
31512 (OVERFLOW_EXCEPTION): Define.
31513 (OVERFLOW_EXCEPTION_OK): Likewise.
31514 (INVALID_EXCEPTION_OK): Renumber.
31515 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
31516 (IGNORE_ZERO_INF_SIGN): Likewise.
31517 (test_exceptions): Handle FE_OVERFLOW.
31518 (exp10_test): Expect overflow exceptions.
31519 (exp2_test): Likewise.
31520 (expm1_test): Likewise.
31521 (nextafter_test): Likewise.
31522 (pow_test): Likewise.
31523 (scalbn_test): Likewise.
31524 (scalbln_test): Likewise.
31525
95443d88
L
315262012-03-19 H.J. Lu <hongjiu.lu@intel.com>
31527
31528 * sysdeps/x86_64/bits/atomic.h
31529 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
31530 64bit integer.
31531 (atomic_exchange_acq): Likewise.
31532 (__arch_exchange_and_add_body): Likewise.
31533 (__arch_add_body): Likewise.
31534 (atomic_add_negative): Likewise.
31535 (atomic_add_zero): Likewise.
31536
490df6c4
L
315372012-03-19 H.J. Lu <hongjiu.lu@intel.com>
31538
c2722551 31539 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
31540 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
31541
5e52b189
L
315422012-03-19 H.J. Lu <hongjiu.lu@intel.com>
31543
31544 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
31545 Check __x86_64__ instead of __WORDSIZE.
31546
a9879d4c
L
315472012-03-19 H.J. Lu <hongjiu.lu@intel.com>
31548
31549 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
31550
5df98260
DM
315512012-03-19 David S. Miller <davem@davemloft.net>
31552
e1497744
DM
31553 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31554
5df98260
DM
31555 * sysdeps/sparc/fpu/fenv_private.h: New file.
31556 * sysdeps/sparc/fpu/math_private.h: Use it.
31557 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
31558 Remove.
31559 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
31560 (libc_feholdexcept_setroundl): Remove.
31561 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
31562 Remove.
31563 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
31564 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
31565
b4c35121
L
315662012-03-19 H.J. Lu <hongjiu.lu@intel.com>
31567
31568 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
31569 int64_t instead of long int.
31570 (INSERT_WORDS64): Likwise.
31571
56965fd7
L
315722012-03-19 H.J. Lu <hongjiu.lu@intel.com>
31573
31574 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
31575 _Unwind_GetCFA return to _Unwind_Ptr first.
31576
83d1aec8
JM
315772012-03-19 Joseph Myers <joseph@codesourcery.com>
31578
1897ad44
JM
31579 [BZ #13629]
31580 * math/s_clog.c: Include <float.h>.
31581 (__clog): Scale large or subnormal inputs.
31582 * math/s_clogf.c: Likewise.
31583 * math/s_clogl.c: Likewise.
31584 * math/s_clog10.c: Include <float.h>.
31585 (M_LOG10_2): Define.
31586 (__clog10): Scale large or subnormal inputs.
31587 * math/s_clog10f.c: Likewise.
31588 * math/s_clog10l.c: Likewise.
31589 * math/libm-test.inc (clog_test): Add more tests.
31590 (clog10_test): Likewise.
31591 * sysdeps/i386/fpu/libm-test-ulps: Update.
31592 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31593
7726d6a9
JM
31594 [BZ #11451]
31595 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
31596 x and y.
31597 * math/libm-test.inc (atan2_test): Add another test.
31598
83d1aec8
JM
31599 * Makerules (common-objdir-compile): Remove.
31600 * sysdeps/unix/Makefile (config-generated): Do not add
31601 $(unix-generated) to variable.
31602 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
31603 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
31604 Remove rule.
31605 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
31606 Likewise.
31607 [generic bits/local_lim.h] (before-compile): Do not append to
31608 variable.
31609 [generic bits/local_lim.h] (common-generated): Likewise.
31610 [generic sys/param.h] (before-compile): Do not append to variable.
31611 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
31612 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
31613 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
31614 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
31615 include.
31616 [generic sys/param.h] (sys/param.h-includes): Remove variable.
31617 [generic sys/param.h] (sys/param.h-includes): Remove rule.
31618 [generic sys/param.h] ($(addprefix
31619 $(common-objpfx),$(sys/param.h-includes))): Likewise.
31620 [generic sys/param.h] (common-generated): Do not append to
31621 variable.
31622 [generic sys/param.h] (sysdep_headers): Likewise.
31623 [generic bits/errno.h] (before-compile): Do not append to
31624 variable.
31625 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
31626 rule.
31627 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
31628 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
31629 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
31630 [generic bits/errno.h] (common-generated): Do not append to
31631 variable.
31632 [generic bits/ioctls.h] (before-compile): Do not append to
31633 variable.
31634 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
31635 rule.
31636 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
31637 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
31638 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
31639 rule.
31640 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
31641 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
31642 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
31643 [generic bits/ioctls.h] (common-generated): Do not append to
31644 variable.
31645 [generic sys/syscall.h] (syscall.h): Remove variable.
31646 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
31647 rule.
31648 [generic sys/syscall.h] (before-compile): Do not append to
31649 variable.
31650 [generic sys/syscall.h] (common-generated): Likewise.
31651 * sysdeps/unix/errnos-tmpl.c: Remove file.
31652 * sysdeps/unix/errnos.awk: Likewise.
31653 * sysdeps/unix/ioctls-tmpl.c: Likewise.
31654 * sysdeps/unix/ioctls.awk: Likewise.
31655 * sysdeps/unix/mk-local_lim.c: Likewise.
31656 * sysdeps/unix/snarf-ioctls: Likewise.
31657
4851a949
RH
316582012-03-19 Richard Henderson <rth@twiddle.net>
31659
bd37f2ee
RH
31660 * sysdeps/i386/fpu/fenv_private.h: New file.
31661 * sysdeps/i386/fpu/math_private.h: Use it.
31662 (math_opt_barrier, math_force_eval): Remove.
31663 (libc_feholdexcept_setround_53bit): Remove.
31664 (libc_feupdateenv_53bit): Remove.
31665 * sysdeps/x86_64/fpu/math_private.h: Likewise.
31666 (math_opt_barrier, math_force_eval): Remove.
31667 (libc_feholdexcept): Remove.
31668 (libc_feholdexcept_setround): Remove.
31669 (libc_fetestexcept, libc_fesetenv): Remove.
31670 (libc_feupdateenv_test): Remove.
31671 (libc_feupdateenv, libc_feholdsetround): Remove.
31672 (libc_feresetround): Remove.
31673
d0adc922
RH
31674 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
31675 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
31676
0fe0f1f8
RH
31677 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
31678 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
31679 (libc_feupdateenv_testl): New.
31680 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
31681 (libc_feupdateenv_testf): New.
31682 (libc_feupdateenv): Use libc_feupdateenv_test.
31683 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
31684 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
31685
eb92c487
RH
31686 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
31687 (libc_feholdsetroundf, libc_feholdsetroundl): New.
31688 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
31689 (libc_feresetround_noex): New.
31690 (libc_feresetround_noexf): New.
31691 (libc_feresetround_noexl): New.
31692 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
31693 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
31694 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
31695 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
31696 SET_RESTORE_ROUND.
31697 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
31698 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
31699 (__cos): Likewise.
31700 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
31701 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
31702 SET_RESTORE_ROUND_NOEX.
31703 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
31704 SET_RESTORE_ROUND_NOEXF.
31705 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
31706 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
31707 (libc_feholdsetroundf): New.
31708 (libc_feresetround, libc_feresetroundf): New.
31709
7d2e8012
RH
31710 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
31711 (libc_feholdexcept_setround_53bit): Convert from macro to function.
31712 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
31713
b4dabbb4
RH
31714 * sysdeps/generic/math_private.h: Include <fenv.h>.
31715 (default_libc_feholdexcept): New.
31716 (default_libc_feholdexcept_setround): New.
31717 (default_libc_fesetenv, default_libc_feupdateenv): New.
31718 (libc_feholdexcept): Only define if undefined.
31719 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
31720 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
31721 (libc_feholdexcept_setroundl): Likewise.
31722 (libc_feholdexcept_setround_53bit): Likewise.
31723 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
31724 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
31725 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
31726 (libc_feupdateenv_53bit): Likewise.
31727 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
31728 (libc_feholdexcept): Convert from macro to inline function.
31729 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
31730 (libc_fesetenv, libc_feupdateenv): Likewise.
31731
4851a949
RH
31732 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
31733 not previously defined.
31734 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
31735 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
31736 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
31737 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
31738 * sysdeps/ieee754/flt-32/math_private.h: New file.
31739 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
31740 math_private.h below SET_FLOAT_WORD.
31741 (__isnan, __isinf_ns, __finite): Remove.
31742 (__isnanf, __isinf_nsf, __finitef): Remove.
31743
e79d442e
AS
317442012-03-18 Andreas Schwab <schwab@linux-m68k.org>
31745
31746 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31747
90b80344
DM
317482012-03-17 David S. Miller <davem@davemloft.net>
31749
31750 [BZ #6471]
31751 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
31752 for 2.16.
31753
edc21804
DM
317542012-03-16 David S. Miller <davem@davemloft.net>
31755
77e927af
DM
31756 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
31757 warnings.
31758
374976dd
DM
31759 [BZ #6471]
31760 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
31761 properly.
31762 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
31763 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
31764 sysdep_routines when subdir is sysvipc.
31765 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
31766 __getshmlba helper.
31767
edc21804
DM
31768 * sysdeps/sparc/fpu/libm-test/ulps: Update.
31769
473c3ef3
L
317702012-03-16 H.J. Lu <hongjiu.lu@intel.com>
31771
31772 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
31773 [__LP64__].
31774
eb0f39b6
L
317752012-03-16 H.J. Lu <hongjiu.lu@intel.com>
31776
31777 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
31778 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
31779 (__lround): Renamed to ...
31780 (__llround): This. Replace long int with long long int.
31781 Define lround functions as aliases of llround functions.
31782 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
31783
6b6cd74b
L
317842012-03-16 H.J. Lu <hongjiu.lu@intel.com>
31785
31786 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
31787 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
31788 adresses to uintptr_t. Replace "long int" and "unsigned long
31789 int" with "greg_t" on va_arg.
31790
f1a77b01
L
317912012-03-16 H.J. Lu <hongjiu.lu@intel.com>
31792
31793 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
31794 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
31795
31796 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
31797 Move e_machine check before EI_CLASS check. Handle x32
31798 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
31799 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
31800 SKIP_EM_IA_64 and include
31801 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
31802
31803 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
31804 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
31805 (add_system_dir): New macro.
31806
31807 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
31808 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
31809
11b90b9f
JM
318102012-03-16 Joseph Myers <joseph@codesourcery.com>
31811
c36e1d23
JM
31812 [BZ #2551]
31813 [BZ #2552]
31814 [BZ #2553]
31815 [BZ #2554]
31816 [BZ #2562]
31817 [BZ #2563]
31818 [BZ #2565]
31819 [BZ #2566]
31820 [BZ #2576]
31821 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
31822 (y0): Likewise.
31823 * math/w_j0f.c (j0f): Likewise.
31824 (y0f): Likewise.
31825 * math/w_j0l.c (__j0l): Likewise.
31826 (__y0l): Likewise.
31827 * math/w_j1.c (j1): Likewise.
31828 (y1): Likewise.
31829 * math/w_j1f.c (j1f): Likewise.
31830 (y1f): Likewise.
31831 * math/w_j1l.c (__j1l): Likewise.
31832 (__y1l): Likewise.
31833 * math/w_jn.c (jn): Likewise.
31834 (yn): Likewise.
31835 * math/w_jnf.c (jnf): Likewise.
31836 (ynf): Likewise.
31837 * math/w_jnl.c (__jnl): Likewise.
31838 (__ynl): Likewise.
31839 * math/libm-test.inc (j0_test): Add more tests.
31840 (j1_test): Likewise.
31841 (jn_test): Likewise. Add trailing semicolon to existing test.
31842 (y0_test): Likewise.
31843 (y1_test): Likewise.
31844 * sysdeps/i386/fpu/libm-test-ulps: Update.
31845 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31846
11b90b9f
JM
31847 [BZ #13851]
31848 [BZ #13854]
31849 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
31850 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
31851 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
31852 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
31853 (__tanl): Set errno for infinite argument.
31854 * sysdeps/i386/fpu/mptan.c: Remove.
31855 * sysdeps/i386/fpu/s_tan.S: Likewise.
31856 * sysdeps/i386/fpu/s_tanl.S: Likewise.
31857 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
31858 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
31859 * math/libm-test.inc (tan_test): Add more tests and enable more
31860 tests for double and long double.
31861 * sysdeps/i386/fpu/libm-test-ulps: Update.
31862 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31863
6a1bd2a1
JK
318642012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
31865
31866 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
31867 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
31868
10a803e0
RM
318692012-03-16 Roland McGrath <roland@hack.frob.com>
31870
31871 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
31872 * configure.in: Use it for both main tree and add-ons.
31873 * configure: Regenerated.
31874
f196c7f7
L
318752012-03-16 H.J. Lu <hongjiu.lu@intel.com>
31876
31877 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
31878
8848d99d
JM
318792012-03-16 Joseph Myers <joseph@codesourcery.com>
31880
96cbe7f4
JM
31881 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
31882 in comment.
31883
8848d99d
JM
31884 [BZ #13851]
31885 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
31886 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
31887 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
31888 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
31889 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
31890 infinite argument.
31891 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
31892 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
31893 != 0 for prec == 2.
31894 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
31895 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
31896 * sysdeps/i386/fpu/s_cosl.S: Likewise.
31897 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
31898 * sysdeps/i386/fpu/s_sinl.S: Likewise.
31899 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
31900 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
31901 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
31902 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
31903 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
31904 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
31905 * math/libm-test.inc (cos_test): Add more tests and enable more
31906 tests for long double.
31907 (sin_test): Likewise.
31908 (sincos_test): Likewise.
31909 * sysdeps/i386/fpu/libm-test-ulps: Update.
31910 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31911
dd7f4703
DM
319122012-03-16 David S. Miller <davem@davemloft.net>
31913
31914 * sysdeps/sparc/fpu/math_private.h: New file.
31915
006f1daa
DM
319162012-03-15 David S. Miller <davem@davemloft.net>
31917
c0c83bc8
DM
31918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
31919 file.
e6a62e18 31920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
31921 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
31922 file.
e6a62e18
DM
31923 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
31924 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
31925 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
31926 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
31927 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
31928 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
31929 sysdep routines.
31930 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
31931
88cb87d9
DM
31932 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
31933 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
31934
006f1daa 31935 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
31936 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
31937 sparc-ifunc.h
006f1daa 31938 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
31939 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
31940 Likewise.
31941 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
31942 Likewise.
006f1daa
DM
31943 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
31944 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
31945 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
31946 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
31947 Likewise.
006f1daa
DM
31948 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
31949 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
31950 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
31951 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
31952 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
31953 Likewise.
31954 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
31955 Likewise.
006f1daa
DM
31956 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
31957 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
31958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
31959 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
31960 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
31961 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
31962 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
31963 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
31964 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
31965 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
31966 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
31967 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
31968 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
31969 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
31970 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
31971 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
31972 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
31973 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
31974 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
31975 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
31976 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
31977 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
31978 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
31979 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
31980
11e0098e
AS
319812012-03-15 Andreas Schwab <schwab@linux-m68k.org>
31982
31983 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
31984 scaling.
31985 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31986
e85b09d0
AJ
319872012-03-15 Andreas Jaeger <aj@suse.de>
31988
31989 [BZ #13852]
31990 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
31991 ieee754/flt-32 implementation for sin, cos and sincos.
31992 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
31993 * sysdeps/i386/fpu/s_cosf.S: Likewise.
31994 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
31995 * sysdeps/i386/fpu/s_sinf.S: Likewise.
31996 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
31997 ieee754/flt-32 implementation for tan.
31998
31999 * math/libm-test.inc (cos_test): Enable some large input tests for
32000 float as well
32001 (sin_test): Likewise.
32002 (sincos_test): Likewise.
32003 (tan_test): Add tests for large input.
32004
32005 * sysdeps/i386/fpu/libm-test-ulps: Update.
32006
81c64153
AJ
320072012-03-15 Andreas Jaeger <aj@suse.de>
32008
32009 [BZ #13658]
32010 * math/libm-test.inc (cos_test): Add more test cases.
32011 (sin_test): Likewise.
32012 (sincos_test): Likewise.
32013
7bbfa5c6
AJ
320142012-03-15 Andreas Jaeger <aj@suse.de>
32015
32016 [BZ #13837]
32017 * math/libm-test.inc (cos_test): Add a test case for large input
32018 value.
32019 (sin_test): Likewise.
32020 (sincos_test): Likewise.
32021
320222012-03-15 Andreas Jaeger <aj@suse.de>,
32023 Joseph Myers <joseph@codesourcery.com>
32024
32025 [BZ #13658]
0671f479 32026 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
32027 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
32028 * sysdeps/i386/fpu/branred.c: Likewise.
32029 * sysdeps/i386/fpu/dosincos.c: Likewise.
32030 * sysdeps/i386/fpu/mpa.c: Likewise.
32031 * sysdeps/i386/fpu/s_cos.S: Likewise.
32032 * sysdeps/i386/fpu/s_sin.S: Likewise.
32033 * sysdeps/i386/fpu/s_sincos.S: Likewise.
32034 * sysdeps/i386/fpu/sincos32.c: Likewise.
32035
32036 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
32037 Define.
32038 (libc_feupdateenv_53bit): Define.
32039 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
32040 Define.
32041 (libc_feupdateenv_53bit): Define.
32042
32043 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
32044 53 bit (without extend i386 double precision).
32045
32046 * math/libm-test.inc (sincos_test): Add tests for large input.
32047 (sin): Likewise.
32048 (cos): Likewise.
32049
32050 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
32051
9cad04ea
AS
320522012-03-15 Andreas Schwab <schwab@linux-m68k.org>
32053
32054 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32055
f7062b9a
DM
320562012-03-15 David S. Miller <davem@davemloft.net>
32057
32058 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
32059 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
32060 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
32061 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
32062 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
32063 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
32064 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
32065 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
32066 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
32067 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
32068 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
32069 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
32070 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
32071 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
32072 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
32073 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
32074 file.
f7062b9a 32075 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
32076 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
32077 file.
f7062b9a 32078 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
32079 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
32080 file.
f7062b9a 32081 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
32082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
32083 file.
f7062b9a
DM
32084 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
32085 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
32086 fmin/fmax sysdep routines.
32087 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
32088
7bd951ff
DM
320892012-03-14 David S. Miller <davem@davemloft.net>
32090
559398ab
DM
32091 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
32092 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
32093 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
32094 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
32095 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
32096 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
32097 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
32098 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
32099 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
32100 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
32101 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
32102 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
32103 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
32104 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
32105 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
32106 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
32107 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
32108 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
32109 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
32110 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
32111 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
32112 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
32113 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
32114 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
32115 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
32116 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
32117 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
32118 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
32119 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
32120 routines.
32121 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
32122 file.
559398ab 32123 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
32124 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
32125 file.
559398ab 32126 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
32127 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
32128 file.
559398ab 32129 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
32130 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
32131 file.
559398ab 32132 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
32133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
32134 file.
559398ab 32135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
32136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
32137 file.
32138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
32139 file.
32140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
32141 file.
32142 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
32143 file.
32144 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
32145 New file.
32146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
32147 file.
32148 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
32149 file.
559398ab 32150 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
32151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
32152 file.
559398ab 32153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
32154 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
32155 file.
559398ab 32156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
32157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
32158 file.
559398ab 32159 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
32160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
32161 VIS3 routines.
559398ab
DM
32162
32163 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
32164 New file.
32165
5a1c1e32
DM
32166 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32167
eae47a36
DM
32168 * sysdeps/sparc/configure.in: New file.
32169 * sysdeps/sparc/configure: Generate.
32170 * configure.in (libc_cv_sparc_as_vis3): Substitute.
32171 * configure: Regenerate.
32172 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
32173 * config.make.in (have-as-vis3): New.
32174 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
32175 available use -Av9d instead of -Av9a.
32176 * sysdeps/sparc/sparc64/Makefile: Likewise.
32177 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
32178 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
32179 New file.
32180 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
32181 file.
32182 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
32183 New file.
32184 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
32185 file.
eae47a36
DM
32186 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
32187 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
32188 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
32189 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
32190 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
32191
c0c83bc8
DM
32192 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
32193 fzeros/fnegs to load 0x80000000 into a float register instead of
32194 using the stack.
7bd951ff
DM
32195 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
32196
bd951ccb
JM
321972012-03-14 Joseph Myers <joseph@codesourcery.com>
32198
32199 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32200 bits/syscall.h.
32201 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
32202 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
32203 ($(inst_includedir)/bits/syscall.h): Remove rule.
32204 ($(objpfx)bits/syscall.d): Include instead of
32205 $(objpfx)syscall-list.d.
32206 (generated): Change syscall-list.h and syscall-list.d to
32207 bits/syscall.h and bits/syscall.d.
32208
bb4e6db2
RM
322092012-03-14 Roland McGrath <roland@hack.frob.com>
32210
32211 [BZ #13846]
32212 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
32213
aa4a2ae1
JM
322142012-03-14 Joseph Myers <joseph@codesourcery.com>
32215
e456826d
JM
32216 [BZ #13841]
32217 * math/s_csqrt.c: Include <float.h>.
32218 (__csqrt): Scale large or subnormal inputs.
32219 * math/s_csqrtf.c: Likewise.
32220 * math/s_csqrtl.c: Likewise.
32221 * math/libm-test.inc (csqrt_test): Add more tests.
32222 * sysdeps/i386/fpu/libm-test-ulps: Update.
32223 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32224
aa4a2ae1
JM
32225 [BZ #13840]
32226 * math/libm-test.inc (hypot_test): Add more tests.
32227
7c10fd35
DM
322282012-03-13 David S. Miller <davem@davemloft.net>
32229
32230 [BZ #13840]
32231 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
32232 double-precision for the calculation instead of scaling.
32233
f453b98b
JM
322342012-03-13 Joseph Myers <joseph@codesourcery.com>
32235
32236 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
32237 manipulate bits before adding and subtracting TWO52[sx].
32238 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
32239 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
32240 Likewise.
32241 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
32242
09a3453f
DM
322432012-03-13 David S. Miller <davem@davemloft.net>
32244
8e59da90
DM
32245 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
32246 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
32247 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
32248 rtld-global-offsets.h
32249 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
32250
2a8ab7f2
DM
32251 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
32252 large parameters.
32253
10f62770
DM
32254 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
32255
5f0bdb18
DM
32256 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
32257 'err' in the ifdef scope in which it is actually used.
32258
09a3453f
DM
32259 * nss/nss_db/db-init.c: Include string.h
32260
b4b2eb5e
DM
322612012-03-12 David S. Miller <davem@davemloft.net>
32262
98bb2f1c
DM
32263 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
32264 masking out of the most significant byte of random value used.
32265 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32266 Fix coding style in previous change.
32267
b4b2eb5e
DM
32268 * sysdeps/unix/sysv/linux/kernel-features.h
32269 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
32270 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
32271 expression.
32272 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
32273 later.
32274
6e226b09
DM
322752012-03-11 David S. Miller <davem@davemloft.net>
32276
a1bcbd40
DM
32277 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
32278 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
32279 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
32280 for 'resultvar' otherwise things get truncated on 64-bit.
32281
cb9d6174
DM
32282 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32283 Fix masking out of the most significant byte of random value used.
32284
6e226b09
DM
32285 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32286
058c132d
AS
322872012-03-10 Andreas Schwab <schwab@linux-m68k.org>
32288
32289 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32290
2d2cd515
DM
322912012-03-09 David S. Miller <davem@davemloft.net>
32292
32293 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
32294 variables with appropriate CPP guards.
32295 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
32296 frame pointer, not the stack pointer. Correct layout comments. Fix test
32297 on resulting framesize and the management of the outregs buffer for pltexit.
32298 Preserve floating point return values across _dl_call_pltexit call.
32299 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
32300 framesize and the management of the outregs buffer for pltexit.
32301 Preserve floating point return values across _dl_call_pltexit
32302 call.
32303 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
32304 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
32305 (print_exit): Fix format string for return register value.
32306
9a07f9d0
JM
323072012-03-10 Joseph Myers <joseph@codesourcery.com>
32308
32309 * sunrpc/Makefile (others): Add rpcgen.
32310 ($(objpfx)rpcgen): Remove special build rule and dependency on
32311 libc.
32312 * sunrpc/rpcgen.c: New file.
32313
547b5e30
PE
323142012-03-09 Paul Eggert <eggert@cs.ucla.edu>
32315
c524201a
PE
32316 [BZ #13673]
32317 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
32318 * stdio-common/bug-vfprintf-nargs.c: Likewise.
32319 * sysdeps/i386/crti.S: Likewise.
32320 * sysdeps/i386/crtn.S: Likewise.
32321 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
32322 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
32323 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
32324 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
32325 * sysdeps/sh/crti.S: Likewise.
32326 * sysdeps/sh/crtn.S: Likewise.
32327 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
32328
7b6235f2
PE
32329 [BZ #13673]
32330 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
32331 with URL.
32332 * locale/programs/locfile-kw.gperf: Likewise.
32333 * locale/programs/charmap-kw.h: Regenerated.
32334 * locale/programs/locfile-kw.h: Likewise.
32335
547b5e30
PE
32336 [BZ #13673]
32337 * intl/plural.y: Replace FSF snail mail address with URL.
32338 * intl/plural.c: Regenerated.
32339
5f0a5dae
RH
323402012-03-09 Richard Henderson <rth@twiddle.net>
32341
32342 * include/math_private.h: Remove file.
32343 * math/math_private.h: Move file ...
32344 * sysdeps/generic/math_private.h: ... here.
32345
b8c03620
RH
32346 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
32347 * sysdeps/powerpc/fpu/math_private.h: Likewise.
32348 * sysdeps/x86_64/fpu/math_private.h: Likewise.
32349
4e234f5d 32350 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
32351 and <math_private.h>.
32352 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
32353 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
32354 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
32355 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
32356 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
32357 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
32358 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
32359 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32360 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
32361 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32362 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32363 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
32364 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
32365 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32366 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
32367 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
32368 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
32369 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
32370 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
32371 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
32372 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32373 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
32374 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
32375 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32376 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
32377 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
32378 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
32379 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
32380 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32381 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
32382 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
32383 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32384 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
32385 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
32386 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
32387 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
32388 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
32389 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
32390 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
32391 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32392 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
32393 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
32394 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
32395 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
32396 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
32397 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
32398 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
32399 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
32400 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
32401 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
32402 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
32403 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
32404 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
32405 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
32406 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
32407 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
32408 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32409 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
32410 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
32411 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
32412 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
32413 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
32414 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32415 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
32416 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
32417 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
32418 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
32419 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
32420 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
32421 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
32422 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
32423 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
32424 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
32425 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32426 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
32427 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
32428 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
32429 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
32430 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
32431 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
32432 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
32433 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
32434 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
32435 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
32436 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
32437 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
32438 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
32439 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
32440 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
32441 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
32442 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
32443 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
32444 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
32445 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
32446 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
32447 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
32448 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
32449 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
32450 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
32451 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
32452 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
32453 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
32454 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
32455 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
32456 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
32457 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
32458 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
32459 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
32460 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
32461 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
32462 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
32463 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
32464 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
32465 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
32466 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
32467 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
32468 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
32469 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
32470 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
32471 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
32472 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
32473 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
32474 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
32475 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
32476 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
32477 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
32478 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
32479 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
32480 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
32481 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
32482 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
32483 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
32484 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
32485 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
32486 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
32487 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
32488 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
32489 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
32490 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
32491 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
32492 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
32493 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
32494 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
32495 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
32496 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
32497 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
32498 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
32499 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
32500 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
32501 * sysdeps/ieee754/k_standard.c: Likewise.
32502 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
32503 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
32504 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
32505 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
32506 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
32507 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
32508 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
32509 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
32510 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
32511 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
32512 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
32513 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
32514 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
32515 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
32516 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
32517 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
32518 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
32519 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
32520 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
32521 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
32522 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
32523 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
32524 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
32525 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
32526 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
32527 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
32528 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
32529 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
32530 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
32531 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
32532 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
32533 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
32534 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
32535 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
32536 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
32537 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
32538 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
32539 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
32540 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
32541 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
32542 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
32543 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
32544 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
32545 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
32546 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
32547 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
32548 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
32549 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
32550 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
32551 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
32552 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
32553 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
32554 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
32555 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
32556 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
32557 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
32558 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
32559 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
32560 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
32561 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
32562 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
32563 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
32564 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
32565 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
32566 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
32567 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
32568 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
32569 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
32570 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
32571 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
32572 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
32573 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
32574 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
32575 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
32576 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
32577 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
32578 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
32579 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
32580 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
32581 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
32582 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
32583 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
32584 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
32585 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
32586 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
32587 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
32588 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
32589 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
32590 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
32591 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
32592 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
32593 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
32594 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
32595 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
32596 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
32597 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
32598 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
32599 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
32600 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
32601 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
32602 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
32603 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
32604 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
32605 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
32606 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
32607 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
32608 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
32609 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
32610 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
32611 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
32612 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
32613 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
32614 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
32615 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
32616 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
32617 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
32618 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
32619 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
32620 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
32621 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
32622 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
32623 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
32624 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
32625 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
32626 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
32627 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
32628 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
32629 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
32630 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
32631 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
32632 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
32633 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
32634 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
32635 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
32636 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
32637 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
32638 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
32639 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
32640 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
32641 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
32642 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
32643 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
32644 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
32645 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
32646 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
32647 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
32648 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
32649 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
32650 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
32651 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
32652 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
32653 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
32654 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
32655 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
32656 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
32657 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
32658 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
32659 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
32660 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
32661 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
32662 * sysdeps/ieee754/s_lib_version.c: Likewise.
32663 * sysdeps/ieee754/s_matherr.c: Likewise.
32664 * sysdeps/ieee754/s_signgam.c: Likewise.
32665 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
32666 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
32667 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
32668 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
32669 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
32670 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
32671 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
32672 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
32673 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
32674 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
32675 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
32676 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
32677 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
32678 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
32679 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
32680 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
32681 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
32682 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
32683 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
32684 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
32685 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 32686
1991fa03
JM
326872012-03-09 Joseph Myers <joseph@codesourcery.com>
32688
32689 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
32690 * sunrpc/rpc_main.c: Likewise.
32691 * sunrpc/rpc_svcout.c: Likewise.
32692
60d6f5a6
DM
326932012-03-09 David S. Miller <davem@davemloft.net>
32694
32695 * include/math_private.h: New file.
32696
4962050e
JM
326972012-03-09 Joseph Myers <joseph@codesourcery.com>
32698
02a6f887
JM
32699 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
32700 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
32701 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
32702 from <bits/socket_type.h>.
32703 (enum __socket_type): Don't define here.
32704 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
32705 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32706 bits/socket_type.h.
32707
c6e013c1
JM
32708 [BZ #13566]
32709 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
32710 checking __USE_GNU.
32711
4962050e
JM
32712 * Makerules ($(inst_includedir)/%.h): New rule.
32713 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
32714 (install-others): Remove variable setting.
32715 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
32716
38842f45
RH
327172012-03-08 Richard Henderson <rth@twiddle.net>
32718
67bb6da6
RH
32719 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
32720 from macro to inline function; merge with the
32721 !__LIBC_INTERNAL_MATH_INLINES version.
32722 (__ieee754_sqrtf): Likewise.
32723
15194b4b
RH
32724 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
32725 to inline function.
32726 (__rintf, __floor, __floorf): Likewise.
32727
64e21ede
RH
32728 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
32729 macro to inline function.
32730 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
32731
38842f45
RH
32732 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
32733 not <math/math_private.h>.
32734
c64bf5fe
DM
327352012-03-08 David S. Miller <davem@davemloft.net>
32736
32737 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
32738 copyright year.
32739 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
32740
82d86f28
TS
327412012-03-08 Thomas Schwinge <thomas@codesourcery.com>
32742
32743 * resolv/gai_misc.c (handle_requests): Fix struct timespec
32744 normalization.
32745 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
32746 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
32747
aea5d727
UD
327482012-03-08 Ulrich Drepper <drepper@gmail.com>
32749
32750 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
32751 be defined individually, they must be defined as a block. Define
32752 S for printing a string instead of hidint the different by using a
32753 macro for adding the 'l'.
32754 * stdio-common/tst-fphex-wide.c: Adjust.
32755
70bca0a3
MP
327562012-03-07 Marek Polacek <polacek@redhat.com>
32757
32758 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
32759
65b81130
MP
327602012-03-08 Marek Polacek <polacek@redhat.com>
32761
32762 [BZ #13806]
32763 * stdio-common/Makefile (tests): Add tst-fphex-wide.
32764 * stdio-common/tst-fphex.c: Define a few macros to make the
32765 test reusable. Use them.
32766 * stdio-common/tst-fphex-wide.c: New file.
32767
07037eeb
JM
327682012-03-08 Joseph Myers <joseph@codesourcery.com>
32769
a7a93d50
JM
32770 [BZ #6911]
32771 * manual/macros.texi (gnusystems): New macro.
32772 (nongnusystems): Likewise.
32773 (gnulinuxhurdsystems): Likewise.
32774 (gnuhurdsystems): Likewise..
32775 (gnulinuxsystems): Likewise.
32776 * manual/charset.texi: Use new macros or @theglibc{} to refer to
32777 variants of the GNU system, not "GNU system".
32778 * manual/conf.texi: Likewise.
32779 * manual/errno.texi: Likewise. Update example of errno macro
32780 expansion.
32781 * manual/filesys.texi: Likewise.
32782 (getumask): Document as specific to GNU/Hurd.
32783 * manual/install.texi: Likewise. Reword some references to
32784 GNU/Linux.
32785 * manual/intro.texi: Likewise.
32786 * manual/io.texi: Likewise.
32787 (File Name Portability): Detail which constraints are inapplicable
32788 to all GNU systems and which are only inapplicable to GNU/Hurd.
32789 * manual/job.texi: Likewise.
32790 * manual/llio.texi: Likewise.
32791 (O_NOCTTY): Document as present on GNU/Linux.
32792 * manual/maint.texi: Likewise.
32793 * manual/memory.texi: Likewise.
32794 * manual/pattern.texi: Likewise.
32795 * manual/pipe.texi: Likewise.
32796 * manual/process.texi: Likewise.
32797 * manual/resource.texi: Likewise.
32798 (RUSAGE_CHILDREN): Remove statement about specifying a particular
32799 child on GNU/Hurd.
32800 * manual/setjmp.texi: Likewise.
32801 * manual/signal.texi: Likewise.
32802 * manual/startup.texi: Likewise.
32803 * manual/stdio.texi: Likewise.
32804 * manual/terminal.texi: Likewise.
32805 (ONLCR): Document as POSIX.
32806 (OXTABS): Document availability on GNU/Linux as XTABS.
32807 (ONOEOT): Document availability separately from other bits.
32808 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
32809 * manual/time.texi: Likewise.
32810 * manual/users.texi: Likewise.
32811 * INSTALL: Regenerated.
32812 * sysdeps/gnu/errlist.c: Regenerated.
32813
07037eeb
JM
32814 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
32815 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
32816 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
32817 puts.
32818 * configure: Regenerated.
32819
d1d3431a
JM
328202012-03-07 Joseph Myers <joseph@codesourcery.com>
32821
af6a1e37
JM
32822 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
32823 default includes instead of AC_HEADER_CHECK.
32824 * sysdeps/i386/configure: Regenerated.
32825
d1d3431a
JM
32826 [BZ #10716]
32827 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
32828 * math/s_cacoshf.c (__cacoshf): Likewise.
32829 * math/s_cacoshl.c (__cacoshl): Likewise.
32830 * math/s_casinh.c (__casinh): Set signs of result from argument.
32831 * math/s_casinhf.c (__casinhf): Likewise.
32832 * math/s_casinhl.c (__casinhl): Likewise.
32833 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
32834 (casinh_test): Add more tests.
32835 * sysdeps/i386/fpu/libm-test-ulps: Update.
32836 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32837
482ff4da
UD
328382012-03-07 Ulrich Drepper <drepper@gmail.com>
32839
872fda05
UD
32840 * po/zh_TW.po: Update from translation team.
32841
a4300c7a
UD
32842 * login/Makefile (distribute): Remove variable.
32843 * catgets/Makefile: Likewise.
32844 * mach/Makefile: Likewise.
32845 * malloc/Makefile: Likewise.
32846 * misc/Makefile: Likewise.
32847 * iconv/Makefile: Likewise.
32848 * nscd/Makefile: Likewise.
32849 * hurd/Makefile: Likewise.
32850 * manual/Makefile: Likewise.
32851 * locale/Makefile: Likewise.
32852 * intl/Makefile: Likewise.
32853 * conform/Makefile: Likewise.
32854 * nss/Makefile: Likewise.
32855 * time/Makefile: Likewise.
32856 * soft-fp/Makefile: Likewise.
32857 * dirent/Makefile: Likewise.
32858 * gmon/Makefile: Likewise.
32859 * po/Makefile: Likewise.
32860 * rt/Makefile: Likewise.
32861 * socket/Makefile: Likewise.
32862 * math/Makefile: Likewise.
32863 * signal/Makefile: Likewise.
32864 * debug/Makefile: Likewise.
32865 * elf/Makefile: Likewise.
32866 * timezone/Makefile: Likewise.
32867 * stdlib/Makefile: Likewise.
32868 * iconvdata/Makefile: Likewise.
32869 * sunrpc/Makefile: Likewise.
32870 * io/Makefile: Likewise.
32871 * argp/Makefile: Likewise.
32872 * inet/Makefile: Likewise.
32873 * hesiod/Makefile: Likewise.
32874 * grp/Makefile: Likewise.
32875 * csu/Makefile: Likewise.
32876 * wctype/Makefile: Likewise.
32877 * crypt/Makefile: Likewise.
32878 * libio/Makefile: Likewise.
32879 * string/Makefile: Likewise.
32880 * nis/Makefile: Likewise.
32881 * resolv/Makefile: Likewise.
32882 * stdio-common/Makefile: Likewise.
32883 * wcsmbs/Makefile: Likewise.
32884 * dlfcn/Makefile: Likewise.
32885 * posix/Makefile: Likewise.
32886
3b7c4e74 32887 [BZ #6959]
482ff4da
UD
32888 * timezone/Makefile: Don't install timezone files, just the programs
32889 and scripts.
32890
f72ed77d
UD
328912012-03-06 Ulrich Drepper <drepper@gmail.com>
32892
a000466f
UD
32893 * nss/databases.def: Add missing gshadow entry.
32894
f72ed77d
UD
32895 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
32896
a53b7a4e
MP
328972012-03-06 Marek Polacek <polacek@redhat.com>
32898
32899 [BZ #13726]
32900 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
32901 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
32902 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
32903 * stdio-common/tst-long-dbl-fphex.c: New file.
32904
e9258400
DM
329052012-03-06 David S. Miller <davem@davemloft.net>
32906
32907 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
32908 (set_obp_int): New function.
32909 (get_obp_int): New function.
32910 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
32911 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
32912 Avoid unused variable warnings on 'val' and use builtin_expect.
32913 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
32914 __builtin_expect.
e9258400
DM
32915 (INLINE_CLONE_SYSCALL): Likewise.
32916
3bd2c723
DM
329172012-03-05 David S. Miller <davem@davemloft.net>
32918
32919 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32920
bbb78d03
AS
329212012-03-05 Andreas Schwab <schwab@linux-m68k.org>
32922
884c5db4
AS
32923 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32924
bbb78d03
AS
32925 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
32926 only for |x| >= 40.
32927 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
32928
1c9f702a 329292012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
32930
32931 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
32932 Replace gettimeofday with __vdso_gettimeofday.
32933
7be16f82
RM
32934 * sysdeps/unix/sysv/linux/x86_64/init-first.c
32935 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
32936 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
32937
32938 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
32939 time with __vdso_time.
32940
ed58a00f
JM
329412012-03-05 Joseph Myers <joseph@codesourcery.com>
32942
32943 * manual/lang.texi (size_t): Note types to which size_t may be
32944 equivalent with the GNU C Library, but do not describe when
32945 differences between them are significant.
32946
30ee4ced
AJ
329472012-03-05 Andreas Jaeger <aj@suse.de>
32948
32949 * sysdeps/i386/fpu/libm-test-ulps: Update.
32950
b7cd39e8
JM
329512012-03-05 Joseph Myers <joseph@codesourcery.com>
32952
32953 [BZ #3976]
32954 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
32955 (__ieee754_pow): Save and restore rounding mode and use
32956 round-to-nearest for main computations.
32957 * math/libm-test.inc (pow_test_tonearest): New function.
32958 (pow_test_towardzero): Likewise.
32959 (pow_test_downward): Likewise.
32960 (pow_test_upward): Likewise.
32961 (main): Call the new functions.
32962 * sysdeps/i386/fpu/libm-test-ulps: Update.
32963 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
32964
32965 [BZ #3976]
32966 * math/libm-test.inc (cosh_test_tonearest): New function.
32967 (cosh_test_towardzero): Likewise.
32968 (cosh_test_downward): Likewise.
32969 (cosh_test_upward): Likewise.
32970 (sinh_test_tonearest): Likewise.
32971 (sinh_test_towardzero): Likewise.
32972 (sinh_test_downward): Likewise.
32973 (sinh_test_upward): Likewise.
32974 (main): Call the new functions.
32975 * sysdeps/i386/fpu/libm-test-ulps: Update.
32976 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32977
6c6a98c9
TV
329782012-03-05 Tom de Vries <tom@codesourcery.com>
32979
32980 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
32981 default stack guard is set in last bytes.
32982 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
32983
21bb2d2e 329842012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 32985
21bb2d2e 32986 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 32987
21bb2d2e
AJ
32988 [BZ #13656]
32989 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
32990 possibly allocate from heap instead of stack.
32991 * stdio-common/bug-vfprintf-nargs.c: New file.
32992 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 32993
c6922934
AS
329942012-03-03 Andreas Schwab <schwab@linux-m68k.org>
32995
32996 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32997
bc957d53
MP
329982012-03-03 Marek Polacek <polacek@redhat.com>
32999
33000 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
33001 * math/math_private.h: Likewise.
33002 * stdlib/tst-strtod.c: Likewise.
33003 * sysdeps/i386/i486/bits/atomic.h: Likewise.
33004 * sysdeps/x86_64/bits/atomic.h: Likewise.
33005
6358490d
DM
330062012-03-02 David S. Miller <davem@davemloft.net>
33007
33008 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
33009 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
33010 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
33011 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
33012 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
33013 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
33014 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
33015 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
33016
01ae168d
RM
330172012-03-02 Roland McGrath <roland@hack.frob.com>
33018
d9a17c07
RM
33019 [BZ #13792]
33020 * manual/examples/README: New file, says the example source files
33021 can be used under GPL>=2.
33022 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
33023 line containing just "*/".
33024 * manual/examples/add.c: Add copyright header (GPL>=2).
33025 * manual/examples/argp-ex1.c: Likewise.
33026 * manual/examples/argp-ex2.c: Likewise.
33027 * manual/examples/argp-ex3.c: Likewise.
33028 * manual/examples/argp-ex4.c: Likewise.
33029 * manual/examples/atexit.c: Likewise.
33030 * manual/examples/db.c: Likewise.
33031 * manual/examples/dir.c: Likewise.
33032 * manual/examples/dir2.c: Likewise.
33033 * manual/examples/execinfo.c: Likewise.
33034 * manual/examples/filecli.c: Likewise.
33035 * manual/examples/filesrv.c: Likewise.
33036 * manual/examples/fmtmsgexpl.c: Likewise.
33037 * manual/examples/genpass.c: Likewise.
33038 * manual/examples/inetcli.c: Likewise.
33039 * manual/examples/inetsrv.c: Likewise.
33040 * manual/examples/isockad.c: Likewise.
33041 * manual/examples/longopt.c: Likewise.
33042 * manual/examples/memopen.c: Likewise.
33043 * manual/examples/memstrm.c: Likewise.
33044 * manual/examples/mkfsock.c: Likewise.
33045 * manual/examples/mkisock.c: Likewise.
33046 * manual/examples/mygetpass.c: Likewise.
33047 * manual/examples/pipe.c: Likewise.
33048 * manual/examples/popen.c: Likewise.
33049 * manual/examples/rprintf.c: Likewise.
33050 * manual/examples/search.c: Likewise.
33051 * manual/examples/select.c: Likewise.
33052 * manual/examples/setjmp.c: Likewise.
33053 * manual/examples/sigh1.c: Likewise.
33054 * manual/examples/sigusr.c: Likewise.
33055 * manual/examples/stpcpy.c: Likewise.
33056 * manual/examples/strdupa.c: Likewise.
33057 * manual/examples/strftim.c: Likewise.
33058 * manual/examples/strncat.c: Likewise.
33059 * manual/examples/subopt.c: Likewise.
33060 * manual/examples/swapcontext.c: Likewise.
33061 * manual/examples/termios.c: Likewise.
33062 * manual/examples/testopt.c: Likewise.
33063 * manual/examples/testpass.c: Likewise.
33064 * manual/examples/timeval_subtract.c: Likewise.
33065
01ae168d
RM
33066 [BZ #13792]
33067 * manual/time.texi (Elapsed Time): Move timeval_subtract example
33068 function to ...
33069 * manual/timeval_subtract.c.texi: ... here, new file.
33070
49efa33d
DM
330712012-03-02 David S. Miller <davem@davemloft.net>
33072
33073 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
33074
28afd92d
JM
330752012-03-02 Joseph Myers <joseph@codesourcery.com>
33076
804360ed
JM
33077 [BZ #3976]
33078 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
33079 (__sin): Save and restore rounding mode and use round-to-nearest
33080 for all computations.
33081 (__cos): Save and restore rounding mode and use round-to-nearest
33082 for all computations.
33083 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
33084 <fenv.h>.
33085 (tan): Save and restore rounding mode and use round-to-nearest for
33086 all computations.
33087 * math/libm-test.inc (cos_test_tonearest): New function.
33088 (cos_test_towardzero): Likewise.
33089 (cos_test_downward): Likewise.
33090 (cos_test_upward): Likewise.
33091 (sin_test_tonearest): Likewise.
33092 (sin_test_towardzero): Likewise.
33093 (sin_test_downward): Likewise.
33094 (sin_test_upward): Likewise.
33095 (tan_test_tonearest): Likewise.
33096 (tan_test_towardzero): Likewise.
33097 (tan_test_downward): Likewise.
33098 (tan_test_upward): Likewise.
33099 (main): Call the new functions.
33100 * sysdeps/i386/fpu/libm-test-ulps: Update.
33101 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33102
a6d06d7b
JM
33103 [BZ #10135]
33104 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
33105 small n, then large n, before computing and testing k+n.
33106 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
33107 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
33108 Likewise.
33109 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
33110 Likewise.
33111 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
33112 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
33113 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
33114 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
33115 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
33116 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
33117 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
33118 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
33119 * math/libm-test.inc (scalbn_test): Add more tests.
33120 (scalbln_test): Likewise.
33121
07e12bb3
JM
33122 * manual/filesys.texi (mode_t): Describe constraints on size and
33123 signedness, not exact equivalence to a particular type.
33124 (ino_t): Likewise.
33125 (ino64_t): Likewise.
33126 (dev_t): Likewise.
33127 (nlink_t): Likewise.
33128 (blkcnt_t): Likewise.
33129 (blkcnt64_t): Likewise.
33130 * manual/llio.texi (off_t): Likewise.
33131
28afd92d
JM
33132 [BZ #3976]
33133 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
33134 (__ieee754_exp): Save and restore rounding mode and use
33135 round-to-nearest for all computations.
33136 * math/libm-test.inc (exp_test_tonearest): New function.
33137 (exp_test_towardzero): Likewise.
33138 (exp_test_downward): Likewise.
33139 (exp_test_upward): Likewise.
33140 (main): Call the new functions.
33141 * sysdeps/i386/fpu/libm-test-ulps: Update.
33142 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33143
b1eeb65d
CD
331442012-03-01 Chris Demetriou <cgd@google.com>
33145
33146 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
33147 have predictable order.
33148
53362a4b
DM
331492012-03-01 David S. Miller <davem@davemloft.net>
33150
3c969083
DM
33151 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
33152
759707de
DM
33153 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
33154 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
33155 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
33156 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
33157
dfdb8ff2
DM
33158 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
33159 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
33160 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
33161 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
33162 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
33163 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
33164 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
33165 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
33166 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
33167
ead89f96
DM
33168 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33169
7f66bd07
DM
33170 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
33171 * sysdeps/sparc/fpu/libm-test-ulps: to here.
33172 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
33173
53362a4b
DM
33174 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
33175 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
33176 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
33177 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
33178 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
33179 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
33180 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
33181 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
33182 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
33183 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
33184 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
33185 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
33186 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
33187 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
33188 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
33189 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33190 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
33191 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
33192 * sysdeps/sparc/elf/configure: Regenerated.
33193
7b1902cb
JM
331942012-03-01 Joseph Myers <joseph@codesourcery.com>
33195
bec039bc
JM
33196 * configure.in (AS, LD): Require binutils 2.20 or later.
33197 * configure: Regenerated.
33198 * manual/install.texi (Tools for Compilation): Give binutils 2.20
33199 as required minimum version.
33200 * INSTALL: Regenerated.
33201
7b1902cb
JM
33202 [BZ #2541]
33203 [BZ #4108]
33204 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
33205 before squaring exponent.
33206 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
33207 bottom long double and 27 bits of top long double before squaring
33208 exponent.
33209 * math/libm-test.inc (erfc_test): Add more tests.
33210 * sysdeps/i386/fpu/libm-test-ulps: Update.
33211 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33212 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33213
f775c276
KT
332142012-03-01 Kai Tietz <ktietz@redhat.com>
33215
33216 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
33217 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
33218 containing bit-fields.
33219 * soft-fp/extended.h (_FP_UNION_E): Likewise.
33220 * soft-fp/single.h (_FP_UNION_S): Likewise.
33221 * soft-fp/double.h (_FP_UNION_D): Likewise.
33222
5b8a4d4a
JM
332232012-02-29 Joseph Myers <joseph@codesourcery.com>
33224
0bab47b6
JM
33225 [BZ #13786]
33226 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
33227 not include ../strcmp.S.
33228 [USE_AS_STRNCASECMP_L]: Likewise.
33229 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
33230 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
33231 * sysdeps/i386/i686/multiarch/strncase_l-c.c
33232 (__strncasecmp_l_ia32): Define as alias to
33233 __strncasecmp_l_nonascii.
33234
0fcad3e2
JM
33235 [BZ #5794]
33236 * math/libm-test.inc (expm1_test): Add test for bug 5794.
33237 * sysdeps/i386/fpu/libm-test-ulps: Update.
33238 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33239
5b8a4d4a
JM
33240 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
33241 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33242
8fdceb2e
JL
332432012-02-29 Jeff Law <law@redhat.com>
33244
33245 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
33246 out of bounds read.
33247
1f393a11
MP
332482012-02-29 Marek Polacek <polacek@redhat.com>
33249
33250 [BZ #13706]
33251 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
33252 * elf/Makefile: Add rules to run tst-unused-dep.out.
33253
8847f037
DM
332542012-02-28 David S. Miller <davem@davemloft.net>
33255
33256 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
33257 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
33258 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
33259 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
33260 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
33261 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
33262
169d7f11
JM
332632012-02-29 Joseph Myers <joseph@codesourcery.com>
33264
33265 * math/libm-test.inc (llround_test): Move one test from
33266 lround_test. Use TEST_f_L in moved test.
33267 (lround_test): Move misplaced test to llround_test. Add testcase
33268 from bug 2561.
33269
39adf059
UD
332702012-02-28 Ulrich Drepper <drepper@gmail.com>
33271
33272 * sysdeps/x86_64/fpu/e_expf.S: New file.
33273 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
33274
71b5d1c5
SB
332752012-02-28 Stanislav Brabec <sbrabec@suse.cz>
33276
33277 [BZ #13637]
33278 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
33279 of remain_len that may cause incomplete multi-byte character and
33280 false match.
33281 * posix/bug-regex33.c: New file.
33282 * posix/Makefile (tests): Add bug-regex33.
33283
1f77f049
JM
332842012-02-28 Joseph Myers <joseph@codesourcery.com>
33285
33286 * manual/macros.texi: New file.
33287 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
33288 * manual/libc.texinfo: Include macros.texi.
33289 * manual/creatute.texi: Likewise.
33290 * manual/install.texi: Likewise.
33291 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
33292 @glibcadj{} in references to the GNU C Library.
33293 * manual/charset.texi: Likewise.
33294 * manual/conf.texi: Likewise.
33295 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
33296 when not using those macros.
33297 * manual/creature.texi: Likewise.
33298 * manual/crypt.texi: Likewise.
33299 * manual/errno.texi: Likewise.
33300 * manual/filesys.texi: Likewise.
33301 * manual/header.texi: Likewise.
33302 * manual/install.texi: Likewise.
33303 * manual/intro.texi: Likewise.
33304 * manual/io.texi: Likewise.
33305 * manual/job.texi: Likewise.
33306 * manual/lang.texi: Likewise.
33307 * manual/libc.texiinfo: Likewise.
33308 * manual/llio.texi: Likewise.
33309 * manual/locale.texi: Likewise.
33310 * manual/maint.texi: Likewise.
33311 * manual/math.texi: Likewise.
33312 * manual/memory.texi: Likewise.
33313 * manual/message.texi: Likewise.
33314 * manual/nss.texi: Likewise.
33315 * manual/pattern.texi: Likewise.
33316 * manual/process.texi: Likewise.
33317 * manual/resource.texi: Likewise.
33318 * manual/search.texi: Likewise.
33319 * manual/setjmp.texi: Likewise.
33320 * manual/signal.texi: Likewise.
33321 * manual/socket.texi: Likewise.
33322 * manual/startup.texi: Likewise.
33323 * manual/stdio.texi: Likewise.
33324 * manual/string.texi: Likewise.
33325 * manual/sysinfo.texi: Likewise.
33326 * manual/syslog.texi: Likewise.
33327 * manual/terminal.texi: Likewise.
33328 * manual/time.texi: Likewise.
33329 * manual/users.texi: Likewise.
33330 * INSTALL: Regenerated.
33331 * NOTES: Regenerated.
d40c5d54 33332 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 33333
450bf206
AS
333342012-02-28 Andreas Schwab <schwab@linux-m68k.org>
33335
33336 * include/dirent.h: Include <dirstream.h> before
33337 <dirent/dirent.h>.
33338
741a235b
DM
333392012-02-28 David S. Miller <davem@davemloft.net>
33340
33341 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
33342 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
33343 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
33344 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
33345
d6b5aa58
DM
333462012-02-27 David S. Miller <davem@davemloft.net>
33347
1aff59a3
DM
33348 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
33349 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
33350 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
33351 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
33352
d6b5aa58
DM
33353 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
33354 frame pointer instead of stack pointer relative arg slot.
33355 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
33356 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
33357 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
33358
433f48bf
CD
333592012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
33360
33361 [BZ #3992]
33362 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
33363
d674b76d
DM
333642012-02-27 David S. Miller <davem@davemloft.net>
33365
33366 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
33367 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
33368 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
33369 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
33370 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
33371 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
33372 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
33373 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
33374
0e7727f7
JM
333752012-02-27 Joseph Myers <joseph@codesourcery.com>
33376
33377 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
33378 later. Allow versions 5-9.
43be4ca2 33379 * configure: Regenerated.
0e7727f7
JM
33380 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
33381 required minimum version and 4.6 as recommended version. Do not
33382 mention bugs in GCC 2.7 and 2.8.
43be4ca2 33383 * INSTALL: Regenerated.
0e7727f7 33384
a78bc654
DM
333852012-02-27 David S. Miller <davem@davemloft.net>
33386
428d5830
DM
33387 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
33388 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
33389 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
33390 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
33391 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
33392 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
33393 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
33394 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
33395
a78bc654
DM
33396 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
33397 manipulate bits before adding and subtracting TWO112[sx].
33398 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
33399
4579f81c
RM
334002012-02-27 Roland McGrath <roland@hack.frob.com>
33401
36c8acb4
RM
33402 [BZ #13775]
33403 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
33404 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
33405 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
33406 being in POSIX, because they are in 1003.1-2008.
33407
84ad622b
RM
33408 * rt/tst-aio.c: Include <fcntl.h>.
33409 * rt/tst-aio7.c: Likewise.
33410 * rt/tst-aio64.c: Likewise.
33411
4579f81c
RM
33412 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
33413
abd923db
JM
334142012-02-27 Joseph Myers <joseph@codesourcery.com>
33415
33416 * manual/install.texi (--with-headers): Describe headers as
33417 interface headers, not private headers.
33418 (Specific advice for GNU/Linux systems): Describe use of headers
33419 from "make headers_install", not private headers from older
33420 kernels.
43be4ca2 33421 * INSTALL: Regenerated.
abd923db
JM
33422 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
33423 Change to 2.6.19.
33424 * sysdeps/unix/sysv/linux/configure: Regenerated.
33425
6664049b
JM
33426 * manual/llio.texi (fclean): Remove documentation.
33427
bb8b6697
JM
33428 * manual/Makefile (libc-texi-generated): New variable. Include
33429 version.texi.
33430 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
33431 $(libc-texi-generated), not duplicated list of files.
33432 (version.texi, stamp-version): New rules.
33433 (realclean): Remove $(libc-texi-generated), not individual files
33434 from that list. Do not remove dir-add.texinfo.
33435 * manual/libc.texinfo: Comment out uses of edition numbers and
33436 references to printed manual. Remove last-updated dates.
33437 (EDITION): Comment out.
33438 (ISBN): Likewise.
33439 (VERSION, UPDATED): Remove.
33440 (version.texi): Include.
33441
12e5c3b9
AS
334422012-02-27 Andreas Schwab <schwab@linux-m68k.org>
33443
33444 * sysdeps/posix/spawni.c: Include <signal.h>.
33445 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
33446 * sysdeps/pthread/aio_fsync.c: Likewise.
33447
4efeffc1 334482012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 33449
ba63ba08
UD
33450 * conform/Makefile (tests): Run only when not cross-compiling and
33451 when fast-check is not defined.
33452
d94a4670
UD
33453 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
33454 * conform/data/limits.h-data: Fixes for POSIX2008.
33455 * conform/run-conformtest.sh: Run all tests.
33456 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
33457 headers.
33458 * include/bits/dlfcn.h: Likewise.
33459 * include/langinfo.h: Likewise.
33460 * include/monetary.h: Likewise.
33461 * include/sys/poll.h: Likewise.
33462
33463 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
33464 for __USE_GNU.
33465 * posix/spawn.h: Define __need_sigset_t.
33466 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
33467 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
33468 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
33469 to get sigevent_t only.
33470 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
33471 only for __USE_GNU.
33472 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
33473 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
33474 process_vm_writev only for __USE_GNU.
33475 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
33476
33477 * conform/Makefile: For now ignore errors from run-conformtest.
33478 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
33479 POSIX to avoid namespace pollution. Don't prepend headers.
33480 * conform/data/aio.h-data: Fixes for POSIX testing.
33481 * conform/data/fcntl.h-data: Likewise.
33482 * conform/data/glob.h-data: Likewise.
33483 * conform/data/grp.h-data: Likewise.
33484 * conform/data/pthread.h-data: Likewise.
33485 * conform/data/pwd.h-data: Likewise.
33486 * conform/data/signal.h-data: Likewise.
33487 * conform/data/spawn.h-data: Likewise.
33488 * conform/data/stdio.h-data: Likewise.
33489 * conform/data/stdlib.h-data: Likewise.
33490 * conform/data/stropts.h-data: Likewise.
33491 * conform/data/sys/mman.h-data: Likewise.
33492 * conform/data/sys/stat.h-data: Likewise.
33493 * conform/data/sys/types.h-data: Likewise.
33494 * conform/data/sys/wait.h-data: Likewise.
33495 * conform/data/time.h-data: Likewise.
33496 * conform/data/unistd.h-data: Likewise.
33497 * conform/data/utime.h-data: Likewise.
33498
33499 * io/sys/stat.h: fchmod was always in POSIX.
33500 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
33501 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
33502 * rt/aio.h: Define __need_timespec before including <time.h>.
33503 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
33504 struct. Add forward declaration of pthread_attr_t and use it in
33505 sigevent.
33506 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
33507 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
33508 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
33509 always remove CLK_TCK definition.
33510
c20105c3
AS
335112012-02-26 Andreas Schwab <schwab@linux-m68k.org>
33512
33513 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
33514
7a270350
UD
335152012-02-25 Ulrich Drepper <drepper@gmail.com>
33516
31341567
UD
33517 * conform/run-conformtest.sh: New file.
33518 * conform/Makefile: Run run-conformtest for tests.
33519 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
33520 support.
33521
33522 * conform/data/uchar.h-data: New file.
33523 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
33524 * conform/data/arpa/inet.h-data: Likewise.
33525 * conform/data/assert.h-data: Likewise.
33526 * conform/data/complex.h-data: Likewise.
33527 * conform/data/cpio.h-data: Likewise.
33528 * conform/data/ctype.h-data: Likewise.
33529 * conform/data/dirent.h-data: Likewise.
33530 * conform/data/dlfcn.h-data: Likewise.
33531 * conform/data/errno.h-data: Likewise.
33532 * conform/data/fcntl.h-data: Likewise.
33533 * conform/data/float.h-data: Likewise.
33534 * conform/data/fmtmsg.h-data: Likewise.
33535 * conform/data/fnmatch.h-data: Likewise.
33536 * conform/data/ftw.h-data: Likewise.
33537 * conform/data/glob.h-data: Likewise.
33538 * conform/data/grp.h-data: Likewise.
33539 * conform/data/iconv.h-data: Likewise.
33540 * conform/data/inttypes.h-data: Likewise.
33541 * conform/data/langinfo.h-data: Likewise.
33542 * conform/data/libgen.h-data: Likewise.
33543 * conform/data/limits.h-data: Likewise.
33544 * conform/data/locale.h-data: Likewise.
33545 * conform/data/math.h-data: Likewise.
33546 * conform/data/monetary.h-data: Likewise.
33547 * conform/data/mqueue.h-data: Likewise.
33548 * conform/data/ndbm.h-data: Likewise.
33549 * conform/data/net/if.h-data: Likewise.
33550 * conform/data/netdb.h-data: Likewise.
33551 * conform/data/netinet/in.h-data: Likewise.
33552 * conform/data/nl_types.h-data: Likewise.
33553 * conform/data/poll.h-data: Likewise.
33554 * conform/data/pthread.h-data: Likewise.
33555 * conform/data/pwd.h-data: Likewise.
33556 * conform/data/regex.h-data: Likewise.
33557 * conform/data/sched.h-data: Likewise.
33558 * conform/data/search.h-data: Likewise.
33559 * conform/data/semaphore.h-data: Likewise.
33560 * conform/data/setjmp.h-data: Likewise.
33561 * conform/data/signal.h-data: Likewise.
33562 * conform/data/spawn.h-data: Likewise.
33563 * conform/data/stdarg.h-data: Likewise.
33564 * conform/data/stdio.h-data: Likewise.
33565 * conform/data/stdlib.h-data: Likewise.
33566 * conform/data/string.h-data: Likewise.
33567 * conform/data/strings.h-data: Likewise.
33568 * conform/data/stropts.h-data: Likewise.
33569 * conform/data/sys/ipc.h-data: Likewise.
33570 * conform/data/sys/mman.h-data: Likewise.
33571 * conform/data/sys/msg.h-data: Likewise.
33572 * conform/data/sys/resource.h-data: Likewise.
33573 * conform/data/sys/select.h-data: Likewise.
33574 * conform/data/sys/sem.h-data: Likewise.
33575 * conform/data/sys/shm.h-data: Likewise.
33576 * conform/data/sys/socket.h-data: Likewise.
33577 * conform/data/sys/stat.h-data: Likewise.
33578 * conform/data/sys/statvfs.h-data: Likewise.
33579 * conform/data/sys/time.h-data: Likewise.
33580 * conform/data/sys/timeb.h-data: Likewise.
33581 * conform/data/sys/times.h-data: Likewise.
33582 * conform/data/sys/types.h-data: Likewise.
33583 * conform/data/sys/uio.h-data: Likewise.
33584 * conform/data/sys/un.h-data: Likewise.
33585 * conform/data/sys/utsname.h-data: Likewise.
33586 * conform/data/sys/wait.h-data: Likewise.
33587 * conform/data/syslog.h-data: Likewise.
33588 * conform/data/tar.h-data: Likewise.
33589 * conform/data/termios.h-data: Likewise.
33590 * conform/data/utime.h-data: Likewise.
33591 * conform/data/utmpx.h-data: Likewise.
33592 * conform/data/varargs.h-data: Likewise.
33593 * conform/data/wchar.h-data: Likewise.
33594 * conform/data/wctype.h-data: Likewise.
33595 * conform/data/wordexp.h-data: Likewise.
33596
33597 * include/stropts.h: New file.
33598 * include/uchar.h: New file.
33599 * include/aio.h: Changes to allow conformtest.pl to use the headers.
33600 * include/assert.h: Likewise.
33601 * include/ctype.h: Likewise.
33602 * include/dirent.h: Likewise.
33603 * include/dlfcn.h: Likewise.
33604 * include/fcntl.h: Likewise.
33605 * include/fnmatch.h: Likewise.
33606 * include/glob.h: Likewise.
33607 * include/grp.h: Likewise.
33608 * include/libio.h: Likewise.
33609 * include/locale.h: Likewise.
33610 * include/math.h: Likewise.
33611 * include/net/if.h: Likewise.
33612 * include/netdb.h: Likewise.
33613 * include/netinet/in.h: Likewise.
33614 * include/pthread.h: Likewise.
33615 * include/pwd.h: Likewise.
33616 * include/regex.h: Likewise.
33617 * include/sched.h: Likewise.
33618 * include/search.h: Likewise.
33619 * include/setjmp.h: Likewise.
33620 * include/signal.h: Likewise.
33621 * include/stdio.h: Likewise.
33622 * include/stdlib.h: Likewise.
33623 * include/string.h: Likewise.
33624 * include/sys/cdefs.h: Likewise.
33625 * include/sys/mman.h: Likewise.
33626 * include/sys/msg.h: Likewise.
33627 * include/sys/resource.h: Likewise.
33628 * include/sys/select.h: Likewise.
33629 * include/sys/socket.h: Likewise.
33630 * include/sys/stat.h: Likewise.
33631 * include/sys/statvfs.h: Likewise.
33632 * include/sys/time.h: Likewise.
33633 * include/sys/times.h: Likewise.
33634 * include/sys/uio.h: Likewise.
33635 * include/sys/utsname.h: Likewise.
33636 * include/sys/wait.h: Likewise.
33637 * include/termios.h: Likewise.
33638 * include/time.h: Likewise.
33639 * include/ulimit.h: Likewise.
33640 * include/unistd.h: Likewise.
33641 * include/utime.h: Likewise.
33642 * include/wchar.h: Likewise.
33643 * include/wctype.h: Likewise.
33644 * include/wordexp.h: Likewise.
33645
33646 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
33647
7a270350
UD
33648 * time/time.h: TIME_UTC must be a macro.
33649 Make timespec_get available for ISO C11 only as well.
33650
7724defc
UD
336512012-02-24 Ulrich Drepper <drepper@gmail.com>
33652
33653 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
33654 Reported by Peng Haitao <penght@cn.fujitsu.com>.
33655
6b1d1d46
JM
336562012-02-24 Joseph Myers <joseph@codesourcery.com>
33657
33658 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 33659
0f8bbd69
JM
336602012-02-24 Joseph Myers <joseph@codesourcery.com>
33661
33662 * manual/texinfo.tex: Update to version 2012-01-19.16.
33663
66ab80bc
JM
336642012-02-24 Joseph Myers <joseph@codesourcery.com>
33665
33666 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
33667
74981cc5
RM
336682012-02-24 Roland McGrath <roland@hack.frob.com>
33669
ee968201
RM
33670 [BZ #13738]
33671 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
33672 * manual/fdl-1.3.texi: New file.
33673 * manual/fdl-1.1.texi: File removed.
33674
74981cc5
RM
33675 [BZ #13738]
33676 * manual/libc.texinfo (FDL_VERSION): New @set.
33677 Use it for mention of FDL in cover text.
33678 (Documentation License): Use it in @include file name.
33679
7bb764bc
JM
336802012-02-22 Joseph Myers <joseph@codesourcery.com>
33681 Roland McGrath <roland@hack.frob.com>
33682
33683 [BZ #5461]
33684 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
33685 not LONG_LONG_MAX and LONG_LONG_MIN.
33686 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
33687 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
33688 name.
33689 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
33690
6cbeae47
JM
336912012-02-22 Joseph Myers <joseph@codesourcery.com>
33692
33693 [BZ #2547]
33694 [BZ #11365]
33695 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
33696 manipulate bits before adding and subtracting TWO23[sx].
33697 * math/libm-test.inc (nearbyint_test): Add more tests.
33698
fe45ce09
JM
336992012-02-22 Joseph Myers <joseph@codesourcery.com>
33700
33701 [BZ #2548]
33702 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
33703 bits before adding and subtracting TWO23[sx].
33704 * math/libm-test.inc (rint_test): Add more tests.
33705 (rint_test_tonearest): Likewise.
33706 (rint_test_towardzero): Likewise.
33707 (rint_test_downward): Likewise.
33708 (rint_test_upward: Likewise.
33709
ff3b3d82
JM
337102012-02-22 Joseph Myers <joseph@codesourcery.com>
33711
33712 [BZ #10110]
33713 * include/stdc-predef.h: New file. Extracted from features.h.
33714 * include/features.h: Include stdc-predef.h.
33715 * Makefile (headers): Add stdc-predef.h.
33716 * CONFORMANCE (Compiler limitations): Update.
33717
ef0aab35
JM
337182012-02-22 Joseph Myers <joseph@codesourcery.com>
33719
33720 * manual/libc.texinfo (VERSION, UPDATED): Revert.
33721
58639409
DM
337222012-02-21 David S. Miller <davem@davemloft.net>
33723
33724 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
33725 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
33726
c0e70b25
DM
337272012-02-20 David S. Miller <davem@davemloft.net>
33728
33729 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
33730 using a normal save/restore sequence, rather than allocating a
33731 dummy stack frame just to store a frame pointer and restore.
33732 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
33733
fb06851d
JM
337342012-02-21 Joseph Myers <joseph@codesourcery.com>
33735
33736 * manual/install.texi: Fix stray word in line-wrapped comment.
33737
7a8b71c3
DM
337382012-02-20 David S. Miller <davem@davemloft.net>
33739
d510c123
DM
33740 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
33741 both binutils and gcc support GOTDATA.
33742
0722d7c2
DM
33743 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
33744 "rd %pc" in the PIC register setup sequences.
33745
3d2b3019
DM
33746 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
33747 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
33748 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
33749 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
33750 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
33751 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
33752 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
33753 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
33754 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
33755 (SYSCALL_ERROR_HANDLER): Likewise.
33756 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
33757 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
33758 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
33759 (SYSCALL_ERROR_HANDLER): Likewise.
33760
c80098a9
DM
33761 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
33762 (HAVE_GCC_GOTDATA): New.
33763 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
33764 relocation support in both binutils and gcc.
33765 * sysdeps/sparc/elf/configure: Regenerate.
33766
3a2545a0
DM
33767 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
33768 * sysdeps/sparc/sparc32/elf/configure: Delete.
33769 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
33770 * sysdeps/sparc/sparc64/elf/configure: Delete.
33771 * sysdeps/sparc/elf/configure.in: New file.
33772 * sysdeps/sparc/elf/configure: Generate.
33773
7a8b71c3
DM
33774 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
33775 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
33776 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
33777 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
33778 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
33779
f1e86fca
JM
337802012-02-21 Joseph Myers <joseph@codesourcery.com>
33781
33782 * manual/install.texi: Do not mention specific glibc version
33783 numbers.
33784 * manual/libc.texinfo (VERSION, UPDATED): Update.
33785 (@copying): Use @copyright{} and range of years.
33786
0e7dfaef
JM
337872012-02-21 Joseph Myers <joseph@codesourcery.com>
33788
33789 [BZ #13695]
33790 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
33791 [crti.S not in sysdirs] (generated): Do not append.
33792 [crti.S not in sysdirs] (omit-deps): Likewise.
33793 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
33794 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
33795 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
33796 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
33797 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
33798 Likewise.
33799 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
33800 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
33801 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
33802 * csu/defs.awk: Remove file.
33803 * sysdeps/generic/initfini.c: Likewise.
33804 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
33805 variable.
33806 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
33807 Likewise.
33808
599af3ca
JM
338092012-02-20 Joseph Myers <joseph@codesourcery.com>
33810
33811 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
33812 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
33813 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
33814 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
33815 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
33816 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
33817 <bits/epoll.h>.
33818 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
33819 (__EPOLL_PACKED): Define to empty if not defined by
33820 <bits/epoll.h>.
33821 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
33822 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33823 bits/epoll.h.
33824
0e499750
JM
338252012-02-20 Joseph Myers <joseph@codesourcery.com>
33826
33827 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
33828 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
33829 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
33830 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
33831 <bits/timerfd.h>.
33832 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
33833 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33834 bits/timerfd.h.
33835
5ad91f6e
JM
338362012-02-20 Joseph Myers <joseph@codesourcery.com>
33837
33838 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
33839 in C locale.
33840 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33841 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
33842 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
33843 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33844
06b99b02
AJ
338452012-02-20 Aurelien Jarno <aurelien@aurel32.net>
33846
33847 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33848 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
33849
7638c0fd
AS
338502012-02-19 Andreas Schwab <schwab@linux-m68k.org>
33851
33852 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
33853 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
33854 defined.
33855 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
33856 Likewise.
33857 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
33858 entry for 2.16.
33859
92221550
AJ
338602012-02-19 Aurelien Jarno <aurelien@aurel32.net>
33861
33862 * math/w_acos.c: Use non-signaling floating-point comparisons.
33863 * math/w_acosf.c: Likewise.
33864 * math/w_acosh.c: Likewise.
33865 * math/w_acoshf.c: Likewise.
33866 * math/w_acoshl.c: Likewise.
33867 * math/w_acosl.c: Likewise.
33868 * math/w_asin.c: Likewise.
33869 * math/w_asinf.c: Likewise.
33870 * math/w_asinl.c: Likewise.
33871 * math/w_atanh.c: Likewise.
33872 * math/w_atanhf.c: Likewise.
33873 * math/w_atanhl.c: Likewise.
33874 * math/w_exp2.c: Likewise.
33875 * math/w_exp2f.c: Likewise.
33876 * math/w_exp2l.c: Likewise.
33877 * math/w_j0.c: Likewise.
33878 * math/w_j0f.c: Likewise.
33879 * math/w_j0l.c: Likewise.
33880 * math/w_j1.c: Likewise.
33881 * math/w_j1f.c: Likewise.
33882 * math/w_j1l.c: Likewise.
33883 * math/w_jn.c: Likewise.
33884 * math/w_jnf.c: Likewise.
33885 * math/w_log.c: Likewise.
33886 * math/w_log10.c: Likewise.
33887 * math/w_log10f.c: Likewise.
33888 * math/w_log10l.c: Likewise.
33889 * math/w_log2.c: Likewise.
33890 * math/w_log2f.c: Likewise.
33891 * math/w_log2l.c: Likewise.
33892 * math/w_logf.c: Likewise.
33893 * math/w_logl.c: Likewise.
33894 * math/w_sqrt.c: Likewise.
33895 * math/w_sqrtf.c: Likewise.
33896 * math/w_sqrtl.c: Likewise.
33897 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
33898 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
33899 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33900 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
33901 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
33902
ebaf36eb
JM
339032012-02-19 Joseph Myers <joseph@codesourcery.com>
33904
33905 [BZ #9739]
33906 * manual/string.texi (strnlen): Use correct parameter name in
33907 equivalent expression.
33908
71c254a6
JM
339092012-02-19 Joseph Myers <joseph@codesourcery.com>
33910
33911 [BZ #11174]
33912 * manual/users.texi (seteuid): Consistently use neweuid for
33913 argument name.
33914
16d2c631
JM
339152012-02-19 Joseph Myers <joseph@codesourcery.com>
33916
33917 [BZ #13704]
33918 * manual/nss.texi (Services in the NSS configuration): Correct
33919 list of services in example configuration file.
33920
cd837b09
NB
339212012-02-19 Nick Bowler <nbowler@draconx.ca>
33922
33923 [BZ #11322]
33924 * manual/arith.texi: Remove statements about negative zero
33925 behaving identically to zero.
33926
02c4bbad
JM
339272012-02-18 Joseph Myers <joseph@codesourcery.com>
33928
33929 [BZ #5993]
33930 * manual/install.texi: Do not document upgrading from libc5.
33931
366842e7
JM
339322012-02-18 Joseph Myers <joseph@codesourcery.com>
33933
33934 [BZ #4596]
33935 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
33936
dd54084d
DM
339372012-02-18 David S. Miller <davem@davemloft.net>
33938
33939 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
33940 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
33941 %o7 across the call.
33942 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
33943 instead.
33944 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
33945 SETUP_PIC_REG_LEAF.
33946 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33947 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
33948 * sysdeps/sparc/crtn.S: Likewise.
33949
2bcc53a3
UD
339502012-02-17 Ulrich Drepper <drepper@gmail.com>
33951
33952 * aout/Makefile: Remove.
33953
09c093b5
RK
339542012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
33955
33956 [BZ #13058]
33957 * manual/examples/argp-ex1.c (main): Format definition in GNU
33958 style.
33959 * manual/examples/argp-ex2.c (main): Likewise.
33960 * manual/examples/argp-ex3.c (main): Likewise.
33961 * manual/examples/argp-ex4.c (main): Likewise.
33962 * manual/examples/longopt.c (main): Use new-style prototype
33963 definition.
33964 * manual/examples/strncat.c (main): Specify return type and use
33965 (void) for arguments.
33966 * manual/examples/subopt.c (main): Use char **argv argument.
33967
2ee633a2
JM
339682012-02-17 Joseph Myers <joseph@codesourcery.com>
33969
33970 [BZ #5077]
33971 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
33972 rounding modes.
33973
0520adde
FB
339742012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
33975
33976 [BZ #6907]
33977 * manual/string.texi (strchr): Change when strchrnul is
33978 recommended.
33979
3f4081cd
DGM
339802012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
33981
33982 [BZ #174]
33983 * manual/locale.texi (setlocale): Document LOCPATH.
33984
d1b10e78
JM
339852012-02-17 Joseph Myers <joseph@codesourcery.com>
33986
33987 [BZ #10210]
33988 * manual/process.texi (execle): Move @dots{} before last argument.
33989
79c6869c
PB
339902012-02-17 Paul Bolle <pebolle@tiscali.nl>
33991
33992 [BZ #12047]
33993 * manual/charset.texi (Generic Charset Conversion): Fix typo
33994 (LC_TYPE -> LC_CTYPE).
33995
cc6e48bc
NB
339962012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
33997
33998 [BZ #5805]
33999 * manual/arith.texi (scalbn): Use @var{} on parameter names.
34000 (scalbnf): Likewise.
34001 (scalbnl): Likewise.
34002 (scalbln): Likewise.
34003 (scalblnf): Likewise.
34004 (scalblnl): Likewise.
34005 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
34006 (vwarnx): Likewise.
34007 (verr): Likewise.
34008 (verrx): Likewise.
34009 * manual/filesys.texi (telldir): Use braces around return type.
34010 * manual/llio.texi (mmap): Add space after comma.
34011 (mmap64): Likewise.
34012 * manual/math.texi (jn): Use @var{} on parameter names.
34013 (jnf): Likewise.
34014 (jnl): Likewise.
34015 (yn): Likewise.
34016 (ynf): Likewise.
34017 (ynl): Likewise.
34018 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
34019 line.
34020 * manual/resource.texi (ulimit): Use @dots{} instead of literal
34021 "...".
34022 (sched_get_priority_min): Remove semicolon on @deftypefun line.
34023 (sched_get_priority_max): Likewise.
34024 * manual/signal.texi (sigvec): Add space after comma.
34025 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
34026 names.
34027 (if_indextoname): Likewise.
34028 (if_freenameindex): Likewise.
34029 (sendto): Use ',' instead of '.' in prototype.
34030 * manual/startup.texi (syscall): Use @dots{} instead of literal
34031 "...".
34032 * manual/stdio.texi (__fpending): Separate initial words of
34033 paragraph from @deftypefun line.
34034 * manual/syslog.texi (syslog): Use @dots{} instead of literal
34035 "...".
34036 (vsyslog): Use @var{} on parameter names.
34037 * manual/terminal.texi (stty): Use @var{} on parameter names.
34038 * manual/users.texi (getutmp): Use @var{} on parameter names.
34039 (getutmpx): Likewise.
34040
5b23062f
JM
340412012-02-17 Joseph Myers <joseph@codesourcery.com>
34042
34043 [BZ #6884]
34044 * manual/stdio.texi (fopen): Fix typos in description of
34045 ",ccs=STRING".
34046
8dee4833
AJ
340472012-02-17 Aurelien Jarno <aurelien@aurel32.net>
34048
34049 [BZ #4026]
34050 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
34051 get clock_id definition.
34052
9078ce93
TS
340532012-02-17 Thomas Schwinge <thomas@schwinge.name>
34054
34055 [BZ #4822]
34056 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
34057 (madvise): Cast every argument to void on its own.
34058
3835c55f
JM
340592012-02-17 Joseph Myers <joseph@codesourcery.com>
34060
34061 [BZ #9902]
34062 * manual/startup.texi (Exit Status): Fix typo.
34063
35c47e37
JM
340642012-02-17 Joseph Myers <joseph@codesourcery.com>
34065
34066 [BZ #10140]
34067 * manual/examples/argp-ex1.c: Include <stdlib.h>.
34068 * manual/examples/argp-ex2.c: Likewise.
34069 * manual/examples/argp-ex3.c: Likewise.
34070
e3b69ca7
RH
340712012-02-16 Richard Henderson <rth@redhat.com>
34072
34073 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
34074 * sysdeps/s390/s390-32/initfini.c: Remove.
34075 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
34076 * sysdeps/s390/s390-64/initfini.c: Remove.
34077
df83af67
KK
340782012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
34079
34080 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
34081 compiler output for sysdeps/generic/initfini.c.
34082 * sysdeps/sh/elf/initfini.c: Remove file.
34083
f63f3380
DM
340842012-02-16 David S. Miller <davem@davemloft.net>
34085
fb59b3a4
DM
34086 [BZ #11494]
34087 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
34088
f63f3380
DM
34089 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
34090 * sysdeps/sparc/crti.S: New file.
34091 * sysdeps/sparc/crtn.S: New file.
34092 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
34093 * sysdeps/sparc/sparc64/Makefile: Likewise.
34094
df6a4a4a
MF
340952012-02-15 Mike Frysinger <vapier@gentoo.org>
34096
6dd8f3dc 34097 [BZ #3335]
df6a4a4a
MF
34098 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
34099
1cac7236
RM
341002012-02-15 Roland McGrath <roland@hack.frob.com>
34101
d2c736f8
RM
34102 [BZ #4822]
34103 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
34104
1cac7236
RM
34105 * mach/devstream.c (cookie_io_functions_t): Macro removed.
34106 (write, read, close): Likewise.
34107 Patch by Aurelien Jarno <aurelien@aurel32.net>.
34108
8e475601
JM
341092012-02-15 Joseph Myers <joseph@codesourcery.com>
34110
34111 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
34112 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
34113 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
34114 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
34115 <bits/signalfd.h>.
34116 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
34117 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34118 bits/signalfd.h.
34119
ed656b40
MP
341202012-02-14 Marek Polacek <polacek@redhat.com>
34121
34122 * sysdeps/x86_64/crti.S: New file.
34123 * sysdeps/x86_64/crtn.S: New file.
34124 * sysdeps/x86_64/elf/initfini.c: Remove file.
34125
2a979d3a
JM
341262012-02-13 Joseph Myers <joseph@codesourcery.com>
34127
34128 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
34129 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
34130 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
34131 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
34132 <bits/inotify.h>.
34133 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
34134 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34135 bits/inotify.h.
34136
2a418ac3
JM
341372012-02-13 Joseph Myers <joseph@codesourcery.com>
34138
34139 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
34140 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
34141 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
34142 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
34143 <bits/eventfd.h>.
34144 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
34145 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34146 bits/eventfd.h.
34147
fb779be7
TS
341482012-02-10 Thomas Schwinge <thomas@codesourcery.com>
34149
e19e83c5
RM
34150 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
34151 __feraiseexcept instead of feraiseexcept.
7c35ffed 34152
fb779be7
TS
34153 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
34154 nanosleep invocations.
34155 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
34156 strings, and add error checking for a nanosleep invocations.
34157
59ba27a6
PE
341582012-02-09 Paul Eggert <eggert@cs.ucla.edu>
34159
34160 Replace FSF snail mail address with URLs, as per GNU coding standards.
34161 Most of the snail mail addresses were wrong anyway, and omitting
34162 them makes the source code easier to maintain. Almost all of the
34163 changes are to license notices and to locale LC_IDENTIFICATION
34164 addresses, except for this one:
34165 * manual/libc.texinfo: In "Published by", give the FSF's URL,
34166 not its snail mail address.
34167
57b957eb
RH
341682012-02-09 Richard Henderson <rth@twiddle.net>
34169
af850b1c
RH
34170 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
34171 of kernel-features.h.
34172
57b957eb
RH
34173 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
34174
6b73181a
MP
341752012-02-08 Marek Polacek <polacek@redhat.com>
34176
34177 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
34178 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
34179 * sysdeps/gnu/_G_config.h: Likewise.
34180 * sysdeps/generic/_G_config.h: Likewise.
34181
26ecc33a
AS
341822012-02-08 Andreas Schwab <schwab@linux-m68k.org>
34183
6c6dbc63
AS
34184 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
34185 tests.
34186 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34187
e216c012
AS
34188 * sysdeps/powerpc/powerpc32/crti.S: New file.
34189 * sysdeps/powerpc/powerpc32/crtn.S: New file.
34190 * sysdeps/powerpc/powerpc64/crti.S: New file.
34191 * sysdeps/powerpc/powerpc64/crtn.S: New file.
34192
26ecc33a
AS
34193 * Makeconfig (have-initfini): Don't set.
34194 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
34195 * configure.in (nopic_initfini): Don't substitute.
34196 * config.h.in (HAVE_INITFINI): Don't #undef.
34197 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
34198 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
34199
3add8e13
JM
342002012-02-08 Joseph Myers <joseph@codesourcery.com>
34201
34202 Support crti.S and crtn.S provided directly by architectures.
34203 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
34204 [crti.S in sysdirs] (omit-deps): Likewise.
34205 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
34206 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
34207 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
34208 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
34209 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
34210 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
34211 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
34212 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
34213 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
34214 compiler output for sysdeps/generic/initfini.c.
34215 * sysdeps/i386/elf/Makefile: Remove file.
34216 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
34217
a22f12b4
MP
342182012-02-07 Marek Polacek <polacek@redhat.com>
34219
34220 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
34221 * sysdeps/gnu/_G_config.h: Likewise.
34222 * sysdeps/mach/hurd/_G_config.h: Likewise.
34223
148cf100
MP
342242012-02-07 Marek Polacek <polacek@redhat.com>
34225
34226 * math/Makefile (tests): Add tst-CMPLX2.
34227 * math/tst-CMPLX2.c: New file.
34228
cfdc0dd7
AS
342292012-02-07 Andreas Schwab <schwab@linux-m68k.org>
34230
84ba42c4
AS
34231 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34232
cfdc0dd7
AS
34233 * math/libm-test.inc (jn_test): Add missing L suffix.
34234
622c86f4
MP
342352012-02-06 Marek Polacek <polacek@redhat.com>
34236
34237 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
34238 * sysdeps/i386/fpu/e_powf.S: Likewise.
34239 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
34240 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
34241 * sysdeps/i386/fpu/e_acosh.S: Likewise.
34242 * sysdeps/i386/fpu/e_pow.S: Likewise.
34243 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
34244 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
34245 * sysdeps/i386/fpu/s_expm1.S: Likewise.
34246 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
34247 * sysdeps/i386/fpu/e_log2.S: Likewise.
34248 * sysdeps/i386/fpu/e_log2l.S: Likewise.
34249 * sysdeps/i386/fpu/e_scalb.S: Likewise.
34250 * sysdeps/i386/fpu/e_powl.S: Likewise.
34251 * sysdeps/i386/fpu/s_log1p.S: Likewise.
34252 * sysdeps/i386/fpu/e_log10f.S: Likewise.
34253 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
34254 * sysdeps/i386/fpu/e_logl.S: Likewise.
34255 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
34256 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
34257 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
34258 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
34259 * sysdeps/i386/fpu/e_log2f.S: Likewise.
34260 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
34261 * sysdeps/i386/fpu/e_log.S: Likewise.
34262 * sysdeps/i386/fpu/s_cexp.S: Likewise.
34263 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
34264 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
34265 * sysdeps/i386/fpu/e_logf.S: Likewise.
34266 * sysdeps/i386/fpu/e_log10l.S: Likewise.
34267 * sysdeps/i386/fpu/e_atanh.S: Likewise.
34268 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
34269 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
34270 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
34271 * sysdeps/i386/fpu/e_log10.S: Likewise.
34272 * sysdeps/i386/fpu/s_frexp.S: Likewise.
34273 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
34274 * sysdeps/i386/fpu/s_asinh.S: Likewise.
34275 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
34276 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
34277 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
34278 * sysdeps/i386/asm-syntax.h: Likewise.
34279 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
34280 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
34281 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
34282 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
34283 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
34284 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
34285 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
34286 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
34287 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
34288 * sysdeps/powerpc/sysdep.h: Likewise.
34289 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
34290 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
34291
d4a54ac6
JM
342922012-02-06 Joseph Myers <joseph@codesourcery.com>
34293
34294 [BZ #411]
34295 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
34296
314054ea
JM
342972012-02-06 Joseph Myers <joseph@codesourcery.com>
34298
34299 * sysdeps/i386/sysdep.h: Include <features.h>.
34300 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
34301 version.
34302
d8e0ca50
JM
343032012-02-05 Joseph Myers <joseph@codesourcery.com>
34304
34305 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
34306 Define.
34307 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
34308 LOAD_PIC_REG_STR.
34309
b1da7dd9
JM
343102012-02-03 Joseph Myers <joseph@codesourcery.com>
34311
34312 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
34313 (SETUP_PIC_REG): Use GET_PC_THUNK.
34314 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
34315 macro.
34316
9a1d9254
JM
343172012-02-03 Joseph Myers <joseph@codesourcery.com>
34318
34319 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
34320 for non-PIC compilation.
34321 (SETUP_PIC_REG): Add .p2align directive.
34322 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
34323 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
34324 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
34325 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
34326 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
34327 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
34328 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
34329 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
34330 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
34331 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
34332 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
34333 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
34334 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
34335 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
34336 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
34337 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
34338 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
34339 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
34340 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
34341 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
34342 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
34343 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
34344 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
34345 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
34346 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
34347 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
34348 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
34349 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
34350 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
34351 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
34352 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
34353 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
34354 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
34355 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
34356 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
34357 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
34358 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
34359 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
34360 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
34361 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
34362 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
34363
65dc3b75
JM
343642012-02-03 Joseph Myers <joseph@codesourcery.com>
34365
34366 * math/tst-CMPLX.c: Include <stdio.h>.
34367
d55bf177
JM
343682012-01-31 Joseph Myers <joseph@codesourcery.com>
34369
34370 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
34371 float.
34372 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
34373 * sysdeps/sparc/bits/mathdef.h: Likewise.
34374
69db4f8f
MP
343752012-01-31 Marek Polacek <polacek@redhat.com>
34376
34377 * libio/libio.h: Don't define _PARAMS.
34378 * locale/programs/config.h: Don't define PARAMS.
34379 * stdlib/strtol_l.c: Likewise.
34380 (__strtol_l): Remove PARAMS from the prototype.
34381
41b81892
UD
343822012-01-31 Ulrich Drepper <drepper@gmail.com>
34383
3b49edc0
UD
34384 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
34385 names. Just use the correct names. Remove unnecessary wrapper
34386 functions.
34387 * malloc/arena.c: Likewise.
34388 * malloc/hooks.c: Likewise.
34389
41b81892
UD
34390 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
34391 ARENA_TEST says not to. Simplify test for creation of a new arena.
34392 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
34393
27a25b6e
UD
343942012-01-30 Ulrich Drepper <drepper@gmail.com>
34395
34396 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
34397 into tail calls.
34398 (update_get_addr): New function.
34399 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
34400 GET_ADDR_MODULE parameter.
34401
c8a89e7d
JM
344022012-01-30 Joseph Myers <joseph@codesourcery.com>
34403
34404 * crypt/cert.c: Remove __STDC__ conditionals.
34405 * crypt/crypt-entry.c: Likewise.
34406 * crypt/crypt_util.c: Likewise.
34407 * libio/filedoalloc.c: Likewise.
34408 * libio/fileops.c: Likewise.
34409 * libio/genops.c: Likewise.
34410 * libio/iofclose.c: Likewise.
34411 * libio/iofdopen.c: Likewise.
34412 * libio/iofopen.c: Likewise.
34413 * libio/iofopen64.c: Likewise.
34414 * libio/iogetdelim.c: Likewise.
34415 * libio/iopopen.c: Likewise.
34416 * libio/obprintf.c: Likewise.
34417 * libio/oldfileops.c: Likewise.
34418 * libio/oldiofclose.c: Likewise.
34419 * libio/oldiofdopen.c: Likewise.
34420 * libio/oldiofopen.c: Likewise.
34421 * libio/oldiopopen.c: Likewise.
34422 * libio/wfiledoalloc.c: Likewise.
34423 * libio/wgenops.c: Likewise.
34424 * locale/programs/xmalloc.c: Likewise.
34425 * misc/syslog.c: Likewise.
34426 * stdio-common/xbug.c: Likewise.
34427 * string/memchr.c: Likewise.
34428 * string/memcmp.c: Likewise.
34429 * string/memrchr.c: Likewise.
34430 * string/rawmemchr.c: Likewise.
34431 * sysdeps/posix/getcwd.c: Likewise.
34432 * time/strftime_l.c: Likewise.
34433
3b100462
JM
344342012-01-30 Joseph Myers <joseph@codesourcery.com>
34435
34436 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
34437 * config.make.in (config-cflags-sse2avx): Define.
34438 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
34439 Fix typo.
34440
607998af
CM
344412012-01-29 Chris Metcalf <cmetcalf@tilera.com>
34442
34443 * scripts/config.guess: Update from upstream config git repository.
34444 * scripts/config.sub: Likewise.
34445
3601428f
CM
344462012-01-28 Chris Metcalf <cmetcalf@tilera.com>
34447
3ac8b282
CM
34448 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
34449 (EM_NUM): Update.
34450 (R_TILEPRO_*, R_TILEGX_*): New macros.
34451
e034841e
CM
34452 * scripts/firstversions.awk: Fix bug in version range handling.
34453
540d7568
CM
34454 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
34455
3601428f
CM
34456 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
34457
463de862
CM
34458 * include/sys/epoll.h: New file.
34459 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
34460 libc_hidden_def.
34461
73139a76
UD
344622012-01-28 Ulrich Drepper <drepper@gmail.com>
34463
96bc5b45
UD
34464 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
34465 Avoid unnecessary __WORDSIZE == 64 test.
34466 (fmaxf): Use VEX format if possible.
34467 (fmax): Likewise.
34468 (fminf): Likewise.
34469 (fmin): Likewise.
34470
56f6f6a2
UD
34471 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
34472 * math/math_private.h: Remove libc_fegetround* and
34473 libc_fesetround*.
34474 * sysdeps/i386/configure.in: Check for -msse2avx.
34475 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
34476 also if SSE2AVX is defined.
34477 Remove libc_fegetround* and libc_fesetround*.
34478 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
34479 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
34480 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
34481 of HAS_YMM_USABLE.
34482 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
34483 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
34484 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
34485 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
34486 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
34487
73139a76
UD
34488 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
34489
d73f93a4
AZ
344902012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34491
34492 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
34493 size is not set.
34494 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
34495
6ee65ed6
UD
344962012-01-27 Ulrich Drepper <drepper@gmail.com>
34497
34498 [BZ #13618]
34499 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
34500 relocation.
34501 * Makeconfig (libm): Define.
34502 * elf/Makefile: Add rules to build and run tst-relsort1.
34503 * elf/tst-relsort1.c: New file.
34504 * elf/tst-relsort1mod1.c: New file.
34505 * elf/tst-relsort1mod2.c: New file.
34506
8db21882
JM
345072012-01-27 Joseph Myers <joseph@codesourcery.com>
34508
34509 * math/s_ldexp.c: Remove __STDC__ conditionals.
34510 * math/s_ldexpf.c: Likewise.
34511 * math/s_ldexpl.c: Likewise.
34512 * math/s_nextafter.c: Likewise.
34513 * math/s_nexttowardf.c: Likewise.
34514 * math/s_significand.c: Likewise.
34515 * math/s_significandf.c: Likewise.
34516 * math/s_significandl.c: Likewise.
34517 * math/w_jnl.c: Likewise.
34518 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
34519 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
34520 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
34521 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
34522 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
34523 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
34524 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
34525 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
34526 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
34527 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
34528 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
34529 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
34530 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
34531 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
34532 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
34533 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
34534 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
34535 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
34536 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
34537 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
34538 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
34539 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
34540 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
34541 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
34542 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
34543 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
34544 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
34545 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
34546 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
34547 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
34548 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
34549 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
34550 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
34551 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
34552 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
34553 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
34554 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
34555 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
34556 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
34557 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
34558 * sysdeps/ieee754/k_standard.c: Likewise.
34559 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
34560 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
34561 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
34562 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
34563 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
34564 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
34565 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
34566 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
34567 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
34568 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
34569 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
34570 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
34571 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
34572 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
34573 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
34574 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
34575 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
34576 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
34577 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
34578 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
34579 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
34580 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
34581 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
34582 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
34583 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
34584 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
34585 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
34586 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
34587 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
34588 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
34589 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
34590 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
34591 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
34592 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
34593 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
34594 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
34595 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
34596 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
34597 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
34598 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
34599 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
34600 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
34601 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
34602 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
34603 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
34604 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
34605 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
34606 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
34607 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
34608 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
34609 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
34610 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
34611 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
34612 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
34613 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
34614 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
34615 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
34616 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
34617 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
34618 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
34619 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
34620 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
34621 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
34622 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
34623 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
34624 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
34625 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
34626 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
34627 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
34628 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
34629 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
34630 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
34631 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
34632 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
34633 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
34634 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
34635 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
34636 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
34637 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
34638 * sysdeps/ieee754/s_matherr.c: Likewise.
34639 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
34640 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
34641 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
34642 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
34643
965a54a4
JM
346442012-01-26 Joseph Myers <joseph@codesourcery.com>
34645
34646 * crypt/md5.h: Remove __STDC__ conditionals.
34647 * libio/libioP.h: Likewise.
34648 * locale/programs/config.h: Likewise.
34649 * sysdeps/generic/sysdep.h: Likewise.
34650 * sysdeps/i386/asm-syntax.h: Likewise.
34651 * sysdeps/s390/asm-syntax.h: Likewise.
34652 * sysdeps/unix/sysdep.h: Likewise.
34653 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
34654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
34655
7071ad79
JM
346562012-01-26 Joseph Myers <joseph@codesourcery.com>
34657
34658 * libio/libio.h: Remove __STDC__ conditionals.
34659 * malloc/obstack.h: Likewise.
34660 * math/complex.h: Likewise.
34661 * math/math.h: Likewise.
34662 * sysdeps/generic/_G_config.h: Likewise.
34663 * sysdeps/gnu/_G_config.h: Likewise.
34664 * sysdeps/mach/hurd/_G_config.h: Likewise.
34665 * sysdeps/powerpc/bits/mathdef.h: Likewise.
34666 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
34667 * sysdeps/sparc/bits/mathdef.h: Likewise.
34668
afc5ed09
UD
346692012-01-26 Ulrich Drepper <drepper@gmail.com>
34670
34671 [BZ #13583]
34672 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 34673 Clean up HAS_* macros.
afc5ed09 34674 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
34675 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
34676 possible.
34677 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
34678 HAS_AVX.
34679 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
34680 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
34681 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
34682 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
34683 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 34684
bdb6de1d
JM
346852012-01-25 Joseph Myers <joseph@codesourcery.com>
34686
34687 * elf/tst-unique3.cc (gets): Remove declaration.
34688 * elf/tst-unique3lib.cc (gets): Likewise.
34689 * elf/tst-unique3lib2.cc (gets): Likewise.
34690 * elf/tst-unique4.cc (gets): Likewise.
34691
b15549e6
UD
346922012-01-24 Ulrich Drepper <drepper@gmail.com>
34693
34694 * include/stdio.h: Add C++ protection. Add gets declarations and
34695 definitions.
34696 * debug/tst-chk1.c: Don't declare gets here.
34697 * stdio-common/tst-gets.c: Likewise.
34698
a037381f
JM
346992012-01-24 Joseph Myers <joseph@codesourcery.com>
34700
34701 * posix/glob: Remove directory.
34702
f1d4aa75
JM
347032012-01-24 Joseph Myers <joseph@codesourcery.com>
34704
34705 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
34706
81c0c964
PT
347072012-01-22 Pino Toscano <toscano.pino@tiscali.it>
34708
34709 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
34710 of the non-standard EPFNOSUPPORT.
34711
0ea698ae
ST
347122011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
34713
34714 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
34715 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
34716 ANYWHERE set to 1 only on KERN_NO_SPACE error.
34717
d220b117
UD
347182012-01-21 Ulrich Drepper <drepper@gmail.com>
34719
34720 * wcsmbs/uchar.h: Test __STDC_VERSION__.
34721
3e1aa84e
UD
347222012-01-20 Ulrich Drepper <drepper@gmail.com>
34723
34724 * nscd/aicache.c (addhstaiX): Do not cache negative results of
34725 transient errors.
34726 * nscd/grpcache.c (cache_addgr): Likewise.
34727 * nscd/hstcache.c (cache_addhst): Likewise.
34728 * nscd/initgrcache.c (addinitgroupsX): Likewise.
34729 * nscd/pwdcache.c (cache_addpw): Likewise.
34730 * nscd/servicescache.c (cache_addserv): Likewise.
34731
400aa020
UD
347322012-01-16 Ulrich Drepper <drepper@gmail.com>
34733
d77e7869
UD
34734 * malloc/malloc.c: Various cleanups.
34735 * malloc/hooks.c: Likewise.
34736
400aa020
UD
34737 * stdlib/Makefile (tests): Add bug-fmtmsg1.
34738 * stdlib/bug-fmtmsg1.c: New file.
34739
34740 * stdlib/fmtmsg.c (init): Add missing unlock.
34741 Patch by Peng Haitao <penght@cn.fujitsu.com>.
34742
e0a309cf
MP
347432012-01-12 Marek Polacek <polacek@redhat.com>
34744
34745 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
34746 and _GNU_SOURCE.
34747
929d11c7
WS
347482012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
34749
34750 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
34751 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
34752 macro to ensure uniqueness of label name.
34753 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
34754 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
34755
41d0e869
UD
347562012-01-11 Ulrich Drepper <drepper@gmail.com>
34757
0cc5ed3b
UD
34758 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
34759
41d0e869
UD
34760 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
34761 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
34762 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
34763 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
34764
a47a831a
UD
347652012-01-10 Ulrich Drepper <drepper@gmail.com>
34766
daa891c0
UD
34767 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
34768
34769 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
34770 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
34771 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
34772
e58ef0f2
UD
34773 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
34774
a47a831a 34775 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
34776 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
34777 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 34778 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
34779
34780 * math/bits/math-finite.h: Add ldexp support.
34781
a0bfc9c7
MP
347822012-01-10 Marek Polacek <polacek@redhat.com>
34783
34784 * locale/programs/localedef.h (show_archive_content): Add noreturn
34785 attribute.
34786
d6e97a1d
UD
347872012-01-09 Ulrich Drepper <drepper@gmail.com>
34788
34789 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
34790
d5835c26
UD
347912012-01-08 Ulrich Drepper <drepper@gmail.com>
34792
e5f484c6
UD
34793 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
34794
d5835c26
UD
34795 * io/Makefile (headers): Add bits/poll2.h.
34796
d1f741e9
WS
347972011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
34798
34799 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
34800 typo #include statement.
34801
ec09c1c4
UD
348022012-01-08 Ulrich Drepper <drepper@gmail.com>
34803
34804 * include/sys/cdefs.h: Define __attribute_alloc_size.
34805 * catgets/gencat.c: Add alloc_size attribute and apply consistently
34806 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
34807 * elf/pldd.c: Likewise.
34808 * iconv/iconv_charmap.c: Likewise.
34809 * iconv/iconvconfig.c: Likewise.
34810 * iconv/strtab.c: Likewise.
34811 * locale/programs/locale.c: Likewise.
34812 * locale/programs/localedef.h: Likewise.
34813 * locale/programs/simple-hash.c: Likewise.
34814 * nscd/nscd.h: Likewise.
34815 * nss/makedb.c: Likewise.
34816 * sysdeps/generic/ldconfig.h: Likewise.
34817 * locale/programs/localedef.c: Remove xmalloc prototype.
34818 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
34819
20b38e03
PP
348202012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
34821
34822 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
34823 appropriate.
34824
a0da5fe1
UD
348252012-01-08 Ulrich Drepper <drepper@gmail.com>
34826
1d5a644a 34827 * math/Makefile (tests): Add tst-CMPLX.
669704fd 34828 * math/tst-CMPLX.c: New file.
1d5a644a 34829
8784a6db
UD
34830 * math/complex.h (CMPLXL): Fix typo.
34831
d9a216c0
UD
34832 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
34833 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
34834 GLIBC_2.16.
34835 * debug/tst-chk1.c: Add poll and ppoll tests.
34836 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
34837 * include/sys/poll.h: Add hidden proto for ppoll.
34838 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
34839 * sysdeps/mach/hurd/ppoll.c: Likewise.
34840 * io/ppoll.c: Likewise.
34841 * debug/poll_chk.c: New file.
34842 * debug/ppoll_chk.c: New file.
34843 * include/bits/poll2.h: New file.
34844 * io/bits/poll2.h: New file.
34845
ac097f5c
UD
34846 [BZ #1350]
34847 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
34848
2119dcfa
UD
34849 * configure.in: static is always set to yes. Remove.
34850 * config.make.in: Don't set build-static.
34851 * Makeconfig: Remove use of build-static.
34852 * dlfcn/Makefile: Likewise.
34853 * elf/Makefile: Likewise.
34854 * math/Makefile: Likewise.
34855 * misc/Makefile: Likewise.
34856 * nptl/Makefile: Likewise.
34857 * sysdeps/mach/hurd/Makefile: Likewise.
34858
121766a9
UD
34859 * configure.in: PWD_P is not used anymore.
34860 * config.make.in: Remove PWD_P entry.
34861
51a1d39c 34862 * configure.in: Remove last remnants of RANLIB.
8720d066 34863 No need to check for signed size_t anymore.
215f4bdc
UD
34864 Don't set libc_commonpagesize and libc_relro_required here for Alpha
34865 and IA-64.
3857022a 34866 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
34867 * aclocal.m4: Likewise.
34868
d3ed7225
UD
34869 * wcsmbs/mbrtoc16.c: Implement using towc function.
34870 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
34871 * wcsmbs/wcsmbsload.c: Likewise.
34872 * iconv/gconv_simple.c: Likewise.
34873 * iconv/gconv_int.h: Likewise.
34874 * iconv/gconv_builtin.h: Likewise.
34875 * iconv/iconv_prog.c: Remove CHAR16 handling.
34876
34877 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
34878
34879 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
34880
a0da5fe1
UD
34881 * configure.in: Remove --with-elf and --enable-bounded options.
34882 Dont set base_machine for ia64. More non-ELF conditions removed.
34883 Remove testing and setting of leading underscore information.
34884 * config.make.in (build-bounded): Set to no.
34885 * config.h.in: Remove NO_UNDERSCORES entry.
34886 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
34887 them.
34888 * csu/start.c: Remove !NO_UNDERSCORE code.
34889 * locale/localeinfo.h: Likewise.
34890 * sysdeps/generic/machine-gmon.h: Likewise.
34891 * sysdeps/generic/sysdep.h: Likewise.
34892 * sysdeps/i386/sysdep.h: Likewise.
34893 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
34894 * sysdeps/mach/sysdep.h: Likewise.
34895 * sysdeps/s390/s390-32/sysdep.h: Likewise.
34896 * sysdeps/s390/s390-64/sysdep.h: Likewise.
34897 * sysdeps/sh/sysdep.h: Likewise.
34898 * sysdeps/sparc/sparc32/alloca.S: Likewise.
34899 * sysdeps/unix/i386/sysdep.S: Likewise.
34900 * sysdeps/unix/sparc/start.c: Likewise.
34901 * sysdeps/unix/sparc/sysdep.S: Likewise.
34902 * sysdeps/unix/sparc/sysdep.h: Likewise.
34903 * sysdeps/unix/start.c: Likewise.
34904 * sysdeps/unix/x86_64/sysdep.S: Likewise.
34905 * sysdeps/x86_64/sysdep.h: Likewise.
34906
df78418a
UD
349072012-01-07 Ulrich Drepper <drepper@gmail.com>
34908
a784e502
UD
34909 [BZ #13553]
34910 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
34911 for non-gcc.
34912 * argp/argp-fmtstream.h: Use const instead __const.
34913 * argp/argp.h: Likewise.
34914 * assert/assert.h: Likewise.
34915 * bits/fenv.h: Likewise.
34916 * bits/sched.h: Likewise.
34917 * bits/sigset.h: Likewise.
34918 * bits/sigthread.h: Likewise.
34919 * catgets/nl_types.h: Likewise.
34920 * conform/data/pthread.h-data: Likewise.
34921 * crypt/crypt-private.h: Likewise.
34922 * crypt/crypt.h: Likewise.
34923 * crypt/crypt_util.c: Likewise.
34924 * ctype/ctype.h: Likewise.
34925 * debug/execinfo.h: Likewise.
34926 * debug/mbsnrtowcs_chk.c: Likewise.
34927 * debug/mbsrtowcs_chk.c: Likewise.
34928 * debug/wcsnrtombs_chk.c: Likewise.
34929 * debug/wcsrtombs_chk.c: Likewise.
34930 * debug/wcstombs_chk.c: Likewise.
34931 * dirent/dirent.h: Likewise.
34932 * dlfcn/dlfcn.h: Likewise.
34933 * elf/neededtest4.c: Likewise.
34934 * grp/grp.h: Likewise.
34935 * gshadow/gshadow.h: Likewise.
34936 * iconv/gconv.h: Likewise.
34937 * iconv/gconv_int.h: Likewise.
34938 * iconv/gconv_simple.c: Likewise.
34939 * iconv/iconv.h: Likewise.
34940 * iconv/loop.c: Likewise.
34941 * iconv/skeleton.c: Likewise.
34942 * include/aio.h: Likewise.
34943 * include/aliases.h: Likewise.
34944 * include/argz.h: Likewise.
34945 * include/arpa/inet.h: Likewise.
34946 * include/assert.h: Likewise.
34947 * include/dirent.h: Likewise.
34948 * include/dlfcn.h: Likewise.
34949 * include/execinfo.h: Likewise.
34950 * include/fcntl.h: Likewise.
34951 * include/fenv.h: Likewise.
34952 * include/glob.h: Likewise.
34953 * include/grp.h: Likewise.
34954 * include/libintl.h: Likewise.
34955 * include/mntent.h: Likewise.
34956 * include/netdb.h: Likewise.
34957 * include/pwd.h: Likewise.
34958 * include/rpc/netdb.h: Likewise.
34959 * include/sched.h: Likewise.
34960 * include/search.h: Likewise.
34961 * include/shadow.h: Likewise.
34962 * include/signal.h: Likewise.
34963 * include/stdio.h: Likewise.
34964 * include/stdlib.h: Likewise.
34965 * include/string.h: Likewise.
34966 * include/sys/socket.h: Likewise.
34967 * include/sys/stat.h: Likewise.
34968 * include/sys/statfs.h: Likewise.
34969 * include/sys/statvfs.h: Likewise.
34970 * include/sys/syslog.h: Likewise.
34971 * include/sys/time.h: Likewise.
34972 * include/sys/uio.h: Likewise.
34973 * include/time.h: Likewise.
34974 * include/unistd.h: Likewise.
34975 * include/utmp.h: Likewise.
34976 * include/wchar.h: Likewise.
34977 * include/wctype.h: Likewise.
34978 * inet/aliases.h: Likewise.
34979 * inet/arpa/inet.h: Likewise.
34980 * inet/netinet/ether.h: Likewise.
34981 * inet/netinet/in.h: Likewise.
34982 * intl/libintl.h: Likewise.
34983 * io/bits/fcntl2.h: Likewise.
34984 * io/fcntl.h: Likewise.
34985 * io/ftw.h: Likewise.
34986 * io/sys/poll.h: Likewise.
34987 * io/sys/stat.h: Likewise.
34988 * io/sys/statfs.h: Likewise.
34989 * io/sys/statvfs.h: Likewise.
34990 * io/utime.h: Likewise.
34991 * libio/bits/stdio.h: Likewise.
34992 * libio/bits/stdio2.h: Likewise.
34993 * libio/libio.h: Likewise.
34994 * libio/libioP.h: Likewise.
34995 * libio/stdio.h: Likewise.
34996 * locale/lc-ctype.c: Likewise.
34997 * locale/locale.h: Likewise.
34998 * login/utmp.h: Likewise.
34999 * malloc/arena.c: Likewise.
35000 * malloc/malloc.c: Likewise.
35001 * malloc/malloc.h: Likewise.
35002 * malloc/mcheck.c: Likewise.
35003 * malloc/mtrace.c: Likewise.
35004 * math/bits/mathcalls.h: Likewise.
35005 * math/fenv.h: Likewise.
35006 * math/math_private.h: Likewise.
35007 * misc/bits/error.h: Likewise.
35008 * misc/bits/syslog.h: Likewise.
35009 * misc/err.h: Likewise.
35010 * misc/error.h: Likewise.
35011 * misc/fstab.h: Likewise.
35012 * misc/mntent.h: Likewise.
35013 * misc/regexp.h: Likewise.
35014 * misc/search.h: Likewise.
35015 * misc/sgtty.h: Likewise.
35016 * misc/sys/mman.h: Likewise.
35017 * misc/sys/syslog.h: Likewise.
35018 * misc/sys/uio.h: Likewise.
35019 * misc/sys/xattr.h: Likewise.
35020 * misc/ttyent.h: Likewise.
35021 * nis/rpcsvc/ypclnt.h: Likewise.
35022 * nss/nss.h: Likewise.
35023 * posix/bits/unistd.h: Likewise.
35024 * posix/fnmatch.h: Likewise.
35025 * posix/glob.h: Likewise.
35026 * posix/sched.h: Likewise.
35027 * posix/spawn.h: Likewise.
35028 * posix/sys/wait.h: Likewise.
35029 * posix/unistd.h: Likewise.
35030 * posix/wordexp.h: Likewise.
35031 * pwd/pwd.h: Likewise.
35032 * resolv/netdb.h: Likewise.
35033 * resource/sys/resource.h: Likewise.
35034 * rt/aio.h: Likewise.
35035 * rt/bits/mqueue2.h: Likewise.
35036 * rt/mqueue.h: Likewise.
35037 * shadow/shadow.h: Likewise.
35038 * signal/signal.h: Likewise.
35039 * socket/send.c: Likewise.
35040 * socket/sendto.c: Likewise.
35041 * socket/sys/socket.h: Likewise.
35042 * stdio-common/printf.h: Likewise.
35043 * stdlib/bits/stdlib.h: Likewise.
35044 * stdlib/fmtmsg.h: Likewise.
35045 * stdlib/monetary.h: Likewise.
35046 * stdlib/stdlib.h: Likewise.
35047 * stdlib/ucontext.h: Likewise.
35048 * streams/stropts.h: Likewise.
35049 * string/argz.h: Likewise.
35050 * string/bits/string2.h: Likewise.
35051 * string/string.h: Likewise.
35052 * string/strings.h: Likewise.
35053 * sunrpc/rpc/auth.h: Likewise.
35054 * sunrpc/rpc/auth_des.h: Likewise.
35055 * sunrpc/rpc/clnt.h: Likewise.
35056 * sunrpc/rpc/netdb.h: Likewise.
35057 * sunrpc/rpc/pmap_clnt.h: Likewise.
35058 * sunrpc/rpc/xdr.h: Likewise.
35059 * sysdeps/generic/inttypes.h: Likewise.
35060 * sysdeps/generic/net/if.h: Likewise.
35061 * sysdeps/generic/sys/swap.h: Likewise.
35062 * sysdeps/gnu/net/if.h: Likewise.
35063 * sysdeps/gnu/utmpx.h: Likewise.
35064 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
35065 * sysdeps/i386/i486/bits/string.h: Likewise.
35066 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
35067 * sysdeps/s390/bits/string.h: Likewise.
35068 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
35069 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
35070 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
35071 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
35072 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
35073 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
35074 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
35075 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
35076 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
35077 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
35078 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
35079 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
35080 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
35081 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
35082 * sysdeps/unix/sysv/linux/readv.c: Likewise.
35083 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
35084 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
35085 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
35086 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
35087 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
35088 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
35089 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
35090 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
35091 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
35092 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
35093 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
35094 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
35095 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
35096 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
35097 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
35098 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
35099 * sysvipc/sys/ipc.h: Likewise.
35100 * sysvipc/sys/msg.h: Likewise.
35101 * sysvipc/sys/sem.h: Likewise.
35102 * sysvipc/sys/shm.h: Likewise.
35103 * termios/termios.h: Likewise.
35104 * time/sys/time.h: Likewise.
35105 * time/time.h: Likewise.
35106 * wcsmbs/bits/wchar2.h: Likewise.
35107 * wcsmbs/uchar.h: Likewise.
35108 * wcsmbs/wchar.h: Likewise.
35109 * wctype/wctype.h: Likewise.
35110
0269750c
UD
35111 [BZ #13551]
35112 * Makeconfig: Remove all but ELF support including AIX support.
35113 * Makerules: Likewise.
35114 * config.h.in: Likewise.
35115 * config.make.in: Likewise.
35116 * configure: Likewise.
35117 * configure.in: Likewise.
35118 * csu/Makefile: Likewise.
35119 * csu/version.c: Likewise.
35120 * debug/Makefile: Likewise.
35121 * dlfcn/Makefile: Likewise.
35122 * elf/Makefile: Likewise.
35123 * extra-lib.mk: Likewise.
35124 * iconv/Makefile: Likewise.
35125 * include/libc-symbols.h: Likewise.
35126 * include/shlib-compat.h: Likewise.
35127 * resolv/Makefile: Likewise.
35128 * resolv/res_libc.c: Likewise.
35129 * rt/Makefile: Likewise.
35130 * sysdeps/i386/asm-syntax.h: Likewise.
35131 * sysdeps/i386/sysdep.h: Likewise.
35132 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
35133 * sysdeps/mach/sysdep.h: Likewise.
35134 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
35135 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
35136 * sysdeps/s390/asm-syntax.h: Likewise.
35137 * sysdeps/s390/s390-32/sysdep.h: Likewise.
35138 * sysdeps/s390/s390-64/sysdep.h: Likewise.
35139 * sysdeps/sh/sysdep.h: Likewise.
35140 * sysdeps/unix/sparc/sysdep.h: Likewise.
35141 * sysdeps/wordsize-32/divdi3.c: Likewise.
35142 * sysdeps/x86_64/sysdep.h: Likewise.
35143
00bbd29b
UD
35144 * argp/Versions: Remove _argp_unlock_xxx.
35145
35146 [BZ #13559]
35147 * abilist/ld.abilist: Update. Adjust for removal of tls option.
35148 * abilist/libBrokenLocale.abilist: Likewise.
35149 * abilist/libanl.abilist: Likewise.
35150 * abilist/libc.abilist: Likewise.
35151 * abilist/libcrypt.abilist: Likewise.
35152 * abilist/libdl.abilist: Likewise.
35153 * abilist/libm.abilist: Likewise.
35154 * abilist/libnsl.abilist: Likewise.
35155 * abilist/libpthread.abilist: Likewise.
35156 * abilist/libresolv.abilist: Likewise.
35157 * abilist/librt.abilist: Likewise.
35158 * abilist/libthread_db.abilist: Likewise.
35159 * abilist/libutil.abilist: Likewise.
35160 * abilist/libnss_db.abilist: New file.
35161
35162 * scripts/abilist.awk: Add support for indirect functions.
35163
a2693a0e
UD
35164 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
35165
3f05895f
UD
35166 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
35167
ecb6fb48
UD
35168 * shlib-versions: Remove entries for ports architectures.
35169
664f8cb9
UD
35170 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
35171 files in ports.
35172 * elf/stackguard-macros.h: Remove support for IA-64.
35173 * elf/tst-auditmod1.c: Likewise.
35174 * sysdeps/generic/ldsodefs.h: Likewise.
35175
7ae81d88
UD
35176 * sysdeps/unix/sysv/linux/configure.in: Ports should define
35177 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
35178 configure files.
35179
bdeba135
UD
35180 [BZ #13552]
35181 * configure.in: Remove --enable-omitfp support.
35182 * FAQ.in: Adjust.
35183 * config.make.in: Likewise.
35184 * Makeconfig: Likewise.
35185 * manual/install.texi: Likewise.
35186
d75a0a62
UD
35187 In case anyone cares, the IA-64 architecture could move to ports.
35188 * sysdeps/ia64/*: Removed.
35189 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 35190 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 35191
dcc9756b
UD
35192 [BZ #13555]
35193 * configure.in: Remove entries for unsupported architectures.
35194
d3761ebc 35195 [BZ #13533]
9954432e
UD
35196 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
35197 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
35198 routines.
35199 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
35200 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
35201 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
35202 fall back to using wcrtomb.
35203 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
35204 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
35205 renaming.
35206 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
35207 * wcsmbs/tst-c16c32-1.c: New file.
35208
35209 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
35210 local variable.
35211
c3a87236
UD
35212 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
35213
28926a1b
UD
35214 * elf/tst-unique3.cc: Add explicit declaration of gets.
35215 * elf/tst-unique3lib.cc: Likewise.
35216 * elf/tst-unique3lib2.cc: Likewise.
35217 * elf/tst-unique4.cc: Likewise.
35218
df78418a
UD
35219 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
35220
8ecd6b2a
JM
352212012-01-06 Joseph Myers <joseph@codesourcery.com>
35222
35223 [BZ #13566]
35224 * assert/assert.h (static_assert): Don't define for C++.
35225 * libio/stdio.h (gets): Do declare for C++ <= C++11.
35226 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
35227
9f115170
UD
352282012-01-03 Ulrich Drepper <drepper@gmail.com>
35229
5e0d0300
UD
35230 * iconv/loop.c (single loop): Fix assertion in storing of
35231 remaining bytes.
35232
9f115170
UD
35233 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
35234
81fb02b0
UD
352352012-01-01 Ulrich Drepper <drepper@gmail.com>
35236
35237 * posix/getconf.c: Update copyright year.
35238 * nss/getent.c: Likewise.
a316c1f6 35239 * nss/makedb.c: Likewise.
81fb02b0
UD
35240 * iconv/iconvconfig.c: Likewise.
35241 * iconv/iconv_prog.c: Likewise.
35242 * elf/ldconfig.c: Likewise.
a316c1f6
UD
35243 * elf/pldd.c: Likewise.
35244 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
35245 * catgets/gencat.c: Likewise.
35246 * csu/version.c: Likewise.
35247 * elf/ldd.bash.in: Likewise.
35248 * elf/sprof.c (print_version): Likewise.
35249 * locale/programs/locale.c: Likewise.
35250 * locale/programs/localedef.c: Likewise.
a316c1f6 35251 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
35252 * nscd/nscd.c (print_version): Likewise.
35253 * debug/xtrace.sh: Likewise.
35254 * malloc/memusage.sh: Likewise.
35255 * malloc/mtrace.pl: Likewise.
35256 * debug/catchsegv.sh: Likewise.
35257
2ba92745
JJ
352582011-12-30 Jakub Jelinek <jakub@redhat.com>
35259
35260 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
35261 pure attribute.
35262
dadebdae
UD
352632011-12-24 Ulrich Drepper <drepper@gmail.com>
35264
d3761ebc 35265 [BZ #13533]
db6af3eb
UD
35266 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
35267 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
35268 transformations.
35269 * iconv/gconv_int.h: Likewise.
35270 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
35271 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
35272 from libc for GLIBC_2.16.
35273 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
35274 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
35275 * wcsmbs/uchar.h: Really define mbstate_t.
35276 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
35277 * wcsmbs/c16rtomb.c: New file.
35278 * wcsmbs/mbrtoc16.c: New file.
35279 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
35280 for C/POSIX locale.
35281 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
35282 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
35283
dadebdae
UD
35284 * wcsmbs/wchar.h: Add missing __restrict.
35285
67371b56
UD
352862011-12-23 Ulrich Drepper <drepper@gmail.com>
35287
74033a25
UD
35288 [BZ #13532]
35289 * time/Makefile (routines): Add timespec_get.
35290 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
35291 * time/time.h: Define TIME_UTC and declare timespec_get. Define
35292 timespec for ISO C11.
35293 * time/timespec_get.c: New file.
35294 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
35295 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
35296
380d7e87
UD
35297 [BZ #13531]
35298 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
35299 * stdlib/stdlib.h: Declare aligned_alloc.
35300 * Versions.def: Add GLIBC_2.16 for libc.
35301 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
35302
4e9e7a35
UD
35303 [BZ 13527]
35304 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
35305 ISO C11.
35306
380d7e87 35307 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
35308 code.
35309
03a71829
UD
35310 [BZ #13528]
35311 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
35312
839e283e
UD
35313 [BZ #13529]
35314 * assert/assert.h (static_assert): Define.
35315
ce5294e2 35316 * version.h: Update for 2.16 development version.
90fa7312 35317
8d44e150 35318 [BZ #13526]
d7809905
UD
35319 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
35320 _ISOC11_SOURCE.
35321
c0da14cd
UD
35322 * version.h (RELEASE): Bump for 2.15 release.
35323 * include/features.h (__GLIBC_MINOR__): Bump to 15.
35324
530a3249
MP
35325 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
35326 Patch by Marek Polacek <mpolacek@redhat.com>.
35327
67371b56
UD
35328 * bits/byteswap.h: Protect long long constants with __extension__.
35329 * sysdeps/i386/bits/byteswap.h: Likewise.
35330 * sysdeps/ia64/bits/byteswap.h: Likewise.
35331 * sysdeps/s390/bits/byteswap.h: Likewise.
35332 * sysdeps/x86_64/bits/byteswap.h: Likewise.
35333
15db4de1
LD
353342011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35335
35336 [BZ #13540]
bbe315ea
LD
35337 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
35338 destination buffer.
15db4de1
LD
35339 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
35340
2b2596b1
MP
353412011-12-23 Marek Polacek <polacek@redhat.com>
35342
35343 * elf/dl-addr.c (determine_info): Add inline keyword.
35344 * elf/tst-auditmod4b.c (check_avx): Likewise.
35345 * elf/tst-auditmod6b.c (check_avx): Likewise.
35346 * elf/tst-auditmod6c.c (check_avx): Likewise.
35347 * elf/tst-auditmod7b.c (check_avx): Likewise.
35348
70c6c246
UD
353492011-12-23 Ulrich Drepper <drepper@gmail.com>
35350
35351 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
35352 !__SSE_MATH__.
35353
c044cf14
LD
353542011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35355
15db4de1 35356 [BZ #13540]
c044cf14
LD
35357 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
35358 processing for last bytes.
35359
6b13d9d9
BH
353602011-08-06 Bruno Haible <bruno@clisp.org>
35361
d455f537
BH
35362 [BZ #13061]
35363 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
35364 U+0385, not to U+1FEE.
35365
6b13d9d9
BH
35366 [BZ #13062]
35367 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
35368 entry for U+00A5 U+0301.
35369
db910efd
UD
353702011-12-22 Ulrich Drepper <drepper@gmail.com>
35371
27deeafc
UD
35372 [BZ #13166]
35373 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
35374 buffer for the output is too small.
35375
aed9d171
UD
35376 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
35377 optimization.
35378
db910efd
UD
35379 [BZ #13185]
35380 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
35381 SSE flags if possible.
35382
2bd779ae
LD
353832011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35384
e7f9dac3 35385 [BZ #13540]
2bd779ae
LD
35386 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
35387 processing for last bytes.
35388
154bfc16
JM
353892011-12-22 Joseph Myers <joseph@codesourcery.com>
35390
35391 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
35392 (syscall-list-default-options, syscall-list-default-condition)
35393 (syscall-list-includes): Define.
35394 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
35395 list of ABIs and options and #if conditions for each ABI. Do not
35396 handle common syscalls between ABIs specially.
35397 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
35398 Remove.
35399 (syscall-list-variants, syscall-list-32bit-options)
35400 (syscall-list-32bit-condition, syscall-list-64bit-options)
35401 (syscall-list-64bit-condition): Define.
35402 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
35403 (syscall-list-variants, syscall-list-32bit-options)
35404 (syscall-list-32bit-condition, syscall-list-64bit-options)
35405 (syscall-list-64bit-condition): Define.
35406 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
35407 Remove.
35408 (syscall-list-variants, syscall-list-32bit-options)
35409 (syscall-list-32bit-condition, syscall-list-64bit-options)
35410 (syscall-list-64bit-condition): Define.
35411 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
35412 Remove.
35413 (syscall-list-variants, syscall-list-32bit-options)
35414 (syscall-list-32bit-condition, syscall-list-64bit-options)
35415 (syscall-list-64bit-condition): Define.
35416
21eaf3a5
UD
354172011-12-22 Ulrich Drepper <drepper@gmail.com>
35418
16c6f992
UD
35419 * locale/iso-639.def: Add brx entry.
35420
41043168
UD
35421 [BZ #13328]
35422 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
35423 Proposed by Mariusz_Cukr <marcukr@op.pl>.
35424
21eaf3a5
UD
35425 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
35426 __feraiseexcept_renamed.
35427
e3a851a2
UD
354282011-12-21 Ulrich Drepper <drepper@gmail.com>
35429
4920765e
UD
35430 [BZ #13538]
35431 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
35432 EPOLLET with unsigned values.
35433 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
35434 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
35435
e3a851a2
UD
35436 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
35437 to large cancellation.
35438 * math/s_cacoshf.c: Likewise.
35439 * math/s_cacoshl.c: Likewise.
35440
b27e24b8
RK
354412011-11-18 Richard B. Kreckel <kreckel@ginac.de>
35442
35443 [BZ #13305]
aebefeee 35444 [BZ #12786]
b27e24b8
RK
35445 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
35446 * math/s_cacoshf.c: Likewise.
35447 * math/s_cacoshl.c: Likewise.
35448
ee190f67
UD
354492011-12-21 Ulrich Drepper <drepper@gmail.com>
35450
35451 [BZ #13439]
35452 * iconv/gconv.h: Define __GCONV_SWAP.
35453 * iconvdata/unicode.c: The swap bit must be stored in __flags.
35454 * iconvdata/utf-16.c: Likewise.
35455 * iconvdata/utf-32.c: Likewise.
35456
707f25df
AS
354572011-12-21 Andreas Schwab <schwab@linux-m68k.org>
35458
35459 [BZ #13524]
35460 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
35461 numerator after shifting it by one limb.
35462
d2daaa1e
RÁE
354632011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
35464
35465 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
35466 under [__USE_EXTERN_INLINES].
35467
a4647e72
UD
354682011-12-17 Ulrich Drepper <drepper@gmail.com>
35469
35470 [BZ #13446]
35471 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
35472
f0b264f1
AZ
354732011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35474
35475 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
35476 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
35477 optimized code.
35478 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
35479 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
35480 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
35481 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
35482 for strncasecmp/strncasecmp_l compilation.
35483 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
35484 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
35485
8ef4f244
MP
354862011-12-08 Marek Polacek <mpolacek@redhat.com>
35487
35488 [BZ #13484]
35489 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
35490 of __asm__.
35491
97ac2654
UD
354922011-12-17 Ulrich Drepper <drepper@gmail.com>
35493
35494 [BZ #13506]
35495 * time/tzfile.c (__tzfile_read): Check values from file header.
35496
91d2a845
WS
354972011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
35498
35499 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
35500 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
35501 * powerpc/powerpc32/dl-start.S: Likewise.
35502 * powerpc/powerpc32/elf/start.S: Likewise.
35503 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
35504 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
35505 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
35506 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
35507 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
35508 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
35509 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
35510 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
35511 * powerpc/powerpc32/fpu/s_round.S: Likewise.
35512 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
35513 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
35514 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
35515 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
35516 * powerpc/powerpc32/memset.S: Likewise.
35517 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
35518 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
35519 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
35520 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
35521 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
35522 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
35523 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
35524 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
35525 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
35526 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
35527 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
35528 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
35529 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
35530
a1267ba1
AZ
355312011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35532
35533 * math/libm-test.inc: Added more nearbyint tests.
35534 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
35535 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
35536 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
35537 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
35538
ad8ac1bd
RL
355392011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
35540
35541 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
35542 FD_CLOEXEC.
35543
1d3e4b61
UD
355442011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35545
35546 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
35547 Add wcscpy-ssse3 wcscpy-c.
35548 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
35549 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
35550 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
35551 * sysdeps/x86_64/wcschr.S: New file.
35552 * sysdeps/x86_64/wcsrchr.S: New file.
35553 * string/test-strcmp.c: Remove checking of wcscmp function for
35554 wrong alignments.
35555 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
35556 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
35557 wcsrchr-sse2 wcsrchr-c.
35558 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
35559 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
35560 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
35561 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
35562 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
35563 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
35564 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
35565 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
35566 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
35567 * wcsmbc/wcschr.c (WCSCHR): New macro.
35568
5b330a2d
UD
355692011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35570
35571 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
35572 * wcsmbs/test-wcsrchr.c: New file.
35573 * string/test-strrchr.c: Add wcsrchr support.
35574 (WIDE): New macro.
35575 * wcsmbs/test-wcscpy.c: New file.
35576 * string/test-strcpy.c: Add wcscpy support.
35577 (WIDE): New macro.
26428b7c 35578
f039c043
UD
355792011-12-10 Ulrich Drepper <drepper@gmail.com>
35580
35581 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
35582 the inner loop.
35583
850fb039
AS
355842011-12-06 Andreas Schwab <schwab@linux-m68k.org>
35585
35586 [BZ #13472]
35587 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
35588
4efbd5cb
UD
355892011-12-04 Ulrich Drepper <drepper@gmail.com>
35590
52ff5dd0 35591 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 35592 Minor optimizations.
52ff5dd0 35593
4efbd5cb
UD
35594 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
35595 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
35596 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
35597
8a426e12
UD
355982011-12-03 Ulrich Drepper <drepper@gmail.com>
35599
aff2453d
UD
35600 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
35601 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
35602 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
35603 for gcc to avoid warnings.
35604 * inet/Makefile (tests): Add tst-checks.
35605 * inet/tst-checks.c: New file.
35606
35607 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
35608 warning.
35609
35610 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
35611 __wmemcmp_sse2.
35612
35613 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
35614 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
35615
8a426e12
UD
35616 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
35617
9bea3473
UD
356182011-12-02 Ulrich Drepper <drepper@gmail.com>
35619
3a965496
UD
35620 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
35621 problem.
35622
9bea3473
UD
35623 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
35624
f101631b
UD
356252011-11-29 Joseph Myers <joseph@codesourcery.com>
35626
35627 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
35628 conditional on GCC version.
35629 (__arch_compare_and_exchange_val_8_acq)
35630 (__arch_compare_and_exchange_val_16_acq)
35631 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
35632 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
35633 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
35634
a98275aa
UD
356352011-12-02 Joseph Myers <joseph@codesourcery.com>
35636
35637 * sysdeps/sh/backtrace.c: New file.
35638
d4cc29a2
AS
356392011-12-02 Andreas Schwab <schwab@redhat.com>
35640
35641 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
35642 parenthesis.
35643
6257af2d
AS
356442011-12-01 Andreas Schwab <schwab@redhat.com>
35645
35646 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
35647 falling back to utime.
35648
b5f44c1a
AS
356492011-11-30 Andreas Schwab <schwab@redhat.com>
35650
35651 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
35652 expectations for float.
35653
f3a6cc0a
AS
356542011-11-29 Andreas Schwab <schwab@redhat.com>
35655
35656 * locale/weight.h (findidx): Add parameter len.
35657 * locale/weightwc.h (findidx): Likewise.
35658 * posix/fnmatch_loop.c (FCT): Adjust caller.
35659 * posix/regcomp.c (build_equiv_class): Likewise.
35660 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
35661 * posix/regexec.c (check_node_accept_bytes): Likewise.
35662 * string/strcoll_l.c (STRCOLL): Likewise.
35663 * string/strxfrm_l.c (STRXFRM): Likewise.
35664
9d65ea3a
UD
356652011-11-17 Ulrich Drepper <drepper@gmail.com>
35666
35667 * Makefile.in: Remove CVSOPT handling.
35668 * configure.in: Remove use of AC_REVISION.
35669 * iconvdata/Makefile (distribute): No need to filter out CVS.
35670 * scripts/list-sources.sh: Remove CVS, subversion and monotone
35671 handling.
35672
5583a086
AS
356732011-11-16 Andreas Schwab <schwab@redhat.com>
35674
35675 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
35676 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
35677 [USE_AS_STRNCASECMP_L]: Likewise.
35678 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
35679 NO_TLS_DIRECT_SEG_REFS.
35680 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
35681 Fix argument offsets for non-PIC.
35682 [USE_AS_STRNCASECMP_L]: Likewise.
35683 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
35684 NO_TLS_DIRECT_SEG_REFS.
35685
d62a8200
UD
356862011-11-15 Ulrich Drepper <drepper@gmail.com>
35687
9d65ea3a 35688 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
35689 O_CLOEXEC.
35690 * locale/loadlocale.c (_nl_load_locale): Likewise.
35691
09f93bd3
AS
356922011-11-15 Andreas Schwab <schwab@redhat.com>
35693
446514f9
AS
35694 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
35695 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
35696 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
35697 (SYSCALL_GETTIME): Set errno on error.
35698
09f93bd3
AS
35699 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
35700 count references to noai6ai_cached.
35701
312be3f9
UD
357022011-11-15 Ulrich Drepper <drepper@gmail.com>
35703
35704 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
35705
35706 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
35707 FD_CLOEXEC for /proc/self/maps.
35708
35709 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
35710 FD_CLOEXEC for /proc/meminfo.
35711
35712 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
35713 gai.conf.
35714
35715 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
35716 FD_CLOEXEC for given file.
35717
35718 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
35719
35720 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
35721 FD_CLOEXEC for /etc/hosts.
35722 (_gethtent): Likewise.
35723
35724 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
35725
35726 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
35727 cancellation and set FD_CLOEXEC for /etc/netgroup.
35728
35729 * nss/nss_files/files-key.c (search): Don't allow cancellation when
35730 reading /etc/publickey.
35731
35732 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
35733 allow cancellation when reading /etc/group.
35734
35735 * nss/nss_files/files-alias.c (internal_setent): Don't allow
35736 cancellation.
35737 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
35738
35739 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
35740 when using data file.
35741
35742 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
35743
35744 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
35745 (write_nis_obj): Use "c" and "e" in fopen.
35746
35747 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
35748
35749 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
35750
35751 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
35752
35753 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
35754
35755 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
35756 locale.alias.
35757
35758 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
35759
35760 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
35761
35762 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
35763
35764 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
35765 file parsing and set FD_CLOEXEC.
35766
82af0fa8
UD
357672011-11-14 Ulrich Drepper <drepper@gmail.com>
35768
35769 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
35770
a5fb313c
AS
357712011-11-14 Andreas Schwab <schwab@redhat.com>
35772
35773 * malloc/arena.c (arena_get2): Don't call reused_arena when
35774 _int_new_arena failed.
35775
6abf3465
UD
357762011-11-14 Ulrich Drepper <drepper@gmail.com>
35777
35778 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
35779 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
35780 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
35781 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
35782 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
35783 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
35784 to compile strcasecmp and strncasecmp.
35785 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
35786 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
35787
35788 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
35789
76e3966e
UD
357902011-11-13 Ulrich Drepper <drepper@gmail.com>
35791
35792 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
35793 locale-defines.sym to gen-as-const-headers.
35794 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
35795 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
35796 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
35797 to compile strcasecmp and strncasecmp.
35798 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
35799 strcasecmp_l and strncasecmp_l.
35800 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
35801 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
35802 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
35803 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
35804 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
35805 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
35806 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
35807 * sysdeps/i386/i686/multiarch/strncase.S: New file.
35808 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
35809 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
35810 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
35811
ab26144e
UD
358122011-11-12 Ulrich Drepper <drepper@gmail.com>
35813
7edb22ef
UD
35814 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
35815 result of SYSDEP_GETTIME_CPU to retval.
35816 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
35817 parameter list to macro. Remove trailing semicolon. Adjust users.
35818
9694fc44
UD
35819 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
35820 variable.
35821
8ad89ef8
UD
35822 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
35823 mantissa words.
35824 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
35825
0c822ef9
UD
35826 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
35827 from unused variable.
35828
874e0564
UD
35829 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
35830 DWARF definitions.
35831 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
35832 for assembling.
35833
3a2edc79
UD
35834 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
35835 over namespaces.
35836
f3c2577f
UD
35837 * sunrpc/rpc_prot.c (rejected): Fix case value.
35838
294ce126
UD
35839 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
35840 unsigned long long int to avoid warnings in shift.
35841
5e2b63c6
UD
35842 * posix/regex_internal.c (re_string_reconstruct): Actually use result
35843 of use of trans.
35844 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
35845 variable tmp.
35846
e7f4b08e
UD
35847 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
35848 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
35849 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
35850
ab26144e
UD
35851 * nis/nis_table.c (nis_list): Use variable of correct type for
35852 result of __follow_path call.
35853
8a6d5255
AZ
358542011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35855
35856 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
35857 of math functions ceil, trunc, floor, round, and sqrt, when
35858 avaliable on the platform.
35859 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
35860 name clash.
35861 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
35862 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
35863 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
35864
aaddc98c
MP
358652011-10-30 Marek Polacek <mpolacek@redhat.com>
35866
35867 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
35868 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
35869
95b7042b
RM
358702011-11-11 Roland McGrath <roland@hack.frob.com>
35871
35872 * include/unistd.h: Fix __readlink return type.
35873 Reported by Chris Metcalf <cmetcalf@tilera.com>.
35874
57769839
UD
358752011-11-11 Ulrich Drepper <drepper@gmail.com>
35876
35877 * stdlib/ucontext.h: Undo last change for makecontext.
35878
edc5984d
AS
358792011-11-11 Andreas Schwab <schwab@redhat.com>
35880
98591e58
AS
35881 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
35882
edc5984d
AS
35883 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
35884 * setjmp/setjmp.h: Mark functions as non-leaf.
35885 * setjmp/bits/setjmp2.h: Likewise.
35886 * stdlib/ucontext.h: Likewise.
35887
77cdc054
AS
358882011-11-10 Andreas Schwab <schwab@redhat.com>
35889
35890 * malloc/arena.c (_int_new_arena): Don't increment narenas.
35891 (reused_arena): Don't check arena limit.
35892 (arena_get2): Atomically check arena limit.
35893
fe72eebd
UD
358942011-11-08 Ulrich Drepper <drepper@gmail.com>
35895
5f078c32
UD
35896 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
35897 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
35898
fe72eebd
UD
35899 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
35900 instructions.
35901
ae1bc2fa
AS
359022011-11-07 Andreas Schwab <schwab@redhat.com>
35903
7583a88d
AS
35904 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
35905 handler when locking.
35906
ae1bc2fa
AS
35907 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
35908 Fix size of allocated buffer.
35909
10fb0bfa
AS
359102011-11-04 Andreas Schwab <schwab@redhat.com>
35911
998832a4
AS
35912 [BZ #10103]
35913 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
35914 declarations for long double functions.
35915 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
35916
10fb0bfa
AS
35917 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
35918
3d7ba52b
AS
359192011-11-03 Andreas Schwab <schwab@redhat.com>
35920
a9ae54a1
AS
35921 * nscd/nscd.c (main): Don't start AVC thread until credentials are
35922 installed.
35923
3d7ba52b
AS
35924 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
35925 is disabled.
35926
bc8db248
ST
359272011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
35928
35929 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
35930
45b96dd6
AS
359312011-11-01 Andreas Schwab <schwab@linux-m68k.org>
35932
647776f6
AS
35933 * include/alloca.h (stackinfo_alloca_round): Define.
35934 (extend_alloca): Use it.
35935 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
35936 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
35937 here.
35938
d91a8b93
AS
35939 * scripts/check-local-headers.sh: Ignore libaudit.h.
35940
45b96dd6
AS
35941 * nscd/Makefile (extra-objs): Make recursively expanded.
35942
432d41ce
UD
359432011-11-01 Ulrich Drepper <drepper@gmail.com>
35944
34372fc6
UD
35945 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
35946 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
35947
fadb59f8
UD
35948 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
35949 * posix/tst-rfc3484-2.c: Likewise.
35950 * posix/tst-rfc3484-3.c: Likewise.
35951
78239589
UD
35952 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
35953 process_vm_writev.
35954 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
35955 process_vm_writev.
35956 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
35957 process_vm_writev from libc using GLIBC_2.15 version.
35958
432d41ce
UD
35959 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
35960
02f9c6cf
PP
359612011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
35962
35963 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
35964 stack usage.
35965
3a2c0242
UD
359662011-10-31 Ulrich Drepper <drepper@gmail.com>
35967
f4ec4833
UD
35968 [BZ #13367]
35969 * nss/getent.c (initgroups_keys): Show error message in case no group
35970 names are given.
35971
3a2c0242
UD
35972 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
35973 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
35974 __bump_nl_timestamp.
35975 * nscd/connections (nscd_init): When host database is served open
35976 netlink socket and request notification about configuration changes.
35977 (main_loop_poll): Track netlink file descriptor and bump timestamp
35978 in case data becomes available.
35979 (main_loop_epoll): Likewise.
35980 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
35981 (database_pers_head): Add extra_data fileds.
35982 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
35983 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
35984 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
35985 Adjust caller.
35986 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
35987 in6ai data, call __free_in6ai.
35988 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
35989 Add -DHAVE_NETLINK.
35990 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
35991 interface information. Reuse previous data if netlink timestamp
35992 is not changed.
35993 (__bump_nl_timestamp): New function.
35994 (__free_in6ai): New function.
35995
636064eb
UD
359962011-10-30 Ulrich Drepper <drepper@gmail.com>
35997
35998 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
35999 close_not_cancel_no_status here.
36000 (__check_pf): Reorganize code a bit to not call close twice if OOM.
36001
9beb2334
UD
360022011-10-29 Ulrich Drepper <drepper@gmail.com>
36003
6ef76f3b
UD
36004 [BZ #13276]
36005 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
36006 return value.
36007
0ffc4f3e 36008 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
36009 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
36010 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
36011
cb95113e
UD
360122011-07-03 Andreas Jaeger <aj@suse.de>
36013
36014 [BZ #10709]
36015 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
36016 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
36017 * math/libm-test.inc (sin_test): Add test case.
36018
a1b560ff
UD
360192011-10-29 Ulrich Drepper <drepper@gmail.com>
36020
c9aaface
UD
36021 [BZ #13337]
36022 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
36023 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
36024
d272e7f1
UD
36025 * elf/chroot_canon.c (chroot_canon): Cleanups.
36026
1bc33071
UD
36027 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
36028
1760874d
TJ
36029 [BZ #13335]
36030 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
36031 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
36032
51d91b18
UD
36033 * string/test-strchr.c: Make usable for strchrnul testing.
36034 * string/test-strchrnul.c: New file.
36035 * string/Makefile (strop-tests): Add strchrnul.
36036
a1b560ff 36037 * po/it.po: Update from translation team.
b611fb81 36038 * po/es.po: Likewise.
a1b560ff 36039
a5b81e1f
UD
360402011-10-28 Ulrich Drepper <drepper@gmail.com>
36041
fd52bc6d
UD
36042 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
36043 the three constants needed as parameters. Drop the others.
36044 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
36045 __m128i_strloadu_tolower.
52e4b9eb
UD
36046 Create and initialize variable zero and use it in all the places
36047 where _mm_setzero_si128 was used.
fd52bc6d 36048
a5b81e1f
UD
36049 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
36050 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
36051 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
36052 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
36053 anymore.
36054 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
36055 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
36056 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
36057 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
36058 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
36059 __mpranred, __mptan.
36060 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
36061 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
36062 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
36063 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
36064 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
36065 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
36066 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
36067 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
36068 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
36069
b4343346
AS
360702011-10-28 Andreas Schwab <schwab@redhat.com>
36071
0c92d8a8
AS
36072 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
36073 redefine if SHARED.
36074 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
36075
b4343346
AS
36076 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
36077 wide char related routines to wcsmbs subdir.
36078
3871f58f
AS
360792011-10-27 Andreas Schwab <schwab@redhat.com>
36080
36081 [BZ #13344]
36082 * misc/sys/cdefs.h (__THROWNL): Define.
36083 * posix/unistd.h: Use __THREADNL instead of __THREAD
36084 for memory synchronization functions.
36085
94d44d9f
RM
360862011-10-26 Roland McGrath <roland@hack.frob.com>
36087
21b64b15 36088 [BZ #13349]
94d44d9f
RM
36089 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
36090 doesn't exist.
36091 * manual/stdio.texi (Obstack Streams): Node removed.
36092
f6ce9294
AS
360932011-10-26 Andreas Schwab <schwab@redhat.com>
36094
80479147
AS
36095 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
36096 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
36097 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
36098
f6ce9294
AS
36099 * math/math_private.h (math_force_eval): Allow non-addressable
36100 arguments.
36101 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
36102
618280a1
UD
361032011-10-25 Ulrich Drepper <drepper@gmail.com>
36104
e0016b11
UD
36105 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
36106 file is not needed.
36107
36108 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
36109 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
36110 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
36111 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
36112 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
36113 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
36114 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
36115 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
36116 Add AVX variants.
36117 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
36118 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
36119 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
36120 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
36121 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
36122 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
36123 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
36124 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
36125 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
36126 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
36127 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
36128 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
36129 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
36130 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
36131 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
36132 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
36133 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
36134 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
36135 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
36136
36137 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
36138 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
36139
618280a1
UD
36140 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
36141 place. Use VEX encoding when compiling for AVX.
36142
37822576
AS
361432011-10-25 Andreas Schwab <schwab@redhat.com>
36144
1f1e1947
AS
36145 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
36146 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
36147
37822576
AS
36148 * string/test-strchr.c (do_test): Don't generate NUL bytes.
36149
31ea014d
UD
361502011-10-25 Ulrich Drepper <drepper@gmail.com>
36151
d7826aa1 36152 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 36153 useless if() expression.
d7826aa1
UD
36154 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
36155 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
36156 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
36157 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
36158 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
36159 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
36160 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
36161 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
36162 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
36163 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
36164 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
36165 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
36166 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
36167 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
36168 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
36169 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
36170 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
36171 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
36172 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
36173
31ea014d
UD
36174 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
36175
16437fec
AS
361762011-10-25 Andreas Schwab <schwab@redhat.com>
36177
36178 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
36179 condition.
36180 * elf/dl-fini.c (_dl_sort_fini): Likewise.
36181
31d3cc00
UD
361822011-10-25 Ulrich Drepper <drepper@gmail.com>
36183
36184 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
36185 .text section. Avoid duplicate constants.
36186 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
36187 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36188 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
36189 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36190 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36191 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36192 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36193 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36194 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
36195 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
36196 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
36197 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
36198 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
36199 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
36200 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
36201 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
36202 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
36203 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
36204 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
36205 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36206 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
36207 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
36208 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
36209 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
36210 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
36211 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
36212 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
36213 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
36214 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
36215 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
36216 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
36217 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
36218 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
36219 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
36220 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
36221 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
36222 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
36223 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
36224 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
36225 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
36226 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
36227 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
36228 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
36229 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
36230 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
36231
58985aa9
UD
362322011-10-24 Ulrich Drepper <drepper@gmail.com>
36233
202c9deb
UD
36234 * sysdeps/x86_64/dla.h: Move to ...
36235 * sysdeps/x86_64/fpu/dla.h: ...here.
36236 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
36237 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 36238
af968f62
UD
36239 * config.make.in: Add have-mfma4 entry.
36240 * configure.in: Substitute libc_cv_cc_fma4.
36241 * math/Makefile (dbl-only-routines): Add sincostab.
36242 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
36243 Use __sincostab not sincos.
36244 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
36245 name is a macro.
36246 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36247 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36248 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36249 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
36250 using __copysign.
36251 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
36252 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
36253 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
36254 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
36255 and __inv.
36256 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
36257 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
36258 __copysign.
36259 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
36260 define aliases when function name is a macro.
36261 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
36262 sysdeps/ieee754/dbl-64/sincos.tbl.
36263 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
36264 fma4-enabled routines.
36265 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
36266 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
36267 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
36268 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
36269 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
36270 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
36271 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
36272 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
36273 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
36274 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
36275 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
36276 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
36277 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
36278 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
36279 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
36280 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
36281 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
36282 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
36283 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
36284 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
36285 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
36286 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
36287 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
36288 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
36289 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
36290 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
36291 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
36292 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
36293 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
36294 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
36295
58985aa9
UD
36296 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
36297 rename.
36298 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36299 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36300 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36301 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36302 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36303 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36304 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
36305 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36306
a201fbcf
AS
363072011-10-24 Andreas Schwab <schwab@redhat.com>
36308
36309 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
36310
fc2ee42a
LD
363112011-10-23 Ulrich Drepper <drepper@gmail.com>
36312
bb3129bd
UD
36313 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
36314
0275fff8
UD
36315 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
36316 prediction.
36317 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
36318
2fa2ae85
UD
36319 * string/strnlen.c: Don't define STRNLEN, reverse logic.
36320 Remove unused variable magic_bits.
36321 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
36322
fc2ee42a
LD
36323 * string/strnlen.c: Define and use STRNLEN macro.
36324 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
36325 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
36326 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
36327 * wcsmbs/wcslen.c: Define and use WCSLEN.
36328 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
36329 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
36330 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
36331 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
36332 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
36333 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
36334 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
36335
ce7dd29f
LD
363362011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36337
36338 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36339 strnlen-sse2-no-bsf.
36340 Rename strlen-no-bsf to strlen-sse2-no-bsf.
36341 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
36342 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
36343 Add strnlen support.
36344 (USE_AS_STRNLEN): New macro.
36345 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
36346 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
36347 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
36348 * sysdeps/x86_64/wcslen.S: New file.
36349
979c70a3
MZ
363502011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
36351
36352 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
36353 XMM-moves are used for copying on small sizes.
36354
2d09f82f
LD
363552011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36356
36357 * wcsmbs/Makefile (strop-tests): Add wcschr.
36358 * wcsmbs/test-wcschr.c: New file.
36359 * string/test-strchr.c: Update.
36360 Add wcschr support.
36361 (WIDE): New macro.
36362
619fccca
LD
363632011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36364
2d09f82f 36365 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
36366 * wcsmbs/test-wcslen.c: New file.
36367 * string/test-strlen.c: Update.
36368 Add wcslen support.
36369 (WIDE): New macro.
36370
09f699ea
UD
363712011-10-23 Ulrich Drepper <drepper@gmail.com>
36372
36373 * po/it.po: Update from translation team.
36374
95584d3b
LD
363752011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36376
36377 * sysdeps/x86_64/wcscmp.S: Update.
36378 Fix wrong comparison semantics.
36379 wcscmp shall use signed comparison not unsigned.
36380 Don't use substraction to avoid overflow bug.
36381 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
36382 * wcsmbc/wcscmp.c: Likewise.
36383 * string/test-strcmp.c: Likewise.
36384 Add new tests to check cases with negative values.
36385
c8b3296b
UD
363862011-10-23 Ulrich Drepper <drepper@gmail.com>
36387
36388 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
36389 * sysdeps/x86_64/dla.h: ...here. New file.
36390 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
36391 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36392 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36393 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36394 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36395 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
36396 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36397 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
36398 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36399
246ad57a
AS
364002011-10-23 Andreas Schwab <schwab@linux-m68k.org>
36401
36402 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
36403 __ynl_finite aliases.
36404
a1a87169
UD
364052011-10-22 Ulrich Drepper <drepper@gmail.com>
36406
0d355eb7
UD
36407 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36408
a1a87169
UD
36409 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
36410 define DLA_FMA.
36411 [DLA_FMA] (EMULV): Use DLA_FMA.
36412 [DLA_FMA] (MUL12): Use EMULV.
36413 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
36414 that are not needed.
36415 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36416 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36417 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36418 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36419 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36420 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
36421 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36422
ee2aafe0
AS
364232011-10-22 Andreas Schwab <schwab@linux-m68k.org>
36424
36425 * math/s_nan.c: Undef __nan.
36426 * math/s_nanf.c: Undef __nanf.
36427 * math/s_nanl.c: Undef __nanl.
36428 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
36429 "math_private.h".
36430
bc62c2fb
UD
364312011-10-22 Ulrich Drepper <drepper@gmail.com>
36432
77425c63
UD
36433 * math/s_catan.c: Add branch predictions.
36434 * math/s_catanf.c: Likewise.
36435 * math/s_catanh.c: Likewise.
36436 * math/s_catanhf.c: Likewise.
36437 * math/s_catanhl.c: Likewise.
36438 * math/s_catanl.c: Likewise.
36439 * math/s_cexp.c: Likewise.
36440 * math/s_cexpf.c: Likewise.
36441 * math/s_cexpl.c: Likewise.
36442 * math/s_clog.c: Likewise.
36443 * math/s_clog10.c: Likewise.
36444 * math/s_clog10f.c: Likewise.
36445 * math/s_clog10l.c: Likewise.
36446 * math/s_clogf.c: Likewise.
36447 * math/s_clogl.c: Likewise.
36448 * math/s_csqrt.c: Likewise.
36449 * math/s_csqrtf.c: Likewise.
36450 * math/s_csqrtl.c: Likewise.
36451 * math/s_ctanf.c: Likewise.
36452 * math/s_ctanh.c: Likewise.
36453 * math/s_ctanhf.c: Likewise.
36454 * math/s_ctanhl.c: Likewise.
36455 * math/s_ctanl.c: Likewise.
36456
bc62c2fb
UD
36457 * math/math_private.h: Define __nan, __nanf, __nanl.
36458 * math/s_cacosh.c: Include <math_private.h>.
36459 * math/s_cacoshl.c: Likewise.
36460 * math/s_casinh.c: Likewise.
36461 * math/s_casinhf.c: Likewise.
36462 * math/s_casinhl.c: Likewise.
36463 * math/s_ccos.c: Rely entire on ccosh.
36464 * math/s_ccosf.c: Rely entire on ccoshf.
36465 * math/s_ccosl.c: Rely entirely on ccoshl.
36466 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
36467 Remove tests for FE_INVALID.
36468 * math/s_ccoshf.c: Likewise.
36469 * math/s_ccoshl.c: Likewise.
36470 * math/s_csin.c: Likewise.
36471 * math/s_csinf.c: Likewise.
36472 * math/s_csinh.c Likewise.
36473 * math/s_csinhf.c: Likewise.
36474 * math/s_csinhl.c: Likewise.
36475 * math/s_csinl.c: Likewise.
36476 * math/s_ctan.c: Likewise.
36477 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
36478 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
36479 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
36480
8ec250a4
UD
364812011-10-21 Ulrich Drepper <drepper@gmail.com>
36482
c196fed8
UD
36483 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
36484 compilation problems.
36485
8ec250a4
UD
36486 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
36487 __builtin_expect.
36488
8d4f46c6
UD
364892011-10-20 Ulrich Drepper <drepper@gmail.com>
36490
ed72b654
UD
36491 * sysdeps/i386/configure.in: Test for -mfma4 option.
36492 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
36493 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
36494 COMMON_CPUID_INDEX_80000001.
36495 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
36496 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
36497 use it if FMA3 is not supported.
36498 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
36499
8d4f46c6
UD
36500 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
36501 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
36502
d45c60c2
AS
365032011-10-20 Andreas Schwab <schwab@redhat.com>
36504
36505 [BZ #12892]
36506 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
36507 it would create a cycle with a link time dependency.
36508
d9a4d2ab
UD
365092011-10-19 Ulrich Drepper <drepper@gmail.com>
36510
855d1560
UD
36511 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
36512 instruction.
36513 * string/Makefile (strop-tests): Add rawmemchr.
36514 * string/test-rawmemchr.c: New file.
36515
d9a4d2ab
UD
36516 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
36517 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
36518 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
36519 when compiling str{,n}casecmp and when AVX is available. Hook up
36520 new optimized code in initializers.
36521
8f3b1ffe
AS
365222011-10-19 Andreas Schwab <schwab@redhat.com>
36523
36524 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
36525 __feraiseexcept instead of feraiseexcept.
36526
d38f1dba
UD
365272011-10-18 Ulrich Drepper <drepper@gmail.com>
36528
d9a8d0ab
UD
36529 * math/math_private.h: Define defaults for libc_fetestexcept and
36530 libc_feupdateenv.
36531 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
36532 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
36533 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
36534 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
36535 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
36536 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
36537 libc_fetestexcept and libc_feupdateenv.
36538
4855e3dd
UD
36539 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
36540 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
36541 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
36542 * sysdeps/x86_64/fpu/math_private.h: Define special version of
36543 libc_feholdexcept_setround.
36544
581d30e3
UD
36545 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
36546 Add s_nearbyint-c and s_nearbyintf-c.
36547 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
36548 nearbyintf inlines.
36549 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
36550 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
36551 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
36552 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
36553
d38f1dba
UD
36554 * math/math_private.h: Define defaults for libc_fegetround,
36555 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
36556 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
36557 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
36558 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
36559 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
36560 standard functions.
36561 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
36562 Remove comments and hacks for old compiler versions.
36563 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
36564 libc_fegetround, libc_fesetround, libc_feholdexcept, and
36565 libc_feholdexceptl.
36566
caa6c9d8
AS
365672011-10-18 Andreas Schwab <schwab@redhat.com>
36568
36569 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
36570 (__feraiseexcept_renamed): Add __NTH.
36571 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
36572 namespace violations.
36573
97c066e6
UD
365742011-10-17 Ulrich Drepper <drepper@gmail.com>
36575
99ce7b04
UD
36576 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
36577
1004d182
UD
36578 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
36579
228a984d
UD
36580 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
36581 recently added interfaces.
36582 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
36583
c8553a6a
UD
36584 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
36585 about macro parameter expansion.
36586
ed22dcf6
UD
36587 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
36588 __NO_MATH_INLINES is defined. Cleanups.
36589
36590 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
36591 and __floorf is target has SSE4.1.
36592 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
36593 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
36594 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
36595 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
36596
b171c137
UD
36597 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
36598 name.
36599 (floorf): Likewise.
36600
97c066e6
UD
36601 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
36602
629f62ef
AS
366032011-10-17 Andreas Schwab <schwab@redhat.com>
36604
49a43d80
AS
36605 * misc/sys/cdefs.h: Fix last change.
36606
629f62ef
AS
36607 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
36608 database lookup.
36609
e453f6cd
UD
366102011-10-16 Ulrich Drepper <drepper@gmail.com>
36611
aa78043a
UD
36612 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
36613
ad0f5cad
UD
36614 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
36615 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
36616 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
36617 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
36618 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
36619 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
36620 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
36621 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
36622 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
36623 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
36624 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
36625 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
36626 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
36627 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
36628 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
36629 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
36630 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
36631 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
36632 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
36633 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
36634 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
36635 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
36636
36637 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
36638 ceil, ceilf, floor, floorf.
36639
36640 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
36641 Perform IRELATIVE relocations last.
36642
e453f6cd
UD
36643 * elf/do-rel.h: Add another parameter nrelative, replacing the
36644 local variable with the same name. Change name of the function
36645 to end in Rel or Rela (uppercase).
36646 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
36647 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
36648 elf_dynamic_do_##reloc function.
36649
fd5bdc09
UD
366502011-10-15 Ulrich Drepper <drepper@gmail.com>
36651
79b195b5
UD
36652 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
36653 is sufficient, at least on modern CPUs.
36654
d4a28569
UD
36655 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
36656
b61099b5
UD
36657 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
36658 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
36659
bcf01e6d
UD
36660 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
36661 __expl_finite.
36662 * math/bits/math-finite.h: Add entries for exp.
36663 * math/e_expl.c: Add __*_finite alias.
36664 * sysdeps/i386/fpu/e_exp.S: Likewise.
36665 * sysdeps/i386/fpu/e_expf.S: Likewise.
36666 * sysdeps/i386/fpu/e_expl.c: Likewise.
36667 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36668 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
36669 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
36670 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
36671 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
36672 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
36673 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
36674
ba1a0d59
UD
36675 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
36676 is sufficient, at least on modern CPUs.
36677
fd5bdc09
UD
36678 * ctype/ctype-info.c (__ctype_init): Define.
36679 * include/ctype.h (__ctype_init): Declare.
36680 (__ctype_b_loc): The variable is always initialized.
36681 (__ctype_toupper_loc): Likewise.
36682 (__ctype_tolower_loc): Likewise.
36683 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
36684 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
36685
7872cfb0
AS
366862011-10-15 Andreas Schwab <schwab@linux-m68k.org>
36687
b468825a
AS
36688 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
36689
7872cfb0
AS
36690 * configure.in: Also look in $cxxmachine/include for C++ system
36691 headers.
36692
be13f7bf
LD
366932011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36694
36695 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
36696 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
36697 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
36698 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
36699 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
36700 (USE_AS_WMEMCMP): New macro.
36701 Fixing indents.
36702 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
36703 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
36704 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
36705 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
36706 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36707 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
36708 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
36709 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
36710 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
36711 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
36712 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
36713 (USE_AS_WMEMCMP): New macro.
36714 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
36715 * sysdeps/string/test-memcmp.c: Update.
36716 Fix simple_wmemcmp.
36717 Add new tests.
36718 * wcsmbs/wmemcmp.c: Update.
36719 (WMEMCMP): New macro.
36720 Fix overflow bug.
36721
556a2007
AJ
367222011-10-12 Andreas Jaeger <aj@suse.de>
36723
36724 [BZ #13268]
36725 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
36726
538faaa7
UD
367272011-10-15 Ulrich Drepper <drepper@gmail.com>
36728
ab6737ff
UD
36729 * libio/iofwide.c (do_length): Avoid warning.
36730
538faaa7
UD
36731 * ctype/ctype.h (__isctype_f): Add missing __THROW.
36732
396a21b1
UD
367332011-10-14 Ulrich Drepper <drepper@gmail.com>
36734
cdf2901f
UD
36735 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
36736
38ad40ce
UD
36737 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
36738 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
36739 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
36740 * sysdeps/i386/i686/fpu/e_log.S: New file.
36741 * sysdeps/i386/i686/fpu/e_logf.S: New file.
36742 * sysdeps/i386/i686/fpu/e_logl.S: New file.
36743
396a21b1
UD
36744 * ctype/ctype.h: Add support for inlined isXXX functions when
36745 compiling C++ code.
36746
6b1f68c9
AS
367472011-10-14 Andreas Schwab <schwab@redhat.com>
36748
349290c0
AS
36749 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
36750
6b1f68c9
AS
36751 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
36752
f2282d42
RM
367532011-10-13 Roland McGrath <roland@hack.frob.com>
36754
36755 [BZ #13291]
36756 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
36757
5298ffa8
AS
367582011-10-13 Andreas Schwab <schwab@redhat.com>
36759
714fad23
AS
36760 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
36761 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
36762 feraiseexcept.
36763
81dcc7fb
AS
36764 * sysdeps/x86_64/memrchr.S: Check for zero size.
36765
5298ffa8
AS
36766 * string/stratcliff.c: Add memrchr tests.
36767
951fbcec
LD
367682011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36769
36770 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36771 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
36772 rawmemchr-sse2 rawmemchr-sse2-bsf.
36773 * sysdeps/i386/i686/multiarch/memchr.S: New file.
36774 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
36775 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
36776 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
36777 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
36778 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
36779 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
36780 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
36781 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
36782 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
36783 * string/memrchr.c (MEMRCHR): New macro.
36784
0ac5ae23
UD
367852011-10-12 Ulrich Drepper <drepper@gmail.com>
36786
36787 Add integration with gcc's -ffinite-math-only and optimize wrapper
36788 functions in libm.
36789 * Versions.def: Define GLIBC_2.15 version for libm.
36790 * math/Makefile (headers): Add bits/math-finite.h.
36791 * math/bits/math-finite.h: New file.
36792 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
36793 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
36794 * math/e_acoshl.c: Add __*_finite alias.
36795 * math/e_acosl.c: Likewise.
36796 * math/e_asinl.c: Likewise.
36797 * math/e_atan2l.c: Likewise.
36798 * math/e_atanhl.c: Likewise.
36799 * math/e_coshl.c: Likewise.
36800 * math/e_exp10.c: Likewise.
36801 * math/e_exp10f.c: Likewise.
36802 * math/e_exp10l.c: Likewise.
36803 * math/e_exp2l.c: Likewise.
36804 * math/e_fmodl.c: Likewise.
36805 * math/e_gammal_r.c: Likewise.
36806 * math/e_hypotl.c: Likewise.
36807 * math/e_j0l.c: Likewise.
36808 * math/e_j1l.c: Likewise.
36809 * math/e_jnl.c: Likewise.
36810 * math/e_lgammal_r.c: Likewise.
36811 * math/e_log10l.c: Likewise.
36812 * math/e_log2l.c: Likewise.
36813 * math/e_logl.c: Likewise.
36814 * math/e_powl.c: Likewise.
36815 * math/e_sinhl.c: Likewise.
36816 * math/e_sqrtl.c: Likewise.
36817 * math/e_scalb.c: Completely rewritten and optimized.
36818 * math/e_scalbf.c: Likewise.
36819 * math/e_scalbl.c: Likewise.
36820 * math/w_acos.c: Likewise.
36821 * math/w_acosf.c: Likewise.
36822 * math/w_acosl.c: Likewise.
36823 * math/w_acosh.c: Likewise.
36824 * math/w_acoshf.c: Likewise.
36825 * math/w_acoshl.c: Likewise.
36826 * math/w_asin.c: Likewise.
36827 * math/w_asinf.c: Likewise.
36828 * math/w_asinl.c: Likewise.
36829 * math/w_atan2.c: Likewise.
36830 * math/w_atan2f.c: Likewise.
36831 * math/w_atan2l.c: Likewise.
36832 * math/w_atanh.c: Likewise.
36833 * math/w_atanhf.c: Likewise.
36834 * math/w_atanhl.c: Likewise.
36835 * math/w_exp10.c: Likewise.
36836 * math/w_exp10f.c: Likewise.
36837 * math/w_exp10l.c: Likewise.
36838 * math/w_fmod.c: Likewise.
36839 * math/w_fmodf.c: Likewise.
36840 * math/w_fmodl.c: Likewise.
36841 * math/w_j0.c: Likewise.
36842 * math/w_j0f.c: Likewise.
36843 * math/w_j0l.c: Likewise.
36844 * math/w_j1.c: Likewise.
36845 * math/w_j1f.c: Likewise.
36846 * math/w_j1l.c: Likewise.
36847 * math/w_jn.c: Likewise.
36848 * math/w_jnf.c: Likewise.
36849 * math/w_log.c: Likewise.
36850 * math/w_logf.c: Likewise.
36851 * math/w_logl.c: Likewise.
36852 * math/w_log10.c: Likewise.
36853 * math/w_log10f.c: Likewise.
36854 * math/w_log10l.c: Likewise.
36855 * math/w_log2.c: Likewise.
36856 * math/w_log2f.c: Likewise.
36857 * math/w_log2l.c: Likewise.
36858 * math/w_pow.c: Likewise.
36859 * math/w_powf.c: Likewise.
36860 * math/w_powl.c: Likewise.
36861 * math/w_remainder.c: Likewise.
36862 * math/w_remainderf.c: Likewise.
36863 * math/w_remainderl.c: Likewise.
36864 * math/w_scalb.c: Likewise.
36865 * math/w_scalbf.c: Likewise.
36866 * math/w_scalbl.c: Likewise.
36867 * math/w_sqrt.c: Likewise.
36868 * math/w_sqrtf.c: Likewise.
36869 * math/w_sqrtl.c: Likewise.
36870 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
36871 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
36872 used.
36873 * math/math_private.h: Declare __kernel_standard_f.
36874 * math/w_cosh.c: Remove cruft and optimize a bit.
36875 * math/w_coshf.c: Likewise.
36876 * math/w_coshl.c: Likewise.
36877 * math/w_exp2.c: Likewise.
36878 * math/w_exp2f.c: Likewise.
36879 * math/w_exp2l.c: Likewise.
36880 * math/w_hypot.c: Likewise.
36881 * math/w_hypotf.c: Likewise.
36882 * math/w_hypotl.c: Likewise.
36883 * math/w_lgamma.c: Likewise.
36884 * math/w_lgamma_r.c: Likewise.
36885 * math/w_lgammaf.c: Likewise.
36886 * math/w_lgammaf_r.c: Likewise.
36887 * math/w_lgammal.c: Likewise.
36888 * math/w_lgammal_r.c: Likewise.
36889 * math/w_sinh.c: Likewise.
36890 * math/w_sinhf.c: Likewise.
36891 * math/w_sinhl.c: Likewise.
36892 * math/w_tgamma.c: Likewise.
36893 * math/w_tgammaf.c: Likewise.
36894 * math/w_tgammal.c: Likewise.
36895 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
36896 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
36897 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
36898 Minor optimizations. Pretty printing. Remove cruft.
36899 * sysdeps/i386/fpu/e_acosf.S: Likewise.
36900 * sysdeps/i386/fpu/e_acosh.S: Likewise.
36901 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
36902 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
36903 * sysdeps/i386/fpu/e_acosl.c: Likewise.
36904 * sysdeps/i386/fpu/e_asin.S: Likewise.
36905 * sysdeps/i386/fpu/e_asinf.S: Likewise.
36906 * sysdeps/i386/fpu/e_atan2.S: Likewise.
36907 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
36908 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
36909 * sysdeps/i386/fpu/e_atanh.S: Likewise.
36910 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
36911 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
36912 * sysdeps/i386/fpu/e_exp10.S: Likewise.
36913 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
36914 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
36915 * sysdeps/i386/fpu/e_exp2.S: Likewise.
36916 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
36917 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
36918 * sysdeps/i386/fpu/e_fmod.S: Likewise.
36919 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
36920 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
36921 * sysdeps/i386/fpu/e_hypot.S: Likewise.
36922 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
36923 * sysdeps/i386/fpu/e_log.S: Likewise.
36924 * sysdeps/i386/fpu/e_log10.S: Likewise.
36925 * sysdeps/i386/fpu/e_log10f.S: Likewise.
36926 * sysdeps/i386/fpu/e_log10l.S: Likewise.
36927 * sysdeps/i386/fpu/e_log2.S: Likewise.
36928 * sysdeps/i386/fpu/e_log2f.S: Likewise.
36929 * sysdeps/i386/fpu/e_log2l.S: Likewise.
36930 * sysdeps/i386/fpu/e_logf.S: Likewise.
36931 * sysdeps/i386/fpu/e_logl.S: Likewise.
36932 * sysdeps/i386/fpu/e_pow.S: Likewise.
36933 * sysdeps/i386/fpu/e_powf.S: Likewise.
36934 * sysdeps/i386/fpu/e_powl.S: Likewise.
36935 * sysdeps/i386/fpu/e_remainder.S: Likewise.
36936 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
36937 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
36938 * sysdeps/i386/fpu/e_scalb.S: Likewise.
36939 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
36940 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
36941 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
36942 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
36943 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
36944 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
36945 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
36946 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36947 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
36948 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
36949 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
36950 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
36951 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
36952 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
36953 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
36954 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
36955 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
36956 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36957 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
36958 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
36959 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36960 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
36961 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
36962 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
36963 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36964 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
36965 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
36966 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
36967 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
36968 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
36969 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
36970 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
36971 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
36972 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
36973 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
36974 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
36975 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
36976 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
36977 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
36978 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
36979 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
36980 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
36981 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
36982 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
36983 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
36984 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
36985 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
36986 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
36987 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
36988 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
36989 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
36990 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
36991 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
36992 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
36993 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
36994 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
36995 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
36996 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
36997 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
36998 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
36999 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
37000 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
37001 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
37002 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
37003 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
37004 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
37005 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
37006 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
37007 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
37008 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
37009 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
37010 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
37011 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
37012 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
37013 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
37014 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
37015 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
37016 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
37017 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
37018 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
37019 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
37020 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
37021 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
37022 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
37023 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
37024 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
37025 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
37026 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
37027 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
37028 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
37029 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
37030 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
37031 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
37032 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
37033 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
37034 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
37035 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
37036 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
37037 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
37038 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
37039 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
37040 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
37041 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
37042 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
37043 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
37044 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
37045 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
37046 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
37047 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
37048 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
37049 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
37050 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
37051 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
37052 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
37053 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
37054 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
37055 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
37056 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
37057 (__isnanf): Likewise.
37058 (__isinf_ns): Likewise.
37059 (__isinf_nsf): Likewise.
37060 (__finite): Likewise.
37061 (__finitef): Likewise.
37062 (__ieee754_sqrt): Define as macro.
37063 (__ieee754_sqrtf): Define as macro.
37064 (__ieee754_sqrtl): Define as macro.
37065 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
37066 inlined copy.
37067 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
37068 __FINITE_MATH_ONLY__ consistent.
37069 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
37070
12cc2fcd
AS
370712011-10-10 Andreas Schwab <schwab@linux-m68k.org>
37072
a843a204
AS
37073 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
37074 of rawmemchr.
37075
12cc2fcd
AS
37076 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
37077
c853acd5
UD
370782011-10-09 Ulrich Drepper <drepper@gmail.com>
37079
37080 * po/ja.po: Update from translation team.
37081
c658d255
RM
370822011-10-08 Roland McGrath <roland@hack.frob.com>
37083
110946e4
RM
37084 * locale/programs/locarchive.c (prepare_address_space): New function.
37085 (create_archive, enlarge_archive, open_archive): Use it.
37086
50604220
RM
37087 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
37088 inside [SHARED], where it is used.
37089
c658d255
RM
37090 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
37091
37092 * nss/getent.c (netgroup_keys): Remove unused variable.
37093 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
37094
6a621eb7
UD
370952011-10-08 Ulrich Drepper <drepper@gmail.com>
37096
7edb55ce
UD
37097 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
37098 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
37099 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
37100 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
37101 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
37102 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
37103 * math/Makefile (libm-calls): Add s_isinf_ns.
37104 * math/divtc3.c: Use __isinf_nsl instead of isinf.
37105 * math/multc3.c: Likewise.
37106 * math/s_casin.c: Likewise.
37107 * math/s_casinf.c: Likewise.
37108 * math/s_casinl.c: Likewise.
37109 * math/s_ccos.c: Likewise.
37110 * math/s_ccosf.c: Likewise.
37111 * math/s_ccosl.c: Likewise.
37112 * math/s_ctan.c: Likewise.
37113 * math/s_ctanf.c: Likewise.
37114 * math/s_ctanh.c: Likewise.
37115 * math/s_ctanhf.c: Likewise.
37116 * math/s_ctanhl.c: Likewise.
37117 * math/s_ctanl.c: Likewise.
37118 * math/w_fmod.c: Likewise.
37119 * math/w_fmodf.c: Likewise.
37120 * math/w_fmodl.c: Likewise.
37121 * math/w_remainder.c: Likewise.
37122 * math/w_remainderf.c: Likewise.
37123 * math/w_remainderl.c: Likewise.
37124 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
37125 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
37126 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
37127 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
37128 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
37129 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
37130 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
37131 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
37132
187da0ae
UD
37133 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
37134 of the number.
37135 * stdio-common/printf_fphex.c: Likewise.
37136 * stdio-common/printf_size.c: Likewise.
37137
9277c064
UD
37138 * math/e_exp10.c: Include math_private.h using <...> not "...".
37139 * math/e_exp10f.c: Likewise.
37140 * math/e_exp10l.c: Likewise.
37141 * math/e_exp2l.c: Likewise.
37142 * math/e_j0l.c: Likewise.
37143 * math/e_j1l.c: Likewise.
37144 * math/e_jnl.c: Likewise.
37145 * math/e_lgammal_r.c: Likewise.
37146 * math/e_rem_pio2l.c: Likewise.
37147 * math/e_scalb.c: Likewise.
37148 * math/e_scalbf.c: Likewise.
37149 * math/e_scalbl.c: Likewise.
37150 * math/k_cosl.c: Likewise.
37151 * math/k_sinl.c: Likewise.
37152 * math/k_tanl.c: Likewise.
37153 * math/s_cacoshf.c: Likewise.
37154 * math/s_catan.c: Likewise.
37155 * math/s_catanf.c: Likewise.
37156 * math/s_catanh.c: Likewise.
37157 * math/s_catanhf.c: Likewise.
37158 * math/s_catanhl.c: Likewise.
37159 * math/s_catanl.c: Likewise.
37160 * math/s_ccosh.c: Likewise.
37161 * math/s_ccoshf.c: Likewise.
37162 * math/s_ccoshl.c: Likewise.
37163 * math/s_cexp.c: Likewise.
37164 * math/s_cexpf.c: Likewise.
37165 * math/s_cexpl.c: Likewise.
37166 * math/s_clog.c: Likewise.
37167 * math/s_clog10.c: Likewise.
37168 * math/s_clog10f.c: Likewise.
37169 * math/s_clog10l.c: Likewise.
37170 * math/s_clogf.c: Likewise.
37171 * math/s_clogl.c: Likewise.
37172 * math/s_csin.c: Likewise.
37173 * math/s_csinf.c: Likewise.
37174 * math/s_csinh.c: Likewise.
37175 * math/s_csinhf.c: Likewise.
37176 * math/s_csinhl.c: Likewise.
37177 * math/s_csinl.c: Likewise.
37178 * math/s_csqrt.c: Likewise.
37179 * math/s_csqrtf.c: Likewise.
37180 * math/s_csqrtl.c: Likewise.
37181 * math/s_ctan.c: Likewise.
37182 * math/s_ctanf.c: Likewise.
37183 * math/s_ctanh.c: Likewise.
37184 * math/s_ctanhf.c: Likewise.
37185 * math/s_ctanhl.c: Likewise.
37186 * math/s_ctanl.c: Likewise.
37187 * math/s_ldexp.c: Likewise.
37188 * math/s_ldexpf.c: Likewise.
37189 * math/s_ldexpl.c: Likewise.
37190 * math/s_significand.c: Likewise.
37191 * math/s_significandf.c: Likewise.
37192 * math/s_significandl.c: Likewise.
37193 * math/w_acos.c: Likewise.
37194 * math/w_acosf.c: Likewise.
37195 * math/w_acosh.c: Likewise.
37196 * math/w_acoshf.c: Likewise.
37197 * math/w_acoshl.c: Likewise.
37198 * math/w_acosl.c: Likewise.
37199 * math/w_asin.c: Likewise.
37200 * math/w_asinf.c: Likewise.
37201 * math/w_asinl.c: Likewise.
37202 * math/w_atan2.c: Likewise.
37203 * math/w_atan2f.c: Likewise.
37204 * math/w_atan2l.c: Likewise.
37205 * math/w_atanh.c: Likewise.
37206 * math/w_atanhf.c: Likewise.
37207 * math/w_atanhl.c: Likewise.
37208 * math/w_cosh.c: Likewise.
37209 * math/w_coshf.c: Likewise.
37210 * math/w_coshl.c: Likewise.
37211 * math/w_dremf.c: Likewise.
37212 * math/w_exp10.c: Likewise.
37213 * math/w_exp10f.c: Likewise.
37214 * math/w_exp10l.c: Likewise.
37215 * math/w_exp2.c: Likewise.
37216 * math/w_exp2f.c: Likewise.
37217 * math/w_fmod.c: Likewise.
37218 * math/w_fmodf.c: Likewise.
37219 * math/w_fmodl.c: Likewise.
37220 * math/w_hypot.c: Likewise.
37221 * math/w_hypotf.c: Likewise.
37222 * math/w_hypotl.c: Likewise.
37223 * math/w_j0.c: Likewise.
37224 * math/w_j0f.c: Likewise.
37225 * math/w_j0l.c: Likewise.
37226 * math/w_j1.c: Likewise.
37227 * math/w_j1f.c: Likewise.
37228 * math/w_j1l.c: Likewise.
37229 * math/w_jn.c: Likewise.
37230 * math/w_jnf.c: Likewise.
37231 * math/w_jnl.c: Likewise.
37232 * math/w_lgamma.c: Likewise.
37233 * math/w_lgamma_r.c: Likewise.
37234 * math/w_lgammaf.c: Likewise.
37235 * math/w_lgammaf_r.c: Likewise.
37236 * math/w_lgammal.c: Likewise.
37237 * math/w_lgammal_r.c: Likewise.
37238 * math/w_log.c: Likewise.
37239 * math/w_log10.c: Likewise.
37240 * math/w_log10f.c: Likewise.
37241 * math/w_log10l.c: Likewise.
37242 * math/w_log2.c: Likewise.
37243 * math/w_log2f.c: Likewise.
37244 * math/w_log2l.c: Likewise.
37245 * math/w_logf.c: Likewise.
37246 * math/w_logl.c: Likewise.
37247 * math/w_pow.c: Likewise.
37248 * math/w_powf.c: Likewise.
37249 * math/w_powl.c: Likewise.
37250 * math/w_remainder.c: Likewise.
37251 * math/w_remainderf.c: Likewise.
37252 * math/w_remainderl.c: Likewise.
37253 * math/w_scalb.c: Likewise.
37254 * math/w_scalbf.c: Likewise.
37255 * math/w_scalbl.c: Likewise.
37256 * math/w_sinh.c: Likewise.
37257 * math/w_sinhf.c: Likewise.
37258 * math/w_sinhl.c: Likewise.
37259 * math/w_sqrt.c: Likewise.
37260 * math/w_sqrtf.c: Likewise.
37261 * math/w_sqrtl.c: Likewise.
37262 * math/w_tgamma.c: Likewise.
37263 * math/w_tgammaf.c: Likewise.
37264 * math/w_tgammal.c: Likewise.
37265
6a621eb7
UD
37266 * po/ja.po: Update from translation team.
37267
bf582445
AJ
372682011-09-29 Andreas Jaeger <aj@suse.de>
37269
f9efbf3a
AJ
37270 [BZ #13179]
37271 * sunrpc/netname.c (netname2host): Fix logic.
37272
bf582445
AJ
37273 [BZ #6779]
37274 [BZ #6783]
37275 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
37276 correctly.
37277 * math/w_remainder.c (__remainder): Likewise.
37278 * math/w_remainderf.c (__remainderf): Likewise.
37279 * math/libm-test.inc (remainder_test): Add test cases.
37280
48693bea
AK
372812011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37282
37283 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
37284 sdiv_qrnnd.
37285
42622229
LD
372862011-10-07 Ulrich Drepper <drepper@gmail.com>
37287
37288 * string/test-memcmp.c: Avoid unncessary #defines.
37289 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
37290
093ecf92
LD
372912011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37292
37293 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
37294 Use new sse2 version for core i3 - i7 as it's faster
37295 than sse42 version.
37296 (bit_Prefer_PMINUB_for_stringop): New.
37297 * sysdeps/x86_64/rawmemchr.S: Update.
37298 Replace with faster SSE2 version.
37299 * sysdeps/x86_64/memrchr.S: New file.
37300 * sysdeps/x86_64/memchr.S: Update.
37301 Replace with faster SSE2 version.
37302
fde56e5c
MP
373032011-09-12 Marek Polacek <mpolacek@redhat.com>
37304
37305 * elf/dl-load.c (lose): Add cast to avoid warning.
37306
21fd49a9
UD
373072011-10-07 Ulrich Drepper <drepper@gmail.com>
37308
5a06e643
UD
37309 * po/ca.po: Update from translation team.
37310
684ae515
UD
37311 * inet/getnetgrent_r.c: Hook up nscd.
37312 * nscd/Makefile (routines): Add nscd_netgroup.
37313 (nscd-modules): Add netgroupcache.
37314 (CFLAGS-netgroupcache.c): Define.
37315 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
37316 (cache_search): Add const to second parameter.
37317 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
37318 INNETGR.
37319 (dbs): Add netgrdb entry.
37320 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
37321 (verify_persistent_db): Handle netgrdb.
37322 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
37323 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
37324 GETFDNETGR.
37325 (netgroup_response_header): Define.
37326 (innetgroup_response_header): Define.
37327 (datahead): Add netgroup_response_header and innetgroup_response_header
37328 elements.
37329 * nscd/nscd.conf: Add entries for netgroup cache.
37330 * nscd/nscd.h (dbtype): Add netgrdb.
37331 (_PATH_NSCD_NETGROUP_DB): Define.
37332 (netgroup_iov_disabled): Declare.
37333 (xmalloc, xcalloc, xrealloc): Move declarations here.
37334 (cache_search): Adjust prototype.
37335 Add netgroup-related prototypes.
37336 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
37337 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
37338 (__nscd_innetgr): Declare.
37339 * nscd/selinux.c (perms): Use access_vector_t as element type and
37340 add netgroup-related initializers.
37341 * nscd/netgroupcache.c: New file.
37342 * nscd/nscd_netgroup.c: New file.
37343 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
37344 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
37345 For four parameters use innetgr.
37346 * nss/nss_files/files-init.c: Add definition and callback for netgr.
37347 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
37348 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
37349 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
37350
21fd49a9
UD
37351 * nscd/connections.c (register_traced_file): Don't register file
37352 for disabled databases.
37353
054c0457
UD
373542011-10-06 Ulrich Drepper <drepper@gmail.com>
37355
32b63198
UD
37356 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
37357
054c0457
UD
37358 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
37359 from tree and freeing node.
37360
64031225
JO
373612011-09-25 Jiri Olsa <jolsa@redhat.com>
37362
37363 * nss/nsswitch.c (__nss_database_lookup): Handle
37364 nss_parse_service_list out of memory case.
37365
0490345c
JO
373662011-09-15 Jiri Olsa <jolsa@redhat.com>
37367
37368 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
37369 out of memory case.
37370
3a62d00d
AS
373712011-10-04 Andreas Schwab <schwab@redhat.com>
37372
37373 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
37374 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
37375 pass it down.
37376 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
37377 elf_machine_rela, elf_machine_lazy_rel.
37378 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
37379 (ELF_DYNAMIC_DO_REL): Likewise.
37380 (ELF_DYNAMIC_DO_RELA): Likewise.
37381 (ELF_DYNAMIC_RELOCATE): Likewise.
37382 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
37383 to ELF_DYNAMIC_DO_REL.
37384 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
37385 (dl_main): In trace mode always set __RTLD_NOIFUNC.
37386 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
37387 elf_machine_rela.
37388 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
37389 skip_ifunc, don't call ifunc function if non-zero.
37390 (elf_machine_rela): Likewise.
37391 (elf_machine_lazy_rel): Likewise.
37392 (elf_machine_lazy_rela): Likewise.
37393 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
37394 (elf_machine_lazy_rel): Likewise.
37395 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
37396 Likewise.
37397 (elf_machine_lazy_rel): Likewise.
37398 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
37399 Likewise.
37400 (elf_machine_lazy_rel): Likewise.
37401 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
37402 (elf_machine_lazy_rel): Likewise.
37403 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
37404 (elf_machine_lazy_rel): Likewise.
37405 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
37406 (elf_machine_lazy_rel): Likewise.
37407 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
37408 (elf_machine_lazy_rel): Likewise.
37409 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
37410 (elf_machine_lazy_rel): Likewise.
37411 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
37412 (elf_machine_lazy_rel): Likewise.
37413
68577918
UD
374142011-09-28 Ulrich Drepper <drepper@gmail.com>
37415
37416 * nss/nss_files/files-init.c (_nss_files_init): Use static
37417 initialization for all the *_traced_file variables.
37418
68822d74
AS
374192011-09-28 Andreas Schwab <schwab@redhat.com>
37420
37421 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
37422
2056100b
RM
374232011-09-27 Roland McGrath <roland@hack.frob.com>
37424
37425 [BZ #13226]
37426 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
37427
32c76b63
AS
374282011-09-27 Andreas Schwab <schwab@redhat.com>
37429
37430 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
37431 Reread the line before reparsing it.
37432
bf972c9d
AS
374332011-09-26 Andreas Schwab <schwab@redhat.com>
37434
37435 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
37436
e057a1b5
JM
374372011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
37438 Maxim Kuvyrkov <maxim@codesourcery.com>
37439 Joseph Myers <joseph@codesourcery.com>
37440
37441 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
37442 if needed for __stack_chk_guard.
37443
bc7e1c36
RM
374442011-09-19 Roland McGrath <roland@hack.frob.com>
37445
ecb1482f
RM
37446 * sysdeps/posix/spawni.c (script_execute): Always define it.
37447 It will be optimized away if unused.
37448 (maybe_script_execute): New function.
37449 (__spawni): Call it.
37450
bc7e1c36
RM
37451 * Makerules: Don't include tls.make.
37452 (config-tls): Always set to thread.
37453 * tls.make.c: File removed.
37454
1c3b002b
MF
374552011-09-19 Mike Frysinger <vapier@gentoo.org>
37456
37457 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
37458 * config.make.in (CPPFLAGS-config): New substituted variable.
37459
2840865d
UD
374602011-09-15 Ulrich Drepper <drepper@gmail.com>
37461
88738eb6
UD
37462 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
37463
cbf645a6 37464 [BZ #13192]
2840865d
UD
37465 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
37466 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
37467
b402e91a
RM
374682011-09-15 Roland McGrath <roland@hack.frob.com>
37469
37470 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
37471 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
37472 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
37473 (CALL_FAIL): Likewise.
37474 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
37475 (CALL_FAIL): Macro removed.
37476 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
37477
4c1a1f71
UD
374782011-09-15 Ulrich Drepper <drepper@gmail.com>
37479
37480 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
37481 for __FINITE_MATH_ONLY__ == 1.
37482
edc121be
AS
374832011-09-15 Andreas Schwab <schwab@redhat.com>
37484
37485 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
37486 __ieee754_sqrt instead of sqrt.
37487 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
37488 __ieee754_sqrtf instead of sqrtf.
37489 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
37490 __floorf instead of floorf.
37491 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
37492 __floorf, __truncf instead of floorf, truncf.
37493
cd205654
UD
374942011-09-14 Ulrich Drepper <drepper@gmail.com>
37495
ee4d0315
UD
37496 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
37497
cd205654
UD
37498 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
37499 __extern_always_inline.
37500 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
37501 32-bit.
37502
48b67d71
AS
375032011-09-14 Andreas Schwab <schwab@redhat.com>
37504
37505 * elf/rtld.c (dl_main): Also relocate in dependency order when
37506 doing symbol dependency testing.
37507
1ae12c75
AS
375082011-09-13 Andreas Schwab <schwab@linux-m68k.org>
37509
37510 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
37511 Always define `refsym'.
37512
995a80df
AS
375132011-09-13 Andreas Schwab <schwab@redhat.com>
37514
e529793b
AS
37515 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
37516 (__FD_ELT): Renamed from __FDELT.
37517 * misc/bits/select2.h (__FD_ELT): Likewise.
37518 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
37519 __FD_MASK instead of __FDELT, __FDMASK.
37520 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
37521 Likewise.
37522 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
37523 Likewise.
37524
52d4fef8
AS
37525 * elf/Makefile (gen-ldd): Fix pattern.
37526
995a80df
AS
37527 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
37528 (init_tls): Likewise.
37529
8682f8b0
UD
375302011-09-12 Ulrich Drepper <drepper@gmail.com>
37531
37532 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
37533
de82006d
AS
375342011-09-12 Andreas Schwab <schwab@redhat.com>
37535
a7c8e6a1
AS
37536 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
37537 `struct cmsghdr *' instead of `void *'.
37538 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
37539 Likewise.
37540
0f31fe77
AS
375412011-09-11 Andreas Schwab <schwab@linux-m68k.org>
37542
37543 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
37544 if non-absolute.
37545 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
37546 ldd_rewrite_script.
0f31fe77 37547
32b4c839
UD
375482011-09-11 Ulrich Drepper <drepper@gmail.com>
37549
83cd1420
UD
37550 * configure.in: Remove --with-tls option.
37551 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
37552 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
37553 out in case it is missing.
37554 * sysdeps/ia64/elf/configure.in: Likewise.
37555 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
37556 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
37557 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
37558 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
37559 * sysdeps/sh/elf/configure.in: Likewise.
37560 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
37561 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
37562 * sysdeps/x86_64/elf/configure.in: Likewise.
37563 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
37564 * sysdeps/mach/hurd/tls.h: Likewise.
37565
633f745d
UD
37566 [BZ #13067]
37567 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
37568
f318beb8
UD
37569 [BZ #13090]
37570 * configure.in: Fix use of AC_INIT.
37571
32b4c839
UD
37572 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
37573
3ce1f295
UD
375742011-09-10 Ulrich Drepper <drepper@gmail.com>
37575
bb016596
UD
37576 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
37577 __set_errno.
8e58439c
UD
37578 * malloc/hooks.c: Likewise.
37579
aebae053 37580 [BZ #11929]
02d46fc4
UD
37581 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
37582 variables statically.
37583 (narenas): Initialize.
37584 (list_lock): Initialize.
bb016596
UD
37585 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
37586 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
37587 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
37588 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
37589 Add initializers to main_arena and mp_.
37590 (malloc_state): Remove pagesize member. Change all users to use
37591 GLRO(dl_pagesize).
37592
37593 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
37594 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
37595 is always initialized.
37596
22a89187
UD
37597 * malloc/malloc.c: Removed unused configurations and dead code.
37598 * malloc/arena.c: Likewise.
37599 * malloc/hooks.c: Likewise.
02d46fc4 37600 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 37601
d063d164
UD
37602 * include/tls.h: Removed. USE___THREAD must always be defined.
37603 * bits/libc-tsd.h: Don't handle !USE___THREAD.
37604 * elf/dl-libc.c: Likewise.
37605 * elf/dl-tsd.c: Likewise.
37606 * include/errno.h: Likewise.
37607 * include/netdb.h: Likewise.
37608 * include/resolv.h: Likewise.
37609 * inet/herrno-loc.c: Likewise.
37610 * inet/herrno.c: Likewise.
37611 * malloc/arena.c: Likewise.
37612 * malloc/hooks.c: Likewise.
37613 * malloc/malloc.c: Likewise.
37614 * resolv/res-state.c: Likewise.
37615 * resolv/res_libc.c: Likewise.
37616 * sysdeps/i386/dl-machine.h: Likewise.
37617 * sysdeps/ia64/dl-machine.h: Likewise.
37618 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
37619 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
37620 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
37621 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
37622 * sysdeps/sh/dl-machine.h: Likewise.
37623 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
37624 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
37625 * sysdeps/unix/i386/sysdep.S: Likewise.
37626 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
37627 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
37628 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
37629 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
37630 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
37631 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
37632 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
37633 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
37634 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37635 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
37636 * sysdeps/unix/x86_64/sysdep.S: Likewise.
37637 * sysdeps/x86_64/dl-machine.h: Likewise.
37638 * tls.make.c: Likewise.
37639
3ce1f295
UD
37640 * configure.in: Remove --with-__thread option. Make tests for
37641 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
37642 tls_model attribute fail if no support is available. Remove
37643 USE_IN_LIBIO.
37644 * Makeconfig: Adjust for dropped configure option. All features are
37645 now mandatory.
37646 * Makerules: Likewise.
37647 * Versions.def: Likewise.
37648 * argp/argp-fmtstream.c: Likewise.
37649 * argp/argp-fmtstream.h: Likewise.
37650 * argp/argp-help.c: Likewise.
37651 * assert/assert.c: Likewise.
37652 * config.h.in: Likewise.
37653 * config.make.in: Likewise.
37654 * configure: Likewise.
37655 * configure.in: Likewise.
37656 * csu/Versions: Likewise.
37657 * csu/init.c: Likewise.
37658 * elf/tst-audit2.c: Likewise.
37659 * elf/tst-tls10.c: Likewise.
37660 * elf/tst-tls10.h: Likewise.
37661 * elf/tst-tls11.c: Likewise.
37662 * elf/tst-tls12.c: Likewise.
37663 * elf/tst-tls14.c: Likewise.
37664 * elf/tst-tlsmod11.c: Likewise.
37665 * elf/tst-tlsmod12.c: Likewise.
37666 * elf/tst-tlsmod13.c: Likewise.
37667 * elf/tst-tlsmod13a.c: Likewise.
37668 * elf/tst-tlsmod14a.c: Likewise.
37669 * elf/tst-tlsmod15b.c: Likewise.
37670 * elf/tst-tlsmod16a.c: Likewise.
37671 * elf/tst-tlsmod16b.c: Likewise.
37672 * elf/tst-tlsmod7.c: Likewise.
37673 * elf/tst-tlsmod8.c: Likewise.
37674 * elf/tst-tlsmod9.c: Likewise.
37675 * gmon/gmon.c: Likewise.
37676 * grp/fgetgrent_r.c: Likewise.
37677 * grp/putgrent.c: Likewise.
37678 * hurd/fopenport.c: Likewise.
37679 * include/libc-symbols.h: Likewise.
37680 * include/tls.h: Likewise.
37681 * intl/gettextP.h: Likewise.
37682 * intl/loadinfo.h: Likewise.
37683 * locale/global-locale.c: Likewise.
37684 * locale/localeinfo.h: Likewise.
37685 * mach/devstream.c: Likewise.
37686 * malloc/arena.c: Likewise.
37687 * malloc/set-freeres.c: Likewise.
37688 * misc/err.c: Likewise.
37689 * misc/getttyent.c: Likewise.
37690 * misc/mntent_r.c: Likewise.
37691 * posix/getopt.c: Likewise.
37692 * posix/wordexp.c: Likewise.
37693 * pwd/fgetpwent_r.c: Likewise.
37694 * resolv/Versions: Likewise.
37695 * resolv/res_hconf.c: Likewise.
37696 * shadow/fgetspent_r.c: Likewise.
37697 * shadow/putspent.c: Likewise.
37698 * stdio-common/printf_fphex.c: Likewise.
37699 * stdio-common/tmpfile.c: Likewise.
37700 * stdlib/abort.c: Likewise.
37701 * stdlib/fmtmsg.c: Likewise.
37702 * sunrpc/auth_unix.c: Likewise.
37703 * sunrpc/clnt_perr.c: Likewise.
37704 * sunrpc/clnt_tcp.c: Likewise.
37705 * sunrpc/clnt_udp.c: Likewise.
37706 * sunrpc/clnt_unix.c: Likewise.
37707 * sunrpc/openchild.c: Likewise.
37708 * sunrpc/svc_simple.c: Likewise.
37709 * sunrpc/svc_tcp.c: Likewise.
37710 * sunrpc/svc_udp.c: Likewise.
37711 * sunrpc/svc_unix.c: Likewise.
37712 * sunrpc/xdr.c: Likewise.
37713 * sunrpc/xdr_array.c: Likewise.
37714 * sunrpc/xdr_rec.c: Likewise.
37715 * sunrpc/xdr_ref.c: Likewise.
37716 * sunrpc/xdr_stdio.c: Likewise.
37717
1248c1c4
PB
377182011-09-09 Ulrich Drepper <drepper@gmail.com>
37719
37720 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
37721
377222011-07-03 Andreas Jaeger <aj@suse.de>
37723
37724 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
37725 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
37726 regenerate with gen-libm-tests.pl.
37727
377282010-05-12 Petr Baudis <pasky@suse.cz>
37729
37730 [BZ #11589]
37731 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
37732 around j0() zero points by switching to j1().
37733 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
37734 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
37735 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
37736 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
37737
f22e1074
UD
377382011-09-09 Ulrich Drepper <drepper@gmail.com>
37739
f19009c1
UD
37740 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
37741 instead of 0.
37742 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 37743 instead of 0.
f19009c1
UD
37744 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
37745 Patch in part by Pavel Roskin <proski@gnu.org>.
37746
3f8cc204
UD
37747 [BZ #13138]
37748 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
37749 realloc.
37750 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
37751 Free memory block if necessary.
37752
f22e1074
UD
37753 [BZ #12847]
37754 * libio/genops.c (INTDEF): For string streams the _lock pointer can
37755 be NULL. Don't lock in this case.
37756
0a2349f9
RM
377572011-09-09 Roland McGrath <roland@hack.frob.com>
37758
37759 * elf/elf.h (ELFOSABI_GNU): New macro.
37760 (ELFOSABI_LINUX): Define to that.
37761
f3cdd467
DZ
377622011-07-29 Denis Zaitceff <zaitceff@gmail.com>
37763
37764 * string/strncat.c (strncat): Undef the symbol in case it has been
37765 defined in bits/string.h.
37766
74718d13
UD
377672011-09-09 Ulrich Drepper <drepper@gmail.com>
37768
633e9e0f
UD
37769 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
37770
0a2349f9 37771 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
37772 link map.
37773
f9924780
AJ
377742011-08-17 Andreas Jaeger <aj@suse.de>
37775
37776 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
37777
7f5517aa
PP
377782011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
37779 Ian Lance Taylor <iant@google.com>
37780
37781 * math/libm-test.inc (lround_test): New testcase.
37782 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
37783
762011fe
UD
377842011-09-08 Ulrich Drepper <drepper@gmail.com>
37785
92963737
UD
37786 * Makefile: Remove support for automatic cvs check-ins.
37787 * Makerules: Likewise.
37788 * config.make.in: Likewise.
37789 * configure.in: Likewise.
37790 * intl/Makefile: Likewise.
37791 * locale/Makefile: Likewise.
37792 * po/Makefile: Likewise.
37793 * posix/Makefile: Likewise.
37794 * sysdeps/gnu/Makefile: Likewise.
37795 * sysdeps/mach/hurd/Makefile: Likewise.
37796 * sysdeps/sparc/sparc32/Makefile: Likewise.
37797
b0727fd8
JS
37798 [BZ #13118]
37799 * posix/Makefile (bug-regex32-ENV): Define.
37800 Patch by John Stanley <jpsinthemix@verizon.net>.
37801
a0f33f99
UD
37802 * misc/Makefile (headers): Add bits/select2.h.
37803 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
37804 * misc/bits/select2.h: New file.
37805 * include/bits/select2.h: New file.
37806 * debug/Makefile (routines): Add fdelt_chk.
37807 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
37808 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
37809 FD_ISSET.
37810 * debug/fdelt_chk.c: New file.
37811
762011fe
UD
37812 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
37813 * wcsmbs/test-wmemcmp.c: Likewise.
37814 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 37815 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
37816
378172011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37818
37819 * string/Makefile (strop-tests): Add memcmp.
37820 * string/test-wmemcmp.c: New file.
37821 * string/test-memcmp.c: Add wmemcmp support.
37822
7f513ec8
RM
378232011-09-08 Roland McGrath <roland@hack.frob.com>
37824
0442afb4
RM
37825 [BZ #13153]
37826 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
37827 2011-07-19 change.
37828
7f513ec8
RM
37829 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
37830 garbage value in a __mach_port_mod_refs call in the cases of the
37831 task-self and thread-self ports.
37832
a12b2239
ST
378332011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
37834
37835 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
37836
610f9ab4
AS
378372011-09-08 Andreas Schwab <schwab@redhat.com>
37838
7f513ec8 37839 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 37840
48882a1a
LD
378412011-09-07 Ulrich Drepper <drepper@gmail.com>
37842
b49865be
UD
37843 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
37844
fdc86bc9
UD
37845 * elf/dl-libc.c (dlerror_run): Pass back error code from
37846 dl_catch_error.
37847
c966526a
UD
37848 [BZ #13123]
37849 * elf/dl-load.c (lose): Free l_origin if it is valid.
37850
48882a1a
LD
37851 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
37852 names.
37853 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
37854 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
37855 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
37856 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
37857 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
37858 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
37859
77a2a8b4
AZ
378602011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37861
37862 * sysdeps/powerpc/fpu/e_hypot.c: New file.
37863 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
37864 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
37865 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
37866 * sysdeps/powerpc/fpu/k_cosf.c: New file.
37867 * sysdeps/powerpc/fpu/k_sinf.c: New file.
37868 * sysdeps/powerpc/fpu/s_cosf.c: New file.
37869 * sysdeps/powerpc/fpu/s_sinf.c: New file.
37870 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
37871 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
37872
24f579d8
AM
378732011-08-15 Alan Modra <amodra@gmail.com>
37874
37875 [BZ #13092]
37876 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
37877 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
37878 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
37879 ppc_mcount to static-only-routines.
37880 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
37881 __mcount_internal.
37882 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
37883 __mcount_internal with usual JUMPTARGET. Remove useless nop.
37884
3d4837df
UD
378852011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
37886
37887 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
37888 for finite and infinity parameters.
37889
22700377
WS
378902011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
37891
37892 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
37893 and add nop instructions for throughput optimization.
37894 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
37895
5025581e
WS
378962011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
37897
37898 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
37899 aligned copy for power7 with vector-scalar instructions.
37900 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
37901
08a300c9
L
379022011-07-24 H.J. Lu <hongjiu.lu@intel.com>
37903
37904 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
37905 AVX check.
37906
59178ef9
AS
379072011-09-07 Andreas Schwab <schwab@redhat.com>
37908
37909 [BZ #13144]
37910 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
37911 last change.
37912
e38ba7ab
UD
379132011-09-07 Ulrich Drepper <drepper@gmail.com>
37914
37915 * sysdeps/unix/sysv/linux/x86_64/init-first.c
37916 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
37917 syscall wrapper around clock_gettime in __vdso_clock_gettime.
37918 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
37919 clock_gettime.
37920
d53a73ac
UD
379212011-09-06 Ulrich Drepper <drepper@gmail.com>
37922
fc8bffcc
UD
37923 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
37924 Forgot to demangle the pointer.
37925
ceaa0c5d
UD
37926 * sysdeps/i386/sysdep.h: Define atom_text_section.
37927 * sysdeps/x86_64/sysdep.h: Likewise.
37928 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
37929 section with atom_text_section.
37930 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
37931 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
37932 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
37933 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
37934 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
37935
a77d3c17
UD
37936 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
37937 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
37938 already be defined. Change to take two parameters and don't assign
37939 result to variable. Adjust all users.
37940 Define INTERNAL_GETTIME if not already defined.
37941 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
37942 call.
37943 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
37944 HAVE_CLOCK_GETTIME_VSYSCALL.
37945 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
37946
d53a73ac
UD
37947 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
37948 gettimeofday vsyscall, just use time.
37949
a8f84144
AS
379502011-09-06 Andreas Schwab <schwab@redhat.com>
37951
37952 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
37953 <errno.h>.
37954
ef606249
UD
379552011-09-06 Ulrich Drepper <drepper@gmail.com>
37956
37957 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
37958 syscall on x86-64.
37959 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
37960 syscall.
37961 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
37962 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
37963 syscall if possible.
37964
6585cb60
UD
379652011-09-05 Ulrich Drepper <drepper@gmail.com>
37966
37967 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
37968 e_ident. Don't pass to find_mapsXX.
37969 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
37970
a5f524e4
LD
379712011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
37972
37973 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37974 strchr-sse2-no-bsf strrchr-sse2-no-bsf
37975 * sysdeps/x86_64/multiarch/strchr.S: Update.
37976 Check bit_slow_BSF bit.
37977 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
37978 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
37979 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
37980
554881ef
UD
379812011-09-05 Ulrich Drepper <drepper@gmail.com>
37982
d96de963
UD
37983 [BZ #13134]
37984 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
37985 before glibc 2.15.
37986 (tryshell): Define.
37987 (__spawni): Change last parameter to be flag. Test
37988 SPAWN_XFLAGS_USE_PATH flag to use path or not.
37989 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
37990 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
37991 * posix/spawni.c: Likewise.
37992 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
37993 * posix/spawnp.c: Likewise. Change normal version to use
37994 SPAWN_XFLAGS_USE_PATH.
37995 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
37996 SPAWN_XFLAGS_TRY_SHELL.
37997
d48e5868
UD
37998 [BZ #13150]
37999 * posix/glob.h: Remove gcc 1.x support.
38000
554881ef
UD
38001 [BZ #13068]
38002 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
38003
693fb948
LD
380042011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
38005
38006 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38007 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
38008 strrchr-sse2-bsf
38009 * sysdeps/i386/i686/multiarch/strchr.S: New file.
38010 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
38011 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
38012 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
38013 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
38014 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
38015
1b48c537
UD
380162011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38017
49d42c37
UD
38018 * sysdeps/x86_64/wcscmp.S: New file.
38019
1b48c537
UD
38020 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
38021 wcscmp-c wcscmp-sse2
38022 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
38023 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
38024 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
38025 * wcsmbs/wcscmp.c: Allow renaming.
38026
15c95c5d
DM
380272011-09-05 David S. Miller <davem@davemloft.net>
38028
38029 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
38030 stack slot, rather than the struct return pointer slot.
38031 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
38032 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
38033 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
38034 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
38035
2f0ad8f3
UD
380362011-09-05 Ulrich Drepper <drepper@gmail.com>
38037
d88ae418
UD
38038 * po/ja.po: Update from translation team.
38039
2f0ad8f3
UD
38040 [BZ #13144]
38041 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
38042 kernel in 64-bit binaries.
38043
5f4318d1
DM
380442011-09-01 David S. Miller <davem@davemloft.net>
38045
38046 * elf/elf.h (HWCAP_SPARC_*): Move to..
38047 * sysdeps/sparc/sysdep.h: this new file and add new values.
38048 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
38049 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
38050 _DL_HWCAP_COUNT to 24.
38051 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
38052 entries.
38053 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
38054 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
38055 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
38056 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
38057 instead of magic constants.
38058 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
38059
3ba57516
DM
380602011-08-31 David S. Miller <davem@davemloft.net>
38061
38062 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
38063 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
38064 Reimplement to do errno handling inline.
38065 (SYSCALL_ERROR_HANDLER): New macro.
38066 (__SYSCALL_STRING): Do not do errno handling in asm.
38067 (__CLONE_SYSCALL_STRING): Delete.
38068 (__INTERNAL_SYSCALL_STRING): Delete.
38069 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
38070 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
38071 (PSEUDO): Reimplement to do errno handling inline.
38072 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
38073 (SYSCALL_ERROR_HANDLER): New macro.
38074 (__SYSCALL_STRING): Do not do errno handling in asm.
38075 (__CLONE_SYSCALL_STRING): Delete.
38076 (__INTERNAL_SYSCALL_STRING): Delete.
38077 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
38078 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
38079 i386.
38080 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
38081 (inline_syscall*): Add 'err' argument.
38082 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
38083 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
38084 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
38085 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
38086
38087 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
38088 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
38089
2bc17433
AS
380902011-08-30 Andreas Schwab <schwab@redhat.com>
38091
38092 * elf/rtld.c (dl_main): Relocate objects in dependency order.
38093
fbeb5f4d
JO
380942011-08-29 Jiri Olsa <jolsa@redhat.com>
38095
38096 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
38097 directive.
38098
ad69cc26
DM
380992011-08-24 David S. Miller <davem@davemloft.net>
38100
38101 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
38102
39dd69df
AS
381032011-08-24 Andreas Schwab <schwab@redhat.com>
38104
38105 * elf/Makefile: Add rules to build and run unload8 test.
38106 * elf/unload8.c: New file.
38107 * elf/unload8mod1.c: New file.
38108 * elf/unload8mod1x.c: New file.
38109 * elf/unload8mod2.c: New file.
38110 * elf/unload8mod3.c: New file.
38111
38112 * elf/dl-close.c (_dl_close_worker): Reset private search list if
38113 it wasn't used.
38114
2c0b250a
DM
381152011-08-23 David S. Miller <davem@davemloft.net>
38116
38117 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
38118 subtract stack bias.
38119 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
38120 %sp not %fp in calculations.
38121 (_JMPBUF_UNWINDS_ADJ): Likewise.
38122
22044b48
DM
38123 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
38124 (aio_suspend): Call it to force an exception region around the
38125 AIO_MISC_WAIT() invocation.
38126
2cae4995
AS
381272011-08-23 Andreas Schwab <schwab@redhat.com>
38128
38129 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
38130 backslash.
38131
873a772e
AJ
381322011-07-04 Aurelien Jarno <aurelien@aurel32.net>
38133
38134 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
38135 protection macro.
38136 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
38137 and <dl-machine.h>.
38138 (Elf64_FuncDesc): Remove.
38139
25ad0df1
DM
381402011-08-22 David S. Miller <davem@davemloft.net>
38141
38142 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
38143 sigaltstack check, add missing cfi directives.
38144 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
38145 missing cfi directives, and sigaltstack handling.
38146
e888bcbe
AS
381472011-08-16 Andreas Schwab <schwab@redhat.com>
38148
38149 [BZ #11724]
38150 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
38151 object is seen twice.
38152 * elf/dl-fini.c (_dl_sort_fini): Likewise.
38153
38154 * elf/Makefile (distribute): Add tst-initorder2.c.
38155 (tests): Add tst-initorder2.
38156 (modules-names): Add tst-initorder2a tst-initorder2b
38157 tst-initorder2c tst-initorder2d. Add rules to build them.
38158 ($(objpfx)tst-initorder2.out): New rule.
38159 * elf/tst-initorder2.c: New file.
38160 * elf/tst-initorder2.exp: New file.
38161
87162f46
AS
381622011-08-22 Andreas Schwab <schwab@redhat.com>
38163
70538b7f
AS
38164 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
38165
f55ffe58
AS
38166 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
38167 dependencies back to end of function.
38168
87162f46
AS
38169 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
38170 $(elfobjdir)/ld.so.
38171
91b392a4
UD
381722011-08-21 Ulrich Drepper <drepper@gmail.com>
38173
38174 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
38175 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
38176 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
38177 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
38178 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
38179 of __vdso_gettimeofday.
38180 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
38181 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
38182 attribute_hidden.
38183 (_libc_vdso_platform_setup): Remove initialization of
38184 __vdso_gettimeofday and __vdso_time.
38185
5c43483f
UD
381862011-08-20 Ulrich Drepper <drepper@gmail.com>
38187
775a77e7
UD
38188 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
38189 and fgetc_unlocked.
38190 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
38191 getc_unlocked.
89f447ed 38192
49c74ba9
UD
38193 * elf/dl-open.c (add_to_global): Report additions to the global scope
38194 for LD_DEBUG=scopes.
38195 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 38196 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 38197
5c43483f
UD
38198 [BZ #13114]
38199 * stdio-common/Makefile (tests): Add bug24.
38200 * stdio-common/bug24.c: New file.
38201
a101b025
AJ
382022011-08-19 Andreas Jaeger <aj@suse.de>
38203
38204 [BZ #13114]
38205 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
38206 non-existant file when using close-on-exec mode.
38207
c88f1766
UD
382082011-08-20 Ulrich Drepper <drepper@gmail.com>
38209
0276a718
UD
38210 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
38211 the very first instruction.
38212
c88f1766
UD
38213 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
38214 the CFI state in the end.
38215 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
38216 inclusion of dl-trampoline.h.
38217 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
38218
51ccffa0
AS
382192011-08-19 Andreas Schwab <schwab@redhat.com>
38220
94d7165f
AS
38221 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
38222 expectations for long double.
38223
51ccffa0
AS
38224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
38225 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
38226
fd708658 382272011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
38228
38229 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
38230 artificual limit depends upon the system page size.
38231
44f0a71e
UD
382322011-08-17 Ulrich Drepper <drepper@gmail.com>
38233
38234 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
38235 * resolv/Makefile: Define CFLAGS-libresolv.
38236
8de79a24
AS
382372011-08-17 Andreas Schwab <schwab@redhat.com>
38238
38239 * nss/makedb.c (compute_tables): Make variables used in nested
38240 function static.
38241
27724598
UD
382422011-08-17 Ulrich Drepper <drepper@gmail.com>
38243
c5305d88
UD
38244 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
38245 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
38246 if buffer was too small.
38247
27724598
UD
38248 * elf/pldd.c (main): Attach to all threads in the process.
38249 Rewrite /proc handling to use *at functions.
38250
076fe015
UD
382512011-08-16 Ulrich Drepper <drepper@gmail.com>
38252
174baab3
UD
38253 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
38254 specifies first scope to show.
38255 (dl_open_worker): Update callers. Move printing scope of new
38256 object to before the relocation.
44f0a71e 38257 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
38258 * sysdeps/generic/ldsodefs.h: Update declaration.
38259
076fe015
UD
38260 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
38261 string for the scope number.
38262
a60df2c3
UD
382632011-08-14 Ulrich Drepper <drepper@gmail.com>
38264
38265 * nscd/servicescache.c (cache_addserv): Make sure written is always
38266 initialized.
38267
5e4287d1
RM
382682011-08-14 Roland McGrath <roland@hack.frob.com>
38269
85ae0589
RM
38270 * sysdeps/i386/i486/bits/atomic.h
38271 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
38272 statement expression, so as to suppress "set but not used" warning.
38273 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
38274
69f63097
RM
38275 * string/strncat.c (STRNCAT): Use prototype definition.
38276
675456ef
RM
38277 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
38278 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
38279 -Iprograms here.
38280 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
38281 (localedef-modules): Add localedef.
38282 (locale-modules): Add locale.
38283
5e4287d1
RM
38284 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
38285 * elf/rtld.c (dl_main): Invert order of assignment in last change,
38286 to avoid a warning.
38287
9c96ff23
DM
382882011-08-14 David S. Miller <davem@davemloft.net>
38289
38290 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
38291 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
38292
f9ddf089
UD
382932011-08-13 Ulrich Drepper <drepper@gmail.com>
38294
44f0a71e 38295 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
38296 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
38297 * elf/rtld.c (dl_main): Set l_name of vDSO.
38298 Call _dl_show_scope when DL_DEBUG_SCOPES.
38299 (process_dl_debug): Recognize scopes flag and also set it for all.
38300 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
38301 Declare _dl_show_scope.
38302
1dc27704
UD
38303 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
38304 (do_dlopen): Pass caller_dlopen to dl_open.
38305 (__libc_dlopen_mode): Initialize caller_dlopen.
38306
f9ddf089
UD
38307 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
38308 of libc. Make tolower call locale-independent. Optimize a bit by
38309 using isdigit instead of isalnum.
38310 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
38311
9ac533d3
UD
383122011-08-12 Ulrich Drepper <drepper@gmail.com>
38313
38314 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
38315 was a dependency or dynamically loaded.
38316
89edf2e9
UD
383172011-08-11 Ulrich Drepper <drepper@gmail.com>
38318
8e999d29
UD
38319 * intl/l10nflist.c: Allow architecture-specific pop function.
38320 * sysdeps/x86_64/l10nflist.c: New file.
38321
89edf2e9
UD
38322 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
38323 classification.
38324
14d96785
AS
383252011-08-10 Andreas Schwab <schwab@redhat.com>
38326
38327 * include/dirent.h: Add libc_hidden_proto for scandirat and
38328 scandirat64. Don't declare __scandirat64.
38329 * dirent/scandirat.c: Add libc_hidden_def.
38330 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
38331 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
38332
6761ac04
DM
383332011-08-10 David S. Miller <davem@davemloft.net>
38334
38335 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
38336 enum.
38337 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
38338 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
38339 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
38340
c55fbd1e
UD
383412011-08-09 Ulrich Drepper <drepper@gmail.com>
38342
38343 * Versions.def [libc]: Add GLIBC_2.15.
38344 * dirent/Makefile (routines): Add scandirat and scandirat64.
38345 * dirent/Versions [libc]: Export scandirat and scandirat64 for
38346 GLIBC_2.15.
38347 * dirent/dirent.h: Declare scandirat and scandirat64.
38348 * dirent/scandirat.c: New file.
38349 * dirent/scandirat64.c: New file.
38350 * sysdeps/wordsize-64/scandirat.c: New file.
38351 * sysdeps/wordsize-64/scandirat64.c: New file.
38352 * dirent/opendir.c: Define opendirat.
38353 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
38354 using scandirat.
38355 * dirent/scandir64.c: Adjust for scandir.c change.
38356 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
38357 __scandirat64, and __scandir_cancel_handler.
38358 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
38359 additional parameter and use openat instead of open (outside of ld.so).
38360 Add new __opendir as wrapper around __opendirat.
38361 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
38362 here without requiring old scandirat implementation.
38363
879165f2
UD
383642011-08-08 Ulrich Drepper <drepper@gmail.com>
38365
38366 * dirent/scandir.c (cancel_handler): Renamed to
38367 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
38368 defined. Adjust users.
38369 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
38370 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
38371
cb7e923b
UD
383722011-08-04 Ulrich Drepper <drepper@gmail.com>
38373
16292edd
UD
38374 * string/test-string.h (IMPL): Use __STRING to expand name and then
38375 stringify it.
38376
cb7e923b
UD
38377 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
38378 of cleanups.
38379
cff82933
LD
383802011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38381
38382 * string/Makefile: Update.
38383 (strop-tests): Append strncat.
38384 * string/test-wcscmp.c: New file.
38385 New comprehensive test for wcscmp.
38386 * string/test-strcmp.c: Update.
38387 (WIDE): New define.
38388
9be9bfcc
AS
383892011-07-22 Andreas Schwab <schwab@redhat.com>
38390
38391 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
38392 line.
38393
2e96f1c7
AS
383942011-07-26 Andreas Schwab <schwab@redhat.com>
38395
38396 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
38397 encoding to ACE if AI_IDN.
38398
85188888
JJ
383992011-08-01 Jakub Jelinek <jakub@redhat.com>
38400
38401 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
38402 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
38403
5fa16e9b
LD
384042011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
38405
38406 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
38407 Fix overflow bug in strncat.
38408 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
38409
38410 * string/test-strncat.c: Update.
38411 Add new tests for checking overflow bugs.
38412
384132011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
38414
38415 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38416 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
38417 * sysdeps/i386/i686/multiarch/strcat.S: New file.
38418 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
38419 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
38420 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
38421 * sysdeps/i386/i686/multiarch/strncat.S: New file.
38422 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
38423 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
38424
38425 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
38426 (USE_AS_STRCAT): Define.
38427 Add strcat and strncat support.
38428 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
38429
8c1a459f
AS
384302011-07-25 Andreas Schwab <schwab@redhat.com>
38431
38432 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
38433 __n bigger than INT_MAX+1.
38434 (__strncmp_g): Likewise.
38435
bba33c28
UD
384362011-07-23 Ulrich Drepper <drepper@gmail.com>
38437
798be72d
UD
38438 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
38439 * libio/stido.h: Likewise.
38440
8accd4dc
UD
38441 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
38442 (AF_NFC): Define.
38443 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
38444 (AF_NFC): Define.
38445
cbff0d96
UD
38446 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
38447 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
38448 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
38449 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
38450 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
38451
9191c04a
UD
38452 [BZ #13021]
38453 * scripts/test-installation.pl: Don't expect libnss_test1 to be
38454 installed.
38455
bba33c28
UD
38456 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
38457 typo.
38458 (_dl_x86_64_save_sse): Likewise.
38459
90f139dd
UD
384602011-07-22 Ulrich Drepper <drepper@gmail.com>
38461
1aae088a
UD
38462 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
38463 OSXSAVE.
38464 (_dl_x86_64_save_sse): Likewise.
38465
8e2045f5
UD
38466 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
38467
90f139dd
UD
38468 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
38469
1d002f25
AS
384702011-07-21 Andreas Schwab <schwab@redhat.com>
38471
38472 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
38473 change.
38474 (_dl_x86_64_save_sse): Use correct AVX check.
38475
21137f89
UD
384762011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38477
38478 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
38479 bug in strncpy/strncat.
38480 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
38481
a65c0b7a
UD
384822011-07-21 Ulrich Drepper <drepper@gmail.com>
38483
38484 * string/tester.c (test_strcat): Add tests for different alignments
38485 of source and destination.
38486 (test_strncat): Likewise.
38487
6986b98a
UD
384882011-07-20 Ulrich Drepper <drepper@gmail.com>
38489
90bb2039
UD
38490 [BZ #12852]
38491 * posix/glob.c (glob): Check passed in values before using them in
38492 expressions to avoid some overflows.
38493 (glob_in_dir): Likewise.
38494
5644ef54
UD
38495 [BZ #13007]
38496 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
38497 check for AVX enablement so that we don't crash with old kernels and
38498 new hardware.
38499 * elf/tst-audit4.c: Add same checks here.
38500 * elf/tst-audit6.c: Likewise.
38501
38502 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 38503
bfc9dc9b
AS
385042011-07-09 Andreas Schwab <schwab@linux-m68k.org>
38505
38506 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
38507
702e64bb
UD
385082011-07-20 Ulrich Drepper <drepper@gmail.com>
38509
38510 * po/cs.po: Update from translation team.
38511 * po/bg.po: Likewise.
38512
295e904f
MP
385132011-07-12 Marek Polacek <mpolacek@redhat.com>
38514
38515 * misc/sys/cdefs.h: Add support for const attribute.
38516 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
38517 to gnu_dev_{major,minor,makedev} functions.
38518
3ff94596
MP
385192011-07-20 Marek Polacek <mpolacek@redhat.com>
38520
38521 * intl/dcigettext.c (get_output_charset): Add missing bracket.
38522
28b59fca
AS
385232011-07-20 Andreas Schwab <schwab@redhat.com>
38524
38525 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
38526 strlen results.
38527
19df733e
AK
385282011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38529
38530 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
38531 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
38532 register in order to avoid conflicts with the soft frame pointer
38533 being held in r11 when necessary.
38534 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
38535 (INTERNAL_VSYSCALL_NCS): Likewise.
38536
c8835729
MP
385372011-07-14 Marek Polacek <mpolacek@redhat.com>
38538
38539 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
38540 * elf/dl-fini.c (_dl_fini): Adjust caller.
38541 * elf/dl-close.c (_dl_close_worker): Likewise.
38542 * sysdeps/generic/ldsodefs.h: Adjust declaration.
38543
b902330c
MP
385442011-07-15 Marek Polacek <mpolacek@redhat.com>
38545
8991e135
MP
38546 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
38547 "aux_cache->nlibs < 0".
38548
b902330c
MP
38549 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
38550 in the reload-count case.
38551
99710781
LD
385522011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
38553
38554 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38555 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
38556 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
38557 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
38558 * sysdeps/x86_64/multiarch/strcat.S: New file.
38559 * sysdeps/x86_64/multiarch/strncat.S: New file.
38560 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
38561 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
38562 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
38563 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
38564 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
38565 (USE_AS_STRCAT): Define.
38566 Add strcat and strncat support.
38567 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
38568 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
38569 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
38570 * string/strncat.c: Update.
38571 (USE_AS_STRNCAT): Define.
38572 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38573 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
38574 and i7.
38575 * sysdeps/x86_64/multiarch/init-arch.h
38576 (bit_Prefer_PMINUB_for_stringop): New.
38577 (index_Prefer_PMINUB_for_stringop): Likewise.
38578 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
38579 bit_Prefer_PMINUB_for_stringop.
38580
7dc6bd90
UD
385812011-07-19 Ulrich Drepper <drepper@gmail.com>
38582
38583 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
38584 buffer64.
38585 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
38586 of casting of buffer.
38587 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
38588 buffer32 and buffer64.
38589 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
38590 writes instead of casting of buffer.
38591 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
38592 buffer32.
38593 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
38594 casting of buffer.
38595
e0e72284
AS
385962011-07-19 Andreas Schwab <schwab@redhat.com>
38597
38598 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
38599
feb1eb0b
UD
386002011-07-19 Ulrich Drepper <drepper@gmail.com>
38601
38602 * nscd/nscd.c (termination_handler): Don't do anything for a database
38603 if it has not yet been initialized.
38604
298711ff
UD
386052011-07-18 Ulrich Drepper <drepper@gmail.com>
38606
38607 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
38608
386092011-07-15 Marek Polacek <mpolacek@redhat.com>
38610
38611 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
38612
f9d68389
UD
386132011-07-18 Ulrich Drepper <drepper@gmail.com>
38614
38615 * po/nl.po: Update from translation team.
38616 * po/sv.po: Likewise.
38617
db290cf5
RM
386182011-07-16 Roland McGrath <roland@hack.frob.com>
38619
38620 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
38621 now disallowed by GCC.
5c550700 38622
fd5e21c7
RM
38623 * configure.in (use-default-link): Default to yes if a test -shared
38624 link meets our qualifications.
38625 * configure: Regenerated.
38626
5c550700
RM
38627 * config.make.in (output-format): New variable.
38628 * configure.in: Check for ld --print-output-format support.
38629 * configure: Regenerated.
38630 * Makerules ($(common-objpfx)format.lds)
38631 [$(output-format) != unknown]: Just use $(output-format),
38632 instead of the linker-script munging.
38633
9fa2c032
RM
386342011-07-14 Roland McGrath <roland@hack.frob.com>
38635
a6928d51
RM
38636 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
38637 of $(common-objpfx)shlib.lds.
38638 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
38639
661607b3
RM
38640 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
38641 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
38642
9fa2c032
RM
38643 * configure.in (-z relro check): Adjust test code to add a large
38644 writable data section after it.
38645 * configure: Regenerated.
38646
defe9061
RM
386472011-07-11 Roland McGrath <roland@hack.frob.com>
38648
38649 * configure.in (-z relro check): Fix test code to make the variable
38650 truly const.
38651 * configure: Regenerated.
38652
319b9ad4
UD
386532011-07-11 Ulrich Drepper <drepper@gmail.com>
38654
38655 * nscd/nscd.h (struct traced_file): Define.
38656 (struct database_dyn): Remove inotify_descr, reset_res, and filename
38657 elements. Add traced_files.
38658 (inotify_fd): Declare.
38659 (register_traced_file): Declare.
38660 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
38661 (inotify_fd): Export.
38662 (resolv_conf_descr): Remove.
38663 (nscd_init): Move inotify descriptor creation to main.
38664 Don't register files for notification here.
38665 (register_traced_file): New function.
38666 (invalidate_cache): Don't use reset_res to determine whether to call
38667 res_init, go through the list of registered files.
38668 (main_loop_poll): The inotify descriptors are now stored in the
38669 structures for the traced files.
38670 (main_loop_epoll): Likewise
38671 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
38672 to __nss_disable_nscd.
38673 * nscd/cache.c (prune_cache): There is no single inotify descriptor
38674 for a database anymore. Check the records for all the registered
38675 files instead.
38676 * nss/Makefile (libnss_files-routines): Add files-init.
38677 (libnss_db-routines): Add db-init.
38678 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
38679 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
38680 * nss/nss_db/db-init.c: New file.
38681 * nss/nss_files/files-init.c: New file.
38682 * nss/nsswitch.c (nss_load_library): New function. Broken out of
38683 __nss_lookup_function.
38684 (__nss_lookup_function): Call nss_load_library.
38685 (nss_load_all_libraries): New function.
38686 (__nss_disable_nscd): Take parameter with callback function for files
38687 to register. Set is_nscd. Load all the DSOs for the NSS modules
38688 used for the cached services.
38689 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
38690 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
38691 options for features to all the files in nscd.
38692
38693 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
38694
23bee3e8
RM
386952011-07-10 Roland McGrath <roland@hack.frob.com>
38696
38697 * csu/elf-init.c (__libc_csu_init): Comment typo.
38698
46a5b7f0
UD
386992011-07-09 Ulrich Drepper <drepper@gmail.com>
38700
38701 * po/pl.po: Update from translation team.
38702 * po/ja.po: Likewise.
38703 * po/ru.po: Likewise.
38704 * po/ko.po: Likewise.
38705 * po/fr.po: Likewise.
38706
d30cf5bb
RM
387072011-07-09 Roland McGrath <roland@hack.frob.com>
38708
113ddea4
RM
38709 * configure.in (.ctors/.dtors header and trailer check):
38710 Use an empirical test on a built program.
38711 * configure: Regenerated.
38712
574920b4
RM
38713 * configure.in (-z relro check): Use an empirical test on a built DSO.
38714 Detect, but do not require, on ia64.
38715 * configure: Regenerated.
38716
d30cf5bb
RM
38717 * configure.in (READELF): Find it with AC_CHECK_TOOL.
38718 Update tests that use readelf to use $READELF instead.
38719 * configure: Regenerated.
38720
8538fdb3
UD
387212011-07-08 Ulrich Drepper <drepper@gmail.com>
38722
38723 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
38724 if the result is not used.
38725
04d08991
AJ
387262011-07-05 Andreas Jaeger <aj@suse.de>
38727
38728 [BZ#9696]
38729 * stdlib/tst-strtod.c: Add testcase.
38730
de283087
AD
387312011-07-07 Ulrich Drepper <drepper@gmail.com>
38732
4e5f31c8 38733 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 38734 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
38735 The latter has a higher limit. Take additional parameter to pass to
38736 the new function.
38737 (__pathconf): Pass file to __statfs_link_max.
38738 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
38739 __statfs_link_max.
38740 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
38741 __statfs_link_max.
38742
de283087
AD
38743 [BZ #12868]
38744 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
38745 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
38746 Handle Lustre.
38747 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
38748 (__statfs_filesize_max): Likewise.
38749 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
38750
c75fa153
AJ
387512011-07-05 Andreas Jaeger <aj@suse.de>
38752
38753 * resolv/res_comp.c (dn_skipname): Remove unused variable.
38754
1a544854
UD
387552011-07-06 Marek Polacek <mpolacek@redhat.com>
38756
38757 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
38758 `status' variable.
38759 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
38760 Likewise.
38761
6f0eec67
UD
387622011-07-04 H.J. Lu <hongjiu.lu@intel.com>
38763
38764 * Makefile (strop-tests): Add strncat.
38765 * string/test-strncat.c: New file.
38766
aae30307
UD
387672011-06-30 Marek Polacek <mpolacek@redhat.com>
38768
38769 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
38770
c0cfb5eb
UD
387712011-06-21 Andreas Jaeger <aj@suse.de>
38772
38773 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
38774 Copy rule from iconvdata/Makefile.
38775
01636b21
UD
387762011-07-06 Ulrich Drepper <drepper@gmail.com>
38777
38778 [BZ #12922]
38779 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
38780 but no long options are defined, just return 'W'.
38781
9895c8bc
UD
387822011-06-22 Marek Polacek <mpolacek@redhat.com>
38783
38784 [BZ #9696]
38785 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
38786
5d4cf042
UD
387872011-07-06 Ulrich Drepper <drepper@gmail.com>
38788
38789 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
38790 netgroups to read.
960e5535 38791 (innetgr): Likewise.
5d4cf042 38792
751eb97e
RM
387932011-07-05 Roland McGrath <roland@hack.frob.com>
38794
38795 * config.make.in (install_root): Default to $(DESTDIR).
38796
f15f1e45
UD
387972011-07-05 Ulrich Drepper <drepper@gmail.com>
38798
38799 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
38800
4e34ac6a
RM
388012011-07-02 Roland McGrath <roland@hack.frob.com>
38802
5e9b6af4
RM
38803 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
38804
84f9ea0f
RM
38805 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
38806 containing directory rather than embedding absolute directory names.
38807
ea5ee9f7
RM
38808 * scripts/check-local-headers.sh: Rewritten using awk.
38809 Match by word, not by line. Print error messages for matches.
38810 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
38811
1b74661a
RM
38812 * Makerules [shlib-lds-flags empty]:
38813 ($(common-objpfx)libc_pic.opts): New target.
38814 ($(common-objpfx)libc_pic.os.clean): New target.
38815 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
38816
38817 * config.make.in (OBJCOPY): New variable.
38818 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
38819 * configure: Regenerated.
38820
f781ef40
RM
38821 * config.make.in (use-default-link): New variable.
38822 * configure.in (use_default_link): Grok --with-default-link to set it.
38823 * configure: Regenerated.
38824 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
38825 (shlib-lds, shlib-lds-flags): Define to empty.
38826
2d4fa81e
RM
38827 * Makerules (shlib-lds): New variable.
38828 (shlib-lds-flags): New variable.
38829 (build-shlib, build-moduile, build-module-asneeded): Use it.
38830 ($(common-objpfx)libc.so): Use $(shlib-lds).
38831 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
38832 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
38833
31fffa6b
RM
38834 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
38835 DT_FLAGS/DT_FLAGS_1 with zero flags.
38836
4e34ac6a
RM
38837 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
38838 linker script munging.
38839
fcfc776b
UD
388402011-07-02 Ulrich Drepper <drepper@gmail.com>
38841
38842 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
38843 as 128-bit value.
38844 * crypt/sha512.c (sha512_process_block): Perform total addition using
38845 128-bit if possible.
38846 (__sha512_finish_ctx): Likewise.
38847 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
38848 as 64-bit value.
38849 * crypt/sha256.c (SWAP64): Define.
38850 (sha256_process_block): Perform total addition using 64-bit if
38851 possible.
38852 (__sha256_finish_ctx): Likewise.
38853
99231d9a
UD
388542011-07-01 Ulrich Drepper <drepper@gmail.com>
38855
38856 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
38857 * nscd/initgrcache.c (addinitgroupsX): Likewise.
38858 * nscd/hstcache.c (cache_addhst): Likewise.
38859 * nscd/grpcache.c (cache_addgr): Likewise.
38860 * nscd/aicache.c (addhstaiX): Likewise
38861 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
38862
445b4a53
TK
388632011-07-01 Thorsten Kukuk <kukuk@suse.de>
38864
38865 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
38866 * nscd/initgrcache.c (addinitgroupsX): Likewise.
38867 * nscd/hstcache.c (cache_addhst): Likewise.
38868 * nscd/grpcache.c (cache_addgr): Likewise.
38869 * nscd/aicache.c (addhstaiX): Likewise
38870
6d4d8e8e
AS
388712011-07-01 Andreas Schwab <schwab@redhat.com>
38872
38873 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
38874 domain only when needed.
38875
89f654c5
AS
388762011-06-30 Andreas Schwab <schwab@redhat.com>
38877
38878 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
38879 is always restored.
38880
cf3b23ff
UD
388812011-06-29 Ulrich Drepper <drepper@gmail.com>
38882
38883 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
38884 are re-adding the entry.
38885 * nscd/servicescache.c (cache_addserv): Likewise.
38886
751626f9
AJ
388872011-06-30 Aurelien Jarno <aurelien@aurel32.net>
38888
38889 * sysdeps/generic/dl-irel.h: fix protection against multiple
38890 inclusions.
38891 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
38892
9113ea1f
UD
388932011-06-28 Ulrich Drepper <drepper@gmail.com>
38894
5c0b8d90
UD
38895 [BZ #12935]
38896 * malloc/memusage.sh: Fix quoting in message.
38897 * debug/xtrace.sh: Likewise.
38898
9113ea1f
UD
38899 * configure.in: Remove support for --experimental-malloc option, make
38900 it the default.
38901 * config.make.in: Likewise.
38902 * malloc/Makefile: Likewise.
38903
a4172181
AS
389042011-06-27 Andreas Schwab <schwab@redhat.com>
38905
38906 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
38907 two-byte characters.
38908
78a7eee7
RM
389092011-06-27 Roland McGrath <roland@hack.frob.com>
38910
62bede13
RM
38911 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
38912 AC_CACHE_CHECK invocation.
38913 * configure: Regenerated.
38914
78a7eee7
RM
38915 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
38916
5ce33a62
UD
389172011-06-27 Ulrich Drepper <drepper@gmail.com>
38918
034807a9
UD
38919 [BZ #12350]
38920 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
38921 bit from old_res_options.
38922
4902da17
UD
38923 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
38924
5ce33a62
UD
38925 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
38926 value type for setfct.
38927
c2344f56
L
389282011-06-23 H.J. Lu <hongjiu.lu@intel.com>
38929
38930 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
38931 __gettimeofday instead of gettimeofday.
38932
68468076
UD
389332011-06-26 Ulrich Drepper <drepper@gmail.com>
38934
38935 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
38936
acb0d739
L
389372011-06-24 H.J. Lu <hongjiu.lu@intel.com>
38938
38939 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
38940
38941 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
38942 info.
38943
8912479f
L
389442011-06-22 H.J. Lu <hongjiu.lu@intel.com>
38945
38946 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38947 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
38948 strcpy-sse2-unaligned strncpy-sse2-unaligned
38949 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
38950 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
38951 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
38952 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
38953 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
38954 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
38955 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
38956 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
38957 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
38958 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
38959 (STRCPY): Support SSE2 and SSSE3 versions.
38960
d5495a11
UD
389612011-06-24 Ulrich Drepper <drepper@gmail.com>
38962
38963 [BZ #12874]
38964 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
38965 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
38966 kernels which artificially limit size of requests.
38967
0b1cbaae
L
389682011-06-22 H.J. Lu <hongjiu.lu@intel.com>
38969
38970 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38971 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
38972 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
38973 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
38974 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
38975 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
38976 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
38977 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
38978 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
38979 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
38980 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
38981 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
38982 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
38983 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
38984 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
38985 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38986 Enable unaligned load optimization for Intel Core i3, i5 and i7
38987 processors.
38988 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
38989 Define.
38990 (index_Fast_Unaligned_Load): Define.
38991 (HAS_FAST_UNALIGNED_LOAD): Define.
38992
07f494a0
MP
389932011-06-23 Marek Polacek <mpolacek@redhat.com>
38994
38995 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
38996
fa3fc0fe
UD
389972011-06-22 Ulrich Drepper <drepper@gmail.com>
38998
38999 [BZ #12907]
39000 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
39001 until it is clear that the information is realy needed.
39002 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
39003
e12df166
AS
390042011-06-22 Andreas Schwab <schwab@redhat.com>
39005
39006 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
39007
852eb34d
UD
390082011-06-22 Ulrich Drepper <drepper@gmail.com>
39009
84e2a551
UD
39010 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
39011 /sys/devices/system/cpu/online if it is usable.
39012
852eb34d
UD
39013 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
39014 reading the information from the /proc filesystem to once a second.
39015
6e502e19
UD
390162011-06-21 Andreas Jaeger <aj@suse.de>
39017
39018 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
39019 NULL after inclusion of kernel headers.
39020
75d39ff2
UD
390212011-06-21 Ulrich Drepper <drepper@gmail.com>
39022
51f9aa6a
UD
39023 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
39024 calls to internal_setent.
39025
c0244a9d
UD
39026 [BZ #12885]
39027 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
39028 addresses using gethostbyname4_r ignore IPv4 addresses.
39029
c5e3c2ae
UD
39030 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
39031 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
39032
75d39ff2
UD
39033 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
39034
42675c6f
DM
390352011-06-20 David S. Miller <davem@davemloft.net>
39036
39037 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
39038 inclusions.
39039 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
39040
39041 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
39042 (elf_irel): Use it.
39043 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
39044 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
39045 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
39046 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
39047 * sysdeps/x86_64/dl-irel.h: Likewise.
39048
39049 * elf/dl-runtime.c: Use elf_ifunc_invoke.
39050 * elf/dl-sym.c: Likewise.
39051
57912a71
UD
390522011-06-15 Ulrich Drepper <drepper@gmail.com>
39053
39054 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
39055 need to dereference resplen2.
39056
ee22793d
AS
390572011-06-14 Andreas Schwab <schwab@redhat.com>
39058
39059 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
39060
a9e836b0
UD
390612011-06-15 Ulrich Drepper <drepper@gmail.com>
39062
77fb9117
UD
39063 * Makeconfig: Define vardbdir and inst_vardbdir.
39064 * nss/Makefile: Add rules to install db-Makefile.
39065
40c1b22c
UD
39066 * nss/nss_db/db-XXX.c: Cleanup.
39067
9f2da732
UD
39068 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
39069 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
39070 GLIBC_PRIVATE.
39071 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
39072 * nss/makedb.c: Implement -g option to specify that value strings
39073 are generated and should not be added to table iterated over for
39074 get*ent calls.
39075 * nss/nss_db/db-initgroups.c: New file.
39076
82e9a1f7
UD
39077 * nss/getent.c: Add support for initgroups lookups through getgrouplist
39078 interface.
39079
c41af17e
UD
39080 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
39081 (internal_getgrouplist): Adjust to name change.
39082 Update use_initgroups_entry if this is not the first call.
39083 * nss/databases.def: Add initgroups entry.
39084
a9e836b0
UD
39085 * nss/makedb.c (compute_tables): Check result of multiple hash table
39086 sizes to minimize maximum chain length.
39087
2666d441
UD
390882011-06-14 Ulrich Drepper <drepper@gmail.com>
39089
39090 * Versions.def: Add entry for libnss_db.
39091 * shlib-versions: Likewise.
39092 * nss/Makefile: Add rules to build libnss_db.
39093 * nss/Versions: Add libnss_db information. Organize libnss_files
39094 entries better.
39095 * nss/db-Makefile: Add gshadow support. Change rules for the new
39096 makedb progra. Some minor improvements to generate smaller files.
39097 * nss/nss_db/nss_db.h: Move NSS database header data structures to
39098 here from...
39099 * nss/makedb.c: ...here.
39100 Improve database format to be smaller and require less memory at
39101 runtime.
39102 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
39103 db anymore.
39104 * nss/nss_db/db-netgrp.c: Likewise.
39105 * nss/nss_db/db-open.c: Likewise.
39106 * nss/nss_files/flies-XXX.x: Adjust comments.
39107 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
39108 * nss/nss_files/files-grp.c: Likewise.
39109 * nss/nss_files/files-hosts.c: Likewise.
39110 * nss/nss_files/files-network.c: Likewise.
39111 * nss/nss_files/files-proto.c: Likewise.
39112 * nss/nss_files/files-pwd.c: Likewise.
39113 * nss/nss_files/files-rpc.c: Likewise.
39114 * nss/nss_files/files-service.c: Likewise.
39115 * nss/nss_files/files-sgrp.c: Likewise.
39116 * nss/nss_files/files-spwd.c: Likewise.
39117 * nss/nss_db/db-alias.c: Removed.
39118 * nss/nss_db/dummy-db.h: Removed.
39119
9ee76b5a
UD
391202011-06-02 Ulrich Drepper <drepper@gmail.com>
39121
39122 * nss/makedb.c: Rewritten to not use database library.
39123 * nss/Makefile: Update to build new makedb program.
39124
c71ca1f8
AJ
391252011-06-14 Andreas Jaeger <aj@suse.de>
39126
39127 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
39128 memset declaration.
39129
3154bfb8
UD
391302011-06-10 Andreas Schwab <schwab@redhat.com>
39131
39132 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
39133 tmpbuf.
39134
b350afab
RM
391352011-06-10 Roland McGrath <roland@hack.frob.com>
39136
decd4e50
RM
39137 * Makerules (shlib.lds): Fail if the linker script comes out empty.
39138 * elf/Makefile ($(objpfx)ld.so): Likewise.
39139
5615eaf2
RM
39140 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
39141 Don't list ld.so twice in dependencies.
39142
39143 * posix/bug-regex31.c: Include <stdlib.h>.
39144
39145 * nscd/hstcache.c (cache_addhst): Remove unused variable.
39146
39147 * nis/nss_compat/compat-spwd.c
39148 (getspent_next_nss_netgr): Remove unused variable.
39149 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
39150
39151 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
39152 nonmembers" output to use the right array.
39153
39154 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
39155
39156 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
39157
39158 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
39159 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
39160 * catgets/gencat.c (read_input_file): Likewise.
39161 * locale/programs/locarchive.c (enlarge_archive): Likewise.
39162
39163 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
39164 variable definition inside #if's controlling its use.
39165
39166 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
39167
39168 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
39169
39170 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
39171
39172 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
39173 unreachable code.
39174
39175 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
39176
b68e08db
RM
39177 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
39178 * configure: Regenerated.
39179
b350afab
RM
39180 * Makerules: Revert last change.
39181 * elf/Makefile: Likewise.
39182
28368601
RM
391832011-06-09 Roland McGrath <roland@hack.frob.com>
39184
39185 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
39186 * elf/Makefile ($(objpfx)librtld.os): Likewise.
39187 (reloc-link): Likewise.
39188
11988f8f
UD
391892011-06-09 Ulrich Drepper <drepper@gmail.com>
39190
39191 * elf/Makefile: Add rules to build pldd.
39192 * elf/pldd.c: New file.
39193 * elf/pldd-xx.c: New file.
39194
e80fab37
UD
391952011-06-07 Ulrich Drepper <drepper@gmail.com>
39196
39197 * version.h: Update for 2.15 development version.
39198
9b849836
DM
391992011-06-07 David S. Miller <davem@davemloft.net>
39200
39201 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
39202 ifuncs.
39203 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
39204 elf_machine_lazy_rel): Likewise.
39205 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
39206 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
39207 elf_machine_lazy_rel): Likewise.
39208 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
39209 dl_hwcap via passed in argument.
39210 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
39211 Likewise.
39212
5a31b283
AK
392132011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39214
39215 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
39216
069e52f8
RM
392172011-06-06 Roland McGrath <roland@hack.frob.com>
39218
39219 [BZ #12849]
39220 * manual/fdl-1.1.texi: New file, verbatim from:
39221 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
39222 * manual/lgpl-2.1.texi: New file, verbatim from:
39223 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
39224 * manual/Makefile (licenses): New variable, list those new file names.
39225 (texis): Use it.
39226 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
39227
39228 * manual/fdl.texi: File removed.
39229 * manual/lesser.texi: File removed.
39230 * manual/libc.texinfo (Copying, Documentation License):
39231 Use new @include file names, put @appendix directive before @include.
39232
f16846a5
JJ
392332011-06-04 Jakub Jelinek <jakub@redhat.com>
39234
39235 [BZ #12841]
39236 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
39237 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
39238 (mq_open): Add __NTH.
39239
3d29045b
L
392402011-06-02 H.J. Lu <hongjiu.lu@intel.com>
39241
39242 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39243 Assume Intel Core i3/i5/i7 processor if AVX is available.
39244
8c297311
UD
392452011-05-31 Ulrich Drepper <drepper@gmail.com>
39246
39247 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
39248 typo.
39249
c8fc0c91
UD
392502011-05-31 Andreas Schwab <schwab@redhat.com>
39251
39252 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
39253 memory. Use alloca_account. Fix memory leak when retrying.
39254
5b27a807
UD
392552011-05-31 Ulrich Drepper <drepper@gmail.com>
39256
356f8bc6
UD
39257 * version.h (RELEASE): Bump for 2.14 release.
39258 * include/features.h (__GLIBC_MINOR__): Bump to 14.
39259
5b27a807
UD
39260 * config.make.in (RANLIB): Remove entry.
39261
01f16ab0
UD
392622011-05-30 Ulrich Drepper <drepper@gmail.com>
39263
41fce8bd
UD
39264 * po/Makefile (po-sed-cmd): Add ksh to extensions.
39265 (libc.pot): Work around missing support for .ksh extension in xgettext.
39266
4769ae77
UD
39267 [BZ #12684]
39268 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
39269 if both request failed.
39270 (send_dg): In case of server errors clear resplen or *resplen2.
39271
6b1e7d19
UD
39272 [BZ #12454]
39273 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
39274 when there are multiple maps.
39275 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
39276 (_dl_fini): Remove test here.
39277
01f16ab0
UD
39278 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
39279
b1ebd700
UD
392802011-05-29 Ulrich Drepper <drepper@gmail.com>
39281
7ae22829
UD
39282 [BZ #12350]
39283 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
39284 bit from old_res_options.
39285 (gaih_inet): Likewise.
39286
553149f6 39287 [BZ #11099]
18a84741 39288 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
39289 as signed.
39290
652ffab1
UD
39291 * resolv/res_init.c (res_setoptions): Make the code more compact.
39292
16985fd0
UD
39293 [BZ #11558]
39294 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
39295 set RES_USEVC.
39296
0464f746
UD
39297 [BZ #11634]
39298 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
39299
7d17596c
UD
39300 * malloc/malloc.h: Mark malloc hook variables as deprecated.
39301
cf6bbbd7
UD
39302 [BZ #11781]
39303 * malloc/malloc.h: Declare malloc hook variables as volatile.
39304
13f1ab36
UD
39305 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
39306 in last patch.
39307
b1ebd700
UD
39308 [BZ #11799]
39309 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 39310 raise in the comment.
80e2212d
UD
39311 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
39312 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
39313 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 39314
ce67228d
UD
393152011-05-28 Ulrich Drepper <drepper@gmail.com>
39316
8887a920
UD
39317 [BZ #12811]
39318 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
39319 grow the buffers more if it already has to be sufficient.
39320 (build_wcs_upper_buffer): Likewise.
39321 * posix/regexec.c (check_matching): Likewise.
39322 (clean_state_log_if_needed): Likewise.
39323 (extend_buffers): Don't enlarge buffers beyond size of the input
39324 buffer.
39325 Patches mostly by Emil Wojak <emil@wojak.eu>.
39326 * posix/bug-regex32.c: New file.
39327 * posix/Makefile (tests): Add bug-regex32.
39328
4f031072
UD
39329 * locale/findlocale.c (_nl_find_locale): Return right away if
39330 _nl_explode_name failed.
39331 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
39332
d0478f0c
UD
39333 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
39334
de81b246
UD
39335 * debug/xtrace.sh: Unify messages.
39336 * malloc/memusage.sh: Likewise.
39337
c738465a
UD
39338 [BZ #12813]
39339 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
39340 time symbol from vDSO. Substitute with vsyscall if not available.
39341 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
39342 __vdso_time.
39343
f1f929d7
UD
39344 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
39345 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
39346 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
39347 Add sendmmsg and internal_sendmmsg.
39348 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
39349 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
39350 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
39351
ce67228d
UD
39352 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
39353 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
39354 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
39355
e57420c6
UD
393562011-05-27 Ulrich Drepper <drepper@gmail.com>
39357
a8509ca5
UD
39358 [BZ #12813]
39359 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
39360 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
39361 available.
39362 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
39363 __vdso_getcpu.
39364
e57420c6
UD
39365 [BZ #12814]
39366 * iconvdata/Makefile (tests): Add bug-iconv9.
39367 * iconvdata/bug-iconv9.c: New file.
39368
4d07db15
AS
393692011-05-27 Andreas Schwab <schwab@redhat.com>
39370
39371 [BZ #12814]
39372 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
39373
ea486f69
JJ
393742011-05-25 Jakub Jelinek <jakub@redhat.com>
39375
39376 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
39377 (struct user_regs_struct): Change intcs field back to cs.
39378
6f038433
UD
393792011-05-25 Ulrich Drepper <drepper@gmail.com>
39380
39381 * po/ja.po: Update from translation team.
39382
67f86a25
UD
393832011-05-23 Ulrich Drepper <drepper@gmail.com>
39384
39385 [BZ #12795]
39386 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
39387 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
39388
def7fbd6
AS
393892011-05-20 Andreas Schwab <schwab@redhat.com>
39390
39391 * stdlib/longlong.h: Update from GCC.
39392
f50ef8f1
AS
393932011-05-23 Andreas Schwab <schwab@redhat.com>
39394
39395 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
39396 parameter name.
39397 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
39398 Add parameter name.
39399 (__sysconf): Pass it down.
39400
de7ce8f1
UD
394012011-05-22 Ulrich Drepper <drepper@gmail.com>
39402
f2962a71
UD
39403 [BZ #12671]
39404 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
39405 some situations.
39406 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
39407 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
39408 add in in __libc_use_alloca calls. Adjust callers.
39409 (glob): Use malloc in some situations.
39410
de7ce8f1
UD
39411 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
39412 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
39413 pltexit.
39414
aec84f53
UD
394152011-05-21 Ulrich Drepper <drepper@gmail.com>
39416
05bb4a68
UD
39417 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
39418 and CLOCK_BOOTTIME_ALARM.
39419
7ea72f99
UD
39420 [BZ #12782]
39421 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
39422 is returned.
39423
7e4afad5
UD
39424 * string/_strerror.c (__strerror_r): Print negative errors as signed
39425 numbers.
39426
8e211fec
UD
39427 [BZ #12777]
39428 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
39429 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
39430 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
39431
f7d82dc9
UD
39432 * configure.in: Fix typo in redirection and correct removal of test
39433 files in two cases.
39434
cc9e536d
UD
39435 [BZ #12788]
39436 * locale/setlocale.c (new_composite_name): Fix test to check for
39437 identical name of all categories.
39438
aec84f53
UD
39439 [BZ #12792]
39440 * libio/filedoalloc.c (local_isatty): New function.
39441 (_IO_file_doallocate): Use local_isatty.
39442 * stdio-common/perror.c (perror): In case a new stream is used
39443 forward the stream error.
39444 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
39445 error flag.
39446
78e64fdc
RT
394472011-05-20 Ulrich Drepper <drepper@gmail.com>
39448
34a9094f
UD
39449 [BZ #11869]
39450 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
39451 alloca.
39452 * include/alloca.h (extend_alloca_account): Define.
39453
78e64fdc
RT
39454 [BZ #11857]
39455 * posix/regex.h: Fix comments with documentation of user-accessible
39456 fields after compilation and describe correct free'ing of pattern
39457 after re_compile_pattern.
39458 Patch by Reuben Thomas <rrt@sc3d.org>.
39459
457bddfc
RA
394602011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
39461
39462 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
39463 and -mno-altivec to prevent the compiler from using Altivec and/or
39464 VSX instructions when the corresponding registers are not available.
39465
a4527b51
AS
394662011-05-19 Andreas Schwab <schwab@redhat.com>
39467
39468 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
39469
ed690b2f
UD
394702011-05-19 Ulrich Drepper <drepper@gmail.com>
39471
39472 * libio/freopen.c (freopen): Use __dup2, not dup2.
39473 * libio/freopen64.c (freopen64): Likewise.
39474
8db73634
L
394752011-05-17 H.J. Lu <hongjiu.lu@intel.com>
39476
39477 [BZ #12775]
39478 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
39479 * math/Makefile (tests): Add test-powl.
39480 (CFLAGS-test-powl.c): Define.
39481 * math/test-powl.c: New file.
39482
0a197a9d
L
394832011-05-16 H.J. Lu <hongjiu.lu@intel.com>
39484
39485 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
39486
ee30c380
UD
394872011-05-17 Ulrich Drepper <drepper@gmail.com>
39488
39489 [BZ #11837]
39490 * iconvdata/gb18030.c: Update to GB18020-2005.
39491
6ce75379
UD
394922011-05-16 Ulrich Drepper <drepper@gmail.com>
39493
a4b89fd8
AR
39494 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
39495 RE_SYNTAX_POSIX_AWK): Update to match recent development.
39496 Patch by Aharon Robbins <arnold@skeeve.com>.
39497
ea389b12
UD
39498 [BZ #11892]
39499 * stdlib/putenv.c (putenv): Don't always create copy of the variable
39500 on the stack.
39501
68a3f91f
UD
39502 [BZ #11895]
39503 * misc/pselect.c (__pselect): Handle timeout value errors hidden
39504 through underflows.
39505
15cc7dd1
UD
39506 [BZ #12766]
39507 * misc/error.c (error_at_line): Ensure file_name and old_file_name
39508 point to strings before performing equality test for error_one_per_line
39509 mode.
39510
f3799213
UD
39511 [BZ #11697]
39512 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
39513
d79a9c94
UD
39514 [BZ #11820]
39515 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
39516 (struct user_fpregs_struct): Avoid __uint*_t types.
39517
56e5eb46
UD
39518 [BZ #6420]
39519 * malloc/mtrace.c (tr_where): Add additional parameter to point to
39520 symbol info. Use it instead of calling _dl_addr locally.
39521 (lock_and_info): New function.
39522 (tr_freehook): Call lock_and_info and pass symbol info as additional
39523 parameter to tr_where.
39524 (tr_mallochook): Likewise.
39525 (tr_reallochook): Likewise.
39526 (tr_memalignhook): Likewise.
39527
6ce75379
UD
39528 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
39529 used and couldn't be at all thread-safe.
39530
f8a3b5bf
UD
395312011-05-15 Ulrich Drepper <drepper@gmail.com>
39532
94b7cc37
UD
39533 * libio/freopen.c (freopen): Don't close old file descriptor
39534 before the new one is opened. Instead dup the new file descriptor
39535 to the old one after the new stream is created.
39536 * libio/freopen64.c (freopen64): Likewise.
39537 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
39538 * libio/fileops.c (_IO_new_file_close_it): Handle new
39539 _IO_FLAGS2_NOCLOSE flag.
39540 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
39541 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
39542 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
39543 _IO_FLAGS2_NOCLOSE flag.
39544 * include/unistd.h: Add hidden_proto for dup3.
39545 Define __have_dup3.
39546 * io/dup3.c: Define hidden symbol.
39547 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
39548
bd25564e
UD
39549 [BZ #7101]
39550 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
39551 when an incomplete long option is used.
39552 * posix/tst-getopt_long1.c: New file.
39553 * posix/Makefile (tests): Add tst-getopt_long1.
39554
c84cfef4
UD
39555 [BZ #10138]
39556 * scripts/config.guess: Update from autoconf-2.68.
39557 * scripts/config.sub: Likewise.
39558
3b85df27
UD
39559 [BZ #10157]
39560 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
39561 tests into ...
39562 (has_cpuclock): ...this. New function.
39563 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
39564 macro here based on has_cpuclock code.
39565
15a856b1
UD
39566 [BZ #10149]
39567 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
39568 First byte (not low byte) is now always NUL.
39569 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
39570
05f399e6
UD
39571 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
39572 Use non-cancelable interfaces.
39573
10a52685 39574 [BZ #9809]
94ecc67d
UD
39575 * locale/iso-639.def: Add entry for Sorani.
39576
f8a3b5bf
UD
39577 [BZ #11901]
39578 * include/stdlib.h: Move include protection to the right place.
39579 Define abort_msg_s. Declare __abort_msg with it.
39580 * stdlib/abort.c (__abort_msg): Adjust type.
39581 * assert/assert.c (__assert_fail_base): New function. Majority
39582 of code from __assert_fail. Allocate memory for __abort_msg with
39583 mmap.
39584 (__assert_fail): Now call __assert_fail_base.
39585 * assert/assert-perr.c: Remove bulk of implementation. Use
39586 __assert_fail_base.
39587 * include/assert.hL Declare __assert_fail_base.
39588 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
39589 mmap.
39590 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
39591
1af4e298
UD
395922011-05-14 Ulrich Drepper <drepper@gmail.com>
39593
f8a3b5bf 39594 [BZ #11952]
d26dfc60
MG
39595 [BZ #12453]
39596 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
39597 until all modules are registered in the DTV.
39598 * elf/Makefile: Add rules to build and run tst-tls19.
39599 * elf/tst-tls19.c: New file.
39600 * elf/tst-tls19mod1.c: New file.
39601 * elf/tst-tls19mod2.c: New file.
39602 * elf/tst-tls19mod3.c: New file.
39603 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
39604
2fc54d6f
UD
39605 [BZ #12083]
39606 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
39607 correctly.
39608
98d76b46
UD
39609 [BZ #12601]
39610 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
39611 two-byte sequence errors.
39612 * iconvdata/Makefile (tests): Add bug-iconv8.
39613 * iconvdata/bug-iconv8.c: New file.
39614
da3c19ef
UD
39615 [BZ #12626]
39616 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
39617 buf2 definition.
39618
ca408c15
UD
39619 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
39620
d6f67f7d
UD
39621 [BZ #12432]
39622 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
39623 (dummy_getcfa): New function.
39624 (init): Get _Unwind_GetCFA address, use dummy if not found.
39625 (backtrace_helper): In recursion check, also check whether CFA changes.
39626 (__backtrace): Completely initialize arg.
39627
1af4e298 39628 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
39629 storing incomplete byte sequence in state object. Avoid testing for
39630 guaranteed too small input if we know there is enough data available.
1af4e298 39631
da62f81b
AS
396322011-05-11 Andreas Schwab <schwab@redhat.com>
39633
39634 * Makeconfig (+link-pie): Indent.
39635 * Rules (binaries-pie): Define if $(have-fpie) and
39636 $(build-shared).
39637 (binaries-shared): Also filter out $(binaries-pie).
39638 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
39639 * nscd/Makefile (others-pie): Add nscd.
39640 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
39641 ($(objpfx)nscd): Remove command override.
39642 * login/Makefile (others-pie): Add pt_chown.
39643 ($(objpfx)pt_chown): Remove command override.
39644 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
39645 remove command overrides.
39646
fcabc0f8
UD
396472011-05-13 Ulrich Drepper <drepper@gmail.com>
39648
20030ae6
UD
39649 * libio/tst_putwc.c: Fix error messages.
39650
fcabc0f8
UD
39651 [BZ #12724]
39652 * libio/fileops.c (_IO_new_file_close_it): Always flush when
39653 currently writing and seek to current position when not.
39654 * libio/Makefile (tests): Add bug-fclose1.
39655 * libio/bug-fclose1.c: New file.
39656
320a5dc0
PB
396572011-05-12 Ulrich Drepper <drepper@gmail.com>
39658
39659 [BZ #12511]
39660 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
39661 don't set DF_1_NODELETE here.
39662 (do_lookup_x): When entering new entry test for copy relocation
39663 and if necessary set DF_1_NODELETE flag.
39664 * elf/tst-unique4.cc: New file.
39665 * elf/tst-unique4.h: New file.
39666 * elf/tst-unique4lib.cc: New file.
39667 * elf/Makefile: Add rules to build and run tst-unique4.
39668 Patch by Piotr Bury <pbury@goahead.com>.
39669
22836f52
UD
396702011-05-11 Ulrich Drepper <drepper@gmail.com>
39671
f574184a
UD
39672 [BZ #12052]
39673 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
39674
e1fb097f
UD
39675 [BZ #12625]
39676 * misc/mntent_r.c (addmntent): Flush the stream after the output
39677
22836f52
UD
39678 [BZ #12393]
39679 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
39680 (is_trusted_path_normalize): Skip initial colon. Append slash
39681 to empty buffer. Duplicate is_trusted_path code but allow
39682 constructed patch to be prefix.
39683 (is_dst): Allow $ORIGIN followed by /.
39684 (_dl_dst_substitute): Correct clearing of check_for_trusted.
39685 Correct testing of result of is_trusted_path_normalize
39686 (decompose_rpath): Fix warning.
39687
7b3b0b2a
UD
396882011-05-10 Ulrich Drepper <drepper@gmail.com>
39689
39690 [BZ #11257]
39691 * grp/initgroups.c (internal_getgrouplist): When we found the service
39692 list through the initgroups entry in nsswitch.conf do not always
39693 continue on a successful lookup. Don't always use the
eac80ce2 39694 __nss_group_database value if it is set.
7b3b0b2a
UD
39695 * nss/nsswitch.conf (initgroups): Change action for successful db
39696 lookup to continue for compatibility.
39697
2a81eaa5
UD
396982011-05-09 Ulrich Drepper <drepper@gmail.com>
39699
be97a69e
UD
39700 [BZ #11532]
39701 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
39702 and CP774 modules.
39703 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
39704 and CP774 modules.
39705 * iconvdata/tst-tables.sh: Likewise.
39706 * iconvdata/cp770.c: New file.
39707 * iconvdata/cp771.c: New file.
39708 * iconvdata/cp772.c: New file.
39709 * iconvdata/cp773.c: New file.
39710 * iconvdata/cp774.c: New file.
39711 * iconvdata/testdata/CP770: New file.
39712 * iconvdata/testdata/CP770..UTF8: New file.
39713 * iconvdata/testdata/CP771: New file.
39714 * iconvdata/testdata/CP771..UTF8: New file.
39715 * iconvdata/testdata/CP772: New file.
39716 * iconvdata/testdata/CP772..UTF8: New file.
39717 * iconvdata/testdata/CP773: New file.
39718 * iconvdata/testdata/CP773..UTF8: New file.
39719 * iconvdata/testdata/CP774: New file.
39720 * iconvdata/testdata/CP774..UTF8: New file.
39721
39722 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
39723 END CHARMAP line.
39724 * iconvdata/gen-8bit-gap.sh: Likewise.
39725 * iconvdata/gen-8bit.sh: Likewise.
39726
c1e9e399
UD
39727 * locale/iso-639.def: Add ary entry.
39728
24c55fb3 39729 [BZ #11258]
96b4b1b0
UD
39730 * locale/C-translit.h.in: Add U20A1 transliteration.
39731
bdc2f971
KB
39732 [BZ #12178]
39733 * locale/iso-639.def: Add wae entry.
39734 Patch by Kevin Bortis <bortis@translate-wae.ch>.
39735
2952b117
UD
39736 [BZ #12545]
39737 * locale/programs/localedef.c (construct_output_path): Use ssize_t
39738 for n.
39739
2a81eaa5
UD
39740 [BZ #12711]
39741 * locale/C-translit.h.in: Add entry for U20B9.
39742 Patch by pravin.d.s@gmail.com.
39743
28377d1b
UD
397442011-05-08 Ulrich Drepper <drepper@gmail.com>
39745
7fb90fb8
UD
39746 [BZ #12713]
39747 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
39748 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
39749 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
39750 in rtld. Use *stat64.
7fb90fb8 39751 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 39752 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 39753 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
39754 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
39755 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
39756 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
39757 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
39758 __fstatat64 macros.
7fb90fb8
UD
39759 * include/dirent.h: Add libc_hidden_proto for rewinddir.
39760 * dirent/rewinddir.c: Add libc_hidden_def.
39761 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 39762 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 39763
28377d1b
UD
39764 * include/dirent.h (__alloc_dir): Add flags parameter.
39765 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
39766 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
39767 __alloc_dir.
39768 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
39769 from fdopendir if O_CLOEXEC is already set.
39770
66bdbaa4
AM
397712011-03-15 Alan Modra <amodra@gmail.com>
39772
39773 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
39774 l_tls_firstbyte_offset non-zero. Save padding offset in
39775 l_tls_firstbyte_offset for later use.
39776 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
39777 freeing static tls block.
39778
95721191
JN
397792011-03-05 Jonathan Nieder <jrnieder@gmail.com>
39780
39781 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
39782 where #ifdef was intended. The intent is to prevent ARG_MAX from
39783 being defined by the kernel headers.
39784
f87dfb1f
UD
397852011-05-07 Ulrich Drepper <drepper@gmail.com>
39786
39787 [BZ #12734]
39788 * resolv/resolv.h: Define RES_NOTLDQUERY.
39789 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
39790 no-tld-query and set RES_NOTLDQUERY.
39791 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
39792 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
39793 modern BIND to search name as TLD unless forbidden.
39794
47c3cd7a
UD
397952011-05-07 Petr Baudis <pasky@suse.cz>
39796 Ulrich Drepper <drepper@gmail.com>
39797
39798 [BZ #12393]
39799 * elf/dl-load.c (fillin_rpath): Move trusted path check...
39800 (is_trusted_path): ...to here.
c1e9ea35 39801 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 39802 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 39803 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 39804
8a35c912
PP
398052011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
39806
39807 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
39808 __BEGIN/__END_DECLS.
39809
acd41f47
UD
398102011-05-06 Ulrich Drepper <drepper@gmail.com>
39811
39812 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
39813 NSS_STATUS_NOTFOUND if no record was found.
39814
597df647
AS
398152011-05-05 Andreas Schwab <schwab@redhat.com>
39816
39817 * sunrpc/Makefile (headers): Add rpc/netdb.h.
39818 (headers-not-in-tirpc): Remove rpc/netdb.h
39819 * resolv/netdb.h: Revert last change.
39820
b9af1301
PP
398212011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
39822
39823 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
39824 circular dependency between libgcc.a and libc.a.
39825
4e34d5f5
AS
398262011-05-05 Andreas Schwab <schwab@redhat.com>
39827
39828 * resolv/netdb.h: Don't include <rpc/netdb.h>.
39829 * nis/Makefile: Don't install rpcsvc/*.
39830 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
39831 instead of <rpc/types.h>.
39832 (MAXHOSTNAMELEN): Define.
39833
00ee369c
AS
398342011-05-03 Andreas Schwab <schwab@redhat.com>
39835
39836 * elf/ldconfig.c (add_dir): Don't crash on empty path.
39837
0b592a30
MB
398382011-04-28 Maciej Babinski <mbabinski@google.com>
39839
39840 [BZ #12714]
39841 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
39842 gethostbyname4_r when IPv6 results are possible.
39843
6e04cbbe
UD
398442011-05-02 Ulrich Drepper <drepper@gmail.com>
39845
39846 [BZ #12723]
39847 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
39848 _PC_PIPE_BUF handling.
39849
e4ecafe0
BH
398502011-04-30 Bruno Haible <bruno@clisp.org>
39851
39852 [BZ #12717]
39853 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
39854 * resolv/netdb.h (getnameinfo): Change type of flags parameter
39855 to 'int'.
39856 * inet/getnameinfo.c (getnameinfo): Likewise.
39857
125ee683
UD
398582011-04-29 Ulrich Drepper <drepper@gmail.com>
39859
39860 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
39861 to groups setting in database lookup.
39862 * nss/nsswitch.conf: Add initgroups entry.
39863
b722481a
EB
398642011-04-22 Ulrich Drepper <drepper@gmail.com>
39865
39866 [BZ #12685]
39867 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
39868 mode string.
39869 Patch by Eric Blake <eblake@redhat.com>.
39870
4df46dbd
L
398712011-04-20 H.J. Lu <hongjiu.lu@intel.com>
39872
39873 * sunrpc/Makefile (need-export-routines): Add svc_run.
39874 (routines): Remove svc_run.
39875 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
39876 * sunrpc/clnt_perr.c (clnt_perrno): Export.
39877 * sunrpc/svc_run.c (svc_run): Likewise.
39878 * sunrpc/svc_udp.c (svcudp_create): Likewise.
39879
e84142d2
UD
398802011-04-21 Ulrich Drepper <drepper@gmail.com>
39881
39882 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
39883 problem in reallocation in last patch.
39884
877175d8
UD
398852011-04-20 Ulrich Drepper <drepper@gmail.com>
39886
39887 * sunrpc/Makefile: Move inclusion of Rules.
39888
ab8eed78
UD
398892011-04-19 Ulrich Drepper <drepper@gmail.com>
39890
39891 * nss/nss_files/files-initgroups.c: New file.
39892 * nss/Makefile (libnss_files-routines): Add files-initgroups.
39893 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
39894 _nss_files_initgroups_dyn.
39895
e3d8f584
RS
398962011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
39897
39898 * elf/elf.h (R_ARM_IRELATIVE): Define.
39899
af190f45
UD
399002011-04-19 Ulrich Drepper <drepper@gmail.com>
39901
39902 * po/ru.po: Update from translation team.
39903
53cf59ef
UD
399042011-04-17 Ulrich Drepper <drepper@gmail.com>
39905
39906 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
39907 dependencies.
39908
4c559bcd
MF
399092011-02-06 Mike Frysinger <vapier@gentoo.org>
39910
39911 [BZ #12653]
39912 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
39913 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
39914 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
39915 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
39916 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
39917
4420675c
AS
399182011-03-28 Andreas Schwab <schwab@linux-m68k.org>
39919
39920 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
39921 differing bytes.
39922 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
39923 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
39924 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
39925
75ea32ab
UD
399262011-04-17 Ulrich Drepper <drepper@gmail.com>
39927
39928 [BZ #12420]
39929 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
39930 storing it.
39931 * stdlib/bug-getcontext.c: New file.
39932 * stdlib/Makefile: Add rules to build and run bug-getcontext.
39933
27390476
AK
399342011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39935
39936 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
39937 instructions into .machine "z9-109".
39938 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
39939 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
39940
10442705
AK
399412011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39942
39943 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
39944 between environment variables and auxiliary vector.
39945
7b57bfe5
UD
399462011-04-16 Ulrich Drepper <drepper@gmail.com>
39947
39948 * Makefile: Add rules to build linkobj/libc.so.
39949 * include/libc-symbols.h: Define libc_hidden_nolink.
39950 * include/rpc/auth.h: Mark functions which are to be hidden.
39951 * include/rpc/auth_des.h: Likewise.
39952 * include/rpc/auth_unix.h: Likewise.
39953 * include/rpc/clnt.h: Likewise.
39954 * include/rpc/des_crypt.h: Likewise.
39955 * include/rpc/key_prot.h: Likewise.
39956 * include/rpc/pmap_clnt.h: Likewise.
39957 * include/rpc/pmap_prot.h: Likewise.
39958 * include/rpc/pmap_rmt.h: Likewise.
39959 * include/rpc/rpc_msg.h: Likewise.
39960 * include/rpc/svc.h: Likewise.
39961 * include/rpc/svc_auth.h: Likewise.
39962 * include/rpc/xdr.h: Likewise.
39963 * nis/Makefile: Link all DSOs against linkobj/libc.so.
39964 * nss/Makefile: Likewise.
39965 * sunrpc/Makefile: Don't install headers. Build library with normal
39966 entry points. Don't build rpcinfo. Link RPC tests appropriately.
39967 * sunrpc/auth_des.c: Hide exported symbols by default, export some
39968 for the compat linking library. Remove use of INTDEF/INTUSE.
39969 * sunrpc/auth_none.c: Likewise.
39970 * sunrpc/auth_unix.c: Likewise.
39971 * sunrpc/authdes_prot.c: Likewise.
39972 * sunrpc/authuxprot.c: Likewise.
39973 * sunrpc/clnt_gen.c: Likewise.
39974 * sunrpc/clnt_perr.c: Likewise.
39975 * sunrpc/clnt_raw.c: Likewise.
39976 * sunrpc/clnt_simp.c: Likewise.
39977 * sunrpc/clnt_tcp.c: Likewise.
39978 * sunrpc/clnt_udp.c: Likewise.
39979 * sunrpc/clnt_unix.c: Likewise.
39980 * sunrpc/des_crypt.c: Likewise.
39981 * sunrpc/des_soft.c: Likewise.
39982 * sunrpc/get_myaddr.c: Likewise.
39983 * sunrpc/key_call.c: Likewise.
39984 * sunrpc/key_prot.c: Likewise.
39985 * sunrpc/netname.c: Likewise.
39986 * sunrpc/pm_getmaps.c: Likewise.
39987 * sunrpc/pm_getport.c: Likewise.
39988 * sunrpc/pmap_clnt.c: Likewise.
39989 * sunrpc/pmap_prot.c: Likewise.
39990 * sunrpc/pmap_prot2.c: Likewise.
39991 * sunrpc/pmap_rmt.c: Likewise.
39992 * sunrpc/publickey.c: Likewise.
39993 * sunrpc/rpc_cmsg.c: Likewise.
39994 * sunrpc/rpc_common.c: Likewise.
39995 * sunrpc/rpc_dtable.c: Likewise.
39996 * sunrpc/rpc_prot.c: Likewise.
39997 * sunrpc/rpc_thread.c: Likewise.
39998 * sunrpc/rtime.c: Likewise.
39999 * sunrpc/svc.c: Likewise.
40000 * sunrpc/svc_auth.c: Likewise.
40001 * sunrpc/svc_authux.c: Likewise.
40002 * sunrpc/svc_raw.c: Likewise.
40003 * sunrpc/svc_run.c: Likewise.
40004 * sunrpc/svc_simple.c: Likewise.
40005 * sunrpc/svc_tcp.c: Likewise.
40006 * sunrpc/svc_udp.c: Likewise.
40007 * sunrpc/svc_unix.c: Likewise.
40008 * sunrpc/svcauth_des.c: Likewise.
40009 * sunrpc/xcrypt.c: Likewise.
40010 * sunrpc/xdr.c: Likewise.
40011 * sunrpc/xdr_array.c: Likewise.
40012 * sunrpc/xdr_float.c: Likewise.
40013 * sunrpc/xdr_intXX_t.c: Likewise.
40014 * sunrpc/xdr_mem.c: Likewise.
40015 * sunrpc/xdr_rec.c: Likewise.
40016 * sunrpc/xdr_ref.c: Likewise.
40017 * sunrpc/xdr_sizeof.c: Likewise.
40018 * sunrpc/xdr_stdio.c: Likewise.
40019
e6c61494
UD
400202011-04-10 Ulrich Drepper <drepper@gmail.com>
40021
40022 [BZ #12650]
40023 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
40024 * sysdeps/ia64/dl-tls.h: Likewise.
40025 * sysdeps/powerpc/dl-tls.h: Likewise.
40026 * sysdeps/s390/dl-tls.h: Likewise.
40027 * sysdeps/sh/dl-tls.h: Likewise.
40028 * sysdeps/sparc/dl-tls.h: Likewise.
40029 * sysdeps/x86_64/dl-tls.h: Likewise.
40030 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
40031
34fe483e
AS
400322011-03-14 Andreas Schwab <schwab@redhat.com>
40033
40034 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
40035 rpath element also skip the following colon.
40036 (expand_dynamic_string_token): Add is_path parameter and pass
40037 down to DL_DST_REQUIRED and _dl_dst_substitute.
40038 (decompose_rpath): Call expand_dynamic_string_token with
40039 non-zero is_path. Ignore empty rpaths.
40040 (_dl_map_object_from_fd): Call expand_dynamic_string_token
40041 with zero is_path.
40042
f12a32e6
AS
400432011-04-08 Andreas Schwab <schwab@linux-m68k.org>
40044
40045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
40046 Make cancelable.
40047
38a7d692
UD
400482011-04-09 Ulrich Drepper <drepper@gmail.com>
40049
40050 [BZ #12655]
40051 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
40052 Patch by Filipe David Manana <fdmanana@apache.org>.
40053
e451d22b
AS
400542011-04-07 Andreas Schwab <schwab@redhat.com>
40055
40056 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
40057 Maintain aligned stack.
40058 (CHECK_RSP): Remove unused macro.
40059
dedc7c7b
UD
400602011-04-03 Ulrich Drepper <drepper@gmail.com>
40061
40062 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
40063 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
40064
94521213
UD
400652011-04-02 Ulrich Drepper <drepper@gmail.com>
40066
40067 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
40068
8cb700c0 40069 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 40070
0354e355
L
400712011-03-26 H.J. Lu <hongjiu.lu@intel.com>
40072
40073 [BZ #12518]
40074 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
40075 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
40076 * sysdeps/x86_64/memmove.c: New file.
40077 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
40078 (memcpy): Renamed to ...
40079 (__new_memcpy): This.
40080 (memcpy): Provide GLIBC_2_14 memcpy.
40081 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
40082 (memcpy): Provide GLIBC_2_2_5 memcpy.
40083
8593482f
UD
400842011-04-01 Ulrich Drepper <drepper@gmail.com>
40085
40086 [BZ #12631]
40087 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
40088
81a5726b
AS
400892011-03-30 Andreas Schwab <schwab@redhat.com>
40090
40091 * misc/syncfs.c: New file.
40092 * misc/Makefile (routines): Add syncfs.
40093 * posix/unistd.h: Declare syncfs.
40094 * sysdeps/unix/syscalls.list: Add syncfs.
40095
00e5419f
AS
400962011-04-01 Andreas Schwab <schwab@redhat.com>
40097
40098 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
40099 open_by_handle_at.
40100 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
40101 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
40102 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
40103 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
40104 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
40105 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
40106 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
40107
748876bf
UD
401082011-04-01 Ulrich Drepper <drepper@gmail.com>
40109
658e451d
UD
40110 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
40111 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
40112 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
40113 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
40114 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
40115 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
40116 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
40117
748876bf
UD
40118 * io/Makefile: Compile fallocate.c, fallocate64.c, and
40119 sync_file_range.c with -fexceptions.
40120 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
40121 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
40122 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
40123 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
40124 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
40125 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
40126 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
40127 sync_file_range as cancellation point
40128 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
40129 now a wrapper around __call_sync_file_range with cancellation handling.
40130 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
40131 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
40132 function name to __call_sync_file_range.
40133 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
40134 Add call_sync_file_range.
748876bf 40135
6e63d5e1
AS
401362011-04-01 Andreas Schwab <schwab@redhat.com>
40137
40138 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 40139 bits/timex.h.
6e63d5e1 40140
46998f74
UD
401412011-04-01 Ulrich Drepper <drepper@gmail.com>
40142
4c1423ed
UD
40143 * iconv/iconv.h: Fix typo in comment.
40144 * io/fcntl.h: Likewise.
40145 * libio/stdio.h: Likewise.
40146 * posix/spawn.h: Likewise.
40147 * posix/unistd.h: Likewise.
40148 * stdlib/stdlib.h: Likewise.
40149 * time/time.h: Likewise.
40150 * wcsmbs/wchar.h: Likewise.
40151
158648c0
UD
40152 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
40153 open_by_handle): Add.
40154 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
40155 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
40156 Augment a few comments.
40157 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
40158 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
40159 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
40160 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
40161 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
40162 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
40163 open_by_handle.
40164
46998f74
UD
40165 * io/fcntl.h (AT_EMPTY_PATH): Define.
40166
83fe108b
UD
401672011-03-30 Ulrich Drepper <drepper@gmail.com>
40168
40169 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
40170 * sysdeps/unix/sysv/linux/bits/time.h: New file.
40171 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
40172 to...
40173 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
40174 * Versions.def: Add GLIBC_2.14.
40175 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
40176 Export.
83fe108b 40177
bb242059
UD
401782011-03-22 Ulrich Drepper <drepper@gmail.com>
40179
40180 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
40181 round counter.
40182 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
40183
c97a1282
L
401842011-03-20 H.J. Lu <hongjiu.lu@intel.com>
40185
40186 [BZ #12597]
40187 * string/test-strncmp.c (do_page_test): New function.
40188 (check2): Likewise.
40189 (test_main): Call check2.
40190 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
40191
2a115601
UD
401922011-03-20 Ulrich Drepper <drepper@gmail.com>
40193
40194 [BZ #12587]
40195 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
40196 Handle cache information in CPU leaf 4.
40197 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
40198
8126d904
UD
401992011-03-18 Ulrich Drepper <drepper@gmail.com>
40200
042c49c6 40201 [BZ #12583]
8126d904
UD
40202 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
40203 character representation.
40204 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
40205
ccfe366e
RA
402062011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
40207
40208 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
40209 END(__isnan) to END(__isnanf) to match function entry point/label
40210 EALIGN(__isnanf,...).
40211
c6e13027
JJ
402122011-03-10 Jakub Jelinek <jakub@redhat.com>
40213
40214 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
40215
33f85a3f
UD
402162011-03-10 Ulrich Drepper <drepper@gmail.com>
40217
028478fa
UD
40218 [BZ #12510]
40219 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
40220 copy from the symbol referenced in the relocation to initialize the
40221 used variable.
40222 Patch by Piotr Bury <pbury@goahead.com>.
40223 * elf/Makefile: Add rules to build and tst-unique3.
40224 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
40225 * elf/tst-unique3.cc: New file.
40226 * elf/tst-unique3.h: New file.
40227 * elf/tst-unique3lib.cc: New file.
40228 * elf/tst-unique3lib2.cc: New file.
40229
33f85a3f
UD
40230 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
40231
03592fc7
MF
402322011-03-10 Mike Frysinger <vapier@gentoo.org>
40233
40234 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
40235 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
40236 to _start.
03592fc7 40237
6a5ee102
UD
402382011-03-06 Ulrich Drepper <drepper@gmail.com>
40239
40240 * elf/dl-load.c (_dl_map_object): If we are looking for the first
40241 to-be-loaded object along a path to loader is ld.so.
40242
7e4ba49c
HJ
402432011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
40244 Ulrich Drepper <drepper@gmail.com>
40245
40246 * sysdeps/x86_64/memset.S: After aligning destination, code
40247 branches to different locations depending on the value of
40248 misalignment, when multiarch is enabled. Fix this.
40249
402502011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
40251
40252 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
40253 Set _x86_64_preferred_memory_instruction for AMD processsors.
40254 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40255 Set bit_Prefer_SSE_for_memop for AMD processors.
40256
13a804de
UD
402572011-03-04 Ulrich Drepper <drepper@gmail.com>
40258
40259 * libio/fmemopen.c (fmemopen): Optimize a bit.
40260
9d25c392
AS
402612011-03-03 Andreas Schwab <schwab@redhat.com>
40262
40263 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
40264
a5543c6a
RM
402652011-03-03 Roland McGrath <roland@redhat.com>
40266
40267 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
40268
012d35f7
DM
402692011-02-28 Aurelien Jarno <aurelien@aurel32.net>
40270
7e4ba49c 40271 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
40272 __bzero_ultra1 instead of __memset_ultra1.
40273
4bff6e01
AS
402742011-02-23 Andreas Schwab <schwab@redhat.com>
40275 Ulrich Drepper <drepper@gmail.com>
40276
40277 [BZ #12509]
40278 * include/link.h (struct link_map): Add l_orig_initfini.
40279 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
40280 returning unsuccessfully.
40281 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
40282 close of a file loaded at startup, restore the original l_initfini
40283 list.
40284 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
40285 list, store the pointer.
40286 * elf/Makefile ($(objpfx)noload-mem): New rule.
40287 (noload-ENV): Define.
40288 (tests): Add $(objpfx)noload-mem.
40289 * elf/noload.c: Include <memcheck.h>.
40290 (main): Call mtrace. Close all opened handles.
40291
f2092faf
AS
402922011-02-17 Andreas Schwab <schwab@redhat.com>
40293
40294 [BZ #12454]
40295 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
40296 dependencies are missing.
40297
6c8a2e88
ST
402982011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
40299
f2092faf 40300 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
40301 Hurd needs munmap.
40302 * sysdeps/mach/hurd/ifreq.h: New file.
40303
84a42118
PB
403042011-01-27 Petr Baudis <pasky@suse.cz>
40305 Ulrich Drepper <drepper@gmail.com>
40306
071f805e 40307 [BZ 12445]#
84a42118
PB
40308 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
40309 to extend_alloca().
40310 * stdio-common/bug23.c: New file.
40311 * stdio-common/Makefile (tests): Add bug23.
40312
e23fe25b
AS
403132010-09-28 Andreas Schwab <schwab@redhat.com>
40314 Ulrich Drepper <drepper@gmail.com>
40315
40316 [BZ #12489]
40317 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
40318 before performing relro protection. At old place add assertion
40319 to make sure nothing changed.
40320
d3f02e10
NS
403212011-02-17 Nathan Sidwell <nathan@codesourcery.com>
40322 Glauber de Oliveira Costa <glommer@gmail.com>
40323
40324 * elf/elf.h: Add new ARM TLS relocs.
40325
d55fd7a5
RA
403262011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
40327
40328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
40329 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
40330 cast from r3.
40331 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
40332 'tests' variable.
40333 * sysdeps/wordsize-64/tst-writev.c: New file.
40334
2206397e
RA
403352011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
40336
40337 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
40338 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
40339 insns in _dl_start to prevent a TOC reference before relocs are
40340 resolved.
40341
e9433893
UD
403422011-02-15 Ulrich Drepper <drepper@gmail.com>
40343
40344 [BZ #12469]
40345 * Makeconfig: Remove RANLIB definition.
40346 * Makerules: Don't use RANLIB.
40347 * aclocal.m4: Remove ranlib test.
40348 * configure.in: No need to check for ranlib.
40349 * elf/rtld-Rules: Don't use RANLIB.
40350
f75286c6
ST
403512011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
40352
8e31c82d
ST
40353 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
40354 protection macro.
40355 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
40356 inclusion protection macro.
40357
f75286c6
ST
40358 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
40359 SIGRTMIN and SIGRTMAX and print information in that case only when
40360 SIGRTMIN is defined.
40361
c1d0e639
JJ
403622011-02-11 Jakub Jelinek <jakub@redhat.com>
40363
40364 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
40365 arginfo fn returning -1.
40366
40367 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
40368 and thousands string is zero terminated.
40369
edf9294e
AS
403702011-02-03 Andreas Schwab <schwab@redhat.com>
40371
40372 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
40373 sysdeps/unix/sysv/linux/bits/socket.h.
40374
2b7e92df
ST
403752011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
40376
edf9294e
AS
40377 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
40378 (__CPU_COUNT): Remove old macros.
40379 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
40380 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
40381 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
40382 (__sched_cpualloc, __sched_cpufree): Add declarations.
40383
a4c7ea7b
UD
403842011-02-05 Ulrich Drepper <drepper@gmail.com>
40385
40386 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
40387 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
40388 * nscd/aicache.c (addhstaiX): Return timeout of added value.
40389 (readdhstai): Return value of addhstaiX call.
40390 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
40391 (addgrbyX): Return value returned by cache_addgr.
40392 (readdgrbyname): Return value returned by addgrbyX.
40393 (readdgrbygid): Likewise.
40394 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
40395 (addpwbyX): Return value returned by cache_addpw.
40396 (readdpwbyname): Return value returned by addhstbyX.
40397 (readdpwbyuid): Likewise.
40398 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
40399 (addservbyX): Return value returned by cache_addserv.
40400 (readdservbyname): Return value returned by addservbyX:
40401 (readdservbyport): Likewise.
40402 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
40403 (addhstbyX): Return value returned by cache_addhst.
40404 (readdhstbyname): Return value returned by addhstbyX.
40405 (readdhstbyaddr): Likewise.
40406 (readdhstbynamev6): Likewise.
40407 (readdhstbyaddrv6): Likewise.
40408 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
40409 (readdinitgroups): Return value returned by addinitgroupsX.
40410 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
40411 (prune_cache): Keep track of timeout value of re-added entries.
40412 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
40413 * nscd/nscd.h: Adjust prototypes of readd* functions.
40414
a0bf67cc
RM
404152011-02-04 Roland McGrath <roland@redhat.com>
40416
40417 * nis/nis_server.c (nis_servstate): Use the right name for 0.
40418 (nis_stats): Likewise.
40419 * nis/nis_modify.c (nis_modify): Likewise.
40420 * nis/nis_remove.c (nis_remove): Likewise.
40421 * nis/nis_add.c (nis_add): Likewise.
40422
40423 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
40424
40425 * posix/fnmatch_loop.c: Add some consts.
40426
40427 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
40428
435b95eb
L
404292011-02-02 H.J. Lu <hongjiu.lu@intel.com>
40430
40431 [BZ #12460]
40432 * config.make.in (config-cflags-novzeroupper): Define.
40433 * configure.in: Substitute libc_cv_cc_novzeroupper.
40434 * elf/Makefile (AVX-CFLAGS): Define.
40435 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
40436 (CFLAGS-tst-auditmod4a.c): Likewise.
40437 (CFLAGS-tst-auditmod4b.c): Likewise.
40438 (CFLAGS-tst-auditmod6b.c): Likewise.
40439 (CFLAGS-tst-auditmod6c.c): Likewise.
40440 (CFLAGS-tst-auditmod7b.c): Likewise.
40441 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
40442
8517b15e
UD
404432011-02-02 Ulrich Drepper <drepper@gmail.com>
40444
40445 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
40446 function to the callback.
40447 Patch partly by Jiri Olsa <jolsa@redhat.com>.
40448
10a656fe
AS
404492011-02-02 Andreas Schwab <schwab@redhat.com>
40450
40451 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
40452 of errno.
40453
968dad0a
UD
404542011-01-19 Ulrich Drepper <drepper@gmail.com>
40455
9f94d2ea 40456 [BZ #11724]
968dad0a
UD
40457 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
40458 of constructors.
40459 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
40460 of destructors.
40461 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
40462
40463 [BZ #11724]
40464 * elf/Makefile: Add rules to build and run new test.
40465 * elf/tst-initorder.c: New file.
40466 * elf/tst-initorder.exp: New file.
40467 * elf/tst-initordera1.c: New file.
40468 * elf/tst-initordera2.c: New file.
40469 * elf/tst-initordera3.c: New file.
40470 * elf/tst-initordera4.c: New file.
40471 * elf/tst-initorderb1.c: New file.
40472 * elf/tst-initorderb2.c: New file.
40473 * elf/tst-order-a1.c: New file.
40474 * elf/tst-order-a2.c: New file.
40475 * elf/tst-order-a3.c: New file.
40476 * elf/tst-order-a4.c: New file.
40477 * elf/tst-order-b1.c: New file.
40478 * elf/tst-order-b2.c: New file.
40479 * elf/tst-order-main.c: New file.
40480 New test case by George Gensure <werkt0@gmail.com>.
40481
86e92359
UD
404822010-10-01 Andreas Schwab <schwab@redhat.com>
40483
40484 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
40485 decoding ACE if AI_CANONIDN.
40486
5d5732b0
UD
404872011-01-18 Ulrich Drepper <drepper@gmail.com>
40488
40489 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
40490
a77e8cbc
UD
404912011-01-17 Ulrich Drepper <drepper@gmail.com>
40492
6392473f
UD
40493 * version.h (RELEASE): Bump for 2.13 release.
40494 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
40495
620a0529
UD
40496 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
40497
18ba70a5
UD
40498 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
40499 MADV_NOHUGEPAGE.
32465c3e
UD
40500 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
40501 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
40502 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
40503 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
40504 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
40505 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
40506
c0dafcf1
UD
40507 * posix/getconf.c: Update copyright year.
40508 * catgets/gencat.c: Likewise.
40509 * csu/version.c: Likewise.
40510 * debug/catchsegv.sh: Likewise.
40511 * debug/xtrace.sh: Likewise.
40512 * elf/ldconfig.c: Likewise.
40513 * elf/ldd.bash.in: Likewise.
40514 * elf/sprof.c (print_version): Likewise.
40515 * iconv/iconv_prog.c: Likewise.
40516 * iconv/iconvconfig.c: Likewise.
40517 * locale/programs/locale.c: Likewise.
40518 * locale/programs/localedef.c: Likewise.
40519 * malloc/memusage.sh: Likewise.
40520 * malloc/mtrace.pl: Likewise.
40521 * nscd/nscd.c (print_version): Likewise.
40522 * nss/getent.c: Likewise.
40523
a77e8cbc
UD
40524 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
40525 PF_CAIF, and PF_ALG.
40526 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
40527
77e8bddf
AS
405282011-01-16 Andreas Schwab <schwab@linux-m68k.org>
40529
1f20b93a
AS
40530 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
40531 (modules-names): Use them.
40532 (ifunc-test-modules, ifunc-pie-tests): Define.
40533 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
40534 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
40535 (test-extras): Likewise.
40536 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
40537 $(compile-command.c).
40538 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
40539 (all-built-dso): Define.
40540 (check-textrel.out, check-execstack.out): Depend on it.
40541
77e8bddf
AS
40542 * configure.in: Don't override --enable-multi-arch.
40543
bc425b33
UD
405442011-01-15 Ulrich Drepper <drepper@gmail.com>
40545
40546 [BZ #6812]
40547 * nscd/hstcache.c (tryagain): Define.
40548 (cache_addhst): Return tryagain not notfound for temporary errors.
40549 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
40550 failed.
40551
794c3ad3
UD
405522011-01-14 Ulrich Drepper <drepper@gmail.com>
40553
70181fdd
UD
40554 [BZ #10563]
40555 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
40556 to make the syscall.
40557 * sysdeps/unix/sysv/linux/setgroups.c: New file.
40558
794c3ad3
UD
40559 [BZ #12378]
40560 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
40561 and fall back to matching as normal character if the string ends before
40562 the matching ']' is found. This is what POSIX requires.
40563 * posix/testfnm.c: Adjust test result.
40564 * posix/globtest.sh: Adjust test result. Add new test.
40565 * posix/tst-fnmatch.input: Likewise.
40566 * posix/tst-fnmatch2.c: Add new test.
40567
68dc9497
AS
405682010-12-28 Andreas Schwab <schwab@linux-m68k.org>
40569
40570 * elf/Makefile (check-execstack): Revert last change. Depend on
40571 check-execstack.h.
40572 (check-execstack.h): New target.
40573 (generated): Add check-execstack.h.
40574 * elf/check-execstack.c: Include "check-execstack.h".
40575 (main): Revert last change.
40576 (handle_file): Return zero if GNU_STACK is absent and
40577 DEFAULT_STACK_PERMS doesn't include PF_X.
40578
451f001b
UD
405792011-01-13 Ulrich Drepper <drepper@gmail.com>
40580
cfa28e56
UD
40581 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
40582 in child fails because the descriptor is already closed.
8cf8ce17
UD
40583 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
40584 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
40585 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 40586
1086d70d
UD
40587 [BZ #12397]
40588 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
40589 syscall.
40590
451f001b
UD
40591 [BZ #10484]
40592 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
40593 temporary buffer used to handle multi lookups locally.
a85b5cb4 40594 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 40595
08769175
UD
405962011-01-12 Ulrich Drepper <drepper@gmail.com>
40597
40598 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
40599 loader is ld.so.
40600
5e49c52e
UD
406012011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
40602
40603 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
40604 alignment for SSE2.
40605
60522a5f
UD
406062011-01-12 Ulrich Drepper <drepper@gmail.com>
40607
40608 [BZ #12394]
40609 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
40610 characters. When rounding increased number of integer digits recompute
40611 number of groups.
40612 * stdio-common/tst-grouping.c: New file.
40613 * stdio-common/Makefile: Add rules to build and run tst-grouping.
40614
f257bbd7
UD
406152011-01-09 Ulrich Drepper <drepper@gmail.com>
40616
40617 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
40618 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
40619
40620 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
40621 void.
40622 * bits/select.h: Likewise.
40623
fa9c15cb
UD
406242011-01-08 Ulrich Drepper <drepper@gmail.com>
40625
40626 * po/ja.po: Update from translation team.
40627
16c2895f
DM
406282011-01-04 David S. Miller <davem@sunset.davemloft.net>
40629
40630 [BZ #11155]
40631 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
40632 implementation just like for lxstat, fxstatat, et al.
40633
2543fef2
JM
406342010-12-27 Jim Meyering <meyering@redhat.com>
40635
40636 [BZ #12348]
40637 * posix/regexec.c (build_trtable): Return failure indication upon
40638 calloc failure. Otherwise, re_search_internal could infloop on OOM.
40639
98727dbe
UD
406402010-12-25 Ulrich Drepper <drepper@gmail.com>
40641
5bd6dc5c
UD
40642 [BZ #12201]
40643 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
40644 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
40645 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
40646 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
40647
97983464
UD
40648 [BZ #12207]
40649 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
40650
98727dbe
UD
40651 [BZ #12204]
40652 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
40653 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
40654
4a531bb0
L
406552010-12-15 H.J. Lu <hongjiu.lu@intel.com>
40656
40657 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
40658 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
40659 script has SORT_BY_INIT_PRIORITY.
40660 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
40661 NO_CTORS_DTORS_SECTIONS is defined.
40662 * elf/soinit.c: Likewise.
40663 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
40664 NO_CTORS_DTORS_SECTIONS is defined.
40665 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
40666 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
40667 * sysdeps/sh/init-first.c: Likewise.
40668 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
40669
07eb4b71
UD
406702010-12-24 Ulrich Drepper <drepper@gmail.com>
40671
40672 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
40673 always use the slow path.
40674
30950a5f
RA
406752010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
40676
40677 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
40678 similar rule which adds the sysdep directories to the header search in
40679 order to pick up the correct platform stackinfo.h.
40680 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
40681 perform test if it is, otherwise return successfully without testing.
40682 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
40683 DEFAULT_STACK_PERMS define in stackinfo.h.
40684 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
40685 defined in stackinfo.h.
40686 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
40687 DEFAULT_STACK_PERMS defined in stackinfo.h.
40688 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
40689 * sysdeps/ia64/stackinfo.h: Likewise.
40690 * sysdeps/s390/stackinfo.h: Likewise.
40691 * sysdeps/sh/stackinfo.h: Likewise.
40692 * sysdeps/sparc/stackinfo.h: Likewise.
40693 * sysdeps/x86_64/stackinfo.h: Likewise.
40694 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
40695 PF_X for powerpc64. Retain PF_X for powerpc32.
40696
db753e2c
UD
406972010-12-19 Ulrich Drepper <drepper@gmail.com>
40698
14b697f7
UD
40699 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
40700 accurately.
db753e2c
UD
40701 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
40702 GETDENTS_64BIT_ALIGNED.
40703
28300719
UD
407042010-12-14 Ulrich Drepper <dreper@gmail.com>
40705
14b697f7 40706 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 40707
4f197237
AS
407082010-12-10 Andreas Schwab <schwab@redhat.com>
40709
dbb0472f
AS
40710 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
40711 _GNU_SOURCE.
40712
4f197237
AS
40713 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
40714 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
40715 Remove __restrict.
40716 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
40717 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
40718
fb88ac72
UD
407192010-12-09 Ulrich Drepper <drepper@gmail.com>
40720
40721 [BZ #11655]
40722 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
40723 are initialized.
40724
42acbb92
JJ
407252010-12-09 Jakub Jelinek <jakub@redhat.com>
40726
40727 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
40728
c038d98d
UD
407292010-12-03 Ulrich Drepper <drepper@gmail.com>
40730
40731 * po/it.po: Update from translation team.
40732
3a4a2499
L
407332010-12-01 H.J. Lu <hongjiu.lu@intel.com>
40734
40735 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
40736 unused codes.
40737
1e24cf6e
UD
407382010-11-30 Ulrich Drepper <drepper@gmail.com>
40739
40740 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
40741
a7690819
AS
407422010-11-24 Andreas Schwab <schwab@redhat.com>
40743
40744 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
40745 specially.
40746 (gaih_getanswer_slice): Likewise.
40747
3bf8d1b1
JJ
407482010-10-20 Jakub Jelinek <jakub@redhat.com>
40749
40750 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
40751
6db52fbb
PB
407522010-05-31 Petr Baudis <pasky@suse.cz>
40753
40754 [BZ #11149]
40755 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
40756 silently even in the chroot mode.
40757
eaca7569
UD
407582010-11-22 Ulrich Drepper <drepper@gmail.com>
40759
40760 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
40761 last patch a bit. Pretty printing
40762
3056dcdb
UD
407632010-05-31 Petr Baudis <pasky@suse.cz>
40764
40765 [BZ #10085]
40766 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
40767 initialization of skip_initgroups_dyn.
40768
cf7c9078
UD
407692010-11-19 Ulrich Drepper <drepper@gmail.com>
40770
40771 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
40772 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
40773
a1fb5e3e
UD
407742010-11-16 Ulrich Drepper <drepper@gmail.com>
40775
40776 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
40777
3540d66b
AS
407782010-11-11 Andreas Schwab <schwab@redhat.com>
40779
40780 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
40781 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
40782 (tst-fnmatch-ENV): Set MALLOC_TRACE.
40783 ($(objpfx)tst-fnmatch-mem): New rule.
40784 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
40785 * posix/tst-fnmatch.c (main): Call mtrace.
40786
13b69574
L
407872010-11-11 H.J. Lu <hongjiu.lu@intel.com>
40788
40789 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40790 Support Intel processor model 6 and model 0x2c.
40791
da93d214
LM
407922010-11-10 Luis Machado <luisgpm@br.ibm.com>
40793
40794 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
40795 signed comparison.
40796
8ca52c6e
L
407972010-11-09 H.J. Lu <hongjiu.lu@intel.com>
40798
40799 [BZ #12205]
40800 * string/test-strncasecmp.c (check_result): New function.
40801 (do_one_test): Use it.
40802 (check1): New function.
40803 (test_main): Use it.
40804 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
40805 Support strcasecmp and strncasecmp.
40806
69da074d
UD
408072010-11-08 Ulrich Drepper <drepper@gmail.com>
40808
40809 [BZ #12194]
40810 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
40811 * sysdeps/x86_64/bits/byteswap.h: Likewise.
40812
ff02d528
L
408132010-11-07 H.J. Lu <hongjiu.lu@intel.com>
40814
40815 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
40816 IFUNC support.
40817 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40818 memset-x86-64.
40819 * sysdeps/x86_64/multiarch/bzero.S: New file.
40820 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
40821 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
40822 * sysdeps/x86_64/multiarch/memset.S: New file.
40823 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
40824 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40825 Set bit_Prefer_SSE_for_memop for Intel processors.
40826 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
40827 Define.
40828 (index_Prefer_SSE_for_memop): Define.
40829 (HAS_PREFER_SSE_FOR_MEMOP): Define.
40830
344d0b54
LM
408312010-11-04 Luis Machado <luisgpm@br.ibm.com>
40832
40833 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
40834 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
40835
c0dde15b
UD
408362010-11-03 H.J. Lu <hongjiu.lu@intel.com>
40837
40838 [BZ #12191]
40839 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
40840 (__x86_64_raw_data_cache_size_half): Likewise.
40841 (__x86_64_raw_shared_cache_size): Likewise.
40842 (__x86_64_raw_shared_cache_size_half): Likewise.
40843
40844 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
40845 (__x86_64_raw_data_cache_size_half): Likewise.
40846 (__x86_64_raw_shared_cache_size): Likewise.
40847 (__x86_64_raw_shared_cache_size_half): Likewise.
40848 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
40849 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
40850 and __x86_64_raw_shared_cache_size_half. Round
40851 __x86_64_data_cache_size_half, __x86_64_data_cache_size
40852 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
40853 to multiple of 256 bytes.
40854
0e516e0e
MS
408552010-11-03 Ulrich Drepper <drepper@gmail.com>
40856
40857 [BZ #12167]
40858 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
40859 of inacessible symlinks. Verify result of symlink before returning it.
40860 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
40861 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
40862
0e012e87
ER
408632010-10-28 Erich Ritz <erichritz@gmail.com>
40864
40865 * math/math.h (isinf): Fix typo in comment.
40866
de0ff7bc
UD
408672010-11-01 Ulrich Drepper <drepper@gmail.com>
40868
40869 * po/da.po: Update from translation team.
40870
fa41c84d
UD
408712010-10-26 Ulrich Drepper <drepper@gmail.com>
40872
40873 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
40874 is added to the list.
40875
f0967738
AK
408762010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40877 Ulrich Drepper <drepper@gmail.com>
40878
40879 * elf/dl-object.c (_dl_new_object): Don't append the new object to
40880 the global list here. Move code to...
40881 (_dl_add_to_namespace_list): ...here. New function.
40882 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
40883 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
40884 * elf/dl-load.c (lose): Don't remove the element from the list.
40885 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
40886 (_dl_map_object): Likewise.
40887
408882010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
40889
40890 [BZ #12159]
40891 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
40892 into all bytes of SSE register.
40893 Patch by Richard Li <richardpku@gmail.com>.
40894
f0967738 408952010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
40896
40897 [BZ #12140]
40898 * malloc/malloc.c (_int_free): Fill correct number of bytes when
40899 perturbing.
40900
d0b9e94f
MB
409012010-10-20 Michael B. Brutman <brutman@us.ibm.com>
40902
40903 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
40904 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
40905 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
40906 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
40907 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
40908 submachine.
40909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
40910
8e9f92e9
AS
409112010-10-22 Andreas Schwab <schwab@redhat.com>
40912
40913 * include/dlfcn.h (__RTLD_SECURE): Define.
40914 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
40915 mode & __RTLD_SECURE instead.
40916 (open_path): Rename preloaded parameter to secure.
40917 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
40918 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
40919 * elf/dl-deps.c (openaux): Likewise.
40920 * elf/rtld.c (struct map_args): Remove is_preloaded.
40921 (map_doit): Don't use it.
40922 (dl_main): Likewise.
40923 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
40924 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
40925
bc96fbda
AS
409262010-09-09 Andreas Schwab <schwab@redhat.com>
40927
40928 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
40929 (sysd-rules-targets): Remove duplicates.
40930 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
40931 rtld-%.$o dependency.
40932
22cd1c9b
AS
409332010-10-18 Andreas Schwab <schwab@redhat.com>
40934
40935 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
40936 _dl_map_object do it.
40937
18edac48
UD
409382010-10-19 Ulrich Drepper <drepper@gmail.com>
40939
40940 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
40941 fast fma builtins, define the macros in the C99 standard.
40942 (FP_FAST_FMAF): Likewise.
40943 (FP_FAST_FMAL): Likewise.
40944 * sysdeps/x86_64/bits/mathdef.h: Likewise.
40945
40946 * bits/mathdef.h: Update copyright year.
40947 * sysdeps/powerpc/bits/mathdef.h: Likewise.
40948
d2050124
MM
409492010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
40950
40951 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
40952 builtins, define the macros in the C99 standard.
40953 (FP_FAST_FMAF): Likewise.
40954 (FP_FAST_FMAL): Likewise.
40955 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
40956 multiply/add.
40957 (FP_FAST_FMAF): Likewise.
40958
475facd1
JJ
409592010-10-15 Jakub Jelinek <jakub@redhat.com>
40960
40961 [BZ #3268]
40962 * math/libm-test.inc (fma_test): Some new testcases.
40963 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
40964 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
40965 y and infinite z. Do multiplication by C already in long double.
40966 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
40967 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
40968 y and infinite z. Do bitwise or of inexact bit into u.d.
40969 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
40970 * sysdeps/i386/fpu/s_fmaf.S: Removed.
40971 * sysdeps/i386/fpu/s_fma.S: Removed.
40972 * sysdeps/i386/fpu/s_fmal.S: Removed.
40973
7c08a05c
JJ
409742010-10-16 Jakub Jelinek <jakub@redhat.com>
40975
40976 [BZ #3268]
40977 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
40978 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
40979 computation is not scheduled after fetestexcept. Fix value
40980 of minimum denormal long double.
40981
f3f7372d
JJ
409822010-10-14 Jakub Jelinek <jakub@redhat.com>
40983
40984 [BZ #3268]
40985 * math/libm-test.inc (fma_test): Add some more tests.
40986 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
40987 correctly.
40988
14d43591
AS
409892010-10-15 Andreas Schwab <schwab@redhat.com>
40990
40991 * scripts/data/localplt-s390-linux-gnu.data: New file.
40992 * scripts/data/localplt-s390x-linux-gnu.data: New file.
40993
5e908464
JJ
409942010-10-13 Jakub Jelinek <jakub@redhat.com>
40995
40996 [BZ #3268]
40997 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
40998 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
40999 instead of dbl-64.
41000 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
41001 inlines.
41002 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
41003 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
41004 if one of x and y is very large and the other is subnormal.
41005 * sysdeps/s390/fpu/s_fmaf.c: New file.
41006 * sysdeps/s390/fpu/s_fma.c: New file.
41007 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
41008 * sysdeps/powerpc/fpu/s_fma.S: New file.
41009 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
41010 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
41011 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
41012
410132010-10-12 Jakub Jelinek <jakub@redhat.com>
41014
41015 [BZ #3268]
41016 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
41017 fma tests.
41018 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
41019 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
41020 * sysdeps/i386/i686/multiarch/s_fma.c: Include
41021 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
41022 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
41023 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
41024 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
41025
b833d51f
UD
410262010-10-12 Ulrich Drepper <drepper@redhat.com>
41027
41028 [BZ #12078]
41029 * posix/regcomp.c (parse_branch): One more memory leak plugged.
41030 * posix/bug-regex31.input: Add test case.
41031
1751705d
UD
410322010-10-11 Ulrich Drepper <drepper@gmail.com>
41033
e9b9cbf5
UD
41034 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
41035 * posix/bug-regex31.input: New file.
41036
41037 [BZ #12078]
41038 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
41039 (parse_sub_exp): Fix last change, use postorder.
41040
ef06edbe
UD
41041 * posix/bug-regex31.c: New file.
41042 * posix/Makefile: Add rules to build and run bug-regex31.
41043
a129c80d
UD
41044 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
41045
41046 [BZ #12078]
41047 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
41048
b76b818e
UD
41049 [BZ #12108]
41050 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
41051 to have entries in sys_siglist.
41052
1751705d
UD
41053 [BZ #12093]
41054 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
41055 be NULL.
41056
9ff8d36f
JJ
410572010-10-07 Jakub Jelinek <jakub@redhat.com>
41058
41059 [BZ #3268]
41060 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
41061 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
41062 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
41063 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
41064 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
41065 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
41066 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
41067 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
41068 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
41069 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
41070 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
41071 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
41072 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
41073 * math/ftestexcept.c (fetestexcept): Likewise.
41074 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
41075 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
41076 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
41077 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
41078 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
41079 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
41080 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
41081
af325969
UD
410822010-10-11 Ulrich Drepper <drepper@gmail.com>
41083
c579b202 41084 [BZ #12107]
af325969
UD
41085 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
41086 newline.
41087
67a67b95
UD
410882010-10-06 Ulrich Drepper <drepper@gmail.com>
41089
41090 * string/bug-strstr1.c: New file.
41091 * string/Makefile: Add rules to build and run bug-strstr1.
41092
5fb308bc
EB
410932010-10-05 Eric Blake <eblake@redhat.com>
41094
41095 [BZ #12092]
41096 * string/str-two-way.h (two_way_long_needle): Always clear memory
41097 when skipping input due to the shift table.
41098
45db99c7
UD
410992010-10-03 Ulrich Drepper <drepper@gmail.com>
41100
3b111893
UD
41101 [BZ #12005]
41102 * malloc/mcheck.c: Handle large requests.
41103
45db99c7
UD
41104 [BZ #12077]
41105 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
41106 for strncmp and strncasecmp.
41107 * string/stratcliff.c: Add tests for strcmp and strncmp.
41108 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
41109
cf7a1eb8
NI
411102010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
41111
41112 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
41113 __set_fpscr.
41114
6484ba5e
AJ
411152010-09-30 Andreas Jaeger <aj@suse.de>
41116
41117 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
41118 (CGROUP_SUPER_MAGIC): Define.
41119 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
41120 Handle btrfs and cgroup file systems.
41121 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
41122 Likewise.
41123
91c42559
LM
411242010-09-27 Luis Machado <luisgpm@br.ibm.com>
41125
41126 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
41127 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
41128
87a97932
AK
411292010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41130
41131 [BZ #12067]
41132 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
41133 trying to locate the ELF header.
41134
c21cc9bc
AS
411352010-09-27 Andreas Schwab <schwab@redhat.com>
41136
41137 [BZ #11611]
41138 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
41139 Mask out sign-bit copies when constructing f_fsid.
41140
315970f6
PB
411412010-09-24 Petr Baudis <pasky@suse.cz>
41142
41143 * debug/stack_chk_fail_local.c: Add missing licence exception.
41144 * debug/warning-nop.c: Likewise.
41145
1ac7a2c7
JM
411462010-09-15 Joseph Myers <joseph@codesourcery.com>
41147
41148 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
41149 implementing getdents64 using getdents syscall, set d_type if
41150 __ASSUME_GETDENTS32_D_TYPE.
41151
56801c50
AS
411522010-09-16 Andreas Schwab <schwab@redhat.com>
41153
41154 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
41155 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
41156
dda51327
UD
411572010-09-21 Ulrich Drepper <drepper@redhat.com>
41158
41159 [BZ #12037]
41160 * posix/unistd.h: Undo change of feature selection for ftruncate from
41161 2010-01-11.
41162
8ffcee4a
UD
411632010-09-20 Ulrich Drepper <drepper@redhat.com>
41164
a545ecd9 41165 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
41166 detection.
41167
e24f0a8b
AS
411682010-09-20 Andreas Schwab <schwab@redhat.com>
41169
41170 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
41171 fanotify_mark.
41172 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
41173
7291c56f
AS
411742010-09-14 Andreas Schwab <schwab@redhat.com>
41175
41176 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
41177 variables after CHECK_SP call.
41178 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
41179
bc5fb037
AS
411802010-09-13 Andreas Schwab <schwab@redhat.com>
41181 Ulrich Drepper <drepper@redhat.com>
41182
41183 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
41184 re-relocationg ld.so.
41185 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
41186 _dl_init_paths call.
41187 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
41188 here anymore.
41189
e66e7419
UD
411902010-09-14 Ulrich Drepper <drepper@redhat.com>
41191
41192 * resolv/res_init.c (__res_vinit): Count the default server we added.
41193
c044aa75
CLT
411942010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
41195 Ulrich Drepper <drepper@redhat.com>
41196
41197 [BZ #11968]
41198 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
41199 (____longjmp_chk): Use %ebx for saving value across system call.
41200 Add unwind info.
41201
32cf4069
AS
412022010-09-06 Andreas Schwab <schwab@redhat.com>
41203
41204 * manual/Makefile: Don't mix pattern rules with normal rules.
41205
817328ee
AS
412062010-09-05 Andreas Schwab <schwab@linux-m68k.org>
41207
41208 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
41209 operation.
41210 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
41211 * libio/iofopncook.c (_IO_cookie_init): Likewise.
41212 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
41213 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
41214 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
41215 Likewise.
41216
29fddf61
UD
412172010-09-04 Ulrich Drepper <drepper@redhat.com>
41218
41219 [BZ #11979]
41220 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
41221 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
41222
0959ffc9
UD
412232010-09-02 Ulrich Drepper <drepper@redhat.com>
41224
41225 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
41226 * sysdeps/x86_64/addmul_1.S: Likewise.
41227 * sysdeps/x86_64/lshift.S: Likewise.
41228 * sysdeps/x86_64/mul_1.S: Likewise.
41229 * sysdeps/x86_64/rshift.S: Likewise.
41230 * sysdeps/x86_64/sub_n.S: Likewise.
41231 * sysdeps/x86_64/submul_1.S: Likewise.
41232
ece29840
ST
412332010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
41234
0959ffc9
UD
41235 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
41236 Define __sched_param instead of SCHED_* and sched_param when
ece29840 41237 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 41238 * bits/sched.h [__need_schedparam]
ece29840 41239 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
41240 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
41241 (__defined_schedparam): Define to 1.
ece29840
ST
41242 (__sched_param): New structure, identical to sched_param.
41243 (__need_schedparam): Undefine.
41244
e53a31fe
MF
412452010-08-31 Mike Frysinger <vapier@gentoo.org>
41246
fdc0c10d
MF
41247 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
41248 (epoll_create1): Declare.
41249
e53a31fe
MF
41250 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
41251
a726d796
AS
412522010-08-31 Andreas Schwab <schwab@redhat.com>
41253
41254 [BZ #7066]
41255 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
41256 shifting retval into place.
41257
2f3e3dc7
UD
412582010-09-01 Ulrich Drepper <drepper@redhat.com>
41259
f2933da9
UD
41260 * nis/rpcsvc/nis.h: Update copyright notice.
41261 * nis/rpcsvc/nis.x: Likewise.
41262 * nis/rpcsvc/nis_callback.h: Likewise.
41263 * nis/rpcsvc/nis_callback.x: Likewise.
41264 * nis/rpcsvc/nis_object.x: Likewise.
41265 * nis/rpcsvc/nis_tags.h: Likewise.
41266 * nis/rpcsvc/yp.h: Likewise.
41267 * nis/rpcsvc/yp.x: Likewise.
41268 * nis/rpcsvc/ypupd.h: Likewise.
41269 * nis/yp_xdr.c: Likewise.
41270 * nis/ypupdate_xdr.c: Likewise.
41271
2f3e3dc7
UD
41272 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
41273 mainly the body of pmap_getport. Add parameters to specify timeouts.
41274 (pmap_getport): Use __libc_rpc_getport.
41275 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
41276 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
41277 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
41278
f3dcc2f9
AS
412792010-08-31 Andreas Schwab <schwab@linux-m68k.org>
41280
41281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
41282 fanotify_mark.
41283
6d34eb5b
RM
412842010-08-27 Roland McGrath <roland@redhat.com>
41285
41286 * sysdeps/i386/i686/multiarch/Makefile
41287 (CFLAGS-varshift.c): New variable.
41288
9ea3de11
UD
412892010-08-27 Ulrich Drepper <drepper@redhat.com>
41290
c96d23fc
UD
41291 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
41292 * sysdeps/i386/i686/multiarch/varshift.c: New file.
41293
9ea3de11
UD
41294 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
41295
41296 * sysdeps/x86_64/strlen.S: Minimal code improvement.
41297
623aac7f
L
412982010-08-26 H.J. Lu <hongjiu.lu@intel.com>
41299
41300 * sysdeps/x86_64/strlen.S: Unroll the loop.
41301 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41302 strlen-sse2 strlen-sse2-bsf.
41303 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
41304 __strlen_no_bsf if bit_Slow_BSF is set.
41305 (__strlen_sse42): Removed.
41306 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
41307 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
41308
8b2b7715
RM
413092010-08-25 Roland McGrath <roland@redhat.com>
41310
41311 * sysdeps/x86_64/multiarch/varshift.S: File removed.
41312 * sysdeps/x86_64/multiarch/varshift.c: New file.
41313 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
41314 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
41315 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
41316 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
41317
e73015f2
L
413182010-08-25 H.J. Lu <hongjiu.lu@intel.com>
41319
41320 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41321 strlen-sse2 strlen-sse2-bsf.
41322 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
41323 __strlen_sse2_bsf if bit_Slow_BSF is unset.
41324 (__strlen_sse2): Removed.
41325 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
41326 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
41327 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
41328 bit_Slow_BSF for Atom.
41329 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
41330 (index_Slow_BSF): Define.
41331 (HAS_SLOW_BSF): Define.
41332
df24a73e
UD
413332010-08-25 Ulrich Drepper <drepper@redhat.com>
41334
41335 [BZ #10851]
41336 * resolv/res_init.c (__res_vinit): When no server address at all
41337 is given default to loopback.
41338
f2ac4868
RM
413392010-08-24 Roland McGrath <roland@redhat.com>
41340
09055553
RM
41341 * configure.in: Remove config-name.h generation.
41342 * configure: Regenerated.
41343 * config-name.in: File removed.
41344 * scripts/config-uname.sh: New file.
41345 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
41346 ($(objdir)config-name.h): New target.
41347
f2ac4868
RM
41348 * sunrpc/rpc_parse.h: Avoid nested comment.
41349
73f27d5e
RH
413502010-08-24 Richard Henderson <rth@redhat.com>
41351 Ulrich Drepper <drepper@redhat.com>
41352 H.J. Lu <hongjiu.lu@intel.com>
41353
41354 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
41355 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
41356 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
41357 Replace _mm_srli_si128 with __m128i_shift_right. Replace
41358 _mm_alignr_epi8 with _mm_loadu_si128.
41359 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
41360 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
41361 (__m128i_shift_right): Removed.
41362 * sysdeps/i386/i686/multiarch/varshift.h: New file.
41363 * sysdeps/i386/i686/multiarch/varshift.S: New file.
41364 * sysdeps/x86_64/multiarch/varshift.h: New file.
41365 * sysdeps/x86_64/multiarch/varshift.S: New file.
41366
84b9230c
MF
413672010-08-21 Mike Frysinger <vapier@gentoo.org>
41368
41369 * configure.in: Move assembler checks to before sysdep dir checking.
41370
9bbd0ddc
PB
413712010-08-20 Petr Baudis <pasky@suse.cz>
41372
41373 * LICENSES: Sync the sunrpc license.
41374
9da4bb31
UD
413752010-08-19 Ulrich Drepper <drepper@redhat.com>
41376
a7ab6ec8
UD
41377 * sunrpc/auth_des.c: Update copyright notice once again.
41378 * sunrpc/auth_none.c: Likewise.
41379 * sunrpc/auth_unix.c: Likewise.
41380 * sunrpc/authdes_prot.c: Likewise.
41381 * sunrpc/authuxprot.c: Likewise.
41382 * sunrpc/bindrsvprt.c: Likewise.
41383 * sunrpc/clnt_gen.c: Likewise.
41384 * sunrpc/clnt_perr.c: Likewise.
41385 * sunrpc/clnt_raw.c: Likewise.
41386 * sunrpc/clnt_simp.c: Likewise.
41387 * sunrpc/clnt_tcp.c: Likewise.
41388 * sunrpc/clnt_udp.c: Likewise.
41389 * sunrpc/clnt_unix.c: Likewise.
41390 * sunrpc/des_crypt.c: Likewise.
41391 * sunrpc/des_soft.c: Likewise.
41392 * sunrpc/get_myaddr.c: Likewise.
41393 * sunrpc/getrpcport.c: Likewise.
41394 * sunrpc/key_call.c: Likewise.
41395 * sunrpc/key_prot.c: Likewise.
41396 * sunrpc/openchild.c: Likewise.
41397 * sunrpc/pm_getmaps.c: Likewise.
41398 * sunrpc/pm_getport.c: Likewise.
41399 * sunrpc/pmap_clnt.c: Likewise.
41400 * sunrpc/pmap_prot.c: Likewise.
41401 * sunrpc/pmap_prot2.c: Likewise.
41402 * sunrpc/pmap_rmt.c: Likewise.
41403 * sunrpc/rpc/auth.h: Likewise.
41404 * sunrpc/rpc/auth_unix.h: Likewise.
41405 * sunrpc/rpc/clnt.h: Likewise.
41406 * sunrpc/rpc/des_crypt.h: Likewise.
41407 * sunrpc/rpc/key_prot.h: Likewise.
41408 * sunrpc/rpc/netdb.h: Likewise.
41409 * sunrpc/rpc/pmap_clnt.h: Likewise.
41410 * sunrpc/rpc/pmap_prot.h: Likewise.
41411 * sunrpc/rpc/pmap_rmt.h: Likewise.
41412 * sunrpc/rpc/rpc.h: Likewise.
41413 * sunrpc/rpc/rpc_des.h: Likewise.
41414 * sunrpc/rpc/rpc_msg.h: Likewise.
41415 * sunrpc/rpc/svc.h: Likewise.
41416 * sunrpc/rpc/svc_auth.h: Likewise.
41417 * sunrpc/rpc/types.h: Likewise.
41418 * sunrpc/rpc/xdr.h: Likewise.
41419 * sunrpc/rpc_clntout.c: Likewise.
41420 * sunrpc/rpc_cmsg.c: Likewise.
41421 * sunrpc/rpc_common.c: Likewise.
41422 * sunrpc/rpc_cout.c: Likewise.
41423 * sunrpc/rpc_dtable.c: Likewise.
41424 * sunrpc/rpc_hout.c: Likewise.
41425 * sunrpc/rpc_main.c: Likewise.
41426 * sunrpc/rpc_parse.c: Likewise.
41427 * sunrpc/rpc_parse.h: Likewise.
41428 * sunrpc/rpc_prot.c: Likewise.
41429 * sunrpc/rpc_sample.c: Likewise.
41430 * sunrpc/rpc_scan.c: Likewise.
41431 * sunrpc/rpc_scan.h: Likewise.
41432 * sunrpc/rpc_svcout.c: Likewise.
41433 * sunrpc/rpc_tblout.c: Likewise.
41434 * sunrpc/rpc_util.c: Likewise.
41435 * sunrpc/rpc_util.h: Likewise.
41436 * sunrpc/rpcinfo.c: Likewise.
41437 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
41438 * sunrpc/rpcsvc/key_prot.x: Likewise.
41439 * sunrpc/rpcsvc/klm_prot.x: Likewise.
41440 * sunrpc/rpcsvc/mount.x: Likewise.
41441 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
41442 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
41443 * sunrpc/rpcsvc/rex.x: Likewise.
41444 * sunrpc/rpcsvc/rstat.x: Likewise.
41445 * sunrpc/rpcsvc/rusers.x: Likewise.
41446 * sunrpc/rpcsvc/sm_inter.x: Likewise.
41447 * sunrpc/rpcsvc/spray.x: Likewise.
41448 * sunrpc/rpcsvc/yppasswd.x: Likewise.
41449 * sunrpc/rtime.c: Likewise.
41450 * sunrpc/svc.c: Likewise.
41451 * sunrpc/svc_auth.c: Likewise.
41452 * sunrpc/svc_authux.c: Likewise.
41453 * sunrpc/svc_raw.c: Likewise.
41454 * sunrpc/svc_run.c: Likewise.
41455 * sunrpc/svc_simple.c: Likewise.
41456 * sunrpc/svc_tcp.c: Likewise.
41457 * sunrpc/svc_udp.c: Likewise.
41458 * sunrpc/svc_unix.c: Likewise.
41459 * sunrpc/svcauth_des.c: Likewise.
41460 * sunrpc/xcrypt.c: Likewise.
41461 * sunrpc/xdr.c: Likewise.
41462 * sunrpc/xdr_array.c: Likewise.
41463 * sunrpc/xdr_float.c: Likewise.
41464 * sunrpc/xdr_mem.c: Likewise.
41465 * sunrpc/xdr_rec.c: Likewise.
41466 * sunrpc/xdr_ref.c: Likewise.
41467 * sunrpc/xdr_sizeof.c: Likewise.
41468 * sunrpc/xdr_stdio.c: Likewise.
41469
9da4bb31
UD
41470 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
41471 handling.
41472
bdaa77bc
AS
414732010-08-19 Andreas Schwab <schwab@redhat.com>
41474
41475 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
41476
fe2f79db
LM
414772010-08-19 Luis Machado <luisgpm@br.ibm.com>
41478
41479 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
41480 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
41481 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
41482 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
41483 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
41484 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
41485 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
41486 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
41487 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
41488 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
41489 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
41490 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
41491 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
41492 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
41493
b9b42ee0
AB
414942010-07-26 Anton Blanchard <anton@samba.org>
41495
41496 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
41497 * malloc/arena.c (heap_trim): Likewise.
41498
1c06ba31
UD
414992010-08-16 Ulrich Drepper <drepper@redhat.com>
41500
41501 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
41502 here. Not...
41503 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
41504 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
41505
f8392f40
L
415062010-08-12 H.J. Lu <hongjiu.lu@intel.com>
41507
41508 * sysdeps/i386/elf/Makefile: New file.
41509
3162f12e
AS
415102010-08-14 Andreas Schwab <schwab@linux-m68k.org>
41511
41512 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
41513 from fanotify_init.
41514 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
41515 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
41516
28c90b2c
UD
415172010-08-15 Ulrich Drepper <drepper@redhat.com>
41518
41519 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
41520 of strncasecmp_l.
1feccb6c 41521 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 41522
ca6bb004
UD
415232010-08-14 Ulrich Drepper <drepper@redhat.com>
41524
e9f82e0d
UD
41525 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
41526 strncase_l-nonascii.
41527 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
41528 Add strncase_l-ssse3.
41529 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
41530 * sysdeps/x86_64/strcmp.S: Likewise.
41531 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
41532 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
41533 * sysdeps/x86_64/strncase.S: New file.
41534 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
41535 * sysdeps/x86_64/strncase_l.S: New file.
41536 * string/Makefile (strop-tests): Add strncasecmp.
41537 * string/test-strncasecmp.c: New file.
41538
41539 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
41540 warning.
41541
ca6bb004
UD
41542 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
41543 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
41544
052fa7b3
AS
415452010-08-14 Andreas Schwab <schwab@linux-m68k.org>
41546
41547 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
41548
962dba78
UD
415492010-08-12 Ulrich Drepper <drepper@redhat.com>
41550
41551 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
41552 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
41553 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
41554
bebff237
AM
415552010-05-01 Alan Modra <amodra@gmail.com>
41556
41557 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
41558 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
41559 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
41560 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
41561 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
41562 tidying. Don't tail-call __sigjmp_save for static lib.
41563 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
41564 save location.
41565 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
41566 (CALL_MCOUNT): Add eh info, and nop after bl.
41567 (TAIL_CALL_SYSCALL_ERROR): New macro.
41568 (PSEUDO_RET): Use it.
41569 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
41570 Correct save location of integer regs and cr.
41571 (_dl_profile_resolve): Correct cr save location. Delete nops
41572 after bl when SHARED. Reduce cfi size a little by better
41573 placement of cfi directives.
41574 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
41575 make a stack frame. Instead use parm save area as a temp.
41576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
41577 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
41578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
41579 Don't make a stack frame for parent, use parm save area.
41580 Increase child stack frame to 112 bytes. Don't save unused reg,
41581 and adjust reg usage. Set up cfi on error recovery and
41582 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
41583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
41584 (__makecontext): Add dummy nop after jump to exit.
41585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
41586 Use correct parm save area and cr save, reduce stack frame.
41587 Correct cfi for possible PSEUDO_RET frame setup.
41588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
41589 Branch to local label emitted by PSEUDO_RET rather than
41590 __syscall_error.
41591
02637374
AS
415922010-08-12 Andreas Schwab <schwab@redhat.com>
41593
41594 [BZ #11904]
41595 * locale/programs/locale.c (print_assignment): New function.
41596 (show_locale_vars): Use it.
41597
c3e2f19b
UD
415982010-08-11 Ulrich Drepper <drepper@redhat.com>
41599
3cdaa6ad
UD
41600 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
41601 field.
41602 (struct statfs64): Likewise.
41603 (_STATFS_F_FLAGS): Define.
41604 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
41605 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
41606 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
41607 (ST_VALID): Define locally.
41608 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
41609 __statvfs_getflags, use the provided value.
41610 * sysdeps/unix/sysv/linux/kernel-features.h: Define
41611 __ASSUME_STATFS_F_FLAGS.
41612
754f7da3
UD
41613 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
41614
10b3bedc
UD
41615 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
41616 Add sys/fanotify.h.
41617 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
41618 fanotify_mask for GLIBC_2.13.
41619 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
41620 fanotify_init and fanotify_mark.
41621 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
41622 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
41623
c08fb0d7
UD
41624 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
41625 Add prlimit.
41626 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
41627 prlimit64 for GLIBC_2.13.
41628 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
41629 prlimit64.
41630 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
41631 syscall.
41632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
41633 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
41634 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
41635 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
41636 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
41637 add prlimit alias.
41638 * sysdeps/unix/sysv/linux/prlimit.c: New file.
41639
15bac72b
UD
41640 [BZ #11903]
41641 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
41642 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
41643
c3e2f19b
UD
41644 * nss/Makefile: Add rules to build and run tst-nss-test1.
41645 * shlib-versions: Add entry for libnss_test1.
41646 * nss/nss_test1.c: New file.
41647 * nss/tst-nss-test1.c: New file.
41648
41649 * nss/nsswitch.c (__nss_database_custom): Define new variable.
41650 (__nss_configure_lookup): Set appropriate entry in
41651 __nss_configure_lookup to true.
41652 * nss/nsswitch.h: Define enum with indeces of databases in
41653 databases and __nss_database_custom arrays. Declare
41654 __nss_database_custom.
41655 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
41656 to avoid using nscd when custom rules are installed.
41657 * nss/getXXbyYY_r.c: Likewise.
41658 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
41659
41660 * nss/nss_files/files-parse.c: Whitespace fixes.
41661
f15ce4d8
UD
416622010-08-09 Ulrich Drepper <drepper@redhat.com>
41663
41664 [BZ #11883]
41665 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
41666 * posix/fnmatch_loop.c: Likewise.
41667
d22e4cc9
AK
416682010-07-17 Andi Kleen <ak@linux.intel.com>
41669
41670 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
41671 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
41672 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
41673 * Versions.def [GLIBC_2.13]: Add.
41674
805bc17d
UD
416752010-08-06 Ulrich Drepper <drepper@redhat.com>
41676
41677 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
41678 Also fail if tpwd after pwuid call is NULL.
41679
5a42321d
ST
416802010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
41681
41682 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
41683 when converting to ms.
41684
fd3ebeda
ST
416852010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
41686
41687 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
41688 EOPNOTSUPP errors with ENOTTY.
41689 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
41690 EOPNOTSUPP errors with ENOTTY.
41691
73507d3a
UD
416922010-07-31 Ulrich Drepper <drepper@redhat.com>
41693
41694 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
41695 Add strcasecmp_l-ssse3.
41696 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
41697 strcasecmp.
41698 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
41699 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
41700 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
41701
fe36dd02
UD
417022010-07-30 Ulrich Drepper <drepper@redhat.com>
41703
66f6765a
UD
41704 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
41705
42e08a54
UD
41706 * string/Makefile (strop-tests): Add strcasecmp.
41707 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
41708 strcasecmp_l-nonascii.
41709 (gen-as-const-headers): Add locale-defines.sym.
41710 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
41711 * sysdeps/x86_64/strcasecmp.S: New file.
41712 * sysdeps/x86_64/strcasecmp_l.S: New file.
41713 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
41714 * sysdeps/x86_64/locale-defines.sym: New file.
41715 * string/test-strcasecmp.c: New file.
41716
fe36dd02
UD
41717 * string/test-strcasestr.c: Test both ends of the range of characters.
41718 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
41719
48cbc0d6
RM
417202010-07-29 Roland McGrath <roland@redhat.com>
41721
76e6d6bc 41722 [BZ #11856]
48cbc0d6
RM
41723 * manual/locale.texi (Yes-or-No Questions): Fix example code.
41724
880113d9
UD
417252010-07-27 Ulrich Drepper <drepper@redhat.com>
41726
41727 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
41728 for ld.so.
41729
deb9cabb
AS
417302010-07-27 Andreas Schwab <schwab@redhat.com>
41731
41732 * manual/memory.texi (Malloc Tunable Parameters): Document
41733 M_PERTURB.
41734
1c7570ff
RM
417352010-07-26 Roland McGrath <roland@redhat.com>
41736
41737 [BZ #11840]
41738 * configure.in (-fgnu89-inline check): Set and substitute
41739 gnu89_inline, not libc_cv_gnu89_inline.
41740 * configure: Regenerated.
41741 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
41742
24fb0f88
UD
417432010-07-26 Ulrich Drepper <drepper@redhat.com>
41744
41745 * string/test-strnlen.c: New file.
41746 * string/Makefile (strop-tests): Add strnlen.
41747 * string/tester.c (test_strnlen): Add a few more test cases.
41748 * string/tst-strlen.c: Better error reporting.
41749
41750 * sysdeps/x86_64/strnlen.S: New file.
41751
8e96b93a
UD
417522010-07-24 Ulrich Drepper <drepper@redhat.com>
41753
41754 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
41755 lower-latency instructions.
41756
dbc676d4
UD
417572010-07-23 Ulrich Drepper <drepper@redhat.com>
41758
41759 * string/test-strcasestr.c: New file.
41760 * string/test-strstr.c: New file.
41761 * string/Makefile (strop-tests): Add strstr and strcasestr.
41762 * string/str-two-way.h: Don't undefine MAX.
41763 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
41764
f6a31e0e
AS
417652010-07-21 Andreas Schwab <schwab@redhat.com>
41766
41767 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41768 strcasestr-nonascii.
41769 (CFLAGS-strcasestr-nonascii.c): Define.
41770 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
41771 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
41772 Remove unused attribute.
41773
5dbc3b6c
RM
417742010-07-20 Roland McGrath <roland@redhat.com>
41775
41776 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
41777 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
41778 ld.so.cache was broken. With it, there is no way to disable dsocaps
41779 like LD_HWCAP_MASK can disable hwcaps.
41780
23d101d8
EPM
417812010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
41782
41783 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
41784
cc9f2e47
UD
417852010-07-16 Ulrich Drepper <drepper@redhat.com>
41786
41787 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
41788 call in strcasestr.
41789 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
41790 __strcasestr_sse42_nonascii.
41791 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
41792 strcasestr-nonascii.c.
41793 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
41794
77c1b069
LM
417952010-06-15 Luis Machado <luisgpm@br.ibm.com>
41796
41797 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
41798 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
41799 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
41800 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
41801
440566c3
UD
418022010-07-09 Ulrich Drepper <drepper@redhat.com>
41803
41804 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
41805 fcntl.
41806
5be9d05d
AS
418072010-07-06 Andreas Schwab <schwab@redhat.com>
41808
c30b7ee2 41809 [BZ #11577]
5be9d05d
AS
41810 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
41811 dl_signal_cerror.
41812
8a492a67
UD
418132010-07-06 Ulrich Drepper <drepper@redhat.com>
41814
41815 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
41816 _PC_PIPE_BUF using F_GETPIPE_SZ.
41817
713df3d5
RM
418182010-07-05 Roland McGrath <roland@redhat.com>
41819
41820 * manual/arith.texi (Rounding Functions): Fix rint description
41821 implicit in round description.
41822
702e8f14
UD
418232010-07-02 Ulrich Drepper <drepper@redhat.com>
41824
41825 * elf/Makefile: Fix linking for a few tests to make recent linker
41826 happy.
41827
52ed8be9
AS
418282010-06-30 Andreas Schwab <schwab@redhat.com>
41829
41830 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
41831 $(common-objpfx)libc_nonshared.a.
41832
f47c9a11
LM
418332010-06-21 Luis Machado <luisgpm@br.ibm.com>
41834
41835 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
41836 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
41837 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
41838 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
41839 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
41840 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
41841 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
41842 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
41843 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
41844 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
41845 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
41846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
41847 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
41848 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
41849 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
41850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
41851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
41852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
41853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
41854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
41855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
41856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
41857 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
41858 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
41859 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
41860 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
41861 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
41862 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
41863 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
41864 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
41865 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
41866 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
41867 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
41868 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
41869 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
41870 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
41871 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
41872 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
41873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
41874 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
41875 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
41876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
41877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
41878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
41879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
41880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
41881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
41882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
41883
6fb8cbcb
L
418842010-06-25 H.J. Lu <hongjiu.lu@intel.com>
41885
41886 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
41887 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
41888 * string/memmove.c (memmove): Renamed to ...
41889 (MEMMOVE): ...this. Default to memmove.
41890 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
41891 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
41892 (END_CHK): Define.
41893 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41894 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
41895 mempcpy-ssse3-back memmove-ssse3-back.
41896 * sysdeps/x86_64/multiarch/bcopy.S: New file .
41897 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
41898 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
41899 * sysdeps/x86_64/multiarch/memcpy.S: New file.
41900 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
41901 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
41902 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
41903 * sysdeps/x86_64/multiarch/memmove.c: New file.
41904 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
41905 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
41906 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
41907 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
41908 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
41909 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
41910 Define.
41911 (index_Fast_Copy_Backward): Define.
41912 (HAS_ARCH_FEATURE): Define.
41913 (HAS_FAST_REP_STRING): Define.
41914 (HAS_FAST_COPY_BACKWARD): Define.
41915
4e733bac 419162010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
41917
41918 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
41919 Restore proper fallback handling.
41920
63c4ed22
UD
419212010-06-19 Ulrich Drepper <drepper@redhat.com>
41922
ac2b484c
UD
41923 [BZ #11701]
41924 * posix/group_member.c (__group_member): Correct checking loop.
41925
63c4ed22
UD
41926 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
41927 OOM in getpwuid_r correctly. Return error number when the caller
41928 should return, otherwise -1.
41929 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
41930 call returning > 0 value.
41931 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
41932
765ade4b
AS
419332010-06-07 Andreas Schwab <schwab@redhat.com>
41934
41935 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
41936 libc_nonshared.a from targets in modules-names.
41937
80da2e09
KS
419382010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
41939
41940 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
41941 requires it.
41942
158db122
LM
419432010-06-10 Luis Machado <luisgpm@br.ibm.com>
41944
41945 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
41946 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
41947 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
41948 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
41949
caa78cf8
AS
419502010-06-02 Andreas Schwab <schwab@redhat.com>
41951
41952 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
41953
b2ef2c01
UD
419542010-06-14 Ulrich Drepper <drepper@redhat.com>
41955
41956 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
41957 and F_GETPIPE_SZ.
41958 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
41959 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41960 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41961 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41962 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41963 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
41964
fbd643b6
RM
419652010-06-14 Roland McGrath <roland@redhat.com>
41966
41967 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
41968
f32f2869
JJ
419692010-06-07 Jakub Jelinek <jakub@redhat.com>
41970
41971 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
41972 __REDIRECT followed by __THROW.
41973 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
41974 * posix/getopt.h (getopt): Likewise.
41975
2a50c078
EPM
419762010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
41977
41978 * hurd/lookup-at.c (__file_name_lookup_at): Accept
41979 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
41980 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
41981 in AT_FLAGS.
41982 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
41983 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
41984
eb5ad2eb
LM
419852010-05-28 Luis Machado <luisgpm@br.ibm.com>
41986
41987 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
41988
3c88fe1e
L
419892010-05-26 H.J. Lu <hongjiu.lu@intel.com>
41990
41991 [BZ #11640]
41992 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41993 Properly check family and model.
41994
d2f73151
TY
419952010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
41996
41997 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
41998
ebd2e13d
LM
419992010-05-24 Luis Machado <luisgpm@br.ibm.com>
42000
42001 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
42002
b32b8b45
UD
420032010-05-21 Ulrich Drepper <drepper@redhat.com>
42004
42005 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
42006 symbol reference.
42007
9acbe24d
AS
420082010-05-19 Andreas Schwab <schwab@redhat.com>
42009
42010 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
42011 symbol reference.
42012
f0ccf6ea
AS
420132010-05-21 Andreas Schwab <schwab@redhat.com>
42014
3d04ff3a
AS
42015 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
42016 and internal_recvmmsg.
42017 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
42018 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
42019 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
42020 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
42021
f0ccf6ea
AS
42022 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
42023 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
42024 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
42025
5b08ac57
AS
420262010-05-20 Andreas Schwab <schwab@redhat.com>
42027
42028 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
42029
4828935d
LM
420302010-05-17 Luis Machado <luisgpm@br.ibm.com>
42031
42032 POWER7 optimizations.
42033 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
42034 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
42035
373d545e
UD
420362010-05-19 Ulrich Drepper <drepper@redhat.com>
42037
42038 * version.h: Update for 2.13 development version.
42039
21a2b1ae
AS
420402010-05-12 Andrew Stubbs <ams@codesourcery.com>
42041
42042 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
42043 exceptions. Return 0.
42044
3f7dcb2b
RM
420452010-05-07 Roland McGrath <roland@redhat.com>
42046
42047 * elf/ldconfig.c (main): Add a const.
42048
5f24d53a 420492010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 42050
a160f8d8
UD
42051 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
42052 (args_options): Add no-idn option.
42053 (ahosts_keys_int): Add idn_flags to ai_flags.
42054 (parse_option): Handle 'i' option to clear idn_flags.
42055
5f24d53a
UD
42056 * malloc/malloc.c (_int_free): Possible race in the most recently
42057 added check. Only act on the data if no current modification
42058 happened.
265bb1ce
UD
42059
42060See ChangeLog.17 for earlier changes.